samva 0.24.0 → 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 +544 -14
- package/dist/effect/api-keys.d.ts +3 -0
- package/dist/effect/email.d.ts +1 -0
- package/dist/effect/generated/agents.d.ts +1667 -0
- package/dist/effect/generated/api-keys.d.ts +15 -0
- 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 +5 -5
- package/dist/effect/generated/messages.js +2 -1
- package/dist/effect/generated/organizations.d.ts +18 -0
- package/dist/effect/generated/organizations.js +7 -1
- package/dist/effect/generated/shared.d.ts +194 -45
- package/dist/effect/generated/shared.js +58 -36
- 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 +45 -0
- package/dist/effect/generated-metadata.js +465 -426
- package/dist/effect/journeys.d.ts +112 -112
- package/dist/effect/mailboxes.d.ts +20 -6
- package/dist/effect/templates.d.ts +4 -0
- package/dist/effect/webhooks.d.ts +4 -4
- package/dist/mailbox-events.d.ts +1 -1
- package/dist/package.js +1 -1
- 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">;
|
|
@@ -367,8 +389,6 @@ export type MailboxMetadata = {
|
|
|
367
389
|
readonly [x: string]: string;
|
|
368
390
|
};
|
|
369
391
|
export declare const MailboxMetadata: Schema.$Record<Schema.String, Schema.String>;
|
|
370
|
-
export type MailboxEndpointId = string & EffectBrand.Brand<"MailboxEndpointId">;
|
|
371
|
-
export declare const MailboxEndpointId: Schema.brand<Schema.String, "MailboxEndpointId">;
|
|
372
392
|
export type MailboxMetadataPatch = {
|
|
373
393
|
readonly [x: string]: string | null;
|
|
374
394
|
};
|
|
@@ -519,6 +539,14 @@ export declare const TemplateFromDefault: Schema.Struct<{
|
|
|
519
539
|
readonly email: Schema.String;
|
|
520
540
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
521
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
|
+
}>;
|
|
522
550
|
export type AddTemplateEntryPayload = {
|
|
523
551
|
readonly entryPath: string;
|
|
524
552
|
readonly name: string;
|
|
@@ -615,6 +643,12 @@ export type DomainWarmingNotePayload = {
|
|
|
615
643
|
export declare const DomainWarmingNotePayload: Schema.Struct<{
|
|
616
644
|
readonly note: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
617
645
|
}>;
|
|
646
|
+
export type PublishAgentPayload = {
|
|
647
|
+
readonly revision: string;
|
|
648
|
+
};
|
|
649
|
+
export declare const PublishAgentPayload: Schema.Struct<{
|
|
650
|
+
readonly revision: Schema.String;
|
|
651
|
+
}>;
|
|
618
652
|
export type PublishExtensionVersionPayload = {
|
|
619
653
|
readonly manifest: {
|
|
620
654
|
readonly name: string;
|
|
@@ -711,19 +745,6 @@ export declare const UpdateNamespacePayload: Schema.Struct<{
|
|
|
711
745
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
712
746
|
readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Null]>>, Schema.Null]>>;
|
|
713
747
|
}>;
|
|
714
|
-
export type ApiKeyMailboxAccess = {
|
|
715
|
-
readonly permissions: readonly [
|
|
716
|
-
"read" | "update" | "send" | "quarantine.read",
|
|
717
|
-
...Array<"read" | "update" | "send" | "quarantine.read">
|
|
718
|
-
];
|
|
719
|
-
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
720
|
-
readonly sendMode?: MailboxSendMode | null;
|
|
721
|
-
};
|
|
722
|
-
export declare const ApiKeyMailboxAccess: Schema.Struct<{
|
|
723
|
-
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">]>]>;
|
|
724
|
-
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]>>;
|
|
725
|
-
readonly sendMode: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"send">, Schema.Literal<"approval">]>, Schema.Null]>>;
|
|
726
|
-
}>;
|
|
727
748
|
export type CreateTemplateFromWebsitePayload = {
|
|
728
749
|
readonly url: string;
|
|
729
750
|
readonly name?: string | null;
|
|
@@ -762,10 +783,26 @@ export declare const CreateTemplatePayload: Schema.Struct<{
|
|
|
762
783
|
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
763
784
|
readonly idempotencyKey: Schema.String;
|
|
764
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
|
+
}>;
|
|
765
802
|
export type CreateWebhookPayload = {
|
|
766
803
|
readonly name: string;
|
|
767
804
|
readonly url: string;
|
|
768
|
-
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">;
|
|
769
806
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
770
807
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null;
|
|
771
808
|
readonly namespaceId?: NamespaceId | null;
|
|
@@ -777,7 +814,7 @@ export type CreateWebhookPayload = {
|
|
|
777
814
|
export declare const CreateWebhookPayload: Schema.Struct<{
|
|
778
815
|
readonly name: Schema.String;
|
|
779
816
|
readonly url: Schema.String;
|
|
780
|
-
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">]>>;
|
|
781
818
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
782
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]>>;
|
|
783
820
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
@@ -805,7 +842,7 @@ export declare const InstallExtensionPayload: Schema.Struct<{
|
|
|
805
842
|
export type UpdateWebhookPayload = {
|
|
806
843
|
readonly name?: string | null;
|
|
807
844
|
readonly url?: string | null;
|
|
808
|
-
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;
|
|
809
846
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
810
847
|
readonly mailboxIds?: readonly [MailboxId, ...Array<MailboxId>] | null | null;
|
|
811
848
|
readonly namespaceId?: NamespaceId | null | null;
|
|
@@ -817,13 +854,26 @@ export type UpdateWebhookPayload = {
|
|
|
817
854
|
export declare const UpdateWebhookPayload: Schema.Struct<{
|
|
818
855
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
819
856
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
820
|
-
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]>>;
|
|
821
858
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
822
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]>>;
|
|
823
860
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>, Schema.Null]>>;
|
|
824
861
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
825
862
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"disabled">]>, Schema.Null]>>;
|
|
826
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
|
+
}>;
|
|
827
877
|
export type MessageSummary = {
|
|
828
878
|
readonly id: MessageId;
|
|
829
879
|
readonly channel: "email";
|
|
@@ -1352,6 +1402,7 @@ export type UpdateTemplatePayload = {
|
|
|
1352
1402
|
readonly category?: "transactional" | "marketing" | "support" | "notification" | "verification" | "reminder" | "alert" | null | null;
|
|
1353
1403
|
readonly fromDefault?: TemplateFromDefault | null | null;
|
|
1354
1404
|
readonly replyToDefault?: ReadonlyArray<string> | null | null;
|
|
1405
|
+
readonly trackingDefault?: TemplateTrackingDefault | null | null;
|
|
1355
1406
|
readonly isActive?: boolean | null;
|
|
1356
1407
|
readonly shared?: boolean | null;
|
|
1357
1408
|
};
|
|
@@ -1368,10 +1419,26 @@ export declare const UpdateTemplatePayload: Schema.Struct<{
|
|
|
1368
1419
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1369
1420
|
}>, Schema.Null]>, Schema.Null]>>;
|
|
1370
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]>>;
|
|
1371
1426
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1372
1427
|
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1373
1428
|
}>;
|
|
1374
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
|
+
}>;
|
|
1375
1442
|
export type ApiKeyAccess = {
|
|
1376
1443
|
readonly mode: "full";
|
|
1377
1444
|
} | {
|
|
@@ -1392,6 +1459,7 @@ export declare const ApiKeyAccess: Schema.Union<readonly [Schema.Struct<{
|
|
|
1392
1459
|
readonly contacts: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1393
1460
|
readonly conversations: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1394
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]>>;
|
|
1395
1463
|
readonly webhooks: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1396
1464
|
readonly apiKeys: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
1397
1465
|
readonly organization: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"read">, Schema.Literal<"write">]>, Schema.Null]>>;
|
|
@@ -1975,6 +2043,35 @@ export declare const OperationAccepted: Schema.Struct<{
|
|
|
1975
2043
|
}>;
|
|
1976
2044
|
}>;
|
|
1977
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
|
+
}>;
|
|
1978
2075
|
export type EmailContent = {
|
|
1979
2076
|
readonly subject?: string | null;
|
|
1980
2077
|
readonly html?: string | null;
|
|
@@ -2341,6 +2438,58 @@ declare const MailboxSendConflictError_base: Schema.Class<MailboxSendConflictErr
|
|
|
2341
2438
|
}>, import("effect/Cause").YieldableError>;
|
|
2342
2439
|
export declare class MailboxSendConflictError extends MailboxSendConflictError_base {
|
|
2343
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
|
+
}>;
|
|
2344
2493
|
export type EmailSendMessagePayload = {
|
|
2345
2494
|
readonly conversationId?: ConversationId | null | null;
|
|
2346
2495
|
readonly metadata?: MessageMetadata;
|
|
@@ -3,7 +3,11 @@ import { HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
|
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
//#region src/effect/generated/shared.ts
|
|
5
5
|
const JsonValue = Schema.suspend(() => __recursive_JsonValue);
|
|
6
|
-
|
|
6
|
+
const Cursor = /* @__PURE__ */ Schema.String.annotate({ identifier: "Cursor" });
|
|
7
|
+
const NamespaceId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
8
|
+
expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
9
|
+
identifier: "NamespaceId"
|
|
10
|
+
})).pipe(Schema.brand("NamespaceId"));
|
|
7
11
|
var UnauthorizedError = class extends Schema.TaggedError()("UnauthorizedError", Schema.Struct({ message: Schema.String })) {};
|
|
8
12
|
var ForbiddenError = class extends Schema.TaggedError()("ForbiddenError", Schema.Struct({ message: Schema.String })) {};
|
|
9
13
|
var ValidationError = class extends Schema.TaggedError()("ValidationError", Schema.Struct({
|
|
@@ -15,7 +19,31 @@ var GatewayTimeoutError = class extends Schema.TaggedError()("GatewayTimeoutErro
|
|
|
15
19
|
message: Schema.String,
|
|
16
20
|
retryAfterSeconds: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
|
|
17
21
|
})) {};
|
|
18
|
-
|
|
22
|
+
Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" });
|
|
23
|
+
const MailboxEndpointId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
24
|
+
expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
25
|
+
identifier: "MailboxEndpointId"
|
|
26
|
+
})).pipe(Schema.brand("MailboxEndpointId"));
|
|
27
|
+
Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z]{2,8}_[0-9a-z]{16}$", "u")).annotate({
|
|
28
|
+
expected: "a string matching the RegExp ^[a-z]{2,8}_[0-9a-z]{16}$",
|
|
29
|
+
identifier: "AgentIntegrationReference"
|
|
30
|
+
});
|
|
31
|
+
Schema.isPattern(/* @__PURE__ */ new RegExp("^(?:[01]\\d|2[0-3]):[0-5]\\d$", "u")).annotate({
|
|
32
|
+
expected: "a string matching the RegExp ^(?:[01]\\d|2[0-3]):[0-5]\\d$",
|
|
33
|
+
identifier: "ClockTime"
|
|
34
|
+
});
|
|
35
|
+
var ResourceNotFoundError = class extends Schema.TaggedError()("ResourceNotFoundError", Schema.Struct({
|
|
36
|
+
resource: Schema.String,
|
|
37
|
+
id: Schema.String,
|
|
38
|
+
message: Schema.String
|
|
39
|
+
})) {};
|
|
40
|
+
var ConflictError = class extends Schema.TaggedError()("ConflictError", Schema.Struct({
|
|
41
|
+
message: Schema.String,
|
|
42
|
+
resource: Schema.String,
|
|
43
|
+
id: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
44
|
+
})) {};
|
|
45
|
+
const VersionCursor = /* @__PURE__ */ Schema.String.annotate({ identifier: "VersionCursor" });
|
|
46
|
+
var AnalyticsQueryError = class extends Schema.TaggedError()("AnalyticsQueryError", Schema.Struct({ message: Schema.String })) {};
|
|
19
47
|
const ApiKeyResourceAccess = /* @__PURE__ */ Schema.Struct({
|
|
20
48
|
messages: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
21
49
|
email: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
@@ -24,6 +52,7 @@ const ApiKeyResourceAccess = /* @__PURE__ */ Schema.Struct({
|
|
|
24
52
|
contacts: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
25
53
|
conversations: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
26
54
|
templates: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
55
|
+
agents: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
27
56
|
webhooks: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
28
57
|
apiKeys: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
29
58
|
organization: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("read"), Schema.Literal("write")]), Schema.Null])),
|
|
@@ -38,21 +67,12 @@ const MailboxSendMode = /* @__PURE__ */ Schema.Union([Schema.Literal("send"), Sc
|
|
|
38
67
|
description: "How the grantee's sends execute: `send` runs them within account limits; `approval` holds each one until a different member approves it.",
|
|
39
68
|
identifier: "MailboxSendMode"
|
|
40
69
|
});
|
|
41
|
-
const NamespaceId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
42
|
-
expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
43
|
-
identifier: "NamespaceId"
|
|
44
|
-
})).pipe(Schema.brand("NamespaceId"));
|
|
45
70
|
var PaymentRequiredError = class extends Schema.TaggedError()("PaymentRequiredError", Schema.Struct({
|
|
46
71
|
message: Schema.String,
|
|
47
72
|
resource: Schema.String,
|
|
48
73
|
currentUsage: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
49
74
|
limit: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
|
|
50
75
|
})) {};
|
|
51
|
-
var ResourceNotFoundError = class extends Schema.TaggedError()("ResourceNotFoundError", Schema.Struct({
|
|
52
|
-
resource: Schema.String,
|
|
53
|
-
id: Schema.String,
|
|
54
|
-
message: Schema.String
|
|
55
|
-
})) {};
|
|
56
76
|
var RateLimitedError = class extends Schema.TaggedError()("RateLimitedError", Schema.Struct({
|
|
57
77
|
message: Schema.String,
|
|
58
78
|
retryAfterSeconds: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
|
|
@@ -92,11 +112,6 @@ const BrandSocialLink = /* @__PURE__ */ Schema.Struct({
|
|
|
92
112
|
label: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(64).annotate({ expected: "a string with at most 64 code points" })).check(Schema.isMaxLength(64).annotate({ expected: "a value with a length of at most 64" })),
|
|
93
113
|
url: Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^https:\\/\\/[^\\s]+$", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/[^\\s]+$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" }))
|
|
94
114
|
}).annotate({ identifier: "BrandSocialLink" });
|
|
95
|
-
var ConflictError = class extends Schema.TaggedError()("ConflictError", Schema.Struct({
|
|
96
|
-
message: Schema.String,
|
|
97
|
-
resource: Schema.String,
|
|
98
|
-
id: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
99
|
-
})) {};
|
|
100
115
|
const MediaId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^media_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
101
116
|
expected: "a string matching the RegExp ^media_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
102
117
|
identifier: "MediaId"
|
|
@@ -295,10 +310,6 @@ const MailboxMetadata = /* @__PURE__ */ Schema.Record(Schema.String, Schema.Stri
|
|
|
295
310
|
expected: "an object with property names matching the schema",
|
|
296
311
|
identifier: "MailboxMetadata"
|
|
297
312
|
}));
|
|
298
|
-
const MailboxEndpointId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
299
|
-
expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
300
|
-
identifier: "MailboxEndpointId"
|
|
301
|
-
})).pipe(Schema.brand("MailboxEndpointId"));
|
|
302
313
|
const MailboxMetadataPatch = /* @__PURE__ */ Schema.Record(Schema.String, Schema.Union([Schema.String.check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Schema.Null])).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(64).annotate({ expected: "a string with at most 64 code points" }))).annotate({
|
|
303
314
|
expected: "an object with property names matching the schema",
|
|
304
315
|
identifier: "MailboxMetadataPatch"
|
|
@@ -471,22 +482,11 @@ const TemplateFromDefault = /* @__PURE__ */ Schema.Struct({
|
|
|
471
482
|
email: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
472
483
|
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
|
|
473
484
|
}).annotate({ identifier: "TemplateFromDefault" });
|
|
485
|
+
const TemplateTrackingDefault = /* @__PURE__ */ Schema.Struct({
|
|
486
|
+
opens: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
487
|
+
clicks: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
|
|
488
|
+
}).annotate({ identifier: "TemplateTrackingDefault" });
|
|
474
489
|
const TestWebhookPayload = /* @__PURE__ */ Schema.Struct({ data: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null])) }).annotate({ identifier: "TestWebhookPayload" });
|
|
475
|
-
const ApiKeyMailboxAccess = /* @__PURE__ */ Schema.Struct({
|
|
476
|
-
permissions: Schema.TupleWithRest(Schema.Tuple([Schema.Union([
|
|
477
|
-
Schema.Literal("read"),
|
|
478
|
-
Schema.Literal("update"),
|
|
479
|
-
Schema.Literal("send"),
|
|
480
|
-
Schema.Literal("quarantine.read")
|
|
481
|
-
])]), [Schema.Union([
|
|
482
|
-
Schema.Literal("read"),
|
|
483
|
-
Schema.Literal("update"),
|
|
484
|
-
Schema.Literal("send"),
|
|
485
|
-
Schema.Literal("quarantine.read")
|
|
486
|
-
])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `quarantine.read` reads quarantined mail." }),
|
|
487
|
-
mailboxIds: Schema.optionalKey(Schema.Union([Schema.TupleWithRest(Schema.Tuple([MailboxId]), [MailboxId]), Schema.Null]).annotate({ description: "The mailboxes the key may act on. Omit to reach every mailbox the owner can." })),
|
|
488
|
-
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
|
|
489
|
-
}).annotate({ identifier: "ApiKeyMailboxAccess" });
|
|
490
490
|
const CreateTemplatePayload = /* @__PURE__ */ Schema.Struct({
|
|
491
491
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })),
|
|
492
492
|
projectName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null])),
|
|
@@ -547,6 +547,9 @@ const CreateWebhookPayload = /* @__PURE__ */ Schema.Struct({
|
|
|
547
547
|
Schema.Literal("mailbox.message.quarantined"),
|
|
548
548
|
Schema.Literal("mailbox.message.released"),
|
|
549
549
|
Schema.Literal("mailbox.message.discarded"),
|
|
550
|
+
Schema.Literal("mailbox.message.delivered"),
|
|
551
|
+
Schema.Literal("mailbox.message.read"),
|
|
552
|
+
Schema.Literal("mailbox.message.failed"),
|
|
550
553
|
Schema.Literal("journey.webhook")
|
|
551
554
|
])).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
552
555
|
channels: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Literal("email")).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
@@ -594,6 +597,9 @@ const UpdateWebhookPayload = /* @__PURE__ */ Schema.Struct({
|
|
|
594
597
|
Schema.Literal("mailbox.message.quarantined"),
|
|
595
598
|
Schema.Literal("mailbox.message.released"),
|
|
596
599
|
Schema.Literal("mailbox.message.discarded"),
|
|
600
|
+
Schema.Literal("mailbox.message.delivered"),
|
|
601
|
+
Schema.Literal("mailbox.message.read"),
|
|
602
|
+
Schema.Literal("mailbox.message.failed"),
|
|
597
603
|
Schema.Literal("journey.webhook")
|
|
598
604
|
])).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
|
|
599
605
|
channels: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Array(Schema.Literal("email")).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null]), Schema.Null])),
|
|
@@ -602,6 +608,21 @@ const UpdateWebhookPayload = /* @__PURE__ */ Schema.Struct({
|
|
|
602
608
|
headers: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null])),
|
|
603
609
|
status: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Literal("active"), Schema.Literal("disabled")]), Schema.Null]))
|
|
604
610
|
}).annotate({ identifier: "UpdateWebhookPayload" });
|
|
611
|
+
const ApiKeyMailboxAccess = /* @__PURE__ */ Schema.Struct({
|
|
612
|
+
permissions: Schema.TupleWithRest(Schema.Tuple([Schema.Union([
|
|
613
|
+
Schema.Literal("read"),
|
|
614
|
+
Schema.Literal("update"),
|
|
615
|
+
Schema.Literal("send"),
|
|
616
|
+
Schema.Literal("quarantine.read")
|
|
617
|
+
])]), [Schema.Union([
|
|
618
|
+
Schema.Literal("read"),
|
|
619
|
+
Schema.Literal("update"),
|
|
620
|
+
Schema.Literal("send"),
|
|
621
|
+
Schema.Literal("quarantine.read")
|
|
622
|
+
])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `quarantine.read` reads quarantined mail." }),
|
|
623
|
+
mailboxIds: Schema.optionalKey(Schema.Union([Schema.TupleWithRest(Schema.Tuple([MailboxId]), [MailboxId]), Schema.Null]).annotate({ description: "The mailboxes the key may act on. Omit to reach every mailbox the owner can." })),
|
|
624
|
+
sendMode: Schema.optionalKey(Schema.Union([MailboxSendMode, Schema.Null]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
|
|
625
|
+
}).annotate({ identifier: "ApiKeyMailboxAccess" });
|
|
605
626
|
const MessageSummary = /* @__PURE__ */ Schema.Struct({
|
|
606
627
|
id: MessageId,
|
|
607
628
|
channel: Schema.Literal("email"),
|
|
@@ -835,6 +856,7 @@ const UpdateTemplatePayload = /* @__PURE__ */ Schema.Struct({ data: Schema.Struc
|
|
|
835
856
|
]), Schema.Null]), Schema.Null])),
|
|
836
857
|
fromDefault: Schema.optionalKey(Schema.Union([Schema.Union([TemplateFromDefault, Schema.Null]), Schema.Null])),
|
|
837
858
|
replyToDefault: Schema.optionalKey(Schema.Union([Schema.Union([Schema.Array(Schema.String), Schema.Null]), Schema.Null])),
|
|
859
|
+
trackingDefault: Schema.optionalKey(Schema.Union([Schema.Union([TemplateTrackingDefault, Schema.Null]), Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
|
|
838
860
|
isActive: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
839
861
|
shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
|
|
840
862
|
}) }).annotate({ identifier: "UpdateTemplatePayload" });
|
|
@@ -1083,6 +1105,6 @@ const ApiKeySecurity = HttpApiSecurity.apiKey({
|
|
|
1083
1105
|
});
|
|
1084
1106
|
var ApiKeySecurityMiddleware = class extends HttpApiMiddleware.Service()("apiKey security", { security: { apiKey: ApiKeySecurity } }) {};
|
|
1085
1107
|
//#endregion
|
|
1086
|
-
export { AnalyticsQueryError, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignFooterRequiredError, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, Cursor, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCcRecipients, EmailChannelError, EmailContent, EmailDispatchContent, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionId, ExtensionVersionId, ExtensionVersionRef, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxPolicyId, MailboxPolicyOutcomeKind, MailboxSendConflictError, MailboxSendError, MailboxSendMode, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MediaId, MessageId, MessageMetadata, MessagePage, MessageSummary, NamespaceId, NamespaceMetadata, NamespaceResourceType, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, RateLimitedError, RenderLocale, RenderTimeZone, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SenderNotReadyError, SendsSeries, SkippedRecipient, SuccessResponse, TemplateData, TemplateFromDefault, TemplateId, TemplateInputContractId, TemplatePublicationId, TestWebhookPayload, UnauthorizedError, UnsubscribeId, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, SensitiveString as __SamvaRuntimeSensitiveString };
|
|
1108
|
+
export { AnalyticsQueryError, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignFooterRequiredError, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, Cursor, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCcRecipients, EmailChannelError, EmailContent, EmailDispatchContent, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionId, ExtensionVersionId, ExtensionVersionRef, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxPolicyId, MailboxPolicyOutcomeKind, MailboxSendConflictError, MailboxSendError, MailboxSendMode, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MediaId, MessageId, MessageMetadata, MessagePage, MessageSummary, NamespaceId, NamespaceMetadata, NamespaceResourceType, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, RateLimitedError, RenderLocale, RenderTimeZone, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SenderNotReadyError, SendsSeries, SkippedRecipient, SuccessResponse, TemplateData, TemplateFromDefault, TemplateId, TemplateInputContractId, TemplatePublicationId, TemplateTrackingDefault, TestWebhookPayload, UnauthorizedError, UnsubscribeId, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, VersionCursor, WebhookEndpointId, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, SensitiveString as __SamvaRuntimeSensitiveString };
|
|
1087
1109
|
|
|
1088
1110
|
//# sourceMappingURL=shared.js.map
|