sendlit 0.6.0 → 0.7.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/README.md +1 -0
- package/dist/index.d.mts +1456 -553
- package/dist/index.d.ts +1456 -553
- package/dist/index.js +447 -203
- package/dist/index.mjs +447 -204
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -39,7 +39,7 @@ declare class HttpClient {
|
|
|
39
39
|
private send;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
declare const routes$
|
|
42
|
+
declare const routes$c: {
|
|
43
43
|
create: {
|
|
44
44
|
summary: "Create a contact";
|
|
45
45
|
description: "Creates a contact (subscriber). If a contact with the same email already exists for this team, the existing contact is returned.";
|
|
@@ -78,8 +78,8 @@ declare const routes$b: {
|
|
|
78
78
|
email: string;
|
|
79
79
|
tags: string[];
|
|
80
80
|
subscribed: boolean;
|
|
81
|
-
createdAt: string | null;
|
|
82
81
|
updatedAt: string | null;
|
|
82
|
+
createdAt: string | null;
|
|
83
83
|
contactId: string;
|
|
84
84
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
85
85
|
unsubscribeToken: string;
|
|
@@ -88,8 +88,8 @@ declare const routes$b: {
|
|
|
88
88
|
email: string;
|
|
89
89
|
tags: string[];
|
|
90
90
|
subscribed: boolean;
|
|
91
|
-
createdAt: string | null;
|
|
92
91
|
updatedAt: string | null;
|
|
92
|
+
createdAt: string | null;
|
|
93
93
|
contactId: string;
|
|
94
94
|
unsubscribeToken: string;
|
|
95
95
|
name?: string | null | undefined;
|
|
@@ -157,8 +157,8 @@ declare const routes$b: {
|
|
|
157
157
|
email: string;
|
|
158
158
|
tags: string[];
|
|
159
159
|
subscribed: boolean;
|
|
160
|
-
createdAt: string | null;
|
|
161
160
|
updatedAt: string | null;
|
|
161
|
+
createdAt: string | null;
|
|
162
162
|
contactId: string;
|
|
163
163
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
164
164
|
unsubscribeToken: string;
|
|
@@ -167,8 +167,8 @@ declare const routes$b: {
|
|
|
167
167
|
email: string;
|
|
168
168
|
tags: string[];
|
|
169
169
|
subscribed: boolean;
|
|
170
|
-
createdAt: string | null;
|
|
171
170
|
updatedAt: string | null;
|
|
171
|
+
createdAt: string | null;
|
|
172
172
|
contactId: string;
|
|
173
173
|
unsubscribeToken: string;
|
|
174
174
|
name?: string | null | undefined;
|
|
@@ -180,8 +180,8 @@ declare const routes$b: {
|
|
|
180
180
|
email: string;
|
|
181
181
|
tags: string[];
|
|
182
182
|
subscribed: boolean;
|
|
183
|
-
createdAt: string | null;
|
|
184
183
|
updatedAt: string | null;
|
|
184
|
+
createdAt: string | null;
|
|
185
185
|
contactId: string;
|
|
186
186
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
187
187
|
unsubscribeToken: string;
|
|
@@ -193,8 +193,8 @@ declare const routes$b: {
|
|
|
193
193
|
email: string;
|
|
194
194
|
tags: string[];
|
|
195
195
|
subscribed: boolean;
|
|
196
|
-
createdAt: string | null;
|
|
197
196
|
updatedAt: string | null;
|
|
197
|
+
createdAt: string | null;
|
|
198
198
|
contactId: string;
|
|
199
199
|
unsubscribeToken: string;
|
|
200
200
|
name?: string | null | undefined;
|
|
@@ -1246,13 +1246,13 @@ declare const routes$b: {
|
|
|
1246
1246
|
deleted: zod.ZodNumber;
|
|
1247
1247
|
suppressed: zod.ZodNumber;
|
|
1248
1248
|
}, "strip", zod.ZodTypeAny, {
|
|
1249
|
-
status: "
|
|
1249
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1250
1250
|
suppressed: number;
|
|
1251
1251
|
count: number;
|
|
1252
1252
|
deletionId: string | null;
|
|
1253
1253
|
deleted: number;
|
|
1254
1254
|
}, {
|
|
1255
|
-
status: "
|
|
1255
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1256
1256
|
suppressed: number;
|
|
1257
1257
|
count: number;
|
|
1258
1258
|
deletionId: string | null;
|
|
@@ -1265,13 +1265,13 @@ declare const routes$b: {
|
|
|
1265
1265
|
deleted: zod.ZodNumber;
|
|
1266
1266
|
suppressed: zod.ZodNumber;
|
|
1267
1267
|
}, "strip", zod.ZodTypeAny, {
|
|
1268
|
-
status: "
|
|
1268
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1269
1269
|
suppressed: number;
|
|
1270
1270
|
count: number;
|
|
1271
1271
|
deletionId: string | null;
|
|
1272
1272
|
deleted: number;
|
|
1273
1273
|
}, {
|
|
1274
|
-
status: "
|
|
1274
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1275
1275
|
suppressed: number;
|
|
1276
1276
|
count: number;
|
|
1277
1277
|
deletionId: string | null;
|
|
@@ -1320,13 +1320,13 @@ declare const routes$b: {
|
|
|
1320
1320
|
deleted: zod.ZodNumber;
|
|
1321
1321
|
suppressed: zod.ZodNumber;
|
|
1322
1322
|
}, "strip", zod.ZodTypeAny, {
|
|
1323
|
-
status: "
|
|
1323
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1324
1324
|
suppressed: number;
|
|
1325
1325
|
count: number;
|
|
1326
1326
|
deletionId: string | null;
|
|
1327
1327
|
deleted: number;
|
|
1328
1328
|
}, {
|
|
1329
|
-
status: "
|
|
1329
|
+
status: "failed" | "queued" | "completed" | "running";
|
|
1330
1330
|
suppressed: number;
|
|
1331
1331
|
count: number;
|
|
1332
1332
|
deletionId: string | null;
|
|
@@ -1363,8 +1363,8 @@ declare const routes$b: {
|
|
|
1363
1363
|
email: string;
|
|
1364
1364
|
tags: string[];
|
|
1365
1365
|
subscribed: boolean;
|
|
1366
|
-
createdAt: string | null;
|
|
1367
1366
|
updatedAt: string | null;
|
|
1367
|
+
createdAt: string | null;
|
|
1368
1368
|
contactId: string;
|
|
1369
1369
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1370
1370
|
unsubscribeToken: string;
|
|
@@ -1373,8 +1373,8 @@ declare const routes$b: {
|
|
|
1373
1373
|
email: string;
|
|
1374
1374
|
tags: string[];
|
|
1375
1375
|
subscribed: boolean;
|
|
1376
|
-
createdAt: string | null;
|
|
1377
1376
|
updatedAt: string | null;
|
|
1377
|
+
createdAt: string | null;
|
|
1378
1378
|
contactId: string;
|
|
1379
1379
|
unsubscribeToken: string;
|
|
1380
1380
|
name?: string | null | undefined;
|
|
@@ -1427,8 +1427,8 @@ declare const routes$b: {
|
|
|
1427
1427
|
email: string;
|
|
1428
1428
|
tags: string[];
|
|
1429
1429
|
subscribed: boolean;
|
|
1430
|
-
createdAt: string | null;
|
|
1431
1430
|
updatedAt: string | null;
|
|
1431
|
+
createdAt: string | null;
|
|
1432
1432
|
contactId: string;
|
|
1433
1433
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1434
1434
|
unsubscribeToken: string;
|
|
@@ -1437,8 +1437,8 @@ declare const routes$b: {
|
|
|
1437
1437
|
email: string;
|
|
1438
1438
|
tags: string[];
|
|
1439
1439
|
subscribed: boolean;
|
|
1440
|
-
createdAt: string | null;
|
|
1441
1440
|
updatedAt: string | null;
|
|
1441
|
+
createdAt: string | null;
|
|
1442
1442
|
contactId: string;
|
|
1443
1443
|
unsubscribeToken: string;
|
|
1444
1444
|
name?: string | null | undefined;
|
|
@@ -1490,8 +1490,8 @@ declare const routes$b: {
|
|
|
1490
1490
|
email: string;
|
|
1491
1491
|
tags: string[];
|
|
1492
1492
|
subscribed: boolean;
|
|
1493
|
-
createdAt: string | null;
|
|
1494
1493
|
updatedAt: string | null;
|
|
1494
|
+
createdAt: string | null;
|
|
1495
1495
|
contactId: string;
|
|
1496
1496
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1497
1497
|
unsubscribeToken: string;
|
|
@@ -1500,8 +1500,8 @@ declare const routes$b: {
|
|
|
1500
1500
|
email: string;
|
|
1501
1501
|
tags: string[];
|
|
1502
1502
|
subscribed: boolean;
|
|
1503
|
-
createdAt: string | null;
|
|
1504
1503
|
updatedAt: string | null;
|
|
1504
|
+
createdAt: string | null;
|
|
1505
1505
|
contactId: string;
|
|
1506
1506
|
unsubscribeToken: string;
|
|
1507
1507
|
name?: string | null | undefined;
|
|
@@ -1538,8 +1538,8 @@ declare const routes$b: {
|
|
|
1538
1538
|
email: string;
|
|
1539
1539
|
tags: string[];
|
|
1540
1540
|
subscribed: boolean;
|
|
1541
|
-
createdAt: string | null;
|
|
1542
1541
|
updatedAt: string | null;
|
|
1542
|
+
createdAt: string | null;
|
|
1543
1543
|
contactId: string;
|
|
1544
1544
|
customFields: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1545
1545
|
unsubscribeToken: string;
|
|
@@ -1548,8 +1548,8 @@ declare const routes$b: {
|
|
|
1548
1548
|
email: string;
|
|
1549
1549
|
tags: string[];
|
|
1550
1550
|
subscribed: boolean;
|
|
1551
|
-
createdAt: string | null;
|
|
1552
1551
|
updatedAt: string | null;
|
|
1552
|
+
createdAt: string | null;
|
|
1553
1553
|
contactId: string;
|
|
1554
1554
|
unsubscribeToken: string;
|
|
1555
1555
|
name?: string | null | undefined;
|
|
@@ -1578,7 +1578,7 @@ declare const routes$b: {
|
|
|
1578
1578
|
messageId: string | null;
|
|
1579
1579
|
sequenceId: string;
|
|
1580
1580
|
emailId: string;
|
|
1581
|
-
outcome: "bounced" | "complained" | "
|
|
1581
|
+
outcome: "bounced" | "complained" | "failed" | "sent" | "delivered" | null;
|
|
1582
1582
|
sequenceTitle: string;
|
|
1583
1583
|
sequenceType: string;
|
|
1584
1584
|
}[]>;
|
|
@@ -1716,13 +1716,13 @@ declare const routes$b: {
|
|
|
1716
1716
|
path: "/contacts/:contactId";
|
|
1717
1717
|
};
|
|
1718
1718
|
};
|
|
1719
|
-
type Contact = Ok<typeof routes$
|
|
1720
|
-
type CreateContactInput = Body<typeof routes$
|
|
1721
|
-
type UpdateContactInput = Body<typeof routes$
|
|
1722
|
-
type ListContactsQuery = Query<typeof routes$
|
|
1723
|
-
type ContactDelivery = Ok<typeof routes$
|
|
1724
|
-
type ContactEvent = Ok<typeof routes$
|
|
1725
|
-
type ListContactEventsQuery = Query<typeof routes$
|
|
1719
|
+
type Contact = Ok<typeof routes$c.get>;
|
|
1720
|
+
type CreateContactInput = Body<typeof routes$c.create>;
|
|
1721
|
+
type UpdateContactInput = Body<typeof routes$c.update>;
|
|
1722
|
+
type ListContactsQuery = Query<typeof routes$c.list>;
|
|
1723
|
+
type ContactDelivery = Ok<typeof routes$c.deliveries>[number];
|
|
1724
|
+
type ContactEvent = Ok<typeof routes$c.events>["items"][number];
|
|
1725
|
+
type ListContactEventsQuery = Query<typeof routes$c.events>;
|
|
1726
1726
|
declare class Contacts {
|
|
1727
1727
|
private readonly http;
|
|
1728
1728
|
constructor(http: HttpClient);
|
|
@@ -1734,7 +1734,7 @@ declare class Contacts {
|
|
|
1734
1734
|
* here don't fire `tag:added`.
|
|
1735
1735
|
*/
|
|
1736
1736
|
create(input: CreateContactInput): Promise<Contact>;
|
|
1737
|
-
list(query?: ListContactsQuery): Promise<Ok<typeof routes$
|
|
1737
|
+
list(query?: ListContactsQuery): Promise<Ok<typeof routes$c.list>>;
|
|
1738
1738
|
/** Iterates every contact matching `query`, fetching pages lazily. */
|
|
1739
1739
|
listAll(query?: Omit<ListContactsQuery, "offset">): AsyncGenerator<Contact, void, undefined>;
|
|
1740
1740
|
get(contactId: string): Promise<Contact>;
|
|
@@ -1746,10 +1746,10 @@ declare class Contacts {
|
|
|
1746
1746
|
deliveries(contactId: string): Promise<ContactDelivery[]>;
|
|
1747
1747
|
/** Custom events received for this contact, newest first, with the
|
|
1748
1748
|
* sequences each one started. */
|
|
1749
|
-
events(contactId: string, query?: ListContactEventsQuery): Promise<Ok<typeof routes$
|
|
1749
|
+
events(contactId: string, query?: ListContactEventsQuery): Promise<Ok<typeof routes$c.events>>;
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
|
-
declare const routes$
|
|
1752
|
+
declare const routes$b: {
|
|
1753
1753
|
list: {
|
|
1754
1754
|
query: zod.ZodObject<{
|
|
1755
1755
|
espId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1762,7 +1762,7 @@ declare const routes$a: {
|
|
|
1762
1762
|
}, "strip", zod.ZodTypeAny, {
|
|
1763
1763
|
espId?: string | undefined;
|
|
1764
1764
|
deliverySourceType?: "organization" | "team" | undefined;
|
|
1765
|
-
eventType?: "hard_bounce" | "complaint" | "
|
|
1765
|
+
eventType?: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected" | undefined;
|
|
1766
1766
|
createdAfter?: number | undefined;
|
|
1767
1767
|
createdBefore?: number | undefined;
|
|
1768
1768
|
offset?: number | undefined;
|
|
@@ -1770,7 +1770,7 @@ declare const routes$a: {
|
|
|
1770
1770
|
}, {
|
|
1771
1771
|
espId?: string | undefined;
|
|
1772
1772
|
deliverySourceType?: "organization" | "team" | undefined;
|
|
1773
|
-
eventType?: "hard_bounce" | "complaint" | "
|
|
1773
|
+
eventType?: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected" | undefined;
|
|
1774
1774
|
createdAfter?: number | undefined;
|
|
1775
1775
|
createdBefore?: number | undefined;
|
|
1776
1776
|
offset?: number | undefined;
|
|
@@ -1804,13 +1804,13 @@ declare const routes$a: {
|
|
|
1804
1804
|
deliverySourceType: "organization" | "team" | null;
|
|
1805
1805
|
messageId: string | null;
|
|
1806
1806
|
recipientEmail: string | null;
|
|
1807
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1807
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1808
1808
|
occurredAt: string;
|
|
1809
1809
|
receivedAt: string;
|
|
1810
|
+
reason?: string | null | undefined;
|
|
1810
1811
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1811
1812
|
smtpCode?: number | null | undefined;
|
|
1812
1813
|
enhancedStatusCode?: string | null | undefined;
|
|
1813
|
-
reason?: string | null | undefined;
|
|
1814
1814
|
}, {
|
|
1815
1815
|
espId: string | null;
|
|
1816
1816
|
eventId: string;
|
|
@@ -1818,13 +1818,13 @@ declare const routes$a: {
|
|
|
1818
1818
|
deliverySourceType: "organization" | "team" | null;
|
|
1819
1819
|
messageId: string | null;
|
|
1820
1820
|
recipientEmail: string | null;
|
|
1821
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1821
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1822
1822
|
occurredAt: string;
|
|
1823
1823
|
receivedAt: string;
|
|
1824
|
+
reason?: string | null | undefined;
|
|
1824
1825
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1825
1826
|
smtpCode?: number | null | undefined;
|
|
1826
1827
|
enhancedStatusCode?: string | null | undefined;
|
|
1827
|
-
reason?: string | null | undefined;
|
|
1828
1828
|
}>, "many">;
|
|
1829
1829
|
total: zod.ZodNumber;
|
|
1830
1830
|
}, "strip", zod.ZodTypeAny, {
|
|
@@ -1835,13 +1835,13 @@ declare const routes$a: {
|
|
|
1835
1835
|
deliverySourceType: "organization" | "team" | null;
|
|
1836
1836
|
messageId: string | null;
|
|
1837
1837
|
recipientEmail: string | null;
|
|
1838
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1838
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1839
1839
|
occurredAt: string;
|
|
1840
1840
|
receivedAt: string;
|
|
1841
|
+
reason?: string | null | undefined;
|
|
1841
1842
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1842
1843
|
smtpCode?: number | null | undefined;
|
|
1843
1844
|
enhancedStatusCode?: string | null | undefined;
|
|
1844
|
-
reason?: string | null | undefined;
|
|
1845
1845
|
}[];
|
|
1846
1846
|
total: number;
|
|
1847
1847
|
}, {
|
|
@@ -1852,13 +1852,13 @@ declare const routes$a: {
|
|
|
1852
1852
|
deliverySourceType: "organization" | "team" | null;
|
|
1853
1853
|
messageId: string | null;
|
|
1854
1854
|
recipientEmail: string | null;
|
|
1855
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1855
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1856
1856
|
occurredAt: string;
|
|
1857
1857
|
receivedAt: string;
|
|
1858
|
+
reason?: string | null | undefined;
|
|
1858
1859
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1859
1860
|
smtpCode?: number | null | undefined;
|
|
1860
1861
|
enhancedStatusCode?: string | null | undefined;
|
|
1861
|
-
reason?: string | null | undefined;
|
|
1862
1862
|
}[];
|
|
1863
1863
|
total: number;
|
|
1864
1864
|
}>;
|
|
@@ -1893,13 +1893,13 @@ declare const routes$a: {
|
|
|
1893
1893
|
deliverySourceType: "organization" | "team" | null;
|
|
1894
1894
|
messageId: string | null;
|
|
1895
1895
|
recipientEmail: string | null;
|
|
1896
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1896
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1897
1897
|
occurredAt: string;
|
|
1898
1898
|
receivedAt: string;
|
|
1899
|
+
reason?: string | null | undefined;
|
|
1899
1900
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1900
1901
|
smtpCode?: number | null | undefined;
|
|
1901
1902
|
enhancedStatusCode?: string | null | undefined;
|
|
1902
|
-
reason?: string | null | undefined;
|
|
1903
1903
|
}, {
|
|
1904
1904
|
espId: string | null;
|
|
1905
1905
|
eventId: string;
|
|
@@ -1907,13 +1907,13 @@ declare const routes$a: {
|
|
|
1907
1907
|
deliverySourceType: "organization" | "team" | null;
|
|
1908
1908
|
messageId: string | null;
|
|
1909
1909
|
recipientEmail: string | null;
|
|
1910
|
-
eventType: "hard_bounce" | "complaint" | "
|
|
1910
|
+
eventType: "hard_bounce" | "complaint" | "failed" | "unknown" | "accepted" | "delivered" | "delayed" | "soft_bounce" | "suppressed" | "rejected";
|
|
1911
1911
|
occurredAt: string;
|
|
1912
1912
|
receivedAt: string;
|
|
1913
|
+
reason?: string | null | undefined;
|
|
1913
1914
|
bounceClass?: "permanent" | "transient" | "undetermined" | null | undefined;
|
|
1914
1915
|
smtpCode?: number | null | undefined;
|
|
1915
1916
|
enhancedStatusCode?: string | null | undefined;
|
|
1916
|
-
reason?: string | null | undefined;
|
|
1917
1917
|
}>;
|
|
1918
1918
|
404: zod.ZodObject<{
|
|
1919
1919
|
error: zod.ZodString;
|
|
@@ -1926,18 +1926,18 @@ declare const routes$a: {
|
|
|
1926
1926
|
path: "/delivery-events/:eventId";
|
|
1927
1927
|
};
|
|
1928
1928
|
};
|
|
1929
|
-
type DeliveryEvent = Ok<typeof routes$
|
|
1930
|
-
type ListDeliveryEventsQuery = Query<typeof routes$
|
|
1929
|
+
type DeliveryEvent = Ok<typeof routes$b.get>;
|
|
1930
|
+
type ListDeliveryEventsQuery = Query<typeof routes$b.list>;
|
|
1931
1931
|
/** Normalized delivery history (delivered, bounced, complained, …). */
|
|
1932
1932
|
declare class DeliveryEvents {
|
|
1933
1933
|
private readonly http;
|
|
1934
1934
|
constructor(http: HttpClient);
|
|
1935
|
-
list(query?: ListDeliveryEventsQuery): Promise<Ok<typeof routes$
|
|
1935
|
+
list(query?: ListDeliveryEventsQuery): Promise<Ok<typeof routes$b.list>>;
|
|
1936
1936
|
listAll(query?: Omit<ListDeliveryEventsQuery, "offset">): AsyncGenerator<DeliveryEvent, void, undefined>;
|
|
1937
1937
|
get(eventId: string): Promise<DeliveryEvent>;
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
|
-
declare const routes$
|
|
1940
|
+
declare const routes$a: {
|
|
1941
1941
|
send: {
|
|
1942
1942
|
summary: "Send a transactional email";
|
|
1943
1943
|
description: "Requires a postal address in the team's general settings. `templateId` must identify a team-owned transactional template; marketing templates return 422 template_not_transactional. Unguarded Liquid variables must be supplied in `variables`, or the API returns 422 missing_template_variables without creating a row or queue job. Inline `html` is sent verbatim without Liquid rendering. address, unsubscribe_link, and subscriber are marketing-only server-owned values and are unavailable to transactional templates.";
|
|
@@ -1978,9 +1978,6 @@ declare const routes$9: {
|
|
|
1978
1978
|
to: string;
|
|
1979
1979
|
subject: string;
|
|
1980
1980
|
headers?: Record<string, string> | undefined;
|
|
1981
|
-
idempotencyKey?: string | undefined;
|
|
1982
|
-
text?: string | undefined;
|
|
1983
|
-
html?: string | undefined;
|
|
1984
1981
|
fromName?: string | undefined;
|
|
1985
1982
|
replyTo?: string | undefined;
|
|
1986
1983
|
deliverySource?: {
|
|
@@ -1989,6 +1986,9 @@ declare const routes$9: {
|
|
|
1989
1986
|
type: "team";
|
|
1990
1987
|
espId?: string | undefined;
|
|
1991
1988
|
} | undefined;
|
|
1989
|
+
idempotencyKey?: string | undefined;
|
|
1990
|
+
text?: string | undefined;
|
|
1991
|
+
html?: string | undefined;
|
|
1992
1992
|
templateId?: string | undefined;
|
|
1993
1993
|
variables?: Record<string, any> | undefined;
|
|
1994
1994
|
trackOpens?: boolean | undefined;
|
|
@@ -1997,9 +1997,6 @@ declare const routes$9: {
|
|
|
1997
1997
|
to: string;
|
|
1998
1998
|
subject: string;
|
|
1999
1999
|
headers?: Record<string, string> | undefined;
|
|
2000
|
-
idempotencyKey?: string | undefined;
|
|
2001
|
-
text?: string | undefined;
|
|
2002
|
-
html?: string | undefined;
|
|
2003
2000
|
fromName?: string | undefined;
|
|
2004
2001
|
replyTo?: string | undefined;
|
|
2005
2002
|
deliverySource?: {
|
|
@@ -2008,6 +2005,9 @@ declare const routes$9: {
|
|
|
2008
2005
|
type: "team";
|
|
2009
2006
|
espId?: string | undefined;
|
|
2010
2007
|
} | undefined;
|
|
2008
|
+
idempotencyKey?: string | undefined;
|
|
2009
|
+
text?: string | undefined;
|
|
2010
|
+
html?: string | undefined;
|
|
2011
2011
|
templateId?: string | undefined;
|
|
2012
2012
|
variables?: Record<string, any> | undefined;
|
|
2013
2013
|
trackOpens?: boolean | undefined;
|
|
@@ -2016,9 +2016,6 @@ declare const routes$9: {
|
|
|
2016
2016
|
to: string;
|
|
2017
2017
|
subject: string;
|
|
2018
2018
|
headers?: Record<string, string> | undefined;
|
|
2019
|
-
idempotencyKey?: string | undefined;
|
|
2020
|
-
text?: string | undefined;
|
|
2021
|
-
html?: string | undefined;
|
|
2022
2019
|
fromName?: string | undefined;
|
|
2023
2020
|
replyTo?: string | undefined;
|
|
2024
2021
|
deliverySource?: {
|
|
@@ -2027,6 +2024,9 @@ declare const routes$9: {
|
|
|
2027
2024
|
type: "team";
|
|
2028
2025
|
espId?: string | undefined;
|
|
2029
2026
|
} | undefined;
|
|
2027
|
+
idempotencyKey?: string | undefined;
|
|
2028
|
+
text?: string | undefined;
|
|
2029
|
+
html?: string | undefined;
|
|
2030
2030
|
templateId?: string | undefined;
|
|
2031
2031
|
variables?: Record<string, any> | undefined;
|
|
2032
2032
|
trackOpens?: boolean | undefined;
|
|
@@ -2035,9 +2035,6 @@ declare const routes$9: {
|
|
|
2035
2035
|
to: string;
|
|
2036
2036
|
subject: string;
|
|
2037
2037
|
headers?: Record<string, string> | undefined;
|
|
2038
|
-
idempotencyKey?: string | undefined;
|
|
2039
|
-
text?: string | undefined;
|
|
2040
|
-
html?: string | undefined;
|
|
2041
2038
|
fromName?: string | undefined;
|
|
2042
2039
|
replyTo?: string | undefined;
|
|
2043
2040
|
deliverySource?: {
|
|
@@ -2046,6 +2043,9 @@ declare const routes$9: {
|
|
|
2046
2043
|
type: "team";
|
|
2047
2044
|
espId?: string | undefined;
|
|
2048
2045
|
} | undefined;
|
|
2046
|
+
idempotencyKey?: string | undefined;
|
|
2047
|
+
text?: string | undefined;
|
|
2048
|
+
html?: string | undefined;
|
|
2049
2049
|
templateId?: string | undefined;
|
|
2050
2050
|
variables?: Record<string, any> | undefined;
|
|
2051
2051
|
trackOpens?: boolean | undefined;
|
|
@@ -2054,9 +2054,6 @@ declare const routes$9: {
|
|
|
2054
2054
|
to: string;
|
|
2055
2055
|
subject: string;
|
|
2056
2056
|
headers?: Record<string, string> | undefined;
|
|
2057
|
-
idempotencyKey?: string | undefined;
|
|
2058
|
-
text?: string | undefined;
|
|
2059
|
-
html?: string | undefined;
|
|
2060
2057
|
fromName?: string | undefined;
|
|
2061
2058
|
replyTo?: string | undefined;
|
|
2062
2059
|
deliverySource?: {
|
|
@@ -2065,6 +2062,9 @@ declare const routes$9: {
|
|
|
2065
2062
|
type: "team";
|
|
2066
2063
|
espId?: string | undefined;
|
|
2067
2064
|
} | undefined;
|
|
2065
|
+
idempotencyKey?: string | undefined;
|
|
2066
|
+
text?: string | undefined;
|
|
2067
|
+
html?: string | undefined;
|
|
2068
2068
|
templateId?: string | undefined;
|
|
2069
2069
|
variables?: Record<string, any> | undefined;
|
|
2070
2070
|
trackOpens?: boolean | undefined;
|
|
@@ -2073,9 +2073,6 @@ declare const routes$9: {
|
|
|
2073
2073
|
to: string;
|
|
2074
2074
|
subject: string;
|
|
2075
2075
|
headers?: Record<string, string> | undefined;
|
|
2076
|
-
idempotencyKey?: string | undefined;
|
|
2077
|
-
text?: string | undefined;
|
|
2078
|
-
html?: string | undefined;
|
|
2079
2076
|
fromName?: string | undefined;
|
|
2080
2077
|
replyTo?: string | undefined;
|
|
2081
2078
|
deliverySource?: {
|
|
@@ -2084,6 +2081,9 @@ declare const routes$9: {
|
|
|
2084
2081
|
type: "team";
|
|
2085
2082
|
espId?: string | undefined;
|
|
2086
2083
|
} | undefined;
|
|
2084
|
+
idempotencyKey?: string | undefined;
|
|
2085
|
+
text?: string | undefined;
|
|
2086
|
+
html?: string | undefined;
|
|
2087
2087
|
templateId?: string | undefined;
|
|
2088
2088
|
variables?: Record<string, any> | undefined;
|
|
2089
2089
|
trackOpens?: boolean | undefined;
|
|
@@ -2108,10 +2108,10 @@ declare const routes$9: {
|
|
|
2108
2108
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
2109
2109
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
2110
2110
|
}, "status" | "txeId">, "strip", zod.ZodTypeAny, {
|
|
2111
|
-
status: "bounced" | "
|
|
2111
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2112
2112
|
txeId: string;
|
|
2113
2113
|
}, {
|
|
2114
|
-
status: "bounced" | "
|
|
2114
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2115
2115
|
txeId: string;
|
|
2116
2116
|
}>;
|
|
2117
2117
|
400: zod.ZodObject<{
|
|
@@ -2196,11 +2196,11 @@ declare const routes$9: {
|
|
|
2196
2196
|
text: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2197
2197
|
}, "strip", zod.ZodTypeAny, {
|
|
2198
2198
|
error: string | null;
|
|
2199
|
-
status: "bounced" | "
|
|
2200
|
-
createdAt: string | null;
|
|
2199
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2201
2200
|
updatedAt: string | null;
|
|
2202
|
-
|
|
2201
|
+
createdAt: string | null;
|
|
2203
2202
|
replyTo: string | null;
|
|
2203
|
+
html: string | null;
|
|
2204
2204
|
from: string | null;
|
|
2205
2205
|
to: string;
|
|
2206
2206
|
subject: string;
|
|
@@ -2215,11 +2215,11 @@ declare const routes$9: {
|
|
|
2215
2215
|
text?: string | null | undefined;
|
|
2216
2216
|
}, {
|
|
2217
2217
|
error: string | null;
|
|
2218
|
-
status: "bounced" | "
|
|
2219
|
-
createdAt: string | null;
|
|
2218
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2220
2219
|
updatedAt: string | null;
|
|
2221
|
-
|
|
2220
|
+
createdAt: string | null;
|
|
2222
2221
|
replyTo: string | null;
|
|
2222
|
+
html: string | null;
|
|
2223
2223
|
from: string | null;
|
|
2224
2224
|
to: string;
|
|
2225
2225
|
subject: string;
|
|
@@ -2251,13 +2251,13 @@ declare const routes$9: {
|
|
|
2251
2251
|
offset: zod.ZodOptional<zod.ZodNumber>;
|
|
2252
2252
|
itemsPerPage: zod.ZodOptional<zod.ZodNumber>;
|
|
2253
2253
|
}, "strip", zod.ZodTypeAny, {
|
|
2254
|
-
status?: "bounced" | "
|
|
2254
|
+
status?: "bounced" | "failed" | "sent" | "queued" | "suppressed" | undefined;
|
|
2255
2255
|
createdAfter?: number | undefined;
|
|
2256
2256
|
createdBefore?: number | undefined;
|
|
2257
2257
|
offset?: number | undefined;
|
|
2258
2258
|
itemsPerPage?: number | undefined;
|
|
2259
2259
|
}, {
|
|
2260
|
-
status?: "bounced" | "
|
|
2260
|
+
status?: "bounced" | "failed" | "sent" | "queued" | "suppressed" | undefined;
|
|
2261
2261
|
createdAfter?: number | undefined;
|
|
2262
2262
|
createdBefore?: number | undefined;
|
|
2263
2263
|
offset?: number | undefined;
|
|
@@ -2289,9 +2289,9 @@ declare const routes$9: {
|
|
|
2289
2289
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
2290
2290
|
}, "strip", zod.ZodTypeAny, {
|
|
2291
2291
|
error: string | null;
|
|
2292
|
-
status: "bounced" | "
|
|
2293
|
-
createdAt: string | null;
|
|
2292
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2294
2293
|
updatedAt: string | null;
|
|
2294
|
+
createdAt: string | null;
|
|
2295
2295
|
replyTo: string | null;
|
|
2296
2296
|
from: string | null;
|
|
2297
2297
|
to: string;
|
|
@@ -2306,9 +2306,9 @@ declare const routes$9: {
|
|
|
2306
2306
|
clickCount: number;
|
|
2307
2307
|
}, {
|
|
2308
2308
|
error: string | null;
|
|
2309
|
-
status: "bounced" | "
|
|
2310
|
-
createdAt: string | null;
|
|
2309
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2311
2310
|
updatedAt: string | null;
|
|
2311
|
+
createdAt: string | null;
|
|
2312
2312
|
replyTo: string | null;
|
|
2313
2313
|
from: string | null;
|
|
2314
2314
|
to: string;
|
|
@@ -2326,9 +2326,9 @@ declare const routes$9: {
|
|
|
2326
2326
|
}, "strip", zod.ZodTypeAny, {
|
|
2327
2327
|
items: {
|
|
2328
2328
|
error: string | null;
|
|
2329
|
-
status: "bounced" | "
|
|
2330
|
-
createdAt: string | null;
|
|
2329
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2331
2330
|
updatedAt: string | null;
|
|
2331
|
+
createdAt: string | null;
|
|
2332
2332
|
replyTo: string | null;
|
|
2333
2333
|
from: string | null;
|
|
2334
2334
|
to: string;
|
|
@@ -2346,9 +2346,9 @@ declare const routes$9: {
|
|
|
2346
2346
|
}, {
|
|
2347
2347
|
items: {
|
|
2348
2348
|
error: string | null;
|
|
2349
|
-
status: "bounced" | "
|
|
2350
|
-
createdAt: string | null;
|
|
2349
|
+
status: "bounced" | "failed" | "sent" | "queued" | "suppressed";
|
|
2351
2350
|
updatedAt: string | null;
|
|
2351
|
+
createdAt: string | null;
|
|
2352
2352
|
replyTo: string | null;
|
|
2353
2353
|
from: string | null;
|
|
2354
2354
|
to: string;
|
|
@@ -2368,11 +2368,11 @@ declare const routes$9: {
|
|
|
2368
2368
|
path: "/emails";
|
|
2369
2369
|
};
|
|
2370
2370
|
};
|
|
2371
|
-
type SendEmailInput = Body<typeof routes$
|
|
2372
|
-
type SendEmailResponse = Ok<typeof routes$
|
|
2373
|
-
type TransactionalEmail = Ok<typeof routes$
|
|
2374
|
-
type TransactionalEmailDetail = Ok<typeof routes$
|
|
2375
|
-
type ListEmailsQuery = Query<typeof routes$
|
|
2371
|
+
type SendEmailInput = Body<typeof routes$a.send>;
|
|
2372
|
+
type SendEmailResponse = Ok<typeof routes$a.send>;
|
|
2373
|
+
type TransactionalEmail = Ok<typeof routes$a.list>["items"][number];
|
|
2374
|
+
type TransactionalEmailDetail = Ok<typeof routes$a.get>;
|
|
2375
|
+
type ListEmailsQuery = Query<typeof routes$a.list>;
|
|
2376
2376
|
/** Transactional (single, API-triggered) emails. */
|
|
2377
2377
|
declare class Emails {
|
|
2378
2378
|
private readonly http;
|
|
@@ -2384,11 +2384,11 @@ declare class Emails {
|
|
|
2384
2384
|
*/
|
|
2385
2385
|
send(input: SendEmailInput): Promise<SendEmailResponse>;
|
|
2386
2386
|
get(txeId: string): Promise<TransactionalEmailDetail>;
|
|
2387
|
-
list(query?: ListEmailsQuery): Promise<Ok<typeof routes$
|
|
2387
|
+
list(query?: ListEmailsQuery): Promise<Ok<typeof routes$a.list>>;
|
|
2388
2388
|
listAll(query?: Omit<ListEmailsQuery, "offset">): AsyncGenerator<TransactionalEmail, void, undefined>;
|
|
2389
2389
|
}
|
|
2390
2390
|
|
|
2391
|
-
declare const routes$
|
|
2391
|
+
declare const routes$9: {
|
|
2392
2392
|
track: {
|
|
2393
2393
|
summary: "Track a custom event";
|
|
2394
2394
|
description: "Stores the event, then starts every active sequence whose trigger is `event:custom` with this name and whose filters match. An unknown email creates the contact unless `createContact` is false (then 404). An unknown `contactId` is always 404. The same `idempotencyKey` within 30 days returns the original event with `duplicate: true`. Events with `backfill: true`, or an `occurredAt` more than 72 hours old, are stored but never start a sequence.";
|
|
@@ -2967,18 +2967,18 @@ declare const routes$8: {
|
|
|
2967
2967
|
path: "/events/definitions/:name";
|
|
2968
2968
|
};
|
|
2969
2969
|
};
|
|
2970
|
-
type TrackEventInput = Body<typeof routes$
|
|
2971
|
-
type TrackEventResponse = Ok<typeof routes$
|
|
2972
|
-
type EventDefinition = Ok<typeof routes$
|
|
2973
|
-
type EventDefinitionDetail = Ok<typeof routes$
|
|
2974
|
-
type CreateEventDefinitionInput = Body<typeof routes$
|
|
2975
|
-
type UpdateEventDefinitionInput = Body<typeof routes$
|
|
2970
|
+
type TrackEventInput = Body<typeof routes$9.track>;
|
|
2971
|
+
type TrackEventResponse = Ok<typeof routes$9.track>;
|
|
2972
|
+
type EventDefinition = Ok<typeof routes$9.definitions>["items"][number];
|
|
2973
|
+
type EventDefinitionDetail = Ok<typeof routes$9.definition>;
|
|
2974
|
+
type CreateEventDefinitionInput = Body<typeof routes$9.createDefinition>;
|
|
2975
|
+
type UpdateEventDefinitionInput = Body<typeof routes$9.updateDefinition>;
|
|
2976
2976
|
/** The team's list of events: registered on first receipt, or by hand so
|
|
2977
2977
|
* sequences can be built before the first event is sent. */
|
|
2978
2978
|
declare class EventDefinitions {
|
|
2979
2979
|
private readonly http;
|
|
2980
2980
|
constructor(http: HttpClient);
|
|
2981
|
-
list(): Promise<Ok<typeof routes$
|
|
2981
|
+
list(): Promise<Ok<typeof routes$9.definitions>>;
|
|
2982
2982
|
/** One event with its last received payload. Names are case-sensitive. */
|
|
2983
2983
|
get(name: string): Promise<EventDefinitionDetail>;
|
|
2984
2984
|
create(input: CreateEventDefinitionInput): Promise<EventDefinitionDetail>;
|
|
@@ -3010,151 +3010,525 @@ declare class Events {
|
|
|
3010
3010
|
track(input: TrackEventInput): Promise<TrackEventResponse>;
|
|
3011
3011
|
}
|
|
3012
3012
|
|
|
3013
|
-
declare const routes$
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
rangeDays: zod.ZodOptional<zod.ZodEffects<zod.ZodNumber, number, number>>;
|
|
3017
|
-
}, "strip", zod.ZodTypeAny, {
|
|
3018
|
-
rangeDays?: number | undefined;
|
|
3019
|
-
}, {
|
|
3020
|
-
rangeDays?: number | undefined;
|
|
3021
|
-
}>;
|
|
3022
|
-
summary: "Get team overview metrics for a delivery activity window";
|
|
3023
|
-
description: "Use `rangeDays` (1, 3, 7, or 30; default 7) to filter transactional delivery activity and scheduled broadcasts.";
|
|
3013
|
+
declare const routes$8: {
|
|
3014
|
+
list: {
|
|
3015
|
+
summary: "List signup forms";
|
|
3024
3016
|
metadata: {
|
|
3025
3017
|
tag: string;
|
|
3026
3018
|
};
|
|
3027
3019
|
method: "GET";
|
|
3028
3020
|
responses: {
|
|
3029
3021
|
200: zod.ZodObject<{
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
sent: number;
|
|
3041
|
-
queued: number;
|
|
3042
|
-
failed: number;
|
|
3043
|
-
}, {
|
|
3044
|
-
bounced: number;
|
|
3045
|
-
sent: number;
|
|
3046
|
-
queued: number;
|
|
3047
|
-
failed: number;
|
|
3048
|
-
}>;
|
|
3049
|
-
quota: zod.ZodObject<{
|
|
3050
|
-
dailyUsed: zod.ZodNumber;
|
|
3051
|
-
dailyLimit: zod.ZodNumber;
|
|
3052
|
-
monthlyUsed: zod.ZodNumber;
|
|
3053
|
-
monthlyLimit: zod.ZodNumber;
|
|
3022
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
3023
|
+
formId: zod.ZodString;
|
|
3024
|
+
name: zod.ZodString;
|
|
3025
|
+
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
3026
|
+
doubleOptIn: zod.ZodBoolean;
|
|
3027
|
+
redirectUrl: zod.ZodNullable<zod.ZodString>;
|
|
3028
|
+
url: zod.ZodString;
|
|
3029
|
+
sendingIssue: zod.ZodNullable<zod.ZodString>;
|
|
3030
|
+
createdAt: zod.ZodString;
|
|
3031
|
+
updatedAt: zod.ZodString;
|
|
3054
3032
|
}, "strip", zod.ZodTypeAny, {
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3033
|
+
name: string;
|
|
3034
|
+
tags: string[];
|
|
3035
|
+
updatedAt: string;
|
|
3036
|
+
createdAt: string;
|
|
3037
|
+
url: string;
|
|
3038
|
+
formId: string;
|
|
3039
|
+
doubleOptIn: boolean;
|
|
3040
|
+
redirectUrl: string | null;
|
|
3041
|
+
sendingIssue: string | null;
|
|
3059
3042
|
}, {
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3043
|
+
name: string;
|
|
3044
|
+
tags: string[];
|
|
3045
|
+
updatedAt: string;
|
|
3046
|
+
createdAt: string;
|
|
3047
|
+
url: string;
|
|
3048
|
+
formId: string;
|
|
3049
|
+
doubleOptIn: boolean;
|
|
3050
|
+
redirectUrl: string | null;
|
|
3051
|
+
sendingIssue: string | null;
|
|
3052
|
+
}>, "many">;
|
|
3065
3053
|
}, "strip", zod.ZodTypeAny, {
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
monthlyLimit: number;
|
|
3078
|
-
dailyUsed: number;
|
|
3079
|
-
monthlyUsed: number;
|
|
3080
|
-
};
|
|
3054
|
+
items: {
|
|
3055
|
+
name: string;
|
|
3056
|
+
tags: string[];
|
|
3057
|
+
updatedAt: string;
|
|
3058
|
+
createdAt: string;
|
|
3059
|
+
url: string;
|
|
3060
|
+
formId: string;
|
|
3061
|
+
doubleOptIn: boolean;
|
|
3062
|
+
redirectUrl: string | null;
|
|
3063
|
+
sendingIssue: string | null;
|
|
3064
|
+
}[];
|
|
3081
3065
|
}, {
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
monthlyLimit: number;
|
|
3094
|
-
dailyUsed: number;
|
|
3095
|
-
monthlyUsed: number;
|
|
3096
|
-
};
|
|
3066
|
+
items: {
|
|
3067
|
+
name: string;
|
|
3068
|
+
tags: string[];
|
|
3069
|
+
updatedAt: string;
|
|
3070
|
+
createdAt: string;
|
|
3071
|
+
url: string;
|
|
3072
|
+
formId: string;
|
|
3073
|
+
doubleOptIn: boolean;
|
|
3074
|
+
redirectUrl: string | null;
|
|
3075
|
+
sendingIssue: string | null;
|
|
3076
|
+
}[];
|
|
3097
3077
|
}>;
|
|
3098
3078
|
};
|
|
3099
|
-
path: "/
|
|
3079
|
+
path: "/forms";
|
|
3100
3080
|
};
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
type Overview = Ok<typeof routes$7.get>;
|
|
3105
|
-
type OverviewQuery = Query<typeof routes$7.get>;
|
|
3106
|
-
declare class OverviewResource {
|
|
3107
|
-
private readonly http;
|
|
3108
|
-
constructor(http: HttpClient);
|
|
3109
|
-
get(query?: OverviewQuery): Promise<Overview>;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
declare const routes$6: {
|
|
3113
|
-
getOrganization: {
|
|
3114
|
-
summary: "Get the organization bound to the calling API key";
|
|
3115
|
-
description: "Returns only the organization associated with the authenticated organization API key. Requires the organization:read scope; the organization cannot be selected in the request.";
|
|
3081
|
+
create: {
|
|
3082
|
+
summary: "Create a signup form";
|
|
3083
|
+
description: "A public signup form for the team. People subscribe on its hosted page (`url`) or through an HTML form on your site that posts `email` (and optionally `name`) to the same URL, as a form post or JSON. Double opt-in (the default) emails a confirmation link through the team's delivery source and subscribes only once it is clicked, so it needs a sending mailbox: without one, creating a double opt-in form (or switching a form to it) fails with 422 `confirmation_sender_unavailable`, and an existing form's `sendingIssue` says why submissions are failing; single opt-in never resubscribes someone who unsubscribed. Submissions are rate limited per IP and per form, and suppressed or disposable addresses are dropped. A new subscriber triggers `subscriber:added` sequences.";
|
|
3116
3084
|
metadata: {
|
|
3117
3085
|
tag: string;
|
|
3118
3086
|
};
|
|
3119
|
-
method: "
|
|
3087
|
+
method: "POST";
|
|
3088
|
+
body: zod.ZodObject<{
|
|
3089
|
+
name: zod.ZodString;
|
|
3090
|
+
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
3091
|
+
doubleOptIn: zod.ZodOptional<zod.ZodBoolean>;
|
|
3092
|
+
redirectUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodEffects<zod.ZodString, string, string>>>;
|
|
3093
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3094
|
+
name: string;
|
|
3095
|
+
tags?: string[] | undefined;
|
|
3096
|
+
doubleOptIn?: boolean | undefined;
|
|
3097
|
+
redirectUrl?: string | null | undefined;
|
|
3098
|
+
}, {
|
|
3099
|
+
name: string;
|
|
3100
|
+
tags?: string[] | undefined;
|
|
3101
|
+
doubleOptIn?: boolean | undefined;
|
|
3102
|
+
redirectUrl?: string | null | undefined;
|
|
3103
|
+
}>;
|
|
3120
3104
|
responses: {
|
|
3121
|
-
|
|
3122
|
-
|
|
3105
|
+
201: zod.ZodObject<{
|
|
3106
|
+
formId: zod.ZodString;
|
|
3123
3107
|
name: zod.ZodString;
|
|
3124
|
-
|
|
3108
|
+
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
3109
|
+
doubleOptIn: zod.ZodBoolean;
|
|
3110
|
+
redirectUrl: zod.ZodNullable<zod.ZodString>;
|
|
3111
|
+
url: zod.ZodString;
|
|
3112
|
+
sendingIssue: zod.ZodNullable<zod.ZodString>;
|
|
3125
3113
|
createdAt: zod.ZodString;
|
|
3126
3114
|
updatedAt: zod.ZodString;
|
|
3127
3115
|
}, "strip", zod.ZodTypeAny, {
|
|
3128
|
-
status: "active" | "pending_payment" | "suspended" | "abandoned" | "closed";
|
|
3129
3116
|
name: string;
|
|
3130
|
-
|
|
3131
|
-
createdAt: string;
|
|
3117
|
+
tags: string[];
|
|
3132
3118
|
updatedAt: string;
|
|
3119
|
+
createdAt: string;
|
|
3120
|
+
url: string;
|
|
3121
|
+
formId: string;
|
|
3122
|
+
doubleOptIn: boolean;
|
|
3123
|
+
redirectUrl: string | null;
|
|
3124
|
+
sendingIssue: string | null;
|
|
3133
3125
|
}, {
|
|
3134
|
-
status: "active" | "pending_payment" | "suspended" | "abandoned" | "closed";
|
|
3135
3126
|
name: string;
|
|
3136
|
-
|
|
3137
|
-
createdAt: string;
|
|
3127
|
+
tags: string[];
|
|
3138
3128
|
updatedAt: string;
|
|
3129
|
+
createdAt: string;
|
|
3130
|
+
url: string;
|
|
3131
|
+
formId: string;
|
|
3132
|
+
doubleOptIn: boolean;
|
|
3133
|
+
redirectUrl: string | null;
|
|
3134
|
+
sendingIssue: string | null;
|
|
3139
3135
|
}>;
|
|
3140
|
-
|
|
3136
|
+
400: zod.ZodObject<{
|
|
3141
3137
|
error: zod.ZodString;
|
|
3142
3138
|
}, "strip", zod.ZodTypeAny, {
|
|
3143
3139
|
error: string;
|
|
3144
3140
|
}, {
|
|
3145
3141
|
error: string;
|
|
3146
3142
|
}>;
|
|
3147
|
-
|
|
3148
|
-
error: zod.
|
|
3143
|
+
422: zod.ZodObject<{
|
|
3144
|
+
error: zod.ZodLiteral<"confirmation_sender_unavailable">;
|
|
3145
|
+
message: zod.ZodString;
|
|
3149
3146
|
}, "strip", zod.ZodTypeAny, {
|
|
3150
|
-
error:
|
|
3147
|
+
error: "confirmation_sender_unavailable";
|
|
3148
|
+
message: string;
|
|
3151
3149
|
}, {
|
|
3152
|
-
error:
|
|
3150
|
+
error: "confirmation_sender_unavailable";
|
|
3151
|
+
message: string;
|
|
3153
3152
|
}>;
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3153
|
+
};
|
|
3154
|
+
path: "/forms";
|
|
3155
|
+
};
|
|
3156
|
+
get: {
|
|
3157
|
+
summary: "Get a signup form";
|
|
3158
|
+
metadata: {
|
|
3159
|
+
tag: string;
|
|
3160
|
+
};
|
|
3161
|
+
method: "GET";
|
|
3162
|
+
responses: {
|
|
3163
|
+
200: zod.ZodObject<{
|
|
3164
|
+
formId: zod.ZodString;
|
|
3165
|
+
name: zod.ZodString;
|
|
3166
|
+
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
3167
|
+
doubleOptIn: zod.ZodBoolean;
|
|
3168
|
+
redirectUrl: zod.ZodNullable<zod.ZodString>;
|
|
3169
|
+
url: zod.ZodString;
|
|
3170
|
+
sendingIssue: zod.ZodNullable<zod.ZodString>;
|
|
3171
|
+
createdAt: zod.ZodString;
|
|
3172
|
+
updatedAt: zod.ZodString;
|
|
3173
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3174
|
+
name: string;
|
|
3175
|
+
tags: string[];
|
|
3176
|
+
updatedAt: string;
|
|
3177
|
+
createdAt: string;
|
|
3178
|
+
url: string;
|
|
3179
|
+
formId: string;
|
|
3180
|
+
doubleOptIn: boolean;
|
|
3181
|
+
redirectUrl: string | null;
|
|
3182
|
+
sendingIssue: string | null;
|
|
3183
|
+
}, {
|
|
3184
|
+
name: string;
|
|
3185
|
+
tags: string[];
|
|
3186
|
+
updatedAt: string;
|
|
3187
|
+
createdAt: string;
|
|
3188
|
+
url: string;
|
|
3189
|
+
formId: string;
|
|
3190
|
+
doubleOptIn: boolean;
|
|
3191
|
+
redirectUrl: string | null;
|
|
3192
|
+
sendingIssue: string | null;
|
|
3193
|
+
}>;
|
|
3194
|
+
404: zod.ZodObject<{
|
|
3195
|
+
error: zod.ZodString;
|
|
3196
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3197
|
+
error: string;
|
|
3198
|
+
}, {
|
|
3199
|
+
error: string;
|
|
3200
|
+
}>;
|
|
3201
|
+
};
|
|
3202
|
+
path: "/forms/:formId";
|
|
3203
|
+
};
|
|
3204
|
+
update: {
|
|
3205
|
+
summary: "Update a signup form";
|
|
3206
|
+
description: "Turning double opt-in on fails with 422 `confirmation_sender_unavailable` when the team can't send the confirmation email.";
|
|
3207
|
+
metadata: {
|
|
3208
|
+
tag: string;
|
|
3209
|
+
};
|
|
3210
|
+
method: "PATCH";
|
|
3211
|
+
body: zod.ZodObject<{
|
|
3212
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
3213
|
+
tags: zod.ZodOptional<zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>>;
|
|
3214
|
+
doubleOptIn: zod.ZodOptional<zod.ZodOptional<zod.ZodBoolean>>;
|
|
3215
|
+
redirectUrl: zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodEffects<zod.ZodString, string, string>>>>;
|
|
3216
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3217
|
+
name?: string | undefined;
|
|
3218
|
+
tags?: string[] | undefined;
|
|
3219
|
+
doubleOptIn?: boolean | undefined;
|
|
3220
|
+
redirectUrl?: string | null | undefined;
|
|
3221
|
+
}, {
|
|
3222
|
+
name?: string | undefined;
|
|
3223
|
+
tags?: string[] | undefined;
|
|
3224
|
+
doubleOptIn?: boolean | undefined;
|
|
3225
|
+
redirectUrl?: string | null | undefined;
|
|
3226
|
+
}>;
|
|
3227
|
+
responses: {
|
|
3228
|
+
200: zod.ZodObject<{
|
|
3229
|
+
formId: zod.ZodString;
|
|
3230
|
+
name: zod.ZodString;
|
|
3231
|
+
tags: zod.ZodArray<zod.ZodString, "many">;
|
|
3232
|
+
doubleOptIn: zod.ZodBoolean;
|
|
3233
|
+
redirectUrl: zod.ZodNullable<zod.ZodString>;
|
|
3234
|
+
url: zod.ZodString;
|
|
3235
|
+
sendingIssue: zod.ZodNullable<zod.ZodString>;
|
|
3236
|
+
createdAt: zod.ZodString;
|
|
3237
|
+
updatedAt: zod.ZodString;
|
|
3238
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3239
|
+
name: string;
|
|
3240
|
+
tags: string[];
|
|
3241
|
+
updatedAt: string;
|
|
3242
|
+
createdAt: string;
|
|
3243
|
+
url: string;
|
|
3244
|
+
formId: string;
|
|
3245
|
+
doubleOptIn: boolean;
|
|
3246
|
+
redirectUrl: string | null;
|
|
3247
|
+
sendingIssue: string | null;
|
|
3248
|
+
}, {
|
|
3249
|
+
name: string;
|
|
3250
|
+
tags: string[];
|
|
3251
|
+
updatedAt: string;
|
|
3252
|
+
createdAt: string;
|
|
3253
|
+
url: string;
|
|
3254
|
+
formId: string;
|
|
3255
|
+
doubleOptIn: boolean;
|
|
3256
|
+
redirectUrl: string | null;
|
|
3257
|
+
sendingIssue: string | null;
|
|
3258
|
+
}>;
|
|
3259
|
+
404: zod.ZodObject<{
|
|
3260
|
+
error: zod.ZodString;
|
|
3261
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3262
|
+
error: string;
|
|
3263
|
+
}, {
|
|
3264
|
+
error: string;
|
|
3265
|
+
}>;
|
|
3266
|
+
422: zod.ZodObject<{
|
|
3267
|
+
error: zod.ZodLiteral<"confirmation_sender_unavailable">;
|
|
3268
|
+
message: zod.ZodString;
|
|
3269
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3270
|
+
error: "confirmation_sender_unavailable";
|
|
3271
|
+
message: string;
|
|
3272
|
+
}, {
|
|
3273
|
+
error: "confirmation_sender_unavailable";
|
|
3274
|
+
message: string;
|
|
3275
|
+
}>;
|
|
3276
|
+
};
|
|
3277
|
+
path: "/forms/:formId";
|
|
3278
|
+
};
|
|
3279
|
+
remove: {
|
|
3280
|
+
summary: "Delete a signup form";
|
|
3281
|
+
metadata: {
|
|
3282
|
+
tag: string;
|
|
3283
|
+
};
|
|
3284
|
+
method: "DELETE";
|
|
3285
|
+
responses: {
|
|
3286
|
+
204: typeof _ts_rest_core.ContractNoBody;
|
|
3287
|
+
404: zod.ZodObject<{
|
|
3288
|
+
error: zod.ZodString;
|
|
3289
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3290
|
+
error: string;
|
|
3291
|
+
}, {
|
|
3292
|
+
error: string;
|
|
3293
|
+
}>;
|
|
3294
|
+
};
|
|
3295
|
+
path: "/forms/:formId";
|
|
3296
|
+
};
|
|
3297
|
+
submit: {
|
|
3298
|
+
summary: "Submit a signup to a form";
|
|
3299
|
+
description: "Signs someone up through the form from your own server, for a signup page you host yourself. It works like a submission to the form's public URL: double opt-in forms email the confirmation link and subscribe only once it's clicked, single opt-in never resubscribes someone who unsubscribed, and suppressed or disposable addresses are dropped quietly. A double opt-in form doesn't email someone who is already subscribed. Pass `clientIp` so the per-IP rate limit applies to the person, not your server. Fails with 400 `invalid_email`, 429 `too_many_requests`, or 503 `form_unavailable` when the team can't send the confirmation email.";
|
|
3300
|
+
metadata: {
|
|
3301
|
+
tag: string;
|
|
3302
|
+
};
|
|
3303
|
+
method: "POST";
|
|
3304
|
+
body: zod.ZodObject<{
|
|
3305
|
+
email: zod.ZodString;
|
|
3306
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
3307
|
+
clientIp: zod.ZodOptional<zod.ZodString>;
|
|
3308
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3309
|
+
email: string;
|
|
3310
|
+
name?: string | undefined;
|
|
3311
|
+
clientIp?: string | undefined;
|
|
3312
|
+
}, {
|
|
3313
|
+
email: string;
|
|
3314
|
+
name?: string | undefined;
|
|
3315
|
+
clientIp?: string | undefined;
|
|
3316
|
+
}>;
|
|
3317
|
+
responses: {
|
|
3318
|
+
200: zod.ZodObject<{
|
|
3319
|
+
status: zod.ZodEnum<["confirmation_sent", "subscribed"]>;
|
|
3320
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3321
|
+
status: "subscribed" | "confirmation_sent";
|
|
3322
|
+
}, {
|
|
3323
|
+
status: "subscribed" | "confirmation_sent";
|
|
3324
|
+
}>;
|
|
3325
|
+
400: zod.ZodObject<{
|
|
3326
|
+
error: zod.ZodString;
|
|
3327
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3328
|
+
error: string;
|
|
3329
|
+
}, {
|
|
3330
|
+
error: string;
|
|
3331
|
+
}>;
|
|
3332
|
+
404: zod.ZodObject<{
|
|
3333
|
+
error: zod.ZodString;
|
|
3334
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3335
|
+
error: string;
|
|
3336
|
+
}, {
|
|
3337
|
+
error: string;
|
|
3338
|
+
}>;
|
|
3339
|
+
429: zod.ZodObject<{
|
|
3340
|
+
error: zod.ZodString;
|
|
3341
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3342
|
+
error: string;
|
|
3343
|
+
}, {
|
|
3344
|
+
error: string;
|
|
3345
|
+
}>;
|
|
3346
|
+
503: zod.ZodObject<{
|
|
3347
|
+
message: zod.ZodString;
|
|
3348
|
+
} & {
|
|
3349
|
+
error: zod.ZodLiteral<"form_unavailable">;
|
|
3350
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3351
|
+
error: "form_unavailable";
|
|
3352
|
+
message: string;
|
|
3353
|
+
}, {
|
|
3354
|
+
error: "form_unavailable";
|
|
3355
|
+
message: string;
|
|
3356
|
+
}>;
|
|
3357
|
+
};
|
|
3358
|
+
path: "/forms/:formId/submissions";
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3361
|
+
/** A public signup form, with its hosted page `url`. */
|
|
3362
|
+
type SignupForm = Ok<typeof routes$8.get>;
|
|
3363
|
+
type CreateSignupFormInput = Body<typeof routes$8.create>;
|
|
3364
|
+
type UpdateSignupFormInput = Body<typeof routes$8.update>;
|
|
3365
|
+
type SubmitSignupFormInput = Body<typeof routes$8.submit>;
|
|
3366
|
+
type SignupFormSubmission = Ok<typeof routes$8.submit>;
|
|
3367
|
+
/** Signup forms: people subscribe on the hosted page, through an HTML form
|
|
3368
|
+
* posting to it, or through `submit` from your own server. */
|
|
3369
|
+
declare class Forms {
|
|
3370
|
+
private readonly http;
|
|
3371
|
+
constructor(http: HttpClient);
|
|
3372
|
+
list(): Promise<Ok<typeof routes$8.list>>;
|
|
3373
|
+
/** Double opt-in (the default) needs a sending mailbox: without one this
|
|
3374
|
+
* fails with 422 `confirmation_sender_unavailable`. */
|
|
3375
|
+
create(input: CreateSignupFormInput): Promise<SignupForm>;
|
|
3376
|
+
get(formId: string): Promise<SignupForm>;
|
|
3377
|
+
update(formId: string, input: UpdateSignupFormInput): Promise<SignupForm>;
|
|
3378
|
+
remove(formId: string): Promise<void>;
|
|
3379
|
+
/**
|
|
3380
|
+
* Signs someone up through the form from your server. A double opt-in
|
|
3381
|
+
* form emails them a confirmation link; pass `clientIp` so the per-IP
|
|
3382
|
+
* rate limit applies to them rather than to your server.
|
|
3383
|
+
*/
|
|
3384
|
+
submit(formId: string, input: SubmitSignupFormInput): Promise<SignupFormSubmission>;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
declare const routes$7: {
|
|
3388
|
+
get: {
|
|
3389
|
+
query: zod.ZodObject<{
|
|
3390
|
+
rangeDays: zod.ZodOptional<zod.ZodEffects<zod.ZodNumber, number, number>>;
|
|
3391
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3392
|
+
rangeDays?: number | undefined;
|
|
3393
|
+
}, {
|
|
3394
|
+
rangeDays?: number | undefined;
|
|
3395
|
+
}>;
|
|
3396
|
+
summary: "Get team overview metrics for a delivery activity window";
|
|
3397
|
+
description: "Use `rangeDays` (1, 3, 7, or 30; default 7) to filter transactional delivery activity and scheduled broadcasts.";
|
|
3398
|
+
metadata: {
|
|
3399
|
+
tag: string;
|
|
3400
|
+
};
|
|
3401
|
+
method: "GET";
|
|
3402
|
+
responses: {
|
|
3403
|
+
200: zod.ZodObject<{
|
|
3404
|
+
activeSequences: zod.ZodNumber;
|
|
3405
|
+
ongoingContacts: zod.ZodNumber;
|
|
3406
|
+
scheduledBroadcasts: zod.ZodNumber;
|
|
3407
|
+
mail: zod.ZodObject<{
|
|
3408
|
+
sent: zod.ZodNumber;
|
|
3409
|
+
queued: zod.ZodNumber;
|
|
3410
|
+
failed: zod.ZodNumber;
|
|
3411
|
+
bounced: zod.ZodNumber;
|
|
3412
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3413
|
+
bounced: number;
|
|
3414
|
+
failed: number;
|
|
3415
|
+
sent: number;
|
|
3416
|
+
queued: number;
|
|
3417
|
+
}, {
|
|
3418
|
+
bounced: number;
|
|
3419
|
+
failed: number;
|
|
3420
|
+
sent: number;
|
|
3421
|
+
queued: number;
|
|
3422
|
+
}>;
|
|
3423
|
+
quota: zod.ZodObject<{
|
|
3424
|
+
dailyUsed: zod.ZodNumber;
|
|
3425
|
+
dailyLimit: zod.ZodNumber;
|
|
3426
|
+
monthlyUsed: zod.ZodNumber;
|
|
3427
|
+
monthlyLimit: zod.ZodNumber;
|
|
3428
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3429
|
+
dailyLimit: number;
|
|
3430
|
+
monthlyLimit: number;
|
|
3431
|
+
dailyUsed: number;
|
|
3432
|
+
monthlyUsed: number;
|
|
3433
|
+
}, {
|
|
3434
|
+
dailyLimit: number;
|
|
3435
|
+
monthlyLimit: number;
|
|
3436
|
+
dailyUsed: number;
|
|
3437
|
+
monthlyUsed: number;
|
|
3438
|
+
}>;
|
|
3439
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3440
|
+
mail: {
|
|
3441
|
+
bounced: number;
|
|
3442
|
+
failed: number;
|
|
3443
|
+
sent: number;
|
|
3444
|
+
queued: number;
|
|
3445
|
+
};
|
|
3446
|
+
quota: {
|
|
3447
|
+
dailyLimit: number;
|
|
3448
|
+
monthlyLimit: number;
|
|
3449
|
+
dailyUsed: number;
|
|
3450
|
+
monthlyUsed: number;
|
|
3451
|
+
};
|
|
3452
|
+
activeSequences: number;
|
|
3453
|
+
ongoingContacts: number;
|
|
3454
|
+
scheduledBroadcasts: number;
|
|
3455
|
+
}, {
|
|
3456
|
+
mail: {
|
|
3457
|
+
bounced: number;
|
|
3458
|
+
failed: number;
|
|
3459
|
+
sent: number;
|
|
3460
|
+
queued: number;
|
|
3461
|
+
};
|
|
3462
|
+
quota: {
|
|
3463
|
+
dailyLimit: number;
|
|
3464
|
+
monthlyLimit: number;
|
|
3465
|
+
dailyUsed: number;
|
|
3466
|
+
monthlyUsed: number;
|
|
3467
|
+
};
|
|
3468
|
+
activeSequences: number;
|
|
3469
|
+
ongoingContacts: number;
|
|
3470
|
+
scheduledBroadcasts: number;
|
|
3471
|
+
}>;
|
|
3472
|
+
};
|
|
3473
|
+
path: "/overview";
|
|
3474
|
+
};
|
|
3475
|
+
};
|
|
3476
|
+
/** The team's dashboard numbers: contacts, sends, opens and clicks over a
|
|
3477
|
+
* period. */
|
|
3478
|
+
type Overview = Ok<typeof routes$7.get>;
|
|
3479
|
+
type OverviewQuery = Query<typeof routes$7.get>;
|
|
3480
|
+
declare class OverviewResource {
|
|
3481
|
+
private readonly http;
|
|
3482
|
+
constructor(http: HttpClient);
|
|
3483
|
+
get(query?: OverviewQuery): Promise<Overview>;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
declare const routes$6: {
|
|
3487
|
+
getOrganization: {
|
|
3488
|
+
summary: "Get the organization bound to the calling API key";
|
|
3489
|
+
description: "Returns only the organization associated with the authenticated organization API key. Requires the organization:read scope; the organization cannot be selected in the request.";
|
|
3490
|
+
metadata: {
|
|
3491
|
+
tag: string;
|
|
3492
|
+
};
|
|
3493
|
+
method: "GET";
|
|
3494
|
+
responses: {
|
|
3495
|
+
200: zod.ZodObject<{
|
|
3496
|
+
organizationId: zod.ZodString;
|
|
3497
|
+
name: zod.ZodString;
|
|
3498
|
+
status: zod.ZodEnum<["pending_payment", "active", "suspended", "abandoned", "closed"]>;
|
|
3499
|
+
createdAt: zod.ZodString;
|
|
3500
|
+
updatedAt: zod.ZodString;
|
|
3501
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3502
|
+
status: "active" | "pending_payment" | "suspended" | "abandoned" | "closed";
|
|
3503
|
+
name: string;
|
|
3504
|
+
updatedAt: string;
|
|
3505
|
+
organizationId: string;
|
|
3506
|
+
createdAt: string;
|
|
3507
|
+
}, {
|
|
3508
|
+
status: "active" | "pending_payment" | "suspended" | "abandoned" | "closed";
|
|
3509
|
+
name: string;
|
|
3510
|
+
updatedAt: string;
|
|
3511
|
+
organizationId: string;
|
|
3512
|
+
createdAt: string;
|
|
3513
|
+
}>;
|
|
3514
|
+
401: zod.ZodObject<{
|
|
3515
|
+
error: zod.ZodString;
|
|
3516
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3517
|
+
error: string;
|
|
3518
|
+
}, {
|
|
3519
|
+
error: string;
|
|
3520
|
+
}>;
|
|
3521
|
+
403: zod.ZodObject<{
|
|
3522
|
+
error: zod.ZodString;
|
|
3523
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3524
|
+
error: string;
|
|
3525
|
+
}, {
|
|
3526
|
+
error: string;
|
|
3527
|
+
}>;
|
|
3528
|
+
404: zod.ZodObject<{
|
|
3529
|
+
error: zod.ZodString;
|
|
3530
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3531
|
+
error: string;
|
|
3158
3532
|
}, {
|
|
3159
3533
|
error: string;
|
|
3160
3534
|
}>;
|
|
@@ -3208,13 +3582,13 @@ declare const routes$6: {
|
|
|
3208
3582
|
teamEspEnabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
3209
3583
|
teamCanChangeDefault: zod.ZodOptional<zod.ZodBoolean>;
|
|
3210
3584
|
}, "strip", zod.ZodTypeAny, {
|
|
3211
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3212
|
-
teamEspEnabled?: boolean | undefined;
|
|
3213
3585
|
useOrganizationDefault?: boolean | undefined;
|
|
3214
|
-
}, {
|
|
3215
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3216
3586
|
teamEspEnabled?: boolean | undefined;
|
|
3587
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3588
|
+
}, {
|
|
3217
3589
|
useOrganizationDefault?: boolean | undefined;
|
|
3590
|
+
teamEspEnabled?: boolean | undefined;
|
|
3591
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3218
3592
|
}>>;
|
|
3219
3593
|
quota: zod.ZodOptional<zod.ZodObject<{
|
|
3220
3594
|
dailyLimit: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
@@ -3229,10 +3603,6 @@ declare const routes$6: {
|
|
|
3229
3603
|
}, "strip", zod.ZodTypeAny, {
|
|
3230
3604
|
name: string;
|
|
3231
3605
|
externalId: string;
|
|
3232
|
-
quota?: {
|
|
3233
|
-
dailyLimit?: number | null | undefined;
|
|
3234
|
-
monthlyLimit?: number | null | undefined;
|
|
3235
|
-
} | undefined;
|
|
3236
3606
|
postalAddress?: {
|
|
3237
3607
|
line1: string;
|
|
3238
3608
|
country: string;
|
|
@@ -3246,17 +3616,17 @@ declare const routes$6: {
|
|
|
3246
3616
|
replyTo?: string | undefined;
|
|
3247
3617
|
} | undefined;
|
|
3248
3618
|
delivery?: {
|
|
3249
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3250
|
-
teamEspEnabled?: boolean | undefined;
|
|
3251
3619
|
useOrganizationDefault?: boolean | undefined;
|
|
3620
|
+
teamEspEnabled?: boolean | undefined;
|
|
3621
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3252
3622
|
} | undefined;
|
|
3253
|
-
}, {
|
|
3254
|
-
name: string;
|
|
3255
|
-
externalId: string;
|
|
3256
3623
|
quota?: {
|
|
3257
3624
|
dailyLimit?: number | null | undefined;
|
|
3258
3625
|
monthlyLimit?: number | null | undefined;
|
|
3259
3626
|
} | undefined;
|
|
3627
|
+
}, {
|
|
3628
|
+
name: string;
|
|
3629
|
+
externalId: string;
|
|
3260
3630
|
postalAddress?: {
|
|
3261
3631
|
line1: string;
|
|
3262
3632
|
country: string;
|
|
@@ -3270,9 +3640,13 @@ declare const routes$6: {
|
|
|
3270
3640
|
replyTo?: string | undefined;
|
|
3271
3641
|
} | undefined;
|
|
3272
3642
|
delivery?: {
|
|
3273
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3274
|
-
teamEspEnabled?: boolean | undefined;
|
|
3275
3643
|
useOrganizationDefault?: boolean | undefined;
|
|
3644
|
+
teamEspEnabled?: boolean | undefined;
|
|
3645
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3646
|
+
} | undefined;
|
|
3647
|
+
quota?: {
|
|
3648
|
+
dailyLimit?: number | null | undefined;
|
|
3649
|
+
monthlyLimit?: number | null | undefined;
|
|
3276
3650
|
} | undefined;
|
|
3277
3651
|
}>;
|
|
3278
3652
|
responses: {
|
|
@@ -3388,6 +3762,7 @@ declare const routes$6: {
|
|
|
3388
3762
|
};
|
|
3389
3763
|
getTeam: {
|
|
3390
3764
|
summary: "Get a provisioned team within the authenticated organization";
|
|
3765
|
+
description: "`health` is the team's sending status: `normal`, `warned`, `marketing_paused` or `all_paused`, with the `reason` code and whether it comes from the team's own reputation or the shared mailbox (`scope`). `last7Days` counts the emails the ESP accepted in the last 7 days and how many bounced or were marked as spam.";
|
|
3391
3766
|
metadata: {
|
|
3392
3767
|
tag: string;
|
|
3393
3768
|
};
|
|
@@ -3432,18 +3807,45 @@ declare const routes$6: {
|
|
|
3432
3807
|
teamCanChangeDefault: zod.ZodBoolean;
|
|
3433
3808
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
3434
3809
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
3810
|
+
health: zod.ZodObject<{
|
|
3811
|
+
status: zod.ZodEnum<["normal", "warned", "marketing_paused", "all_paused"]>;
|
|
3812
|
+
reason: zod.ZodNullable<zod.ZodString>;
|
|
3813
|
+
scope: zod.ZodNullable<zod.ZodEnum<["team", "shared_mailbox"]>>;
|
|
3814
|
+
last7Days: zod.ZodObject<{
|
|
3815
|
+
sent: zod.ZodNumber;
|
|
3816
|
+
bounced: zod.ZodNumber;
|
|
3817
|
+
complained: zod.ZodNumber;
|
|
3818
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3819
|
+
bounced: number;
|
|
3820
|
+
complained: number;
|
|
3821
|
+
sent: number;
|
|
3822
|
+
}, {
|
|
3823
|
+
bounced: number;
|
|
3824
|
+
complained: number;
|
|
3825
|
+
sent: number;
|
|
3826
|
+
}>;
|
|
3827
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3828
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
3829
|
+
reason: string | null;
|
|
3830
|
+
scope: "team" | "shared_mailbox" | null;
|
|
3831
|
+
last7Days: {
|
|
3832
|
+
bounced: number;
|
|
3833
|
+
complained: number;
|
|
3834
|
+
sent: number;
|
|
3835
|
+
};
|
|
3836
|
+
}, {
|
|
3837
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
3838
|
+
reason: string | null;
|
|
3839
|
+
scope: "team" | "shared_mailbox" | null;
|
|
3840
|
+
last7Days: {
|
|
3841
|
+
bounced: number;
|
|
3842
|
+
complained: number;
|
|
3843
|
+
sent: number;
|
|
3844
|
+
};
|
|
3845
|
+
}>;
|
|
3435
3846
|
}, "strip", zod.ZodTypeAny, {
|
|
3436
3847
|
status: "active" | "sending_suspended" | "archived";
|
|
3437
3848
|
name: string;
|
|
3438
|
-
createdAt: string | null;
|
|
3439
|
-
updatedAt: string | null;
|
|
3440
|
-
teamId: string;
|
|
3441
|
-
externalId: string;
|
|
3442
|
-
teamCanChangeDefault: boolean;
|
|
3443
|
-
teamEspEnabled: boolean;
|
|
3444
|
-
deliverySource: {
|
|
3445
|
-
type: "organization";
|
|
3446
|
-
};
|
|
3447
3849
|
postalAddress: {
|
|
3448
3850
|
line1: string;
|
|
3449
3851
|
country: string;
|
|
@@ -3452,18 +3854,28 @@ declare const routes$6: {
|
|
|
3452
3854
|
region?: string | undefined;
|
|
3453
3855
|
postalCode?: string | undefined;
|
|
3454
3856
|
} | null;
|
|
3455
|
-
}, {
|
|
3456
|
-
status: "active" | "sending_suspended" | "archived";
|
|
3457
|
-
name: string;
|
|
3458
|
-
createdAt: string | null;
|
|
3459
3857
|
updatedAt: string | null;
|
|
3460
3858
|
teamId: string;
|
|
3461
3859
|
externalId: string;
|
|
3462
|
-
|
|
3860
|
+
createdAt: string | null;
|
|
3463
3861
|
teamEspEnabled: boolean;
|
|
3862
|
+
teamCanChangeDefault: boolean;
|
|
3464
3863
|
deliverySource: {
|
|
3465
3864
|
type: "organization";
|
|
3466
3865
|
};
|
|
3866
|
+
health: {
|
|
3867
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
3868
|
+
reason: string | null;
|
|
3869
|
+
scope: "team" | "shared_mailbox" | null;
|
|
3870
|
+
last7Days: {
|
|
3871
|
+
bounced: number;
|
|
3872
|
+
complained: number;
|
|
3873
|
+
sent: number;
|
|
3874
|
+
};
|
|
3875
|
+
};
|
|
3876
|
+
}, {
|
|
3877
|
+
status: "active" | "sending_suspended" | "archived";
|
|
3878
|
+
name: string;
|
|
3467
3879
|
postalAddress: {
|
|
3468
3880
|
line1: string;
|
|
3469
3881
|
country: string;
|
|
@@ -3472,6 +3884,25 @@ declare const routes$6: {
|
|
|
3472
3884
|
region?: string | undefined;
|
|
3473
3885
|
postalCode?: string | undefined;
|
|
3474
3886
|
} | null;
|
|
3887
|
+
updatedAt: string | null;
|
|
3888
|
+
teamId: string;
|
|
3889
|
+
externalId: string;
|
|
3890
|
+
createdAt: string | null;
|
|
3891
|
+
teamEspEnabled: boolean;
|
|
3892
|
+
teamCanChangeDefault: boolean;
|
|
3893
|
+
deliverySource: {
|
|
3894
|
+
type: "organization";
|
|
3895
|
+
};
|
|
3896
|
+
health: {
|
|
3897
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
3898
|
+
reason: string | null;
|
|
3899
|
+
scope: "team" | "shared_mailbox" | null;
|
|
3900
|
+
last7Days: {
|
|
3901
|
+
bounced: number;
|
|
3902
|
+
complained: number;
|
|
3903
|
+
sent: number;
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3475
3906
|
}>;
|
|
3476
3907
|
403: zod.ZodObject<{
|
|
3477
3908
|
error: zod.ZodString;
|
|
@@ -3535,11 +3966,11 @@ declare const routes$6: {
|
|
|
3535
3966
|
teamEspEnabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
3536
3967
|
teamCanChangeDefault: zod.ZodOptional<zod.ZodBoolean>;
|
|
3537
3968
|
}, "strip", zod.ZodTypeAny, {
|
|
3538
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3539
3969
|
teamEspEnabled?: boolean | undefined;
|
|
3540
|
-
}, {
|
|
3541
3970
|
teamCanChangeDefault?: boolean | undefined;
|
|
3971
|
+
}, {
|
|
3542
3972
|
teamEspEnabled?: boolean | undefined;
|
|
3973
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3543
3974
|
}>>;
|
|
3544
3975
|
quota: zod.ZodOptional<zod.ZodObject<{
|
|
3545
3976
|
dailyLimit: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
@@ -3553,10 +3984,6 @@ declare const routes$6: {
|
|
|
3553
3984
|
}>>;
|
|
3554
3985
|
}, "strip", zod.ZodTypeAny, {
|
|
3555
3986
|
name?: string | undefined;
|
|
3556
|
-
quota?: {
|
|
3557
|
-
dailyLimit?: number | null | undefined;
|
|
3558
|
-
monthlyLimit?: number | null | undefined;
|
|
3559
|
-
} | undefined;
|
|
3560
3987
|
postalAddress?: {
|
|
3561
3988
|
line1: string;
|
|
3562
3989
|
country: string;
|
|
@@ -3570,15 +3997,15 @@ declare const routes$6: {
|
|
|
3570
3997
|
replyTo?: string | null | undefined;
|
|
3571
3998
|
} | undefined;
|
|
3572
3999
|
delivery?: {
|
|
3573
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3574
4000
|
teamEspEnabled?: boolean | undefined;
|
|
4001
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3575
4002
|
} | undefined;
|
|
3576
|
-
}, {
|
|
3577
|
-
name?: string | undefined;
|
|
3578
4003
|
quota?: {
|
|
3579
4004
|
dailyLimit?: number | null | undefined;
|
|
3580
4005
|
monthlyLimit?: number | null | undefined;
|
|
3581
4006
|
} | undefined;
|
|
4007
|
+
}, {
|
|
4008
|
+
name?: string | undefined;
|
|
3582
4009
|
postalAddress?: {
|
|
3583
4010
|
line1: string;
|
|
3584
4011
|
country: string;
|
|
@@ -3592,15 +4019,15 @@ declare const routes$6: {
|
|
|
3592
4019
|
replyTo?: string | null | undefined;
|
|
3593
4020
|
} | undefined;
|
|
3594
4021
|
delivery?: {
|
|
3595
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3596
4022
|
teamEspEnabled?: boolean | undefined;
|
|
4023
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3597
4024
|
} | undefined;
|
|
3598
|
-
}>, {
|
|
3599
|
-
name?: string | undefined;
|
|
3600
4025
|
quota?: {
|
|
3601
4026
|
dailyLimit?: number | null | undefined;
|
|
3602
4027
|
monthlyLimit?: number | null | undefined;
|
|
3603
4028
|
} | undefined;
|
|
4029
|
+
}>, {
|
|
4030
|
+
name?: string | undefined;
|
|
3604
4031
|
postalAddress?: {
|
|
3605
4032
|
line1: string;
|
|
3606
4033
|
country: string;
|
|
@@ -3614,15 +4041,15 @@ declare const routes$6: {
|
|
|
3614
4041
|
replyTo?: string | null | undefined;
|
|
3615
4042
|
} | undefined;
|
|
3616
4043
|
delivery?: {
|
|
3617
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3618
4044
|
teamEspEnabled?: boolean | undefined;
|
|
4045
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
3619
4046
|
} | undefined;
|
|
3620
|
-
}, {
|
|
3621
|
-
name?: string | undefined;
|
|
3622
4047
|
quota?: {
|
|
3623
4048
|
dailyLimit?: number | null | undefined;
|
|
3624
4049
|
monthlyLimit?: number | null | undefined;
|
|
3625
4050
|
} | undefined;
|
|
4051
|
+
}, {
|
|
4052
|
+
name?: string | undefined;
|
|
3626
4053
|
postalAddress?: {
|
|
3627
4054
|
line1: string;
|
|
3628
4055
|
country: string;
|
|
@@ -3636,8 +4063,12 @@ declare const routes$6: {
|
|
|
3636
4063
|
replyTo?: string | null | undefined;
|
|
3637
4064
|
} | undefined;
|
|
3638
4065
|
delivery?: {
|
|
3639
|
-
teamCanChangeDefault?: boolean | undefined;
|
|
3640
4066
|
teamEspEnabled?: boolean | undefined;
|
|
4067
|
+
teamCanChangeDefault?: boolean | undefined;
|
|
4068
|
+
} | undefined;
|
|
4069
|
+
quota?: {
|
|
4070
|
+
dailyLimit?: number | null | undefined;
|
|
4071
|
+
monthlyLimit?: number | null | undefined;
|
|
3641
4072
|
} | undefined;
|
|
3642
4073
|
}>;
|
|
3643
4074
|
responses: {
|
|
@@ -3680,18 +4111,45 @@ declare const routes$6: {
|
|
|
3680
4111
|
teamCanChangeDefault: zod.ZodBoolean;
|
|
3681
4112
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
3682
4113
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
4114
|
+
health: zod.ZodObject<{
|
|
4115
|
+
status: zod.ZodEnum<["normal", "warned", "marketing_paused", "all_paused"]>;
|
|
4116
|
+
reason: zod.ZodNullable<zod.ZodString>;
|
|
4117
|
+
scope: zod.ZodNullable<zod.ZodEnum<["team", "shared_mailbox"]>>;
|
|
4118
|
+
last7Days: zod.ZodObject<{
|
|
4119
|
+
sent: zod.ZodNumber;
|
|
4120
|
+
bounced: zod.ZodNumber;
|
|
4121
|
+
complained: zod.ZodNumber;
|
|
4122
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4123
|
+
bounced: number;
|
|
4124
|
+
complained: number;
|
|
4125
|
+
sent: number;
|
|
4126
|
+
}, {
|
|
4127
|
+
bounced: number;
|
|
4128
|
+
complained: number;
|
|
4129
|
+
sent: number;
|
|
4130
|
+
}>;
|
|
4131
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4132
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4133
|
+
reason: string | null;
|
|
4134
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4135
|
+
last7Days: {
|
|
4136
|
+
bounced: number;
|
|
4137
|
+
complained: number;
|
|
4138
|
+
sent: number;
|
|
4139
|
+
};
|
|
4140
|
+
}, {
|
|
4141
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4142
|
+
reason: string | null;
|
|
4143
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4144
|
+
last7Days: {
|
|
4145
|
+
bounced: number;
|
|
4146
|
+
complained: number;
|
|
4147
|
+
sent: number;
|
|
4148
|
+
};
|
|
4149
|
+
}>;
|
|
3683
4150
|
}, "strip", zod.ZodTypeAny, {
|
|
3684
|
-
status: "active" | "sending_suspended" | "archived";
|
|
3685
|
-
name: string;
|
|
3686
|
-
createdAt: string | null;
|
|
3687
|
-
updatedAt: string | null;
|
|
3688
|
-
teamId: string;
|
|
3689
|
-
externalId: string;
|
|
3690
|
-
teamCanChangeDefault: boolean;
|
|
3691
|
-
teamEspEnabled: boolean;
|
|
3692
|
-
deliverySource: {
|
|
3693
|
-
type: "organization";
|
|
3694
|
-
};
|
|
4151
|
+
status: "active" | "sending_suspended" | "archived";
|
|
4152
|
+
name: string;
|
|
3695
4153
|
postalAddress: {
|
|
3696
4154
|
line1: string;
|
|
3697
4155
|
country: string;
|
|
@@ -3700,18 +4158,28 @@ declare const routes$6: {
|
|
|
3700
4158
|
region?: string | undefined;
|
|
3701
4159
|
postalCode?: string | undefined;
|
|
3702
4160
|
} | null;
|
|
3703
|
-
}, {
|
|
3704
|
-
status: "active" | "sending_suspended" | "archived";
|
|
3705
|
-
name: string;
|
|
3706
|
-
createdAt: string | null;
|
|
3707
4161
|
updatedAt: string | null;
|
|
3708
4162
|
teamId: string;
|
|
3709
4163
|
externalId: string;
|
|
3710
|
-
|
|
4164
|
+
createdAt: string | null;
|
|
3711
4165
|
teamEspEnabled: boolean;
|
|
4166
|
+
teamCanChangeDefault: boolean;
|
|
3712
4167
|
deliverySource: {
|
|
3713
4168
|
type: "organization";
|
|
3714
4169
|
};
|
|
4170
|
+
health: {
|
|
4171
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4172
|
+
reason: string | null;
|
|
4173
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4174
|
+
last7Days: {
|
|
4175
|
+
bounced: number;
|
|
4176
|
+
complained: number;
|
|
4177
|
+
sent: number;
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
}, {
|
|
4181
|
+
status: "active" | "sending_suspended" | "archived";
|
|
4182
|
+
name: string;
|
|
3715
4183
|
postalAddress: {
|
|
3716
4184
|
line1: string;
|
|
3717
4185
|
country: string;
|
|
@@ -3720,6 +4188,25 @@ declare const routes$6: {
|
|
|
3720
4188
|
region?: string | undefined;
|
|
3721
4189
|
postalCode?: string | undefined;
|
|
3722
4190
|
} | null;
|
|
4191
|
+
updatedAt: string | null;
|
|
4192
|
+
teamId: string;
|
|
4193
|
+
externalId: string;
|
|
4194
|
+
createdAt: string | null;
|
|
4195
|
+
teamEspEnabled: boolean;
|
|
4196
|
+
teamCanChangeDefault: boolean;
|
|
4197
|
+
deliverySource: {
|
|
4198
|
+
type: "organization";
|
|
4199
|
+
};
|
|
4200
|
+
health: {
|
|
4201
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4202
|
+
reason: string | null;
|
|
4203
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4204
|
+
last7Days: {
|
|
4205
|
+
bounced: number;
|
|
4206
|
+
complained: number;
|
|
4207
|
+
sent: number;
|
|
4208
|
+
};
|
|
4209
|
+
};
|
|
3723
4210
|
}>;
|
|
3724
4211
|
400: zod.ZodObject<{
|
|
3725
4212
|
error: zod.ZodString;
|
|
@@ -3859,18 +4346,45 @@ declare const routes$6: {
|
|
|
3859
4346
|
teamCanChangeDefault: zod.ZodBoolean;
|
|
3860
4347
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
3861
4348
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
4349
|
+
health: zod.ZodObject<{
|
|
4350
|
+
status: zod.ZodEnum<["normal", "warned", "marketing_paused", "all_paused"]>;
|
|
4351
|
+
reason: zod.ZodNullable<zod.ZodString>;
|
|
4352
|
+
scope: zod.ZodNullable<zod.ZodEnum<["team", "shared_mailbox"]>>;
|
|
4353
|
+
last7Days: zod.ZodObject<{
|
|
4354
|
+
sent: zod.ZodNumber;
|
|
4355
|
+
bounced: zod.ZodNumber;
|
|
4356
|
+
complained: zod.ZodNumber;
|
|
4357
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4358
|
+
bounced: number;
|
|
4359
|
+
complained: number;
|
|
4360
|
+
sent: number;
|
|
4361
|
+
}, {
|
|
4362
|
+
bounced: number;
|
|
4363
|
+
complained: number;
|
|
4364
|
+
sent: number;
|
|
4365
|
+
}>;
|
|
4366
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4367
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4368
|
+
reason: string | null;
|
|
4369
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4370
|
+
last7Days: {
|
|
4371
|
+
bounced: number;
|
|
4372
|
+
complained: number;
|
|
4373
|
+
sent: number;
|
|
4374
|
+
};
|
|
4375
|
+
}, {
|
|
4376
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4377
|
+
reason: string | null;
|
|
4378
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4379
|
+
last7Days: {
|
|
4380
|
+
bounced: number;
|
|
4381
|
+
complained: number;
|
|
4382
|
+
sent: number;
|
|
4383
|
+
};
|
|
4384
|
+
}>;
|
|
3862
4385
|
}, "strip", zod.ZodTypeAny, {
|
|
3863
4386
|
status: "active" | "sending_suspended" | "archived";
|
|
3864
4387
|
name: string;
|
|
3865
|
-
createdAt: string | null;
|
|
3866
|
-
updatedAt: string | null;
|
|
3867
|
-
teamId: string;
|
|
3868
|
-
externalId: string;
|
|
3869
|
-
teamCanChangeDefault: boolean;
|
|
3870
|
-
teamEspEnabled: boolean;
|
|
3871
|
-
deliverySource: {
|
|
3872
|
-
type: "organization";
|
|
3873
|
-
};
|
|
3874
4388
|
postalAddress: {
|
|
3875
4389
|
line1: string;
|
|
3876
4390
|
country: string;
|
|
@@ -3879,18 +4393,28 @@ declare const routes$6: {
|
|
|
3879
4393
|
region?: string | undefined;
|
|
3880
4394
|
postalCode?: string | undefined;
|
|
3881
4395
|
} | null;
|
|
3882
|
-
}, {
|
|
3883
|
-
status: "active" | "sending_suspended" | "archived";
|
|
3884
|
-
name: string;
|
|
3885
|
-
createdAt: string | null;
|
|
3886
4396
|
updatedAt: string | null;
|
|
3887
4397
|
teamId: string;
|
|
3888
4398
|
externalId: string;
|
|
3889
|
-
|
|
4399
|
+
createdAt: string | null;
|
|
3890
4400
|
teamEspEnabled: boolean;
|
|
4401
|
+
teamCanChangeDefault: boolean;
|
|
3891
4402
|
deliverySource: {
|
|
3892
4403
|
type: "organization";
|
|
3893
4404
|
};
|
|
4405
|
+
health: {
|
|
4406
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4407
|
+
reason: string | null;
|
|
4408
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4409
|
+
last7Days: {
|
|
4410
|
+
bounced: number;
|
|
4411
|
+
complained: number;
|
|
4412
|
+
sent: number;
|
|
4413
|
+
};
|
|
4414
|
+
};
|
|
4415
|
+
}, {
|
|
4416
|
+
status: "active" | "sending_suspended" | "archived";
|
|
4417
|
+
name: string;
|
|
3894
4418
|
postalAddress: {
|
|
3895
4419
|
line1: string;
|
|
3896
4420
|
country: string;
|
|
@@ -3899,6 +4423,25 @@ declare const routes$6: {
|
|
|
3899
4423
|
region?: string | undefined;
|
|
3900
4424
|
postalCode?: string | undefined;
|
|
3901
4425
|
} | null;
|
|
4426
|
+
updatedAt: string | null;
|
|
4427
|
+
teamId: string;
|
|
4428
|
+
externalId: string;
|
|
4429
|
+
createdAt: string | null;
|
|
4430
|
+
teamEspEnabled: boolean;
|
|
4431
|
+
teamCanChangeDefault: boolean;
|
|
4432
|
+
deliverySource: {
|
|
4433
|
+
type: "organization";
|
|
4434
|
+
};
|
|
4435
|
+
health: {
|
|
4436
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4437
|
+
reason: string | null;
|
|
4438
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4439
|
+
last7Days: {
|
|
4440
|
+
bounced: number;
|
|
4441
|
+
complained: number;
|
|
4442
|
+
sent: number;
|
|
4443
|
+
};
|
|
4444
|
+
};
|
|
3902
4445
|
}>;
|
|
3903
4446
|
403: zod.ZodObject<{
|
|
3904
4447
|
error: zod.ZodString;
|
|
@@ -3971,18 +4514,45 @@ declare const routes$6: {
|
|
|
3971
4514
|
teamCanChangeDefault: zod.ZodBoolean;
|
|
3972
4515
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
3973
4516
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
4517
|
+
health: zod.ZodObject<{
|
|
4518
|
+
status: zod.ZodEnum<["normal", "warned", "marketing_paused", "all_paused"]>;
|
|
4519
|
+
reason: zod.ZodNullable<zod.ZodString>;
|
|
4520
|
+
scope: zod.ZodNullable<zod.ZodEnum<["team", "shared_mailbox"]>>;
|
|
4521
|
+
last7Days: zod.ZodObject<{
|
|
4522
|
+
sent: zod.ZodNumber;
|
|
4523
|
+
bounced: zod.ZodNumber;
|
|
4524
|
+
complained: zod.ZodNumber;
|
|
4525
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4526
|
+
bounced: number;
|
|
4527
|
+
complained: number;
|
|
4528
|
+
sent: number;
|
|
4529
|
+
}, {
|
|
4530
|
+
bounced: number;
|
|
4531
|
+
complained: number;
|
|
4532
|
+
sent: number;
|
|
4533
|
+
}>;
|
|
4534
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4535
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4536
|
+
reason: string | null;
|
|
4537
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4538
|
+
last7Days: {
|
|
4539
|
+
bounced: number;
|
|
4540
|
+
complained: number;
|
|
4541
|
+
sent: number;
|
|
4542
|
+
};
|
|
4543
|
+
}, {
|
|
4544
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4545
|
+
reason: string | null;
|
|
4546
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4547
|
+
last7Days: {
|
|
4548
|
+
bounced: number;
|
|
4549
|
+
complained: number;
|
|
4550
|
+
sent: number;
|
|
4551
|
+
};
|
|
4552
|
+
}>;
|
|
3974
4553
|
}, "strip", zod.ZodTypeAny, {
|
|
3975
4554
|
status: "active" | "sending_suspended" | "archived";
|
|
3976
4555
|
name: string;
|
|
3977
|
-
createdAt: string | null;
|
|
3978
|
-
updatedAt: string | null;
|
|
3979
|
-
teamId: string;
|
|
3980
|
-
externalId: string;
|
|
3981
|
-
teamCanChangeDefault: boolean;
|
|
3982
|
-
teamEspEnabled: boolean;
|
|
3983
|
-
deliverySource: {
|
|
3984
|
-
type: "organization";
|
|
3985
|
-
};
|
|
3986
4556
|
postalAddress: {
|
|
3987
4557
|
line1: string;
|
|
3988
4558
|
country: string;
|
|
@@ -3991,18 +4561,28 @@ declare const routes$6: {
|
|
|
3991
4561
|
region?: string | undefined;
|
|
3992
4562
|
postalCode?: string | undefined;
|
|
3993
4563
|
} | null;
|
|
3994
|
-
}, {
|
|
3995
|
-
status: "active" | "sending_suspended" | "archived";
|
|
3996
|
-
name: string;
|
|
3997
|
-
createdAt: string | null;
|
|
3998
4564
|
updatedAt: string | null;
|
|
3999
4565
|
teamId: string;
|
|
4000
4566
|
externalId: string;
|
|
4001
|
-
|
|
4567
|
+
createdAt: string | null;
|
|
4002
4568
|
teamEspEnabled: boolean;
|
|
4569
|
+
teamCanChangeDefault: boolean;
|
|
4003
4570
|
deliverySource: {
|
|
4004
4571
|
type: "organization";
|
|
4005
4572
|
};
|
|
4573
|
+
health: {
|
|
4574
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4575
|
+
reason: string | null;
|
|
4576
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4577
|
+
last7Days: {
|
|
4578
|
+
bounced: number;
|
|
4579
|
+
complained: number;
|
|
4580
|
+
sent: number;
|
|
4581
|
+
};
|
|
4582
|
+
};
|
|
4583
|
+
}, {
|
|
4584
|
+
status: "active" | "sending_suspended" | "archived";
|
|
4585
|
+
name: string;
|
|
4006
4586
|
postalAddress: {
|
|
4007
4587
|
line1: string;
|
|
4008
4588
|
country: string;
|
|
@@ -4011,6 +4591,25 @@ declare const routes$6: {
|
|
|
4011
4591
|
region?: string | undefined;
|
|
4012
4592
|
postalCode?: string | undefined;
|
|
4013
4593
|
} | null;
|
|
4594
|
+
updatedAt: string | null;
|
|
4595
|
+
teamId: string;
|
|
4596
|
+
externalId: string;
|
|
4597
|
+
createdAt: string | null;
|
|
4598
|
+
teamEspEnabled: boolean;
|
|
4599
|
+
teamCanChangeDefault: boolean;
|
|
4600
|
+
deliverySource: {
|
|
4601
|
+
type: "organization";
|
|
4602
|
+
};
|
|
4603
|
+
health: {
|
|
4604
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4605
|
+
reason: string | null;
|
|
4606
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4607
|
+
last7Days: {
|
|
4608
|
+
bounced: number;
|
|
4609
|
+
complained: number;
|
|
4610
|
+
sent: number;
|
|
4611
|
+
};
|
|
4612
|
+
};
|
|
4014
4613
|
}>;
|
|
4015
4614
|
403: zod.ZodObject<{
|
|
4016
4615
|
error: zod.ZodString;
|
|
@@ -4061,8 +4660,253 @@ declare const routes$6: {
|
|
|
4061
4660
|
};
|
|
4062
4661
|
path: "/provisioning/teams/:teamId";
|
|
4063
4662
|
};
|
|
4663
|
+
getTeamSendingDomain: {
|
|
4664
|
+
summary: "Check a provisioned team's own sending domain";
|
|
4665
|
+
description: "Re-checks the domain with the shared ESP and DNS, at most every 30 seconds (calls in between return the last check). Requires `teams:read`. `null` when the team has none.";
|
|
4666
|
+
metadata: {
|
|
4667
|
+
tag: string;
|
|
4668
|
+
};
|
|
4669
|
+
method: "GET";
|
|
4670
|
+
responses: {
|
|
4671
|
+
200: zod.ZodNullable<zod.ZodObject<{
|
|
4672
|
+
domain: zod.ZodString;
|
|
4673
|
+
fromEmail: zod.ZodNullable<zod.ZodString>;
|
|
4674
|
+
status: zod.ZodEnum<["pending", "verified", "failing"]>;
|
|
4675
|
+
dkim: zod.ZodEnum<["pending", "verified", "failed"]>;
|
|
4676
|
+
dmarc: zod.ZodEnum<["pass", "missing"]>;
|
|
4677
|
+
inUse: zod.ZodBoolean;
|
|
4678
|
+
records: zod.ZodArray<zod.ZodObject<{
|
|
4679
|
+
type: zod.ZodEnum<["CNAME", "TXT"]>;
|
|
4680
|
+
name: zod.ZodString;
|
|
4681
|
+
value: zod.ZodString;
|
|
4682
|
+
purpose: zod.ZodEnum<["dkim", "dmarc"]>;
|
|
4683
|
+
present: zod.ZodOptional<zod.ZodBoolean>;
|
|
4684
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4685
|
+
value: string;
|
|
4686
|
+
type: "CNAME" | "TXT";
|
|
4687
|
+
name: string;
|
|
4688
|
+
purpose: "dkim" | "dmarc";
|
|
4689
|
+
present?: boolean | undefined;
|
|
4690
|
+
}, {
|
|
4691
|
+
value: string;
|
|
4692
|
+
type: "CNAME" | "TXT";
|
|
4693
|
+
name: string;
|
|
4694
|
+
purpose: "dkim" | "dmarc";
|
|
4695
|
+
present?: boolean | undefined;
|
|
4696
|
+
}>, "many">;
|
|
4697
|
+
verifiedAt: zod.ZodNullable<zod.ZodString>;
|
|
4698
|
+
failingSince: zod.ZodNullable<zod.ZodString>;
|
|
4699
|
+
graceEndsAt: zod.ZodNullable<zod.ZodString>;
|
|
4700
|
+
lastCheckedAt: zod.ZodNullable<zod.ZodString>;
|
|
4701
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4702
|
+
status: "pending" | "verified" | "failing";
|
|
4703
|
+
domain: string;
|
|
4704
|
+
verifiedAt: string | null;
|
|
4705
|
+
graceEndsAt: string | null;
|
|
4706
|
+
lastCheckedAt: string | null;
|
|
4707
|
+
fromEmail: string | null;
|
|
4708
|
+
inUse: boolean;
|
|
4709
|
+
dkim: "pending" | "verified" | "failed";
|
|
4710
|
+
dmarc: "pass" | "missing";
|
|
4711
|
+
records: {
|
|
4712
|
+
value: string;
|
|
4713
|
+
type: "CNAME" | "TXT";
|
|
4714
|
+
name: string;
|
|
4715
|
+
purpose: "dkim" | "dmarc";
|
|
4716
|
+
present?: boolean | undefined;
|
|
4717
|
+
}[];
|
|
4718
|
+
failingSince: string | null;
|
|
4719
|
+
}, {
|
|
4720
|
+
status: "pending" | "verified" | "failing";
|
|
4721
|
+
domain: string;
|
|
4722
|
+
verifiedAt: string | null;
|
|
4723
|
+
graceEndsAt: string | null;
|
|
4724
|
+
lastCheckedAt: string | null;
|
|
4725
|
+
fromEmail: string | null;
|
|
4726
|
+
inUse: boolean;
|
|
4727
|
+
dkim: "pending" | "verified" | "failed";
|
|
4728
|
+
dmarc: "pass" | "missing";
|
|
4729
|
+
records: {
|
|
4730
|
+
value: string;
|
|
4731
|
+
type: "CNAME" | "TXT";
|
|
4732
|
+
name: string;
|
|
4733
|
+
purpose: "dkim" | "dmarc";
|
|
4734
|
+
present?: boolean | undefined;
|
|
4735
|
+
}[];
|
|
4736
|
+
failingSince: string | null;
|
|
4737
|
+
}>>;
|
|
4738
|
+
403: zod.ZodObject<{
|
|
4739
|
+
error: zod.ZodString;
|
|
4740
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4741
|
+
error: string;
|
|
4742
|
+
}, {
|
|
4743
|
+
error: string;
|
|
4744
|
+
}>;
|
|
4745
|
+
404: zod.ZodObject<{
|
|
4746
|
+
error: zod.ZodString;
|
|
4747
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4748
|
+
error: string;
|
|
4749
|
+
}, {
|
|
4750
|
+
error: string;
|
|
4751
|
+
}>;
|
|
4752
|
+
422: zod.ZodObject<{
|
|
4753
|
+
error: zod.ZodString;
|
|
4754
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4755
|
+
error: string;
|
|
4756
|
+
}, {
|
|
4757
|
+
error: string;
|
|
4758
|
+
}>;
|
|
4759
|
+
};
|
|
4760
|
+
path: "/provisioning/teams/:teamId/sending-domain";
|
|
4761
|
+
};
|
|
4762
|
+
setTeamSendingDomain: {
|
|
4763
|
+
summary: "Set a provisioned team's own From address and register its domain";
|
|
4764
|
+
description: "Requires `teams:manage`. Returns the DNS records the team must publish (Amazon SES Easy DKIM CNAMEs and a DMARC TXT record). Errors as for the organization route.";
|
|
4765
|
+
metadata: {
|
|
4766
|
+
tag: string;
|
|
4767
|
+
};
|
|
4768
|
+
method: "PUT";
|
|
4769
|
+
body: zod.ZodObject<{
|
|
4770
|
+
fromEmail: zod.ZodString;
|
|
4771
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4772
|
+
fromEmail: string;
|
|
4773
|
+
}, {
|
|
4774
|
+
fromEmail: string;
|
|
4775
|
+
}>;
|
|
4776
|
+
responses: {
|
|
4777
|
+
200: zod.ZodObject<{
|
|
4778
|
+
domain: zod.ZodString;
|
|
4779
|
+
fromEmail: zod.ZodNullable<zod.ZodString>;
|
|
4780
|
+
status: zod.ZodEnum<["pending", "verified", "failing"]>;
|
|
4781
|
+
dkim: zod.ZodEnum<["pending", "verified", "failed"]>;
|
|
4782
|
+
dmarc: zod.ZodEnum<["pass", "missing"]>;
|
|
4783
|
+
inUse: zod.ZodBoolean;
|
|
4784
|
+
records: zod.ZodArray<zod.ZodObject<{
|
|
4785
|
+
type: zod.ZodEnum<["CNAME", "TXT"]>;
|
|
4786
|
+
name: zod.ZodString;
|
|
4787
|
+
value: zod.ZodString;
|
|
4788
|
+
purpose: zod.ZodEnum<["dkim", "dmarc"]>;
|
|
4789
|
+
present: zod.ZodOptional<zod.ZodBoolean>;
|
|
4790
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4791
|
+
value: string;
|
|
4792
|
+
type: "CNAME" | "TXT";
|
|
4793
|
+
name: string;
|
|
4794
|
+
purpose: "dkim" | "dmarc";
|
|
4795
|
+
present?: boolean | undefined;
|
|
4796
|
+
}, {
|
|
4797
|
+
value: string;
|
|
4798
|
+
type: "CNAME" | "TXT";
|
|
4799
|
+
name: string;
|
|
4800
|
+
purpose: "dkim" | "dmarc";
|
|
4801
|
+
present?: boolean | undefined;
|
|
4802
|
+
}>, "many">;
|
|
4803
|
+
verifiedAt: zod.ZodNullable<zod.ZodString>;
|
|
4804
|
+
failingSince: zod.ZodNullable<zod.ZodString>;
|
|
4805
|
+
graceEndsAt: zod.ZodNullable<zod.ZodString>;
|
|
4806
|
+
lastCheckedAt: zod.ZodNullable<zod.ZodString>;
|
|
4807
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4808
|
+
status: "pending" | "verified" | "failing";
|
|
4809
|
+
domain: string;
|
|
4810
|
+
verifiedAt: string | null;
|
|
4811
|
+
graceEndsAt: string | null;
|
|
4812
|
+
lastCheckedAt: string | null;
|
|
4813
|
+
fromEmail: string | null;
|
|
4814
|
+
inUse: boolean;
|
|
4815
|
+
dkim: "pending" | "verified" | "failed";
|
|
4816
|
+
dmarc: "pass" | "missing";
|
|
4817
|
+
records: {
|
|
4818
|
+
value: string;
|
|
4819
|
+
type: "CNAME" | "TXT";
|
|
4820
|
+
name: string;
|
|
4821
|
+
purpose: "dkim" | "dmarc";
|
|
4822
|
+
present?: boolean | undefined;
|
|
4823
|
+
}[];
|
|
4824
|
+
failingSince: string | null;
|
|
4825
|
+
}, {
|
|
4826
|
+
status: "pending" | "verified" | "failing";
|
|
4827
|
+
domain: string;
|
|
4828
|
+
verifiedAt: string | null;
|
|
4829
|
+
graceEndsAt: string | null;
|
|
4830
|
+
lastCheckedAt: string | null;
|
|
4831
|
+
fromEmail: string | null;
|
|
4832
|
+
inUse: boolean;
|
|
4833
|
+
dkim: "pending" | "verified" | "failed";
|
|
4834
|
+
dmarc: "pass" | "missing";
|
|
4835
|
+
records: {
|
|
4836
|
+
value: string;
|
|
4837
|
+
type: "CNAME" | "TXT";
|
|
4838
|
+
name: string;
|
|
4839
|
+
purpose: "dkim" | "dmarc";
|
|
4840
|
+
present?: boolean | undefined;
|
|
4841
|
+
}[];
|
|
4842
|
+
failingSince: string | null;
|
|
4843
|
+
}>;
|
|
4844
|
+
400: zod.ZodObject<{
|
|
4845
|
+
error: zod.ZodString;
|
|
4846
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4847
|
+
error: string;
|
|
4848
|
+
}, {
|
|
4849
|
+
error: string;
|
|
4850
|
+
}>;
|
|
4851
|
+
403: zod.ZodObject<{
|
|
4852
|
+
error: zod.ZodString;
|
|
4853
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4854
|
+
error: string;
|
|
4855
|
+
}, {
|
|
4856
|
+
error: string;
|
|
4857
|
+
}>;
|
|
4858
|
+
404: zod.ZodObject<{
|
|
4859
|
+
error: zod.ZodString;
|
|
4860
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4861
|
+
error: string;
|
|
4862
|
+
}, {
|
|
4863
|
+
error: string;
|
|
4864
|
+
}>;
|
|
4865
|
+
409: zod.ZodObject<{
|
|
4866
|
+
error: zod.ZodString;
|
|
4867
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4868
|
+
error: string;
|
|
4869
|
+
}, {
|
|
4870
|
+
error: string;
|
|
4871
|
+
}>;
|
|
4872
|
+
422: zod.ZodObject<{
|
|
4873
|
+
error: zod.ZodString;
|
|
4874
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4875
|
+
error: string;
|
|
4876
|
+
}, {
|
|
4877
|
+
error: string;
|
|
4878
|
+
}>;
|
|
4879
|
+
};
|
|
4880
|
+
path: "/provisioning/teams/:teamId/sending-domain";
|
|
4881
|
+
};
|
|
4882
|
+
removeTeamSendingDomain: {
|
|
4883
|
+
summary: "Stop using a provisioned team's own sending domain";
|
|
4884
|
+
metadata: {
|
|
4885
|
+
tag: string;
|
|
4886
|
+
};
|
|
4887
|
+
method: "DELETE";
|
|
4888
|
+
responses: {
|
|
4889
|
+
204: typeof _ts_rest_core.ContractNoBody;
|
|
4890
|
+
403: zod.ZodObject<{
|
|
4891
|
+
error: zod.ZodString;
|
|
4892
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4893
|
+
error: string;
|
|
4894
|
+
}, {
|
|
4895
|
+
error: string;
|
|
4896
|
+
}>;
|
|
4897
|
+
404: zod.ZodObject<{
|
|
4898
|
+
error: zod.ZodString;
|
|
4899
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4900
|
+
error: string;
|
|
4901
|
+
}, {
|
|
4902
|
+
error: string;
|
|
4903
|
+
}>;
|
|
4904
|
+
};
|
|
4905
|
+
path: "/provisioning/teams/:teamId/sending-domain";
|
|
4906
|
+
};
|
|
4064
4907
|
getTeamUsage: {
|
|
4065
4908
|
summary: "Get organization-delivery quota usage for a provisioned team";
|
|
4909
|
+
description: "Returns the team's day and month quota on the shared mailbox, plus its `health` (see Get a provisioned team).";
|
|
4066
4910
|
metadata: {
|
|
4067
4911
|
tag: string;
|
|
4068
4912
|
};
|
|
@@ -4107,7 +4951,54 @@ declare const routes$6: {
|
|
|
4107
4951
|
remaining: number | null;
|
|
4108
4952
|
resetsAt: string;
|
|
4109
4953
|
}>;
|
|
4954
|
+
} & {
|
|
4955
|
+
health: zod.ZodObject<{
|
|
4956
|
+
status: zod.ZodEnum<["normal", "warned", "marketing_paused", "all_paused"]>;
|
|
4957
|
+
reason: zod.ZodNullable<zod.ZodString>;
|
|
4958
|
+
scope: zod.ZodNullable<zod.ZodEnum<["team", "shared_mailbox"]>>;
|
|
4959
|
+
last7Days: zod.ZodObject<{
|
|
4960
|
+
sent: zod.ZodNumber;
|
|
4961
|
+
bounced: zod.ZodNumber;
|
|
4962
|
+
complained: zod.ZodNumber;
|
|
4963
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4964
|
+
bounced: number;
|
|
4965
|
+
complained: number;
|
|
4966
|
+
sent: number;
|
|
4967
|
+
}, {
|
|
4968
|
+
bounced: number;
|
|
4969
|
+
complained: number;
|
|
4970
|
+
sent: number;
|
|
4971
|
+
}>;
|
|
4972
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4973
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4974
|
+
reason: string | null;
|
|
4975
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4976
|
+
last7Days: {
|
|
4977
|
+
bounced: number;
|
|
4978
|
+
complained: number;
|
|
4979
|
+
sent: number;
|
|
4980
|
+
};
|
|
4981
|
+
}, {
|
|
4982
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4983
|
+
reason: string | null;
|
|
4984
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4985
|
+
last7Days: {
|
|
4986
|
+
bounced: number;
|
|
4987
|
+
complained: number;
|
|
4988
|
+
sent: number;
|
|
4989
|
+
};
|
|
4990
|
+
}>;
|
|
4110
4991
|
}, "strip", zod.ZodTypeAny, {
|
|
4992
|
+
health: {
|
|
4993
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
4994
|
+
reason: string | null;
|
|
4995
|
+
scope: "team" | "shared_mailbox" | null;
|
|
4996
|
+
last7Days: {
|
|
4997
|
+
bounced: number;
|
|
4998
|
+
complained: number;
|
|
4999
|
+
sent: number;
|
|
5000
|
+
};
|
|
5001
|
+
};
|
|
4111
5002
|
day: {
|
|
4112
5003
|
limit: number | null;
|
|
4113
5004
|
accepted: number;
|
|
@@ -4123,6 +5014,16 @@ declare const routes$6: {
|
|
|
4123
5014
|
resetsAt: string;
|
|
4124
5015
|
};
|
|
4125
5016
|
}, {
|
|
5017
|
+
health: {
|
|
5018
|
+
status: "normal" | "warned" | "marketing_paused" | "all_paused";
|
|
5019
|
+
reason: string | null;
|
|
5020
|
+
scope: "team" | "shared_mailbox" | null;
|
|
5021
|
+
last7Days: {
|
|
5022
|
+
bounced: number;
|
|
5023
|
+
complained: number;
|
|
5024
|
+
sent: number;
|
|
5025
|
+
};
|
|
5026
|
+
};
|
|
4126
5027
|
day: {
|
|
4127
5028
|
limit: number | null;
|
|
4128
5029
|
accepted: number;
|
|
@@ -4619,8 +5520,8 @@ declare const routes$5: {
|
|
|
4619
5520
|
})[];
|
|
4620
5521
|
};
|
|
4621
5522
|
name: string;
|
|
4622
|
-
createdAt: string | null;
|
|
4623
5523
|
updatedAt: string | null;
|
|
5524
|
+
createdAt: string | null;
|
|
4624
5525
|
segmentId: string;
|
|
4625
5526
|
}, {
|
|
4626
5527
|
filter: {
|
|
@@ -4654,8 +5555,8 @@ declare const routes$5: {
|
|
|
4654
5555
|
})[];
|
|
4655
5556
|
};
|
|
4656
5557
|
name: string;
|
|
4657
|
-
createdAt: string | null;
|
|
4658
5558
|
updatedAt: string | null;
|
|
5559
|
+
createdAt: string | null;
|
|
4659
5560
|
segmentId: string;
|
|
4660
5561
|
}>;
|
|
4661
5562
|
409: zod.ZodObject<{
|
|
@@ -4707,8 +5608,8 @@ declare const routes$5: {
|
|
|
4707
5608
|
})[];
|
|
4708
5609
|
};
|
|
4709
5610
|
name: string;
|
|
4710
|
-
createdAt: string | null;
|
|
4711
5611
|
updatedAt: string | null;
|
|
5612
|
+
createdAt: string | null;
|
|
4712
5613
|
segmentId: string;
|
|
4713
5614
|
}[]>;
|
|
4714
5615
|
};
|
|
@@ -4915,8 +5816,8 @@ declare const routes$5: {
|
|
|
4915
5816
|
})[];
|
|
4916
5817
|
};
|
|
4917
5818
|
name: string;
|
|
4918
|
-
createdAt: string | null;
|
|
4919
5819
|
updatedAt: string | null;
|
|
5820
|
+
createdAt: string | null;
|
|
4920
5821
|
segmentId: string;
|
|
4921
5822
|
}, {
|
|
4922
5823
|
filter: {
|
|
@@ -4950,8 +5851,8 @@ declare const routes$5: {
|
|
|
4950
5851
|
})[];
|
|
4951
5852
|
};
|
|
4952
5853
|
name: string;
|
|
4953
|
-
createdAt: string | null;
|
|
4954
5854
|
updatedAt: string | null;
|
|
5855
|
+
createdAt: string | null;
|
|
4955
5856
|
segmentId: string;
|
|
4956
5857
|
}>;
|
|
4957
5858
|
404: zod.ZodObject<{
|
|
@@ -5389,8 +6290,8 @@ declare const routes$5: {
|
|
|
5389
6290
|
})[];
|
|
5390
6291
|
};
|
|
5391
6292
|
name: string;
|
|
5392
|
-
createdAt: string | null;
|
|
5393
6293
|
updatedAt: string | null;
|
|
6294
|
+
createdAt: string | null;
|
|
5394
6295
|
segmentId: string;
|
|
5395
6296
|
}, {
|
|
5396
6297
|
filter: {
|
|
@@ -5424,8 +6325,8 @@ declare const routes$5: {
|
|
|
5424
6325
|
})[];
|
|
5425
6326
|
};
|
|
5426
6327
|
name: string;
|
|
5427
|
-
createdAt: string | null;
|
|
5428
6328
|
updatedAt: string | null;
|
|
6329
|
+
createdAt: string | null;
|
|
5429
6330
|
segmentId: string;
|
|
5430
6331
|
}>;
|
|
5431
6332
|
404: zod.ZodObject<{
|
|
@@ -5613,8 +6514,8 @@ declare const routes$4: {
|
|
|
5613
6514
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
5614
6515
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
5615
6516
|
}, "strip", zod.ZodTypeAny, {
|
|
5616
|
-
createdAt: string | null;
|
|
5617
6517
|
updatedAt: string | null;
|
|
6518
|
+
createdAt: string | null;
|
|
5618
6519
|
content: {
|
|
5619
6520
|
style: Record<string, any>;
|
|
5620
6521
|
meta: Record<string, any>;
|
|
@@ -5640,8 +6541,8 @@ declare const routes$4: {
|
|
|
5640
6541
|
contentScanVerdict?: string | null | undefined;
|
|
5641
6542
|
hasUnpublishedChanges?: boolean | undefined;
|
|
5642
6543
|
}, {
|
|
5643
|
-
createdAt: string | null;
|
|
5644
6544
|
updatedAt: string | null;
|
|
6545
|
+
createdAt: string | null;
|
|
5645
6546
|
content: {
|
|
5646
6547
|
style: Record<string, any>;
|
|
5647
6548
|
meta: Record<string, any>;
|
|
@@ -5675,23 +6576,23 @@ declare const routes$4: {
|
|
|
5675
6576
|
remaining: zod.ZodNumber;
|
|
5676
6577
|
estimatedCompletionAt: zod.ZodString;
|
|
5677
6578
|
}, "strip", zod.ZodTypeAny, {
|
|
5678
|
-
remaining: number;
|
|
5679
|
-
reason: "new_account";
|
|
5680
6579
|
dailyLimit: number;
|
|
6580
|
+
reason: "new_account";
|
|
6581
|
+
remaining: number;
|
|
5681
6582
|
hourlyLimit: number;
|
|
5682
6583
|
estimatedCompletionAt: string;
|
|
5683
6584
|
}, {
|
|
5684
|
-
remaining: number;
|
|
5685
|
-
reason: "new_account";
|
|
5686
6585
|
dailyLimit: number;
|
|
6586
|
+
reason: "new_account";
|
|
6587
|
+
remaining: number;
|
|
5687
6588
|
hourlyLimit: number;
|
|
5688
6589
|
estimatedCompletionAt: string;
|
|
5689
6590
|
}>>>;
|
|
5690
6591
|
}, "strip", zod.ZodTypeAny, {
|
|
5691
6592
|
type: string;
|
|
5692
6593
|
status: string;
|
|
5693
|
-
createdAt: string | null;
|
|
5694
6594
|
updatedAt: string | null;
|
|
6595
|
+
createdAt: string | null;
|
|
5695
6596
|
deliverySource: {
|
|
5696
6597
|
type: "organization";
|
|
5697
6598
|
} | {
|
|
@@ -5704,8 +6605,8 @@ declare const routes$4: {
|
|
|
5704
6605
|
entrants: string[];
|
|
5705
6606
|
viewInBrowser: boolean;
|
|
5706
6607
|
emails: {
|
|
5707
|
-
createdAt: string | null;
|
|
5708
6608
|
updatedAt: string | null;
|
|
6609
|
+
createdAt: string | null;
|
|
5709
6610
|
content: {
|
|
5710
6611
|
style: Record<string, any>;
|
|
5711
6612
|
meta: Record<string, any>;
|
|
@@ -5743,17 +6644,17 @@ declare const routes$4: {
|
|
|
5743
6644
|
report?: any;
|
|
5744
6645
|
archivedAt?: string | null | undefined;
|
|
5745
6646
|
pacing?: {
|
|
5746
|
-
remaining: number;
|
|
5747
|
-
reason: "new_account";
|
|
5748
6647
|
dailyLimit: number;
|
|
6648
|
+
reason: "new_account";
|
|
6649
|
+
remaining: number;
|
|
5749
6650
|
hourlyLimit: number;
|
|
5750
6651
|
estimatedCompletionAt: string;
|
|
5751
6652
|
} | null | undefined;
|
|
5752
6653
|
}, {
|
|
5753
6654
|
type: string;
|
|
5754
6655
|
status: string;
|
|
5755
|
-
createdAt: string | null;
|
|
5756
6656
|
updatedAt: string | null;
|
|
6657
|
+
createdAt: string | null;
|
|
5757
6658
|
deliverySource: {
|
|
5758
6659
|
type: "organization";
|
|
5759
6660
|
} | {
|
|
@@ -5766,8 +6667,8 @@ declare const routes$4: {
|
|
|
5766
6667
|
entrants: string[];
|
|
5767
6668
|
viewInBrowser: boolean;
|
|
5768
6669
|
emails: {
|
|
5769
|
-
createdAt: string | null;
|
|
5770
6670
|
updatedAt: string | null;
|
|
6671
|
+
createdAt: string | null;
|
|
5771
6672
|
content: {
|
|
5772
6673
|
style: Record<string, any>;
|
|
5773
6674
|
meta: Record<string, any>;
|
|
@@ -5805,9 +6706,9 @@ declare const routes$4: {
|
|
|
5805
6706
|
report?: any;
|
|
5806
6707
|
archivedAt?: string | null | undefined;
|
|
5807
6708
|
pacing?: {
|
|
5808
|
-
remaining: number;
|
|
5809
|
-
reason: "new_account";
|
|
5810
6709
|
dailyLimit: number;
|
|
6710
|
+
reason: "new_account";
|
|
6711
|
+
remaining: number;
|
|
5811
6712
|
hourlyLimit: number;
|
|
5812
6713
|
estimatedCompletionAt: string;
|
|
5813
6714
|
} | null | undefined;
|
|
@@ -5950,8 +6851,8 @@ declare const routes$4: {
|
|
|
5950
6851
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
5951
6852
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
5952
6853
|
}, "strip", zod.ZodTypeAny, {
|
|
5953
|
-
createdAt: string | null;
|
|
5954
6854
|
updatedAt: string | null;
|
|
6855
|
+
createdAt: string | null;
|
|
5955
6856
|
content: {
|
|
5956
6857
|
style: Record<string, any>;
|
|
5957
6858
|
meta: Record<string, any>;
|
|
@@ -5977,8 +6878,8 @@ declare const routes$4: {
|
|
|
5977
6878
|
contentScanVerdict?: string | null | undefined;
|
|
5978
6879
|
hasUnpublishedChanges?: boolean | undefined;
|
|
5979
6880
|
}, {
|
|
5980
|
-
createdAt: string | null;
|
|
5981
6881
|
updatedAt: string | null;
|
|
6882
|
+
createdAt: string | null;
|
|
5982
6883
|
content: {
|
|
5983
6884
|
style: Record<string, any>;
|
|
5984
6885
|
meta: Record<string, any>;
|
|
@@ -6012,23 +6913,23 @@ declare const routes$4: {
|
|
|
6012
6913
|
remaining: zod.ZodNumber;
|
|
6013
6914
|
estimatedCompletionAt: zod.ZodString;
|
|
6014
6915
|
}, "strip", zod.ZodTypeAny, {
|
|
6015
|
-
remaining: number;
|
|
6016
|
-
reason: "new_account";
|
|
6017
6916
|
dailyLimit: number;
|
|
6917
|
+
reason: "new_account";
|
|
6918
|
+
remaining: number;
|
|
6018
6919
|
hourlyLimit: number;
|
|
6019
6920
|
estimatedCompletionAt: string;
|
|
6020
6921
|
}, {
|
|
6021
|
-
remaining: number;
|
|
6022
|
-
reason: "new_account";
|
|
6023
6922
|
dailyLimit: number;
|
|
6923
|
+
reason: "new_account";
|
|
6924
|
+
remaining: number;
|
|
6024
6925
|
hourlyLimit: number;
|
|
6025
6926
|
estimatedCompletionAt: string;
|
|
6026
6927
|
}>>>;
|
|
6027
6928
|
}, "strip", zod.ZodTypeAny, {
|
|
6028
6929
|
type: string;
|
|
6029
6930
|
status: string;
|
|
6030
|
-
createdAt: string | null;
|
|
6031
6931
|
updatedAt: string | null;
|
|
6932
|
+
createdAt: string | null;
|
|
6032
6933
|
deliverySource: {
|
|
6033
6934
|
type: "organization";
|
|
6034
6935
|
} | {
|
|
@@ -6041,8 +6942,8 @@ declare const routes$4: {
|
|
|
6041
6942
|
entrants: string[];
|
|
6042
6943
|
viewInBrowser: boolean;
|
|
6043
6944
|
emails: {
|
|
6044
|
-
createdAt: string | null;
|
|
6045
6945
|
updatedAt: string | null;
|
|
6946
|
+
createdAt: string | null;
|
|
6046
6947
|
content: {
|
|
6047
6948
|
style: Record<string, any>;
|
|
6048
6949
|
meta: Record<string, any>;
|
|
@@ -6080,17 +6981,17 @@ declare const routes$4: {
|
|
|
6080
6981
|
report?: any;
|
|
6081
6982
|
archivedAt?: string | null | undefined;
|
|
6082
6983
|
pacing?: {
|
|
6083
|
-
remaining: number;
|
|
6084
|
-
reason: "new_account";
|
|
6085
6984
|
dailyLimit: number;
|
|
6985
|
+
reason: "new_account";
|
|
6986
|
+
remaining: number;
|
|
6086
6987
|
hourlyLimit: number;
|
|
6087
6988
|
estimatedCompletionAt: string;
|
|
6088
6989
|
} | null | undefined;
|
|
6089
6990
|
}, {
|
|
6090
6991
|
type: string;
|
|
6091
6992
|
status: string;
|
|
6092
|
-
createdAt: string | null;
|
|
6093
6993
|
updatedAt: string | null;
|
|
6994
|
+
createdAt: string | null;
|
|
6094
6995
|
deliverySource: {
|
|
6095
6996
|
type: "organization";
|
|
6096
6997
|
} | {
|
|
@@ -6103,8 +7004,8 @@ declare const routes$4: {
|
|
|
6103
7004
|
entrants: string[];
|
|
6104
7005
|
viewInBrowser: boolean;
|
|
6105
7006
|
emails: {
|
|
6106
|
-
createdAt: string | null;
|
|
6107
7007
|
updatedAt: string | null;
|
|
7008
|
+
createdAt: string | null;
|
|
6108
7009
|
content: {
|
|
6109
7010
|
style: Record<string, any>;
|
|
6110
7011
|
meta: Record<string, any>;
|
|
@@ -6142,9 +7043,9 @@ declare const routes$4: {
|
|
|
6142
7043
|
report?: any;
|
|
6143
7044
|
archivedAt?: string | null | undefined;
|
|
6144
7045
|
pacing?: {
|
|
6145
|
-
remaining: number;
|
|
6146
|
-
reason: "new_account";
|
|
6147
7046
|
dailyLimit: number;
|
|
7047
|
+
reason: "new_account";
|
|
7048
|
+
remaining: number;
|
|
6148
7049
|
hourlyLimit: number;
|
|
6149
7050
|
estimatedCompletionAt: string;
|
|
6150
7051
|
} | null | undefined;
|
|
@@ -6154,8 +7055,8 @@ declare const routes$4: {
|
|
|
6154
7055
|
items: {
|
|
6155
7056
|
type: string;
|
|
6156
7057
|
status: string;
|
|
6157
|
-
createdAt: string | null;
|
|
6158
7058
|
updatedAt: string | null;
|
|
7059
|
+
createdAt: string | null;
|
|
6159
7060
|
deliverySource: {
|
|
6160
7061
|
type: "organization";
|
|
6161
7062
|
} | {
|
|
@@ -6168,8 +7069,8 @@ declare const routes$4: {
|
|
|
6168
7069
|
entrants: string[];
|
|
6169
7070
|
viewInBrowser: boolean;
|
|
6170
7071
|
emails: {
|
|
6171
|
-
createdAt: string | null;
|
|
6172
7072
|
updatedAt: string | null;
|
|
7073
|
+
createdAt: string | null;
|
|
6173
7074
|
content: {
|
|
6174
7075
|
style: Record<string, any>;
|
|
6175
7076
|
meta: Record<string, any>;
|
|
@@ -6207,9 +7108,9 @@ declare const routes$4: {
|
|
|
6207
7108
|
report?: any;
|
|
6208
7109
|
archivedAt?: string | null | undefined;
|
|
6209
7110
|
pacing?: {
|
|
6210
|
-
remaining: number;
|
|
6211
|
-
reason: "new_account";
|
|
6212
7111
|
dailyLimit: number;
|
|
7112
|
+
reason: "new_account";
|
|
7113
|
+
remaining: number;
|
|
6213
7114
|
hourlyLimit: number;
|
|
6214
7115
|
estimatedCompletionAt: string;
|
|
6215
7116
|
} | null | undefined;
|
|
@@ -6219,8 +7120,8 @@ declare const routes$4: {
|
|
|
6219
7120
|
items: {
|
|
6220
7121
|
type: string;
|
|
6221
7122
|
status: string;
|
|
6222
|
-
createdAt: string | null;
|
|
6223
7123
|
updatedAt: string | null;
|
|
7124
|
+
createdAt: string | null;
|
|
6224
7125
|
deliverySource: {
|
|
6225
7126
|
type: "organization";
|
|
6226
7127
|
} | {
|
|
@@ -6233,8 +7134,8 @@ declare const routes$4: {
|
|
|
6233
7134
|
entrants: string[];
|
|
6234
7135
|
viewInBrowser: boolean;
|
|
6235
7136
|
emails: {
|
|
6236
|
-
createdAt: string | null;
|
|
6237
7137
|
updatedAt: string | null;
|
|
7138
|
+
createdAt: string | null;
|
|
6238
7139
|
content: {
|
|
6239
7140
|
style: Record<string, any>;
|
|
6240
7141
|
meta: Record<string, any>;
|
|
@@ -6272,9 +7173,9 @@ declare const routes$4: {
|
|
|
6272
7173
|
report?: any;
|
|
6273
7174
|
archivedAt?: string | null | undefined;
|
|
6274
7175
|
pacing?: {
|
|
6275
|
-
remaining: number;
|
|
6276
|
-
reason: "new_account";
|
|
6277
7176
|
dailyLimit: number;
|
|
7177
|
+
reason: "new_account";
|
|
7178
|
+
remaining: number;
|
|
6278
7179
|
hourlyLimit: number;
|
|
6279
7180
|
estimatedCompletionAt: string;
|
|
6280
7181
|
} | null | undefined;
|
|
@@ -6387,8 +7288,8 @@ declare const routes$4: {
|
|
|
6387
7288
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
6388
7289
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
6389
7290
|
}, "strip", zod.ZodTypeAny, {
|
|
6390
|
-
createdAt: string | null;
|
|
6391
7291
|
updatedAt: string | null;
|
|
7292
|
+
createdAt: string | null;
|
|
6392
7293
|
content: {
|
|
6393
7294
|
style: Record<string, any>;
|
|
6394
7295
|
meta: Record<string, any>;
|
|
@@ -6414,8 +7315,8 @@ declare const routes$4: {
|
|
|
6414
7315
|
contentScanVerdict?: string | null | undefined;
|
|
6415
7316
|
hasUnpublishedChanges?: boolean | undefined;
|
|
6416
7317
|
}, {
|
|
6417
|
-
createdAt: string | null;
|
|
6418
7318
|
updatedAt: string | null;
|
|
7319
|
+
createdAt: string | null;
|
|
6419
7320
|
content: {
|
|
6420
7321
|
style: Record<string, any>;
|
|
6421
7322
|
meta: Record<string, any>;
|
|
@@ -6449,23 +7350,23 @@ declare const routes$4: {
|
|
|
6449
7350
|
remaining: zod.ZodNumber;
|
|
6450
7351
|
estimatedCompletionAt: zod.ZodString;
|
|
6451
7352
|
}, "strip", zod.ZodTypeAny, {
|
|
6452
|
-
remaining: number;
|
|
6453
|
-
reason: "new_account";
|
|
6454
7353
|
dailyLimit: number;
|
|
7354
|
+
reason: "new_account";
|
|
7355
|
+
remaining: number;
|
|
6455
7356
|
hourlyLimit: number;
|
|
6456
7357
|
estimatedCompletionAt: string;
|
|
6457
7358
|
}, {
|
|
6458
|
-
remaining: number;
|
|
6459
|
-
reason: "new_account";
|
|
6460
7359
|
dailyLimit: number;
|
|
7360
|
+
reason: "new_account";
|
|
7361
|
+
remaining: number;
|
|
6461
7362
|
hourlyLimit: number;
|
|
6462
7363
|
estimatedCompletionAt: string;
|
|
6463
7364
|
}>>>;
|
|
6464
7365
|
}, "strip", zod.ZodTypeAny, {
|
|
6465
7366
|
type: string;
|
|
6466
7367
|
status: string;
|
|
6467
|
-
createdAt: string | null;
|
|
6468
7368
|
updatedAt: string | null;
|
|
7369
|
+
createdAt: string | null;
|
|
6469
7370
|
deliverySource: {
|
|
6470
7371
|
type: "organization";
|
|
6471
7372
|
} | {
|
|
@@ -6478,8 +7379,8 @@ declare const routes$4: {
|
|
|
6478
7379
|
entrants: string[];
|
|
6479
7380
|
viewInBrowser: boolean;
|
|
6480
7381
|
emails: {
|
|
6481
|
-
createdAt: string | null;
|
|
6482
7382
|
updatedAt: string | null;
|
|
7383
|
+
createdAt: string | null;
|
|
6483
7384
|
content: {
|
|
6484
7385
|
style: Record<string, any>;
|
|
6485
7386
|
meta: Record<string, any>;
|
|
@@ -6517,17 +7418,17 @@ declare const routes$4: {
|
|
|
6517
7418
|
report?: any;
|
|
6518
7419
|
archivedAt?: string | null | undefined;
|
|
6519
7420
|
pacing?: {
|
|
6520
|
-
remaining: number;
|
|
6521
|
-
reason: "new_account";
|
|
6522
7421
|
dailyLimit: number;
|
|
7422
|
+
reason: "new_account";
|
|
7423
|
+
remaining: number;
|
|
6523
7424
|
hourlyLimit: number;
|
|
6524
7425
|
estimatedCompletionAt: string;
|
|
6525
7426
|
} | null | undefined;
|
|
6526
7427
|
}, {
|
|
6527
7428
|
type: string;
|
|
6528
7429
|
status: string;
|
|
6529
|
-
createdAt: string | null;
|
|
6530
7430
|
updatedAt: string | null;
|
|
7431
|
+
createdAt: string | null;
|
|
6531
7432
|
deliverySource: {
|
|
6532
7433
|
type: "organization";
|
|
6533
7434
|
} | {
|
|
@@ -6540,8 +7441,8 @@ declare const routes$4: {
|
|
|
6540
7441
|
entrants: string[];
|
|
6541
7442
|
viewInBrowser: boolean;
|
|
6542
7443
|
emails: {
|
|
6543
|
-
createdAt: string | null;
|
|
6544
7444
|
updatedAt: string | null;
|
|
7445
|
+
createdAt: string | null;
|
|
6545
7446
|
content: {
|
|
6546
7447
|
style: Record<string, any>;
|
|
6547
7448
|
meta: Record<string, any>;
|
|
@@ -6579,9 +7480,9 @@ declare const routes$4: {
|
|
|
6579
7480
|
report?: any;
|
|
6580
7481
|
archivedAt?: string | null | undefined;
|
|
6581
7482
|
pacing?: {
|
|
6582
|
-
remaining: number;
|
|
6583
|
-
reason: "new_account";
|
|
6584
7483
|
dailyLimit: number;
|
|
7484
|
+
reason: "new_account";
|
|
7485
|
+
remaining: number;
|
|
6585
7486
|
hourlyLimit: number;
|
|
6586
7487
|
estimatedCompletionAt: string;
|
|
6587
7488
|
} | null | undefined;
|
|
@@ -7256,8 +8157,8 @@ declare const routes$4: {
|
|
|
7256
8157
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
7257
8158
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
7258
8159
|
}, "strip", zod.ZodTypeAny, {
|
|
7259
|
-
createdAt: string | null;
|
|
7260
8160
|
updatedAt: string | null;
|
|
8161
|
+
createdAt: string | null;
|
|
7261
8162
|
content: {
|
|
7262
8163
|
style: Record<string, any>;
|
|
7263
8164
|
meta: Record<string, any>;
|
|
@@ -7283,8 +8184,8 @@ declare const routes$4: {
|
|
|
7283
8184
|
contentScanVerdict?: string | null | undefined;
|
|
7284
8185
|
hasUnpublishedChanges?: boolean | undefined;
|
|
7285
8186
|
}, {
|
|
7286
|
-
createdAt: string | null;
|
|
7287
8187
|
updatedAt: string | null;
|
|
8188
|
+
createdAt: string | null;
|
|
7288
8189
|
content: {
|
|
7289
8190
|
style: Record<string, any>;
|
|
7290
8191
|
meta: Record<string, any>;
|
|
@@ -7318,23 +8219,23 @@ declare const routes$4: {
|
|
|
7318
8219
|
remaining: zod.ZodNumber;
|
|
7319
8220
|
estimatedCompletionAt: zod.ZodString;
|
|
7320
8221
|
}, "strip", zod.ZodTypeAny, {
|
|
7321
|
-
remaining: number;
|
|
7322
|
-
reason: "new_account";
|
|
7323
8222
|
dailyLimit: number;
|
|
8223
|
+
reason: "new_account";
|
|
8224
|
+
remaining: number;
|
|
7324
8225
|
hourlyLimit: number;
|
|
7325
8226
|
estimatedCompletionAt: string;
|
|
7326
8227
|
}, {
|
|
7327
|
-
remaining: number;
|
|
7328
|
-
reason: "new_account";
|
|
7329
8228
|
dailyLimit: number;
|
|
8229
|
+
reason: "new_account";
|
|
8230
|
+
remaining: number;
|
|
7330
8231
|
hourlyLimit: number;
|
|
7331
8232
|
estimatedCompletionAt: string;
|
|
7332
8233
|
}>>>;
|
|
7333
8234
|
}, "strip", zod.ZodTypeAny, {
|
|
7334
8235
|
type: string;
|
|
7335
8236
|
status: string;
|
|
7336
|
-
createdAt: string | null;
|
|
7337
8237
|
updatedAt: string | null;
|
|
8238
|
+
createdAt: string | null;
|
|
7338
8239
|
deliverySource: {
|
|
7339
8240
|
type: "organization";
|
|
7340
8241
|
} | {
|
|
@@ -7347,8 +8248,8 @@ declare const routes$4: {
|
|
|
7347
8248
|
entrants: string[];
|
|
7348
8249
|
viewInBrowser: boolean;
|
|
7349
8250
|
emails: {
|
|
7350
|
-
createdAt: string | null;
|
|
7351
8251
|
updatedAt: string | null;
|
|
8252
|
+
createdAt: string | null;
|
|
7352
8253
|
content: {
|
|
7353
8254
|
style: Record<string, any>;
|
|
7354
8255
|
meta: Record<string, any>;
|
|
@@ -7386,17 +8287,17 @@ declare const routes$4: {
|
|
|
7386
8287
|
report?: any;
|
|
7387
8288
|
archivedAt?: string | null | undefined;
|
|
7388
8289
|
pacing?: {
|
|
7389
|
-
remaining: number;
|
|
7390
|
-
reason: "new_account";
|
|
7391
8290
|
dailyLimit: number;
|
|
8291
|
+
reason: "new_account";
|
|
8292
|
+
remaining: number;
|
|
7392
8293
|
hourlyLimit: number;
|
|
7393
8294
|
estimatedCompletionAt: string;
|
|
7394
8295
|
} | null | undefined;
|
|
7395
8296
|
}, {
|
|
7396
8297
|
type: string;
|
|
7397
8298
|
status: string;
|
|
7398
|
-
createdAt: string | null;
|
|
7399
8299
|
updatedAt: string | null;
|
|
8300
|
+
createdAt: string | null;
|
|
7400
8301
|
deliverySource: {
|
|
7401
8302
|
type: "organization";
|
|
7402
8303
|
} | {
|
|
@@ -7409,8 +8310,8 @@ declare const routes$4: {
|
|
|
7409
8310
|
entrants: string[];
|
|
7410
8311
|
viewInBrowser: boolean;
|
|
7411
8312
|
emails: {
|
|
7412
|
-
createdAt: string | null;
|
|
7413
8313
|
updatedAt: string | null;
|
|
8314
|
+
createdAt: string | null;
|
|
7414
8315
|
content: {
|
|
7415
8316
|
style: Record<string, any>;
|
|
7416
8317
|
meta: Record<string, any>;
|
|
@@ -7448,9 +8349,9 @@ declare const routes$4: {
|
|
|
7448
8349
|
report?: any;
|
|
7449
8350
|
archivedAt?: string | null | undefined;
|
|
7450
8351
|
pacing?: {
|
|
7451
|
-
remaining: number;
|
|
7452
|
-
reason: "new_account";
|
|
7453
8352
|
dailyLimit: number;
|
|
8353
|
+
reason: "new_account";
|
|
8354
|
+
remaining: number;
|
|
7454
8355
|
hourlyLimit: number;
|
|
7455
8356
|
estimatedCompletionAt: string;
|
|
7456
8357
|
} | null | undefined;
|
|
@@ -7637,8 +8538,8 @@ declare const routes$4: {
|
|
|
7637
8538
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
7638
8539
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
7639
8540
|
}, "strip", zod.ZodTypeAny, {
|
|
7640
|
-
createdAt: string | null;
|
|
7641
8541
|
updatedAt: string | null;
|
|
8542
|
+
createdAt: string | null;
|
|
7642
8543
|
content: {
|
|
7643
8544
|
style: Record<string, any>;
|
|
7644
8545
|
meta: Record<string, any>;
|
|
@@ -7664,8 +8565,8 @@ declare const routes$4: {
|
|
|
7664
8565
|
contentScanVerdict?: string | null | undefined;
|
|
7665
8566
|
hasUnpublishedChanges?: boolean | undefined;
|
|
7666
8567
|
}, {
|
|
7667
|
-
createdAt: string | null;
|
|
7668
8568
|
updatedAt: string | null;
|
|
8569
|
+
createdAt: string | null;
|
|
7669
8570
|
content: {
|
|
7670
8571
|
style: Record<string, any>;
|
|
7671
8572
|
meta: Record<string, any>;
|
|
@@ -7699,23 +8600,23 @@ declare const routes$4: {
|
|
|
7699
8600
|
remaining: zod.ZodNumber;
|
|
7700
8601
|
estimatedCompletionAt: zod.ZodString;
|
|
7701
8602
|
}, "strip", zod.ZodTypeAny, {
|
|
7702
|
-
remaining: number;
|
|
7703
|
-
reason: "new_account";
|
|
7704
8603
|
dailyLimit: number;
|
|
8604
|
+
reason: "new_account";
|
|
8605
|
+
remaining: number;
|
|
7705
8606
|
hourlyLimit: number;
|
|
7706
8607
|
estimatedCompletionAt: string;
|
|
7707
8608
|
}, {
|
|
7708
|
-
remaining: number;
|
|
7709
|
-
reason: "new_account";
|
|
7710
8609
|
dailyLimit: number;
|
|
8610
|
+
reason: "new_account";
|
|
8611
|
+
remaining: number;
|
|
7711
8612
|
hourlyLimit: number;
|
|
7712
8613
|
estimatedCompletionAt: string;
|
|
7713
8614
|
}>>>;
|
|
7714
8615
|
}, "strip", zod.ZodTypeAny, {
|
|
7715
8616
|
type: string;
|
|
7716
8617
|
status: string;
|
|
7717
|
-
createdAt: string | null;
|
|
7718
8618
|
updatedAt: string | null;
|
|
8619
|
+
createdAt: string | null;
|
|
7719
8620
|
deliverySource: {
|
|
7720
8621
|
type: "organization";
|
|
7721
8622
|
} | {
|
|
@@ -7728,8 +8629,8 @@ declare const routes$4: {
|
|
|
7728
8629
|
entrants: string[];
|
|
7729
8630
|
viewInBrowser: boolean;
|
|
7730
8631
|
emails: {
|
|
7731
|
-
createdAt: string | null;
|
|
7732
8632
|
updatedAt: string | null;
|
|
8633
|
+
createdAt: string | null;
|
|
7733
8634
|
content: {
|
|
7734
8635
|
style: Record<string, any>;
|
|
7735
8636
|
meta: Record<string, any>;
|
|
@@ -7767,17 +8668,17 @@ declare const routes$4: {
|
|
|
7767
8668
|
report?: any;
|
|
7768
8669
|
archivedAt?: string | null | undefined;
|
|
7769
8670
|
pacing?: {
|
|
7770
|
-
remaining: number;
|
|
7771
|
-
reason: "new_account";
|
|
7772
8671
|
dailyLimit: number;
|
|
8672
|
+
reason: "new_account";
|
|
8673
|
+
remaining: number;
|
|
7773
8674
|
hourlyLimit: number;
|
|
7774
8675
|
estimatedCompletionAt: string;
|
|
7775
8676
|
} | null | undefined;
|
|
7776
8677
|
}, {
|
|
7777
8678
|
type: string;
|
|
7778
8679
|
status: string;
|
|
7779
|
-
createdAt: string | null;
|
|
7780
8680
|
updatedAt: string | null;
|
|
8681
|
+
createdAt: string | null;
|
|
7781
8682
|
deliverySource: {
|
|
7782
8683
|
type: "organization";
|
|
7783
8684
|
} | {
|
|
@@ -7790,8 +8691,8 @@ declare const routes$4: {
|
|
|
7790
8691
|
entrants: string[];
|
|
7791
8692
|
viewInBrowser: boolean;
|
|
7792
8693
|
emails: {
|
|
7793
|
-
createdAt: string | null;
|
|
7794
8694
|
updatedAt: string | null;
|
|
8695
|
+
createdAt: string | null;
|
|
7795
8696
|
content: {
|
|
7796
8697
|
style: Record<string, any>;
|
|
7797
8698
|
meta: Record<string, any>;
|
|
@@ -7829,9 +8730,9 @@ declare const routes$4: {
|
|
|
7829
8730
|
report?: any;
|
|
7830
8731
|
archivedAt?: string | null | undefined;
|
|
7831
8732
|
pacing?: {
|
|
7832
|
-
remaining: number;
|
|
7833
|
-
reason: "new_account";
|
|
7834
8733
|
dailyLimit: number;
|
|
8734
|
+
reason: "new_account";
|
|
8735
|
+
remaining: number;
|
|
7835
8736
|
hourlyLimit: number;
|
|
7836
8737
|
estimatedCompletionAt: string;
|
|
7837
8738
|
} | null | undefined;
|
|
@@ -7958,8 +8859,8 @@ declare const routes$4: {
|
|
|
7958
8859
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
7959
8860
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
7960
8861
|
}, "strip", zod.ZodTypeAny, {
|
|
7961
|
-
createdAt: string | null;
|
|
7962
8862
|
updatedAt: string | null;
|
|
8863
|
+
createdAt: string | null;
|
|
7963
8864
|
content: {
|
|
7964
8865
|
style: Record<string, any>;
|
|
7965
8866
|
meta: Record<string, any>;
|
|
@@ -7985,8 +8886,8 @@ declare const routes$4: {
|
|
|
7985
8886
|
contentScanVerdict?: string | null | undefined;
|
|
7986
8887
|
hasUnpublishedChanges?: boolean | undefined;
|
|
7987
8888
|
}, {
|
|
7988
|
-
createdAt: string | null;
|
|
7989
8889
|
updatedAt: string | null;
|
|
8890
|
+
createdAt: string | null;
|
|
7990
8891
|
content: {
|
|
7991
8892
|
style: Record<string, any>;
|
|
7992
8893
|
meta: Record<string, any>;
|
|
@@ -8020,23 +8921,23 @@ declare const routes$4: {
|
|
|
8020
8921
|
remaining: zod.ZodNumber;
|
|
8021
8922
|
estimatedCompletionAt: zod.ZodString;
|
|
8022
8923
|
}, "strip", zod.ZodTypeAny, {
|
|
8023
|
-
remaining: number;
|
|
8024
|
-
reason: "new_account";
|
|
8025
8924
|
dailyLimit: number;
|
|
8925
|
+
reason: "new_account";
|
|
8926
|
+
remaining: number;
|
|
8026
8927
|
hourlyLimit: number;
|
|
8027
8928
|
estimatedCompletionAt: string;
|
|
8028
8929
|
}, {
|
|
8029
|
-
remaining: number;
|
|
8030
|
-
reason: "new_account";
|
|
8031
8930
|
dailyLimit: number;
|
|
8931
|
+
reason: "new_account";
|
|
8932
|
+
remaining: number;
|
|
8032
8933
|
hourlyLimit: number;
|
|
8033
8934
|
estimatedCompletionAt: string;
|
|
8034
8935
|
}>>>;
|
|
8035
8936
|
}, "strip", zod.ZodTypeAny, {
|
|
8036
8937
|
type: string;
|
|
8037
8938
|
status: string;
|
|
8038
|
-
createdAt: string | null;
|
|
8039
8939
|
updatedAt: string | null;
|
|
8940
|
+
createdAt: string | null;
|
|
8040
8941
|
deliverySource: {
|
|
8041
8942
|
type: "organization";
|
|
8042
8943
|
} | {
|
|
@@ -8049,8 +8950,8 @@ declare const routes$4: {
|
|
|
8049
8950
|
entrants: string[];
|
|
8050
8951
|
viewInBrowser: boolean;
|
|
8051
8952
|
emails: {
|
|
8052
|
-
createdAt: string | null;
|
|
8053
8953
|
updatedAt: string | null;
|
|
8954
|
+
createdAt: string | null;
|
|
8054
8955
|
content: {
|
|
8055
8956
|
style: Record<string, any>;
|
|
8056
8957
|
meta: Record<string, any>;
|
|
@@ -8088,17 +8989,17 @@ declare const routes$4: {
|
|
|
8088
8989
|
report?: any;
|
|
8089
8990
|
archivedAt?: string | null | undefined;
|
|
8090
8991
|
pacing?: {
|
|
8091
|
-
remaining: number;
|
|
8092
|
-
reason: "new_account";
|
|
8093
8992
|
dailyLimit: number;
|
|
8993
|
+
reason: "new_account";
|
|
8994
|
+
remaining: number;
|
|
8094
8995
|
hourlyLimit: number;
|
|
8095
8996
|
estimatedCompletionAt: string;
|
|
8096
8997
|
} | null | undefined;
|
|
8097
8998
|
}, {
|
|
8098
8999
|
type: string;
|
|
8099
9000
|
status: string;
|
|
8100
|
-
createdAt: string | null;
|
|
8101
9001
|
updatedAt: string | null;
|
|
9002
|
+
createdAt: string | null;
|
|
8102
9003
|
deliverySource: {
|
|
8103
9004
|
type: "organization";
|
|
8104
9005
|
} | {
|
|
@@ -8111,8 +9012,8 @@ declare const routes$4: {
|
|
|
8111
9012
|
entrants: string[];
|
|
8112
9013
|
viewInBrowser: boolean;
|
|
8113
9014
|
emails: {
|
|
8114
|
-
createdAt: string | null;
|
|
8115
9015
|
updatedAt: string | null;
|
|
9016
|
+
createdAt: string | null;
|
|
8116
9017
|
content: {
|
|
8117
9018
|
style: Record<string, any>;
|
|
8118
9019
|
meta: Record<string, any>;
|
|
@@ -8150,9 +9051,9 @@ declare const routes$4: {
|
|
|
8150
9051
|
report?: any;
|
|
8151
9052
|
archivedAt?: string | null | undefined;
|
|
8152
9053
|
pacing?: {
|
|
8153
|
-
remaining: number;
|
|
8154
|
-
reason: "new_account";
|
|
8155
9054
|
dailyLimit: number;
|
|
9055
|
+
reason: "new_account";
|
|
9056
|
+
remaining: number;
|
|
8156
9057
|
hourlyLimit: number;
|
|
8157
9058
|
estimatedCompletionAt: string;
|
|
8158
9059
|
} | null | undefined;
|
|
@@ -8278,8 +9179,8 @@ declare const routes$4: {
|
|
|
8278
9179
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
8279
9180
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
8280
9181
|
}, "strip", zod.ZodTypeAny, {
|
|
8281
|
-
createdAt: string | null;
|
|
8282
9182
|
updatedAt: string | null;
|
|
9183
|
+
createdAt: string | null;
|
|
8283
9184
|
content: {
|
|
8284
9185
|
style: Record<string, any>;
|
|
8285
9186
|
meta: Record<string, any>;
|
|
@@ -8305,8 +9206,8 @@ declare const routes$4: {
|
|
|
8305
9206
|
contentScanVerdict?: string | null | undefined;
|
|
8306
9207
|
hasUnpublishedChanges?: boolean | undefined;
|
|
8307
9208
|
}, {
|
|
8308
|
-
createdAt: string | null;
|
|
8309
9209
|
updatedAt: string | null;
|
|
9210
|
+
createdAt: string | null;
|
|
8310
9211
|
content: {
|
|
8311
9212
|
style: Record<string, any>;
|
|
8312
9213
|
meta: Record<string, any>;
|
|
@@ -8340,23 +9241,23 @@ declare const routes$4: {
|
|
|
8340
9241
|
remaining: zod.ZodNumber;
|
|
8341
9242
|
estimatedCompletionAt: zod.ZodString;
|
|
8342
9243
|
}, "strip", zod.ZodTypeAny, {
|
|
8343
|
-
remaining: number;
|
|
8344
|
-
reason: "new_account";
|
|
8345
9244
|
dailyLimit: number;
|
|
9245
|
+
reason: "new_account";
|
|
9246
|
+
remaining: number;
|
|
8346
9247
|
hourlyLimit: number;
|
|
8347
9248
|
estimatedCompletionAt: string;
|
|
8348
9249
|
}, {
|
|
8349
|
-
remaining: number;
|
|
8350
|
-
reason: "new_account";
|
|
8351
9250
|
dailyLimit: number;
|
|
9251
|
+
reason: "new_account";
|
|
9252
|
+
remaining: number;
|
|
8352
9253
|
hourlyLimit: number;
|
|
8353
9254
|
estimatedCompletionAt: string;
|
|
8354
9255
|
}>>>;
|
|
8355
9256
|
}, "strip", zod.ZodTypeAny, {
|
|
8356
9257
|
type: string;
|
|
8357
9258
|
status: string;
|
|
8358
|
-
createdAt: string | null;
|
|
8359
9259
|
updatedAt: string | null;
|
|
9260
|
+
createdAt: string | null;
|
|
8360
9261
|
deliverySource: {
|
|
8361
9262
|
type: "organization";
|
|
8362
9263
|
} | {
|
|
@@ -8369,8 +9270,8 @@ declare const routes$4: {
|
|
|
8369
9270
|
entrants: string[];
|
|
8370
9271
|
viewInBrowser: boolean;
|
|
8371
9272
|
emails: {
|
|
8372
|
-
createdAt: string | null;
|
|
8373
9273
|
updatedAt: string | null;
|
|
9274
|
+
createdAt: string | null;
|
|
8374
9275
|
content: {
|
|
8375
9276
|
style: Record<string, any>;
|
|
8376
9277
|
meta: Record<string, any>;
|
|
@@ -8408,17 +9309,17 @@ declare const routes$4: {
|
|
|
8408
9309
|
report?: any;
|
|
8409
9310
|
archivedAt?: string | null | undefined;
|
|
8410
9311
|
pacing?: {
|
|
8411
|
-
remaining: number;
|
|
8412
|
-
reason: "new_account";
|
|
8413
9312
|
dailyLimit: number;
|
|
9313
|
+
reason: "new_account";
|
|
9314
|
+
remaining: number;
|
|
8414
9315
|
hourlyLimit: number;
|
|
8415
9316
|
estimatedCompletionAt: string;
|
|
8416
9317
|
} | null | undefined;
|
|
8417
9318
|
}, {
|
|
8418
9319
|
type: string;
|
|
8419
9320
|
status: string;
|
|
8420
|
-
createdAt: string | null;
|
|
8421
9321
|
updatedAt: string | null;
|
|
9322
|
+
createdAt: string | null;
|
|
8422
9323
|
deliverySource: {
|
|
8423
9324
|
type: "organization";
|
|
8424
9325
|
} | {
|
|
@@ -8431,8 +9332,8 @@ declare const routes$4: {
|
|
|
8431
9332
|
entrants: string[];
|
|
8432
9333
|
viewInBrowser: boolean;
|
|
8433
9334
|
emails: {
|
|
8434
|
-
createdAt: string | null;
|
|
8435
9335
|
updatedAt: string | null;
|
|
9336
|
+
createdAt: string | null;
|
|
8436
9337
|
content: {
|
|
8437
9338
|
style: Record<string, any>;
|
|
8438
9339
|
meta: Record<string, any>;
|
|
@@ -8470,9 +9371,9 @@ declare const routes$4: {
|
|
|
8470
9371
|
report?: any;
|
|
8471
9372
|
archivedAt?: string | null | undefined;
|
|
8472
9373
|
pacing?: {
|
|
8473
|
-
remaining: number;
|
|
8474
|
-
reason: "new_account";
|
|
8475
9374
|
dailyLimit: number;
|
|
9375
|
+
reason: "new_account";
|
|
9376
|
+
remaining: number;
|
|
8476
9377
|
hourlyLimit: number;
|
|
8477
9378
|
estimatedCompletionAt: string;
|
|
8478
9379
|
} | null | undefined;
|
|
@@ -9969,8 +10870,8 @@ declare const routes$4: {
|
|
|
9969
10870
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
9970
10871
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
9971
10872
|
}, "strip", zod.ZodTypeAny, {
|
|
9972
|
-
createdAt: string | null;
|
|
9973
10873
|
updatedAt: string | null;
|
|
10874
|
+
createdAt: string | null;
|
|
9974
10875
|
content: {
|
|
9975
10876
|
style: Record<string, any>;
|
|
9976
10877
|
meta: Record<string, any>;
|
|
@@ -9996,8 +10897,8 @@ declare const routes$4: {
|
|
|
9996
10897
|
contentScanVerdict?: string | null | undefined;
|
|
9997
10898
|
hasUnpublishedChanges?: boolean | undefined;
|
|
9998
10899
|
}, {
|
|
9999
|
-
createdAt: string | null;
|
|
10000
10900
|
updatedAt: string | null;
|
|
10901
|
+
createdAt: string | null;
|
|
10001
10902
|
content: {
|
|
10002
10903
|
style: Record<string, any>;
|
|
10003
10904
|
meta: Record<string, any>;
|
|
@@ -10031,23 +10932,23 @@ declare const routes$4: {
|
|
|
10031
10932
|
remaining: zod.ZodNumber;
|
|
10032
10933
|
estimatedCompletionAt: zod.ZodString;
|
|
10033
10934
|
}, "strip", zod.ZodTypeAny, {
|
|
10034
|
-
remaining: number;
|
|
10035
|
-
reason: "new_account";
|
|
10036
10935
|
dailyLimit: number;
|
|
10936
|
+
reason: "new_account";
|
|
10937
|
+
remaining: number;
|
|
10037
10938
|
hourlyLimit: number;
|
|
10038
10939
|
estimatedCompletionAt: string;
|
|
10039
10940
|
}, {
|
|
10040
|
-
remaining: number;
|
|
10041
|
-
reason: "new_account";
|
|
10042
10941
|
dailyLimit: number;
|
|
10942
|
+
reason: "new_account";
|
|
10943
|
+
remaining: number;
|
|
10043
10944
|
hourlyLimit: number;
|
|
10044
10945
|
estimatedCompletionAt: string;
|
|
10045
10946
|
}>>>;
|
|
10046
10947
|
}, "strip", zod.ZodTypeAny, {
|
|
10047
10948
|
type: string;
|
|
10048
10949
|
status: string;
|
|
10049
|
-
createdAt: string | null;
|
|
10050
10950
|
updatedAt: string | null;
|
|
10951
|
+
createdAt: string | null;
|
|
10051
10952
|
deliverySource: {
|
|
10052
10953
|
type: "organization";
|
|
10053
10954
|
} | {
|
|
@@ -10060,8 +10961,8 @@ declare const routes$4: {
|
|
|
10060
10961
|
entrants: string[];
|
|
10061
10962
|
viewInBrowser: boolean;
|
|
10062
10963
|
emails: {
|
|
10063
|
-
createdAt: string | null;
|
|
10064
10964
|
updatedAt: string | null;
|
|
10965
|
+
createdAt: string | null;
|
|
10065
10966
|
content: {
|
|
10066
10967
|
style: Record<string, any>;
|
|
10067
10968
|
meta: Record<string, any>;
|
|
@@ -10099,17 +11000,17 @@ declare const routes$4: {
|
|
|
10099
11000
|
report?: any;
|
|
10100
11001
|
archivedAt?: string | null | undefined;
|
|
10101
11002
|
pacing?: {
|
|
10102
|
-
remaining: number;
|
|
10103
|
-
reason: "new_account";
|
|
10104
11003
|
dailyLimit: number;
|
|
11004
|
+
reason: "new_account";
|
|
11005
|
+
remaining: number;
|
|
10105
11006
|
hourlyLimit: number;
|
|
10106
11007
|
estimatedCompletionAt: string;
|
|
10107
11008
|
} | null | undefined;
|
|
10108
11009
|
}, {
|
|
10109
11010
|
type: string;
|
|
10110
11011
|
status: string;
|
|
10111
|
-
createdAt: string | null;
|
|
10112
11012
|
updatedAt: string | null;
|
|
11013
|
+
createdAt: string | null;
|
|
10113
11014
|
deliverySource: {
|
|
10114
11015
|
type: "organization";
|
|
10115
11016
|
} | {
|
|
@@ -10122,8 +11023,8 @@ declare const routes$4: {
|
|
|
10122
11023
|
entrants: string[];
|
|
10123
11024
|
viewInBrowser: boolean;
|
|
10124
11025
|
emails: {
|
|
10125
|
-
createdAt: string | null;
|
|
10126
11026
|
updatedAt: string | null;
|
|
11027
|
+
createdAt: string | null;
|
|
10127
11028
|
content: {
|
|
10128
11029
|
style: Record<string, any>;
|
|
10129
11030
|
meta: Record<string, any>;
|
|
@@ -10161,9 +11062,9 @@ declare const routes$4: {
|
|
|
10161
11062
|
report?: any;
|
|
10162
11063
|
archivedAt?: string | null | undefined;
|
|
10163
11064
|
pacing?: {
|
|
10164
|
-
remaining: number;
|
|
10165
|
-
reason: "new_account";
|
|
10166
11065
|
dailyLimit: number;
|
|
11066
|
+
reason: "new_account";
|
|
11067
|
+
remaining: number;
|
|
10167
11068
|
hourlyLimit: number;
|
|
10168
11069
|
estimatedCompletionAt: string;
|
|
10169
11070
|
} | null | undefined;
|
|
@@ -10203,11 +11104,11 @@ declare const routes$4: {
|
|
|
10203
11104
|
emailIds: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
10204
11105
|
scope: zod.ZodOptional<zod.ZodEnum<["in_flight", "new_entrants"]>>;
|
|
10205
11106
|
}, "strip", zod.ZodTypeAny, {
|
|
10206
|
-
emailIds?: string[] | undefined;
|
|
10207
11107
|
scope?: "in_flight" | "new_entrants" | undefined;
|
|
10208
|
-
}, {
|
|
10209
11108
|
emailIds?: string[] | undefined;
|
|
11109
|
+
}, {
|
|
10210
11110
|
scope?: "in_flight" | "new_entrants" | undefined;
|
|
11111
|
+
emailIds?: string[] | undefined;
|
|
10211
11112
|
}>;
|
|
10212
11113
|
responses: {
|
|
10213
11114
|
200: zod.ZodObject<{
|
|
@@ -10306,8 +11207,8 @@ declare const routes$4: {
|
|
|
10306
11207
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
10307
11208
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
10308
11209
|
}, "strip", zod.ZodTypeAny, {
|
|
10309
|
-
createdAt: string | null;
|
|
10310
11210
|
updatedAt: string | null;
|
|
11211
|
+
createdAt: string | null;
|
|
10311
11212
|
content: {
|
|
10312
11213
|
style: Record<string, any>;
|
|
10313
11214
|
meta: Record<string, any>;
|
|
@@ -10333,8 +11234,8 @@ declare const routes$4: {
|
|
|
10333
11234
|
contentScanVerdict?: string | null | undefined;
|
|
10334
11235
|
hasUnpublishedChanges?: boolean | undefined;
|
|
10335
11236
|
}, {
|
|
10336
|
-
createdAt: string | null;
|
|
10337
11237
|
updatedAt: string | null;
|
|
11238
|
+
createdAt: string | null;
|
|
10338
11239
|
content: {
|
|
10339
11240
|
style: Record<string, any>;
|
|
10340
11241
|
meta: Record<string, any>;
|
|
@@ -10368,23 +11269,23 @@ declare const routes$4: {
|
|
|
10368
11269
|
remaining: zod.ZodNumber;
|
|
10369
11270
|
estimatedCompletionAt: zod.ZodString;
|
|
10370
11271
|
}, "strip", zod.ZodTypeAny, {
|
|
10371
|
-
remaining: number;
|
|
10372
|
-
reason: "new_account";
|
|
10373
11272
|
dailyLimit: number;
|
|
11273
|
+
reason: "new_account";
|
|
11274
|
+
remaining: number;
|
|
10374
11275
|
hourlyLimit: number;
|
|
10375
11276
|
estimatedCompletionAt: string;
|
|
10376
11277
|
}, {
|
|
10377
|
-
remaining: number;
|
|
10378
|
-
reason: "new_account";
|
|
10379
11278
|
dailyLimit: number;
|
|
11279
|
+
reason: "new_account";
|
|
11280
|
+
remaining: number;
|
|
10380
11281
|
hourlyLimit: number;
|
|
10381
11282
|
estimatedCompletionAt: string;
|
|
10382
11283
|
}>>>;
|
|
10383
11284
|
}, "strip", zod.ZodTypeAny, {
|
|
10384
11285
|
type: string;
|
|
10385
11286
|
status: string;
|
|
10386
|
-
createdAt: string | null;
|
|
10387
11287
|
updatedAt: string | null;
|
|
11288
|
+
createdAt: string | null;
|
|
10388
11289
|
deliverySource: {
|
|
10389
11290
|
type: "organization";
|
|
10390
11291
|
} | {
|
|
@@ -10397,8 +11298,8 @@ declare const routes$4: {
|
|
|
10397
11298
|
entrants: string[];
|
|
10398
11299
|
viewInBrowser: boolean;
|
|
10399
11300
|
emails: {
|
|
10400
|
-
createdAt: string | null;
|
|
10401
11301
|
updatedAt: string | null;
|
|
11302
|
+
createdAt: string | null;
|
|
10402
11303
|
content: {
|
|
10403
11304
|
style: Record<string, any>;
|
|
10404
11305
|
meta: Record<string, any>;
|
|
@@ -10436,17 +11337,17 @@ declare const routes$4: {
|
|
|
10436
11337
|
report?: any;
|
|
10437
11338
|
archivedAt?: string | null | undefined;
|
|
10438
11339
|
pacing?: {
|
|
10439
|
-
remaining: number;
|
|
10440
|
-
reason: "new_account";
|
|
10441
11340
|
dailyLimit: number;
|
|
11341
|
+
reason: "new_account";
|
|
11342
|
+
remaining: number;
|
|
10442
11343
|
hourlyLimit: number;
|
|
10443
11344
|
estimatedCompletionAt: string;
|
|
10444
11345
|
} | null | undefined;
|
|
10445
11346
|
}, {
|
|
10446
11347
|
type: string;
|
|
10447
11348
|
status: string;
|
|
10448
|
-
createdAt: string | null;
|
|
10449
11349
|
updatedAt: string | null;
|
|
11350
|
+
createdAt: string | null;
|
|
10450
11351
|
deliverySource: {
|
|
10451
11352
|
type: "organization";
|
|
10452
11353
|
} | {
|
|
@@ -10459,8 +11360,8 @@ declare const routes$4: {
|
|
|
10459
11360
|
entrants: string[];
|
|
10460
11361
|
viewInBrowser: boolean;
|
|
10461
11362
|
emails: {
|
|
10462
|
-
createdAt: string | null;
|
|
10463
11363
|
updatedAt: string | null;
|
|
11364
|
+
createdAt: string | null;
|
|
10464
11365
|
content: {
|
|
10465
11366
|
style: Record<string, any>;
|
|
10466
11367
|
meta: Record<string, any>;
|
|
@@ -10498,9 +11399,9 @@ declare const routes$4: {
|
|
|
10498
11399
|
report?: any;
|
|
10499
11400
|
archivedAt?: string | null | undefined;
|
|
10500
11401
|
pacing?: {
|
|
10501
|
-
remaining: number;
|
|
10502
|
-
reason: "new_account";
|
|
10503
11402
|
dailyLimit: number;
|
|
11403
|
+
reason: "new_account";
|
|
11404
|
+
remaining: number;
|
|
10504
11405
|
hourlyLimit: number;
|
|
10505
11406
|
estimatedCompletionAt: string;
|
|
10506
11407
|
} | null | undefined;
|
|
@@ -10640,8 +11541,8 @@ declare const routes$4: {
|
|
|
10640
11541
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
10641
11542
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
10642
11543
|
}, "strip", zod.ZodTypeAny, {
|
|
10643
|
-
createdAt: string | null;
|
|
10644
11544
|
updatedAt: string | null;
|
|
11545
|
+
createdAt: string | null;
|
|
10645
11546
|
content: {
|
|
10646
11547
|
style: Record<string, any>;
|
|
10647
11548
|
meta: Record<string, any>;
|
|
@@ -10667,8 +11568,8 @@ declare const routes$4: {
|
|
|
10667
11568
|
contentScanVerdict?: string | null | undefined;
|
|
10668
11569
|
hasUnpublishedChanges?: boolean | undefined;
|
|
10669
11570
|
}, {
|
|
10670
|
-
createdAt: string | null;
|
|
10671
11571
|
updatedAt: string | null;
|
|
11572
|
+
createdAt: string | null;
|
|
10672
11573
|
content: {
|
|
10673
11574
|
style: Record<string, any>;
|
|
10674
11575
|
meta: Record<string, any>;
|
|
@@ -10702,23 +11603,23 @@ declare const routes$4: {
|
|
|
10702
11603
|
remaining: zod.ZodNumber;
|
|
10703
11604
|
estimatedCompletionAt: zod.ZodString;
|
|
10704
11605
|
}, "strip", zod.ZodTypeAny, {
|
|
10705
|
-
remaining: number;
|
|
10706
|
-
reason: "new_account";
|
|
10707
11606
|
dailyLimit: number;
|
|
11607
|
+
reason: "new_account";
|
|
11608
|
+
remaining: number;
|
|
10708
11609
|
hourlyLimit: number;
|
|
10709
11610
|
estimatedCompletionAt: string;
|
|
10710
11611
|
}, {
|
|
10711
|
-
remaining: number;
|
|
10712
|
-
reason: "new_account";
|
|
10713
11612
|
dailyLimit: number;
|
|
11613
|
+
reason: "new_account";
|
|
11614
|
+
remaining: number;
|
|
10714
11615
|
hourlyLimit: number;
|
|
10715
11616
|
estimatedCompletionAt: string;
|
|
10716
11617
|
}>>>;
|
|
10717
11618
|
}, "strip", zod.ZodTypeAny, {
|
|
10718
11619
|
type: string;
|
|
10719
11620
|
status: string;
|
|
10720
|
-
createdAt: string | null;
|
|
10721
11621
|
updatedAt: string | null;
|
|
11622
|
+
createdAt: string | null;
|
|
10722
11623
|
deliverySource: {
|
|
10723
11624
|
type: "organization";
|
|
10724
11625
|
} | {
|
|
@@ -10731,8 +11632,8 @@ declare const routes$4: {
|
|
|
10731
11632
|
entrants: string[];
|
|
10732
11633
|
viewInBrowser: boolean;
|
|
10733
11634
|
emails: {
|
|
10734
|
-
createdAt: string | null;
|
|
10735
11635
|
updatedAt: string | null;
|
|
11636
|
+
createdAt: string | null;
|
|
10736
11637
|
content: {
|
|
10737
11638
|
style: Record<string, any>;
|
|
10738
11639
|
meta: Record<string, any>;
|
|
@@ -10770,17 +11671,17 @@ declare const routes$4: {
|
|
|
10770
11671
|
report?: any;
|
|
10771
11672
|
archivedAt?: string | null | undefined;
|
|
10772
11673
|
pacing?: {
|
|
10773
|
-
remaining: number;
|
|
10774
|
-
reason: "new_account";
|
|
10775
11674
|
dailyLimit: number;
|
|
11675
|
+
reason: "new_account";
|
|
11676
|
+
remaining: number;
|
|
10776
11677
|
hourlyLimit: number;
|
|
10777
11678
|
estimatedCompletionAt: string;
|
|
10778
11679
|
} | null | undefined;
|
|
10779
11680
|
}, {
|
|
10780
11681
|
type: string;
|
|
10781
11682
|
status: string;
|
|
10782
|
-
createdAt: string | null;
|
|
10783
11683
|
updatedAt: string | null;
|
|
11684
|
+
createdAt: string | null;
|
|
10784
11685
|
deliverySource: {
|
|
10785
11686
|
type: "organization";
|
|
10786
11687
|
} | {
|
|
@@ -10793,8 +11694,8 @@ declare const routes$4: {
|
|
|
10793
11694
|
entrants: string[];
|
|
10794
11695
|
viewInBrowser: boolean;
|
|
10795
11696
|
emails: {
|
|
10796
|
-
createdAt: string | null;
|
|
10797
11697
|
updatedAt: string | null;
|
|
11698
|
+
createdAt: string | null;
|
|
10798
11699
|
content: {
|
|
10799
11700
|
style: Record<string, any>;
|
|
10800
11701
|
meta: Record<string, any>;
|
|
@@ -10832,9 +11733,9 @@ declare const routes$4: {
|
|
|
10832
11733
|
report?: any;
|
|
10833
11734
|
archivedAt?: string | null | undefined;
|
|
10834
11735
|
pacing?: {
|
|
10835
|
-
remaining: number;
|
|
10836
|
-
reason: "new_account";
|
|
10837
11736
|
dailyLimit: number;
|
|
11737
|
+
reason: "new_account";
|
|
11738
|
+
remaining: number;
|
|
10838
11739
|
hourlyLimit: number;
|
|
10839
11740
|
estimatedCompletionAt: string;
|
|
10840
11741
|
} | null | undefined;
|
|
@@ -11037,8 +11938,8 @@ declare const routes$4: {
|
|
|
11037
11938
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
11038
11939
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
11039
11940
|
}, "strip", zod.ZodTypeAny, {
|
|
11040
|
-
createdAt: string | null;
|
|
11041
11941
|
updatedAt: string | null;
|
|
11942
|
+
createdAt: string | null;
|
|
11042
11943
|
content: {
|
|
11043
11944
|
style: Record<string, any>;
|
|
11044
11945
|
meta: Record<string, any>;
|
|
@@ -11064,8 +11965,8 @@ declare const routes$4: {
|
|
|
11064
11965
|
contentScanVerdict?: string | null | undefined;
|
|
11065
11966
|
hasUnpublishedChanges?: boolean | undefined;
|
|
11066
11967
|
}, {
|
|
11067
|
-
createdAt: string | null;
|
|
11068
11968
|
updatedAt: string | null;
|
|
11969
|
+
createdAt: string | null;
|
|
11069
11970
|
content: {
|
|
11070
11971
|
style: Record<string, any>;
|
|
11071
11972
|
meta: Record<string, any>;
|
|
@@ -11099,23 +12000,23 @@ declare const routes$4: {
|
|
|
11099
12000
|
remaining: zod.ZodNumber;
|
|
11100
12001
|
estimatedCompletionAt: zod.ZodString;
|
|
11101
12002
|
}, "strip", zod.ZodTypeAny, {
|
|
11102
|
-
remaining: number;
|
|
11103
|
-
reason: "new_account";
|
|
11104
12003
|
dailyLimit: number;
|
|
12004
|
+
reason: "new_account";
|
|
12005
|
+
remaining: number;
|
|
11105
12006
|
hourlyLimit: number;
|
|
11106
12007
|
estimatedCompletionAt: string;
|
|
11107
12008
|
}, {
|
|
11108
|
-
remaining: number;
|
|
11109
|
-
reason: "new_account";
|
|
11110
12009
|
dailyLimit: number;
|
|
12010
|
+
reason: "new_account";
|
|
12011
|
+
remaining: number;
|
|
11111
12012
|
hourlyLimit: number;
|
|
11112
12013
|
estimatedCompletionAt: string;
|
|
11113
12014
|
}>>>;
|
|
11114
12015
|
}, "strip", zod.ZodTypeAny, {
|
|
11115
12016
|
type: string;
|
|
11116
12017
|
status: string;
|
|
11117
|
-
createdAt: string | null;
|
|
11118
12018
|
updatedAt: string | null;
|
|
12019
|
+
createdAt: string | null;
|
|
11119
12020
|
deliverySource: {
|
|
11120
12021
|
type: "organization";
|
|
11121
12022
|
} | {
|
|
@@ -11128,8 +12029,8 @@ declare const routes$4: {
|
|
|
11128
12029
|
entrants: string[];
|
|
11129
12030
|
viewInBrowser: boolean;
|
|
11130
12031
|
emails: {
|
|
11131
|
-
createdAt: string | null;
|
|
11132
12032
|
updatedAt: string | null;
|
|
12033
|
+
createdAt: string | null;
|
|
11133
12034
|
content: {
|
|
11134
12035
|
style: Record<string, any>;
|
|
11135
12036
|
meta: Record<string, any>;
|
|
@@ -11167,17 +12068,17 @@ declare const routes$4: {
|
|
|
11167
12068
|
report?: any;
|
|
11168
12069
|
archivedAt?: string | null | undefined;
|
|
11169
12070
|
pacing?: {
|
|
11170
|
-
remaining: number;
|
|
11171
|
-
reason: "new_account";
|
|
11172
12071
|
dailyLimit: number;
|
|
12072
|
+
reason: "new_account";
|
|
12073
|
+
remaining: number;
|
|
11173
12074
|
hourlyLimit: number;
|
|
11174
12075
|
estimatedCompletionAt: string;
|
|
11175
12076
|
} | null | undefined;
|
|
11176
12077
|
}, {
|
|
11177
12078
|
type: string;
|
|
11178
12079
|
status: string;
|
|
11179
|
-
createdAt: string | null;
|
|
11180
12080
|
updatedAt: string | null;
|
|
12081
|
+
createdAt: string | null;
|
|
11181
12082
|
deliverySource: {
|
|
11182
12083
|
type: "organization";
|
|
11183
12084
|
} | {
|
|
@@ -11190,8 +12091,8 @@ declare const routes$4: {
|
|
|
11190
12091
|
entrants: string[];
|
|
11191
12092
|
viewInBrowser: boolean;
|
|
11192
12093
|
emails: {
|
|
11193
|
-
createdAt: string | null;
|
|
11194
12094
|
updatedAt: string | null;
|
|
12095
|
+
createdAt: string | null;
|
|
11195
12096
|
content: {
|
|
11196
12097
|
style: Record<string, any>;
|
|
11197
12098
|
meta: Record<string, any>;
|
|
@@ -11229,9 +12130,9 @@ declare const routes$4: {
|
|
|
11229
12130
|
report?: any;
|
|
11230
12131
|
archivedAt?: string | null | undefined;
|
|
11231
12132
|
pacing?: {
|
|
11232
|
-
remaining: number;
|
|
11233
|
-
reason: "new_account";
|
|
11234
12133
|
dailyLimit: number;
|
|
12134
|
+
reason: "new_account";
|
|
12135
|
+
remaining: number;
|
|
11235
12136
|
hourlyLimit: number;
|
|
11236
12137
|
estimatedCompletionAt: string;
|
|
11237
12138
|
} | null | undefined;
|
|
@@ -11427,8 +12328,8 @@ declare const routes$4: {
|
|
|
11427
12328
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
11428
12329
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
11429
12330
|
}, "strip", zod.ZodTypeAny, {
|
|
11430
|
-
createdAt: string | null;
|
|
11431
12331
|
updatedAt: string | null;
|
|
12332
|
+
createdAt: string | null;
|
|
11432
12333
|
content: {
|
|
11433
12334
|
style: Record<string, any>;
|
|
11434
12335
|
meta: Record<string, any>;
|
|
@@ -11454,8 +12355,8 @@ declare const routes$4: {
|
|
|
11454
12355
|
contentScanVerdict?: string | null | undefined;
|
|
11455
12356
|
hasUnpublishedChanges?: boolean | undefined;
|
|
11456
12357
|
}, {
|
|
11457
|
-
createdAt: string | null;
|
|
11458
12358
|
updatedAt: string | null;
|
|
12359
|
+
createdAt: string | null;
|
|
11459
12360
|
content: {
|
|
11460
12361
|
style: Record<string, any>;
|
|
11461
12362
|
meta: Record<string, any>;
|
|
@@ -11489,23 +12390,23 @@ declare const routes$4: {
|
|
|
11489
12390
|
remaining: zod.ZodNumber;
|
|
11490
12391
|
estimatedCompletionAt: zod.ZodString;
|
|
11491
12392
|
}, "strip", zod.ZodTypeAny, {
|
|
11492
|
-
remaining: number;
|
|
11493
|
-
reason: "new_account";
|
|
11494
12393
|
dailyLimit: number;
|
|
12394
|
+
reason: "new_account";
|
|
12395
|
+
remaining: number;
|
|
11495
12396
|
hourlyLimit: number;
|
|
11496
12397
|
estimatedCompletionAt: string;
|
|
11497
12398
|
}, {
|
|
11498
|
-
remaining: number;
|
|
11499
|
-
reason: "new_account";
|
|
11500
12399
|
dailyLimit: number;
|
|
12400
|
+
reason: "new_account";
|
|
12401
|
+
remaining: number;
|
|
11501
12402
|
hourlyLimit: number;
|
|
11502
12403
|
estimatedCompletionAt: string;
|
|
11503
12404
|
}>>>;
|
|
11504
12405
|
}, "strip", zod.ZodTypeAny, {
|
|
11505
12406
|
type: string;
|
|
11506
12407
|
status: string;
|
|
11507
|
-
createdAt: string | null;
|
|
11508
12408
|
updatedAt: string | null;
|
|
12409
|
+
createdAt: string | null;
|
|
11509
12410
|
deliverySource: {
|
|
11510
12411
|
type: "organization";
|
|
11511
12412
|
} | {
|
|
@@ -11518,8 +12419,8 @@ declare const routes$4: {
|
|
|
11518
12419
|
entrants: string[];
|
|
11519
12420
|
viewInBrowser: boolean;
|
|
11520
12421
|
emails: {
|
|
11521
|
-
createdAt: string | null;
|
|
11522
12422
|
updatedAt: string | null;
|
|
12423
|
+
createdAt: string | null;
|
|
11523
12424
|
content: {
|
|
11524
12425
|
style: Record<string, any>;
|
|
11525
12426
|
meta: Record<string, any>;
|
|
@@ -11557,17 +12458,17 @@ declare const routes$4: {
|
|
|
11557
12458
|
report?: any;
|
|
11558
12459
|
archivedAt?: string | null | undefined;
|
|
11559
12460
|
pacing?: {
|
|
11560
|
-
remaining: number;
|
|
11561
|
-
reason: "new_account";
|
|
11562
12461
|
dailyLimit: number;
|
|
12462
|
+
reason: "new_account";
|
|
12463
|
+
remaining: number;
|
|
11563
12464
|
hourlyLimit: number;
|
|
11564
12465
|
estimatedCompletionAt: string;
|
|
11565
12466
|
} | null | undefined;
|
|
11566
12467
|
}, {
|
|
11567
12468
|
type: string;
|
|
11568
12469
|
status: string;
|
|
11569
|
-
createdAt: string | null;
|
|
11570
12470
|
updatedAt: string | null;
|
|
12471
|
+
createdAt: string | null;
|
|
11571
12472
|
deliverySource: {
|
|
11572
12473
|
type: "organization";
|
|
11573
12474
|
} | {
|
|
@@ -11580,8 +12481,8 @@ declare const routes$4: {
|
|
|
11580
12481
|
entrants: string[];
|
|
11581
12482
|
viewInBrowser: boolean;
|
|
11582
12483
|
emails: {
|
|
11583
|
-
createdAt: string | null;
|
|
11584
12484
|
updatedAt: string | null;
|
|
12485
|
+
createdAt: string | null;
|
|
11585
12486
|
content: {
|
|
11586
12487
|
style: Record<string, any>;
|
|
11587
12488
|
meta: Record<string, any>;
|
|
@@ -11619,9 +12520,9 @@ declare const routes$4: {
|
|
|
11619
12520
|
report?: any;
|
|
11620
12521
|
archivedAt?: string | null | undefined;
|
|
11621
12522
|
pacing?: {
|
|
11622
|
-
remaining: number;
|
|
11623
|
-
reason: "new_account";
|
|
11624
12523
|
dailyLimit: number;
|
|
12524
|
+
reason: "new_account";
|
|
12525
|
+
remaining: number;
|
|
11625
12526
|
hourlyLimit: number;
|
|
11626
12527
|
estimatedCompletionAt: string;
|
|
11627
12528
|
} | null | undefined;
|
|
@@ -11748,8 +12649,8 @@ declare const routes$4: {
|
|
|
11748
12649
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
11749
12650
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
11750
12651
|
}, "strip", zod.ZodTypeAny, {
|
|
11751
|
-
createdAt: string | null;
|
|
11752
12652
|
updatedAt: string | null;
|
|
12653
|
+
createdAt: string | null;
|
|
11753
12654
|
content: {
|
|
11754
12655
|
style: Record<string, any>;
|
|
11755
12656
|
meta: Record<string, any>;
|
|
@@ -11775,8 +12676,8 @@ declare const routes$4: {
|
|
|
11775
12676
|
contentScanVerdict?: string | null | undefined;
|
|
11776
12677
|
hasUnpublishedChanges?: boolean | undefined;
|
|
11777
12678
|
}, {
|
|
11778
|
-
createdAt: string | null;
|
|
11779
12679
|
updatedAt: string | null;
|
|
12680
|
+
createdAt: string | null;
|
|
11780
12681
|
content: {
|
|
11781
12682
|
style: Record<string, any>;
|
|
11782
12683
|
meta: Record<string, any>;
|
|
@@ -11810,23 +12711,23 @@ declare const routes$4: {
|
|
|
11810
12711
|
remaining: zod.ZodNumber;
|
|
11811
12712
|
estimatedCompletionAt: zod.ZodString;
|
|
11812
12713
|
}, "strip", zod.ZodTypeAny, {
|
|
11813
|
-
remaining: number;
|
|
11814
|
-
reason: "new_account";
|
|
11815
12714
|
dailyLimit: number;
|
|
12715
|
+
reason: "new_account";
|
|
12716
|
+
remaining: number;
|
|
11816
12717
|
hourlyLimit: number;
|
|
11817
12718
|
estimatedCompletionAt: string;
|
|
11818
12719
|
}, {
|
|
11819
|
-
remaining: number;
|
|
11820
|
-
reason: "new_account";
|
|
11821
12720
|
dailyLimit: number;
|
|
12721
|
+
reason: "new_account";
|
|
12722
|
+
remaining: number;
|
|
11822
12723
|
hourlyLimit: number;
|
|
11823
12724
|
estimatedCompletionAt: string;
|
|
11824
12725
|
}>>>;
|
|
11825
12726
|
}, "strip", zod.ZodTypeAny, {
|
|
11826
12727
|
type: string;
|
|
11827
12728
|
status: string;
|
|
11828
|
-
createdAt: string | null;
|
|
11829
12729
|
updatedAt: string | null;
|
|
12730
|
+
createdAt: string | null;
|
|
11830
12731
|
deliverySource: {
|
|
11831
12732
|
type: "organization";
|
|
11832
12733
|
} | {
|
|
@@ -11839,8 +12740,8 @@ declare const routes$4: {
|
|
|
11839
12740
|
entrants: string[];
|
|
11840
12741
|
viewInBrowser: boolean;
|
|
11841
12742
|
emails: {
|
|
11842
|
-
createdAt: string | null;
|
|
11843
12743
|
updatedAt: string | null;
|
|
12744
|
+
createdAt: string | null;
|
|
11844
12745
|
content: {
|
|
11845
12746
|
style: Record<string, any>;
|
|
11846
12747
|
meta: Record<string, any>;
|
|
@@ -11878,17 +12779,17 @@ declare const routes$4: {
|
|
|
11878
12779
|
report?: any;
|
|
11879
12780
|
archivedAt?: string | null | undefined;
|
|
11880
12781
|
pacing?: {
|
|
11881
|
-
remaining: number;
|
|
11882
|
-
reason: "new_account";
|
|
11883
12782
|
dailyLimit: number;
|
|
12783
|
+
reason: "new_account";
|
|
12784
|
+
remaining: number;
|
|
11884
12785
|
hourlyLimit: number;
|
|
11885
12786
|
estimatedCompletionAt: string;
|
|
11886
12787
|
} | null | undefined;
|
|
11887
12788
|
}, {
|
|
11888
12789
|
type: string;
|
|
11889
12790
|
status: string;
|
|
11890
|
-
createdAt: string | null;
|
|
11891
12791
|
updatedAt: string | null;
|
|
12792
|
+
createdAt: string | null;
|
|
11892
12793
|
deliverySource: {
|
|
11893
12794
|
type: "organization";
|
|
11894
12795
|
} | {
|
|
@@ -11901,8 +12802,8 @@ declare const routes$4: {
|
|
|
11901
12802
|
entrants: string[];
|
|
11902
12803
|
viewInBrowser: boolean;
|
|
11903
12804
|
emails: {
|
|
11904
|
-
createdAt: string | null;
|
|
11905
12805
|
updatedAt: string | null;
|
|
12806
|
+
createdAt: string | null;
|
|
11906
12807
|
content: {
|
|
11907
12808
|
style: Record<string, any>;
|
|
11908
12809
|
meta: Record<string, any>;
|
|
@@ -11940,9 +12841,9 @@ declare const routes$4: {
|
|
|
11940
12841
|
report?: any;
|
|
11941
12842
|
archivedAt?: string | null | undefined;
|
|
11942
12843
|
pacing?: {
|
|
11943
|
-
remaining: number;
|
|
11944
|
-
reason: "new_account";
|
|
11945
12844
|
dailyLimit: number;
|
|
12845
|
+
reason: "new_account";
|
|
12846
|
+
remaining: number;
|
|
11946
12847
|
hourlyLimit: number;
|
|
11947
12848
|
estimatedCompletionAt: string;
|
|
11948
12849
|
} | null | undefined;
|
|
@@ -12068,8 +12969,8 @@ declare const routes$4: {
|
|
|
12068
12969
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
12069
12970
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
12070
12971
|
}, "strip", zod.ZodTypeAny, {
|
|
12071
|
-
createdAt: string | null;
|
|
12072
12972
|
updatedAt: string | null;
|
|
12973
|
+
createdAt: string | null;
|
|
12073
12974
|
content: {
|
|
12074
12975
|
style: Record<string, any>;
|
|
12075
12976
|
meta: Record<string, any>;
|
|
@@ -12095,8 +12996,8 @@ declare const routes$4: {
|
|
|
12095
12996
|
contentScanVerdict?: string | null | undefined;
|
|
12096
12997
|
hasUnpublishedChanges?: boolean | undefined;
|
|
12097
12998
|
}, {
|
|
12098
|
-
createdAt: string | null;
|
|
12099
12999
|
updatedAt: string | null;
|
|
13000
|
+
createdAt: string | null;
|
|
12100
13001
|
content: {
|
|
12101
13002
|
style: Record<string, any>;
|
|
12102
13003
|
meta: Record<string, any>;
|
|
@@ -12130,23 +13031,23 @@ declare const routes$4: {
|
|
|
12130
13031
|
remaining: zod.ZodNumber;
|
|
12131
13032
|
estimatedCompletionAt: zod.ZodString;
|
|
12132
13033
|
}, "strip", zod.ZodTypeAny, {
|
|
12133
|
-
remaining: number;
|
|
12134
|
-
reason: "new_account";
|
|
12135
13034
|
dailyLimit: number;
|
|
13035
|
+
reason: "new_account";
|
|
13036
|
+
remaining: number;
|
|
12136
13037
|
hourlyLimit: number;
|
|
12137
13038
|
estimatedCompletionAt: string;
|
|
12138
13039
|
}, {
|
|
12139
|
-
remaining: number;
|
|
12140
|
-
reason: "new_account";
|
|
12141
13040
|
dailyLimit: number;
|
|
13041
|
+
reason: "new_account";
|
|
13042
|
+
remaining: number;
|
|
12142
13043
|
hourlyLimit: number;
|
|
12143
13044
|
estimatedCompletionAt: string;
|
|
12144
13045
|
}>>>;
|
|
12145
13046
|
}, "strip", zod.ZodTypeAny, {
|
|
12146
13047
|
type: string;
|
|
12147
13048
|
status: string;
|
|
12148
|
-
createdAt: string | null;
|
|
12149
13049
|
updatedAt: string | null;
|
|
13050
|
+
createdAt: string | null;
|
|
12150
13051
|
deliverySource: {
|
|
12151
13052
|
type: "organization";
|
|
12152
13053
|
} | {
|
|
@@ -12159,8 +13060,8 @@ declare const routes$4: {
|
|
|
12159
13060
|
entrants: string[];
|
|
12160
13061
|
viewInBrowser: boolean;
|
|
12161
13062
|
emails: {
|
|
12162
|
-
createdAt: string | null;
|
|
12163
13063
|
updatedAt: string | null;
|
|
13064
|
+
createdAt: string | null;
|
|
12164
13065
|
content: {
|
|
12165
13066
|
style: Record<string, any>;
|
|
12166
13067
|
meta: Record<string, any>;
|
|
@@ -12198,17 +13099,17 @@ declare const routes$4: {
|
|
|
12198
13099
|
report?: any;
|
|
12199
13100
|
archivedAt?: string | null | undefined;
|
|
12200
13101
|
pacing?: {
|
|
12201
|
-
remaining: number;
|
|
12202
|
-
reason: "new_account";
|
|
12203
13102
|
dailyLimit: number;
|
|
13103
|
+
reason: "new_account";
|
|
13104
|
+
remaining: number;
|
|
12204
13105
|
hourlyLimit: number;
|
|
12205
13106
|
estimatedCompletionAt: string;
|
|
12206
13107
|
} | null | undefined;
|
|
12207
13108
|
}, {
|
|
12208
13109
|
type: string;
|
|
12209
13110
|
status: string;
|
|
12210
|
-
createdAt: string | null;
|
|
12211
13111
|
updatedAt: string | null;
|
|
13112
|
+
createdAt: string | null;
|
|
12212
13113
|
deliverySource: {
|
|
12213
13114
|
type: "organization";
|
|
12214
13115
|
} | {
|
|
@@ -12221,8 +13122,8 @@ declare const routes$4: {
|
|
|
12221
13122
|
entrants: string[];
|
|
12222
13123
|
viewInBrowser: boolean;
|
|
12223
13124
|
emails: {
|
|
12224
|
-
createdAt: string | null;
|
|
12225
13125
|
updatedAt: string | null;
|
|
13126
|
+
createdAt: string | null;
|
|
12226
13127
|
content: {
|
|
12227
13128
|
style: Record<string, any>;
|
|
12228
13129
|
meta: Record<string, any>;
|
|
@@ -12260,9 +13161,9 @@ declare const routes$4: {
|
|
|
12260
13161
|
report?: any;
|
|
12261
13162
|
archivedAt?: string | null | undefined;
|
|
12262
13163
|
pacing?: {
|
|
12263
|
-
remaining: number;
|
|
12264
|
-
reason: "new_account";
|
|
12265
13164
|
dailyLimit: number;
|
|
13165
|
+
reason: "new_account";
|
|
13166
|
+
remaining: number;
|
|
12266
13167
|
hourlyLimit: number;
|
|
12267
13168
|
estimatedCompletionAt: string;
|
|
12268
13169
|
} | null | undefined;
|
|
@@ -12503,14 +13404,14 @@ declare const routes$4: {
|
|
|
12503
13404
|
}>>;
|
|
12504
13405
|
}, "strip", zod.ZodTypeAny, {
|
|
12505
13406
|
email: string;
|
|
13407
|
+
reason: string | null;
|
|
12506
13408
|
messageId: string;
|
|
12507
13409
|
smtpCode: number | null;
|
|
12508
13410
|
enhancedStatusCode: string | null;
|
|
12509
|
-
reason: string | null;
|
|
12510
13411
|
occurredAt: string | null;
|
|
12511
13412
|
contactId: string;
|
|
12512
13413
|
emailId: string;
|
|
12513
|
-
outcome: "bounced" | "complained" | "
|
|
13414
|
+
outcome: "bounced" | "complained" | "failed" | "sent" | "delivered";
|
|
12514
13415
|
bounceType: "hard" | "soft" | null;
|
|
12515
13416
|
suppression: {
|
|
12516
13417
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
@@ -12518,14 +13419,14 @@ declare const routes$4: {
|
|
|
12518
13419
|
} | null;
|
|
12519
13420
|
}, {
|
|
12520
13421
|
email: string;
|
|
13422
|
+
reason: string | null;
|
|
12521
13423
|
messageId: string;
|
|
12522
13424
|
smtpCode: number | null;
|
|
12523
13425
|
enhancedStatusCode: string | null;
|
|
12524
|
-
reason: string | null;
|
|
12525
13426
|
occurredAt: string | null;
|
|
12526
13427
|
contactId: string;
|
|
12527
13428
|
emailId: string;
|
|
12528
|
-
outcome: "bounced" | "complained" | "
|
|
13429
|
+
outcome: "bounced" | "complained" | "failed" | "sent" | "delivered";
|
|
12529
13430
|
bounceType: "hard" | "soft" | null;
|
|
12530
13431
|
suppression: {
|
|
12531
13432
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
@@ -12536,14 +13437,14 @@ declare const routes$4: {
|
|
|
12536
13437
|
}, "strip", zod.ZodTypeAny, {
|
|
12537
13438
|
items: {
|
|
12538
13439
|
email: string;
|
|
13440
|
+
reason: string | null;
|
|
12539
13441
|
messageId: string;
|
|
12540
13442
|
smtpCode: number | null;
|
|
12541
13443
|
enhancedStatusCode: string | null;
|
|
12542
|
-
reason: string | null;
|
|
12543
13444
|
occurredAt: string | null;
|
|
12544
13445
|
contactId: string;
|
|
12545
13446
|
emailId: string;
|
|
12546
|
-
outcome: "bounced" | "complained" | "
|
|
13447
|
+
outcome: "bounced" | "complained" | "failed" | "sent" | "delivered";
|
|
12547
13448
|
bounceType: "hard" | "soft" | null;
|
|
12548
13449
|
suppression: {
|
|
12549
13450
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
@@ -12554,14 +13455,14 @@ declare const routes$4: {
|
|
|
12554
13455
|
}, {
|
|
12555
13456
|
items: {
|
|
12556
13457
|
email: string;
|
|
13458
|
+
reason: string | null;
|
|
12557
13459
|
messageId: string;
|
|
12558
13460
|
smtpCode: number | null;
|
|
12559
13461
|
enhancedStatusCode: string | null;
|
|
12560
|
-
reason: string | null;
|
|
12561
13462
|
occurredAt: string | null;
|
|
12562
13463
|
contactId: string;
|
|
12563
13464
|
emailId: string;
|
|
12564
|
-
outcome: "bounced" | "complained" | "
|
|
13465
|
+
outcome: "bounced" | "complained" | "failed" | "sent" | "delivered";
|
|
12565
13466
|
bounceType: "hard" | "soft" | null;
|
|
12566
13467
|
suppression: {
|
|
12567
13468
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
@@ -13015,8 +13916,8 @@ declare const routes$2: {
|
|
|
13015
13916
|
releaseReason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
13016
13917
|
}, "strip", zod.ZodTypeAny, {
|
|
13017
13918
|
active: boolean;
|
|
13018
|
-
recipientEmail: string | null;
|
|
13019
13919
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
13920
|
+
recipientEmail: string | null;
|
|
13020
13921
|
suppressionId: string;
|
|
13021
13922
|
firstSuppressedAt: string;
|
|
13022
13923
|
lastSuppressedAt: string;
|
|
@@ -13024,8 +13925,8 @@ declare const routes$2: {
|
|
|
13024
13925
|
releaseReason?: string | null | undefined;
|
|
13025
13926
|
}, {
|
|
13026
13927
|
active: boolean;
|
|
13027
|
-
recipientEmail: string | null;
|
|
13028
13928
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
13929
|
+
recipientEmail: string | null;
|
|
13029
13930
|
suppressionId: string;
|
|
13030
13931
|
firstSuppressedAt: string;
|
|
13031
13932
|
lastSuppressedAt: string;
|
|
@@ -13036,8 +13937,8 @@ declare const routes$2: {
|
|
|
13036
13937
|
}, "strip", zod.ZodTypeAny, {
|
|
13037
13938
|
items: {
|
|
13038
13939
|
active: boolean;
|
|
13039
|
-
recipientEmail: string | null;
|
|
13040
13940
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
13941
|
+
recipientEmail: string | null;
|
|
13041
13942
|
suppressionId: string;
|
|
13042
13943
|
firstSuppressedAt: string;
|
|
13043
13944
|
lastSuppressedAt: string;
|
|
@@ -13048,8 +13949,8 @@ declare const routes$2: {
|
|
|
13048
13949
|
}, {
|
|
13049
13950
|
items: {
|
|
13050
13951
|
active: boolean;
|
|
13051
|
-
recipientEmail: string | null;
|
|
13052
13952
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
13953
|
+
recipientEmail: string | null;
|
|
13053
13954
|
suppressionId: string;
|
|
13054
13955
|
firstSuppressedAt: string;
|
|
13055
13956
|
lastSuppressedAt: string;
|
|
@@ -13090,8 +13991,8 @@ declare const routes$2: {
|
|
|
13090
13991
|
releaseReason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
13091
13992
|
}, "strip", zod.ZodTypeAny, {
|
|
13092
13993
|
active: boolean;
|
|
13093
|
-
recipientEmail: string | null;
|
|
13094
13994
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
13995
|
+
recipientEmail: string | null;
|
|
13095
13996
|
suppressionId: string;
|
|
13096
13997
|
firstSuppressedAt: string;
|
|
13097
13998
|
lastSuppressedAt: string;
|
|
@@ -13099,8 +14000,8 @@ declare const routes$2: {
|
|
|
13099
14000
|
releaseReason?: string | null | undefined;
|
|
13100
14001
|
}, {
|
|
13101
14002
|
active: boolean;
|
|
13102
|
-
recipientEmail: string | null;
|
|
13103
14003
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
14004
|
+
recipientEmail: string | null;
|
|
13104
14005
|
suppressionId: string;
|
|
13105
14006
|
firstSuppressedAt: string;
|
|
13106
14007
|
lastSuppressedAt: string;
|
|
@@ -13135,8 +14036,8 @@ declare const routes$2: {
|
|
|
13135
14036
|
releaseReason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
13136
14037
|
}, "strip", zod.ZodTypeAny, {
|
|
13137
14038
|
active: boolean;
|
|
13138
|
-
recipientEmail: string | null;
|
|
13139
14039
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
14040
|
+
recipientEmail: string | null;
|
|
13140
14041
|
suppressionId: string;
|
|
13141
14042
|
firstSuppressedAt: string;
|
|
13142
14043
|
lastSuppressedAt: string;
|
|
@@ -13144,8 +14045,8 @@ declare const routes$2: {
|
|
|
13144
14045
|
releaseReason?: string | null | undefined;
|
|
13145
14046
|
}, {
|
|
13146
14047
|
active: boolean;
|
|
13147
|
-
recipientEmail: string | null;
|
|
13148
14048
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
14049
|
+
recipientEmail: string | null;
|
|
13149
14050
|
suppressionId: string;
|
|
13150
14051
|
firstSuppressedAt: string;
|
|
13151
14052
|
lastSuppressedAt: string;
|
|
@@ -13188,8 +14089,8 @@ declare const routes$2: {
|
|
|
13188
14089
|
releaseReason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
13189
14090
|
}, "strip", zod.ZodTypeAny, {
|
|
13190
14091
|
active: boolean;
|
|
13191
|
-
recipientEmail: string | null;
|
|
13192
14092
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
14093
|
+
recipientEmail: string | null;
|
|
13193
14094
|
suppressionId: string;
|
|
13194
14095
|
firstSuppressedAt: string;
|
|
13195
14096
|
lastSuppressedAt: string;
|
|
@@ -13197,8 +14098,8 @@ declare const routes$2: {
|
|
|
13197
14098
|
releaseReason?: string | null | undefined;
|
|
13198
14099
|
}, {
|
|
13199
14100
|
active: boolean;
|
|
13200
|
-
recipientEmail: string | null;
|
|
13201
14101
|
reason: "hard_bounce" | "complaint" | "manual" | "repeated_soft_bounce" | "provider_suppression";
|
|
14102
|
+
recipientEmail: string | null;
|
|
13202
14103
|
suppressionId: string;
|
|
13203
14104
|
firstSuppressedAt: string;
|
|
13204
14105
|
lastSuppressedAt: string;
|
|
@@ -13638,9 +14539,9 @@ declare const routes: {
|
|
|
13638
14539
|
meta: Record<string, any>;
|
|
13639
14540
|
content: Record<string, any>[];
|
|
13640
14541
|
};
|
|
14542
|
+
purpose: "marketing" | "transactional";
|
|
13641
14543
|
title: string;
|
|
13642
14544
|
templateId: string;
|
|
13643
|
-
purpose: "marketing" | "transactional";
|
|
13644
14545
|
requiredVariables: string[];
|
|
13645
14546
|
variableDefinitions?: {
|
|
13646
14547
|
path: string;
|
|
@@ -13654,9 +14555,9 @@ declare const routes: {
|
|
|
13654
14555
|
meta: Record<string, any>;
|
|
13655
14556
|
content: Record<string, any>[];
|
|
13656
14557
|
};
|
|
14558
|
+
purpose: "marketing" | "transactional";
|
|
13657
14559
|
title: string;
|
|
13658
14560
|
templateId: string;
|
|
13659
|
-
purpose: "marketing" | "transactional";
|
|
13660
14561
|
requiredVariables: string[];
|
|
13661
14562
|
variableDefinitions?: {
|
|
13662
14563
|
path: string;
|
|
@@ -13672,9 +14573,9 @@ declare const routes: {
|
|
|
13672
14573
|
meta: Record<string, any>;
|
|
13673
14574
|
content: Record<string, any>[];
|
|
13674
14575
|
};
|
|
14576
|
+
purpose: "marketing" | "transactional";
|
|
13675
14577
|
title: string;
|
|
13676
14578
|
templateId: string;
|
|
13677
|
-
purpose: "marketing" | "transactional";
|
|
13678
14579
|
requiredVariables: string[];
|
|
13679
14580
|
variableDefinitions?: {
|
|
13680
14581
|
path: string;
|
|
@@ -13690,9 +14591,9 @@ declare const routes: {
|
|
|
13690
14591
|
meta: Record<string, any>;
|
|
13691
14592
|
content: Record<string, any>[];
|
|
13692
14593
|
};
|
|
14594
|
+
purpose: "marketing" | "transactional";
|
|
13693
14595
|
title: string;
|
|
13694
14596
|
templateId: string;
|
|
13695
|
-
purpose: "marketing" | "transactional";
|
|
13696
14597
|
requiredVariables: string[];
|
|
13697
14598
|
variableDefinitions?: {
|
|
13698
14599
|
path: string;
|
|
@@ -14905,8 +15806,8 @@ declare const routes: {
|
|
|
14905
15806
|
id?: string | undefined;
|
|
14906
15807
|
})[];
|
|
14907
15808
|
};
|
|
14908
|
-
title: string;
|
|
14909
15809
|
purpose: "marketing" | "transactional";
|
|
15810
|
+
title: string;
|
|
14910
15811
|
}, {
|
|
14911
15812
|
content: {
|
|
14912
15813
|
style: {
|
|
@@ -15086,29 +15987,29 @@ declare const routes: {
|
|
|
15086
15987
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
15087
15988
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
15088
15989
|
}, "strip", zod.ZodTypeAny, {
|
|
15089
|
-
createdAt: string | null;
|
|
15090
15990
|
updatedAt: string | null;
|
|
15991
|
+
createdAt: string | null;
|
|
15091
15992
|
content: {
|
|
15092
15993
|
style: Record<string, any>;
|
|
15093
15994
|
meta: Record<string, any>;
|
|
15094
15995
|
content: Record<string, any>[];
|
|
15095
15996
|
};
|
|
15997
|
+
purpose: "marketing" | "transactional";
|
|
15096
15998
|
title: string;
|
|
15097
15999
|
templateId: string;
|
|
15098
|
-
purpose: "marketing" | "transactional";
|
|
15099
16000
|
requiredVariables: string[];
|
|
15100
16001
|
validationError?: string | undefined;
|
|
15101
16002
|
}, {
|
|
15102
|
-
createdAt: string | null;
|
|
15103
16003
|
updatedAt: string | null;
|
|
16004
|
+
createdAt: string | null;
|
|
15104
16005
|
content: {
|
|
15105
16006
|
style: Record<string, any>;
|
|
15106
16007
|
meta: Record<string, any>;
|
|
15107
16008
|
content: Record<string, any>[];
|
|
15108
16009
|
};
|
|
16010
|
+
purpose: "marketing" | "transactional";
|
|
15109
16011
|
title: string;
|
|
15110
16012
|
templateId: string;
|
|
15111
|
-
purpose: "marketing" | "transactional";
|
|
15112
16013
|
requiredVariables: string[];
|
|
15113
16014
|
validationError?: string | undefined;
|
|
15114
16015
|
}>;
|
|
@@ -15141,16 +16042,16 @@ declare const routes: {
|
|
|
15141
16042
|
method: "GET";
|
|
15142
16043
|
responses: {
|
|
15143
16044
|
200: _ts_rest_core.ContractPlainType<{
|
|
15144
|
-
createdAt: string | null;
|
|
15145
16045
|
updatedAt: string | null;
|
|
16046
|
+
createdAt: string | null;
|
|
15146
16047
|
content: {
|
|
15147
16048
|
style: Record<string, any>;
|
|
15148
16049
|
meta: Record<string, any>;
|
|
15149
16050
|
content: Record<string, any>[];
|
|
15150
16051
|
};
|
|
16052
|
+
purpose: "marketing" | "transactional";
|
|
15151
16053
|
title: string;
|
|
15152
16054
|
templateId: string;
|
|
15153
|
-
purpose: "marketing" | "transactional";
|
|
15154
16055
|
requiredVariables: string[];
|
|
15155
16056
|
validationError?: string | undefined;
|
|
15156
16057
|
}[]>;
|
|
@@ -15186,29 +16087,29 @@ declare const routes: {
|
|
|
15186
16087
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
15187
16088
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
15188
16089
|
}, "strip", zod.ZodTypeAny, {
|
|
15189
|
-
createdAt: string | null;
|
|
15190
16090
|
updatedAt: string | null;
|
|
16091
|
+
createdAt: string | null;
|
|
15191
16092
|
content: {
|
|
15192
16093
|
style: Record<string, any>;
|
|
15193
16094
|
meta: Record<string, any>;
|
|
15194
16095
|
content: Record<string, any>[];
|
|
15195
16096
|
};
|
|
16097
|
+
purpose: "marketing" | "transactional";
|
|
15196
16098
|
title: string;
|
|
15197
16099
|
templateId: string;
|
|
15198
|
-
purpose: "marketing" | "transactional";
|
|
15199
16100
|
requiredVariables: string[];
|
|
15200
16101
|
validationError?: string | undefined;
|
|
15201
16102
|
}, {
|
|
15202
|
-
createdAt: string | null;
|
|
15203
16103
|
updatedAt: string | null;
|
|
16104
|
+
createdAt: string | null;
|
|
15204
16105
|
content: {
|
|
15205
16106
|
style: Record<string, any>;
|
|
15206
16107
|
meta: Record<string, any>;
|
|
15207
16108
|
content: Record<string, any>[];
|
|
15208
16109
|
};
|
|
16110
|
+
purpose: "marketing" | "transactional";
|
|
15209
16111
|
title: string;
|
|
15210
16112
|
templateId: string;
|
|
15211
|
-
purpose: "marketing" | "transactional";
|
|
15212
16113
|
requiredVariables: string[];
|
|
15213
16114
|
validationError?: string | undefined;
|
|
15214
16115
|
}>;
|
|
@@ -16610,29 +17511,29 @@ declare const routes: {
|
|
|
16610
17511
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
16611
17512
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
16612
17513
|
}, "strip", zod.ZodTypeAny, {
|
|
16613
|
-
createdAt: string | null;
|
|
16614
17514
|
updatedAt: string | null;
|
|
17515
|
+
createdAt: string | null;
|
|
16615
17516
|
content: {
|
|
16616
17517
|
style: Record<string, any>;
|
|
16617
17518
|
meta: Record<string, any>;
|
|
16618
17519
|
content: Record<string, any>[];
|
|
16619
17520
|
};
|
|
17521
|
+
purpose: "marketing" | "transactional";
|
|
16620
17522
|
title: string;
|
|
16621
17523
|
templateId: string;
|
|
16622
|
-
purpose: "marketing" | "transactional";
|
|
16623
17524
|
requiredVariables: string[];
|
|
16624
17525
|
validationError?: string | undefined;
|
|
16625
17526
|
}, {
|
|
16626
|
-
createdAt: string | null;
|
|
16627
17527
|
updatedAt: string | null;
|
|
17528
|
+
createdAt: string | null;
|
|
16628
17529
|
content: {
|
|
16629
17530
|
style: Record<string, any>;
|
|
16630
17531
|
meta: Record<string, any>;
|
|
16631
17532
|
content: Record<string, any>[];
|
|
16632
17533
|
};
|
|
17534
|
+
purpose: "marketing" | "transactional";
|
|
16633
17535
|
title: string;
|
|
16634
17536
|
templateId: string;
|
|
16635
|
-
purpose: "marketing" | "transactional";
|
|
16636
17537
|
requiredVariables: string[];
|
|
16637
17538
|
validationError?: string | undefined;
|
|
16638
17539
|
}>;
|
|
@@ -16700,29 +17601,29 @@ declare const routes: {
|
|
|
16700
17601
|
createdAt: zod.ZodNullable<zod.ZodString>;
|
|
16701
17602
|
updatedAt: zod.ZodNullable<zod.ZodString>;
|
|
16702
17603
|
}, "strip", zod.ZodTypeAny, {
|
|
16703
|
-
createdAt: string | null;
|
|
16704
17604
|
updatedAt: string | null;
|
|
17605
|
+
createdAt: string | null;
|
|
16705
17606
|
content: {
|
|
16706
17607
|
style: Record<string, any>;
|
|
16707
17608
|
meta: Record<string, any>;
|
|
16708
17609
|
content: Record<string, any>[];
|
|
16709
17610
|
};
|
|
17611
|
+
purpose: "marketing" | "transactional";
|
|
16710
17612
|
title: string;
|
|
16711
17613
|
templateId: string;
|
|
16712
|
-
purpose: "marketing" | "transactional";
|
|
16713
17614
|
requiredVariables: string[];
|
|
16714
17615
|
validationError?: string | undefined;
|
|
16715
17616
|
}, {
|
|
16716
|
-
createdAt: string | null;
|
|
16717
17617
|
updatedAt: string | null;
|
|
17618
|
+
createdAt: string | null;
|
|
16718
17619
|
content: {
|
|
16719
17620
|
style: Record<string, any>;
|
|
16720
17621
|
meta: Record<string, any>;
|
|
16721
17622
|
content: Record<string, any>[];
|
|
16722
17623
|
};
|
|
17624
|
+
purpose: "marketing" | "transactional";
|
|
16723
17625
|
title: string;
|
|
16724
17626
|
templateId: string;
|
|
16725
|
-
purpose: "marketing" | "transactional";
|
|
16726
17627
|
requiredVariables: string[];
|
|
16727
17628
|
validationError?: string | undefined;
|
|
16728
17629
|
}>;
|
|
@@ -16814,6 +17715,8 @@ declare class SendLit {
|
|
|
16814
17715
|
readonly emails: Emails;
|
|
16815
17716
|
/** Custom events and the team's event definitions. */
|
|
16816
17717
|
readonly events: Events;
|
|
17718
|
+
/** Public signup forms, with or without double opt-in. */
|
|
17719
|
+
readonly forms: Forms;
|
|
16817
17720
|
readonly provisioning: Provisioning;
|
|
16818
17721
|
readonly suppressions: Suppressions;
|
|
16819
17722
|
readonly deliveryEvents: DeliveryEvents;
|
|
@@ -16849,4 +17752,4 @@ declare class SendLitError extends Error {
|
|
|
16849
17752
|
static fromResponse(status: number, body: unknown, headers?: Headers): SendLitError;
|
|
16850
17753
|
}
|
|
16851
17754
|
|
|
16852
|
-
export { AddSequenceEmailInput, Contact, ContactDelivery, ContactEvent, Contacts, CreateContactInput, CreateEventDefinitionInput, CreateSegmentInput, CreateSequenceInput, CreateTeamKeyInput, CreateTemplateInput, CreatedTeamKey, DEFAULT_ENDPOINT, DeliveryEvent, DeliveryEvents, DiscardSequenceChangesInput, DuplicateTemplateInput, EmailTemplate, Emails, EventDefinition, EventDefinitionDetail, EventDefinitions, Events, GeneralSettings, GeneralSettingsResource, ListContactEventsQuery, ListContactsQuery, ListDeliveryEventsQuery, ListEmailsQuery, ListSequenceDeliveriesQuery, ListSequenceSubscribersQuery, ListSequencesQuery, ListSuppressionsQuery, ListTemplatesQuery, Overview, OverviewQuery, OverviewResource, PostalAddress, ProvisionTeamInput, ProvisionTeamResponse, ProvisionedTeam, ProvisionedTeamUsage, Provisioning, PublishSequenceChangesInput, ReleaseSuppressionInput, RemoveTagResult, RenameTagInput, RenameTagResult, Segment, Segments, SendEmailInput, SendEmailResponse, SendLit, SendLitError, SendLitOptions, SendSequenceEmailTestInput, Sequence, SequenceDelivery, SequenceEmailTestResult, SequenceEmailVersion, SequenceStats, Sequences, Settings, Suppression, Suppressions, SystemTemplate, Tag, TagReferences, Tags, Templates, TrackEventInput, TrackEventResponse, TransactionalEmail, TransactionalEmailDetail, UpdateContactInput, UpdateEventDefinitionInput, UpdateGeneralSettingsInput, UpdateProvisionedTeamInput, UpdateSegmentInput, UpdateSequenceEmailInput, UpdateSequenceInput, UpdateTemplateInput };
|
|
17755
|
+
export { AddSequenceEmailInput, Contact, ContactDelivery, ContactEvent, Contacts, CreateContactInput, CreateEventDefinitionInput, CreateSegmentInput, CreateSequenceInput, CreateSignupFormInput, CreateTeamKeyInput, CreateTemplateInput, CreatedTeamKey, DEFAULT_ENDPOINT, DeliveryEvent, DeliveryEvents, DiscardSequenceChangesInput, DuplicateTemplateInput, EmailTemplate, Emails, EventDefinition, EventDefinitionDetail, EventDefinitions, Events, Forms, GeneralSettings, GeneralSettingsResource, ListContactEventsQuery, ListContactsQuery, ListDeliveryEventsQuery, ListEmailsQuery, ListSequenceDeliveriesQuery, ListSequenceSubscribersQuery, ListSequencesQuery, ListSuppressionsQuery, ListTemplatesQuery, Overview, OverviewQuery, OverviewResource, PostalAddress, ProvisionTeamInput, ProvisionTeamResponse, ProvisionedTeam, ProvisionedTeamUsage, Provisioning, PublishSequenceChangesInput, ReleaseSuppressionInput, RemoveTagResult, RenameTagInput, RenameTagResult, Segment, Segments, SendEmailInput, SendEmailResponse, SendLit, SendLitError, SendLitOptions, SendSequenceEmailTestInput, Sequence, SequenceDelivery, SequenceEmailTestResult, SequenceEmailVersion, SequenceStats, Sequences, Settings, SignupForm, SignupFormSubmission, SubmitSignupFormInput, Suppression, Suppressions, SystemTemplate, Tag, TagReferences, Tags, Templates, TrackEventInput, TrackEventResponse, TransactionalEmail, TransactionalEmailDetail, UpdateContactInput, UpdateEventDefinitionInput, UpdateGeneralSettingsInput, UpdateProvisionedTeamInput, UpdateSegmentInput, UpdateSequenceEmailInput, UpdateSequenceInput, UpdateSignupFormInput, UpdateTemplateInput };
|