@vitrina/api 14.11.1 → 14.13.0
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.cts +93 -4
- package/dist/index.d.ts +93 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -88914,7 +88914,9 @@ interface paths {
|
|
|
88914
88914
|
};
|
|
88915
88915
|
/**
|
|
88916
88916
|
* Meta’s own analytics for the campaign’s template
|
|
88917
|
-
* @description Meta’s per-template analytics
|
|
88917
|
+
* @description Meta’s per-template analytics — sent, delivered, read, clicks per button (quick-reply AND URL buttons) and cost — for the campaign’s WhatsApp template over its days (`started_at` → `finished_at` or now, padded to whole UTC days, at most the last 90), read through the messaging bridge (ADR 0137) and cached 15 minutes. These are the TEMPLATE’s numbers over those days: another campaign sending the same template on the same days shares them.
|
|
88918
|
+
*
|
|
88919
|
+
* **202** `{ data: { status: "enabling", retry_after_seconds } }` the first time, while Meta switches the account’s template insights on — ask again after `retry_after_seconds`. 409 when the campaign has not started; 422 for a campaign that is not a WhatsApp template campaign; 404 when the bridge does not know the template; 429 (with `retry_after_seconds`) when Meta throttles; 502 when Meta is unavailable; 501 `meta_insights_unavailable` when Meta’s numbers cannot exist for the account: `reason` `not_on_bridge` (not connected through the bridge) or `coexistence` (a WhatsApp Business app number — Meta refuses template insights there).
|
|
88918
88920
|
*/
|
|
88919
88921
|
get: {
|
|
88920
88922
|
parameters: {
|
|
@@ -88936,6 +88938,7 @@ interface paths {
|
|
|
88936
88938
|
/**
|
|
88937
88939
|
* @example {
|
|
88938
88940
|
* "data": {
|
|
88941
|
+
* "status": "ready",
|
|
88939
88942
|
* "template": {
|
|
88940
88943
|
* "name": "promo_octubre",
|
|
88941
88944
|
* "language": "es",
|
|
@@ -88950,7 +88953,7 @@ interface paths {
|
|
|
88950
88953
|
* "delivered": 790,
|
|
88951
88954
|
* "read": 512,
|
|
88952
88955
|
* "cost": {
|
|
88953
|
-
* "amount": 41.2,
|
|
88956
|
+
* "amount": "41.2",
|
|
88954
88957
|
* "currency": "USD"
|
|
88955
88958
|
* }
|
|
88956
88959
|
* },
|
|
@@ -88980,7 +88983,21 @@ interface paths {
|
|
|
88980
88983
|
* }
|
|
88981
88984
|
*/
|
|
88982
88985
|
"application/json": {
|
|
88983
|
-
data
|
|
88986
|
+
data: components["schemas"]["CampaignMetaInsights"];
|
|
88987
|
+
meta?: {
|
|
88988
|
+
[key: string]: unknown;
|
|
88989
|
+
};
|
|
88990
|
+
};
|
|
88991
|
+
};
|
|
88992
|
+
};
|
|
88993
|
+
/** @description Meta is switching the template insights on — retry later */
|
|
88994
|
+
202: {
|
|
88995
|
+
headers: {
|
|
88996
|
+
[name: string]: unknown;
|
|
88997
|
+
};
|
|
88998
|
+
content: {
|
|
88999
|
+
"application/json": {
|
|
89000
|
+
data: components["schemas"]["CampaignMetaInsights"];
|
|
88984
89001
|
meta?: {
|
|
88985
89002
|
[key: string]: unknown;
|
|
88986
89003
|
};
|
|
@@ -89041,7 +89058,7 @@ interface paths {
|
|
|
89041
89058
|
"application/json": components["schemas"]["Error"];
|
|
89042
89059
|
};
|
|
89043
89060
|
};
|
|
89044
|
-
/** @description `meta_insights_unavailable` — not
|
|
89061
|
+
/** @description `meta_insights_unavailable` — the account is not connected through the bridge. */
|
|
89045
89062
|
501: {
|
|
89046
89063
|
headers: {
|
|
89047
89064
|
[name: string]: unknown;
|
|
@@ -114219,6 +114236,8 @@ interface paths {
|
|
|
114219
114236
|
*
|
|
114220
114237
|
* Each row also carries `ad_origin` (the `AdOrigin` schema) — the Meta ad that opened the thread, in ONE shape whatever the channel (click-to-WhatsApp or an Instagram DM ad), or `null` for an organic thread. `platform` is the thread channel; `ad_external_id` is Meta's ad id (`null` for a boosted post); `ad_name` and `campaign_name` are `null` when the Ads read does not know them; `title` is the ADVERTISER'S copy, never the customer's words; `thumbnail_url` is Vitrina's durable copy of the creative when `media_archived` is `true`, else Meta's own link, which expires — render it with a fallback; `captured_at` is when the thread opened. Meta's own object stays on `ad_referral`, verbatim and write-once, in the channel's spelling (`source_id`/`ctwa_clid` on WhatsApp; `source: 'ADS'`, `ad_id`, `ads_context_data` on Instagram).
|
|
114221
114238
|
*
|
|
114239
|
+
* Each row also carries `campaign_origin` — the newest campaign send stored in the thread (`null` when none): its campaign, when it left, whether the send created the thread, and whether it is still the newest message (`awaiting_reply`). `fromCampaign=true` lists every such thread, closed ones included.
|
|
114240
|
+
*
|
|
114222
114241
|
* Rows here do NOT carry `ad_origin_nudge` — that field is single-conversation-read only, to avoid a per-row integration lookup on every page of the inbox.
|
|
114223
114242
|
*
|
|
114224
114243
|
* `fields=summary` answers the SAME page with only the identifying and funnel scalars per row — `id`, `display_id`, `channel`, `source`, `status`, `handler`, `assignee_user_id`, `contact_id`, `ticket_id`, `awaiting_human_since`, `first_ai_message_at`, `last_message_date`, `created_at`, `ad_origin` — plus `contact_name`, `ticket_status` and `current_stage_id` off the embeds, and `assignee_name` / `unread` when the list computed them (an api_key has no read markers, so no `unread`). No `contact`, `ticket`, `lastMessage`, `tags`, `marketplaceWindow` or `last_call`. `meta` and `counts` are unchanged. A 20-row page is ~147k characters at `full` (the default, byte-identical to omitting the parameter) and a fraction of that at `summary`; page with `summary` to choose, then `GET /conversations/{id}` for one thread whole.
|
|
@@ -114249,6 +114268,7 @@ interface paths {
|
|
|
114249
114268
|
filtered?: boolean | null;
|
|
114250
114269
|
aiReplied?: boolean | null;
|
|
114251
114270
|
fromAd?: boolean | null;
|
|
114271
|
+
fromCampaign?: boolean | null;
|
|
114252
114272
|
sort?: "created_at" | "updated_at" | "last_message_date";
|
|
114253
114273
|
order?: "asc" | "desc";
|
|
114254
114274
|
include?: "counts";
|
|
@@ -114549,6 +114569,7 @@ interface paths {
|
|
|
114549
114569
|
"application/json": {
|
|
114550
114570
|
data: {
|
|
114551
114571
|
ad_origin: components["schemas"]["AdOrigin"];
|
|
114572
|
+
campaign_origin?: components["schemas"]["ConversationCampaignOrigin"];
|
|
114552
114573
|
}[];
|
|
114553
114574
|
meta?: {
|
|
114554
114575
|
[key: string]: unknown;
|
|
@@ -115096,6 +115117,7 @@ interface paths {
|
|
|
115096
115117
|
"application/json": {
|
|
115097
115118
|
data: {
|
|
115098
115119
|
ad_origin: components["schemas"]["AdOrigin"];
|
|
115120
|
+
campaign_origin?: components["schemas"]["ConversationCampaignOrigin"];
|
|
115099
115121
|
};
|
|
115100
115122
|
meta?: {
|
|
115101
115123
|
[key: string]: unknown;
|
|
@@ -180190,6 +180212,11 @@ interface components {
|
|
|
180190
180212
|
replied_at: string | null;
|
|
180191
180213
|
/** Format: uuid */
|
|
180192
180214
|
replied_conversation_id: string | null;
|
|
180215
|
+
/**
|
|
180216
|
+
* Format: uuid
|
|
180217
|
+
* @description The conversation the send was stored in — created by the send (born closed) or the live thread it was appended to. Null before the send, or for a send the backfill has not linked yet.
|
|
180218
|
+
*/
|
|
180219
|
+
conversation_id?: string | null;
|
|
180193
180220
|
created_at: string;
|
|
180194
180221
|
};
|
|
180195
180222
|
CampaignResults: {
|
|
@@ -180207,6 +180234,8 @@ interface components {
|
|
|
180207
180234
|
failed: number;
|
|
180208
180235
|
suppressed: number;
|
|
180209
180236
|
pending: number;
|
|
180237
|
+
/** @description Conversations this campaign's sends created («conversaciones iniciadas»). A send to a contact with a live thread is appended there and not counted. */
|
|
180238
|
+
conversations_created: number;
|
|
180210
180239
|
};
|
|
180211
180240
|
/** @description 0–1 fractions; null when the denominator is 0. */
|
|
180212
180241
|
rates: {
|
|
@@ -180256,6 +180285,55 @@ interface components {
|
|
|
180256
180285
|
}[];
|
|
180257
180286
|
};
|
|
180258
180287
|
};
|
|
180288
|
+
CampaignMetaInsights: {
|
|
180289
|
+
/** @enum {string} */
|
|
180290
|
+
status: "ready";
|
|
180291
|
+
template: {
|
|
180292
|
+
name: string;
|
|
180293
|
+
language: string;
|
|
180294
|
+
/** @description Meta template id. */
|
|
180295
|
+
external_id: string;
|
|
180296
|
+
};
|
|
180297
|
+
range: {
|
|
180298
|
+
/** @description First UTC day (YYYY-MM-DD), inclusive. */
|
|
180299
|
+
start: string;
|
|
180300
|
+
/** @description Last UTC day (YYYY-MM-DD), inclusive. */
|
|
180301
|
+
end: string;
|
|
180302
|
+
};
|
|
180303
|
+
totals: {
|
|
180304
|
+
sent: number;
|
|
180305
|
+
delivered: number;
|
|
180306
|
+
read: number;
|
|
180307
|
+
cost: {
|
|
180308
|
+
/** @description Decimal string in `currency`. */
|
|
180309
|
+
amount: string;
|
|
180310
|
+
currency: string | null;
|
|
180311
|
+
};
|
|
180312
|
+
};
|
|
180313
|
+
/** @description Clicks per button over the range, most-clicked first. */
|
|
180314
|
+
clicks: {
|
|
180315
|
+
/** @description Meta button type: `quick_reply_button`, `url_button`, … */
|
|
180316
|
+
type: string;
|
|
180317
|
+
/** @description Button text. */
|
|
180318
|
+
button: string;
|
|
180319
|
+
count: number;
|
|
180320
|
+
}[];
|
|
180321
|
+
daily: {
|
|
180322
|
+
/** @description UTC day. */
|
|
180323
|
+
date: string;
|
|
180324
|
+
sent: number;
|
|
180325
|
+
delivered: number;
|
|
180326
|
+
read: number;
|
|
180327
|
+
clicks: number;
|
|
180328
|
+
}[];
|
|
180329
|
+
/** @description When Meta was read (cached up to 15 min). */
|
|
180330
|
+
fetched_at: string;
|
|
180331
|
+
} | {
|
|
180332
|
+
/** @enum {string} */
|
|
180333
|
+
status: "enabling";
|
|
180334
|
+
/** @description Meta is switching the account’s template insights on; ask again after this. */
|
|
180335
|
+
retry_after_seconds: number;
|
|
180336
|
+
};
|
|
180259
180337
|
CampaignTestSendResult: {
|
|
180260
180338
|
/** Format: uuid */
|
|
180261
180339
|
campaign_id: string;
|
|
@@ -181822,6 +181900,17 @@ interface components {
|
|
|
181822
181900
|
/** @description When the thread opened from the ad (the conversation creation time). */
|
|
181823
181901
|
captured_at: string | null;
|
|
181824
181902
|
} | null;
|
|
181903
|
+
/** @description List rows only: the newest campaign send stored in the thread (`null` when none). */
|
|
181904
|
+
ConversationCampaignOrigin: {
|
|
181905
|
+
/** Format: uuid */
|
|
181906
|
+
campaign_id: string;
|
|
181907
|
+
campaign_name: string | null;
|
|
181908
|
+
sent_at: string | null;
|
|
181909
|
+
/** @description The send CREATED this thread (born closed, `source = campaign`). */
|
|
181910
|
+
started_by_campaign: boolean;
|
|
181911
|
+
/** @description The newest message in the thread is that send — «Enviada · sin respuesta». */
|
|
181912
|
+
awaiting_reply: boolean;
|
|
181913
|
+
} | null;
|
|
181825
181914
|
MessageAttachment: {
|
|
181826
181915
|
/** @description Position in `media_urls`. */
|
|
181827
181916
|
index: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -88914,7 +88914,9 @@ interface paths {
|
|
|
88914
88914
|
};
|
|
88915
88915
|
/**
|
|
88916
88916
|
* Meta’s own analytics for the campaign’s template
|
|
88917
|
-
* @description Meta’s per-template analytics
|
|
88917
|
+
* @description Meta’s per-template analytics — sent, delivered, read, clicks per button (quick-reply AND URL buttons) and cost — for the campaign’s WhatsApp template over its days (`started_at` → `finished_at` or now, padded to whole UTC days, at most the last 90), read through the messaging bridge (ADR 0137) and cached 15 minutes. These are the TEMPLATE’s numbers over those days: another campaign sending the same template on the same days shares them.
|
|
88918
|
+
*
|
|
88919
|
+
* **202** `{ data: { status: "enabling", retry_after_seconds } }` the first time, while Meta switches the account’s template insights on — ask again after `retry_after_seconds`. 409 when the campaign has not started; 422 for a campaign that is not a WhatsApp template campaign; 404 when the bridge does not know the template; 429 (with `retry_after_seconds`) when Meta throttles; 502 when Meta is unavailable; 501 `meta_insights_unavailable` when Meta’s numbers cannot exist for the account: `reason` `not_on_bridge` (not connected through the bridge) or `coexistence` (a WhatsApp Business app number — Meta refuses template insights there).
|
|
88918
88920
|
*/
|
|
88919
88921
|
get: {
|
|
88920
88922
|
parameters: {
|
|
@@ -88936,6 +88938,7 @@ interface paths {
|
|
|
88936
88938
|
/**
|
|
88937
88939
|
* @example {
|
|
88938
88940
|
* "data": {
|
|
88941
|
+
* "status": "ready",
|
|
88939
88942
|
* "template": {
|
|
88940
88943
|
* "name": "promo_octubre",
|
|
88941
88944
|
* "language": "es",
|
|
@@ -88950,7 +88953,7 @@ interface paths {
|
|
|
88950
88953
|
* "delivered": 790,
|
|
88951
88954
|
* "read": 512,
|
|
88952
88955
|
* "cost": {
|
|
88953
|
-
* "amount": 41.2,
|
|
88956
|
+
* "amount": "41.2",
|
|
88954
88957
|
* "currency": "USD"
|
|
88955
88958
|
* }
|
|
88956
88959
|
* },
|
|
@@ -88980,7 +88983,21 @@ interface paths {
|
|
|
88980
88983
|
* }
|
|
88981
88984
|
*/
|
|
88982
88985
|
"application/json": {
|
|
88983
|
-
data
|
|
88986
|
+
data: components["schemas"]["CampaignMetaInsights"];
|
|
88987
|
+
meta?: {
|
|
88988
|
+
[key: string]: unknown;
|
|
88989
|
+
};
|
|
88990
|
+
};
|
|
88991
|
+
};
|
|
88992
|
+
};
|
|
88993
|
+
/** @description Meta is switching the template insights on — retry later */
|
|
88994
|
+
202: {
|
|
88995
|
+
headers: {
|
|
88996
|
+
[name: string]: unknown;
|
|
88997
|
+
};
|
|
88998
|
+
content: {
|
|
88999
|
+
"application/json": {
|
|
89000
|
+
data: components["schemas"]["CampaignMetaInsights"];
|
|
88984
89001
|
meta?: {
|
|
88985
89002
|
[key: string]: unknown;
|
|
88986
89003
|
};
|
|
@@ -89041,7 +89058,7 @@ interface paths {
|
|
|
89041
89058
|
"application/json": components["schemas"]["Error"];
|
|
89042
89059
|
};
|
|
89043
89060
|
};
|
|
89044
|
-
/** @description `meta_insights_unavailable` — not
|
|
89061
|
+
/** @description `meta_insights_unavailable` — the account is not connected through the bridge. */
|
|
89045
89062
|
501: {
|
|
89046
89063
|
headers: {
|
|
89047
89064
|
[name: string]: unknown;
|
|
@@ -114219,6 +114236,8 @@ interface paths {
|
|
|
114219
114236
|
*
|
|
114220
114237
|
* Each row also carries `ad_origin` (the `AdOrigin` schema) — the Meta ad that opened the thread, in ONE shape whatever the channel (click-to-WhatsApp or an Instagram DM ad), or `null` for an organic thread. `platform` is the thread channel; `ad_external_id` is Meta's ad id (`null` for a boosted post); `ad_name` and `campaign_name` are `null` when the Ads read does not know them; `title` is the ADVERTISER'S copy, never the customer's words; `thumbnail_url` is Vitrina's durable copy of the creative when `media_archived` is `true`, else Meta's own link, which expires — render it with a fallback; `captured_at` is when the thread opened. Meta's own object stays on `ad_referral`, verbatim and write-once, in the channel's spelling (`source_id`/`ctwa_clid` on WhatsApp; `source: 'ADS'`, `ad_id`, `ads_context_data` on Instagram).
|
|
114221
114238
|
*
|
|
114239
|
+
* Each row also carries `campaign_origin` — the newest campaign send stored in the thread (`null` when none): its campaign, when it left, whether the send created the thread, and whether it is still the newest message (`awaiting_reply`). `fromCampaign=true` lists every such thread, closed ones included.
|
|
114240
|
+
*
|
|
114222
114241
|
* Rows here do NOT carry `ad_origin_nudge` — that field is single-conversation-read only, to avoid a per-row integration lookup on every page of the inbox.
|
|
114223
114242
|
*
|
|
114224
114243
|
* `fields=summary` answers the SAME page with only the identifying and funnel scalars per row — `id`, `display_id`, `channel`, `source`, `status`, `handler`, `assignee_user_id`, `contact_id`, `ticket_id`, `awaiting_human_since`, `first_ai_message_at`, `last_message_date`, `created_at`, `ad_origin` — plus `contact_name`, `ticket_status` and `current_stage_id` off the embeds, and `assignee_name` / `unread` when the list computed them (an api_key has no read markers, so no `unread`). No `contact`, `ticket`, `lastMessage`, `tags`, `marketplaceWindow` or `last_call`. `meta` and `counts` are unchanged. A 20-row page is ~147k characters at `full` (the default, byte-identical to omitting the parameter) and a fraction of that at `summary`; page with `summary` to choose, then `GET /conversations/{id}` for one thread whole.
|
|
@@ -114249,6 +114268,7 @@ interface paths {
|
|
|
114249
114268
|
filtered?: boolean | null;
|
|
114250
114269
|
aiReplied?: boolean | null;
|
|
114251
114270
|
fromAd?: boolean | null;
|
|
114271
|
+
fromCampaign?: boolean | null;
|
|
114252
114272
|
sort?: "created_at" | "updated_at" | "last_message_date";
|
|
114253
114273
|
order?: "asc" | "desc";
|
|
114254
114274
|
include?: "counts";
|
|
@@ -114549,6 +114569,7 @@ interface paths {
|
|
|
114549
114569
|
"application/json": {
|
|
114550
114570
|
data: {
|
|
114551
114571
|
ad_origin: components["schemas"]["AdOrigin"];
|
|
114572
|
+
campaign_origin?: components["schemas"]["ConversationCampaignOrigin"];
|
|
114552
114573
|
}[];
|
|
114553
114574
|
meta?: {
|
|
114554
114575
|
[key: string]: unknown;
|
|
@@ -115096,6 +115117,7 @@ interface paths {
|
|
|
115096
115117
|
"application/json": {
|
|
115097
115118
|
data: {
|
|
115098
115119
|
ad_origin: components["schemas"]["AdOrigin"];
|
|
115120
|
+
campaign_origin?: components["schemas"]["ConversationCampaignOrigin"];
|
|
115099
115121
|
};
|
|
115100
115122
|
meta?: {
|
|
115101
115123
|
[key: string]: unknown;
|
|
@@ -180190,6 +180212,11 @@ interface components {
|
|
|
180190
180212
|
replied_at: string | null;
|
|
180191
180213
|
/** Format: uuid */
|
|
180192
180214
|
replied_conversation_id: string | null;
|
|
180215
|
+
/**
|
|
180216
|
+
* Format: uuid
|
|
180217
|
+
* @description The conversation the send was stored in — created by the send (born closed) or the live thread it was appended to. Null before the send, or for a send the backfill has not linked yet.
|
|
180218
|
+
*/
|
|
180219
|
+
conversation_id?: string | null;
|
|
180193
180220
|
created_at: string;
|
|
180194
180221
|
};
|
|
180195
180222
|
CampaignResults: {
|
|
@@ -180207,6 +180234,8 @@ interface components {
|
|
|
180207
180234
|
failed: number;
|
|
180208
180235
|
suppressed: number;
|
|
180209
180236
|
pending: number;
|
|
180237
|
+
/** @description Conversations this campaign's sends created («conversaciones iniciadas»). A send to a contact with a live thread is appended there and not counted. */
|
|
180238
|
+
conversations_created: number;
|
|
180210
180239
|
};
|
|
180211
180240
|
/** @description 0–1 fractions; null when the denominator is 0. */
|
|
180212
180241
|
rates: {
|
|
@@ -180256,6 +180285,55 @@ interface components {
|
|
|
180256
180285
|
}[];
|
|
180257
180286
|
};
|
|
180258
180287
|
};
|
|
180288
|
+
CampaignMetaInsights: {
|
|
180289
|
+
/** @enum {string} */
|
|
180290
|
+
status: "ready";
|
|
180291
|
+
template: {
|
|
180292
|
+
name: string;
|
|
180293
|
+
language: string;
|
|
180294
|
+
/** @description Meta template id. */
|
|
180295
|
+
external_id: string;
|
|
180296
|
+
};
|
|
180297
|
+
range: {
|
|
180298
|
+
/** @description First UTC day (YYYY-MM-DD), inclusive. */
|
|
180299
|
+
start: string;
|
|
180300
|
+
/** @description Last UTC day (YYYY-MM-DD), inclusive. */
|
|
180301
|
+
end: string;
|
|
180302
|
+
};
|
|
180303
|
+
totals: {
|
|
180304
|
+
sent: number;
|
|
180305
|
+
delivered: number;
|
|
180306
|
+
read: number;
|
|
180307
|
+
cost: {
|
|
180308
|
+
/** @description Decimal string in `currency`. */
|
|
180309
|
+
amount: string;
|
|
180310
|
+
currency: string | null;
|
|
180311
|
+
};
|
|
180312
|
+
};
|
|
180313
|
+
/** @description Clicks per button over the range, most-clicked first. */
|
|
180314
|
+
clicks: {
|
|
180315
|
+
/** @description Meta button type: `quick_reply_button`, `url_button`, … */
|
|
180316
|
+
type: string;
|
|
180317
|
+
/** @description Button text. */
|
|
180318
|
+
button: string;
|
|
180319
|
+
count: number;
|
|
180320
|
+
}[];
|
|
180321
|
+
daily: {
|
|
180322
|
+
/** @description UTC day. */
|
|
180323
|
+
date: string;
|
|
180324
|
+
sent: number;
|
|
180325
|
+
delivered: number;
|
|
180326
|
+
read: number;
|
|
180327
|
+
clicks: number;
|
|
180328
|
+
}[];
|
|
180329
|
+
/** @description When Meta was read (cached up to 15 min). */
|
|
180330
|
+
fetched_at: string;
|
|
180331
|
+
} | {
|
|
180332
|
+
/** @enum {string} */
|
|
180333
|
+
status: "enabling";
|
|
180334
|
+
/** @description Meta is switching the account’s template insights on; ask again after this. */
|
|
180335
|
+
retry_after_seconds: number;
|
|
180336
|
+
};
|
|
180259
180337
|
CampaignTestSendResult: {
|
|
180260
180338
|
/** Format: uuid */
|
|
180261
180339
|
campaign_id: string;
|
|
@@ -181822,6 +181900,17 @@ interface components {
|
|
|
181822
181900
|
/** @description When the thread opened from the ad (the conversation creation time). */
|
|
181823
181901
|
captured_at: string | null;
|
|
181824
181902
|
} | null;
|
|
181903
|
+
/** @description List rows only: the newest campaign send stored in the thread (`null` when none). */
|
|
181904
|
+
ConversationCampaignOrigin: {
|
|
181905
|
+
/** Format: uuid */
|
|
181906
|
+
campaign_id: string;
|
|
181907
|
+
campaign_name: string | null;
|
|
181908
|
+
sent_at: string | null;
|
|
181909
|
+
/** @description The send CREATED this thread (born closed, `source = campaign`). */
|
|
181910
|
+
started_by_campaign: boolean;
|
|
181911
|
+
/** @description The newest message in the thread is that send — «Enviada · sin respuesta». */
|
|
181912
|
+
awaiting_reply: boolean;
|
|
181913
|
+
} | null;
|
|
181825
181914
|
MessageAttachment: {
|
|
181826
181915
|
/** @description Position in `media_urls`. */
|
|
181827
181916
|
index: number;
|
package/package.json
CHANGED