@marlinjai/mail-sdk 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +45 -14
- package/dist/index.d.ts +45 -14
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -359,6 +359,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
359
359
|
type: "member";
|
|
360
360
|
subject: string;
|
|
361
361
|
member_id: string;
|
|
362
|
+
app?: "booking" | undefined;
|
|
362
363
|
} | {
|
|
363
364
|
type: "api_key";
|
|
364
365
|
api_key_id: string;
|
|
@@ -1224,6 +1225,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1224
1225
|
kind: "smtp";
|
|
1225
1226
|
created_at: string;
|
|
1226
1227
|
updated_at: string;
|
|
1228
|
+
reply_to: string | null;
|
|
1227
1229
|
config: {
|
|
1228
1230
|
host: string;
|
|
1229
1231
|
port: number;
|
|
@@ -1246,7 +1248,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1246
1248
|
};
|
|
1247
1249
|
from_name: string;
|
|
1248
1250
|
from_email: string;
|
|
1249
|
-
reply_to: string | null;
|
|
1250
1251
|
policy: {
|
|
1251
1252
|
daily_recipient_budget: number;
|
|
1252
1253
|
min_interval_ms: number;
|
|
@@ -1258,6 +1259,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1258
1259
|
kind: "resend";
|
|
1259
1260
|
created_at: string;
|
|
1260
1261
|
updated_at: string;
|
|
1262
|
+
reply_to: string | null;
|
|
1261
1263
|
config: {};
|
|
1262
1264
|
has_secret: boolean;
|
|
1263
1265
|
rejections: {
|
|
@@ -1275,7 +1277,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1275
1277
|
};
|
|
1276
1278
|
from_name: string;
|
|
1277
1279
|
from_email: string;
|
|
1278
|
-
reply_to: string | null;
|
|
1279
1280
|
policy: {
|
|
1280
1281
|
daily_recipient_budget: number;
|
|
1281
1282
|
min_interval_ms: number;
|
|
@@ -1297,6 +1298,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1297
1298
|
kind: "smtp";
|
|
1298
1299
|
created_at: string;
|
|
1299
1300
|
updated_at: string;
|
|
1301
|
+
reply_to: string | null;
|
|
1300
1302
|
config: {
|
|
1301
1303
|
host: string;
|
|
1302
1304
|
port: number;
|
|
@@ -1319,7 +1321,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1319
1321
|
};
|
|
1320
1322
|
from_name: string;
|
|
1321
1323
|
from_email: string;
|
|
1322
|
-
reply_to: string | null;
|
|
1323
1324
|
policy: {
|
|
1324
1325
|
daily_recipient_budget: number;
|
|
1325
1326
|
min_interval_ms: number;
|
|
@@ -1331,6 +1332,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1331
1332
|
kind: "resend";
|
|
1332
1333
|
created_at: string;
|
|
1333
1334
|
updated_at: string;
|
|
1335
|
+
reply_to: string | null;
|
|
1334
1336
|
config: {};
|
|
1335
1337
|
has_secret: boolean;
|
|
1336
1338
|
rejections: {
|
|
@@ -1348,7 +1350,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1348
1350
|
};
|
|
1349
1351
|
from_name: string;
|
|
1350
1352
|
from_email: string;
|
|
1351
|
-
reply_to: string | null;
|
|
1352
1353
|
policy: {
|
|
1353
1354
|
daily_recipient_budget: number;
|
|
1354
1355
|
min_interval_ms: number;
|
|
@@ -1368,6 +1369,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1368
1369
|
kind: "smtp";
|
|
1369
1370
|
created_at: string;
|
|
1370
1371
|
updated_at: string;
|
|
1372
|
+
reply_to: string | null;
|
|
1371
1373
|
config: {
|
|
1372
1374
|
host: string;
|
|
1373
1375
|
port: number;
|
|
@@ -1390,7 +1392,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1390
1392
|
};
|
|
1391
1393
|
from_name: string;
|
|
1392
1394
|
from_email: string;
|
|
1393
|
-
reply_to: string | null;
|
|
1394
1395
|
policy: {
|
|
1395
1396
|
daily_recipient_budget: number;
|
|
1396
1397
|
min_interval_ms: number;
|
|
@@ -1402,6 +1403,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1402
1403
|
kind: "resend";
|
|
1403
1404
|
created_at: string;
|
|
1404
1405
|
updated_at: string;
|
|
1406
|
+
reply_to: string | null;
|
|
1405
1407
|
config: {};
|
|
1406
1408
|
has_secret: boolean;
|
|
1407
1409
|
rejections: {
|
|
@@ -1419,7 +1421,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1419
1421
|
};
|
|
1420
1422
|
from_name: string;
|
|
1421
1423
|
from_email: string;
|
|
1422
|
-
reply_to: string | null;
|
|
1423
1424
|
policy: {
|
|
1424
1425
|
daily_recipient_budget: number;
|
|
1425
1426
|
min_interval_ms: number;
|
|
@@ -1439,6 +1440,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1439
1440
|
kind: "smtp";
|
|
1440
1441
|
created_at: string;
|
|
1441
1442
|
updated_at: string;
|
|
1443
|
+
reply_to: string | null;
|
|
1442
1444
|
config: {
|
|
1443
1445
|
host: string;
|
|
1444
1446
|
port: number;
|
|
@@ -1461,7 +1463,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1461
1463
|
};
|
|
1462
1464
|
from_name: string;
|
|
1463
1465
|
from_email: string;
|
|
1464
|
-
reply_to: string | null;
|
|
1465
1466
|
policy: {
|
|
1466
1467
|
daily_recipient_budget: number;
|
|
1467
1468
|
min_interval_ms: number;
|
|
@@ -1473,6 +1474,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1473
1474
|
kind: "resend";
|
|
1474
1475
|
created_at: string;
|
|
1475
1476
|
updated_at: string;
|
|
1477
|
+
reply_to: string | null;
|
|
1476
1478
|
config: {};
|
|
1477
1479
|
has_secret: boolean;
|
|
1478
1480
|
rejections: {
|
|
@@ -1490,7 +1492,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1490
1492
|
};
|
|
1491
1493
|
from_name: string;
|
|
1492
1494
|
from_email: string;
|
|
1493
|
-
reply_to: string | null;
|
|
1494
1495
|
policy: {
|
|
1495
1496
|
daily_recipient_budget: number;
|
|
1496
1497
|
min_interval_ms: number;
|
|
@@ -1524,6 +1525,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1524
1525
|
kind: "smtp";
|
|
1525
1526
|
created_at: string;
|
|
1526
1527
|
updated_at: string;
|
|
1528
|
+
reply_to: string | null;
|
|
1527
1529
|
config: {
|
|
1528
1530
|
host: string;
|
|
1529
1531
|
port: number;
|
|
@@ -1546,7 +1548,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1546
1548
|
};
|
|
1547
1549
|
from_name: string;
|
|
1548
1550
|
from_email: string;
|
|
1549
|
-
reply_to: string | null;
|
|
1550
1551
|
policy: {
|
|
1551
1552
|
daily_recipient_budget: number;
|
|
1552
1553
|
min_interval_ms: number;
|
|
@@ -1558,6 +1559,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1558
1559
|
kind: "resend";
|
|
1559
1560
|
created_at: string;
|
|
1560
1561
|
updated_at: string;
|
|
1562
|
+
reply_to: string | null;
|
|
1561
1563
|
config: {};
|
|
1562
1564
|
has_secret: boolean;
|
|
1563
1565
|
rejections: {
|
|
@@ -1575,7 +1577,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1575
1577
|
};
|
|
1576
1578
|
from_name: string;
|
|
1577
1579
|
from_email: string;
|
|
1578
|
-
reply_to: string | null;
|
|
1579
1580
|
policy: {
|
|
1580
1581
|
daily_recipient_budget: number;
|
|
1581
1582
|
min_interval_ms: number;
|
|
@@ -1596,6 +1597,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1596
1597
|
kind: "smtp";
|
|
1597
1598
|
created_at: string;
|
|
1598
1599
|
updated_at: string;
|
|
1600
|
+
reply_to: string | null;
|
|
1599
1601
|
config: {
|
|
1600
1602
|
host: string;
|
|
1601
1603
|
port: number;
|
|
@@ -1618,7 +1620,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1618
1620
|
};
|
|
1619
1621
|
from_name: string;
|
|
1620
1622
|
from_email: string;
|
|
1621
|
-
reply_to: string | null;
|
|
1622
1623
|
policy: {
|
|
1623
1624
|
daily_recipient_budget: number;
|
|
1624
1625
|
min_interval_ms: number;
|
|
@@ -1630,6 +1631,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1630
1631
|
kind: "resend";
|
|
1631
1632
|
created_at: string;
|
|
1632
1633
|
updated_at: string;
|
|
1634
|
+
reply_to: string | null;
|
|
1633
1635
|
config: {};
|
|
1634
1636
|
has_secret: boolean;
|
|
1635
1637
|
rejections: {
|
|
@@ -1647,7 +1649,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1647
1649
|
};
|
|
1648
1650
|
from_name: string;
|
|
1649
1651
|
from_email: string;
|
|
1650
|
-
reply_to: string | null;
|
|
1651
1652
|
policy: {
|
|
1652
1653
|
daily_recipient_budget: number;
|
|
1653
1654
|
min_interval_ms: number;
|
|
@@ -1820,7 +1821,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1820
1821
|
list: (query?: RouteQuery<"suppressions.list">, opts?: RequestOpts) => Promise<{
|
|
1821
1822
|
data: {
|
|
1822
1823
|
id: string;
|
|
1823
|
-
reason: "manual" | "
|
|
1824
|
+
reason: "manual" | "bounced" | "complained" | "unsubscribed";
|
|
1824
1825
|
email: string;
|
|
1825
1826
|
note: string | null;
|
|
1826
1827
|
created_at: string;
|
|
@@ -1831,7 +1832,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1831
1832
|
}>;
|
|
1832
1833
|
create: (body: RouteBody<"suppressions.create">, opts?: RequestOpts) => Promise<{
|
|
1833
1834
|
id: string;
|
|
1834
|
-
reason: "manual" | "
|
|
1835
|
+
reason: "manual" | "bounced" | "complained" | "unsubscribed";
|
|
1835
1836
|
email: string;
|
|
1836
1837
|
note: string | null;
|
|
1837
1838
|
created_at: string;
|
|
@@ -1869,6 +1870,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1869
1870
|
failed: number;
|
|
1870
1871
|
skipped: number;
|
|
1871
1872
|
};
|
|
1873
|
+
reply_to: string | null;
|
|
1874
|
+
transactional: boolean;
|
|
1872
1875
|
scheduled_at: string | null;
|
|
1873
1876
|
ab_test: {
|
|
1874
1877
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -1923,6 +1926,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1923
1926
|
failed: number;
|
|
1924
1927
|
skipped: number;
|
|
1925
1928
|
};
|
|
1929
|
+
reply_to: string | null;
|
|
1930
|
+
transactional: boolean;
|
|
1926
1931
|
scheduled_at: string | null;
|
|
1927
1932
|
ab_test: {
|
|
1928
1933
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -1975,6 +1980,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1975
1980
|
failed: number;
|
|
1976
1981
|
skipped: number;
|
|
1977
1982
|
};
|
|
1983
|
+
reply_to: string | null;
|
|
1984
|
+
transactional: boolean;
|
|
1978
1985
|
scheduled_at: string | null;
|
|
1979
1986
|
ab_test: {
|
|
1980
1987
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2029,6 +2036,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2029
2036
|
failed: number;
|
|
2030
2037
|
skipped: number;
|
|
2031
2038
|
};
|
|
2039
|
+
reply_to: string | null;
|
|
2040
|
+
transactional: boolean;
|
|
2032
2041
|
scheduled_at: string | null;
|
|
2033
2042
|
ab_test: {
|
|
2034
2043
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2150,6 +2159,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2150
2159
|
failed: number;
|
|
2151
2160
|
skipped: number;
|
|
2152
2161
|
};
|
|
2162
|
+
reply_to: string | null;
|
|
2163
|
+
transactional: boolean;
|
|
2153
2164
|
scheduled_at: string | null;
|
|
2154
2165
|
ab_test: {
|
|
2155
2166
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2202,6 +2213,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2202
2213
|
failed: number;
|
|
2203
2214
|
skipped: number;
|
|
2204
2215
|
};
|
|
2216
|
+
reply_to: string | null;
|
|
2217
|
+
transactional: boolean;
|
|
2205
2218
|
scheduled_at: string | null;
|
|
2206
2219
|
ab_test: {
|
|
2207
2220
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2254,6 +2267,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2254
2267
|
failed: number;
|
|
2255
2268
|
skipped: number;
|
|
2256
2269
|
};
|
|
2270
|
+
reply_to: string | null;
|
|
2271
|
+
transactional: boolean;
|
|
2257
2272
|
scheduled_at: string | null;
|
|
2258
2273
|
ab_test: {
|
|
2259
2274
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2306,6 +2321,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2306
2321
|
failed: number;
|
|
2307
2322
|
skipped: number;
|
|
2308
2323
|
};
|
|
2324
|
+
reply_to: string | null;
|
|
2325
|
+
transactional: boolean;
|
|
2309
2326
|
scheduled_at: string | null;
|
|
2310
2327
|
ab_test: {
|
|
2311
2328
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2358,6 +2375,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2358
2375
|
failed: number;
|
|
2359
2376
|
skipped: number;
|
|
2360
2377
|
};
|
|
2378
|
+
reply_to: string | null;
|
|
2379
|
+
transactional: boolean;
|
|
2361
2380
|
scheduled_at: string | null;
|
|
2362
2381
|
ab_test: {
|
|
2363
2382
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2410,6 +2429,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2410
2429
|
failed: number;
|
|
2411
2430
|
skipped: number;
|
|
2412
2431
|
};
|
|
2432
|
+
reply_to: string | null;
|
|
2433
|
+
transactional: boolean;
|
|
2413
2434
|
scheduled_at: string | null;
|
|
2414
2435
|
ab_test: {
|
|
2415
2436
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2470,6 +2491,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2470
2491
|
failed: number;
|
|
2471
2492
|
skipped: number;
|
|
2472
2493
|
};
|
|
2494
|
+
reply_to: string | null;
|
|
2495
|
+
transactional: boolean;
|
|
2473
2496
|
scheduled_at: string | null;
|
|
2474
2497
|
ab_test: {
|
|
2475
2498
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2522,6 +2545,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2522
2545
|
failed: number;
|
|
2523
2546
|
skipped: number;
|
|
2524
2547
|
};
|
|
2548
|
+
reply_to: string | null;
|
|
2549
|
+
transactional: boolean;
|
|
2525
2550
|
scheduled_at: string | null;
|
|
2526
2551
|
ab_test: {
|
|
2527
2552
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2574,6 +2599,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2574
2599
|
failed: number;
|
|
2575
2600
|
skipped: number;
|
|
2576
2601
|
};
|
|
2602
|
+
reply_to: string | null;
|
|
2603
|
+
transactional: boolean;
|
|
2577
2604
|
scheduled_at: string | null;
|
|
2578
2605
|
ab_test: {
|
|
2579
2606
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2626,6 +2653,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2626
2653
|
failed: number;
|
|
2627
2654
|
skipped: number;
|
|
2628
2655
|
};
|
|
2656
|
+
reply_to: string | null;
|
|
2657
|
+
transactional: boolean;
|
|
2629
2658
|
scheduled_at: string | null;
|
|
2630
2659
|
ab_test: {
|
|
2631
2660
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2678,6 +2707,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2678
2707
|
failed: number;
|
|
2679
2708
|
skipped: number;
|
|
2680
2709
|
};
|
|
2710
|
+
reply_to: string | null;
|
|
2711
|
+
transactional: boolean;
|
|
2681
2712
|
scheduled_at: string | null;
|
|
2682
2713
|
ab_test: {
|
|
2683
2714
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
package/dist/index.d.ts
CHANGED
|
@@ -359,6 +359,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
359
359
|
type: "member";
|
|
360
360
|
subject: string;
|
|
361
361
|
member_id: string;
|
|
362
|
+
app?: "booking" | undefined;
|
|
362
363
|
} | {
|
|
363
364
|
type: "api_key";
|
|
364
365
|
api_key_id: string;
|
|
@@ -1224,6 +1225,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1224
1225
|
kind: "smtp";
|
|
1225
1226
|
created_at: string;
|
|
1226
1227
|
updated_at: string;
|
|
1228
|
+
reply_to: string | null;
|
|
1227
1229
|
config: {
|
|
1228
1230
|
host: string;
|
|
1229
1231
|
port: number;
|
|
@@ -1246,7 +1248,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1246
1248
|
};
|
|
1247
1249
|
from_name: string;
|
|
1248
1250
|
from_email: string;
|
|
1249
|
-
reply_to: string | null;
|
|
1250
1251
|
policy: {
|
|
1251
1252
|
daily_recipient_budget: number;
|
|
1252
1253
|
min_interval_ms: number;
|
|
@@ -1258,6 +1259,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1258
1259
|
kind: "resend";
|
|
1259
1260
|
created_at: string;
|
|
1260
1261
|
updated_at: string;
|
|
1262
|
+
reply_to: string | null;
|
|
1261
1263
|
config: {};
|
|
1262
1264
|
has_secret: boolean;
|
|
1263
1265
|
rejections: {
|
|
@@ -1275,7 +1277,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1275
1277
|
};
|
|
1276
1278
|
from_name: string;
|
|
1277
1279
|
from_email: string;
|
|
1278
|
-
reply_to: string | null;
|
|
1279
1280
|
policy: {
|
|
1280
1281
|
daily_recipient_budget: number;
|
|
1281
1282
|
min_interval_ms: number;
|
|
@@ -1297,6 +1298,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1297
1298
|
kind: "smtp";
|
|
1298
1299
|
created_at: string;
|
|
1299
1300
|
updated_at: string;
|
|
1301
|
+
reply_to: string | null;
|
|
1300
1302
|
config: {
|
|
1301
1303
|
host: string;
|
|
1302
1304
|
port: number;
|
|
@@ -1319,7 +1321,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1319
1321
|
};
|
|
1320
1322
|
from_name: string;
|
|
1321
1323
|
from_email: string;
|
|
1322
|
-
reply_to: string | null;
|
|
1323
1324
|
policy: {
|
|
1324
1325
|
daily_recipient_budget: number;
|
|
1325
1326
|
min_interval_ms: number;
|
|
@@ -1331,6 +1332,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1331
1332
|
kind: "resend";
|
|
1332
1333
|
created_at: string;
|
|
1333
1334
|
updated_at: string;
|
|
1335
|
+
reply_to: string | null;
|
|
1334
1336
|
config: {};
|
|
1335
1337
|
has_secret: boolean;
|
|
1336
1338
|
rejections: {
|
|
@@ -1348,7 +1350,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1348
1350
|
};
|
|
1349
1351
|
from_name: string;
|
|
1350
1352
|
from_email: string;
|
|
1351
|
-
reply_to: string | null;
|
|
1352
1353
|
policy: {
|
|
1353
1354
|
daily_recipient_budget: number;
|
|
1354
1355
|
min_interval_ms: number;
|
|
@@ -1368,6 +1369,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1368
1369
|
kind: "smtp";
|
|
1369
1370
|
created_at: string;
|
|
1370
1371
|
updated_at: string;
|
|
1372
|
+
reply_to: string | null;
|
|
1371
1373
|
config: {
|
|
1372
1374
|
host: string;
|
|
1373
1375
|
port: number;
|
|
@@ -1390,7 +1392,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1390
1392
|
};
|
|
1391
1393
|
from_name: string;
|
|
1392
1394
|
from_email: string;
|
|
1393
|
-
reply_to: string | null;
|
|
1394
1395
|
policy: {
|
|
1395
1396
|
daily_recipient_budget: number;
|
|
1396
1397
|
min_interval_ms: number;
|
|
@@ -1402,6 +1403,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1402
1403
|
kind: "resend";
|
|
1403
1404
|
created_at: string;
|
|
1404
1405
|
updated_at: string;
|
|
1406
|
+
reply_to: string | null;
|
|
1405
1407
|
config: {};
|
|
1406
1408
|
has_secret: boolean;
|
|
1407
1409
|
rejections: {
|
|
@@ -1419,7 +1421,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1419
1421
|
};
|
|
1420
1422
|
from_name: string;
|
|
1421
1423
|
from_email: string;
|
|
1422
|
-
reply_to: string | null;
|
|
1423
1424
|
policy: {
|
|
1424
1425
|
daily_recipient_budget: number;
|
|
1425
1426
|
min_interval_ms: number;
|
|
@@ -1439,6 +1440,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1439
1440
|
kind: "smtp";
|
|
1440
1441
|
created_at: string;
|
|
1441
1442
|
updated_at: string;
|
|
1443
|
+
reply_to: string | null;
|
|
1442
1444
|
config: {
|
|
1443
1445
|
host: string;
|
|
1444
1446
|
port: number;
|
|
@@ -1461,7 +1463,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1461
1463
|
};
|
|
1462
1464
|
from_name: string;
|
|
1463
1465
|
from_email: string;
|
|
1464
|
-
reply_to: string | null;
|
|
1465
1466
|
policy: {
|
|
1466
1467
|
daily_recipient_budget: number;
|
|
1467
1468
|
min_interval_ms: number;
|
|
@@ -1473,6 +1474,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1473
1474
|
kind: "resend";
|
|
1474
1475
|
created_at: string;
|
|
1475
1476
|
updated_at: string;
|
|
1477
|
+
reply_to: string | null;
|
|
1476
1478
|
config: {};
|
|
1477
1479
|
has_secret: boolean;
|
|
1478
1480
|
rejections: {
|
|
@@ -1490,7 +1492,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1490
1492
|
};
|
|
1491
1493
|
from_name: string;
|
|
1492
1494
|
from_email: string;
|
|
1493
|
-
reply_to: string | null;
|
|
1494
1495
|
policy: {
|
|
1495
1496
|
daily_recipient_budget: number;
|
|
1496
1497
|
min_interval_ms: number;
|
|
@@ -1524,6 +1525,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1524
1525
|
kind: "smtp";
|
|
1525
1526
|
created_at: string;
|
|
1526
1527
|
updated_at: string;
|
|
1528
|
+
reply_to: string | null;
|
|
1527
1529
|
config: {
|
|
1528
1530
|
host: string;
|
|
1529
1531
|
port: number;
|
|
@@ -1546,7 +1548,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1546
1548
|
};
|
|
1547
1549
|
from_name: string;
|
|
1548
1550
|
from_email: string;
|
|
1549
|
-
reply_to: string | null;
|
|
1550
1551
|
policy: {
|
|
1551
1552
|
daily_recipient_budget: number;
|
|
1552
1553
|
min_interval_ms: number;
|
|
@@ -1558,6 +1559,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1558
1559
|
kind: "resend";
|
|
1559
1560
|
created_at: string;
|
|
1560
1561
|
updated_at: string;
|
|
1562
|
+
reply_to: string | null;
|
|
1561
1563
|
config: {};
|
|
1562
1564
|
has_secret: boolean;
|
|
1563
1565
|
rejections: {
|
|
@@ -1575,7 +1577,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1575
1577
|
};
|
|
1576
1578
|
from_name: string;
|
|
1577
1579
|
from_email: string;
|
|
1578
|
-
reply_to: string | null;
|
|
1579
1580
|
policy: {
|
|
1580
1581
|
daily_recipient_budget: number;
|
|
1581
1582
|
min_interval_ms: number;
|
|
@@ -1596,6 +1597,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1596
1597
|
kind: "smtp";
|
|
1597
1598
|
created_at: string;
|
|
1598
1599
|
updated_at: string;
|
|
1600
|
+
reply_to: string | null;
|
|
1599
1601
|
config: {
|
|
1600
1602
|
host: string;
|
|
1601
1603
|
port: number;
|
|
@@ -1618,7 +1620,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1618
1620
|
};
|
|
1619
1621
|
from_name: string;
|
|
1620
1622
|
from_email: string;
|
|
1621
|
-
reply_to: string | null;
|
|
1622
1623
|
policy: {
|
|
1623
1624
|
daily_recipient_budget: number;
|
|
1624
1625
|
min_interval_ms: number;
|
|
@@ -1630,6 +1631,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1630
1631
|
kind: "resend";
|
|
1631
1632
|
created_at: string;
|
|
1632
1633
|
updated_at: string;
|
|
1634
|
+
reply_to: string | null;
|
|
1633
1635
|
config: {};
|
|
1634
1636
|
has_secret: boolean;
|
|
1635
1637
|
rejections: {
|
|
@@ -1647,7 +1649,6 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1647
1649
|
};
|
|
1648
1650
|
from_name: string;
|
|
1649
1651
|
from_email: string;
|
|
1650
|
-
reply_to: string | null;
|
|
1651
1652
|
policy: {
|
|
1652
1653
|
daily_recipient_budget: number;
|
|
1653
1654
|
min_interval_ms: number;
|
|
@@ -1820,7 +1821,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1820
1821
|
list: (query?: RouteQuery<"suppressions.list">, opts?: RequestOpts) => Promise<{
|
|
1821
1822
|
data: {
|
|
1822
1823
|
id: string;
|
|
1823
|
-
reason: "manual" | "
|
|
1824
|
+
reason: "manual" | "bounced" | "complained" | "unsubscribed";
|
|
1824
1825
|
email: string;
|
|
1825
1826
|
note: string | null;
|
|
1826
1827
|
created_at: string;
|
|
@@ -1831,7 +1832,7 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1831
1832
|
}>;
|
|
1832
1833
|
create: (body: RouteBody<"suppressions.create">, opts?: RequestOpts) => Promise<{
|
|
1833
1834
|
id: string;
|
|
1834
|
-
reason: "manual" | "
|
|
1835
|
+
reason: "manual" | "bounced" | "complained" | "unsubscribed";
|
|
1835
1836
|
email: string;
|
|
1836
1837
|
note: string | null;
|
|
1837
1838
|
created_at: string;
|
|
@@ -1869,6 +1870,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1869
1870
|
failed: number;
|
|
1870
1871
|
skipped: number;
|
|
1871
1872
|
};
|
|
1873
|
+
reply_to: string | null;
|
|
1874
|
+
transactional: boolean;
|
|
1872
1875
|
scheduled_at: string | null;
|
|
1873
1876
|
ab_test: {
|
|
1874
1877
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -1923,6 +1926,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1923
1926
|
failed: number;
|
|
1924
1927
|
skipped: number;
|
|
1925
1928
|
};
|
|
1929
|
+
reply_to: string | null;
|
|
1930
|
+
transactional: boolean;
|
|
1926
1931
|
scheduled_at: string | null;
|
|
1927
1932
|
ab_test: {
|
|
1928
1933
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -1975,6 +1980,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
1975
1980
|
failed: number;
|
|
1976
1981
|
skipped: number;
|
|
1977
1982
|
};
|
|
1983
|
+
reply_to: string | null;
|
|
1984
|
+
transactional: boolean;
|
|
1978
1985
|
scheduled_at: string | null;
|
|
1979
1986
|
ab_test: {
|
|
1980
1987
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2029,6 +2036,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2029
2036
|
failed: number;
|
|
2030
2037
|
skipped: number;
|
|
2031
2038
|
};
|
|
2039
|
+
reply_to: string | null;
|
|
2040
|
+
transactional: boolean;
|
|
2032
2041
|
scheduled_at: string | null;
|
|
2033
2042
|
ab_test: {
|
|
2034
2043
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2150,6 +2159,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2150
2159
|
failed: number;
|
|
2151
2160
|
skipped: number;
|
|
2152
2161
|
};
|
|
2162
|
+
reply_to: string | null;
|
|
2163
|
+
transactional: boolean;
|
|
2153
2164
|
scheduled_at: string | null;
|
|
2154
2165
|
ab_test: {
|
|
2155
2166
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2202,6 +2213,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2202
2213
|
failed: number;
|
|
2203
2214
|
skipped: number;
|
|
2204
2215
|
};
|
|
2216
|
+
reply_to: string | null;
|
|
2217
|
+
transactional: boolean;
|
|
2205
2218
|
scheduled_at: string | null;
|
|
2206
2219
|
ab_test: {
|
|
2207
2220
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2254,6 +2267,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2254
2267
|
failed: number;
|
|
2255
2268
|
skipped: number;
|
|
2256
2269
|
};
|
|
2270
|
+
reply_to: string | null;
|
|
2271
|
+
transactional: boolean;
|
|
2257
2272
|
scheduled_at: string | null;
|
|
2258
2273
|
ab_test: {
|
|
2259
2274
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2306,6 +2321,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2306
2321
|
failed: number;
|
|
2307
2322
|
skipped: number;
|
|
2308
2323
|
};
|
|
2324
|
+
reply_to: string | null;
|
|
2325
|
+
transactional: boolean;
|
|
2309
2326
|
scheduled_at: string | null;
|
|
2310
2327
|
ab_test: {
|
|
2311
2328
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2358,6 +2375,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2358
2375
|
failed: number;
|
|
2359
2376
|
skipped: number;
|
|
2360
2377
|
};
|
|
2378
|
+
reply_to: string | null;
|
|
2379
|
+
transactional: boolean;
|
|
2361
2380
|
scheduled_at: string | null;
|
|
2362
2381
|
ab_test: {
|
|
2363
2382
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2410,6 +2429,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2410
2429
|
failed: number;
|
|
2411
2430
|
skipped: number;
|
|
2412
2431
|
};
|
|
2432
|
+
reply_to: string | null;
|
|
2433
|
+
transactional: boolean;
|
|
2413
2434
|
scheduled_at: string | null;
|
|
2414
2435
|
ab_test: {
|
|
2415
2436
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2470,6 +2491,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2470
2491
|
failed: number;
|
|
2471
2492
|
skipped: number;
|
|
2472
2493
|
};
|
|
2494
|
+
reply_to: string | null;
|
|
2495
|
+
transactional: boolean;
|
|
2473
2496
|
scheduled_at: string | null;
|
|
2474
2497
|
ab_test: {
|
|
2475
2498
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2522,6 +2545,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2522
2545
|
failed: number;
|
|
2523
2546
|
skipped: number;
|
|
2524
2547
|
};
|
|
2548
|
+
reply_to: string | null;
|
|
2549
|
+
transactional: boolean;
|
|
2525
2550
|
scheduled_at: string | null;
|
|
2526
2551
|
ab_test: {
|
|
2527
2552
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2574,6 +2599,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2574
2599
|
failed: number;
|
|
2575
2600
|
skipped: number;
|
|
2576
2601
|
};
|
|
2602
|
+
reply_to: string | null;
|
|
2603
|
+
transactional: boolean;
|
|
2577
2604
|
scheduled_at: string | null;
|
|
2578
2605
|
ab_test: {
|
|
2579
2606
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2626,6 +2653,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2626
2653
|
failed: number;
|
|
2627
2654
|
skipped: number;
|
|
2628
2655
|
};
|
|
2656
|
+
reply_to: string | null;
|
|
2657
|
+
transactional: boolean;
|
|
2629
2658
|
scheduled_at: string | null;
|
|
2630
2659
|
ab_test: {
|
|
2631
2660
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
|
@@ -2678,6 +2707,8 @@ declare function createNamespaces(config: CoreConfig): {
|
|
|
2678
2707
|
failed: number;
|
|
2679
2708
|
skipped: number;
|
|
2680
2709
|
};
|
|
2710
|
+
reply_to: string | null;
|
|
2711
|
+
transactional: boolean;
|
|
2681
2712
|
scheduled_at: string | null;
|
|
2682
2713
|
ab_test: {
|
|
2683
2714
|
status: "pending" | "testing" | "awaiting_pick" | "decided";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.13.0",
|
|
7
7
|
"description": "Typed client for the Lumitra Mail v1 API: Node and edge runtimes, retries with idempotency, cursor pagination, webhook verification",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"LICENSE"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@marlinjai/mail-contract": "^0.
|
|
35
|
+
"@marlinjai/mail-contract": "^0.13.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"zod": "^3.25.0"
|