samva 0.37.0 → 0.38.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/AGENTS.md +1 -2
- package/README.md +1 -1
- package/dist/client/sdk.gen.d.ts +16 -31
- package/dist/client/sdk.gen.js +8 -4
- package/dist/client/types.gen.d.ts +83 -83
- package/dist/effect/agents.d.ts +3 -0
- package/dist/effect/campaigns.d.ts +4 -4
- package/dist/effect/contacts.d.ts +8 -12
- package/dist/effect/generated/agents.d.ts +54 -31
- package/dist/effect/generated/agents.js +17 -14
- package/dist/effect/generated/campaigns.d.ts +29 -29
- package/dist/effect/generated/campaigns.js +6 -3
- package/dist/effect/generated/contacts.d.ts +266 -168
- package/dist/effect/generated/contacts.js +86 -61
- package/dist/effect/generated/email.js +6 -6
- package/dist/effect/generated/mailboxes.js +1 -1
- package/dist/effect/generated/messages.js +1 -1
- package/dist/effect/generated/organizations.js +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +51 -2
- package/dist/effect/generated/scheduled-messages.js +25 -6
- package/dist/effect/generated/shared.d.ts +25 -11
- package/dist/effect/generated/shared.js +24 -17
- package/dist/effect/generated/subscriptions.js +3 -3
- package/dist/effect/generated/templates.d.ts +10 -2
- package/dist/effect/generated/templates.js +8 -4
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, BrandAddressRequiredError, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignFooterRequiredError, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, ConflictError, ContactId, DeliveryUnavailableError,
|
|
4
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, BrandAddressRequiredError, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignFooterRequiredError, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, ConflictError, ContactId, DeliveryUnavailableError, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailTrackingOverrideV1, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MalformedRequestError, MessageId, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, RenderLocale, RenderTimeZone, ResourceNotFoundError, SenderNotReadyError, SendsSeries, ServiceUnavailableError, SmsContent, StoredEmailAttachments, StoredReplyToAddresses, TemplateData, TemplateId, TemplateInputContractId, TemplatePublicationId, TemplateSourceError, TopicId, UnauthorizedError, ValidationError, WhatsAppTemplateDispatch, __SamvaRuntimeAbsoluteInstant } from "./shared";
|
|
5
5
|
export type CampaignFrom = {
|
|
6
6
|
readonly email: string;
|
|
7
7
|
readonly name?: string | null;
|
|
@@ -25,11 +25,11 @@ export declare const CampaignDefinitionSummary: Schema.Struct<{
|
|
|
25
25
|
readonly frozenAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
26
26
|
}>;
|
|
27
27
|
export type CampaignRunSkippedReason = {
|
|
28
|
-
readonly reason: "unsubscribed" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field";
|
|
28
|
+
readonly reason: "unsubscribed" | "not_added" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field";
|
|
29
29
|
readonly count: number;
|
|
30
30
|
};
|
|
31
31
|
export declare const CampaignRunSkippedReason: Schema.Struct<{
|
|
32
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
32
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
33
33
|
readonly count: Schema.Finite;
|
|
34
34
|
}>;
|
|
35
35
|
export type CampaignRecipientId = string & EffectBrand.Brand<"CampaignRecipientId">;
|
|
@@ -45,11 +45,11 @@ export declare const CampaignRunReportEngagement: Schema.Struct<{
|
|
|
45
45
|
readonly uniqueClicks: Schema.Finite;
|
|
46
46
|
}>;
|
|
47
47
|
export type CampaignRunReportSkippedReason = {
|
|
48
|
-
readonly reason: "unsubscribed" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field";
|
|
48
|
+
readonly reason: "unsubscribed" | "not_added" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field";
|
|
49
49
|
readonly count: number;
|
|
50
50
|
};
|
|
51
51
|
export declare const CampaignRunReportSkippedReason: Schema.Struct<{
|
|
52
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
52
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
53
53
|
readonly count: Schema.Finite;
|
|
54
54
|
}>;
|
|
55
55
|
export type CampaignPreview = {
|
|
@@ -86,7 +86,7 @@ export type CampaignRecipientPage = {
|
|
|
86
86
|
readonly status: "pending" | "dispatching" | "dispatched" | "failed" | "skipped";
|
|
87
87
|
readonly messageId: string | null;
|
|
88
88
|
readonly failureReason: string | null;
|
|
89
|
-
readonly skippedReason: "unsubscribed" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field" | null;
|
|
89
|
+
readonly skippedReason: "unsubscribed" | "not_added" | "blocked" | "suppressed" | "opted_out" | "consent_required" | "unreachable" | "no_identity" | "inactive" | "run_cancelled" | "run_failed" | "missing_merge_field" | null;
|
|
90
90
|
readonly createdAt: string;
|
|
91
91
|
readonly updatedAt: string;
|
|
92
92
|
}>;
|
|
@@ -100,7 +100,7 @@ export declare const CampaignRecipientPage: Schema.Struct<{
|
|
|
100
100
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
101
101
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
102
102
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
103
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
103
|
+
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
104
104
|
readonly createdAt: Schema.String;
|
|
105
105
|
readonly updatedAt: Schema.String;
|
|
106
106
|
}>>;
|
|
@@ -144,7 +144,7 @@ export declare const CampaignRunReport: Schema.Struct<{
|
|
|
144
144
|
}>>;
|
|
145
145
|
readonly replyCount: Schema.Finite;
|
|
146
146
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
147
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
147
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
148
148
|
readonly count: Schema.Finite;
|
|
149
149
|
}>>;
|
|
150
150
|
}>;
|
|
@@ -152,7 +152,7 @@ export type CampaignEmailContent = {
|
|
|
152
152
|
readonly subject?: string | null;
|
|
153
153
|
readonly html?: string | null;
|
|
154
154
|
readonly text?: string | null;
|
|
155
|
-
readonly attachments?:
|
|
155
|
+
readonly attachments?: StoredEmailAttachments;
|
|
156
156
|
readonly publicationId?: TemplatePublicationId;
|
|
157
157
|
readonly inputContractId?: TemplateInputContractId;
|
|
158
158
|
readonly templateId?: TemplateId | null;
|
|
@@ -161,7 +161,7 @@ export type CampaignEmailContent = {
|
|
|
161
161
|
readonly locale?: RenderLocale;
|
|
162
162
|
readonly timeZone?: RenderTimeZone;
|
|
163
163
|
readonly inReplyToMessageId?: MessageId | null;
|
|
164
|
-
readonly replyTo?:
|
|
164
|
+
readonly replyTo?: StoredReplyToAddresses;
|
|
165
165
|
readonly topicId?: TopicId | null;
|
|
166
166
|
readonly tracking?: EmailTrackingOverrideV1;
|
|
167
167
|
readonly footer?: EmailFooterOverride;
|
|
@@ -729,7 +729,7 @@ export declare const CampaignRun: Schema.Struct<{
|
|
|
729
729
|
readonly skippedCount: Schema.Finite;
|
|
730
730
|
readonly pendingCount: Schema.Finite;
|
|
731
731
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
732
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
732
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
733
733
|
readonly count: Schema.Finite;
|
|
734
734
|
}>>;
|
|
735
735
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -956,7 +956,7 @@ export declare const CampaignRunPage: Schema.Struct<{
|
|
|
956
956
|
readonly skippedCount: Schema.Finite;
|
|
957
957
|
readonly pendingCount: Schema.Finite;
|
|
958
958
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
959
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
959
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
960
960
|
readonly count: Schema.Finite;
|
|
961
961
|
}>>;
|
|
962
962
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1073,7 +1073,7 @@ export declare const CampaignRunAction: Schema.Struct<{
|
|
|
1073
1073
|
readonly skippedCount: Schema.Finite;
|
|
1074
1074
|
readonly pendingCount: Schema.Finite;
|
|
1075
1075
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
1076
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
1076
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
1077
1077
|
readonly count: Schema.Finite;
|
|
1078
1078
|
}>>;
|
|
1079
1079
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2017,7 +2017,7 @@ export declare const CampaignsListRuns200: Schema.Struct<{
|
|
|
2017
2017
|
readonly skippedCount: Schema.Finite;
|
|
2018
2018
|
readonly pendingCount: Schema.Finite;
|
|
2019
2019
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2020
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2020
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2021
2021
|
readonly count: Schema.Finite;
|
|
2022
2022
|
}>>;
|
|
2023
2023
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2161,7 +2161,7 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
|
|
|
2161
2161
|
readonly skippedCount: Schema.Finite;
|
|
2162
2162
|
readonly pendingCount: Schema.Finite;
|
|
2163
2163
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2164
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2164
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2165
2165
|
readonly count: Schema.Finite;
|
|
2166
2166
|
}>>;
|
|
2167
2167
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2301,7 +2301,7 @@ export declare const CampaignsGetRun200: Schema.Struct<{
|
|
|
2301
2301
|
readonly skippedCount: Schema.Finite;
|
|
2302
2302
|
readonly pendingCount: Schema.Finite;
|
|
2303
2303
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2304
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2304
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2305
2305
|
readonly count: Schema.Finite;
|
|
2306
2306
|
}>>;
|
|
2307
2307
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2435,7 +2435,7 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
|
|
|
2435
2435
|
readonly skippedCount: Schema.Finite;
|
|
2436
2436
|
readonly pendingCount: Schema.Finite;
|
|
2437
2437
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2438
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2438
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2439
2439
|
readonly count: Schema.Finite;
|
|
2440
2440
|
}>>;
|
|
2441
2441
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2574,7 +2574,7 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
|
|
|
2574
2574
|
readonly skippedCount: Schema.Finite;
|
|
2575
2575
|
readonly pendingCount: Schema.Finite;
|
|
2576
2576
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2577
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2577
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2578
2578
|
readonly count: Schema.Finite;
|
|
2579
2579
|
}>>;
|
|
2580
2580
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2636,7 +2636,7 @@ export declare const CampaignsListRecipients200: Schema.Struct<{
|
|
|
2636
2636
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
2637
2637
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2638
2638
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2639
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
2639
|
+
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
2640
2640
|
readonly createdAt: Schema.String;
|
|
2641
2641
|
readonly updatedAt: Schema.String;
|
|
2642
2642
|
}>>;
|
|
@@ -2687,7 +2687,7 @@ export declare const CampaignsGetRunReport200: Schema.Struct<{
|
|
|
2687
2687
|
}>>;
|
|
2688
2688
|
readonly replyCount: Schema.Finite;
|
|
2689
2689
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2690
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2690
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2691
2691
|
readonly count: Schema.Finite;
|
|
2692
2692
|
}>>;
|
|
2693
2693
|
}>;
|
|
@@ -2809,7 +2809,7 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
|
|
|
2809
2809
|
readonly skippedCount: Schema.Finite;
|
|
2810
2810
|
readonly pendingCount: Schema.Finite;
|
|
2811
2811
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
2812
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2812
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
2813
2813
|
readonly count: Schema.Finite;
|
|
2814
2814
|
}>>;
|
|
2815
2815
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3391,7 +3391,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
3391
3391
|
readonly skippedCount: Schema.Finite;
|
|
3392
3392
|
readonly pendingCount: Schema.Finite;
|
|
3393
3393
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
3394
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
3394
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
3395
3395
|
readonly count: Schema.Finite;
|
|
3396
3396
|
}>>;
|
|
3397
3397
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4151,7 +4151,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
4151
4151
|
readonly skippedCount: Schema.Finite;
|
|
4152
4152
|
readonly pendingCount: Schema.Finite;
|
|
4153
4153
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
4154
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4154
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4155
4155
|
readonly count: Schema.Finite;
|
|
4156
4156
|
}>>;
|
|
4157
4157
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4291,7 +4291,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
4291
4291
|
}>>;
|
|
4292
4292
|
readonly replyCount: Schema.Finite;
|
|
4293
4293
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
4294
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4294
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4295
4295
|
readonly count: Schema.Finite;
|
|
4296
4296
|
}>>;
|
|
4297
4297
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -4601,7 +4601,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
4601
4601
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"dispatching">, Schema.Literal<"dispatched">, Schema.Literal<"failed">, Schema.Literal<"skipped">]>;
|
|
4602
4602
|
readonly messageId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4603
4603
|
readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4604
|
-
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
4604
|
+
readonly skippedReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>, Schema.Null]>;
|
|
4605
4605
|
readonly createdAt: Schema.String;
|
|
4606
4606
|
readonly updatedAt: Schema.String;
|
|
4607
4607
|
}>>;
|
|
@@ -4806,7 +4806,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
4806
4806
|
readonly skippedCount: Schema.Finite;
|
|
4807
4807
|
readonly pendingCount: Schema.Finite;
|
|
4808
4808
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
4809
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4809
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
4810
4810
|
readonly count: Schema.Finite;
|
|
4811
4811
|
}>>;
|
|
4812
4812
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5021,7 +5021,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
5021
5021
|
readonly skippedCount: Schema.Finite;
|
|
5022
5022
|
readonly pendingCount: Schema.Finite;
|
|
5023
5023
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
5024
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5024
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5025
5025
|
readonly count: Schema.Finite;
|
|
5026
5026
|
}>>;
|
|
5027
5027
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5454,7 +5454,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
5454
5454
|
readonly skippedCount: Schema.Finite;
|
|
5455
5455
|
readonly pendingCount: Schema.Finite;
|
|
5456
5456
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
5457
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5457
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5458
5458
|
readonly count: Schema.Finite;
|
|
5459
5459
|
}>>;
|
|
5460
5460
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5713,7 +5713,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
5713
5713
|
readonly skippedCount: Schema.Finite;
|
|
5714
5714
|
readonly pendingCount: Schema.Finite;
|
|
5715
5715
|
readonly skippedReasons: Schema.$Array<Schema.Struct<{
|
|
5716
|
-
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5716
|
+
readonly reason: Schema.Union<readonly [Schema.Literal<"unsubscribed">, Schema.Literal<"not_added">, Schema.Literal<"blocked">, Schema.Literal<"suppressed">, Schema.Literal<"opted_out">, Schema.Literal<"consent_required">, Schema.Literal<"unreachable">, Schema.Literal<"no_identity">, Schema.Literal<"inactive">, Schema.Literal<"run_cancelled">, Schema.Literal<"run_failed">, Schema.Literal<"missing_merge_field">]>;
|
|
5717
5717
|
readonly count: Schema.Finite;
|
|
5718
5718
|
}>>;
|
|
5719
5719
|
readonly estimatedCompletionAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbsoluteInstant } from "../runtime.js";
|
|
2
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, BrandAddressRequiredError, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignFooterRequiredError, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, ConflictError, ContactId, DeliveryUnavailableError,
|
|
2
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, BrandAddressRequiredError, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignFooterRequiredError, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, ConflictError, ContactId, DeliveryUnavailableError, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailTrackingOverrideV1, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, InternalError, MalformedRequestError, MessageId, OnboardingReviewRequiredError, PaymentRequiredError, RateLimitedError, RenderLocale, RenderTimeZone, ResourceNotFoundError, SenderNotReadyError, SendsSeries, ServiceUnavailableError, SmsContent, StoredEmailAttachments, StoredReplyToAddresses, TemplateData, TemplateId, TemplateInputContractId, TemplatePublicationId, TemplateSourceError, TopicId, UnauthorizedError, ValidationError, WhatsAppTemplateDispatch } from "./shared.js";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
4
4
|
import * as Schema from "effect/Schema";
|
|
5
5
|
// src/effect/generated/campaigns.ts
|
|
@@ -19,6 +19,7 @@ const CampaignDefinitionSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
19
19
|
const CampaignRunSkippedReason = /* @__PURE__ */ (() => Schema.Struct({
|
|
20
20
|
reason: Schema.Union([
|
|
21
21
|
Schema.Literal("unsubscribed"),
|
|
22
|
+
Schema.Literal("not_added"),
|
|
22
23
|
Schema.Literal("blocked"),
|
|
23
24
|
Schema.Literal("suppressed"),
|
|
24
25
|
Schema.Literal("opted_out"),
|
|
@@ -44,6 +45,7 @@ const CampaignRunReportEngagement = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
44
45
|
const CampaignRunReportSkippedReason = /* @__PURE__ */ (() => Schema.Struct({
|
|
45
46
|
reason: Schema.Union([
|
|
46
47
|
Schema.Literal("unsubscribed"),
|
|
48
|
+
Schema.Literal("not_added"),
|
|
47
49
|
Schema.Literal("blocked"),
|
|
48
50
|
Schema.Literal("suppressed"),
|
|
49
51
|
Schema.Literal("opted_out"),
|
|
@@ -84,6 +86,7 @@ const CampaignRecipientPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
84
86
|
failureReason: Schema.Union([Schema.String, Schema.Null]),
|
|
85
87
|
skippedReason: Schema.Union([Schema.Union([
|
|
86
88
|
Schema.Literal("unsubscribed"),
|
|
89
|
+
Schema.Literal("not_added"),
|
|
87
90
|
Schema.Literal("blocked"),
|
|
88
91
|
Schema.Literal("suppressed"),
|
|
89
92
|
Schema.Literal("opted_out"),
|
|
@@ -120,7 +123,7 @@ const CampaignEmailContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
120
123
|
subject: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
121
124
|
html: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
122
125
|
text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
123
|
-
attachments: Schema.optionalKey(
|
|
126
|
+
attachments: Schema.optionalKey(StoredEmailAttachments),
|
|
124
127
|
publicationId: Schema.optionalKey(TemplatePublicationId),
|
|
125
128
|
inputContractId: Schema.optionalKey(TemplateInputContractId),
|
|
126
129
|
templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
|
|
@@ -129,7 +132,7 @@ const CampaignEmailContent = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
129
132
|
locale: Schema.optionalKey(RenderLocale),
|
|
130
133
|
timeZone: Schema.optionalKey(RenderTimeZone),
|
|
131
134
|
inReplyToMessageId: Schema.optionalKey(Schema.Union([MessageId, Schema.Null])),
|
|
132
|
-
replyTo: Schema.optionalKey(
|
|
135
|
+
replyTo: Schema.optionalKey(StoredReplyToAddresses),
|
|
133
136
|
topicId: Schema.optionalKey(Schema.Union([TopicId, Schema.Null]).annotate({ description: "The topic for this send. Omit to inherit the template topic; null disables topic inheritance for a direct send. Campaigns require a topic." })),
|
|
134
137
|
tracking: Schema.optionalKey(EmailTrackingOverrideV1),
|
|
135
138
|
footer: Schema.optionalKey(EmailFooterOverride),
|