@getlatedev/node 0.2.1760 → 0.2.1762
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 +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +8 -3
package/dist/index.d.mts
CHANGED
|
@@ -7518,7 +7518,7 @@ type AutomationEventTrigger = {
|
|
|
7518
7518
|
/**
|
|
7519
7519
|
* The Zernio event that starts it.
|
|
7520
7520
|
*/
|
|
7521
|
-
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
7521
|
+
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
7522
7522
|
/**
|
|
7523
7523
|
* The profile whose events start it, from `GET /v1/profiles`.
|
|
7524
7524
|
*/
|
|
@@ -7532,7 +7532,7 @@ type AutomationEventTrigger = {
|
|
|
7532
7532
|
/**
|
|
7533
7533
|
* The Zernio event that starts it.
|
|
7534
7534
|
*/
|
|
7535
|
-
type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
7535
|
+
type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
7536
7536
|
/**
|
|
7537
7537
|
* Narrows by the facts of the event or post, such as `platform` or `likes`: one comparison, or a group where `all` must hold or `any` is enough. Groups nest.
|
|
7538
7538
|
*
|
|
@@ -76661,7 +76661,12 @@ type CreateStandaloneAdData = {
|
|
|
76661
76661
|
imageUrl: string;
|
|
76662
76662
|
};
|
|
76663
76663
|
/**
|
|
76664
|
-
*
|
|
76664
|
+
* The profile the ad runs as.
|
|
76665
|
+
*
|
|
76666
|
+
* - TikTok: the identity from GET /v1/ads/tiktok-identities. Overrides the connected account's own identity; must be authorized on the advertiser.
|
|
76667
|
+
* - Snapchat: the Public Profile ID (a UUID), required on most organizations. Without it the create answers 422 on identityId and uploads nothing.
|
|
76668
|
+
* - To find a Snapchat Public Profile ID: in Snapchat Business Manager, open Public Profiles, select the profile and copy its ID.
|
|
76669
|
+
*
|
|
76665
76670
|
*/
|
|
76666
76671
|
identityId?: string;
|
|
76667
76672
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -7518,7 +7518,7 @@ type AutomationEventTrigger = {
|
|
|
7518
7518
|
/**
|
|
7519
7519
|
* The Zernio event that starts it.
|
|
7520
7520
|
*/
|
|
7521
|
-
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
7521
|
+
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
7522
7522
|
/**
|
|
7523
7523
|
* The profile whose events start it, from `GET /v1/profiles`.
|
|
7524
7524
|
*/
|
|
@@ -7532,7 +7532,7 @@ type AutomationEventTrigger = {
|
|
|
7532
7532
|
/**
|
|
7533
7533
|
* The Zernio event that starts it.
|
|
7534
7534
|
*/
|
|
7535
|
-
type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
7535
|
+
type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
7536
7536
|
/**
|
|
7537
7537
|
* Narrows by the facts of the event or post, such as `platform` or `likes`: one comparison, or a group where `all` must hold or `any` is enough. Groups nest.
|
|
7538
7538
|
*
|
|
@@ -76661,7 +76661,12 @@ type CreateStandaloneAdData = {
|
|
|
76661
76661
|
imageUrl: string;
|
|
76662
76662
|
};
|
|
76663
76663
|
/**
|
|
76664
|
-
*
|
|
76664
|
+
* The profile the ad runs as.
|
|
76665
|
+
*
|
|
76666
|
+
* - TikTok: the identity from GET /v1/ads/tiktok-identities. Overrides the connected account's own identity; must be authorized on the advertiser.
|
|
76667
|
+
* - Snapchat: the Public Profile ID (a UUID), required on most organizations. Without it the create answers 422 on identityId and uploads nothing.
|
|
76668
|
+
* - To find a Snapchat Public Profile ID: in Snapchat Business Manager, open Public Profiles, select the profile and copy its ID.
|
|
76669
|
+
*
|
|
76665
76670
|
*/
|
|
76666
76671
|
identityId?: string;
|
|
76667
76672
|
/**
|
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.1762",
|
|
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.1762",
|
|
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
|
@@ -5068,7 +5068,7 @@ export type AutomationEventTrigger = {
|
|
|
5068
5068
|
/**
|
|
5069
5069
|
* The Zernio event that starts it.
|
|
5070
5070
|
*/
|
|
5071
|
-
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
5071
|
+
type: 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
5072
5072
|
/**
|
|
5073
5073
|
* The profile whose events start it, from `GET /v1/profiles`.
|
|
5074
5074
|
*/
|
|
@@ -5083,7 +5083,7 @@ export type AutomationEventTrigger = {
|
|
|
5083
5083
|
/**
|
|
5084
5084
|
* The Zernio event that starts it.
|
|
5085
5085
|
*/
|
|
5086
|
-
export type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'lead.received';
|
|
5086
|
+
export type type6 = 'post.failed' | 'post.partial' | 'post.published' | 'post.scheduled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.external.created' | 'account.connected' | 'account.disconnected' | 'account.permissions_changed' | 'account.rate_limited' | 'account.ads.sync_failed' | 'ad.status_changed' | 'ad.review.rejected' | 'ad.delivery_issue' | 'campaign.budget.depleted' | 'ad_account.status_changed' | 'campaign.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.account.quality_updated' | 'commerce.order.created' | 'commerce.order.updated' | 'commerce.order.refunded' | 'message.received' | 'message.sent' | 'message.failed' | 'conversation.started' | 'reaction.received' | 'referral.received' | 'comment.received' | 'mention.received' | 'review.new' | 'call.received' | 'call.ended' | 'call.failed' | 'call.recording_ready' | 'lead.received' | 'email.opened' | 'email.link_clicked' | 'email.thread_replied';
|
|
5087
5087
|
|
|
5088
5088
|
/**
|
|
5089
5089
|
* Narrows by the facts of the event or post, such as `platform` or `likes`: one comparison, or a group where `all` must hold or `any` is enough. Groups nest.
|
|
@@ -78442,7 +78442,12 @@ export type CreateStandaloneAdData = {
|
|
|
78442
78442
|
imageUrl: string;
|
|
78443
78443
|
};
|
|
78444
78444
|
/**
|
|
78445
|
-
*
|
|
78445
|
+
* The profile the ad runs as.
|
|
78446
|
+
*
|
|
78447
|
+
* - TikTok: the identity from GET /v1/ads/tiktok-identities. Overrides the connected account's own identity; must be authorized on the advertiser.
|
|
78448
|
+
* - Snapchat: the Public Profile ID (a UUID), required on most organizations. Without it the create answers 422 on identityId and uploads nothing.
|
|
78449
|
+
* - To find a Snapchat Public Profile ID: in Snapchat Business Manager, open Public Profiles, select the profile and copy its ID.
|
|
78450
|
+
*
|
|
78446
78451
|
*/
|
|
78447
78452
|
identityId?: string;
|
|
78448
78453
|
/**
|