samva 0.23.1 → 0.25.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 +96 -4
- package/dist/client/sdk.gen.js +15 -8
- package/dist/client/types.gen.d.ts +559 -24
- package/dist/effect/api-keys.d.ts +3 -0
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/email.d.ts +2 -1
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/generated/agents.d.ts +1667 -0
- package/dist/effect/generated/api-keys.d.ts +15 -0
- package/dist/effect/generated/campaigns.d.ts +4 -4
- package/dist/effect/generated/campaigns.js +2 -1
- package/dist/effect/generated/email.d.ts +19 -0
- package/dist/effect/generated/email.js +8 -3
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/mailboxes.d.ts +176 -98
- package/dist/effect/generated/mailboxes.js +35 -26
- package/dist/effect/generated/messages.d.ts +12 -52
- package/dist/effect/generated/messages.js +5 -4
- package/dist/effect/generated/organizations.d.ts +18 -0
- package/dist/effect/generated/organizations.js +7 -1
- package/dist/effect/generated/scheduled-messages.d.ts +4 -24
- package/dist/effect/generated/scheduled-messages.js +2 -2
- package/dist/effect/generated/shared.d.ts +201 -45
- package/dist/effect/generated/shared.js +62 -36
- package/dist/effect/generated/subscriptions.d.ts +4 -4
- package/dist/effect/generated/subscriptions.js +2 -1
- package/dist/effect/generated/templates.d.ts +11 -7
- package/dist/effect/generated/templates.js +4 -7
- package/dist/effect/generated/webhooks.d.ts +19 -19
- package/dist/effect/generated/webhooks.js +12 -0
- package/dist/effect/generated/whoami.d.ts +4 -0
- package/dist/effect/generated-metadata.d.ts +49 -0
- package/dist/effect/generated-metadata.js +469 -426
- package/dist/effect/index.js +2 -2
- package/dist/effect/journeys.d.ts +112 -112
- package/dist/effect/mailboxes.d.ts +20 -6
- package/dist/effect/messages.d.ts +1 -1
- package/dist/effect/templates.d.ts +4 -0
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/mailbox-events.d.ts +1 -1
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +12 -2
- package/dist/promises/errors.gen.js +31 -1
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/package.json +2 -2
|
@@ -6,12 +6,10 @@ export type JsonValue = string | number | boolean | null | ReadonlyArray<JsonVal
|
|
|
6
6
|
readonly [x: string]: JsonValue;
|
|
7
7
|
};
|
|
8
8
|
export declare const JsonValue: Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare class AnalyticsQueryError extends AnalyticsQueryError_base {
|
|
14
|
-
}
|
|
9
|
+
export type Cursor = string;
|
|
10
|
+
export declare const Cursor: Schema.String;
|
|
11
|
+
export type NamespaceId = string & EffectBrand.Brand<"NamespaceId">;
|
|
12
|
+
export declare const NamespaceId: Schema.brand<Schema.String, "NamespaceId">;
|
|
15
13
|
declare const UnauthorizedError_base: Schema.Class<UnauthorizedError, Schema.Struct<{
|
|
16
14
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
17
15
|
readonly message: Schema.String;
|
|
@@ -44,8 +42,48 @@ declare const GatewayTimeoutError_base: Schema.Class<GatewayTimeoutError, Schema
|
|
|
44
42
|
}>, import("effect/Cause").YieldableError>;
|
|
45
43
|
export declare class GatewayTimeoutError extends GatewayTimeoutError_base {
|
|
46
44
|
}
|
|
47
|
-
export type
|
|
48
|
-
export declare const
|
|
45
|
+
export type AgentName = string;
|
|
46
|
+
export declare const AgentName: Schema.String;
|
|
47
|
+
export type MailboxEndpointId = string & EffectBrand.Brand<"MailboxEndpointId">;
|
|
48
|
+
export declare const MailboxEndpointId: Schema.brand<Schema.String, "MailboxEndpointId">;
|
|
49
|
+
export type AgentIntegrationReference = string;
|
|
50
|
+
export declare const AgentIntegrationReference: Schema.String;
|
|
51
|
+
export type AgentMode = "live" | "supervised";
|
|
52
|
+
export declare const AgentMode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
53
|
+
export type AgentModel = "standard" | "max";
|
|
54
|
+
export declare const AgentModel: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
55
|
+
export type AgentApprovalPolicy = "toolActions" | "none";
|
|
56
|
+
export declare const AgentApprovalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
57
|
+
export type TimeZone = string;
|
|
58
|
+
export declare const TimeZone: Schema.String;
|
|
59
|
+
export type Weekday = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
60
|
+
export declare const Weekday: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
61
|
+
export type ClockTime = string;
|
|
62
|
+
export declare const ClockTime: Schema.String;
|
|
63
|
+
declare const ResourceNotFoundError_base: Schema.Class<ResourceNotFoundError, Schema.Struct<{
|
|
64
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
65
|
+
readonly resource: Schema.String;
|
|
66
|
+
readonly id: Schema.String;
|
|
67
|
+
readonly message: Schema.String;
|
|
68
|
+
}>, import("effect/Cause").YieldableError>;
|
|
69
|
+
export declare class ResourceNotFoundError extends ResourceNotFoundError_base {
|
|
70
|
+
}
|
|
71
|
+
declare const ConflictError_base: Schema.Class<ConflictError, Schema.Struct<{
|
|
72
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
73
|
+
readonly message: Schema.String;
|
|
74
|
+
readonly resource: Schema.String;
|
|
75
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
76
|
+
}>, import("effect/Cause").YieldableError>;
|
|
77
|
+
export declare class ConflictError extends ConflictError_base {
|
|
78
|
+
}
|
|
79
|
+
export type VersionCursor = string;
|
|
80
|
+
export declare const VersionCursor: Schema.String;
|
|
81
|
+
declare const AnalyticsQueryError_base: Schema.Class<AnalyticsQueryError, Schema.Struct<{
|
|
82
|
+
readonly _tag: Schema.tag<"AnalyticsQueryError">;
|
|
83
|
+
readonly message: Schema.String;
|
|
84
|
+
}>, import("effect/Cause").YieldableError>;
|
|
85
|
+
export declare class AnalyticsQueryError extends AnalyticsQueryError_base {
|
|
86
|
+
}
|
|
49
87
|
export type ApiKeyResourceAccess = {
|
|
50
88
|
readonly messages?: "read" | "write" | null;
|
|
51
89
|
readonly email?: "read" | "write" | null;
|
|
@@ -54,6 +92,7 @@ export type ApiKeyResourceAccess = {
|
|
|
54
92
|
readonly contacts?: "read" | "write" | null;
|
|
55
93
|
readonly conversations?: "read" | "write" | null;
|
|
56
94
|
readonly templates?: "read" | "write" | null;
|
|
95
|
+
readonly agents?: "read" | "write" | null;
|
|
57
96
|
readonly webhooks?: "read" | "write" | null;
|
|
58
97
|
readonly apiKeys?: "read" | "write" | null;
|
|
59
98
|
readonly organization?: "read" | "write" | null;
|
|
@@ -68,6 +107,7 @@ export declare const ApiKeyResourceAccess: Schema.Struct<{
|
|
|
68
107
|
readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
69
108
|
readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
70
109
|
readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
110
|
+
readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
71
111
|
readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
72
112
|
readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
73
113
|
readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
@@ -78,8 +118,6 @@ export type MailboxId = string & EffectBrand.Brand<"MailboxId">;
|
|
|
78
118
|
export declare const MailboxId: Schema.brand<Schema.String, "MailboxId">;
|
|
79
119
|
export type MailboxSendMode = "send" | "approval";
|
|
80
120
|
export declare const MailboxSendMode: Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>;
|
|
81
|
-
export type NamespaceId = string & EffectBrand.Brand<"NamespaceId">;
|
|
82
|
-
export declare const NamespaceId: Schema.brand<Schema.String, "NamespaceId">;
|
|
83
121
|
declare const PaymentRequiredError_base: Schema.Class<PaymentRequiredError, Schema.Struct<{
|
|
84
122
|
readonly _tag: Schema.tag<"PaymentRequiredError">;
|
|
85
123
|
readonly message: Schema.String;
|
|
@@ -89,14 +127,6 @@ declare const PaymentRequiredError_base: Schema.Class<PaymentRequiredError, Sche
|
|
|
89
127
|
}>, import("effect/Cause").YieldableError>;
|
|
90
128
|
export declare class PaymentRequiredError extends PaymentRequiredError_base {
|
|
91
129
|
}
|
|
92
|
-
declare const ResourceNotFoundError_base: Schema.Class<ResourceNotFoundError, Schema.Struct<{
|
|
93
|
-
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
94
|
-
readonly resource: Schema.String;
|
|
95
|
-
readonly id: Schema.String;
|
|
96
|
-
readonly message: Schema.String;
|
|
97
|
-
}>, import("effect/Cause").YieldableError>;
|
|
98
|
-
export declare class ResourceNotFoundError extends ResourceNotFoundError_base {
|
|
99
|
-
}
|
|
100
130
|
declare const RateLimitedError_base: Schema.Class<RateLimitedError, Schema.Struct<{
|
|
101
131
|
readonly _tag: Schema.tag<"RateLimitedError">;
|
|
102
132
|
readonly message: Schema.String;
|
|
@@ -158,14 +188,6 @@ export declare const BrandSocialLink: Schema.Struct<{
|
|
|
158
188
|
readonly label: Schema.String;
|
|
159
189
|
readonly url: Schema.String;
|
|
160
190
|
}>;
|
|
161
|
-
declare const ConflictError_base: Schema.Class<ConflictError, Schema.Struct<{
|
|
162
|
-
readonly _tag: Schema.tag<"ConflictError">;
|
|
163
|
-
readonly message: Schema.String;
|
|
164
|
-
readonly resource: Schema.String;
|
|
165
|
-
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
166
|
-
}>, import("effect/Cause").YieldableError>;
|
|
167
|
-
export declare class ConflictError extends ConflictError_base {
|
|
168
|
-
}
|
|
169
191
|
export type MediaId = string & EffectBrand.Brand<"MediaId">;
|
|
170
192
|
export declare const MediaId: Schema.brand<Schema.String, "MediaId">;
|
|
171
193
|
export type TemplatePublicationId = string & EffectBrand.Brand<"TemplatePublicationId">;
|
|
@@ -217,6 +239,13 @@ export declare class FlagDisabledError extends FlagDisabledError_base {
|
|
|
217
239
|
}
|
|
218
240
|
export type EmailDomainId = string & EffectBrand.Brand<"EmailDomainId">;
|
|
219
241
|
export declare const EmailDomainId: Schema.brand<Schema.String, "EmailDomainId">;
|
|
242
|
+
declare const FromAddressRequiredError_base: Schema.Class<FromAddressRequiredError, Schema.Struct<{
|
|
243
|
+
readonly _tag: Schema.tag<"FromAddressRequiredError">;
|
|
244
|
+
readonly message: Schema.String;
|
|
245
|
+
readonly verifiedDomains: Schema.$Array<Schema.String>;
|
|
246
|
+
}>, import("effect/Cause").YieldableError>;
|
|
247
|
+
export declare class FromAddressRequiredError extends FromAddressRequiredError_base {
|
|
248
|
+
}
|
|
220
249
|
declare const BrandAddressRequiredError_base: Schema.Class<BrandAddressRequiredError, Schema.Struct<{
|
|
221
250
|
readonly _tag: Schema.tag<"BrandAddressRequiredError">;
|
|
222
251
|
readonly message: Schema.String;
|
|
@@ -360,8 +389,6 @@ export type MailboxMetadata = {
|
|
|
360
389
|
readonly [x: string]: string;
|
|
361
390
|
};
|
|
362
391
|
export declare const MailboxMetadata: Schema.$Record<Schema.String, Schema.String>;
|
|
363
|
-
export type MailboxEndpointId = string & EffectBrand.Brand<"MailboxEndpointId">;
|
|
364
|
-
export declare const MailboxEndpointId: Schema.brand<Schema.String, "MailboxEndpointId">;
|
|
365
392
|
export type MailboxMetadataPatch = {
|
|
366
393
|
readonly [x: string]: string | null;
|
|
367
394
|
};
|
|
@@ -512,6 +539,14 @@ export declare const TemplateFromDefault: Schema.Struct<{
|
|
|
512
539
|
readonly email: Schema.String;
|
|
513
540
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
514
541
|
}>;
|
|
542
|
+
export type TemplateTrackingDefault = {
|
|
543
|
+
readonly opens?: boolean | null;
|
|
544
|
+
readonly clicks?: boolean | null;
|
|
545
|
+
};
|
|
546
|
+
export declare const TemplateTrackingDefault: Schema.Struct<{
|
|
547
|
+
readonly opens: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
548
|
+
readonly clicks: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
549
|
+
}>;
|
|
515
550
|
export type AddTemplateEntryPayload = {
|
|
516
551
|
readonly entryPath: string;
|
|
517
552
|
readonly name: string;
|
|
@@ -608,6 +643,12 @@ export type DomainWarmingNotePayload = {
|
|
|
608
643
|
export declare const DomainWarmingNotePayload: Schema.Struct<{
|
|
609
644
|
readonly note: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
610
645
|
}>;
|
|
646
|
+
export type PublishAgentPayload = {
|
|
647
|
+
readonly revision: string;
|
|
648
|
+
};
|
|
649
|
+
export declare const PublishAgentPayload: Schema.Struct<{
|
|
650
|
+
readonly revision: Schema.String;
|
|
651
|
+
}>;
|
|
611
652
|
export type PublishExtensionVersionPayload = {
|
|
612
653
|
readonly manifest: {
|
|
613
654
|
readonly name: string;
|
|
@@ -704,19 +745,6 @@ export declare const UpdateNamespacePayload: Schema.Struct<{
|
|
|
704
745
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
705
746
|
readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Null]>>, Schema.Null]>>;
|
|
706
747
|
}>;
|
|
707
|
-
export type ApiKeyMailboxAccess = {
|
|
708
|
-
readonly permissions: readonly [
|
|
709
|
-
"read" | "update" | "send" | "quarantine.read",
|
|
710
|
-
...Array<"read" | "update" | "send" | "quarantine.read">
|
|
711
|
-
];
|
|
712
|
-
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
713
|
-
readonly sendMode?: MailboxSendMode | null;
|
|
714
|
-
};
|
|
715
|
-
export declare const ApiKeyMailboxAccess: Schema.Struct<{
|
|
716
|
-
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
717
|
-
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
718
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
719
|
-
}>;
|
|
720
748
|
export type CreateTemplateFromWebsitePayload = {
|
|
721
749
|
readonly url: string;
|
|
722
750
|
readonly name?: string | null;
|
|
@@ -755,10 +783,26 @@ export declare const CreateTemplatePayload: Schema.Struct<{
|
|
|
755
783
|
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
756
784
|
readonly idempotencyKey: Schema.String;
|
|
757
785
|
}>;
|
|
786
|
+
export type UpdateAgentPayload = {
|
|
787
|
+
readonly name: AgentName;
|
|
788
|
+
};
|
|
789
|
+
export declare const UpdateAgentPayload: Schema.Struct<{
|
|
790
|
+
readonly name: Schema.String;
|
|
791
|
+
}>;
|
|
792
|
+
export type WorkingHoursRange = {
|
|
793
|
+
readonly day: Weekday;
|
|
794
|
+
readonly opens: ClockTime;
|
|
795
|
+
readonly closes: ClockTime;
|
|
796
|
+
};
|
|
797
|
+
export declare const WorkingHoursRange: Schema.Struct<{
|
|
798
|
+
readonly day: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
799
|
+
readonly opens: Schema.String;
|
|
800
|
+
readonly closes: Schema.String;
|
|
801
|
+
}>;
|
|
758
802
|
export type CreateWebhookPayload = {
|
|
759
803
|
readonly name: string;
|
|
760
804
|
readonly url: string;
|
|
761
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook">;
|
|
805
|
+
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook">;
|
|
762
806
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
763
807
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
764
808
|
readonly namespaceId?: NamespaceId | null;
|
|
@@ -770,7 +814,7 @@ export type CreateWebhookPayload = {
|
|
|
770
814
|
export declare const CreateWebhookPayload: Schema.Struct<{
|
|
771
815
|
readonly name: Schema.String;
|
|
772
816
|
readonly url: Schema.String;
|
|
773
|
-
readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>;
|
|
817
|
+
readonly eventTypes: Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>;
|
|
774
818
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
775
819
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
776
820
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -798,7 +842,7 @@ export declare const InstallExtensionPayload: Schema.Struct<{
|
|
|
798
842
|
export type UpdateWebhookPayload = {
|
|
799
843
|
readonly name?: string | null;
|
|
800
844
|
readonly url?: string | null;
|
|
801
|
-
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "journey.webhook"> | null;
|
|
845
|
+
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "message.opened" | "message.clicked" | "contact.created" | "contact.updated" | "contact.deleted" | "contact.subscribed" | "contact.unsubscribed" | "contact.resubscribed" | "contact.consent_changed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated" | "template.registration.updated" | "flow.registration.updated" | "whatsapp.number.connected" | "mailbox.message.received" | "mailbox.message.sent" | "mailbox.action.pending_approval" | "mailbox.action.resolved" | "mailbox.message.quarantined" | "mailbox.message.released" | "mailbox.message.discarded" | "mailbox.message.delivered" | "mailbox.message.read" | "mailbox.message.failed" | "journey.webhook"> | null;
|
|
802
846
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
803
847
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null | null;
|
|
804
848
|
readonly namespaceId?: NamespaceId | null | null;
|
|
@@ -810,13 +854,26 @@ export type UpdateWebhookPayload = {
|
|
|
810
854
|
export declare const UpdateWebhookPayload: Schema.Struct<{
|
|
811
855
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
812
856
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
813
|
-
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
|
|
857
|
+
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Literal<"message.sent">, Schema.Literal<"message.delivered">, Schema.Literal<"message.read">, Schema.Literal<"message.failed">, Schema.Literal<"message.bounced">, Schema.Literal<"message.complained">, Schema.Literal<"message.received">, Schema.Literal<"message.opened">, Schema.Literal<"message.clicked">, Schema.Literal<"contact.created">, Schema.Literal<"contact.updated">, Schema.Literal<"contact.deleted">, Schema.Literal<"contact.subscribed">, Schema.Literal<"contact.unsubscribed">, Schema.Literal<"contact.resubscribed">, Schema.Literal<"contact.consent_changed">, Schema.Literal<"conversation.created">, Schema.Literal<"conversation.updated">, Schema.Literal<"conversation.archived">, Schema.Literal<"webhook.created">, Schema.Literal<"webhook.updated">, Schema.Literal<"webhook.deleted">, Schema.Literal<"webhook.test">, Schema.Literal<"domain.updated">, Schema.Literal<"domain.warming.updated">, Schema.Literal<"template.registration.updated">, Schema.Literal<"flow.registration.updated">, Schema.Literal<"whatsapp.number.connected">, Schema.Literal<"mailbox.message.received">, Schema.Literal<"mailbox.message.sent">, Schema.Literal<"mailbox.action.pending_approval">, Schema.Literal<"mailbox.action.resolved">, Schema.Literal<"mailbox.message.quarantined">, Schema.Literal<"mailbox.message.released">, Schema.Literal<"mailbox.message.discarded">, Schema.Literal<"mailbox.message.delivered">, Schema.Literal<"mailbox.message.read">, Schema.Literal<"mailbox.message.failed">, Schema.Literal<"journey.webhook">]>>, Schema.Null]>>;
|
|
814
858
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
815
859
|
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>, Schema.Null]>>;
|
|
816
860
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>, Schema.Null]>>;
|
|
817
861
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
818
862
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"disabled">]>, Schema.Null]>>;
|
|
819
863
|
}>;
|
|
864
|
+
export type ApiKeyMailboxAccess = {
|
|
865
|
+
readonly permissions: readonly [
|
|
866
|
+
"read" | "update" | "send" | "quarantine.read",
|
|
867
|
+
...Array<"read" | "update" | "send" | "quarantine.read">
|
|
868
|
+
];
|
|
869
|
+
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
870
|
+
readonly sendMode?: MailboxSendMode | null;
|
|
871
|
+
};
|
|
872
|
+
export declare const ApiKeyMailboxAccess: Schema.Struct<{
|
|
873
|
+
readonly permissions: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>, readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"update">, Schema.Literal<"send">, Schema.Literal<"quarantine.read">]>]>;
|
|
874
|
+
readonly mailboxIds: Schema.optionalKey<Schema.Union<readonly [Schema.TupleWithRest<Schema.Tuple<readonly [Schema.brand<Schema.String, "MailboxId">]>, readonly [Schema.brand<Schema.String, "MailboxId">]>, Schema.Null]>>;
|
|
875
|
+
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
876
|
+
}>;
|
|
820
877
|
export type MessageSummary = {
|
|
821
878
|
readonly id: MessageId;
|
|
822
879
|
readonly channel: "email";
|
|
@@ -1345,6 +1402,7 @@ export type UpdateTemplatePayload = {
|
|
|
1345
1402
|
readonly category?: "transactional" | "marketing" | "support" | "notification" | "verification" | "reminder" | "alert" | null | null;
|
|
1346
1403
|
readonly fromDefault?: TemplateFromDefault | null | null;
|
|
1347
1404
|
readonly replyToDefault?: ReadonlyArray<string> | null | null;
|
|
1405
|
+
readonly trackingDefault?: TemplateTrackingDefault | null | null;
|
|
1348
1406
|
readonly isActive?: boolean | null;
|
|
1349
1407
|
readonly shared?: boolean | null;
|
|
1350
1408
|
};
|
|
@@ -1361,10 +1419,26 @@ export declare const UpdateTemplatePayload: Schema.Struct<{
|
|
|
1361
1419
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1362
1420
|
}>, Schema.Null]>, Schema.Null]>>;
|
|
1363
1421
|
readonly replyToDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
1422
|
+
readonly trackingDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1423
|
+
readonly opens: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1424
|
+
readonly clicks: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1425
|
+
}>, Schema.Null]>, Schema.Null]>>;
|
|
1364
1426
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1365
1427
|
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1366
1428
|
}>;
|
|
1367
1429
|
}>;
|
|
1430
|
+
export type WorkingHours = {
|
|
1431
|
+
readonly timeZone: TimeZone;
|
|
1432
|
+
readonly ranges: ReadonlyArray<WorkingHoursRange>;
|
|
1433
|
+
};
|
|
1434
|
+
export declare const WorkingHours: Schema.Struct<{
|
|
1435
|
+
readonly timeZone: Schema.String;
|
|
1436
|
+
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
1437
|
+
readonly day: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
1438
|
+
readonly opens: Schema.String;
|
|
1439
|
+
readonly closes: Schema.String;
|
|
1440
|
+
}>>;
|
|
1441
|
+
}>;
|
|
1368
1442
|
export type ApiKeyAccess = {
|
|
1369
1443
|
readonly mode: "full";
|
|
1370
1444
|
} | {
|
|
@@ -1385,6 +1459,7 @@ export declare const ApiKeyAccess: Schema.Union<readonly [Schema.Struct<{
|
|
|
1385
1459
|
readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1386
1460
|
readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1387
1461
|
readonly templates: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1462
|
+
readonly agents: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1388
1463
|
readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1389
1464
|
readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1390
1465
|
readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
@@ -1968,6 +2043,35 @@ export declare const OperationAccepted: Schema.Struct<{
|
|
|
1968
2043
|
}>;
|
|
1969
2044
|
}>;
|
|
1970
2045
|
}>;
|
|
2046
|
+
export type AgentDefinition = {
|
|
2047
|
+
readonly instructions: string;
|
|
2048
|
+
readonly knowledge: string;
|
|
2049
|
+
readonly endpointIds: ReadonlyArray<MailboxEndpointId>;
|
|
2050
|
+
readonly integrationIds: ReadonlyArray<AgentIntegrationReference>;
|
|
2051
|
+
readonly mode: AgentMode;
|
|
2052
|
+
readonly model: AgentModel;
|
|
2053
|
+
readonly approvalPolicy: AgentApprovalPolicy;
|
|
2054
|
+
readonly workingHours: WorkingHours | null;
|
|
2055
|
+
readonly takeoverTimeoutMinutes: number;
|
|
2056
|
+
};
|
|
2057
|
+
export declare const AgentDefinition: Schema.Struct<{
|
|
2058
|
+
readonly instructions: Schema.String;
|
|
2059
|
+
readonly knowledge: Schema.String;
|
|
2060
|
+
readonly endpointIds: Schema.$Array<Schema.brand<Schema.String, "MailboxEndpointId">>;
|
|
2061
|
+
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
2062
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
2063
|
+
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
2064
|
+
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
2065
|
+
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
2066
|
+
readonly timeZone: Schema.String;
|
|
2067
|
+
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
2068
|
+
readonly day: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
2069
|
+
readonly opens: Schema.String;
|
|
2070
|
+
readonly closes: Schema.String;
|
|
2071
|
+
}>>;
|
|
2072
|
+
}>, Schema.Null]>;
|
|
2073
|
+
readonly takeoverTimeoutMinutes: Schema.Finite;
|
|
2074
|
+
}>;
|
|
1971
2075
|
export type EmailContent = {
|
|
1972
2076
|
readonly subject?: string | null;
|
|
1973
2077
|
readonly html?: string | null;
|
|
@@ -2334,6 +2438,58 @@ declare const MailboxSendConflictError_base: Schema.Class<MailboxSendConflictErr
|
|
|
2334
2438
|
}>, import("effect/Cause").YieldableError>;
|
|
2335
2439
|
export declare class MailboxSendConflictError extends MailboxSendConflictError_base {
|
|
2336
2440
|
}
|
|
2441
|
+
export type CreateAgentPayload = {
|
|
2442
|
+
readonly name: AgentName;
|
|
2443
|
+
readonly namespaceId?: NamespaceId | null;
|
|
2444
|
+
readonly definition?: AgentDefinition | null;
|
|
2445
|
+
};
|
|
2446
|
+
export declare const CreateAgentPayload: Schema.Struct<{
|
|
2447
|
+
readonly name: Schema.String;
|
|
2448
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2449
|
+
readonly definition: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2450
|
+
readonly instructions: Schema.String;
|
|
2451
|
+
readonly knowledge: Schema.String;
|
|
2452
|
+
readonly endpointIds: Schema.$Array<Schema.brand<Schema.String, "MailboxEndpointId">>;
|
|
2453
|
+
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
2454
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
2455
|
+
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
2456
|
+
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
2457
|
+
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
2458
|
+
readonly timeZone: Schema.String;
|
|
2459
|
+
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
2460
|
+
readonly day: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
2461
|
+
readonly opens: Schema.String;
|
|
2462
|
+
readonly closes: Schema.String;
|
|
2463
|
+
}>>;
|
|
2464
|
+
}>, Schema.Null]>;
|
|
2465
|
+
readonly takeoverTimeoutMinutes: Schema.Finite;
|
|
2466
|
+
}>, Schema.Null]>>;
|
|
2467
|
+
}>;
|
|
2468
|
+
export type ReplaceAgentDraftPayload = {
|
|
2469
|
+
readonly revision: string;
|
|
2470
|
+
readonly definition: AgentDefinition;
|
|
2471
|
+
};
|
|
2472
|
+
export declare const ReplaceAgentDraftPayload: Schema.Struct<{
|
|
2473
|
+
readonly revision: Schema.String;
|
|
2474
|
+
readonly definition: Schema.Struct<{
|
|
2475
|
+
readonly instructions: Schema.String;
|
|
2476
|
+
readonly knowledge: Schema.String;
|
|
2477
|
+
readonly endpointIds: Schema.$Array<Schema.brand<Schema.String, "MailboxEndpointId">>;
|
|
2478
|
+
readonly integrationIds: Schema.$Array<Schema.String>;
|
|
2479
|
+
readonly mode: Schema.Union<readonly [Schema.Literal<"live">, Schema.Literal<"supervised">]>;
|
|
2480
|
+
readonly model: Schema.Union<readonly [Schema.Literal<"standard">, Schema.Literal<"max">]>;
|
|
2481
|
+
readonly approvalPolicy: Schema.Union<readonly [Schema.Literal<"toolActions">, Schema.Literal<"none">]>;
|
|
2482
|
+
readonly workingHours: Schema.Union<readonly [Schema.Struct<{
|
|
2483
|
+
readonly timeZone: Schema.String;
|
|
2484
|
+
readonly ranges: Schema.$Array<Schema.Struct<{
|
|
2485
|
+
readonly day: Schema.Union<readonly [Schema.Literal<"monday">, Schema.Literal<"tuesday">, Schema.Literal<"wednesday">, Schema.Literal<"thursday">, Schema.Literal<"friday">, Schema.Literal<"saturday">, Schema.Literal<"sunday">]>;
|
|
2486
|
+
readonly opens: Schema.String;
|
|
2487
|
+
readonly closes: Schema.String;
|
|
2488
|
+
}>>;
|
|
2489
|
+
}>, Schema.Null]>;
|
|
2490
|
+
readonly takeoverTimeoutMinutes: Schema.Finite;
|
|
2491
|
+
}>;
|
|
2492
|
+
}>;
|
|
2337
2493
|
export type EmailSendMessagePayload = {
|
|
2338
2494
|
readonly conversationId?: ConversationId | null | null;
|
|
2339
2495
|
readonly metadata?: MessageMetadata;
|