@getlatedev/node 0.2.1109 → 0.2.1110
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 +15 -6
- package/dist/index.d.ts +15 -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 +15 -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
|
|
@@ -27714,10 +27721,12 @@ type GetInboxConversationResponse = ({
|
|
|
27714
27721
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27715
27722
|
* Absent when the conversation did not originate from an ad click.
|
|
27716
27723
|
*
|
|
27717
|
-
* Captured once,
|
|
27718
|
-
* overwritten. If the same person later clicks a different
|
|
27719
|
-
* original values are kept.
|
|
27720
|
-
* message
|
|
27724
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27725
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27726
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27727
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27728
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27729
|
+
* attaches the referral to the next message.
|
|
27721
27730
|
*
|
|
27722
27731
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27723
27732
|
* 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
|
|
@@ -27714,10 +27721,12 @@ type GetInboxConversationResponse = ({
|
|
|
27714
27721
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27715
27722
|
* Absent when the conversation did not originate from an ad click.
|
|
27716
27723
|
*
|
|
27717
|
-
* Captured once,
|
|
27718
|
-
* overwritten. If the same person later clicks a different
|
|
27719
|
-
* original values are kept.
|
|
27720
|
-
* message
|
|
27724
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27725
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27726
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27727
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27728
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27729
|
+
* attaches the referral to the next message.
|
|
27721
27730
|
*
|
|
27722
27731
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27723
27732
|
* 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.1110",
|
|
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.1110",
|
|
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
|
|
@@ -27091,10 +27098,12 @@ export type GetInboxConversationResponse = ({
|
|
|
27091
27098
|
* Ad-click attribution for a conversation that started from a Meta ad.
|
|
27092
27099
|
* Absent when the conversation did not originate from an ad click.
|
|
27093
27100
|
*
|
|
27094
|
-
* Captured once,
|
|
27095
|
-
* overwritten. If the same person later clicks a different
|
|
27096
|
-
* original values are kept.
|
|
27097
|
-
* message
|
|
27101
|
+
* Captured once, from the first inbound message Meta attaches the referral
|
|
27102
|
+
* to, and never overwritten. If the same person later clicks a different
|
|
27103
|
+
* ad, the original values are kept. On Instagram Click-to-Direct that is
|
|
27104
|
+
* usually not the first message: Meta first delivers the ad post as an
|
|
27105
|
+
* attachment-only `share` / `ig_post` message with no referral, then
|
|
27106
|
+
* attaches the referral to the next message.
|
|
27098
27107
|
*
|
|
27099
27108
|
* This operation currently returns only the `meta_ad_*` family, which
|
|
27100
27109
|
* covers Instagram Click-to-Direct and Facebook Messenger
|