@getlatedev/node 0.2.271 → 0.2.273
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 +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +45 -0
package/dist/index.d.mts
CHANGED
|
@@ -1387,6 +1387,10 @@ type AnalyticsListResponse = {
|
|
|
1387
1387
|
platform?: string;
|
|
1388
1388
|
platformPostUrl?: string;
|
|
1389
1389
|
isExternal?: boolean;
|
|
1390
|
+
/**
|
|
1391
|
+
* True when the post is an ad creative. False for organic posts or platforms where the signal is unavailable. For now is only available for LinkedIn posts.
|
|
1392
|
+
*/
|
|
1393
|
+
isAd?: boolean;
|
|
1390
1394
|
profileId?: (string) | null;
|
|
1391
1395
|
thumbnailUrl?: string;
|
|
1392
1396
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -12491,6 +12495,26 @@ type ListInboxConversationsResponse = ({
|
|
|
12491
12495
|
*/
|
|
12492
12496
|
fetchedAt?: (string) | null;
|
|
12493
12497
|
} | null;
|
|
12498
|
+
/**
|
|
12499
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12500
|
+
* conversation. Only present when the conversation originated from a
|
|
12501
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12502
|
+
*
|
|
12503
|
+
* Two sources populate this field:
|
|
12504
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12505
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12506
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12507
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12508
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12509
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12510
|
+
*
|
|
12511
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12512
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad.
|
|
12513
|
+
*
|
|
12514
|
+
*/
|
|
12515
|
+
metadata?: {
|
|
12516
|
+
[key: string]: (string);
|
|
12517
|
+
} | null;
|
|
12494
12518
|
}>;
|
|
12495
12519
|
pagination?: {
|
|
12496
12520
|
hasMore?: boolean;
|
|
@@ -12648,6 +12672,27 @@ type GetInboxConversationResponse = ({
|
|
|
12648
12672
|
*/
|
|
12649
12673
|
fetchedAt?: (string) | null;
|
|
12650
12674
|
} | null;
|
|
12675
|
+
/**
|
|
12676
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12677
|
+
* conversation. Only present when the conversation originated from a
|
|
12678
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12679
|
+
*
|
|
12680
|
+
* Two sources populate this field:
|
|
12681
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12682
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12683
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12684
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12685
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12686
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12687
|
+
*
|
|
12688
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12689
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad
|
|
12690
|
+
* (e.g. to link to Meta Ads Manager).
|
|
12691
|
+
*
|
|
12692
|
+
*/
|
|
12693
|
+
metadata?: {
|
|
12694
|
+
[key: string]: (string);
|
|
12695
|
+
} | null;
|
|
12651
12696
|
};
|
|
12652
12697
|
});
|
|
12653
12698
|
type GetInboxConversationError = ({
|
package/dist/index.d.ts
CHANGED
|
@@ -1387,6 +1387,10 @@ type AnalyticsListResponse = {
|
|
|
1387
1387
|
platform?: string;
|
|
1388
1388
|
platformPostUrl?: string;
|
|
1389
1389
|
isExternal?: boolean;
|
|
1390
|
+
/**
|
|
1391
|
+
* True when the post is an ad creative. False for organic posts or platforms where the signal is unavailable. For now is only available for LinkedIn posts.
|
|
1392
|
+
*/
|
|
1393
|
+
isAd?: boolean;
|
|
1390
1394
|
profileId?: (string) | null;
|
|
1391
1395
|
thumbnailUrl?: string;
|
|
1392
1396
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -12491,6 +12495,26 @@ type ListInboxConversationsResponse = ({
|
|
|
12491
12495
|
*/
|
|
12492
12496
|
fetchedAt?: (string) | null;
|
|
12493
12497
|
} | null;
|
|
12498
|
+
/**
|
|
12499
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12500
|
+
* conversation. Only present when the conversation originated from a
|
|
12501
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12502
|
+
*
|
|
12503
|
+
* Two sources populate this field:
|
|
12504
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12505
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12506
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12507
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12508
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12509
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12510
|
+
*
|
|
12511
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12512
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad.
|
|
12513
|
+
*
|
|
12514
|
+
*/
|
|
12515
|
+
metadata?: {
|
|
12516
|
+
[key: string]: (string);
|
|
12517
|
+
} | null;
|
|
12494
12518
|
}>;
|
|
12495
12519
|
pagination?: {
|
|
12496
12520
|
hasMore?: boolean;
|
|
@@ -12648,6 +12672,27 @@ type GetInboxConversationResponse = ({
|
|
|
12648
12672
|
*/
|
|
12649
12673
|
fetchedAt?: (string) | null;
|
|
12650
12674
|
} | null;
|
|
12675
|
+
/**
|
|
12676
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12677
|
+
* conversation. Only present when the conversation originated from a
|
|
12678
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12679
|
+
*
|
|
12680
|
+
* Two sources populate this field:
|
|
12681
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12682
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12683
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12684
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12685
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12686
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12687
|
+
*
|
|
12688
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12689
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad
|
|
12690
|
+
* (e.g. to link to Meta Ads Manager).
|
|
12691
|
+
*
|
|
12692
|
+
*/
|
|
12693
|
+
metadata?: {
|
|
12694
|
+
[key: string]: (string);
|
|
12695
|
+
} | null;
|
|
12651
12696
|
};
|
|
12652
12697
|
});
|
|
12653
12698
|
type GetInboxConversationError = ({
|
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.273",
|
|
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.273",
|
|
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
|
@@ -635,6 +635,10 @@ export type AnalyticsListResponse = {
|
|
|
635
635
|
platform?: string;
|
|
636
636
|
platformPostUrl?: string;
|
|
637
637
|
isExternal?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
* True when the post is an ad creative. False for organic posts or platforms where the signal is unavailable. For now is only available for LinkedIn posts.
|
|
640
|
+
*/
|
|
641
|
+
isAd?: boolean;
|
|
638
642
|
profileId?: (string) | null;
|
|
639
643
|
thumbnailUrl?: string;
|
|
640
644
|
mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
|
|
@@ -12453,6 +12457,26 @@ export type ListInboxConversationsResponse = ({
|
|
|
12453
12457
|
*/
|
|
12454
12458
|
fetchedAt?: (string) | null;
|
|
12455
12459
|
} | null;
|
|
12460
|
+
/**
|
|
12461
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12462
|
+
* conversation. Only present when the conversation originated from a
|
|
12463
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12464
|
+
*
|
|
12465
|
+
* Two sources populate this field:
|
|
12466
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12467
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12468
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12469
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12470
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12471
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12472
|
+
*
|
|
12473
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12474
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad.
|
|
12475
|
+
*
|
|
12476
|
+
*/
|
|
12477
|
+
metadata?: {
|
|
12478
|
+
[key: string]: (string);
|
|
12479
|
+
} | null;
|
|
12456
12480
|
}>;
|
|
12457
12481
|
pagination?: {
|
|
12458
12482
|
hasMore?: boolean;
|
|
@@ -12616,6 +12640,27 @@ export type GetInboxConversationResponse = ({
|
|
|
12616
12640
|
*/
|
|
12617
12641
|
fetchedAt?: (string) | null;
|
|
12618
12642
|
} | null;
|
|
12643
|
+
/**
|
|
12644
|
+
* Ad-click attribution captured on the first inbound message of the
|
|
12645
|
+
* conversation. Only present when the conversation originated from a
|
|
12646
|
+
* click-to-message ad. Absent on organic conversations.
|
|
12647
|
+
*
|
|
12648
|
+
* Two sources populate this field:
|
|
12649
|
+
* - WhatsApp CTWA (Click-to-WhatsApp): `ctwa_clid`, `ctwa_source_id`,
|
|
12650
|
+
* `ctwa_source_url`, `ctwa_headline`, `ctwa_source_type`, `ctwa_captured_at`.
|
|
12651
|
+
* - Facebook Messenger CTM / Instagram CTD: `meta_ad_id`, `meta_ad_title`,
|
|
12652
|
+
* `meta_ad_source`, `meta_ad_type`, `meta_ad_ref`, `meta_ad_captured_at`,
|
|
12653
|
+
* `meta_ad_photo_url`, `meta_ad_video_url`, `meta_ad_post_id`,
|
|
12654
|
+
* `meta_ad_product_id`, `meta_ad_flow_id`.
|
|
12655
|
+
*
|
|
12656
|
+
* Note: `meta_ad_photo_url` and `meta_ad_video_url` are Facebook CDN URLs
|
|
12657
|
+
* that may expire. Use `meta_ad_id` for a permanent reference to the ad
|
|
12658
|
+
* (e.g. to link to Meta Ads Manager).
|
|
12659
|
+
*
|
|
12660
|
+
*/
|
|
12661
|
+
metadata?: {
|
|
12662
|
+
[key: string]: (string);
|
|
12663
|
+
} | null;
|
|
12619
12664
|
};
|
|
12620
12665
|
});
|
|
12621
12666
|
|