samva 0.19.0 → 0.21.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 +72 -16
- package/dist/client/sdk.gen.js +216 -36
- package/dist/client/types.gen.d.ts +411 -65
- package/dist/effect/api-keys.d.ts +7 -0
- package/dist/effect/campaigns.d.ts +66 -3
- package/dist/effect/contacts.d.ts +24 -4
- package/dist/effect/email.d.ts +22 -6
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- 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 +136 -4
- package/dist/effect/generated/campaigns.js +22 -1
- package/dist/effect/generated/contacts.d.ts +131 -1
- package/dist/effect/generated/contacts.js +17 -2
- package/dist/effect/generated/email.d.ts +162 -1
- package/dist/effect/generated/email.js +31 -11
- package/dist/effect/generated/journeys.d.ts +31 -61
- package/dist/effect/generated/journeys.js +9 -5
- package/dist/effect/generated/mailboxes.d.ts +274 -78
- package/dist/effect/generated/mailboxes.js +28 -20
- package/dist/effect/generated/messages.d.ts +4 -1
- package/dist/effect/generated/messages.js +2 -1
- package/dist/effect/generated/namespaces.d.ts +432 -2
- package/dist/effect/generated/namespaces.js +91 -4
- package/dist/effect/generated/shared.d.ts +38 -29
- package/dist/effect/generated/shared.js +28 -23
- package/dist/effect/generated/templates.d.ts +80 -1
- package/dist/effect/generated/templates.js +18 -6
- package/dist/effect/generated/webhooks.d.ts +120 -0
- package/dist/effect/generated/webhooks.js +27 -3
- package/dist/effect/generated-metadata.d.ts +20 -4
- package/dist/effect/generated-metadata.js +4 -4
- package/dist/effect/index.js +2 -2
- package/dist/effect/journeys.d.ts +12 -4
- package/dist/effect/mailboxes.d.ts +11 -11
- package/dist/effect/messages.d.ts +3 -0
- package/dist/effect/namespaces.d.ts +29 -0
- package/dist/effect/namespaces.js +7 -1
- package/dist/effect/templates.d.ts +28 -1
- package/dist/effect/webhooks.d.ts +7 -0
- package/dist/effect/webhooks.js +3 -1
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +2 -12
- package/dist/promises/errors.gen.js +1 -26
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +20 -0
- package/dist/service-map.js +20 -0
- package/package.json +5 -3
package/dist/effect/errors.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MediaUploadError } from "../inline-attachments.js";
|
|
2
|
-
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError,
|
|
3
|
-
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError,
|
|
2
|
+
import { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError } from "./generated/shared.js";
|
|
3
|
+
export { AnalyticsQueryError, BillingProviderError, BrandAddressRequiredError, CampaignFooterRequiredError, ConflictError, DeliveryUnavailableError, EmailChannelError, ExternalServiceError, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, MailboxSendConflictError, MailboxSendRefusedError, MediaUploadError, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SenderNotReadyError, UnauthorizedError, ValidationError };
|
|
@@ -44,6 +44,7 @@ export type ApiKey = {
|
|
|
44
44
|
readonly name: string;
|
|
45
45
|
readonly key?: string | null;
|
|
46
46
|
readonly start: string | null;
|
|
47
|
+
readonly end: string | null;
|
|
47
48
|
readonly description?: string | null;
|
|
48
49
|
readonly createdAt: string;
|
|
49
50
|
readonly expiresAt: string | null;
|
|
@@ -57,6 +58,7 @@ export declare const ApiKey: Schema.Struct<{
|
|
|
57
58
|
readonly name: Schema.String;
|
|
58
59
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
59
60
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
61
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
60
62
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
61
63
|
readonly createdAt: Schema.String;
|
|
62
64
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -98,6 +100,7 @@ export type ApiKeyWithSecret = {
|
|
|
98
100
|
readonly name: string;
|
|
99
101
|
readonly key: __SamvaRuntimeSensitiveString;
|
|
100
102
|
readonly start: string | null;
|
|
103
|
+
readonly end: string | null;
|
|
101
104
|
readonly description?: string | null;
|
|
102
105
|
readonly createdAt: string;
|
|
103
106
|
readonly expiresAt: string | null;
|
|
@@ -111,6 +114,7 @@ export declare const ApiKeyWithSecret: Schema.Struct<{
|
|
|
111
114
|
readonly name: Schema.String;
|
|
112
115
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
113
116
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
117
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
114
118
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
115
119
|
readonly createdAt: Schema.String;
|
|
116
120
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -157,6 +161,7 @@ export declare const ApiKeyPage: Schema.Struct<{
|
|
|
157
161
|
readonly name: Schema.String;
|
|
158
162
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
159
163
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
164
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
160
165
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
161
166
|
readonly createdAt: Schema.String;
|
|
162
167
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -214,6 +219,7 @@ export declare const ApiKeysList200: Schema.Struct<{
|
|
|
214
219
|
readonly name: Schema.String;
|
|
215
220
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
216
221
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
222
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
217
223
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
218
224
|
readonly createdAt: Schema.String;
|
|
219
225
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -304,6 +310,7 @@ export declare const ApiKeysCreate201: Schema.Struct<{
|
|
|
304
310
|
readonly name: Schema.String;
|
|
305
311
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
306
312
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
313
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
307
314
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
308
315
|
readonly createdAt: Schema.String;
|
|
309
316
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -370,6 +377,7 @@ export declare const ApiKeysGet200: Schema.Struct<{
|
|
|
370
377
|
readonly name: Schema.String;
|
|
371
378
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
372
379
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
380
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
373
381
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
374
382
|
readonly createdAt: Schema.String;
|
|
375
383
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -442,6 +450,7 @@ export declare const ApiKeysUpdate200: Schema.Struct<{
|
|
|
442
450
|
readonly name: Schema.String;
|
|
443
451
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
444
452
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
453
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
445
454
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
446
455
|
readonly createdAt: Schema.String;
|
|
447
456
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -564,6 +573,7 @@ export declare const ApiKeysRotate200: Schema.Struct<{
|
|
|
564
573
|
readonly name: Schema.String;
|
|
565
574
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
566
575
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
576
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
567
577
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
568
578
|
readonly createdAt: Schema.String;
|
|
569
579
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -690,6 +700,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
690
700
|
readonly name: Schema.String;
|
|
691
701
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
692
702
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
703
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
693
704
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
694
705
|
readonly createdAt: Schema.String;
|
|
695
706
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -864,6 +875,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
864
875
|
readonly name: Schema.String;
|
|
865
876
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
866
877
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
878
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
867
879
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
868
880
|
readonly createdAt: Schema.String;
|
|
869
881
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1178,6 +1190,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1178
1190
|
readonly name: Schema.String;
|
|
1179
1191
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1180
1192
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1193
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1181
1194
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1182
1195
|
readonly createdAt: Schema.String;
|
|
1183
1196
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1378,6 +1391,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1378
1391
|
readonly name: Schema.String;
|
|
1379
1392
|
readonly key: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
1380
1393
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1394
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1381
1395
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1382
1396
|
readonly createdAt: Schema.String;
|
|
1383
1397
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1506,6 +1520,7 @@ declare const APIKeysGroup_base: HttpApiGroup.HttpApiGroup<"API Keys", HttpApiEn
|
|
|
1506
1520
|
readonly name: Schema.String;
|
|
1507
1521
|
readonly key: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1508
1522
|
readonly start: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1523
|
+
readonly end: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1509
1524
|
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1510
1525
|
readonly createdAt: Schema.String;
|
|
1511
1526
|
readonly expiresAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -25,6 +25,7 @@ const ApiKey = /* @__PURE__ */ Schema.Struct({
|
|
|
25
25
|
name: Schema.String,
|
|
26
26
|
key: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
27
27
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
28
|
+
end: Schema.Union([Schema.String, Schema.Null]),
|
|
28
29
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
29
30
|
createdAt: Schema.String,
|
|
30
31
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -38,6 +39,7 @@ const ApiKeyWithSecret = /* @__PURE__ */ Schema.Struct({
|
|
|
38
39
|
name: Schema.String,
|
|
39
40
|
key: SensitiveString,
|
|
40
41
|
start: Schema.Union([Schema.String, Schema.Null]),
|
|
42
|
+
end: Schema.Union([Schema.String, Schema.Null]),
|
|
41
43
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
42
44
|
createdAt: Schema.String,
|
|
43
45
|
expiresAt: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -18,6 +18,14 @@ export declare const CampaignDefinitionSummary: Schema.Struct<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export type CampaignRunId = string & EffectBrand.Brand<"CampaignRunId">;
|
|
20
20
|
export declare const CampaignRunId: Schema.brand<Schema.String, "CampaignRunId">;
|
|
21
|
+
export type CampaignRunSkippedReason = {
|
|
22
|
+
readonly reason: "unsubscribed" | "blocked" | "suppressed" | "opted_out" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed";
|
|
23
|
+
readonly count: number;
|
|
24
|
+
};
|
|
25
|
+
export declare const CampaignRunSkippedReason: Schema.Struct<{
|
|
26
|
+
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">]>;
|
|
27
|
+
readonly count: Schema.Finite;
|
|
28
|
+
}>;
|
|
21
29
|
export type CampaignRecipientId = string & EffectBrand.Brand<"CampaignRecipientId">;
|
|
22
30
|
export declare const CampaignRecipientId: Schema.brand<Schema.String, "CampaignRecipientId">;
|
|
23
31
|
export type CampaignPolicy = {
|
|
@@ -51,6 +59,7 @@ export type CampaignLatestRun = {
|
|
|
51
59
|
readonly dispatchedCount: number;
|
|
52
60
|
readonly failedCount: number;
|
|
53
61
|
readonly skippedCount: number;
|
|
62
|
+
readonly pendingCount: number;
|
|
54
63
|
readonly estimatedCompletionAt: string | null;
|
|
55
64
|
};
|
|
56
65
|
export declare const CampaignLatestRun: Schema.Struct<{
|
|
@@ -62,6 +71,7 @@ export declare const CampaignLatestRun: Schema.Struct<{
|
|
|
62
71
|
readonly dispatchedCount: Schema.Finite;
|
|
63
72
|
readonly failedCount: Schema.Finite;
|
|
64
73
|
readonly skippedCount: Schema.Finite;
|
|
74
|
+
readonly pendingCount: Schema.Finite;
|
|
65
75
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
66
76
|
}>;
|
|
67
77
|
export type CampaignRecipientPage = {
|
|
@@ -72,7 +82,7 @@ export type CampaignRecipientPage = {
|
|
|
72
82
|
readonly status: "pending" | "dispatching" | "dispatched" | "failed" | "skipped";
|
|
73
83
|
readonly messageId: string | null;
|
|
74
84
|
readonly failureReason: string | null;
|
|
75
|
-
readonly skippedReason: "unsubscribed" | "blocked" | "suppressed" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | null;
|
|
85
|
+
readonly skippedReason: "unsubscribed" | "blocked" | "suppressed" | "opted_out" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | null;
|
|
76
86
|
readonly createdAt: string;
|
|
77
87
|
readonly updatedAt: string;
|
|
78
88
|
}>;
|
|
@@ -86,7 +96,7 @@ export declare const CampaignRecipientPage: Schema.Struct<{
|
|
|
86
96
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
87
97
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
88
98
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
89
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>, Schema.Null]>;
|
|
99
|
+
readonly skippedReason: Schema.Union<readonly [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">]>, Schema.Null]>;
|
|
90
100
|
readonly createdAt: Schema.String;
|
|
91
101
|
readonly updatedAt: Schema.String;
|
|
92
102
|
}>>;
|
|
@@ -249,6 +259,7 @@ export declare const CampaignListItem: Schema.Struct<{
|
|
|
249
259
|
readonly dispatchedCount: Schema.Finite;
|
|
250
260
|
readonly failedCount: Schema.Finite;
|
|
251
261
|
readonly skippedCount: Schema.Finite;
|
|
262
|
+
readonly pendingCount: Schema.Finite;
|
|
252
263
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
253
264
|
}>, Schema.Null]>;
|
|
254
265
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -334,6 +345,7 @@ export declare const Campaign: Schema.Struct<{
|
|
|
334
345
|
readonly dispatchedCount: Schema.Finite;
|
|
335
346
|
readonly failedCount: Schema.Finite;
|
|
336
347
|
readonly skippedCount: Schema.Finite;
|
|
348
|
+
readonly pendingCount: Schema.Finite;
|
|
337
349
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
338
350
|
}>, Schema.Null]>;
|
|
339
351
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -357,10 +369,14 @@ export type CampaignRun = {
|
|
|
357
369
|
readonly dispatchedCount: number;
|
|
358
370
|
readonly failedCount: number;
|
|
359
371
|
readonly skippedCount: number;
|
|
372
|
+
readonly pendingCount: number;
|
|
373
|
+
readonly skippedReasons: ReadonlyArray<CampaignRunSkippedReason>;
|
|
360
374
|
readonly estimatedCompletionAt: string | null;
|
|
361
375
|
readonly failureReason: string | null;
|
|
362
376
|
readonly holdReason: string | null;
|
|
363
377
|
readonly holdDomainId: EmailDomainId | null;
|
|
378
|
+
readonly holdUntil: string | null;
|
|
379
|
+
readonly capacityWarning: string | null;
|
|
364
380
|
readonly lastContactId: string | null;
|
|
365
381
|
readonly createdBy: string | null;
|
|
366
382
|
readonly actorEmail: string;
|
|
@@ -424,10 +440,17 @@ export declare const CampaignRun: Schema.Struct<{
|
|
|
424
440
|
readonly dispatchedCount: Schema.Finite;
|
|
425
441
|
readonly failedCount: Schema.Finite;
|
|
426
442
|
readonly skippedCount: Schema.Finite;
|
|
443
|
+
readonly pendingCount: Schema.Finite;
|
|
444
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
446
|
+
readonly count: Schema.Finite;
|
|
447
|
+
}>>;
|
|
427
448
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
428
449
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
429
450
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
430
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]>;
|
|
431
454
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
432
455
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
433
456
|
readonly actorEmail: Schema.String;
|
|
@@ -501,6 +524,7 @@ export declare const CampaignPage: Schema.Struct<{
|
|
|
501
524
|
readonly dispatchedCount: Schema.Finite;
|
|
502
525
|
readonly failedCount: Schema.Finite;
|
|
503
526
|
readonly skippedCount: Schema.Finite;
|
|
527
|
+
readonly pendingCount: Schema.Finite;
|
|
504
528
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
505
529
|
}>, Schema.Null]>;
|
|
506
530
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -573,10 +597,17 @@ export declare const CampaignRunPage: Schema.Struct<{
|
|
|
573
597
|
readonly dispatchedCount: Schema.Finite;
|
|
574
598
|
readonly failedCount: Schema.Finite;
|
|
575
599
|
readonly skippedCount: Schema.Finite;
|
|
600
|
+
readonly pendingCount: Schema.Finite;
|
|
601
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
603
|
+
readonly count: Schema.Finite;
|
|
604
|
+
}>>;
|
|
576
605
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
577
606
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
578
607
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
579
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]>;
|
|
580
611
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
581
612
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
582
613
|
readonly actorEmail: Schema.String;
|
|
@@ -648,10 +679,17 @@ export declare const CampaignRunAction: Schema.Struct<{
|
|
|
648
679
|
readonly dispatchedCount: Schema.Finite;
|
|
649
680
|
readonly failedCount: Schema.Finite;
|
|
650
681
|
readonly skippedCount: Schema.Finite;
|
|
682
|
+
readonly pendingCount: Schema.Finite;
|
|
683
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
685
|
+
readonly count: Schema.Finite;
|
|
686
|
+
}>>;
|
|
651
687
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
652
688
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
653
689
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
654
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]>;
|
|
655
693
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
656
694
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
657
695
|
readonly actorEmail: Schema.String;
|
|
@@ -733,6 +771,7 @@ export declare const CampaignsList200: Schema.Struct<{
|
|
|
733
771
|
readonly dispatchedCount: Schema.Finite;
|
|
734
772
|
readonly failedCount: Schema.Finite;
|
|
735
773
|
readonly skippedCount: Schema.Finite;
|
|
774
|
+
readonly pendingCount: Schema.Finite;
|
|
736
775
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
737
776
|
}>, Schema.Null]>;
|
|
738
777
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -871,6 +910,7 @@ export declare const CampaignsCreate201: Schema.Struct<{
|
|
|
871
910
|
readonly dispatchedCount: Schema.Finite;
|
|
872
911
|
readonly failedCount: Schema.Finite;
|
|
873
912
|
readonly skippedCount: Schema.Finite;
|
|
913
|
+
readonly pendingCount: Schema.Finite;
|
|
874
914
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
875
915
|
}>, Schema.Null]>;
|
|
876
916
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -957,6 +997,7 @@ export declare const CampaignsGet200: Schema.Struct<{
|
|
|
957
997
|
readonly dispatchedCount: Schema.Finite;
|
|
958
998
|
readonly failedCount: Schema.Finite;
|
|
959
999
|
readonly skippedCount: Schema.Finite;
|
|
1000
|
+
readonly pendingCount: Schema.Finite;
|
|
960
1001
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
961
1002
|
}>, Schema.Null]>;
|
|
962
1003
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1098,6 +1139,7 @@ export declare const CampaignsUpdate200: Schema.Struct<{
|
|
|
1098
1139
|
readonly dispatchedCount: Schema.Finite;
|
|
1099
1140
|
readonly failedCount: Schema.Finite;
|
|
1100
1141
|
readonly skippedCount: Schema.Finite;
|
|
1142
|
+
readonly pendingCount: Schema.Finite;
|
|
1101
1143
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1102
1144
|
}>, Schema.Null]>;
|
|
1103
1145
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1188,6 +1230,7 @@ export declare const CampaignsArchive200: Schema.Struct<{
|
|
|
1188
1230
|
readonly dispatchedCount: Schema.Finite;
|
|
1189
1231
|
readonly failedCount: Schema.Finite;
|
|
1190
1232
|
readonly skippedCount: Schema.Finite;
|
|
1233
|
+
readonly pendingCount: Schema.Finite;
|
|
1191
1234
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1192
1235
|
}>, Schema.Null]>;
|
|
1193
1236
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1284,10 +1327,17 @@ export declare const CampaignsListRuns200: Schema.Struct<{
|
|
|
1284
1327
|
readonly dispatchedCount: Schema.Finite;
|
|
1285
1328
|
readonly failedCount: Schema.Finite;
|
|
1286
1329
|
readonly skippedCount: Schema.Finite;
|
|
1330
|
+
readonly pendingCount: Schema.Finite;
|
|
1331
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1333
|
+
readonly count: Schema.Finite;
|
|
1334
|
+
}>>;
|
|
1287
1335
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1288
1336
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1289
1337
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1290
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]>;
|
|
1291
1341
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1292
1342
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1293
1343
|
readonly actorEmail: Schema.String;
|
|
@@ -1380,10 +1430,17 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
|
|
|
1380
1430
|
readonly dispatchedCount: Schema.Finite;
|
|
1381
1431
|
readonly failedCount: Schema.Finite;
|
|
1382
1432
|
readonly skippedCount: Schema.Finite;
|
|
1433
|
+
readonly pendingCount: Schema.Finite;
|
|
1434
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1436
|
+
readonly count: Schema.Finite;
|
|
1437
|
+
}>>;
|
|
1383
1438
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1384
1439
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1385
1440
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1386
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]>;
|
|
1387
1444
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1388
1445
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1389
1446
|
readonly actorEmail: Schema.String;
|
|
@@ -1474,10 +1531,17 @@ export declare const CampaignsGetRun200: Schema.Struct<{
|
|
|
1474
1531
|
readonly dispatchedCount: Schema.Finite;
|
|
1475
1532
|
readonly failedCount: Schema.Finite;
|
|
1476
1533
|
readonly skippedCount: Schema.Finite;
|
|
1534
|
+
readonly pendingCount: Schema.Finite;
|
|
1535
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1537
|
+
readonly count: Schema.Finite;
|
|
1538
|
+
}>>;
|
|
1477
1539
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1478
1540
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1479
1541
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1480
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]>;
|
|
1481
1545
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1482
1546
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1483
1547
|
readonly actorEmail: Schema.String;
|
|
@@ -1564,10 +1628,17 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
|
|
|
1564
1628
|
readonly dispatchedCount: Schema.Finite;
|
|
1565
1629
|
readonly failedCount: Schema.Finite;
|
|
1566
1630
|
readonly skippedCount: Schema.Finite;
|
|
1631
|
+
readonly pendingCount: Schema.Finite;
|
|
1632
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1634
|
+
readonly count: Schema.Finite;
|
|
1635
|
+
}>>;
|
|
1567
1636
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1568
1637
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1569
1638
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1570
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]>;
|
|
1571
1642
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1572
1643
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1573
1644
|
readonly actorEmail: Schema.String;
|
|
@@ -1659,10 +1730,17 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
|
|
|
1659
1730
|
readonly dispatchedCount: Schema.Finite;
|
|
1660
1731
|
readonly failedCount: Schema.Finite;
|
|
1661
1732
|
readonly skippedCount: Schema.Finite;
|
|
1733
|
+
readonly pendingCount: Schema.Finite;
|
|
1734
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1736
|
+
readonly count: Schema.Finite;
|
|
1737
|
+
}>>;
|
|
1662
1738
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1663
1739
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1664
1740
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1665
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]>;
|
|
1666
1744
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1667
1745
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1668
1746
|
readonly actorEmail: Schema.String;
|
|
@@ -1714,7 +1792,7 @@ export declare const CampaignsListRecipients200: Schema.Struct<{
|
|
|
1714
1792
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
1715
1793
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1716
1794
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1717
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>, Schema.Null]>;
|
|
1795
|
+
readonly skippedReason: Schema.Union<readonly [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">]>, Schema.Null]>;
|
|
1718
1796
|
readonly createdAt: Schema.String;
|
|
1719
1797
|
readonly updatedAt: Schema.String;
|
|
1720
1798
|
}>>;
|
|
@@ -1799,10 +1877,17 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
|
|
|
1799
1877
|
readonly dispatchedCount: Schema.Finite;
|
|
1800
1878
|
readonly failedCount: Schema.Finite;
|
|
1801
1879
|
readonly skippedCount: Schema.Finite;
|
|
1880
|
+
readonly pendingCount: Schema.Finite;
|
|
1881
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
1883
|
+
readonly count: Schema.Finite;
|
|
1884
|
+
}>>;
|
|
1802
1885
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1803
1886
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1804
1887
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1805
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]>;
|
|
1806
1891
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1807
1892
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1808
1893
|
readonly actorEmail: Schema.String;
|
|
@@ -1890,6 +1975,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
1890
1975
|
readonly dispatchedCount: Schema.Finite;
|
|
1891
1976
|
readonly failedCount: Schema.Finite;
|
|
1892
1977
|
readonly skippedCount: Schema.Finite;
|
|
1978
|
+
readonly pendingCount: Schema.Finite;
|
|
1893
1979
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1894
1980
|
}>, Schema.Null]>;
|
|
1895
1981
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2058,10 +2144,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2058
2144
|
readonly dispatchedCount: Schema.Finite;
|
|
2059
2145
|
readonly failedCount: Schema.Finite;
|
|
2060
2146
|
readonly skippedCount: Schema.Finite;
|
|
2147
|
+
readonly pendingCount: Schema.Finite;
|
|
2148
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
2150
|
+
readonly count: Schema.Finite;
|
|
2151
|
+
}>>;
|
|
2061
2152
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2062
2153
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2063
2154
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2064
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]>;
|
|
2065
2158
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2066
2159
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2067
2160
|
readonly actorEmail: Schema.String;
|
|
@@ -2289,6 +2382,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2289
2382
|
readonly dispatchedCount: Schema.Finite;
|
|
2290
2383
|
readonly failedCount: Schema.Finite;
|
|
2291
2384
|
readonly skippedCount: Schema.Finite;
|
|
2385
|
+
readonly pendingCount: Schema.Finite;
|
|
2292
2386
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2293
2387
|
}>, Schema.Null]>;
|
|
2294
2388
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2407,6 +2501,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2407
2501
|
readonly dispatchedCount: Schema.Finite;
|
|
2408
2502
|
readonly failedCount: Schema.Finite;
|
|
2409
2503
|
readonly skippedCount: Schema.Finite;
|
|
2504
|
+
readonly pendingCount: Schema.Finite;
|
|
2410
2505
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2411
2506
|
}>, Schema.Null]>;
|
|
2412
2507
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2553,10 +2648,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2553
2648
|
readonly dispatchedCount: Schema.Finite;
|
|
2554
2649
|
readonly failedCount: Schema.Finite;
|
|
2555
2650
|
readonly skippedCount: Schema.Finite;
|
|
2651
|
+
readonly pendingCount: Schema.Finite;
|
|
2652
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
2654
|
+
readonly count: Schema.Finite;
|
|
2655
|
+
}>>;
|
|
2556
2656
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2557
2657
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2558
2658
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2559
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]>;
|
|
2560
2662
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2561
2663
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2562
2664
|
readonly actorEmail: Schema.String;
|
|
@@ -2709,6 +2811,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2709
2811
|
readonly dispatchedCount: Schema.Finite;
|
|
2710
2812
|
readonly failedCount: Schema.Finite;
|
|
2711
2813
|
readonly skippedCount: Schema.Finite;
|
|
2814
|
+
readonly pendingCount: Schema.Finite;
|
|
2712
2815
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2713
2816
|
}>, Schema.Null]>;
|
|
2714
2817
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2794,7 +2897,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2794
2897
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
2795
2898
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2796
2899
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2797
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">]>, Schema.Null]>;
|
|
2900
|
+
readonly skippedReason: Schema.Union<readonly [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">]>, Schema.Null]>;
|
|
2798
2901
|
readonly createdAt: Schema.String;
|
|
2799
2902
|
readonly updatedAt: Schema.String;
|
|
2800
2903
|
}>>;
|
|
@@ -2942,10 +3045,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
2942
3045
|
readonly dispatchedCount: Schema.Finite;
|
|
2943
3046
|
readonly failedCount: Schema.Finite;
|
|
2944
3047
|
readonly skippedCount: Schema.Finite;
|
|
3048
|
+
readonly pendingCount: Schema.Finite;
|
|
3049
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
3051
|
+
readonly count: Schema.Finite;
|
|
3052
|
+
}>>;
|
|
2945
3053
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2946
3054
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2947
3055
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2948
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]>;
|
|
2949
3059
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2950
3060
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2951
3061
|
readonly actorEmail: Schema.String;
|
|
@@ -3095,10 +3205,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3095
3205
|
readonly dispatchedCount: Schema.Finite;
|
|
3096
3206
|
readonly failedCount: Schema.Finite;
|
|
3097
3207
|
readonly skippedCount: Schema.Finite;
|
|
3208
|
+
readonly pendingCount: Schema.Finite;
|
|
3209
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
3211
|
+
readonly count: Schema.Finite;
|
|
3212
|
+
}>>;
|
|
3098
3213
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3099
3214
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3100
3215
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3101
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]>;
|
|
3102
3219
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3103
3220
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3104
3221
|
readonly actorEmail: Schema.String;
|
|
@@ -3279,10 +3396,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3279
3396
|
readonly dispatchedCount: Schema.Finite;
|
|
3280
3397
|
readonly failedCount: Schema.Finite;
|
|
3281
3398
|
readonly skippedCount: Schema.Finite;
|
|
3399
|
+
readonly pendingCount: Schema.Finite;
|
|
3400
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
3402
|
+
readonly count: Schema.Finite;
|
|
3403
|
+
}>>;
|
|
3282
3404
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3283
3405
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3284
3406
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3285
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]>;
|
|
3286
3410
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3287
3411
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3288
3412
|
readonly actorEmail: Schema.String;
|
|
@@ -3463,10 +3587,17 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3463
3587
|
readonly dispatchedCount: Schema.Finite;
|
|
3464
3588
|
readonly failedCount: Schema.Finite;
|
|
3465
3589
|
readonly skippedCount: Schema.Finite;
|
|
3590
|
+
readonly pendingCount: Schema.Finite;
|
|
3591
|
+
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
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">]>;
|
|
3593
|
+
readonly count: Schema.Finite;
|
|
3594
|
+
}>>;
|
|
3466
3595
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3467
3596
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3468
3597
|
readonly holdReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3469
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]>;
|
|
3470
3601
|
readonly lastContactId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3471
3602
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3472
3603
|
readonly actorEmail: Schema.String;
|
|
@@ -3682,6 +3813,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3682
3813
|
readonly dispatchedCount: Schema.Finite;
|
|
3683
3814
|
readonly failedCount: Schema.Finite;
|
|
3684
3815
|
readonly skippedCount: Schema.Finite;
|
|
3816
|
+
readonly pendingCount: Schema.Finite;
|
|
3685
3817
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3686
3818
|
}>, Schema.Null]>;
|
|
3687
3819
|
readonly createdBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|