@getlatedev/node 0.2.1719 → 0.2.1721
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 +23 -2
- package/dist/index.d.ts +23 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +23 -2
package/dist/index.d.mts
CHANGED
|
@@ -49147,11 +49147,13 @@ type GetInboxPostCommentsResponse = ({
|
|
|
49147
49147
|
[key: string]: unknown;
|
|
49148
49148
|
}>;
|
|
49149
49149
|
/**
|
|
49150
|
-
* Facebook
|
|
49150
|
+
* Facebook and Instagram. True when replies[] does not hold the comment's full reply thread: Facebook caps it at 10, Instagram at the first page Meta returns (25).
|
|
49151
49151
|
*
|
|
49152
49152
|
* Fetch the rest by passing the comment id as the `commentId` query parameter to GET /v1/inbox/comments/{postId} (or, for backwards compatibility, as `postId`).
|
|
49153
49153
|
*
|
|
49154
|
-
*
|
|
49154
|
+
* On Instagram, `replyCount` counts only the replies carried in replies[], so read this flag (not `replyCount`) to know whether the thread is complete.
|
|
49155
|
+
*
|
|
49156
|
+
* Absent (not false) on every other platform, except with view=summary, where it is also true on any comment whose `replyCount` is higher than the replies it carries (nested replies are cut to 3 there).
|
|
49155
49157
|
*
|
|
49156
49158
|
*/
|
|
49157
49159
|
repliesHasMore?: boolean;
|
|
@@ -73722,6 +73724,25 @@ type GetEventResponse = ({
|
|
|
73722
73724
|
errorCode?: (string) | null;
|
|
73723
73725
|
sentAt?: string;
|
|
73724
73726
|
}>;
|
|
73727
|
+
/**
|
|
73728
|
+
* The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
|
|
73729
|
+
*/
|
|
73730
|
+
touches?: Array<{
|
|
73731
|
+
at?: string;
|
|
73732
|
+
kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
|
|
73733
|
+
platform?: (string) | null;
|
|
73734
|
+
adAccountId?: (string) | null;
|
|
73735
|
+
/**
|
|
73736
|
+
* The campaign the touch resolved to; null for a touch that named none (search, referral).
|
|
73737
|
+
*/
|
|
73738
|
+
campaignId?: (string) | null;
|
|
73739
|
+
/**
|
|
73740
|
+
* The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
|
|
73741
|
+
*/
|
|
73742
|
+
credit?: {
|
|
73743
|
+
[key: string]: (number);
|
|
73744
|
+
};
|
|
73745
|
+
}>;
|
|
73725
73746
|
});
|
|
73726
73747
|
type GetEventError = (ErrorResponse | {
|
|
73727
73748
|
error?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -49147,11 +49147,13 @@ type GetInboxPostCommentsResponse = ({
|
|
|
49147
49147
|
[key: string]: unknown;
|
|
49148
49148
|
}>;
|
|
49149
49149
|
/**
|
|
49150
|
-
* Facebook
|
|
49150
|
+
* Facebook and Instagram. True when replies[] does not hold the comment's full reply thread: Facebook caps it at 10, Instagram at the first page Meta returns (25).
|
|
49151
49151
|
*
|
|
49152
49152
|
* Fetch the rest by passing the comment id as the `commentId` query parameter to GET /v1/inbox/comments/{postId} (or, for backwards compatibility, as `postId`).
|
|
49153
49153
|
*
|
|
49154
|
-
*
|
|
49154
|
+
* On Instagram, `replyCount` counts only the replies carried in replies[], so read this flag (not `replyCount`) to know whether the thread is complete.
|
|
49155
|
+
*
|
|
49156
|
+
* Absent (not false) on every other platform, except with view=summary, where it is also true on any comment whose `replyCount` is higher than the replies it carries (nested replies are cut to 3 there).
|
|
49155
49157
|
*
|
|
49156
49158
|
*/
|
|
49157
49159
|
repliesHasMore?: boolean;
|
|
@@ -73722,6 +73724,25 @@ type GetEventResponse = ({
|
|
|
73722
73724
|
errorCode?: (string) | null;
|
|
73723
73725
|
sentAt?: string;
|
|
73724
73726
|
}>;
|
|
73727
|
+
/**
|
|
73728
|
+
* The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
|
|
73729
|
+
*/
|
|
73730
|
+
touches?: Array<{
|
|
73731
|
+
at?: string;
|
|
73732
|
+
kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
|
|
73733
|
+
platform?: (string) | null;
|
|
73734
|
+
adAccountId?: (string) | null;
|
|
73735
|
+
/**
|
|
73736
|
+
* The campaign the touch resolved to; null for a touch that named none (search, referral).
|
|
73737
|
+
*/
|
|
73738
|
+
campaignId?: (string) | null;
|
|
73739
|
+
/**
|
|
73740
|
+
* The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
|
|
73741
|
+
*/
|
|
73742
|
+
credit?: {
|
|
73743
|
+
[key: string]: (number);
|
|
73744
|
+
};
|
|
73745
|
+
}>;
|
|
73725
73746
|
});
|
|
73726
73747
|
type GetEventError = (ErrorResponse | {
|
|
73727
73748
|
error?: string;
|
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.1721",
|
|
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.1721",
|
|
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
|
@@ -49191,11 +49191,13 @@ export type GetInboxPostCommentsResponse = ({
|
|
|
49191
49191
|
[key: string]: unknown;
|
|
49192
49192
|
}>;
|
|
49193
49193
|
/**
|
|
49194
|
-
* Facebook
|
|
49194
|
+
* Facebook and Instagram. True when replies[] does not hold the comment's full reply thread: Facebook caps it at 10, Instagram at the first page Meta returns (25).
|
|
49195
49195
|
*
|
|
49196
49196
|
* Fetch the rest by passing the comment id as the `commentId` query parameter to GET /v1/inbox/comments/{postId} (or, for backwards compatibility, as `postId`).
|
|
49197
49197
|
*
|
|
49198
|
-
*
|
|
49198
|
+
* On Instagram, `replyCount` counts only the replies carried in replies[], so read this flag (not `replyCount`) to know whether the thread is complete.
|
|
49199
|
+
*
|
|
49200
|
+
* Absent (not false) on every other platform, except with view=summary, where it is also true on any comment whose `replyCount` is higher than the replies it carries (nested replies are cut to 3 there).
|
|
49199
49201
|
*
|
|
49200
49202
|
*/
|
|
49201
49203
|
repliesHasMore?: boolean;
|
|
@@ -75513,6 +75515,25 @@ export type GetEventResponse = ({
|
|
|
75513
75515
|
errorCode?: (string) | null;
|
|
75514
75516
|
sentAt?: string;
|
|
75515
75517
|
}>;
|
|
75518
|
+
/**
|
|
75519
|
+
* The touches of the person before the event that its credit is split across, oldest first: website visits from somewhere (an ad click, search, a tagged link) and earlier lead forms or sales. Empty when the event counts whole for its own campaign under every model.
|
|
75520
|
+
*/
|
|
75521
|
+
touches?: Array<{
|
|
75522
|
+
at?: string;
|
|
75523
|
+
kind?: 'ad_click' | 'paid' | 'email' | 'social' | 'campaign' | 'organic_search' | 'ai_assistant' | 'referral' | 'lead_form' | 'event';
|
|
75524
|
+
platform?: (string) | null;
|
|
75525
|
+
adAccountId?: (string) | null;
|
|
75526
|
+
/**
|
|
75527
|
+
* The campaign the touch resolved to; null for a touch that named none (search, referral).
|
|
75528
|
+
*/
|
|
75529
|
+
campaignId?: (string) | null;
|
|
75530
|
+
/**
|
|
75531
|
+
* The share of the event (0 to 1) this touch gets per model: first_touch, last_non_direct, linear, position_based, time_decay.
|
|
75532
|
+
*/
|
|
75533
|
+
credit?: {
|
|
75534
|
+
[key: string]: (number);
|
|
75535
|
+
};
|
|
75536
|
+
}>;
|
|
75516
75537
|
});
|
|
75517
75538
|
|
|
75518
75539
|
export type GetEventError = (ErrorResponse | {
|