samva 0.26.0 → 0.28.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 +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -183,7 +183,7 @@ export declare const Conversation: Schema.Struct<{
|
|
|
183
183
|
readonly updatedAt: Schema.String;
|
|
184
184
|
}>;
|
|
185
185
|
export type ConversationsListQuery = {
|
|
186
|
-
readonly limit?:
|
|
186
|
+
readonly limit?: number | null;
|
|
187
187
|
readonly cursor?: Cursor | null;
|
|
188
188
|
readonly status?: "active" | "waiting" | "resolved" | "escalated" | "archived" | null;
|
|
189
189
|
readonly channel?: "email" | null;
|
|
@@ -192,7 +192,7 @@ export type ConversationsListQuery = {
|
|
|
192
192
|
readonly before?: string | null;
|
|
193
193
|
};
|
|
194
194
|
export declare const ConversationsListQuery: Schema.Struct<{
|
|
195
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
195
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
196
196
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
197
197
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"waiting">, Schema.Literal<"resolved">, Schema.Literal<"escalated">, Schema.Literal<"archived">]>, Schema.Null]>>;
|
|
198
198
|
readonly channel: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"email">, Schema.Null]>>;
|
|
@@ -988,13 +988,13 @@ export declare const ConversationsListMessagesPathParams: Schema.Struct<{
|
|
|
988
988
|
readonly id: Schema.brand<Schema.String, "ConversationId">;
|
|
989
989
|
}>;
|
|
990
990
|
export type ConversationsListMessagesQuery = {
|
|
991
|
-
readonly limit?:
|
|
991
|
+
readonly limit?: number | null;
|
|
992
992
|
readonly cursor?: Cursor | null;
|
|
993
993
|
readonly after?: string | null;
|
|
994
994
|
readonly before?: string | null;
|
|
995
995
|
};
|
|
996
996
|
export declare const ConversationsListMessagesQuery: Schema.Struct<{
|
|
997
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
997
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
998
998
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
999
999
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1000
1000
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -1003,6 +1003,10 @@ export type ConversationsListMessages200 = MessagePage;
|
|
|
1003
1003
|
export declare const ConversationsListMessages200: Schema.Struct<{
|
|
1004
1004
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1005
1005
|
readonly id: Schema.brand<Schema.String, "MessageId">;
|
|
1006
|
+
readonly campaign: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1007
|
+
readonly campaignId: Schema.brand<Schema.String, "CampaignId">;
|
|
1008
|
+
readonly runId: Schema.brand<Schema.String, "CampaignRunId">;
|
|
1009
|
+
}>, Schema.Null]>>;
|
|
1006
1010
|
readonly channel: Schema.Literal<"email">;
|
|
1007
1011
|
readonly direction: Schema.Union<readonly [Schema.Literal<"outbound">, Schema.Literal<"inbound">]>;
|
|
1008
1012
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"scheduled">, Schema.Literal<"queued">, Schema.Literal<"processing">, Schema.Literal<"sent">, Schema.Literal<"delivered">, Schema.Literal<"read">, Schema.Literal<"failed">, Schema.Literal<"bounced">, Schema.Literal<"complained">]>;
|
|
@@ -1986,7 +1990,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
1986
1990
|
readonly message: Schema.String;
|
|
1987
1991
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
1988
1992
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationsList", "GET", "/v1/conversations", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1989
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1993
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1990
1994
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1991
1995
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"waiting">, Schema.Literal<"resolved">, Schema.Literal<"escalated">, Schema.Literal<"archived">]>, Schema.Null]>>;
|
|
1992
1996
|
readonly channel: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"email">, Schema.Null]>>;
|
|
@@ -2073,13 +2077,17 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
2073
2077
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"conversationsListMessages", "GET", "/v1/conversations/:id/messages", Schema.toCodecStringTree<Schema.Struct<{
|
|
2074
2078
|
readonly id: Schema.brand<Schema.String, "ConversationId">;
|
|
2075
2079
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
2076
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
2080
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
2077
2081
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2078
2082
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2079
2083
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2080
2084
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
2081
2085
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2082
2086
|
readonly id: Schema.brand<Schema.String, "MessageId">;
|
|
2087
|
+
readonly campaign: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2088
|
+
readonly campaignId: Schema.brand<Schema.String, "CampaignId">;
|
|
2089
|
+
readonly runId: Schema.brand<Schema.String, "CampaignRunId">;
|
|
2090
|
+
}>, Schema.Null]>>;
|
|
2083
2091
|
readonly channel: Schema.Literal<"email">;
|
|
2084
2092
|
readonly direction: Schema.Union<readonly [Schema.Literal<"outbound">, Schema.Literal<"inbound">]>;
|
|
2085
2093
|
readonly status: Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"scheduled">, Schema.Literal<"queued">, Schema.Literal<"processing">, Schema.Literal<"sent">, Schema.Literal<"delivered">, Schema.Literal<"read">, Schema.Literal<"failed">, Schema.Literal<"bounced">, Schema.Literal<"complained">]>;
|
|
@@ -108,7 +108,7 @@ const Conversation = /* @__PURE__ */ Schema.Struct({
|
|
|
108
108
|
updatedAt: Schema.String
|
|
109
109
|
}).annotate({ identifier: "Conversation" });
|
|
110
110
|
const ConversationsListQuery = /* @__PURE__ */ Schema.Struct({
|
|
111
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
111
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
112
112
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
113
113
|
status: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
114
114
|
Schema.Literal("active"),
|
|
@@ -254,7 +254,7 @@ const ConversationsRemoveChannels422 = ValidationError;
|
|
|
254
254
|
const ConversationsRemoveChannels500 = InternalError;
|
|
255
255
|
const ConversationsRemoveChannels504 = GatewayTimeoutError;
|
|
256
256
|
const ConversationsAddContactsPathParams = /* @__PURE__ */ Schema.Struct({ id: ConversationId });
|
|
257
|
-
const ConversationsAddContactsRequestJson = /* @__PURE__ */ Schema.Struct({ contactIds: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]) });
|
|
257
|
+
const ConversationsAddContactsRequestJson = /* @__PURE__ */ Schema.Struct({ contactIds: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })) });
|
|
258
258
|
const ConversationsAddContacts200 = Conversation;
|
|
259
259
|
const ConversationsAddContacts401 = UnauthorizedError;
|
|
260
260
|
const ConversationsAddContacts403 = ForbiddenError;
|
|
@@ -263,7 +263,7 @@ const ConversationsAddContacts422 = ValidationError;
|
|
|
263
263
|
const ConversationsAddContacts500 = InternalError;
|
|
264
264
|
const ConversationsAddContacts504 = GatewayTimeoutError;
|
|
265
265
|
const ConversationsRemoveContactsPathParams = /* @__PURE__ */ Schema.Struct({ id: ConversationId });
|
|
266
|
-
const ConversationsRemoveContactsRequestJson = /* @__PURE__ */ Schema.Struct({ contactIds: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]) });
|
|
266
|
+
const ConversationsRemoveContactsRequestJson = /* @__PURE__ */ Schema.Struct({ contactIds: Schema.TupleWithRest(Schema.Tuple([ContactId]), [ContactId]).check(Schema.isMaxLength(1e3).annotate({ expected: "a value with a length of at most 1000" })) });
|
|
267
267
|
const ConversationsRemoveContacts200 = Conversation;
|
|
268
268
|
const ConversationsRemoveContacts401 = UnauthorizedError;
|
|
269
269
|
const ConversationsRemoveContacts403 = ForbiddenError;
|
|
@@ -273,7 +273,7 @@ const ConversationsRemoveContacts500 = InternalError;
|
|
|
273
273
|
const ConversationsRemoveContacts504 = GatewayTimeoutError;
|
|
274
274
|
const ConversationsListMessagesPathParams = /* @__PURE__ */ Schema.Struct({ id: ConversationId });
|
|
275
275
|
const ConversationsListMessagesQuery = /* @__PURE__ */ Schema.Struct({
|
|
276
|
-
limit: Schema.optionalKey(Schema.Union([Schema.
|
|
276
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
277
277
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
278
278
|
after: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
279
279
|
before: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
@@ -406,7 +406,7 @@ var ConversationsGroup = class extends HttpApiGroup.make("Conversations").add(Ht
|
|
|
406
406
|
ConversationsAddContacts500,
|
|
407
407
|
ConversationsAddContacts504.pipe(HttpApiSchema.status(504))
|
|
408
408
|
]
|
|
409
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "conversations.addContacts").annotate(OpenApi.Summary, "Add contacts to a conversation").annotate(OpenApi.Description, "Attaches one or more contacts to a conversation and returns the updated conversation."), HttpApiEndpoint.delete("conversationsRemoveContacts", "/v1/conversations/:id/contacts", {
|
|
409
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "conversations.addContacts").annotate(OpenApi.Summary, "Add contacts to a conversation").annotate(OpenApi.Description, "Attaches one or more contacts to a conversation and returns the updated conversation. One request carries at most 1000 ids."), HttpApiEndpoint.delete("conversationsRemoveContacts", "/v1/conversations/:id/contacts", {
|
|
410
410
|
params: ConversationsRemoveContactsPathParams,
|
|
411
411
|
payload: ConversationsRemoveContactsRequestJson,
|
|
412
412
|
success: ConversationsRemoveContacts200,
|
|
@@ -418,7 +418,7 @@ var ConversationsGroup = class extends HttpApiGroup.make("Conversations").add(Ht
|
|
|
418
418
|
ConversationsRemoveContacts500,
|
|
419
419
|
ConversationsRemoveContacts504.pipe(HttpApiSchema.status(504))
|
|
420
420
|
]
|
|
421
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "conversations.removeContacts").annotate(OpenApi.Summary, "Remove contacts from a conversation").annotate(OpenApi.Description, "Detaches one or more contacts from a conversation and returns the updated conversation."), HttpApiEndpoint.get("conversationsListMessages", "/v1/conversations/:id/messages", {
|
|
421
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "conversations.removeContacts").annotate(OpenApi.Summary, "Remove contacts from a conversation").annotate(OpenApi.Description, "Detaches one or more contacts from a conversation and returns the updated conversation. One request carries at most 1000 ids."), HttpApiEndpoint.get("conversationsListMessages", "/v1/conversations/:id/messages", {
|
|
422
422
|
params: ConversationsListMessagesPathParams,
|
|
423
423
|
query: ConversationsListMessagesQuery,
|
|
424
424
|
success: ConversationsListMessages200,
|
|
@@ -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, ConflictError, Cursor, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MediaId, MessageId, NamespaceId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries,
|
|
4
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, Cursor, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MediaId, MessageId, NamespaceId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries, TopicId, UnauthorizedError, ValidationError, WebhookEndpointId } from "./shared";
|
|
5
5
|
export type BlockedEmailId = string & EffectBrand.Brand<"BlockedEmailId">;
|
|
6
6
|
export declare const BlockedEmailId: Schema.brand<Schema.String, "BlockedEmailId">;
|
|
7
7
|
export type SuccessResult = {
|
|
@@ -897,22 +897,19 @@ export declare const EmailDomainVerification: Schema.Struct<{
|
|
|
897
897
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
898
898
|
}>;
|
|
899
899
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
900
|
-
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.
|
|
901
|
-
readonly _tag: Schema.Literal<"PublicDns">;
|
|
900
|
+
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
|
|
902
901
|
readonly resolver: Schema.String;
|
|
903
902
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
904
903
|
readonly values: Schema.$Array<Schema.String>;
|
|
905
904
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
906
905
|
readonly observedAt: Schema.String;
|
|
907
|
-
}>, Schema.
|
|
908
|
-
readonly _tag: Schema.Literal<"Provider">;
|
|
906
|
+
}>, Schema.TaggedStruct<"Provider", {
|
|
909
907
|
readonly provider: Schema.String;
|
|
910
908
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
911
909
|
readonly values: Schema.$Array<Schema.String>;
|
|
912
910
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
913
911
|
readonly observedAt: Schema.String;
|
|
914
|
-
}>, Schema.
|
|
915
|
-
readonly _tag: Schema.Literal<"Host">;
|
|
912
|
+
}>, Schema.TaggedStruct<"Host", {
|
|
916
913
|
readonly source: Schema.String;
|
|
917
914
|
readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
|
|
918
915
|
readonly label: Schema.String;
|
|
@@ -1080,14 +1077,14 @@ export declare const SuppressionPage: Schema.Struct<{
|
|
|
1080
1077
|
}>;
|
|
1081
1078
|
export type EmailListBlocksQuery = {
|
|
1082
1079
|
readonly blockType?: "email" | "domain" | null;
|
|
1083
|
-
readonly isActive?:
|
|
1084
|
-
readonly limit?:
|
|
1080
|
+
readonly isActive?: boolean | null;
|
|
1081
|
+
readonly limit?: number | null;
|
|
1085
1082
|
readonly cursor?: Cursor | null;
|
|
1086
1083
|
};
|
|
1087
1084
|
export declare const EmailListBlocksQuery: Schema.Struct<{
|
|
1088
1085
|
readonly blockType: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"email">, Schema.Literal<"domain">]>, Schema.Null]>>;
|
|
1089
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1090
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1086
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1087
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1091
1088
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1092
1089
|
}>;
|
|
1093
1090
|
export type EmailListBlocks200 = BlockPage;
|
|
@@ -1278,7 +1275,7 @@ export type EmailGetBlockLogsQuery = {
|
|
|
1278
1275
|
readonly fromAddress?: string | null;
|
|
1279
1276
|
readonly after?: string | null;
|
|
1280
1277
|
readonly before?: string | null;
|
|
1281
|
-
readonly limit?:
|
|
1278
|
+
readonly limit?: number | null;
|
|
1282
1279
|
readonly cursor?: Cursor | null;
|
|
1283
1280
|
};
|
|
1284
1281
|
export declare const EmailGetBlockLogsQuery: Schema.Struct<{
|
|
@@ -1286,7 +1283,7 @@ export declare const EmailGetBlockLogsQuery: Schema.Struct<{
|
|
|
1286
1283
|
readonly fromAddress: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1287
1284
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1288
1285
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1289
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1286
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1290
1287
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1291
1288
|
}>;
|
|
1292
1289
|
export type EmailGetBlockLogs200 = BlockLogPage;
|
|
@@ -1419,15 +1416,15 @@ export declare const EmailGetCatchAllStats500: typeof InternalError;
|
|
|
1419
1416
|
export type EmailGetCatchAllStats504 = GatewayTimeoutError;
|
|
1420
1417
|
export declare const EmailGetCatchAllStats504: typeof GatewayTimeoutError;
|
|
1421
1418
|
export type EmailListDomainsQuery = {
|
|
1422
|
-
readonly limit?:
|
|
1419
|
+
readonly limit?: number | null;
|
|
1423
1420
|
readonly cursor?: Cursor | null;
|
|
1424
|
-
readonly sendable?:
|
|
1421
|
+
readonly sendable?: true | null;
|
|
1425
1422
|
readonly namespaceId?: NamespaceId | null;
|
|
1426
1423
|
};
|
|
1427
1424
|
export declare const EmailListDomainsQuery: Schema.Struct<{
|
|
1428
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
1425
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
1429
1426
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1430
|
-
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<
|
|
1427
|
+
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<true>, Schema.Null]>>;
|
|
1431
1428
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1432
1429
|
}>;
|
|
1433
1430
|
export type EmailListDomains200 = EmailDomainPage;
|
|
@@ -1605,7 +1602,7 @@ export type EmailUpdateDomainConfigRequestJson = {
|
|
|
1605
1602
|
readonly openTracking?: boolean | null | null;
|
|
1606
1603
|
readonly clickTracking?: boolean | null | null;
|
|
1607
1604
|
readonly replyTo?: ReadonlyArray<string> | null | null;
|
|
1608
|
-
readonly
|
|
1605
|
+
readonly topicId?: TopicId | null | null;
|
|
1609
1606
|
readonly footerEnabled?: boolean | null | null;
|
|
1610
1607
|
readonly brandSlug?: string | null | null;
|
|
1611
1608
|
};
|
|
@@ -1613,7 +1610,7 @@ export declare const EmailUpdateDomainConfigRequestJson: Schema.Struct<{
|
|
|
1613
1610
|
readonly openTracking: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
1614
1611
|
readonly clickTracking: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
1615
1612
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
1616
|
-
readonly
|
|
1613
|
+
readonly topicId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TopicId">, Schema.Null]>, Schema.Null]>>;
|
|
1617
1614
|
readonly footerEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
1618
1615
|
readonly brandSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
1619
1616
|
}>;
|
|
@@ -1622,7 +1619,7 @@ export type EmailUpdateDomainConfig200 = {
|
|
|
1622
1619
|
readonly openTracking: boolean | null;
|
|
1623
1620
|
readonly clickTracking: boolean | null;
|
|
1624
1621
|
readonly replyTo: ReadonlyArray<string> | null;
|
|
1625
|
-
readonly
|
|
1622
|
+
readonly topicId: TopicId | null;
|
|
1626
1623
|
readonly footerEnabled: boolean | null;
|
|
1627
1624
|
readonly brandSlug: string | null;
|
|
1628
1625
|
};
|
|
@@ -1631,7 +1628,7 @@ export declare const EmailUpdateDomainConfig200: Schema.Struct<{
|
|
|
1631
1628
|
readonly openTracking: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
1632
1629
|
readonly clickTracking: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
1633
1630
|
readonly replyTo: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
1634
|
-
readonly
|
|
1631
|
+
readonly topicId: Schema.Union<readonly [Schema.brand<Schema.String, "TopicId">, Schema.Null]>;
|
|
1635
1632
|
readonly footerEnabled: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
1636
1633
|
readonly brandSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1637
1634
|
}>;
|
|
@@ -2316,22 +2313,19 @@ export declare const EmailGetDomainVerification200: Schema.Struct<{
|
|
|
2316
2313
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
2317
2314
|
}>;
|
|
2318
2315
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2319
|
-
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.
|
|
2320
|
-
readonly _tag: Schema.Literal<"PublicDns">;
|
|
2316
|
+
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
|
|
2321
2317
|
readonly resolver: Schema.String;
|
|
2322
2318
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2323
2319
|
readonly values: Schema.$Array<Schema.String>;
|
|
2324
2320
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2325
2321
|
readonly observedAt: Schema.String;
|
|
2326
|
-
}>, Schema.
|
|
2327
|
-
readonly _tag: Schema.Literal<"Provider">;
|
|
2322
|
+
}>, Schema.TaggedStruct<"Provider", {
|
|
2328
2323
|
readonly provider: Schema.String;
|
|
2329
2324
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2330
2325
|
readonly values: Schema.$Array<Schema.String>;
|
|
2331
2326
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2332
2327
|
readonly observedAt: Schema.String;
|
|
2333
|
-
}>, Schema.
|
|
2334
|
-
readonly _tag: Schema.Literal<"Host">;
|
|
2328
|
+
}>, Schema.TaggedStruct<"Host", {
|
|
2335
2329
|
readonly source: Schema.String;
|
|
2336
2330
|
readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
|
|
2337
2331
|
readonly label: Schema.String;
|
|
@@ -2448,22 +2442,19 @@ export declare const EmailAdvanceDomainVerification200: Schema.Struct<{
|
|
|
2448
2442
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
2449
2443
|
}>;
|
|
2450
2444
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2451
|
-
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.
|
|
2452
|
-
readonly _tag: Schema.Literal<"PublicDns">;
|
|
2445
|
+
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
|
|
2453
2446
|
readonly resolver: Schema.String;
|
|
2454
2447
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2455
2448
|
readonly values: Schema.$Array<Schema.String>;
|
|
2456
2449
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2457
2450
|
readonly observedAt: Schema.String;
|
|
2458
|
-
}>, Schema.
|
|
2459
|
-
readonly _tag: Schema.Literal<"Provider">;
|
|
2451
|
+
}>, Schema.TaggedStruct<"Provider", {
|
|
2460
2452
|
readonly provider: Schema.String;
|
|
2461
2453
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
2462
2454
|
readonly values: Schema.$Array<Schema.String>;
|
|
2463
2455
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2464
2456
|
readonly observedAt: Schema.String;
|
|
2465
|
-
}>, Schema.
|
|
2466
|
-
readonly _tag: Schema.Literal<"Host">;
|
|
2457
|
+
}>, Schema.TaggedStruct<"Host", {
|
|
2467
2458
|
readonly source: Schema.String;
|
|
2468
2459
|
readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
|
|
2469
2460
|
readonly label: Schema.String;
|
|
@@ -3193,11 +3184,11 @@ export type EmailResumeDomainWarming504 = GatewayTimeoutError;
|
|
|
3193
3184
|
export declare const EmailResumeDomainWarming504: typeof GatewayTimeoutError;
|
|
3194
3185
|
export type EmailListForwardingRulesQuery = {
|
|
3195
3186
|
readonly domainId?: EmailDomainId | null;
|
|
3196
|
-
readonly isActive?:
|
|
3187
|
+
readonly isActive?: boolean | null;
|
|
3197
3188
|
};
|
|
3198
3189
|
export declare const EmailListForwardingRulesQuery: Schema.Struct<{
|
|
3199
3190
|
readonly domainId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>>;
|
|
3200
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3191
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3201
3192
|
}>;
|
|
3202
3193
|
export type EmailListForwardingRules200 = ForwardingRuleList;
|
|
3203
3194
|
export declare const EmailListForwardingRules200: Schema.Struct<{
|
|
@@ -3383,7 +3374,7 @@ export type EmailGetForwardingLogQuery = {
|
|
|
3383
3374
|
readonly status?: "pending" | "forwarded" | "failed" | null;
|
|
3384
3375
|
readonly after?: string | null;
|
|
3385
3376
|
readonly before?: string | null;
|
|
3386
|
-
readonly limit?:
|
|
3377
|
+
readonly limit?: number | null;
|
|
3387
3378
|
readonly cursor?: Cursor | null;
|
|
3388
3379
|
};
|
|
3389
3380
|
export declare const EmailGetForwardingLogQuery: Schema.Struct<{
|
|
@@ -3391,7 +3382,7 @@ export declare const EmailGetForwardingLogQuery: Schema.Struct<{
|
|
|
3391
3382
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"forwarded">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
3392
3383
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3393
3384
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3394
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3385
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
3395
3386
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3396
3387
|
}>;
|
|
3397
3388
|
export type EmailGetForwardingLog200 = ForwardingLogPage;
|
|
@@ -3553,19 +3544,19 @@ export declare const EmailRespondToOnboardingInformationRequest500: typeof Inter
|
|
|
3553
3544
|
export type EmailRespondToOnboardingInformationRequest504 = GatewayTimeoutError;
|
|
3554
3545
|
export declare const EmailRespondToOnboardingInformationRequest504: typeof GatewayTimeoutError;
|
|
3555
3546
|
export type EmailListSendersQuery = {
|
|
3556
|
-
readonly limit?:
|
|
3547
|
+
readonly limit?: number | null;
|
|
3557
3548
|
readonly cursor?: Cursor | null;
|
|
3558
3549
|
readonly verificationStatus?: "pending" | "verified" | "failed" | null;
|
|
3559
|
-
readonly isActive?:
|
|
3560
|
-
readonly isDefault?:
|
|
3550
|
+
readonly isActive?: boolean | null;
|
|
3551
|
+
readonly isDefault?: boolean | null;
|
|
3561
3552
|
readonly namespaceId?: NamespaceId | null;
|
|
3562
3553
|
};
|
|
3563
3554
|
export declare const EmailListSendersQuery: Schema.Struct<{
|
|
3564
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3555
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
3565
3556
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3566
3557
|
readonly verificationStatus: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
3567
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3568
|
-
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3558
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3559
|
+
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
3569
3560
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
3570
3561
|
}>;
|
|
3571
3562
|
export type EmailListSenders200 = EmailSenderPage;
|
|
@@ -3840,14 +3831,14 @@ export type EmailListSuppressionsQuery = {
|
|
|
3840
3831
|
readonly type?: "bounce" | "complaint" | "unsubscribe" | "manual" | null;
|
|
3841
3832
|
readonly status?: "active" | "expired" | null;
|
|
3842
3833
|
readonly search?: string | null;
|
|
3843
|
-
readonly limit?:
|
|
3834
|
+
readonly limit?: number | null;
|
|
3844
3835
|
readonly cursor?: Cursor | null;
|
|
3845
3836
|
};
|
|
3846
3837
|
export declare const EmailListSuppressionsQuery: Schema.Struct<{
|
|
3847
3838
|
readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"bounce">, Schema.Literal<"complaint">, Schema.Literal<"unsubscribe">, Schema.Literal<"manual">]>, Schema.Null]>>;
|
|
3848
3839
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"expired">]>, Schema.Null]>>;
|
|
3849
3840
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3850
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3841
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
3851
3842
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3852
3843
|
}>;
|
|
3853
3844
|
export type EmailListSuppressions200 = SuppressionPage;
|
|
@@ -4429,22 +4420,19 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
4429
4420
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
4430
4421
|
}>;
|
|
4431
4422
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
4432
|
-
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.
|
|
4433
|
-
readonly _tag: Schema.Literal<"PublicDns">;
|
|
4423
|
+
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
|
|
4434
4424
|
readonly resolver: Schema.String;
|
|
4435
4425
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
4436
4426
|
readonly values: Schema.$Array<Schema.String>;
|
|
4437
4427
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4438
4428
|
readonly observedAt: Schema.String;
|
|
4439
|
-
}>, Schema.
|
|
4440
|
-
readonly _tag: Schema.Literal<"Provider">;
|
|
4429
|
+
}>, Schema.TaggedStruct<"Provider", {
|
|
4441
4430
|
readonly provider: Schema.String;
|
|
4442
4431
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
4443
4432
|
readonly values: Schema.$Array<Schema.String>;
|
|
4444
4433
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4445
4434
|
readonly observedAt: Schema.String;
|
|
4446
|
-
}>, Schema.
|
|
4447
|
-
readonly _tag: Schema.Literal<"Host">;
|
|
4435
|
+
}>, Schema.TaggedStruct<"Host", {
|
|
4448
4436
|
readonly source: Schema.String;
|
|
4449
4437
|
readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
|
|
4450
4438
|
readonly label: Schema.String;
|
|
@@ -6689,7 +6677,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
6689
6677
|
readonly fromAddress: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6690
6678
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6691
6679
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6692
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
6680
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
6693
6681
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6694
6682
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
6695
6683
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -7374,22 +7362,19 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
7374
7362
|
readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
7375
7363
|
}>;
|
|
7376
7364
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
7377
|
-
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.
|
|
7378
|
-
readonly _tag: Schema.Literal<"PublicDns">;
|
|
7365
|
+
readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
|
|
7379
7366
|
readonly resolver: Schema.String;
|
|
7380
7367
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
7381
7368
|
readonly values: Schema.$Array<Schema.String>;
|
|
7382
7369
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7383
7370
|
readonly observedAt: Schema.String;
|
|
7384
|
-
}>, Schema.
|
|
7385
|
-
readonly _tag: Schema.Literal<"Provider">;
|
|
7371
|
+
}>, Schema.TaggedStruct<"Provider", {
|
|
7386
7372
|
readonly provider: Schema.String;
|
|
7387
7373
|
readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
|
|
7388
7374
|
readonly values: Schema.$Array<Schema.String>;
|
|
7389
7375
|
readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7390
7376
|
readonly observedAt: Schema.String;
|
|
7391
|
-
}>, Schema.
|
|
7392
|
-
readonly _tag: Schema.Literal<"Host">;
|
|
7377
|
+
}>, Schema.TaggedStruct<"Host", {
|
|
7393
7378
|
readonly source: Schema.String;
|
|
7394
7379
|
readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
|
|
7395
7380
|
readonly label: Schema.String;
|
|
@@ -7693,7 +7678,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
7693
7678
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"forwarded">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
7694
7679
|
readonly after: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
7695
7680
|
readonly before: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
7696
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
7681
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
7697
7682
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
7698
7683
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
7699
7684
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -8297,8 +8282,8 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8297
8282
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8298
8283
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailListBlocks", "GET", "/v1/email/blocks", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
8299
8284
|
readonly blockType: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"email">, Schema.Literal<"domain">]>, Schema.Null]>>;
|
|
8300
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8301
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8285
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
8286
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
8302
8287
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8303
8288
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8304
8289
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -8375,9 +8360,9 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8375
8360
|
readonly message: Schema.String;
|
|
8376
8361
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8377
8362
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailListDomains", "GET", "/v1/email/domains", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
8378
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8363
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
8379
8364
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8380
|
-
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<
|
|
8365
|
+
readonly sendable: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<true>, Schema.Null]>>;
|
|
8381
8366
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
8382
8367
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8383
8368
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -8461,7 +8446,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8461
8446
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8462
8447
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailListForwardingRules", "GET", "/v1/email/forwarding", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
8463
8448
|
readonly domainId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "EmailDomainId">, Schema.Null]>>;
|
|
8464
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8449
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
8465
8450
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8466
8451
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
8467
8452
|
readonly id: Schema.brand<Schema.String, "EmailForwardingRuleId">;
|
|
@@ -8539,11 +8524,11 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8539
8524
|
readonly message: Schema.String;
|
|
8540
8525
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8541
8526
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"emailListSenders", "GET", "/v1/email/senders", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
8542
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8527
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
8543
8528
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8544
8529
|
readonly verificationStatus: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"pending">, Schema.Literal<"verified">, Schema.Literal<"failed">]>, Schema.Null]>>;
|
|
8545
|
-
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8546
|
-
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8530
|
+
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
8531
|
+
readonly isDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
8547
8532
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
8548
8533
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8549
8534
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -8636,7 +8621,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
8636
8621
|
readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"bounce">, Schema.Literal<"complaint">, Schema.Literal<"unsubscribe">, Schema.Literal<"manual">]>, Schema.Null]>>;
|
|
8637
8622
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"expired">]>, Schema.Null]>>;
|
|
8638
8623
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8639
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8624
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
8640
8625
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8641
8626
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8642
8627
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -10276,7 +10261,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
10276
10261
|
readonly openTracking: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
10277
10262
|
readonly clickTracking: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
10278
10263
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
10279
|
-
readonly
|
|
10264
|
+
readonly topicId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "TopicId">, Schema.Null]>, Schema.Null]>>;
|
|
10280
10265
|
readonly footerEnabled: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
10281
10266
|
readonly brandSlug: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
10282
10267
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -10284,7 +10269,7 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
|
|
|
10284
10269
|
readonly openTracking: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
10285
10270
|
readonly clickTracking: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
10286
10271
|
readonly replyTo: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
10287
|
-
readonly
|
|
10272
|
+
readonly topicId: Schema.Union<readonly [Schema.brand<Schema.String, "TopicId">, Schema.Null]>;
|
|
10288
10273
|
readonly footerEnabled: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
10289
10274
|
readonly brandSlug: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
10290
10275
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|