@getlatedev/node 0.2.1386 → 0.2.1388
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 +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +8 -5
package/dist/index.d.mts
CHANGED
|
@@ -9034,7 +9034,7 @@ type CtwaAdRequestBody = {
|
|
|
9034
9034
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
9035
9035
|
*/
|
|
9036
9036
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
9037
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
9037
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
9038
9038
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
9039
9039
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
9040
9040
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -13142,7 +13142,7 @@ type LinkedInPlatformData = {
|
|
|
13142
13142
|
*/
|
|
13143
13143
|
organizationUrn?: string;
|
|
13144
13144
|
/**
|
|
13145
|
-
* Optional first comment to add after the post is created
|
|
13145
|
+
* Optional first comment to add after the post is created. Mention a profile or Page with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
13146
13146
|
*/
|
|
13147
13147
|
firstComment?: string;
|
|
13148
13148
|
/**
|
|
@@ -13835,7 +13835,7 @@ type MetaPlacementAssets = {
|
|
|
13835
13835
|
*/
|
|
13836
13836
|
placements: {
|
|
13837
13837
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
13838
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
13838
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
13839
13839
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
13840
13840
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
13841
13841
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -38768,6 +38768,9 @@ type GetInboxPostCommentsError = (unknown | ErrorResponse);
|
|
|
38768
38768
|
type ReplyToInboxPostData = {
|
|
38769
38769
|
body: {
|
|
38770
38770
|
accountId: string;
|
|
38771
|
+
/**
|
|
38772
|
+
* Reply text. On LinkedIn, mention with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
38773
|
+
*/
|
|
38771
38774
|
message: string;
|
|
38772
38775
|
/**
|
|
38773
38776
|
* (Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms.
|
|
@@ -51005,7 +51008,7 @@ type UpdateAdSetData = {
|
|
|
51005
51008
|
*/
|
|
51006
51009
|
placements?: {
|
|
51007
51010
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
51008
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
51011
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
51009
51012
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
51010
51013
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
51011
51014
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -57724,7 +57727,7 @@ type CreateStandaloneAdData = {
|
|
|
57724
57727
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
57725
57728
|
*/
|
|
57726
57729
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
57727
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
57730
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
57728
57731
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
57729
57732
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
57730
57733
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
package/dist/index.d.ts
CHANGED
|
@@ -9034,7 +9034,7 @@ type CtwaAdRequestBody = {
|
|
|
9034
9034
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
9035
9035
|
*/
|
|
9036
9036
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
9037
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
9037
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
9038
9038
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
9039
9039
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
9040
9040
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -13142,7 +13142,7 @@ type LinkedInPlatformData = {
|
|
|
13142
13142
|
*/
|
|
13143
13143
|
organizationUrn?: string;
|
|
13144
13144
|
/**
|
|
13145
|
-
* Optional first comment to add after the post is created
|
|
13145
|
+
* Optional first comment to add after the post is created. Mention a profile or Page with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
13146
13146
|
*/
|
|
13147
13147
|
firstComment?: string;
|
|
13148
13148
|
/**
|
|
@@ -13835,7 +13835,7 @@ type MetaPlacementAssets = {
|
|
|
13835
13835
|
*/
|
|
13836
13836
|
placements: {
|
|
13837
13837
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
13838
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
13838
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
13839
13839
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
13840
13840
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
13841
13841
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -38768,6 +38768,9 @@ type GetInboxPostCommentsError = (unknown | ErrorResponse);
|
|
|
38768
38768
|
type ReplyToInboxPostData = {
|
|
38769
38769
|
body: {
|
|
38770
38770
|
accountId: string;
|
|
38771
|
+
/**
|
|
38772
|
+
* Reply text. On LinkedIn, mention with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
38773
|
+
*/
|
|
38771
38774
|
message: string;
|
|
38772
38775
|
/**
|
|
38773
38776
|
* (Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms.
|
|
@@ -51005,7 +51008,7 @@ type UpdateAdSetData = {
|
|
|
51005
51008
|
*/
|
|
51006
51009
|
placements?: {
|
|
51007
51010
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
51008
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
51011
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
51009
51012
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
51010
51013
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
51011
51014
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -57724,7 +57727,7 @@ type CreateStandaloneAdData = {
|
|
|
57724
57727
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
57725
57728
|
*/
|
|
57726
57729
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
57727
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
57730
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
57728
57731
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
57729
57732
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
57730
57733
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
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.1388",
|
|
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.1388",
|
|
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
|
@@ -7074,7 +7074,7 @@ export type CtwaAdRequestBody = {
|
|
|
7074
7074
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
7075
7075
|
*/
|
|
7076
7076
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
7077
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
7077
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
7078
7078
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
7079
7079
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
7080
7080
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -11367,7 +11367,7 @@ export type LinkedInPlatformData = {
|
|
|
11367
11367
|
*/
|
|
11368
11368
|
organizationUrn?: string;
|
|
11369
11369
|
/**
|
|
11370
|
-
* Optional first comment to add after the post is created
|
|
11370
|
+
* Optional first comment to add after the post is created. Mention a profile or Page with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
11371
11371
|
*/
|
|
11372
11372
|
firstComment?: string;
|
|
11373
11373
|
/**
|
|
@@ -12089,7 +12089,7 @@ export type MetaPlacementAssets = {
|
|
|
12089
12089
|
*/
|
|
12090
12090
|
placements: {
|
|
12091
12091
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
12092
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
12092
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
12093
12093
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
12094
12094
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
12095
12095
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -38536,6 +38536,9 @@ export type GetInboxPostCommentsError = (unknown | ErrorResponse);
|
|
|
38536
38536
|
export type ReplyToInboxPostData = {
|
|
38537
38537
|
body: {
|
|
38538
38538
|
accountId: string;
|
|
38539
|
+
/**
|
|
38540
|
+
* Reply text. On LinkedIn, mention with @[Name](urn:li:person:ID) or @[Org](urn:li:organization:ID); the name must match LinkedIn's exactly (case-sensitive) or it renders as plain text. The profile-URL form is not resolved in comments, and an unknown person URN posts the plain name.
|
|
38541
|
+
*/
|
|
38539
38542
|
message: string;
|
|
38540
38543
|
/**
|
|
38541
38544
|
* (Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms.
|
|
@@ -51797,7 +51800,7 @@ export type UpdateAdSetData = {
|
|
|
51797
51800
|
*/
|
|
51798
51801
|
placements?: {
|
|
51799
51802
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
51800
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
51803
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
51801
51804
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
51802
51805
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
51803
51806
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
@@ -58888,7 +58891,7 @@ export type CreateStandaloneAdData = {
|
|
|
58888
58891
|
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
58889
58892
|
*/
|
|
58890
58893
|
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network' | 'whatsapp')>;
|
|
58891
|
-
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | '
|
|
58894
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
58892
58895
|
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
58893
58896
|
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
58894
58897
|
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|