samva 0.20.0 → 0.22.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/client/sdk.gen.d.ts +30 -5
- package/dist/client/sdk.gen.js +69 -2
- package/dist/client/types.gen.d.ts +190 -17
- package/dist/effect/api-keys.d.ts +7 -0
- package/dist/effect/campaigns.d.ts +31 -0
- package/dist/effect/generated/api-keys.d.ts +15 -0
- package/dist/effect/generated/api-keys.js +2 -0
- package/dist/effect/generated/campaigns.d.ts +63 -0
- package/dist/effect/generated/campaigns.js +4 -0
- package/dist/effect/generated/journeys.d.ts +18 -0
- package/dist/effect/generated/journeys.js +4 -0
- package/dist/effect/generated/shared.d.ts +20 -4
- package/dist/effect/generated/shared.js +9 -1
- package/dist/effect/generated/templates.d.ts +322 -0
- package/dist/effect/generated/templates.js +48 -8
- package/dist/effect/generated/webhooks.d.ts +139 -19
- package/dist/effect/generated/webhooks.js +39 -3
- package/dist/effect/generated-metadata.d.ts +10 -0
- package/dist/effect/generated-metadata.js +2 -0
- package/dist/effect/journeys.d.ts +8 -0
- package/dist/effect/templates.d.ts +74 -0
- package/dist/effect/templates.js +3 -1
- package/dist/effect/webhooks.d.ts +15 -8
- package/dist/effect/webhooks.js +3 -1
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +9 -0
- package/dist/service-map.js +5 -0
- package/package.json +5 -3
|
@@ -59,6 +59,7 @@ export type CampaignLatestRun = {
|
|
|
59
59
|
readonly dispatchedCount: number;
|
|
60
60
|
readonly failedCount: number;
|
|
61
61
|
readonly skippedCount: number;
|
|
62
|
+
readonly pendingCount: number;
|
|
62
63
|
readonly estimatedCompletionAt: string | null;
|
|
63
64
|
};
|
|
64
65
|
export declare const CampaignLatestRun: Schema.Struct<{
|
|
@@ -70,6 +71,7 @@ export declare const CampaignLatestRun: Schema.Struct<{
|
|
|
70
71
|
readonly dispatchedCount: Schema.Finite;
|
|
71
72
|
readonly failedCount: Schema.Finite;
|
|
72
73
|
readonly skippedCount: Schema.Finite;
|
|
74
|
+
readonly pendingCount: Schema.Finite;
|
|
73
75
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
74
76
|
}>;
|
|
75
77
|
export type CampaignRecipientPage = {
|
|
@@ -257,6 +259,7 @@ export declare const CampaignListItem: Schema.Struct<{
|
|
|
257
259
|
readonly dispatchedCount: Schema.Finite;
|
|
258
260
|
readonly failedCount: Schema.Finite;
|
|
259
261
|
readonly skippedCount: Schema.Finite;
|
|
262
|
+
readonly pendingCount: Schema.Finite;
|
|
260
263
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
261
264
|
}>, Schema.Null]>;
|
|
262
265
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -342,6 +345,7 @@ export declare const Campaign: Schema.Struct<{
|
|
|
342
345
|
readonly dispatchedCount: Schema.Finite;
|
|
343
346
|
readonly failedCount: Schema.Finite;
|
|
344
347
|
readonly skippedCount: Schema.Finite;
|
|
348
|
+
readonly pendingCount: Schema.Finite;
|
|
345
349
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
346
350
|
}>, Schema.Null]>;
|
|
347
351
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -365,11 +369,14 @@ export type CampaignRun = {
|
|
|
365
369
|
readonly dispatchedCount: number;
|
|
366
370
|
readonly failedCount: number;
|
|
367
371
|
readonly skippedCount: number;
|
|
372
|
+
readonly pendingCount: number;
|
|
368
373
|
readonly skippedReasons: ReadonlyArray<CampaignRunSkippedReason>;
|
|
369
374
|
readonly estimatedCompletionAt: string | null;
|
|
370
375
|
readonly failureReason: string | null;
|
|
371
376
|
readonly holdReason: string | null;
|
|
372
377
|
readonly holdDomainId: EmailDomainId | null;
|
|
378
|
+
readonly holdUntil: string | null;
|
|
379
|
+
readonly capacityWarning: string | null;
|
|
373
380
|
readonly lastContactId: string | null;
|
|
374
381
|
readonly createdBy: string | null;
|
|
375
382
|
readonly actorEmail: string;
|
|
@@ -433,6 +440,7 @@ export declare const CampaignRun: Schema.Struct<{
|
|
|
433
440
|
readonly dispatchedCount: Schema.Finite;
|
|
434
441
|
readonly failedCount: Schema.Finite;
|
|
435
442
|
readonly skippedCount: Schema.Finite;
|
|
443
|
+
readonly pendingCount: Schema.Finite;
|
|
436
444
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
437
445
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
438
446
|
readonly count: Schema.Finite;
|
|
@@ -441,6 +449,8 @@ export declare const CampaignRun: Schema.Struct<{
|
|
|
441
449
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
442
450
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
443
451
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
452
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
453
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
444
454
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
445
455
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
446
456
|
readonly actorEmail: Schema.String;
|
|
@@ -514,6 +524,7 @@ export declare const CampaignPage: Schema.Struct<{
|
|
|
514
524
|
readonly dispatchedCount: Schema.Finite;
|
|
515
525
|
readonly failedCount: Schema.Finite;
|
|
516
526
|
readonly skippedCount: Schema.Finite;
|
|
527
|
+
readonly pendingCount: Schema.Finite;
|
|
517
528
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
518
529
|
}>, Schema.Null]>;
|
|
519
530
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -586,6 +597,7 @@ export declare const CampaignRunPage: Schema.Struct<{
|
|
|
586
597
|
readonly dispatchedCount: Schema.Finite;
|
|
587
598
|
readonly failedCount: Schema.Finite;
|
|
588
599
|
readonly skippedCount: Schema.Finite;
|
|
600
|
+
readonly pendingCount: Schema.Finite;
|
|
589
601
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
590
602
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
591
603
|
readonly count: Schema.Finite;
|
|
@@ -594,6 +606,8 @@ export declare const CampaignRunPage: Schema.Struct<{
|
|
|
594
606
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
595
607
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
596
608
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
609
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
610
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
597
611
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
598
612
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
599
613
|
readonly actorEmail: Schema.String;
|
|
@@ -665,6 +679,7 @@ export declare const CampaignRunAction: Schema.Struct<{
|
|
|
665
679
|
readonly dispatchedCount: Schema.Finite;
|
|
666
680
|
readonly failedCount: Schema.Finite;
|
|
667
681
|
readonly skippedCount: Schema.Finite;
|
|
682
|
+
readonly pendingCount: Schema.Finite;
|
|
668
683
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
669
684
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
670
685
|
readonly count: Schema.Finite;
|
|
@@ -673,6 +688,8 @@ export declare const CampaignRunAction: Schema.Struct<{
|
|
|
673
688
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
674
689
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
675
690
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
691
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
692
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
676
693
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
677
694
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
678
695
|
readonly actorEmail: Schema.String;
|
|
@@ -754,6 +771,7 @@ export declare const CampaignsList200: Schema.Struct<{
|
|
|
754
771
|
readonly dispatchedCount: Schema.Finite;
|
|
755
772
|
readonly failedCount: Schema.Finite;
|
|
756
773
|
readonly skippedCount: Schema.Finite;
|
|
774
|
+
readonly pendingCount: Schema.Finite;
|
|
757
775
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
758
776
|
}>, Schema.Null]>;
|
|
759
777
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -892,6 +910,7 @@ export declare const CampaignsCreate201: Schema.Struct<{
|
|
|
892
910
|
readonly dispatchedCount: Schema.Finite;
|
|
893
911
|
readonly failedCount: Schema.Finite;
|
|
894
912
|
readonly skippedCount: Schema.Finite;
|
|
913
|
+
readonly pendingCount: Schema.Finite;
|
|
895
914
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
896
915
|
}>, Schema.Null]>;
|
|
897
916
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -978,6 +997,7 @@ export declare const CampaignsGet200: Schema.Struct<{
|
|
|
978
997
|
readonly dispatchedCount: Schema.Finite;
|
|
979
998
|
readonly failedCount: Schema.Finite;
|
|
980
999
|
readonly skippedCount: Schema.Finite;
|
|
1000
|
+
readonly pendingCount: Schema.Finite;
|
|
981
1001
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
982
1002
|
}>, Schema.Null]>;
|
|
983
1003
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1119,6 +1139,7 @@ export declare const CampaignsUpdate200: Schema.Struct<{
|
|
|
1119
1139
|
readonly dispatchedCount: Schema.Finite;
|
|
1120
1140
|
readonly failedCount: Schema.Finite;
|
|
1121
1141
|
readonly skippedCount: Schema.Finite;
|
|
1142
|
+
readonly pendingCount: Schema.Finite;
|
|
1122
1143
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1123
1144
|
}>, Schema.Null]>;
|
|
1124
1145
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1209,6 +1230,7 @@ export declare const CampaignsArchive200: Schema.Struct<{
|
|
|
1209
1230
|
readonly dispatchedCount: Schema.Finite;
|
|
1210
1231
|
readonly failedCount: Schema.Finite;
|
|
1211
1232
|
readonly skippedCount: Schema.Finite;
|
|
1233
|
+
readonly pendingCount: Schema.Finite;
|
|
1212
1234
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1213
1235
|
}>, Schema.Null]>;
|
|
1214
1236
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1305,6 +1327,7 @@ export declare const CampaignsListRuns200: Schema.Struct<{
|
|
|
1305
1327
|
readonly dispatchedCount: Schema.Finite;
|
|
1306
1328
|
readonly failedCount: Schema.Finite;
|
|
1307
1329
|
readonly skippedCount: Schema.Finite;
|
|
1330
|
+
readonly pendingCount: Schema.Finite;
|
|
1308
1331
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1309
1332
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1310
1333
|
readonly count: Schema.Finite;
|
|
@@ -1313,6 +1336,8 @@ export declare const CampaignsListRuns200: Schema.Struct<{
|
|
|
1313
1336
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1314
1337
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1315
1338
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1339
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1340
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1316
1341
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1317
1342
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1318
1343
|
readonly actorEmail: Schema.String;
|
|
@@ -1405,6 +1430,7 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
|
|
|
1405
1430
|
readonly dispatchedCount: Schema.Finite;
|
|
1406
1431
|
readonly failedCount: Schema.Finite;
|
|
1407
1432
|
readonly skippedCount: Schema.Finite;
|
|
1433
|
+
readonly pendingCount: Schema.Finite;
|
|
1408
1434
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1409
1435
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1410
1436
|
readonly count: Schema.Finite;
|
|
@@ -1413,6 +1439,8 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
|
|
|
1413
1439
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1414
1440
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1415
1441
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1442
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1443
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1416
1444
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1417
1445
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1418
1446
|
readonly actorEmail: Schema.String;
|
|
@@ -1503,6 +1531,7 @@ export declare const CampaignsGetRun200: Schema.Struct<{
|
|
|
1503
1531
|
readonly dispatchedCount: Schema.Finite;
|
|
1504
1532
|
readonly failedCount: Schema.Finite;
|
|
1505
1533
|
readonly skippedCount: Schema.Finite;
|
|
1534
|
+
readonly pendingCount: Schema.Finite;
|
|
1506
1535
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1507
1536
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1508
1537
|
readonly count: Schema.Finite;
|
|
@@ -1511,6 +1540,8 @@ export declare const CampaignsGetRun200: Schema.Struct<{
|
|
|
1511
1540
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1512
1541
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1513
1542
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1543
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1544
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1514
1545
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1515
1546
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1516
1547
|
readonly actorEmail: Schema.String;
|
|
@@ -1597,6 +1628,7 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
|
|
|
1597
1628
|
readonly dispatchedCount: Schema.Finite;
|
|
1598
1629
|
readonly failedCount: Schema.Finite;
|
|
1599
1630
|
readonly skippedCount: Schema.Finite;
|
|
1631
|
+
readonly pendingCount: Schema.Finite;
|
|
1600
1632
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1601
1633
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1602
1634
|
readonly count: Schema.Finite;
|
|
@@ -1605,6 +1637,8 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
|
|
|
1605
1637
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1606
1638
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1607
1639
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1640
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1641
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1608
1642
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1609
1643
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1610
1644
|
readonly actorEmail: Schema.String;
|
|
@@ -1696,6 +1730,7 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
|
|
|
1696
1730
|
readonly dispatchedCount: Schema.Finite;
|
|
1697
1731
|
readonly failedCount: Schema.Finite;
|
|
1698
1732
|
readonly skippedCount: Schema.Finite;
|
|
1733
|
+
readonly pendingCount: Schema.Finite;
|
|
1699
1734
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1700
1735
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1701
1736
|
readonly count: Schema.Finite;
|
|
@@ -1704,6 +1739,8 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
|
|
|
1704
1739
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1705
1740
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1706
1741
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1742
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1743
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1707
1744
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1708
1745
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1709
1746
|
readonly actorEmail: Schema.String;
|
|
@@ -1840,6 +1877,7 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
|
|
|
1840
1877
|
readonly dispatchedCount: Schema.Finite;
|
|
1841
1878
|
readonly failedCount: Schema.Finite;
|
|
1842
1879
|
readonly skippedCount: Schema.Finite;
|
|
1880
|
+
readonly pendingCount: Schema.Finite;
|
|
1843
1881
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1844
1882
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
1845
1883
|
readonly count: Schema.Finite;
|
|
@@ -1848,6 +1886,8 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
|
|
|
1848
1886
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1849
1887
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1850
1888
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
1889
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1890
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1851
1891
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1852
1892
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1853
1893
|
readonly actorEmail: Schema.String;
|
|
@@ -1935,6 +1975,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
1935
1975
|
readonly dispatchedCount: Schema.Finite;
|
|
1936
1976
|
readonly failedCount: Schema.Finite;
|
|
1937
1977
|
readonly skippedCount: Schema.Finite;
|
|
1978
|
+
readonly pendingCount: Schema.Finite;
|
|
1938
1979
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1939
1980
|
}>, Schema.Null]>;
|
|
1940
1981
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2103,6 +2144,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2103
2144
|
readonly dispatchedCount: Schema.Finite;
|
|
2104
2145
|
readonly failedCount: Schema.Finite;
|
|
2105
2146
|
readonly skippedCount: Schema.Finite;
|
|
2147
|
+
readonly pendingCount: Schema.Finite;
|
|
2106
2148
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2107
2149
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
2108
2150
|
readonly count: Schema.Finite;
|
|
@@ -2111,6 +2153,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2111
2153
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2112
2154
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2113
2155
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
2156
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2157
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2114
2158
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2115
2159
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2116
2160
|
readonly actorEmail: Schema.String;
|
|
@@ -2338,6 +2382,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2338
2382
|
readonly dispatchedCount: Schema.Finite;
|
|
2339
2383
|
readonly failedCount: Schema.Finite;
|
|
2340
2384
|
readonly skippedCount: Schema.Finite;
|
|
2385
|
+
readonly pendingCount: Schema.Finite;
|
|
2341
2386
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2342
2387
|
}>, Schema.Null]>;
|
|
2343
2388
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2456,6 +2501,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2456
2501
|
readonly dispatchedCount: Schema.Finite;
|
|
2457
2502
|
readonly failedCount: Schema.Finite;
|
|
2458
2503
|
readonly skippedCount: Schema.Finite;
|
|
2504
|
+
readonly pendingCount: Schema.Finite;
|
|
2459
2505
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2460
2506
|
}>, Schema.Null]>;
|
|
2461
2507
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2602,6 +2648,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2602
2648
|
readonly dispatchedCount: Schema.Finite;
|
|
2603
2649
|
readonly failedCount: Schema.Finite;
|
|
2604
2650
|
readonly skippedCount: Schema.Finite;
|
|
2651
|
+
readonly pendingCount: Schema.Finite;
|
|
2605
2652
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2606
2653
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
2607
2654
|
readonly count: Schema.Finite;
|
|
@@ -2610,6 +2657,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2610
2657
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2611
2658
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2612
2659
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
2660
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2661
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2613
2662
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2614
2663
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2615
2664
|
readonly actorEmail: Schema.String;
|
|
@@ -2762,6 +2811,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2762
2811
|
readonly dispatchedCount: Schema.Finite;
|
|
2763
2812
|
readonly failedCount: Schema.Finite;
|
|
2764
2813
|
readonly skippedCount: Schema.Finite;
|
|
2814
|
+
readonly pendingCount: Schema.Finite;
|
|
2765
2815
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2766
2816
|
}>, Schema.Null]>;
|
|
2767
2817
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2995,6 +3045,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2995
3045
|
readonly dispatchedCount: Schema.Finite;
|
|
2996
3046
|
readonly failedCount: Schema.Finite;
|
|
2997
3047
|
readonly skippedCount: Schema.Finite;
|
|
3048
|
+
readonly pendingCount: Schema.Finite;
|
|
2998
3049
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2999
3050
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
3000
3051
|
readonly count: Schema.Finite;
|
|
@@ -3003,6 +3054,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3003
3054
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3004
3055
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3005
3056
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3057
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3058
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3006
3059
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3007
3060
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3008
3061
|
readonly actorEmail: Schema.String;
|
|
@@ -3152,6 +3205,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3152
3205
|
readonly dispatchedCount: Schema.Finite;
|
|
3153
3206
|
readonly failedCount: Schema.Finite;
|
|
3154
3207
|
readonly skippedCount: Schema.Finite;
|
|
3208
|
+
readonly pendingCount: Schema.Finite;
|
|
3155
3209
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
3156
3210
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
3157
3211
|
readonly count: Schema.Finite;
|
|
@@ -3160,6 +3214,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3160
3214
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3161
3215
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3162
3216
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3217
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3218
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3163
3219
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3164
3220
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3165
3221
|
readonly actorEmail: Schema.String;
|
|
@@ -3340,6 +3396,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3340
3396
|
readonly dispatchedCount: Schema.Finite;
|
|
3341
3397
|
readonly failedCount: Schema.Finite;
|
|
3342
3398
|
readonly skippedCount: Schema.Finite;
|
|
3399
|
+
readonly pendingCount: Schema.Finite;
|
|
3343
3400
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
3344
3401
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
3345
3402
|
readonly count: Schema.Finite;
|
|
@@ -3348,6 +3405,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3348
3405
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3349
3406
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3350
3407
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3408
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3409
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3351
3410
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3352
3411
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3353
3412
|
readonly actorEmail: Schema.String;
|
|
@@ -3528,6 +3587,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3528
3587
|
readonly dispatchedCount: Schema.Finite;
|
|
3529
3588
|
readonly failedCount: Schema.Finite;
|
|
3530
3589
|
readonly skippedCount: Schema.Finite;
|
|
3590
|
+
readonly pendingCount: Schema.Finite;
|
|
3531
3591
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
3532
3592
|
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>;
|
|
3533
3593
|
readonly count: Schema.Finite;
|
|
@@ -3536,6 +3596,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3536
3596
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3537
3597
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3538
3598
|
readonly holdDomainId: Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>;
|
|
3599
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3600
|
+
readonly capacityWarning: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3539
3601
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3540
3602
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3541
3603
|
readonly actorEmail: Schema.String;
|
|
@@ -3751,6 +3813,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3751
3813
|
readonly dispatchedCount: Schema.Finite;
|
|
3752
3814
|
readonly failedCount: Schema.Finite;
|
|
3753
3815
|
readonly skippedCount: Schema.Finite;
|
|
3816
|
+
readonly pendingCount: Schema.Finite;
|
|
3754
3817
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3755
3818
|
}>, Schema.Null]>;
|
|
3756
3819
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -66,6 +66,7 @@ const CampaignLatestRun = /* @__PURE__ */ Schema.Struct({
|
|
|
66
66
|
dispatchedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
67
67
|
failedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
68
68
|
skippedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
69
|
+
pendingCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
69
70
|
estimatedCompletionAt: Schema.Union([Schema.String, Schema.Null])
|
|
70
71
|
}).annotate({ identifier: "CampaignLatestRun" });
|
|
71
72
|
const CampaignRecipientPage = /* @__PURE__ */ Schema.Struct({
|
|
@@ -164,11 +165,14 @@ const CampaignRun = /* @__PURE__ */ Schema.Struct({
|
|
|
164
165
|
dispatchedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
165
166
|
failedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
166
167
|
skippedCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
168
|
+
pendingCount: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
167
169
|
skippedReasons: Schema.Array(CampaignRunSkippedReason),
|
|
168
170
|
estimatedCompletionAt: Schema.Union([Schema.String, Schema.Null]),
|
|
169
171
|
failureReason: Schema.Union([Schema.String, Schema.Null]),
|
|
170
172
|
holdReason: Schema.Union([Schema.String, Schema.Null]),
|
|
171
173
|
holdDomainId: Schema.Union([EmailDomainId, Schema.Null]),
|
|
174
|
+
holdUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
175
|
+
capacityWarning: Schema.Union([Schema.String, Schema.Null]),
|
|
172
176
|
lastContactId: Schema.Union([Schema.String, Schema.Null]),
|
|
173
177
|
createdBy: Schema.Union([Schema.String, Schema.Null]),
|
|
174
178
|
actorEmail: Schema.String,
|
|
@@ -101,6 +101,8 @@ export type JourneyRun = {
|
|
|
101
101
|
readonly exitReason: JourneyRunExitReason | null;
|
|
102
102
|
readonly failureReason: string | null;
|
|
103
103
|
readonly currentNodeId: JourneyNodeId | null;
|
|
104
|
+
readonly holdReason: string | null;
|
|
105
|
+
readonly holdUntil: string | null;
|
|
104
106
|
readonly trigger: JourneyRunTrigger;
|
|
105
107
|
readonly enteredAt: string;
|
|
106
108
|
readonly endedAt: string | null;
|
|
@@ -114,6 +116,8 @@ export declare const JourneyRun: Schema.Struct<{
|
|
|
114
116
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
115
117
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
116
118
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
119
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
120
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
117
121
|
readonly trigger: Schema.Struct<{
|
|
118
122
|
readonly eventId: Schema.String;
|
|
119
123
|
readonly eventName: Schema.String;
|
|
@@ -168,6 +172,8 @@ export type JourneyRunDetail = {
|
|
|
168
172
|
readonly exitReason: JourneyRunExitReason | null;
|
|
169
173
|
readonly failureReason: string | null;
|
|
170
174
|
readonly currentNodeId: JourneyNodeId | null;
|
|
175
|
+
readonly holdReason: string | null;
|
|
176
|
+
readonly holdUntil: string | null;
|
|
171
177
|
readonly trigger: JourneyRunTrigger;
|
|
172
178
|
readonly enteredAt: string;
|
|
173
179
|
readonly endedAt: string | null;
|
|
@@ -182,6 +188,8 @@ export declare const JourneyRunDetail: Schema.Struct<{
|
|
|
182
188
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
183
189
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
184
190
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
191
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
192
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
185
193
|
readonly trigger: Schema.Struct<{
|
|
186
194
|
readonly eventId: Schema.String;
|
|
187
195
|
readonly eventName: Schema.String;
|
|
@@ -214,6 +222,8 @@ export declare const JourneyRunPage: Schema.Struct<{
|
|
|
214
222
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
215
223
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
216
224
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
225
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
226
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
217
227
|
readonly trigger: Schema.Struct<{
|
|
218
228
|
readonly eventId: Schema.String;
|
|
219
229
|
readonly eventName: Schema.String;
|
|
@@ -2519,6 +2529,8 @@ export declare const JourneysListRuns200: Schema.Struct<{
|
|
|
2519
2529
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
2520
2530
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2521
2531
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2532
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2533
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2522
2534
|
readonly trigger: Schema.Struct<{
|
|
2523
2535
|
readonly eventId: Schema.String;
|
|
2524
2536
|
readonly eventName: Schema.String;
|
|
@@ -2559,6 +2571,8 @@ export declare const JourneysGetRun200: Schema.Struct<{
|
|
|
2559
2571
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
2560
2572
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2561
2573
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2574
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2575
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2562
2576
|
readonly trigger: Schema.Struct<{
|
|
2563
2577
|
readonly eventId: Schema.String;
|
|
2564
2578
|
readonly eventName: Schema.String;
|
|
@@ -3794,6 +3808,8 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3794
3808
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
3795
3809
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3796
3810
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3811
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3812
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3797
3813
|
readonly trigger: Schema.Struct<{
|
|
3798
3814
|
readonly eventId: Schema.String;
|
|
3799
3815
|
readonly eventName: Schema.String;
|
|
@@ -4228,6 +4244,8 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4228
4244
|
readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">]>, Schema.Null]>;
|
|
4229
4245
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4230
4246
|
readonly currentNodeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4247
|
+
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4248
|
+
readonly holdUntil: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4231
4249
|
readonly trigger: Schema.Struct<{
|
|
4232
4250
|
readonly eventId: Schema.String;
|
|
4233
4251
|
readonly eventName: Schema.String;
|
|
@@ -83,6 +83,8 @@ const JourneyRun = /* @__PURE__ */ Schema.Struct({
|
|
|
83
83
|
exitReason: Schema.Union([JourneyRunExitReason, Schema.Null]),
|
|
84
84
|
failureReason: Schema.Union([Schema.String, Schema.Null]),
|
|
85
85
|
currentNodeId: Schema.Union([JourneyNodeId, Schema.Null]),
|
|
86
|
+
holdReason: Schema.Union([Schema.String, Schema.Null]),
|
|
87
|
+
holdUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
86
88
|
trigger: JourneyRunTrigger,
|
|
87
89
|
enteredAt: Schema.String,
|
|
88
90
|
endedAt: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -106,6 +108,8 @@ const JourneyRunDetail = /* @__PURE__ */ Schema.Struct({
|
|
|
106
108
|
exitReason: Schema.Union([JourneyRunExitReason, Schema.Null]),
|
|
107
109
|
failureReason: Schema.Union([Schema.String, Schema.Null]),
|
|
108
110
|
currentNodeId: Schema.Union([JourneyNodeId, Schema.Null]),
|
|
111
|
+
holdReason: Schema.Union([Schema.String, Schema.Null]),
|
|
112
|
+
holdUntil: Schema.Union([Schema.String, Schema.Null]),
|
|
109
113
|
trigger: JourneyRunTrigger,
|
|
110
114
|
enteredAt: Schema.String,
|
|
111
115
|
endedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -717,6 +717,18 @@ export declare const ApiKeyMailboxAccess: Schema.Struct<{
|
|
|
717
717
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
718
718
|
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
719
719
|
}>;
|
|
720
|
+
export type CreateTemplateFromWebsitePayload = {
|
|
721
|
+
readonly url: string;
|
|
722
|
+
readonly name?: string | null;
|
|
723
|
+
readonly namespaceId?: NamespaceId | null;
|
|
724
|
+
readonly idempotencyKey: string;
|
|
725
|
+
};
|
|
726
|
+
export declare const CreateTemplateFromWebsitePayload: Schema.Struct<{
|
|
727
|
+
readonly url: Schema.String;
|
|
728
|
+
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
729
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
730
|
+
readonly idempotencyKey: Schema.String;
|
|
731
|
+
}>;
|
|
720
732
|
export type CreateTemplatePayload = {
|
|
721
733
|
readonly name: string;
|
|
722
734
|
readonly projectName?: string | null;
|
|
@@ -727,6 +739,7 @@ export type CreateTemplatePayload = {
|
|
|
727
739
|
readonly category?: "transactional" | "marketing" | "support" | "notification" | "verification" | "reminder" | "alert" | null | null;
|
|
728
740
|
readonly isActive?: boolean | null;
|
|
729
741
|
readonly namespaceId?: NamespaceId | null;
|
|
742
|
+
readonly shared?: boolean | null;
|
|
730
743
|
readonly idempotencyKey: string;
|
|
731
744
|
};
|
|
732
745
|
export declare const CreateTemplatePayload: Schema.Struct<{
|
|
@@ -739,12 +752,13 @@ export declare const CreateTemplatePayload: Schema.Struct<{
|
|
|
739
752
|
readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"transactional">, Schema.Literal<"marketing">, Schema.Literal<"support">, Schema.Literal<"notification">, Schema.Literal<"verification">, Schema.Literal<"reminder">, Schema.Literal<"alert">]>, Schema.Null]>, Schema.Null]>>;
|
|
740
753
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
741
754
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
755
|
+
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
742
756
|
readonly idempotencyKey: Schema.String;
|
|
743
757
|
}>;
|
|
744
758
|
export type CreateWebhookPayload = {
|
|
745
759
|
readonly name: string;
|
|
746
760
|
readonly url: string;
|
|
747
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook">;
|
|
761
|
+
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook">;
|
|
748
762
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
749
763
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
750
764
|
readonly namespaceId?: NamespaceId | null;
|
|
@@ -756,7 +770,7 @@ export type CreateWebhookPayload = {
|
|
|
756
770
|
export declare const CreateWebhookPayload: Schema.Struct<{
|
|
757
771
|
readonly name: Schema.String;
|
|
758
772
|
readonly url: Schema.String;
|
|
759
|
-
readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>;
|
|
773
|
+
readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>;
|
|
760
774
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
761
775
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
762
776
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -784,7 +798,7 @@ export declare const InstallExtensionPayload: Schema.Struct<{
|
|
|
784
798
|
export type UpdateWebhookPayload = {
|
|
785
799
|
readonly name?: string | null;
|
|
786
800
|
readonly url?: string | null;
|
|
787
|
-
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook"> | null;
|
|
801
|
+
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook"> | null;
|
|
788
802
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
789
803
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null | null;
|
|
790
804
|
readonly namespaceId?: NamespaceId | null | null;
|
|
@@ -796,7 +810,7 @@ export type UpdateWebhookPayload = {
|
|
|
796
810
|
export declare const UpdateWebhookPayload: Schema.Struct<{
|
|
797
811
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
798
812
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
799
|
-
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
|
|
813
|
+
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
|
|
800
814
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
801
815
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>, Schema.Null]>>;
|
|
802
816
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>, Schema.Null]>>;
|
|
@@ -1332,6 +1346,7 @@ export type UpdateTemplatePayload = {
|
|
|
1332
1346
|
readonly fromDefault?: TemplateFromDefault | null | null;
|
|
1333
1347
|
readonly replyToDefault?: ReadonlyArray<string> | null | null;
|
|
1334
1348
|
readonly isActive?: boolean | null;
|
|
1349
|
+
readonly shared?: boolean | null;
|
|
1335
1350
|
};
|
|
1336
1351
|
};
|
|
1337
1352
|
export declare const UpdateTemplatePayload: Schema.Struct<{
|
|
@@ -1347,6 +1362,7 @@ export declare const UpdateTemplatePayload: Schema.Struct<{
|
|
|
1347
1362
|
}>, Schema.Null]>, Schema.Null]>>;
|
|
1348
1363
|
readonly replyToDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
1349
1364
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1365
|
+
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1350
1366
|
}>;
|
|
1351
1367
|
}>;
|
|
1352
1368
|
export type ApiKeyAccess = {
|