@vitrina/api 14.18.1 → 14.19.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 +19 -1
- package/dist/index.d.ts +19 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -180941,6 +180941,8 @@ interface components {
|
|
|
180941
180941
|
start_date: string;
|
|
180942
180942
|
/** @description Local time of every batch, HH:MM. */
|
|
180943
180943
|
time: string;
|
|
180944
|
+
/** @description At most this many people per slot, in total across the slot’s grace, even with headroom left (ADR 0139 amendment) — e.g. 100 and 100 for an even A/B on a number that gives campaigns 200 a day. Absent/null = no cap. */
|
|
180945
|
+
max_per_batch?: number | null;
|
|
180944
180946
|
} | {
|
|
180945
180947
|
/** @enum {string} */
|
|
180946
180948
|
kind: "slots";
|
|
@@ -180958,6 +180960,8 @@ interface components {
|
|
|
180958
180960
|
* @enum {string}
|
|
180959
180961
|
*/
|
|
180960
180962
|
after_last: "continue_daily" | "pause";
|
|
180963
|
+
/** @description At most this many people per slot, in total across the slot’s grace, even with headroom left (ADR 0139 amendment) — e.g. 100 and 100 for an even A/B on a number that gives campaigns 200 a day. Absent/null = no cap. */
|
|
180964
|
+
max_per_batch?: number | null;
|
|
180961
180965
|
} | null;
|
|
180962
180966
|
/** @description With a schedule: batch by batch, against the budget (ADR 0139). Null without one. */
|
|
180963
180967
|
CampaignScheduleSimulation: {
|
|
@@ -180971,6 +180975,8 @@ interface components {
|
|
|
180971
180975
|
/** @description Index into the sorted `slots`; null for a daily batch. */
|
|
180972
180976
|
slot_index: number | null;
|
|
180973
180977
|
warnings: ("budget_not_freed" | "partial_budget" | "outside_contact_hours" | "in_the_past")[];
|
|
180978
|
+
/** @description Slots the sibling campaigns of the number are expected to use in this batch’s 24 h window (at − 24 h, at]. */
|
|
180979
|
+
shared_with: number;
|
|
180974
180980
|
}[];
|
|
180975
180981
|
covers_all: boolean;
|
|
180976
180982
|
remaining_after_last: number;
|
|
@@ -180978,7 +180984,7 @@ interface components {
|
|
|
180978
180984
|
completes_at: string | null;
|
|
180979
180985
|
issues: {
|
|
180980
180986
|
/** @enum {string} */
|
|
180981
|
-
code: "slot_in_past" | "duplicate_slot" | "too_close" | "uncovered" | "asap_not_allowed";
|
|
180987
|
+
code: "slot_in_past" | "duplicate_slot" | "too_close" | "uncovered" | "asap_not_allowed" | "shared_budget_hint";
|
|
180982
180988
|
slot_index?: number;
|
|
180983
180989
|
message_es: string;
|
|
180984
180990
|
message_en: string;
|
|
@@ -180994,6 +181000,18 @@ interface components {
|
|
|
180994
181000
|
replies_handled_by: "ai" | "human" | null;
|
|
180995
181001
|
/** @description The batches (`local`) outside the workspace’s contact hours, whoever answers. */
|
|
180996
181002
|
outside_contact_hours: string[];
|
|
181003
|
+
/** @description The other campaigns of the number (same WABA group) — scheduled, sending or paused with people pending — sharing its limit, oldest first. Their expected batches count against this plan (ADR 0139 amendment). */
|
|
181004
|
+
siblings: {
|
|
181005
|
+
campaign_id: string;
|
|
181006
|
+
name: string;
|
|
181007
|
+
/** @enum {string} */
|
|
181008
|
+
status: "scheduled" | "sending" | "paused";
|
|
181009
|
+
pending: number;
|
|
181010
|
+
/** @description Its schedule; null = it sends continuously. */
|
|
181011
|
+
schedule_label: string | null;
|
|
181012
|
+
/** @description About how many it sends per 24 h; null = no cap known on the number. */
|
|
181013
|
+
estimated_per_day: number | null;
|
|
181014
|
+
}[];
|
|
180997
181015
|
} | null;
|
|
180998
181016
|
CampaignSendPlan: {
|
|
180999
181017
|
recipients: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -180941,6 +180941,8 @@ interface components {
|
|
|
180941
180941
|
start_date: string;
|
|
180942
180942
|
/** @description Local time of every batch, HH:MM. */
|
|
180943
180943
|
time: string;
|
|
180944
|
+
/** @description At most this many people per slot, in total across the slot’s grace, even with headroom left (ADR 0139 amendment) — e.g. 100 and 100 for an even A/B on a number that gives campaigns 200 a day. Absent/null = no cap. */
|
|
180945
|
+
max_per_batch?: number | null;
|
|
180944
180946
|
} | {
|
|
180945
180947
|
/** @enum {string} */
|
|
180946
180948
|
kind: "slots";
|
|
@@ -180958,6 +180960,8 @@ interface components {
|
|
|
180958
180960
|
* @enum {string}
|
|
180959
180961
|
*/
|
|
180960
180962
|
after_last: "continue_daily" | "pause";
|
|
180963
|
+
/** @description At most this many people per slot, in total across the slot’s grace, even with headroom left (ADR 0139 amendment) — e.g. 100 and 100 for an even A/B on a number that gives campaigns 200 a day. Absent/null = no cap. */
|
|
180964
|
+
max_per_batch?: number | null;
|
|
180961
180965
|
} | null;
|
|
180962
180966
|
/** @description With a schedule: batch by batch, against the budget (ADR 0139). Null without one. */
|
|
180963
180967
|
CampaignScheduleSimulation: {
|
|
@@ -180971,6 +180975,8 @@ interface components {
|
|
|
180971
180975
|
/** @description Index into the sorted `slots`; null for a daily batch. */
|
|
180972
180976
|
slot_index: number | null;
|
|
180973
180977
|
warnings: ("budget_not_freed" | "partial_budget" | "outside_contact_hours" | "in_the_past")[];
|
|
180978
|
+
/** @description Slots the sibling campaigns of the number are expected to use in this batch’s 24 h window (at − 24 h, at]. */
|
|
180979
|
+
shared_with: number;
|
|
180974
180980
|
}[];
|
|
180975
180981
|
covers_all: boolean;
|
|
180976
180982
|
remaining_after_last: number;
|
|
@@ -180978,7 +180984,7 @@ interface components {
|
|
|
180978
180984
|
completes_at: string | null;
|
|
180979
180985
|
issues: {
|
|
180980
180986
|
/** @enum {string} */
|
|
180981
|
-
code: "slot_in_past" | "duplicate_slot" | "too_close" | "uncovered" | "asap_not_allowed";
|
|
180987
|
+
code: "slot_in_past" | "duplicate_slot" | "too_close" | "uncovered" | "asap_not_allowed" | "shared_budget_hint";
|
|
180982
180988
|
slot_index?: number;
|
|
180983
180989
|
message_es: string;
|
|
180984
180990
|
message_en: string;
|
|
@@ -180994,6 +181000,18 @@ interface components {
|
|
|
180994
181000
|
replies_handled_by: "ai" | "human" | null;
|
|
180995
181001
|
/** @description The batches (`local`) outside the workspace’s contact hours, whoever answers. */
|
|
180996
181002
|
outside_contact_hours: string[];
|
|
181003
|
+
/** @description The other campaigns of the number (same WABA group) — scheduled, sending or paused with people pending — sharing its limit, oldest first. Their expected batches count against this plan (ADR 0139 amendment). */
|
|
181004
|
+
siblings: {
|
|
181005
|
+
campaign_id: string;
|
|
181006
|
+
name: string;
|
|
181007
|
+
/** @enum {string} */
|
|
181008
|
+
status: "scheduled" | "sending" | "paused";
|
|
181009
|
+
pending: number;
|
|
181010
|
+
/** @description Its schedule; null = it sends continuously. */
|
|
181011
|
+
schedule_label: string | null;
|
|
181012
|
+
/** @description About how many it sends per 24 h; null = no cap known on the number. */
|
|
181013
|
+
estimated_per_day: number | null;
|
|
181014
|
+
}[];
|
|
180997
181015
|
} | null;
|
|
180998
181016
|
CampaignSendPlan: {
|
|
180999
181017
|
recipients: number;
|
package/package.json
CHANGED