@getlatedev/node 0.2.1167 → 0.2.1168
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 +16 -5
- package/dist/index.d.ts +16 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +16 -5
package/dist/index.d.mts
CHANGED
|
@@ -12255,6 +12255,10 @@ type SupportRun = {
|
|
|
12255
12255
|
* Why the run stopped. Null while it is in progress.
|
|
12256
12256
|
*/
|
|
12257
12257
|
stopReason: ('answered' | 'human_review' | 'cost_cap' | 'deadline' | 'max_iterations' | 'error' | 'expired') | null;
|
|
12258
|
+
/**
|
|
12259
|
+
* The question as asked, with leading and trailing whitespace trimmed. Null only on runs created before this field was added.
|
|
12260
|
+
*/
|
|
12261
|
+
question: (string) | null;
|
|
12258
12262
|
/**
|
|
12259
12263
|
* The assistant's answer. Null while the run is in progress or when it failed.
|
|
12260
12264
|
*/
|
|
@@ -14577,8 +14581,11 @@ type WebhookPayloadComment = {
|
|
|
14577
14581
|
/**
|
|
14578
14582
|
* Ad context. Present only when the comment was made on paid content.
|
|
14579
14583
|
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
14580
|
-
* Facebook: populated
|
|
14581
|
-
*
|
|
14584
|
+
* Facebook: populated from a Graph API lookup of the parent post. Present when the post is an
|
|
14585
|
+
* ad dark post (isDarkPost true, whatever its promotionStatus) or an organic post that is or was
|
|
14586
|
+
* boosted (promotionStatus "active", "extendable" or "finished"). Meta does not link a dark post
|
|
14587
|
+
* back to its ad, so id and title are never set on Facebook.
|
|
14588
|
+
* Absent for comments on organic posts that are not promoted.
|
|
14582
14589
|
*
|
|
14583
14590
|
*/
|
|
14584
14591
|
ad?: {
|
|
@@ -14595,12 +14602,16 @@ type WebhookPayloadComment = {
|
|
|
14595
14602
|
*/
|
|
14596
14603
|
originalMediaId?: string;
|
|
14597
14604
|
/**
|
|
14598
|
-
* Facebook
|
|
14599
|
-
* "active" (organic post currently boosted)
|
|
14600
|
-
*
|
|
14605
|
+
* Facebook only. The parent post's promotion_status as the Graph API returns it, for example
|
|
14606
|
+
* "active" (organic post currently boosted). Ad dark posts usually report "inactive" and
|
|
14607
|
+
* sometimes "ineligible", so use isDarkPost, not this value, to tell an ad comment apart.
|
|
14601
14608
|
*
|
|
14602
14609
|
*/
|
|
14603
14610
|
promotionStatus?: string;
|
|
14611
|
+
/**
|
|
14612
|
+
* Facebook only: true when the post is an unpublished ad creative (dark post), false for a boosted organic post.
|
|
14613
|
+
*/
|
|
14614
|
+
isDarkPost?: boolean;
|
|
14604
14615
|
};
|
|
14605
14616
|
/**
|
|
14606
14617
|
* Facebook only. Present on graphic-only comments (sticker, GIF, photo) that
|
package/dist/index.d.ts
CHANGED
|
@@ -12255,6 +12255,10 @@ type SupportRun = {
|
|
|
12255
12255
|
* Why the run stopped. Null while it is in progress.
|
|
12256
12256
|
*/
|
|
12257
12257
|
stopReason: ('answered' | 'human_review' | 'cost_cap' | 'deadline' | 'max_iterations' | 'error' | 'expired') | null;
|
|
12258
|
+
/**
|
|
12259
|
+
* The question as asked, with leading and trailing whitespace trimmed. Null only on runs created before this field was added.
|
|
12260
|
+
*/
|
|
12261
|
+
question: (string) | null;
|
|
12258
12262
|
/**
|
|
12259
12263
|
* The assistant's answer. Null while the run is in progress or when it failed.
|
|
12260
12264
|
*/
|
|
@@ -14577,8 +14581,11 @@ type WebhookPayloadComment = {
|
|
|
14577
14581
|
/**
|
|
14578
14582
|
* Ad context. Present only when the comment was made on paid content.
|
|
14579
14583
|
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
14580
|
-
* Facebook: populated
|
|
14581
|
-
*
|
|
14584
|
+
* Facebook: populated from a Graph API lookup of the parent post. Present when the post is an
|
|
14585
|
+
* ad dark post (isDarkPost true, whatever its promotionStatus) or an organic post that is or was
|
|
14586
|
+
* boosted (promotionStatus "active", "extendable" or "finished"). Meta does not link a dark post
|
|
14587
|
+
* back to its ad, so id and title are never set on Facebook.
|
|
14588
|
+
* Absent for comments on organic posts that are not promoted.
|
|
14582
14589
|
*
|
|
14583
14590
|
*/
|
|
14584
14591
|
ad?: {
|
|
@@ -14595,12 +14602,16 @@ type WebhookPayloadComment = {
|
|
|
14595
14602
|
*/
|
|
14596
14603
|
originalMediaId?: string;
|
|
14597
14604
|
/**
|
|
14598
|
-
* Facebook
|
|
14599
|
-
* "active" (organic post currently boosted)
|
|
14600
|
-
*
|
|
14605
|
+
* Facebook only. The parent post's promotion_status as the Graph API returns it, for example
|
|
14606
|
+
* "active" (organic post currently boosted). Ad dark posts usually report "inactive" and
|
|
14607
|
+
* sometimes "ineligible", so use isDarkPost, not this value, to tell an ad comment apart.
|
|
14601
14608
|
*
|
|
14602
14609
|
*/
|
|
14603
14610
|
promotionStatus?: string;
|
|
14611
|
+
/**
|
|
14612
|
+
* Facebook only: true when the post is an unpublished ad creative (dark post), false for a boosted organic post.
|
|
14613
|
+
*/
|
|
14614
|
+
isDarkPost?: boolean;
|
|
14604
14615
|
};
|
|
14605
14616
|
/**
|
|
14606
14617
|
* Facebook only. Present on graphic-only comments (sticker, GIF, photo) that
|
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.1168",
|
|
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.1168",
|
|
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
|
@@ -9022,7 +9022,7 @@ export const addBroadcastRecipients = <ThrowOnError extends boolean = false>(opt
|
|
|
9022
9022
|
|
|
9023
9023
|
/**
|
|
9024
9024
|
* List a thread's support answers
|
|
9025
|
-
* Lists the runs of one thread that your team started, with
|
|
9025
|
+
* Lists the runs of one thread that your team started, with each question and its answer, oldest first. Replies from the Zernio team after a support ticket arrive by email and are not included. Runs are kept for 90 days. Page through a long thread with `limit` and `cursor`: pass `nextCursor` as `cursor` until it is null.
|
|
9026
9026
|
*/
|
|
9027
9027
|
export const listSupportAnswers = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListSupportAnswersData, ThrowOnError>) => {
|
|
9028
9028
|
return (options?.client ?? client).get<ListSupportAnswersResponse, ListSupportAnswersError, ThrowOnError>({
|
|
@@ -10717,6 +10717,10 @@ export type SupportRun = {
|
|
|
10717
10717
|
* Why the run stopped. Null while it is in progress.
|
|
10718
10718
|
*/
|
|
10719
10719
|
stopReason: ('answered' | 'human_review' | 'cost_cap' | 'deadline' | 'max_iterations' | 'error' | 'expired') | null;
|
|
10720
|
+
/**
|
|
10721
|
+
* The question as asked, with leading and trailing whitespace trimmed. Null only on runs created before this field was added.
|
|
10722
|
+
*/
|
|
10723
|
+
question: (string) | null;
|
|
10720
10724
|
/**
|
|
10721
10725
|
* The assistant's answer. Null while the run is in progress or when it failed.
|
|
10722
10726
|
*/
|
|
@@ -13129,8 +13133,11 @@ export type WebhookPayloadComment = {
|
|
|
13129
13133
|
/**
|
|
13130
13134
|
* Ad context. Present only when the comment was made on paid content.
|
|
13131
13135
|
* Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it.
|
|
13132
|
-
* Facebook: populated
|
|
13133
|
-
*
|
|
13136
|
+
* Facebook: populated from a Graph API lookup of the parent post. Present when the post is an
|
|
13137
|
+
* ad dark post (isDarkPost true, whatever its promotionStatus) or an organic post that is or was
|
|
13138
|
+
* boosted (promotionStatus "active", "extendable" or "finished"). Meta does not link a dark post
|
|
13139
|
+
* back to its ad, so id and title are never set on Facebook.
|
|
13140
|
+
* Absent for comments on organic posts that are not promoted.
|
|
13134
13141
|
*
|
|
13135
13142
|
*/
|
|
13136
13143
|
ad?: {
|
|
@@ -13147,12 +13154,16 @@ export type WebhookPayloadComment = {
|
|
|
13147
13154
|
*/
|
|
13148
13155
|
originalMediaId?: string;
|
|
13149
13156
|
/**
|
|
13150
|
-
* Facebook
|
|
13151
|
-
* "active" (organic post currently boosted)
|
|
13152
|
-
*
|
|
13157
|
+
* Facebook only. The parent post's promotion_status as the Graph API returns it, for example
|
|
13158
|
+
* "active" (organic post currently boosted). Ad dark posts usually report "inactive" and
|
|
13159
|
+
* sometimes "ineligible", so use isDarkPost, not this value, to tell an ad comment apart.
|
|
13153
13160
|
*
|
|
13154
13161
|
*/
|
|
13155
13162
|
promotionStatus?: string;
|
|
13163
|
+
/**
|
|
13164
|
+
* Facebook only: true when the post is an unpublished ad creative (dark post), false for a boosted organic post.
|
|
13165
|
+
*/
|
|
13166
|
+
isDarkPost?: boolean;
|
|
13156
13167
|
};
|
|
13157
13168
|
/**
|
|
13158
13169
|
* Facebook only. Present on graphic-only comments (sticker, GIF, photo) that
|