@zernio/node 0.2.1034 → 0.2.1036
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 +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -2
- package/src/generated/types.gen.ts +11 -10
package/dist/index.d.mts
CHANGED
|
@@ -6094,7 +6094,7 @@ type CtwaAdRequestBody = {
|
|
|
6094
6094
|
[key: string]: unknown;
|
|
6095
6095
|
};
|
|
6096
6096
|
/**
|
|
6097
|
-
*
|
|
6097
|
+
* Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
|
|
6098
6098
|
*/
|
|
6099
6099
|
behaviors?: Array<{
|
|
6100
6100
|
id: string;
|
|
@@ -11610,7 +11610,7 @@ type TargetingSpec = {
|
|
|
11610
11610
|
name?: string;
|
|
11611
11611
|
}>;
|
|
11612
11612
|
/**
|
|
11613
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
11613
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
|
|
11614
11614
|
*/
|
|
11615
11615
|
behaviors?: Array<{
|
|
11616
11616
|
id: string;
|
|
@@ -12714,7 +12714,7 @@ type Webhook = {
|
|
|
12714
12714
|
/**
|
|
12715
12715
|
* Events subscribed to
|
|
12716
12716
|
*/
|
|
12717
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
12717
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
12718
12718
|
/**
|
|
12719
12719
|
* Whether webhook delivery is enabled
|
|
12720
12720
|
*/
|
|
@@ -14450,7 +14450,7 @@ type WebhookPayloadMessageDeleted = {
|
|
|
14450
14450
|
};
|
|
14451
14451
|
type event19 = 'message.deleted';
|
|
14452
14452
|
/**
|
|
14453
|
-
* Shared payload for message.delivered, message.read, and
|
|
14453
|
+
* Shared payload for message.delivered, message.read, message.played and
|
|
14454
14454
|
* message.failed events. Fires when the platform reports a new
|
|
14455
14455
|
* delivery state for an outgoing message.
|
|
14456
14456
|
*
|
|
@@ -14458,6 +14458,7 @@ type event19 = 'message.deleted';
|
|
|
14458
14458
|
* * message.delivered: WhatsApp, Facebook Messenger, SMS, RCS.
|
|
14459
14459
|
* * message.read: WhatsApp, Facebook Messenger, Instagram, RCS. Not SMS
|
|
14460
14460
|
* (carriers report delivery, never read).
|
|
14461
|
+
* * message.played: WhatsApp only, voice messages.
|
|
14461
14462
|
* * message.failed: WhatsApp, SMS and RCS (other platforms don't expose
|
|
14462
14463
|
* per-message failure via webhook). On SMS, `error.code` is the
|
|
14463
14464
|
* carrier's numeric code and `error.message` its reason.
|
|
@@ -14468,7 +14469,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
14468
14469
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14469
14470
|
*/
|
|
14470
14471
|
id: string;
|
|
14471
|
-
event: 'message.delivered' | 'message.read' | 'message.failed';
|
|
14472
|
+
event: 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
14472
14473
|
message: InboxWebhookMessage;
|
|
14473
14474
|
/**
|
|
14474
14475
|
* When the platform reported this status.
|
|
@@ -14508,7 +14509,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
14508
14509
|
*/
|
|
14509
14510
|
timestamp: string;
|
|
14510
14511
|
};
|
|
14511
|
-
type event20 = 'message.delivered' | 'message.read' | 'message.failed';
|
|
14512
|
+
type event20 = 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
14512
14513
|
/**
|
|
14513
14514
|
* Webhook payload for message.edited events. Fires when the sender
|
|
14514
14515
|
* edits a previously-sent message. Supported platforms: Instagram,
|
|
@@ -25662,7 +25663,7 @@ type CreateWebhookSettingsData = {
|
|
|
25662
25663
|
/**
|
|
25663
25664
|
* Events to subscribe to (at least one required)
|
|
25664
25665
|
*/
|
|
25665
|
-
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25666
|
+
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25666
25667
|
/**
|
|
25667
25668
|
* Enable or disable webhook delivery. Defaults to `true` when omitted.
|
|
25668
25669
|
*/
|
|
@@ -25727,7 +25728,7 @@ type UpdateWebhookSettingsData = {
|
|
|
25727
25728
|
/**
|
|
25728
25729
|
* Events to subscribe to. Must contain at least one event if provided.
|
|
25729
25730
|
*/
|
|
25730
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25731
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25731
25732
|
/**
|
|
25732
25733
|
* Enable or disable webhook delivery
|
|
25733
25734
|
*/
|
|
@@ -26910,7 +26911,7 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
26910
26911
|
/**
|
|
26911
26912
|
* Lifecycle status for outgoing messages. Not all platforms emit every state (see webhook support matrix).
|
|
26912
26913
|
*/
|
|
26913
|
-
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'failed' | 'deleted') | null;
|
|
26914
|
+
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'played' | 'failed' | 'deleted') | null;
|
|
26914
26915
|
deliveredAt?: (string) | null;
|
|
26915
26916
|
readAt?: (string) | null;
|
|
26916
26917
|
/**
|
|
@@ -45475,7 +45476,7 @@ type CreateStandaloneAdData = {
|
|
|
45475
45476
|
address?: string;
|
|
45476
45477
|
}>;
|
|
45477
45478
|
/**
|
|
45478
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
45479
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
|
|
45479
45480
|
*/
|
|
45480
45481
|
behaviors?: Array<{
|
|
45481
45482
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -6094,7 +6094,7 @@ type CtwaAdRequestBody = {
|
|
|
6094
6094
|
[key: string]: unknown;
|
|
6095
6095
|
};
|
|
6096
6096
|
/**
|
|
6097
|
-
*
|
|
6097
|
+
* Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
|
|
6098
6098
|
*/
|
|
6099
6099
|
behaviors?: Array<{
|
|
6100
6100
|
id: string;
|
|
@@ -11610,7 +11610,7 @@ type TargetingSpec = {
|
|
|
11610
11610
|
name?: string;
|
|
11611
11611
|
}>;
|
|
11612
11612
|
/**
|
|
11613
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
11613
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
|
|
11614
11614
|
*/
|
|
11615
11615
|
behaviors?: Array<{
|
|
11616
11616
|
id: string;
|
|
@@ -12714,7 +12714,7 @@ type Webhook = {
|
|
|
12714
12714
|
/**
|
|
12715
12715
|
* Events subscribed to
|
|
12716
12716
|
*/
|
|
12717
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
12717
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
12718
12718
|
/**
|
|
12719
12719
|
* Whether webhook delivery is enabled
|
|
12720
12720
|
*/
|
|
@@ -14450,7 +14450,7 @@ type WebhookPayloadMessageDeleted = {
|
|
|
14450
14450
|
};
|
|
14451
14451
|
type event19 = 'message.deleted';
|
|
14452
14452
|
/**
|
|
14453
|
-
* Shared payload for message.delivered, message.read, and
|
|
14453
|
+
* Shared payload for message.delivered, message.read, message.played and
|
|
14454
14454
|
* message.failed events. Fires when the platform reports a new
|
|
14455
14455
|
* delivery state for an outgoing message.
|
|
14456
14456
|
*
|
|
@@ -14458,6 +14458,7 @@ type event19 = 'message.deleted';
|
|
|
14458
14458
|
* * message.delivered: WhatsApp, Facebook Messenger, SMS, RCS.
|
|
14459
14459
|
* * message.read: WhatsApp, Facebook Messenger, Instagram, RCS. Not SMS
|
|
14460
14460
|
* (carriers report delivery, never read).
|
|
14461
|
+
* * message.played: WhatsApp only, voice messages.
|
|
14461
14462
|
* * message.failed: WhatsApp, SMS and RCS (other platforms don't expose
|
|
14462
14463
|
* per-message failure via webhook). On SMS, `error.code` is the
|
|
14463
14464
|
* carrier's numeric code and `error.message` its reason.
|
|
@@ -14468,7 +14469,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
14468
14469
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
14469
14470
|
*/
|
|
14470
14471
|
id: string;
|
|
14471
|
-
event: 'message.delivered' | 'message.read' | 'message.failed';
|
|
14472
|
+
event: 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
14472
14473
|
message: InboxWebhookMessage;
|
|
14473
14474
|
/**
|
|
14474
14475
|
* When the platform reported this status.
|
|
@@ -14508,7 +14509,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
14508
14509
|
*/
|
|
14509
14510
|
timestamp: string;
|
|
14510
14511
|
};
|
|
14511
|
-
type event20 = 'message.delivered' | 'message.read' | 'message.failed';
|
|
14512
|
+
type event20 = 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
14512
14513
|
/**
|
|
14513
14514
|
* Webhook payload for message.edited events. Fires when the sender
|
|
14514
14515
|
* edits a previously-sent message. Supported platforms: Instagram,
|
|
@@ -25662,7 +25663,7 @@ type CreateWebhookSettingsData = {
|
|
|
25662
25663
|
/**
|
|
25663
25664
|
* Events to subscribe to (at least one required)
|
|
25664
25665
|
*/
|
|
25665
|
-
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25666
|
+
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25666
25667
|
/**
|
|
25667
25668
|
* Enable or disable webhook delivery. Defaults to `true` when omitted.
|
|
25668
25669
|
*/
|
|
@@ -25727,7 +25728,7 @@ type UpdateWebhookSettingsData = {
|
|
|
25727
25728
|
/**
|
|
25728
25729
|
* Events to subscribe to. Must contain at least one event if provided.
|
|
25729
25730
|
*/
|
|
25730
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25731
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25731
25732
|
/**
|
|
25732
25733
|
* Enable or disable webhook delivery
|
|
25733
25734
|
*/
|
|
@@ -26910,7 +26911,7 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
26910
26911
|
/**
|
|
26911
26912
|
* Lifecycle status for outgoing messages. Not all platforms emit every state (see webhook support matrix).
|
|
26912
26913
|
*/
|
|
26913
|
-
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'failed' | 'deleted') | null;
|
|
26914
|
+
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'played' | 'failed' | 'deleted') | null;
|
|
26914
26915
|
deliveredAt?: (string) | null;
|
|
26915
26916
|
readAt?: (string) | null;
|
|
26916
26917
|
/**
|
|
@@ -45475,7 +45476,7 @@ type CreateStandaloneAdData = {
|
|
|
45475
45476
|
address?: string;
|
|
45476
45477
|
}>;
|
|
45477
45478
|
/**
|
|
45478
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
45479
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
|
|
45479
45480
|
*/
|
|
45480
45481
|
behaviors?: Array<{
|
|
45481
45482
|
id: 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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1036",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1036",
|
|
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
|
@@ -11999,8 +11999,11 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
|
|
|
11999
11999
|
*
|
|
12000
12000
|
* - `geo`: locations, further scoped by `geoType`
|
|
12001
12001
|
* - `interest`
|
|
12002
|
-
* - `behavior`: Meta
|
|
12003
|
-
* (e.g. `Small business owners`, `Frequent Travelers`)
|
|
12002
|
+
* - `behavior`: Meta and TikTok, matched by name; ids feed `TargetingSpec.behaviors`.
|
|
12003
|
+
* Meta: its fixed behaviors catalog (e.g. `Small business owners`, `Frequent Travelers`).
|
|
12004
|
+
* TikTok: video and creator interaction categories (e.g. `Software & Apps`), with ids like
|
|
12005
|
+
* `video:1913101` or `creator:24001` and `path` starting with `Video interactions` or
|
|
12006
|
+
* `Creator interactions`
|
|
12004
12007
|
* - `income`: the household-income tiers the platform can target (Meta, TikTok, Google).
|
|
12005
12008
|
* The id is the normalized tier (`top_5`, `top_10`, `top_10_25`, `top_25_50`) to pass as
|
|
12006
12009
|
* `TargetingSpec.incomeTier`, never a platform segment id. Meta's tiers are US-only
|
|
@@ -4302,7 +4302,7 @@ export type CtwaAdRequestBody = {
|
|
|
4302
4302
|
[key: string]: unknown;
|
|
4303
4303
|
};
|
|
4304
4304
|
/**
|
|
4305
|
-
*
|
|
4305
|
+
* Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
|
|
4306
4306
|
*/
|
|
4307
4307
|
behaviors?: Array<{
|
|
4308
4308
|
id: string;
|
|
@@ -10088,7 +10088,7 @@ export type TargetingSpec = {
|
|
|
10088
10088
|
name?: string;
|
|
10089
10089
|
}>;
|
|
10090
10090
|
/**
|
|
10091
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
10091
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
|
|
10092
10092
|
*/
|
|
10093
10093
|
behaviors?: Array<{
|
|
10094
10094
|
id: string;
|
|
@@ -11240,7 +11240,7 @@ export type Webhook = {
|
|
|
11240
11240
|
/**
|
|
11241
11241
|
* Events subscribed to
|
|
11242
11242
|
*/
|
|
11243
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
11243
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
11244
11244
|
/**
|
|
11245
11245
|
* Whether webhook delivery is enabled
|
|
11246
11246
|
*/
|
|
@@ -13033,7 +13033,7 @@ export type WebhookPayloadMessageDeleted = {
|
|
|
13033
13033
|
export type event19 = 'message.deleted';
|
|
13034
13034
|
|
|
13035
13035
|
/**
|
|
13036
|
-
* Shared payload for message.delivered, message.read, and
|
|
13036
|
+
* Shared payload for message.delivered, message.read, message.played and
|
|
13037
13037
|
* message.failed events. Fires when the platform reports a new
|
|
13038
13038
|
* delivery state for an outgoing message.
|
|
13039
13039
|
*
|
|
@@ -13041,6 +13041,7 @@ export type event19 = 'message.deleted';
|
|
|
13041
13041
|
* * message.delivered: WhatsApp, Facebook Messenger, SMS, RCS.
|
|
13042
13042
|
* * message.read: WhatsApp, Facebook Messenger, Instagram, RCS. Not SMS
|
|
13043
13043
|
* (carriers report delivery, never read).
|
|
13044
|
+
* * message.played: WhatsApp only, voice messages.
|
|
13044
13045
|
* * message.failed: WhatsApp, SMS and RCS (other platforms don't expose
|
|
13045
13046
|
* per-message failure via webhook). On SMS, `error.code` is the
|
|
13046
13047
|
* carrier's numeric code and `error.message` its reason.
|
|
@@ -13051,7 +13052,7 @@ export type WebhookPayloadMessageDeliveryStatus = {
|
|
|
13051
13052
|
* Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
|
|
13052
13053
|
*/
|
|
13053
13054
|
id: string;
|
|
13054
|
-
event: 'message.delivered' | 'message.read' | 'message.failed';
|
|
13055
|
+
event: 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
13055
13056
|
message: InboxWebhookMessage;
|
|
13056
13057
|
/**
|
|
13057
13058
|
* When the platform reported this status.
|
|
@@ -13092,7 +13093,7 @@ export type WebhookPayloadMessageDeliveryStatus = {
|
|
|
13092
13093
|
timestamp: string;
|
|
13093
13094
|
};
|
|
13094
13095
|
|
|
13095
|
-
export type event20 = 'message.delivered' | 'message.read' | 'message.failed';
|
|
13096
|
+
export type event20 = 'message.delivered' | 'message.read' | 'message.played' | 'message.failed';
|
|
13096
13097
|
|
|
13097
13098
|
/**
|
|
13098
13099
|
* Webhook payload for message.edited events. Fires when the sender
|
|
@@ -24980,7 +24981,7 @@ export type CreateWebhookSettingsData = {
|
|
|
24980
24981
|
/**
|
|
24981
24982
|
* Events to subscribe to (at least one required)
|
|
24982
24983
|
*/
|
|
24983
|
-
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
24984
|
+
events: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
24984
24985
|
/**
|
|
24985
24986
|
* Enable or disable webhook delivery. Defaults to `true` when omitted.
|
|
24986
24987
|
*/
|
|
@@ -25048,7 +25049,7 @@ export type UpdateWebhookSettingsData = {
|
|
|
25048
25049
|
/**
|
|
25049
25050
|
* Events to subscribe to. Must contain at least one event if provided.
|
|
25050
25051
|
*/
|
|
25051
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25052
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'post.platform.published' | 'post.platform.failed' | 'post.platform.deleted' | 'post.tiktok.url_resolved' | 'post.external.created' | 'post.external.updated' | 'post.external.deleted' | 'account.connected' | 'account.disconnected' | 'account.ads.initial_sync_completed' | 'account.ads.sync_failed' | 'account.ads.sync_recovered' | 'analytics.synced' | 'message.received' | 'conversation.started' | 'conversation.control_changed' | 'call.received' | 'call.ended' | 'call.failed' | 'call.permission_request' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.played' | 'message.failed' | 'reaction.received' | 'referral.received' | 'comment.received' | 'review.new' | 'review.updated' | 'lead.received' | 'ad.status_changed' | 'whatsapp.template.status_updated' | 'whatsapp.template.category_updated' | 'whatsapp.account.name_status_updated' | 'whatsapp.account.quality_updated' | 'whatsapp.account.status_updated' | 'whatsapp.account.alert_received' | 'whatsapp.contact.identity_changed' | 'whatsapp.automatic_event' | 'whatsapp.number.activated' | 'whatsapp.number.declined' | 'whatsapp.number.action_required' | 'whatsapp.number.verification_required' | 'whatsapp.number.suspended' | 'whatsapp.number.reactivated' | 'whatsapp.number.released' | 'whatsapp.number.kyc_submitted' | 'phone_number.stock_available' | 'verification.approved' | 'verification.failed' | 'sms.registration.action_required' | 'sms.registration.status_updated' | 'branded_calling.identity.status_updated' | 'branded_calling.identity.action_required' | 'branded_calling.number.status_updated' | 'rcs.agent.status_updated' | 'commerce.product.created' | 'commerce.product.updated' | 'commerce.product.deleted')>;
|
|
25052
25053
|
/**
|
|
25053
25054
|
* Enable or disable webhook delivery
|
|
25054
25055
|
*/
|
|
@@ -26265,7 +26266,7 @@ export type GetInboxConversationMessagesResponse = ({
|
|
|
26265
26266
|
/**
|
|
26266
26267
|
* Lifecycle status for outgoing messages. Not all platforms emit every state (see webhook support matrix).
|
|
26267
26268
|
*/
|
|
26268
|
-
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'failed' | 'deleted') | null;
|
|
26269
|
+
deliveryStatus?: ('sent' | 'delivered' | 'read' | 'played' | 'failed' | 'deleted') | null;
|
|
26269
26270
|
deliveredAt?: (string) | null;
|
|
26270
26271
|
readAt?: (string) | null;
|
|
26271
26272
|
/**
|
|
@@ -46204,7 +46205,7 @@ export type CreateStandaloneAdData = {
|
|
|
46204
46205
|
address?: string;
|
|
46205
46206
|
}>;
|
|
46206
46207
|
/**
|
|
46207
|
-
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior
|
|
46208
|
+
* Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
|
|
46208
46209
|
*/
|
|
46209
46210
|
behaviors?: Array<{
|
|
46210
46211
|
id: string;
|