@getlatedev/node 0.2.1109 → 0.2.1111
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 +19 -6
- package/dist/index.d.ts +19 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -0
- package/src/generated/types.gen.ts +19 -6
package/dist/index.d.mts
CHANGED
|
@@ -15037,8 +15037,15 @@ type WebhookPayloadMessage = {
|
|
|
15037
15037
|
isStoryMention?: boolean;
|
|
15038
15038
|
/**
|
|
15039
15039
|
* Click attribution forwarded verbatim from Meta. Populated only on
|
|
15040
|
-
* the
|
|
15041
|
-
* messages of the same conversation.
|
|
15040
|
+
* the first inbound message Meta attaches it to, and absent on the
|
|
15041
|
+
* other messages of the same conversation. That is not always the
|
|
15042
|
+
* first message after the click: on Instagram Click-to-Direct Meta
|
|
15043
|
+
* usually delivers the ad post itself first, as an attachment-only
|
|
15044
|
+
* `share` / `ig_post` message with no referral, and attaches the
|
|
15045
|
+
* referral to the message right after it. The first referral of a
|
|
15046
|
+
* conversation is also stored on the conversation as
|
|
15047
|
+
* `metadata.meta_ad_*` (`GET /v1/inbox/conversations/{conversationId}`),
|
|
15048
|
+
* so read it there instead of matching webhooks. On Instagram and Messenger a
|
|
15042
15049
|
* RETURNING click also attaches it to the first message that
|
|
15043
15050
|
* follows, so read it on every `message.received` for per-click
|
|
15044
15051
|
* attribution; a click that opens an existing thread WITHOUT a
|
|
@@ -21885,6 +21892,10 @@ type ListFacebookPagesResponse = ({
|
|
|
21885
21892
|
*/
|
|
21886
21893
|
tasks?: Array<(string)>;
|
|
21887
21894
|
}>;
|
|
21895
|
+
/**
|
|
21896
|
+
* True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
|
|
21897
|
+
*/
|
|
21898
|
+
truncated?: boolean;
|
|
21888
21899
|
});
|
|
21889
21900
|
type ListFacebookPagesError = (unknown | ErrorResponse | {
|
|
21890
21901
|
error?: string;
|
|
@@ -27714,10 +27725,12 @@ type GetInboxConversationResponse = ({
|
|
|
27714
27725
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27715
27726
|
* Absent when the conversation did not originate from an ad click.
|
|
27716
27727
|
*
|
|
27717
|
-
* Captured once,
|
|
27718
|
-
* overwritten. If the same person later clicks a different
|
|
27719
|
-
* original values are kept.
|
|
27720
|
-
* message
|
|
27728
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27729
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27730
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27731
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27732
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27733
|
+
* attaches the referral to the next message.
|
|
27721
27734
|
*
|
|
27722
27735
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27723
27736
|
* covers Instagram Click-to-Direct and Facebook Messenger
|
package/dist/index.d.ts
CHANGED
|
@@ -15037,8 +15037,15 @@ type WebhookPayloadMessage = {
|
|
|
15037
15037
|
isStoryMention?: boolean;
|
|
15038
15038
|
/**
|
|
15039
15039
|
* Click attribution forwarded verbatim from Meta. Populated only on
|
|
15040
|
-
* the
|
|
15041
|
-
* messages of the same conversation.
|
|
15040
|
+
* the first inbound message Meta attaches it to, and absent on the
|
|
15041
|
+
* other messages of the same conversation. That is not always the
|
|
15042
|
+
* first message after the click: on Instagram Click-to-Direct Meta
|
|
15043
|
+
* usually delivers the ad post itself first, as an attachment-only
|
|
15044
|
+
* `share` / `ig_post` message with no referral, and attaches the
|
|
15045
|
+
* referral to the message right after it. The first referral of a
|
|
15046
|
+
* conversation is also stored on the conversation as
|
|
15047
|
+
* `metadata.meta_ad_*` (`GET /v1/inbox/conversations/{conversationId}`),
|
|
15048
|
+
* so read it there instead of matching webhooks. On Instagram and Messenger a
|
|
15042
15049
|
* RETURNING click also attaches it to the first message that
|
|
15043
15050
|
* follows, so read it on every `message.received` for per-click
|
|
15044
15051
|
* attribution; a click that opens an existing thread WITHOUT a
|
|
@@ -21885,6 +21892,10 @@ type ListFacebookPagesResponse = ({
|
|
|
21885
21892
|
*/
|
|
21886
21893
|
tasks?: Array<(string)>;
|
|
21887
21894
|
}>;
|
|
21895
|
+
/**
|
|
21896
|
+
* True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
|
|
21897
|
+
*/
|
|
21898
|
+
truncated?: boolean;
|
|
21888
21899
|
});
|
|
21889
21900
|
type ListFacebookPagesError = (unknown | ErrorResponse | {
|
|
21890
21901
|
error?: string;
|
|
@@ -27714,10 +27725,12 @@ type GetInboxConversationResponse = ({
|
|
|
27714
27725
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27715
27726
|
* Absent when the conversation did not originate from an ad click.
|
|
27716
27727
|
*
|
|
27717
|
-
* Captured once,
|
|
27718
|
-
* overwritten. If the same person later clicks a different
|
|
27719
|
-
* original values are kept.
|
|
27720
|
-
* message
|
|
27728
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27729
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27730
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27731
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27732
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27733
|
+
* attaches the referral to the next message.
|
|
27721
27734
|
*
|
|
27722
27735
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27723
27736
|
* covers Instagram Click-to-Direct and Facebook Messenger
|
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.1111",
|
|
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.1111",
|
|
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
|
@@ -10654,6 +10654,11 @@ export const getAdReview = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
10654
10654
|
* creative (`asset_feed_spec`). Video items include Meta's poster thumbnail and the
|
|
10655
10655
|
* video's Meta id when available.
|
|
10656
10656
|
*
|
|
10657
|
+
* Boosted Instagram posts (creatives with no image of their own) return the original
|
|
10658
|
+
* post's media: the image, the video with its cover as `thumbnailUrl`, or every child of a
|
|
10659
|
+
* carousel post with `index`. When the connection cannot read the Instagram post, the item
|
|
10660
|
+
* is a 1080px rendering of the creative instead.
|
|
10661
|
+
*
|
|
10657
10662
|
* Reads Meta live rather than the stored creative blob because Meta's signed fbcdn
|
|
10658
10663
|
* URLs carry an `oe=<hex>` expiration (image_url ~24 h, video source ~12 d). Treat
|
|
10659
10664
|
* URLs as short-lived: re-fetch this endpoint before serving or downloading assets
|
|
@@ -13619,8 +13619,15 @@ export type WebhookPayloadMessage = {
|
|
|
13619
13619
|
isStoryMention?: boolean;
|
|
13620
13620
|
/**
|
|
13621
13621
|
* Click attribution forwarded verbatim from Meta. Populated only on
|
|
13622
|
-
* the
|
|
13623
|
-
* messages of the same conversation.
|
|
13622
|
+
* the first inbound message Meta attaches it to, and absent on the
|
|
13623
|
+
* other messages of the same conversation. That is not always the
|
|
13624
|
+
* first message after the click: on Instagram Click-to-Direct Meta
|
|
13625
|
+
* usually delivers the ad post itself first, as an attachment-only
|
|
13626
|
+
* `share` / `ig_post` message with no referral, and attaches the
|
|
13627
|
+
* referral to the message right after it. The first referral of a
|
|
13628
|
+
* conversation is also stored on the conversation as
|
|
13629
|
+
* `metadata.meta_ad_*` (`GET /v1/inbox/conversations/{conversationId}`),
|
|
13630
|
+
* so read it there instead of matching webhooks. On Instagram and Messenger a
|
|
13624
13631
|
* RETURNING click also attaches it to the first message that
|
|
13625
13632
|
* follows, so read it on every `message.received` for per-click
|
|
13626
13633
|
* attribution; a click that opens an existing thread WITHOUT a
|
|
@@ -20861,6 +20868,10 @@ export type ListFacebookPagesResponse = ({
|
|
|
20861
20868
|
*/
|
|
20862
20869
|
tasks?: Array<(string)>;
|
|
20863
20870
|
}>;
|
|
20871
|
+
/**
|
|
20872
|
+
* True when Meta still had more Pages after the listing hit its time budget or the 10,000 Page cap, so `pages` is incomplete. Do not ask the user to reconnect with fewer Pages ticked: Meta replaces the Page grant on every authorization, so unticked Pages lose access.
|
|
20873
|
+
*/
|
|
20874
|
+
truncated?: boolean;
|
|
20864
20875
|
});
|
|
20865
20876
|
|
|
20866
20877
|
export type ListFacebookPagesError = (unknown | ErrorResponse | {
|
|
@@ -27091,10 +27102,12 @@ export type GetInboxConversationResponse = ({
|
|
|
27091
27102
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27092
27103
|
* Absent when the conversation did not originate from an ad click.
|
|
27093
27104
|
*
|
|
27094
|
-
* Captured once,
|
|
27095
|
-
* overwritten. If the same person later clicks a different
|
|
27096
|
-
* original values are kept.
|
|
27097
|
-
* message
|
|
27105
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27106
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27107
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27108
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27109
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27110
|
+
* attaches the referral to the next message.
|
|
27098
27111
|
*
|
|
27099
27112
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27100
27113
|
* covers Instagram Click-to-Direct and Facebook Messenger
|