samva 0.7.0 → 0.8.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 +31 -18
- package/dist/client/types.gen.d.ts +133 -48
- package/dist/{client-5O8KsY5Z.js → client-ByJHYp7r.js} +155 -91
- package/dist/{client-attribution-27MNycCV.js → client-attribution-N5A784Zo.js} +2 -2
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +34 -0
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +9 -9
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.js +2 -2
- package/dist/effect/generated.d.ts +508 -221
- package/dist/effect/index.js +1 -1
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +2 -0
- package/dist/effect/messages.js +1 -1
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +5 -4
- package/dist/effect/organizations.js +4 -2
- package/dist/effect/scheduled-messages.d.ts +16 -0
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +30 -38
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.d.ts +17 -0
- package/dist/effect/unsubscribe-groups.js +4 -2
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{operation-Cb5V9FJ7.js → operation-D2nEeKBD.js} +7 -2
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-C2yyw-pf.js → promises-DAv8ZtOX.js} +51 -20
- package/dist/service-map.d.ts +9 -0
- package/package.json +2 -2
|
@@ -189,6 +189,10 @@ export type JsonObject = {
|
|
|
189
189
|
readonly [x: string]: JsonValue;
|
|
190
190
|
};
|
|
191
191
|
export declare const JsonObject: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>;
|
|
192
|
+
export type RenderLocale = string;
|
|
193
|
+
export declare const RenderLocale: Schema.String;
|
|
194
|
+
export type RenderTimeZone = string;
|
|
195
|
+
export declare const RenderTimeZone: Schema.String;
|
|
192
196
|
export type ReplyToAddresses = ReadonlyArray<string> | null | null;
|
|
193
197
|
export declare const ReplyToAddresses: Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>;
|
|
194
198
|
export type UnsubscribeId = string & EffectBrand.Brand<"UnsubscribeId">;
|
|
@@ -657,6 +661,54 @@ export declare const OperationResource: Schema.Struct<{
|
|
|
657
661
|
readonly type: Schema.String;
|
|
658
662
|
readonly id: Schema.String;
|
|
659
663
|
}>;
|
|
664
|
+
export type Organization = {
|
|
665
|
+
readonly id: string;
|
|
666
|
+
readonly billingAccountId: string;
|
|
667
|
+
readonly name: string;
|
|
668
|
+
readonly slug: string;
|
|
669
|
+
readonly countryCode: string;
|
|
670
|
+
readonly timezone: string;
|
|
671
|
+
readonly plan: string;
|
|
672
|
+
readonly isActive: boolean;
|
|
673
|
+
readonly createdAt: string;
|
|
674
|
+
readonly updatedAt: string;
|
|
675
|
+
readonly metadata: {
|
|
676
|
+
readonly [x: string]: JsonValue;
|
|
677
|
+
} | null;
|
|
678
|
+
readonly replyToDefault: ReadonlyArray<string> | null;
|
|
679
|
+
readonly emailFooterEnabledDefault: boolean | null;
|
|
680
|
+
readonly messagesUsed: number;
|
|
681
|
+
readonly messagesUsedThisMonth: number;
|
|
682
|
+
readonly emailUsed: number;
|
|
683
|
+
readonly emailUsedThisMonth: number;
|
|
684
|
+
readonly contactsUsed: number;
|
|
685
|
+
readonly conversationsUsed: number;
|
|
686
|
+
readonly teamMembersUsed: number;
|
|
687
|
+
readonly messagesResetAt: string | null;
|
|
688
|
+
};
|
|
689
|
+
export declare const Organization: Schema.Struct<{
|
|
690
|
+
readonly id: Schema.String;
|
|
691
|
+
readonly billingAccountId: Schema.String;
|
|
692
|
+
readonly name: Schema.String;
|
|
693
|
+
readonly slug: Schema.String;
|
|
694
|
+
readonly countryCode: Schema.String;
|
|
695
|
+
readonly timezone: Schema.String;
|
|
696
|
+
readonly plan: Schema.String;
|
|
697
|
+
readonly isActive: Schema.Boolean;
|
|
698
|
+
readonly createdAt: Schema.String;
|
|
699
|
+
readonly updatedAt: Schema.String;
|
|
700
|
+
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
701
|
+
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
702
|
+
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
703
|
+
readonly messagesUsed: Schema.Finite;
|
|
704
|
+
readonly messagesUsedThisMonth: Schema.Finite;
|
|
705
|
+
readonly emailUsed: Schema.Finite;
|
|
706
|
+
readonly emailUsedThisMonth: Schema.Finite;
|
|
707
|
+
readonly contactsUsed: Schema.Finite;
|
|
708
|
+
readonly conversationsUsed: Schema.Finite;
|
|
709
|
+
readonly teamMembersUsed: Schema.Finite;
|
|
710
|
+
readonly messagesResetAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
711
|
+
}>;
|
|
660
712
|
export type TemplateProjectId = string & EffectBrand.Brand<"TemplateProjectId">;
|
|
661
713
|
export declare const TemplateProjectId: Schema.brand<Schema.String, "TemplateProjectId">;
|
|
662
714
|
export type TemplateFamilyId = string & EffectBrand.Brand<"TemplateFamilyId">;
|
|
@@ -679,6 +731,14 @@ export declare const TemplatePublicationBrand: Schema.Struct<{
|
|
|
679
731
|
readonly digest: Schema.String;
|
|
680
732
|
readonly stale: Schema.Boolean;
|
|
681
733
|
}>;
|
|
734
|
+
export type BrandFooterBlock = {
|
|
735
|
+
readonly html: string;
|
|
736
|
+
readonly text: string;
|
|
737
|
+
};
|
|
738
|
+
export declare const BrandFooterBlock: Schema.Struct<{
|
|
739
|
+
readonly html: Schema.String;
|
|
740
|
+
readonly text: Schema.String;
|
|
741
|
+
}>;
|
|
682
742
|
export type WebhookDeliveryCounts = {
|
|
683
743
|
readonly total: number;
|
|
684
744
|
readonly pending: number;
|
|
@@ -778,7 +838,7 @@ export declare const CreateTemplatePayload: Schema.Struct<{
|
|
|
778
838
|
export type CreateWebhookPayload = {
|
|
779
839
|
readonly name: string;
|
|
780
840
|
readonly url: string;
|
|
781
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
841
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
782
842
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
783
843
|
readonly headers?: {
|
|
784
844
|
readonly [x: string]: string;
|
|
@@ -788,7 +848,7 @@ export type CreateWebhookPayload = {
|
|
|
788
848
|
export declare const CreateWebhookPayload: Schema.Struct<{
|
|
789
849
|
readonly name: Schema.String;
|
|
790
850
|
readonly url: Schema.String;
|
|
791
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
851
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
792
852
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
793
853
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
794
854
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -832,7 +892,7 @@ export declare const UpdateDomainWarmingPolicyPayload: Schema.Struct<{
|
|
|
832
892
|
export type UpdateWebhookPayload = {
|
|
833
893
|
readonly name?: string | null;
|
|
834
894
|
readonly url?: string | null;
|
|
835
|
-
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated"> | null;
|
|
895
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated"> | null;
|
|
836
896
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
837
897
|
readonly headers?: {
|
|
838
898
|
readonly [x: string]: string;
|
|
@@ -842,7 +902,7 @@ export type UpdateWebhookPayload = {
|
|
|
842
902
|
export declare const UpdateWebhookPayload: Schema.Struct<{
|
|
843
903
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
844
904
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
845
|
-
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
905
|
+
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
846
906
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
847
907
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
848
908
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -977,56 +1037,6 @@ export declare const CampaignPolicy: Schema.Struct<{
|
|
|
977
1037
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
978
1038
|
readonly pageSize: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
979
1039
|
}>;
|
|
980
|
-
export type Organization = {
|
|
981
|
-
readonly id: string;
|
|
982
|
-
readonly billingAccountId: string;
|
|
983
|
-
readonly name: string;
|
|
984
|
-
readonly slug: string;
|
|
985
|
-
readonly countryCode: string;
|
|
986
|
-
readonly timezone: string;
|
|
987
|
-
readonly plan: string;
|
|
988
|
-
readonly isActive: boolean;
|
|
989
|
-
readonly createdAt: string;
|
|
990
|
-
readonly updatedAt: string;
|
|
991
|
-
readonly metadata: {
|
|
992
|
-
readonly [x: string]: JsonValue;
|
|
993
|
-
} | null;
|
|
994
|
-
readonly replyToDefault: ReadonlyArray<string> | null;
|
|
995
|
-
readonly defaultUnsubscribeGroupId: UnsubscribeId | null;
|
|
996
|
-
readonly emailFooterEnabledDefault: boolean | null;
|
|
997
|
-
readonly messagesUsed: number;
|
|
998
|
-
readonly messagesUsedThisMonth: number;
|
|
999
|
-
readonly emailUsed: number;
|
|
1000
|
-
readonly emailUsedThisMonth: number;
|
|
1001
|
-
readonly contactsUsed: number;
|
|
1002
|
-
readonly conversationsUsed: number;
|
|
1003
|
-
readonly teamMembersUsed: number;
|
|
1004
|
-
readonly messagesResetAt: string | null;
|
|
1005
|
-
};
|
|
1006
|
-
export declare const Organization: Schema.Struct<{
|
|
1007
|
-
readonly id: Schema.String;
|
|
1008
|
-
readonly billingAccountId: Schema.String;
|
|
1009
|
-
readonly name: Schema.String;
|
|
1010
|
-
readonly slug: Schema.String;
|
|
1011
|
-
readonly countryCode: Schema.String;
|
|
1012
|
-
readonly timezone: Schema.String;
|
|
1013
|
-
readonly plan: Schema.String;
|
|
1014
|
-
readonly isActive: Schema.Boolean;
|
|
1015
|
-
readonly createdAt: Schema.String;
|
|
1016
|
-
readonly updatedAt: Schema.String;
|
|
1017
|
-
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
1018
|
-
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
1019
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
1020
|
-
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
1021
|
-
readonly messagesUsed: Schema.Finite;
|
|
1022
|
-
readonly messagesUsedThisMonth: Schema.Finite;
|
|
1023
|
-
readonly emailUsed: Schema.Finite;
|
|
1024
|
-
readonly emailUsedThisMonth: Schema.Finite;
|
|
1025
|
-
readonly contactsUsed: Schema.Finite;
|
|
1026
|
-
readonly conversationsUsed: Schema.Finite;
|
|
1027
|
-
readonly teamMembersUsed: Schema.Finite;
|
|
1028
|
-
readonly messagesResetAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1029
|
-
}>;
|
|
1030
1040
|
export type MessageContent = {
|
|
1031
1041
|
readonly text?: string | null;
|
|
1032
1042
|
readonly html?: string | null;
|
|
@@ -1303,7 +1313,7 @@ export type ActorTracking = {
|
|
|
1303
1313
|
readonly activeActorIds: ReadonlyArray<ActorId>;
|
|
1304
1314
|
readonly actorHistory: ReadonlyArray<{
|
|
1305
1315
|
readonly actorId: ActorId;
|
|
1306
|
-
readonly actorType: "contact" | "system" | "
|
|
1316
|
+
readonly actorType: "contact" | "system" | "sender" | "agent" | "user";
|
|
1307
1317
|
readonly joinedAt: string;
|
|
1308
1318
|
readonly leftAt?: string | null;
|
|
1309
1319
|
readonly role: "initiator" | "responder" | "observer";
|
|
@@ -1318,7 +1328,7 @@ export declare const ActorTracking: Schema.Struct<{
|
|
|
1318
1328
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
1319
1329
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
1320
1330
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
1321
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
1331
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
1322
1332
|
readonly joinedAt: Schema.String;
|
|
1323
1333
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1324
1334
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -1330,12 +1340,12 @@ export declare const ActorTracking: Schema.Struct<{
|
|
|
1330
1340
|
}>;
|
|
1331
1341
|
export type ConversationParticipant = {
|
|
1332
1342
|
readonly actorId: ActorId;
|
|
1333
|
-
readonly actorType: "contact" | "system" | "
|
|
1343
|
+
readonly actorType: "contact" | "system" | "sender" | "agent" | "user";
|
|
1334
1344
|
readonly contact: MessageContact;
|
|
1335
1345
|
};
|
|
1336
1346
|
export declare const ConversationParticipant: Schema.Struct<{
|
|
1337
1347
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
1338
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
1348
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
1339
1349
|
readonly contact: Schema.Struct<{
|
|
1340
1350
|
readonly id: Schema.String;
|
|
1341
1351
|
readonly name: Schema.String;
|
|
@@ -1352,7 +1362,7 @@ export type WebhookEndpoint = {
|
|
|
1352
1362
|
readonly id: WebhookEndpointId;
|
|
1353
1363
|
readonly name: string;
|
|
1354
1364
|
readonly url: string;
|
|
1355
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
1365
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
1356
1366
|
readonly channels: ReadonlyArray<"email"> | null;
|
|
1357
1367
|
readonly status: "active" | "disabled";
|
|
1358
1368
|
readonly hasCustomHeaders: boolean;
|
|
@@ -1365,7 +1375,7 @@ export declare const WebhookEndpoint: Schema.Struct<{
|
|
|
1365
1375
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
1366
1376
|
readonly name: Schema.String;
|
|
1367
1377
|
readonly url: Schema.String;
|
|
1368
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
1378
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
1369
1379
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
1370
1380
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
1371
1381
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -1884,11 +1894,25 @@ export declare const Template: Schema.Struct<{
|
|
|
1884
1894
|
readonly createdAt: Schema.String;
|
|
1885
1895
|
readonly updatedAt: Schema.String;
|
|
1886
1896
|
}>;
|
|
1897
|
+
export type BrandRenderedFooter = {
|
|
1898
|
+
readonly withUnsubscribe: BrandFooterBlock;
|
|
1899
|
+
readonly withoutUnsubscribe: BrandFooterBlock;
|
|
1900
|
+
};
|
|
1901
|
+
export declare const BrandRenderedFooter: Schema.Struct<{
|
|
1902
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
1903
|
+
readonly html: Schema.String;
|
|
1904
|
+
readonly text: Schema.String;
|
|
1905
|
+
}>;
|
|
1906
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
1907
|
+
readonly html: Schema.String;
|
|
1908
|
+
readonly text: Schema.String;
|
|
1909
|
+
}>;
|
|
1910
|
+
}>;
|
|
1887
1911
|
export type WebhookEndpointListItem = {
|
|
1888
1912
|
readonly id: WebhookEndpointId;
|
|
1889
1913
|
readonly name: string;
|
|
1890
1914
|
readonly url: string;
|
|
1891
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
1915
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
1892
1916
|
readonly channels: ReadonlyArray<"email"> | null;
|
|
1893
1917
|
readonly status: "active" | "disabled";
|
|
1894
1918
|
readonly hasCustomHeaders: boolean;
|
|
@@ -1902,7 +1926,7 @@ export declare const WebhookEndpointListItem: Schema.Struct<{
|
|
|
1902
1926
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
1903
1927
|
readonly name: Schema.String;
|
|
1904
1928
|
readonly url: Schema.String;
|
|
1905
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
1929
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
1906
1930
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
1907
1931
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
1908
1932
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -2711,7 +2735,7 @@ export declare const Conversation: Schema.Struct<{
|
|
|
2711
2735
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
2712
2736
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
2713
2737
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
2714
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
2738
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
2715
2739
|
readonly joinedAt: Schema.String;
|
|
2716
2740
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2717
2741
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -2817,7 +2841,7 @@ export declare const ConversationDetail: Schema.Struct<{
|
|
|
2817
2841
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
2818
2842
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
2819
2843
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
2820
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
2844
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
2821
2845
|
readonly joinedAt: Schema.String;
|
|
2822
2846
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2823
2847
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -2864,7 +2888,7 @@ export declare const ConversationDetail: Schema.Struct<{
|
|
|
2864
2888
|
readonly createdBy: Schema.Union<readonly [Schema.brand<Schema.String, "ActorId">, Schema.Null]>;
|
|
2865
2889
|
readonly participants: Schema.$Array<Schema.Struct<{
|
|
2866
2890
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
2867
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
2891
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
2868
2892
|
readonly contact: Schema.Struct<{
|
|
2869
2893
|
readonly id: Schema.String;
|
|
2870
2894
|
readonly name: Schema.String;
|
|
@@ -3326,6 +3350,8 @@ export type EmailContent = {
|
|
|
3326
3350
|
readonly templateId?: TemplateId | null;
|
|
3327
3351
|
readonly templateSlug?: string | null;
|
|
3328
3352
|
readonly templateData?: TemplateData;
|
|
3353
|
+
readonly locale?: RenderLocale;
|
|
3354
|
+
readonly timeZone?: RenderTimeZone;
|
|
3329
3355
|
readonly inReplyToMessageId?: MessageId | null;
|
|
3330
3356
|
readonly replyTo?: ReplyToAddresses;
|
|
3331
3357
|
readonly unsubscribeGroupId?: UnsubscribeId | null;
|
|
@@ -3348,6 +3374,8 @@ export declare const EmailContent: Schema.Struct<{
|
|
|
3348
3374
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3349
3375
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3350
3376
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3377
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3378
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3351
3379
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3352
3380
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3353
3381
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3369,6 +3397,8 @@ export type EmailDispatchContent = {
|
|
|
3369
3397
|
readonly templateId?: TemplateId | null;
|
|
3370
3398
|
readonly templateSlug?: string | null;
|
|
3371
3399
|
readonly templateData?: TemplateData;
|
|
3400
|
+
readonly locale?: RenderLocale;
|
|
3401
|
+
readonly timeZone?: RenderTimeZone;
|
|
3372
3402
|
readonly inReplyToMessageId?: MessageId | null;
|
|
3373
3403
|
readonly replyTo?: ReplyToAddresses;
|
|
3374
3404
|
readonly unsubscribeGroupId?: UnsubscribeId | null;
|
|
@@ -3391,6 +3421,8 @@ export declare const EmailDispatchContent: Schema.Struct<{
|
|
|
3391
3421
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3392
3422
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3393
3423
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3424
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3425
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3394
3426
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3395
3427
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3396
3428
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3426,6 +3458,8 @@ export declare const EmailCampaignContent: Schema.Struct<{
|
|
|
3426
3458
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3427
3459
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3428
3460
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3461
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3462
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3429
3463
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3430
3464
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3431
3465
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3495,6 +3529,8 @@ export declare const EmailSendMessagePayload: Schema.Struct<{
|
|
|
3495
3529
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3496
3530
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3497
3531
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3532
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3533
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3498
3534
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3499
3535
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3500
3536
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3531,6 +3567,8 @@ export declare const EmailCampaignContentInput: Schema.Struct<{
|
|
|
3531
3567
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3532
3568
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3533
3569
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3570
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3571
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3534
3572
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3535
3573
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3536
3574
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3600,6 +3638,8 @@ export declare const EmailDispatchSendMessagePayload: Schema.Struct<{
|
|
|
3600
3638
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3601
3639
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3602
3640
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3641
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3642
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3603
3643
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3604
3644
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3605
3645
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3631,6 +3671,8 @@ export declare const CampaignContent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3631
3671
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3632
3672
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3633
3673
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3674
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3675
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3634
3676
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3635
3677
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3636
3678
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3691,6 +3733,8 @@ export declare const SendMessagePayload: Schema.Union<readonly [Schema.Struct<{
|
|
|
3691
3733
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3692
3734
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3693
3735
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3736
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3737
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3694
3738
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3695
3739
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3696
3740
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3722,6 +3766,8 @@ export declare const CampaignContentInput: Schema.Union<readonly [Schema.Struct<
|
|
|
3722
3766
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3723
3767
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3724
3768
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3769
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3770
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3725
3771
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3726
3772
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3727
3773
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3782,6 +3828,8 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
|
|
|
3782
3828
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3783
3829
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3784
3830
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3831
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3832
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3785
3833
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3786
3834
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3787
3835
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3832,6 +3880,8 @@ export declare const CampaignListItem: Schema.Struct<{
|
|
|
3832
3880
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3833
3881
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3834
3882
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3883
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3884
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3835
3885
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3836
3886
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3837
3887
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -3915,6 +3965,8 @@ export declare const Campaign: Schema.Struct<{
|
|
|
3915
3965
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
3916
3966
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3917
3967
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
3968
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
3969
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
3918
3970
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
3919
3971
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
3920
3972
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -4012,6 +4064,8 @@ export declare const CampaignRun: Schema.Struct<{
|
|
|
4012
4064
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
4013
4065
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4014
4066
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
4067
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
4068
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
4015
4069
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
4016
4070
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
4017
4071
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -4118,6 +4172,8 @@ export declare const ScheduledMessage: Schema.Struct<{
|
|
|
4118
4172
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
4119
4173
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4120
4174
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
4175
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
4176
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
4121
4177
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
4122
4178
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
4123
4179
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -4173,6 +4229,8 @@ export declare const CampaignRunAction: Schema.Struct<{
|
|
|
4173
4229
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
4174
4230
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4175
4231
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
4232
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
4233
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
4176
4234
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
4177
4235
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
4178
4236
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5382,6 +5440,8 @@ export declare const CampaignsList200: Schema.Struct<{
|
|
|
5382
5440
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5383
5441
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5384
5442
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5443
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5444
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5385
5445
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5386
5446
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5387
5447
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5471,6 +5531,8 @@ export declare const CampaignsCreateRequestJson: Schema.Struct<{
|
|
|
5471
5531
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5472
5532
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5473
5533
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5534
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5535
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5474
5536
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5475
5537
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5476
5538
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5519,6 +5581,8 @@ export declare const CampaignsCreate201: Schema.Struct<{
|
|
|
5519
5581
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5520
5582
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5521
5583
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5584
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5585
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5522
5586
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5523
5587
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5524
5588
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5603,6 +5667,8 @@ export declare const CampaignsGet200: Schema.Struct<{
|
|
|
5603
5667
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5604
5668
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5605
5669
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5670
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5671
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5606
5672
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5607
5673
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5608
5674
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5687,6 +5753,8 @@ export declare const CampaignsArchive200: Schema.Struct<{
|
|
|
5687
5753
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5688
5754
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5689
5755
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5756
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5757
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5690
5758
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5691
5759
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5692
5760
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5776,6 +5844,8 @@ export declare const CampaignsUpdateRequestJson: Schema.Struct<{
|
|
|
5776
5844
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5777
5845
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5778
5846
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5847
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5848
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5779
5849
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5780
5850
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5781
5851
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5824,6 +5894,8 @@ export declare const CampaignsUpdate200: Schema.Struct<{
|
|
|
5824
5894
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5825
5895
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5826
5896
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
5897
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
5898
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5827
5899
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5828
5900
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5829
5901
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -5930,6 +6002,8 @@ export declare const CampaignsListRuns200: Schema.Struct<{
|
|
|
5930
6002
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
5931
6003
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5932
6004
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6005
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6006
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
5933
6007
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
5934
6008
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
5935
6009
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -6027,6 +6101,8 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
|
|
|
6027
6101
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
6028
6102
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6029
6103
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6104
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6105
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
6030
6106
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
6031
6107
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
6032
6108
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -6117,6 +6193,8 @@ export declare const CampaignsGetRun200: Schema.Struct<{
|
|
|
6117
6193
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
6118
6194
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6119
6195
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6196
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6197
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
6120
6198
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
6121
6199
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
6122
6200
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -6203,6 +6281,8 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
|
|
|
6203
6281
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
6204
6282
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6205
6283
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6284
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6285
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
6206
6286
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
6207
6287
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
6208
6288
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -6294,6 +6374,8 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
|
|
|
6294
6374
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
6295
6375
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6296
6376
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6377
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6378
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
6297
6379
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
6298
6380
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
6299
6381
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -6446,6 +6528,8 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
|
|
|
6446
6528
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
6447
6529
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6448
6530
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
6531
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
6532
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
6449
6533
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
6450
6534
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
6451
6535
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -8212,7 +8296,7 @@ export declare const ConversationsList200: Schema.Struct<{
|
|
|
8212
8296
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8213
8297
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8214
8298
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8215
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8299
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8216
8300
|
readonly joinedAt: Schema.String;
|
|
8217
8301
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8218
8302
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8317,7 +8401,7 @@ export declare const ConversationsCreateRequestJson: Schema.Struct<{
|
|
|
8317
8401
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8318
8402
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8319
8403
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8320
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8404
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8321
8405
|
readonly joinedAt: Schema.String;
|
|
8322
8406
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8323
8407
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8377,7 +8461,7 @@ export declare const ConversationsCreate201: Schema.Struct<{
|
|
|
8377
8461
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8378
8462
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8379
8463
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8380
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8464
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8381
8465
|
readonly joinedAt: Schema.String;
|
|
8382
8466
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8383
8467
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8464,7 +8548,7 @@ export declare const ConversationsGetById200: Schema.Struct<{
|
|
|
8464
8548
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8465
8549
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8466
8550
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8467
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8551
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8468
8552
|
readonly joinedAt: Schema.String;
|
|
8469
8553
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8470
8554
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8511,7 +8595,7 @@ export declare const ConversationsGetById200: Schema.Struct<{
|
|
|
8511
8595
|
readonly createdBy: Schema.Union<readonly [Schema.brand<Schema.String, "ActorId">, Schema.Null]>;
|
|
8512
8596
|
readonly participants: Schema.$Array<Schema.Struct<{
|
|
8513
8597
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8514
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8598
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8515
8599
|
readonly contact: Schema.Struct<{
|
|
8516
8600
|
readonly id: Schema.String;
|
|
8517
8601
|
readonly name: Schema.String;
|
|
@@ -8603,7 +8687,7 @@ export declare const ConversationsUpdateRequestJson: Schema.Struct<{
|
|
|
8603
8687
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8604
8688
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8605
8689
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8606
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8690
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8607
8691
|
readonly joinedAt: Schema.String;
|
|
8608
8692
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8609
8693
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8645,7 +8729,7 @@ export declare const ConversationsUpdate200: Schema.Struct<{
|
|
|
8645
8729
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8646
8730
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8647
8731
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8648
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8732
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8649
8733
|
readonly joinedAt: Schema.String;
|
|
8650
8734
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8651
8735
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8740,7 +8824,7 @@ export declare const ConversationsAddContacts200: Schema.Struct<{
|
|
|
8740
8824
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8741
8825
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8742
8826
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8743
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8827
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8744
8828
|
readonly joinedAt: Schema.String;
|
|
8745
8829
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8746
8830
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -8835,7 +8919,7 @@ export declare const ConversationsRemoveContacts200: Schema.Struct<{
|
|
|
8835
8919
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
8836
8920
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
8837
8921
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
8838
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
8922
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
8839
8923
|
readonly joinedAt: Schema.String;
|
|
8840
8924
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8841
8925
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -12580,6 +12664,8 @@ export declare const MessagesSendRequestJson: Schema.Union<readonly [Schema.Stru
|
|
|
12580
12664
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
12581
12665
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12582
12666
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
12667
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
12668
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
12583
12669
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
12584
12670
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
12585
12671
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13346,6 +13432,8 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
|
|
|
13346
13432
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13347
13433
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13348
13434
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13435
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13436
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13349
13437
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13350
13438
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13351
13439
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13437,6 +13525,8 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
|
|
|
13437
13525
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13438
13526
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13439
13527
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13528
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13529
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13440
13530
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13441
13531
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13442
13532
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13505,6 +13595,8 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
|
|
|
13505
13595
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13506
13596
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13507
13597
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13598
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13599
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13508
13600
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13509
13601
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13510
13602
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13599,6 +13691,8 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
|
|
|
13599
13691
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13600
13692
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13601
13693
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13694
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13695
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13602
13696
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13603
13697
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13604
13698
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13694,6 +13788,8 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
|
|
|
13694
13788
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13695
13789
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13696
13790
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13791
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13792
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13697
13793
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13698
13794
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13699
13795
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13799,6 +13895,8 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
|
|
|
13799
13895
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13800
13896
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13801
13897
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13898
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13899
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13802
13900
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13803
13901
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13804
13902
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -13893,6 +13991,8 @@ export declare const MessagesValidateEmailRequestJson: Schema.Struct<{
|
|
|
13893
13991
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
13894
13992
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13895
13993
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
13994
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
13995
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
13896
13996
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
13897
13997
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
13898
13998
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -14104,7 +14204,6 @@ export declare const OrganizationsCreate200: Schema.Struct<{
|
|
|
14104
14204
|
readonly updatedAt: Schema.String;
|
|
14105
14205
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
14106
14206
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
14107
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
14108
14207
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
14109
14208
|
readonly messagesUsed: Schema.Finite;
|
|
14110
14209
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -14143,7 +14242,6 @@ export declare const OrganizationsGet200: Schema.Struct<{
|
|
|
14143
14242
|
readonly updatedAt: Schema.String;
|
|
14144
14243
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
14145
14244
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
14146
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
14147
14245
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
14148
14246
|
readonly messagesUsed: Schema.Finite;
|
|
14149
14247
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -14174,7 +14272,6 @@ export type OrganizationsUpdateRequestJson = {
|
|
|
14174
14272
|
readonly [x: string]: JsonValue;
|
|
14175
14273
|
} | null;
|
|
14176
14274
|
readonly replyToDefault?: ReadonlyArray<string> | null | null;
|
|
14177
|
-
readonly defaultUnsubscribeGroupId?: UnsubscribeId | null | null;
|
|
14178
14275
|
readonly emailFooterEnabledDefault?: boolean | null | null;
|
|
14179
14276
|
};
|
|
14180
14277
|
export declare const OrganizationsUpdateRequestJson: Schema.Struct<{
|
|
@@ -14185,7 +14282,6 @@ export declare const OrganizationsUpdateRequestJson: Schema.Struct<{
|
|
|
14185
14282
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
14186
14283
|
readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
14187
14284
|
readonly replyToDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
14188
|
-
readonly defaultUnsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>, Schema.Null]>>;
|
|
14189
14285
|
readonly emailFooterEnabledDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
14190
14286
|
}>;
|
|
14191
14287
|
export type OrganizationsUpdate200 = Organization;
|
|
@@ -14202,7 +14298,6 @@ export declare const OrganizationsUpdate200: Schema.Struct<{
|
|
|
14202
14298
|
readonly updatedAt: Schema.String;
|
|
14203
14299
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
14204
14300
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
14205
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
14206
14301
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
14207
14302
|
readonly messagesUsed: Schema.Finite;
|
|
14208
14303
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -14225,6 +14320,24 @@ export type OrganizationsUpdate500 = InternalError;
|
|
|
14225
14320
|
export declare const OrganizationsUpdate500: typeof InternalError;
|
|
14226
14321
|
export type OrganizationsUpdate504 = GatewayTimeoutError;
|
|
14227
14322
|
export declare const OrganizationsUpdate504: typeof GatewayTimeoutError;
|
|
14323
|
+
export type OrganizationsGetProfile200 = {
|
|
14324
|
+
readonly id: string;
|
|
14325
|
+
readonly name: string;
|
|
14326
|
+
readonly nickname: string;
|
|
14327
|
+
};
|
|
14328
|
+
export declare const OrganizationsGetProfile200: Schema.Struct<{
|
|
14329
|
+
readonly id: Schema.String;
|
|
14330
|
+
readonly name: Schema.String;
|
|
14331
|
+
readonly nickname: Schema.String;
|
|
14332
|
+
}>;
|
|
14333
|
+
export type OrganizationsGetProfile401 = UnauthorizedError;
|
|
14334
|
+
export declare const OrganizationsGetProfile401: typeof UnauthorizedError;
|
|
14335
|
+
export type OrganizationsGetProfile403 = ForbiddenError;
|
|
14336
|
+
export declare const OrganizationsGetProfile403: typeof ForbiddenError;
|
|
14337
|
+
export type OrganizationsGetProfile500 = InternalError;
|
|
14338
|
+
export declare const OrganizationsGetProfile500: typeof InternalError;
|
|
14339
|
+
export type OrganizationsGetProfile504 = GatewayTimeoutError;
|
|
14340
|
+
export declare const OrganizationsGetProfile504: typeof GatewayTimeoutError;
|
|
14228
14341
|
export type OrganizationsDeleteHeaders = {
|
|
14229
14342
|
readonly "idempotency-key": string;
|
|
14230
14343
|
};
|
|
@@ -14771,26 +14884,16 @@ export type TemplatesPublish201 = {
|
|
|
14771
14884
|
readonly buildIdentity: string;
|
|
14772
14885
|
readonly manifest: {
|
|
14773
14886
|
readonly templateKey: string;
|
|
14774
|
-
readonly
|
|
14775
|
-
readonly
|
|
14887
|
+
readonly ir: {
|
|
14888
|
+
readonly version: number;
|
|
14889
|
+
readonly digest: string;
|
|
14776
14890
|
readonly bytes: number;
|
|
14777
14891
|
};
|
|
14892
|
+
readonly compiler: string;
|
|
14778
14893
|
readonly input: {
|
|
14779
14894
|
readonly schemaDigest: string;
|
|
14780
14895
|
readonly contractDigest: string;
|
|
14781
14896
|
};
|
|
14782
|
-
readonly environment: {
|
|
14783
|
-
readonly locale: string;
|
|
14784
|
-
readonly timeZone: "UTC";
|
|
14785
|
-
readonly now?: number;
|
|
14786
|
-
readonly randomSeed?: number;
|
|
14787
|
-
readonly compiler: string;
|
|
14788
|
-
readonly runtime: string;
|
|
14789
|
-
readonly checker: string;
|
|
14790
|
-
readonly lockKind: "bun" | "npm";
|
|
14791
|
-
readonly lockDigest: string;
|
|
14792
|
-
readonly digest: string;
|
|
14793
|
-
};
|
|
14794
14897
|
readonly assets: {
|
|
14795
14898
|
readonly base: string;
|
|
14796
14899
|
readonly entries: ReadonlyArray<{
|
|
@@ -14813,11 +14916,12 @@ export type TemplatesPublish201 = {
|
|
|
14813
14916
|
readonly css: string;
|
|
14814
14917
|
readonly assets: BrandAssets;
|
|
14815
14918
|
readonly footer: BrandFooter;
|
|
14919
|
+
readonly renderedFooter: BrandRenderedFooter;
|
|
14816
14920
|
readonly digest: string;
|
|
14817
14921
|
readonly rendersFooter: "every" | "some" | "none";
|
|
14818
14922
|
};
|
|
14819
14923
|
};
|
|
14820
|
-
readonly
|
|
14924
|
+
readonly ir: {
|
|
14821
14925
|
readonly key: string;
|
|
14822
14926
|
readonly digest: string;
|
|
14823
14927
|
};
|
|
@@ -14892,26 +14996,16 @@ export declare const TemplatesPublish201: Schema.Struct<{
|
|
|
14892
14996
|
readonly buildIdentity: Schema.String;
|
|
14893
14997
|
readonly manifest: Schema.Struct<{
|
|
14894
14998
|
readonly templateKey: Schema.String;
|
|
14895
|
-
readonly
|
|
14896
|
-
readonly
|
|
14999
|
+
readonly ir: Schema.Struct<{
|
|
15000
|
+
readonly version: Schema.Finite;
|
|
15001
|
+
readonly digest: Schema.String;
|
|
14897
15002
|
readonly bytes: Schema.Finite;
|
|
14898
15003
|
}>;
|
|
15004
|
+
readonly compiler: Schema.String;
|
|
14899
15005
|
readonly input: Schema.Struct<{
|
|
14900
15006
|
readonly schemaDigest: Schema.String;
|
|
14901
15007
|
readonly contractDigest: Schema.String;
|
|
14902
15008
|
}>;
|
|
14903
|
-
readonly environment: Schema.Struct<{
|
|
14904
|
-
readonly locale: Schema.String;
|
|
14905
|
-
readonly timeZone: Schema.Literal<"UTC">;
|
|
14906
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
14907
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
14908
|
-
readonly compiler: Schema.String;
|
|
14909
|
-
readonly runtime: Schema.String;
|
|
14910
|
-
readonly checker: Schema.String;
|
|
14911
|
-
readonly lockKind: Schema.Literals<readonly ["bun", "npm"]>;
|
|
14912
|
-
readonly lockDigest: Schema.String;
|
|
14913
|
-
readonly digest: Schema.String;
|
|
14914
|
-
}>;
|
|
14915
15009
|
readonly assets: Schema.Struct<{
|
|
14916
15010
|
readonly base: Schema.String;
|
|
14917
15011
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -14952,11 +15046,21 @@ export declare const TemplatesPublish201: Schema.Struct<{
|
|
|
14952
15046
|
readonly url: Schema.String;
|
|
14953
15047
|
}>>, Schema.Null]>>;
|
|
14954
15048
|
}>;
|
|
15049
|
+
readonly renderedFooter: Schema.Struct<{
|
|
15050
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
15051
|
+
readonly html: Schema.String;
|
|
15052
|
+
readonly text: Schema.String;
|
|
15053
|
+
}>;
|
|
15054
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
15055
|
+
readonly html: Schema.String;
|
|
15056
|
+
readonly text: Schema.String;
|
|
15057
|
+
}>;
|
|
15058
|
+
}>;
|
|
14955
15059
|
readonly digest: Schema.String;
|
|
14956
15060
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
14957
15061
|
}>>;
|
|
14958
15062
|
}>;
|
|
14959
|
-
readonly
|
|
15063
|
+
readonly ir: Schema.Struct<{
|
|
14960
15064
|
readonly key: Schema.String;
|
|
14961
15065
|
readonly digest: Schema.String;
|
|
14962
15066
|
}>;
|
|
@@ -15053,26 +15157,16 @@ export type TemplatesGetPublication200 = {
|
|
|
15053
15157
|
readonly buildIdentity: string;
|
|
15054
15158
|
readonly manifest: {
|
|
15055
15159
|
readonly templateKey: string;
|
|
15056
|
-
readonly
|
|
15057
|
-
readonly
|
|
15160
|
+
readonly ir: {
|
|
15161
|
+
readonly version: number;
|
|
15162
|
+
readonly digest: string;
|
|
15058
15163
|
readonly bytes: number;
|
|
15059
15164
|
};
|
|
15165
|
+
readonly compiler: string;
|
|
15060
15166
|
readonly input: {
|
|
15061
15167
|
readonly schemaDigest: string;
|
|
15062
15168
|
readonly contractDigest: string;
|
|
15063
15169
|
};
|
|
15064
|
-
readonly environment: {
|
|
15065
|
-
readonly locale: string;
|
|
15066
|
-
readonly timeZone: "UTC";
|
|
15067
|
-
readonly now?: number;
|
|
15068
|
-
readonly randomSeed?: number;
|
|
15069
|
-
readonly compiler: string;
|
|
15070
|
-
readonly runtime: string;
|
|
15071
|
-
readonly checker: string;
|
|
15072
|
-
readonly lockKind: "bun" | "npm";
|
|
15073
|
-
readonly lockDigest: string;
|
|
15074
|
-
readonly digest: string;
|
|
15075
|
-
};
|
|
15076
15170
|
readonly assets: {
|
|
15077
15171
|
readonly base: string;
|
|
15078
15172
|
readonly entries: ReadonlyArray<{
|
|
@@ -15095,11 +15189,12 @@ export type TemplatesGetPublication200 = {
|
|
|
15095
15189
|
readonly css: string;
|
|
15096
15190
|
readonly assets: BrandAssets;
|
|
15097
15191
|
readonly footer: BrandFooter;
|
|
15192
|
+
readonly renderedFooter: BrandRenderedFooter;
|
|
15098
15193
|
readonly digest: string;
|
|
15099
15194
|
readonly rendersFooter: "every" | "some" | "none";
|
|
15100
15195
|
};
|
|
15101
15196
|
};
|
|
15102
|
-
readonly
|
|
15197
|
+
readonly ir: {
|
|
15103
15198
|
readonly key: string;
|
|
15104
15199
|
readonly digest: string;
|
|
15105
15200
|
};
|
|
@@ -15174,26 +15269,16 @@ export declare const TemplatesGetPublication200: Schema.Struct<{
|
|
|
15174
15269
|
readonly buildIdentity: Schema.String;
|
|
15175
15270
|
readonly manifest: Schema.Struct<{
|
|
15176
15271
|
readonly templateKey: Schema.String;
|
|
15177
|
-
readonly
|
|
15178
|
-
readonly
|
|
15272
|
+
readonly ir: Schema.Struct<{
|
|
15273
|
+
readonly version: Schema.Finite;
|
|
15274
|
+
readonly digest: Schema.String;
|
|
15179
15275
|
readonly bytes: Schema.Finite;
|
|
15180
15276
|
}>;
|
|
15277
|
+
readonly compiler: Schema.String;
|
|
15181
15278
|
readonly input: Schema.Struct<{
|
|
15182
15279
|
readonly schemaDigest: Schema.String;
|
|
15183
15280
|
readonly contractDigest: Schema.String;
|
|
15184
15281
|
}>;
|
|
15185
|
-
readonly environment: Schema.Struct<{
|
|
15186
|
-
readonly locale: Schema.String;
|
|
15187
|
-
readonly timeZone: Schema.Literal<"UTC">;
|
|
15188
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
15189
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
15190
|
-
readonly compiler: Schema.String;
|
|
15191
|
-
readonly runtime: Schema.String;
|
|
15192
|
-
readonly checker: Schema.String;
|
|
15193
|
-
readonly lockKind: Schema.Literals<readonly ["bun", "npm"]>;
|
|
15194
|
-
readonly lockDigest: Schema.String;
|
|
15195
|
-
readonly digest: Schema.String;
|
|
15196
|
-
}>;
|
|
15197
15282
|
readonly assets: Schema.Struct<{
|
|
15198
15283
|
readonly base: Schema.String;
|
|
15199
15284
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -15234,11 +15319,21 @@ export declare const TemplatesGetPublication200: Schema.Struct<{
|
|
|
15234
15319
|
readonly url: Schema.String;
|
|
15235
15320
|
}>>, Schema.Null]>>;
|
|
15236
15321
|
}>;
|
|
15322
|
+
readonly renderedFooter: Schema.Struct<{
|
|
15323
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
15324
|
+
readonly html: Schema.String;
|
|
15325
|
+
readonly text: Schema.String;
|
|
15326
|
+
}>;
|
|
15327
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
15328
|
+
readonly html: Schema.String;
|
|
15329
|
+
readonly text: Schema.String;
|
|
15330
|
+
}>;
|
|
15331
|
+
}>;
|
|
15237
15332
|
readonly digest: Schema.String;
|
|
15238
15333
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
15239
15334
|
}>>;
|
|
15240
15335
|
}>;
|
|
15241
|
-
readonly
|
|
15336
|
+
readonly ir: Schema.Struct<{
|
|
15242
15337
|
readonly key: Schema.String;
|
|
15243
15338
|
readonly digest: Schema.String;
|
|
15244
15339
|
}>;
|
|
@@ -15959,10 +16054,6 @@ export type TemplatesCheckWorkspace200 = {
|
|
|
15959
16054
|
readonly schemaDigest: string;
|
|
15960
16055
|
readonly contractDigest: string;
|
|
15961
16056
|
};
|
|
15962
|
-
readonly runtime: {
|
|
15963
|
-
readonly now?: number;
|
|
15964
|
-
readonly randomSeed?: number;
|
|
15965
|
-
};
|
|
15966
16057
|
readonly fixtures: ReadonlyArray<string>;
|
|
15967
16058
|
} | null;
|
|
15968
16059
|
readonly diagnostics: ReadonlyArray<{
|
|
@@ -16024,10 +16115,6 @@ export declare const TemplatesCheckWorkspace200: Schema.Struct<{
|
|
|
16024
16115
|
readonly schemaDigest: Schema.String;
|
|
16025
16116
|
readonly contractDigest: Schema.String;
|
|
16026
16117
|
}>;
|
|
16027
|
-
readonly runtime: Schema.Struct<{
|
|
16028
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
16029
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
16030
|
-
}>;
|
|
16031
16118
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
16032
16119
|
}>, Schema.Null]>;
|
|
16033
16120
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -16363,10 +16450,6 @@ export type TemplatesRenderWorkspaceFixture200 = {
|
|
|
16363
16450
|
readonly schemaDigest: string;
|
|
16364
16451
|
readonly contractDigest: string;
|
|
16365
16452
|
};
|
|
16366
|
-
readonly runtime: {
|
|
16367
|
-
readonly now?: number;
|
|
16368
|
-
readonly randomSeed?: number;
|
|
16369
|
-
};
|
|
16370
16453
|
readonly fixtures: ReadonlyArray<string>;
|
|
16371
16454
|
} | null;
|
|
16372
16455
|
readonly diagnostics: ReadonlyArray<{
|
|
@@ -16450,10 +16533,6 @@ export declare const TemplatesRenderWorkspaceFixture200: Schema.Struct<{
|
|
|
16450
16533
|
readonly schemaDigest: Schema.String;
|
|
16451
16534
|
readonly contractDigest: Schema.String;
|
|
16452
16535
|
}>;
|
|
16453
|
-
readonly runtime: Schema.Struct<{
|
|
16454
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
16455
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
16456
|
-
}>;
|
|
16457
16536
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
16458
16537
|
}>, Schema.Null]>;
|
|
16459
16538
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -17878,6 +17957,7 @@ export type UnsubscribeList200 = {
|
|
|
17878
17957
|
readonly organizationId: string;
|
|
17879
17958
|
readonly name: string;
|
|
17880
17959
|
readonly description: string | null;
|
|
17960
|
+
readonly isDefault: boolean;
|
|
17881
17961
|
readonly memberCount: number;
|
|
17882
17962
|
readonly createdAt: string;
|
|
17883
17963
|
readonly updatedAt: string;
|
|
@@ -17890,6 +17970,7 @@ export declare const UnsubscribeList200: Schema.Struct<{
|
|
|
17890
17970
|
readonly organizationId: Schema.String;
|
|
17891
17971
|
readonly name: Schema.String;
|
|
17892
17972
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
17973
|
+
readonly isDefault: Schema.Boolean;
|
|
17893
17974
|
readonly memberCount: Schema.Finite;
|
|
17894
17975
|
readonly createdAt: Schema.String;
|
|
17895
17976
|
readonly updatedAt: Schema.String;
|
|
@@ -17922,6 +18003,7 @@ export type UnsubscribeCreate201 = {
|
|
|
17922
18003
|
readonly organizationId: string;
|
|
17923
18004
|
readonly name: string;
|
|
17924
18005
|
readonly description: string | null;
|
|
18006
|
+
readonly isDefault: boolean;
|
|
17925
18007
|
readonly memberCount: number;
|
|
17926
18008
|
readonly createdAt: string;
|
|
17927
18009
|
readonly updatedAt: string;
|
|
@@ -17931,6 +18013,7 @@ export declare const UnsubscribeCreate201: Schema.Struct<{
|
|
|
17931
18013
|
readonly organizationId: Schema.String;
|
|
17932
18014
|
readonly name: Schema.String;
|
|
17933
18015
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
18016
|
+
readonly isDefault: Schema.Boolean;
|
|
17934
18017
|
readonly memberCount: Schema.Finite;
|
|
17935
18018
|
readonly createdAt: Schema.String;
|
|
17936
18019
|
readonly updatedAt: Schema.String;
|
|
@@ -18072,6 +18155,8 @@ export type UnsubscribeRemove403 = ForbiddenError;
|
|
|
18072
18155
|
export declare const UnsubscribeRemove403: typeof ForbiddenError;
|
|
18073
18156
|
export type UnsubscribeRemove404 = ResourceNotFoundError;
|
|
18074
18157
|
export declare const UnsubscribeRemove404: typeof ResourceNotFoundError;
|
|
18158
|
+
export type UnsubscribeRemove409 = ConflictError;
|
|
18159
|
+
export declare const UnsubscribeRemove409: typeof ConflictError;
|
|
18075
18160
|
export type UnsubscribeRemove500 = InternalError;
|
|
18076
18161
|
export declare const UnsubscribeRemove500: typeof InternalError;
|
|
18077
18162
|
export type UnsubscribeRemove504 = GatewayTimeoutError;
|
|
@@ -18095,6 +18180,7 @@ export type UnsubscribeUpdate200 = {
|
|
|
18095
18180
|
readonly organizationId: string;
|
|
18096
18181
|
readonly name: string;
|
|
18097
18182
|
readonly description: string | null;
|
|
18183
|
+
readonly isDefault: boolean;
|
|
18098
18184
|
readonly memberCount: number;
|
|
18099
18185
|
readonly createdAt: string;
|
|
18100
18186
|
readonly updatedAt: string;
|
|
@@ -18104,6 +18190,7 @@ export declare const UnsubscribeUpdate200: Schema.Struct<{
|
|
|
18104
18190
|
readonly organizationId: Schema.String;
|
|
18105
18191
|
readonly name: Schema.String;
|
|
18106
18192
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
18193
|
+
readonly isDefault: Schema.Boolean;
|
|
18107
18194
|
readonly memberCount: Schema.Finite;
|
|
18108
18195
|
readonly createdAt: Schema.String;
|
|
18109
18196
|
readonly updatedAt: Schema.String;
|
|
@@ -18118,6 +18205,42 @@ export type UnsubscribeUpdate500 = InternalError;
|
|
|
18118
18205
|
export declare const UnsubscribeUpdate500: typeof InternalError;
|
|
18119
18206
|
export type UnsubscribeUpdate504 = GatewayTimeoutError;
|
|
18120
18207
|
export declare const UnsubscribeUpdate504: typeof GatewayTimeoutError;
|
|
18208
|
+
export type UnsubscribeSetDefaultPathParams = {
|
|
18209
|
+
readonly id: UnsubscribeId;
|
|
18210
|
+
};
|
|
18211
|
+
export declare const UnsubscribeSetDefaultPathParams: Schema.Struct<{
|
|
18212
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
18213
|
+
}>;
|
|
18214
|
+
export type UnsubscribeSetDefault200 = {
|
|
18215
|
+
readonly id: UnsubscribeId;
|
|
18216
|
+
readonly organizationId: string;
|
|
18217
|
+
readonly name: string;
|
|
18218
|
+
readonly description: string | null;
|
|
18219
|
+
readonly isDefault: boolean;
|
|
18220
|
+
readonly memberCount: number;
|
|
18221
|
+
readonly createdAt: string;
|
|
18222
|
+
readonly updatedAt: string;
|
|
18223
|
+
};
|
|
18224
|
+
export declare const UnsubscribeSetDefault200: Schema.Struct<{
|
|
18225
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
18226
|
+
readonly organizationId: Schema.String;
|
|
18227
|
+
readonly name: Schema.String;
|
|
18228
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
18229
|
+
readonly isDefault: Schema.Boolean;
|
|
18230
|
+
readonly memberCount: Schema.Finite;
|
|
18231
|
+
readonly createdAt: Schema.String;
|
|
18232
|
+
readonly updatedAt: Schema.String;
|
|
18233
|
+
}>;
|
|
18234
|
+
export type UnsubscribeSetDefault401 = UnauthorizedError;
|
|
18235
|
+
export declare const UnsubscribeSetDefault401: typeof UnauthorizedError;
|
|
18236
|
+
export type UnsubscribeSetDefault403 = ForbiddenError;
|
|
18237
|
+
export declare const UnsubscribeSetDefault403: typeof ForbiddenError;
|
|
18238
|
+
export type UnsubscribeSetDefault404 = ResourceNotFoundError;
|
|
18239
|
+
export declare const UnsubscribeSetDefault404: typeof ResourceNotFoundError;
|
|
18240
|
+
export type UnsubscribeSetDefault500 = InternalError;
|
|
18241
|
+
export declare const UnsubscribeSetDefault500: typeof InternalError;
|
|
18242
|
+
export type UnsubscribeSetDefault504 = GatewayTimeoutError;
|
|
18243
|
+
export declare const UnsubscribeSetDefault504: typeof GatewayTimeoutError;
|
|
18121
18244
|
export type UnsubscribeCheckSubscriptionQuery = {
|
|
18122
18245
|
readonly email: string;
|
|
18123
18246
|
readonly groupIds?: string | null;
|
|
@@ -18173,7 +18296,7 @@ export declare const WebhooksList200: Schema.Struct<{
|
|
|
18173
18296
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18174
18297
|
readonly name: Schema.String;
|
|
18175
18298
|
readonly url: Schema.String;
|
|
18176
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18299
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18177
18300
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18178
18301
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18179
18302
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18207,7 +18330,7 @@ export declare const WebhooksList504: typeof GatewayTimeoutError;
|
|
|
18207
18330
|
export type WebhooksCreateRequestJson = {
|
|
18208
18331
|
readonly name: string;
|
|
18209
18332
|
readonly url: string;
|
|
18210
|
-
readonly eventTypes: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
18333
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated">;
|
|
18211
18334
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
18212
18335
|
readonly headers?: {
|
|
18213
18336
|
readonly [x: string]: string;
|
|
@@ -18217,7 +18340,7 @@ export type WebhooksCreateRequestJson = {
|
|
|
18217
18340
|
export declare const WebhooksCreateRequestJson: Schema.Struct<{
|
|
18218
18341
|
readonly name: Schema.String;
|
|
18219
18342
|
readonly url: Schema.String;
|
|
18220
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18343
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18221
18344
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
18222
18345
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
18223
18346
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -18231,7 +18354,7 @@ export declare const WebhooksCreate201: Schema.Struct<{
|
|
|
18231
18354
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18232
18355
|
readonly name: Schema.String;
|
|
18233
18356
|
readonly url: Schema.String;
|
|
18234
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18357
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18235
18358
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18236
18359
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18237
18360
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18269,7 +18392,7 @@ export declare const WebhooksGet200: Schema.Struct<{
|
|
|
18269
18392
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18270
18393
|
readonly name: Schema.String;
|
|
18271
18394
|
readonly url: Schema.String;
|
|
18272
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18395
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18273
18396
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18274
18397
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18275
18398
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18319,7 +18442,7 @@ export declare const WebhooksUpdatePathParams: Schema.Struct<{
|
|
|
18319
18442
|
export type WebhooksUpdateRequestJson = {
|
|
18320
18443
|
readonly name?: string | null;
|
|
18321
18444
|
readonly url?: string | null;
|
|
18322
|
-
readonly eventTypes?: ReadonlyArray<"message.sent" | "message.delivered" | "message.read" | "message.failed" | "message.bounced" | "message.complained" | "message.received" | "contact.created" | "contact.updated" | "contact.deleted" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated"> | null;
|
|
18445
|
+
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.unsubscribed" | "contact.resubscribed" | "conversation.created" | "conversation.updated" | "conversation.archived" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.test" | "domain.updated" | "domain.warming.updated"> | null;
|
|
18323
18446
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
18324
18447
|
readonly headers?: {
|
|
18325
18448
|
readonly [x: string]: string;
|
|
@@ -18329,7 +18452,7 @@ export type WebhooksUpdateRequestJson = {
|
|
|
18329
18452
|
export declare const WebhooksUpdateRequestJson: Schema.Struct<{
|
|
18330
18453
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
18331
18454
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
18332
|
-
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
18455
|
+
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
18333
18456
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
18334
18457
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
18335
18458
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -18339,7 +18462,7 @@ export declare const WebhooksUpdate200: Schema.Struct<{
|
|
|
18339
18462
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18340
18463
|
readonly name: Schema.String;
|
|
18341
18464
|
readonly url: Schema.String;
|
|
18342
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18465
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
18343
18466
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18344
18467
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18345
18468
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -20721,6 +20844,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
20721
20844
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
20722
20845
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
20723
20846
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
20847
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
20848
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
20724
20849
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
20725
20850
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
20726
20851
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -20872,6 +20997,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
20872
20997
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
20873
20998
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
20874
20999
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21000
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21001
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
20875
21002
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
20876
21003
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
20877
21004
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21020,6 +21147,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21020
21147
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21021
21148
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21022
21149
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21150
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21151
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21023
21152
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21024
21153
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21025
21154
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21066,6 +21195,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21066
21195
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21067
21196
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21068
21197
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21198
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21199
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21069
21200
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21070
21201
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21071
21202
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21182,6 +21313,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21182
21313
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21183
21314
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21184
21315
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21316
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21317
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21185
21318
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21186
21319
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21187
21320
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21311,6 +21444,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21311
21444
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21312
21445
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21313
21446
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21447
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21448
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21314
21449
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21315
21450
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21316
21451
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21432,6 +21567,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21432
21567
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21433
21568
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21434
21569
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21570
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21571
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21435
21572
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21436
21573
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21437
21574
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21638,6 +21775,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21638
21775
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21639
21776
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21640
21777
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21778
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21779
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21641
21780
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21642
21781
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21643
21782
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21770,6 +21909,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21770
21909
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21771
21910
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21772
21911
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21912
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21913
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21773
21914
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21774
21915
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21775
21916
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21928,6 +22069,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21928
22069
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21929
22070
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21930
22071
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22072
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22073
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21931
22074
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21932
22075
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21933
22076
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22086,6 +22229,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22086
22229
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22087
22230
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22088
22231
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22232
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22233
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22089
22234
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22090
22235
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22091
22236
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22222,6 +22367,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22222
22367
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22223
22368
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22224
22369
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22370
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22371
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22225
22372
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22226
22373
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22227
22374
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22268,6 +22415,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22268
22415
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22269
22416
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22270
22417
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22418
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22419
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22271
22420
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22272
22421
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22273
22422
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -25000,7 +25149,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25000
25149
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25001
25150
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25002
25151
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25003
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25152
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25004
25153
|
readonly joinedAt: Schema.String;
|
|
25005
25154
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25006
25155
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25143,7 +25292,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25143
25292
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25144
25293
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25145
25294
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25146
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25295
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25147
25296
|
readonly joinedAt: Schema.String;
|
|
25148
25297
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25149
25298
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25201,7 +25350,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25201
25350
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25202
25351
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25203
25352
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25204
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25353
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25205
25354
|
readonly joinedAt: Schema.String;
|
|
25206
25355
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25207
25356
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25332,7 +25481,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25332
25481
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25333
25482
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25334
25483
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25335
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25484
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25336
25485
|
readonly joinedAt: Schema.String;
|
|
25337
25486
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25338
25487
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25379,7 +25528,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25379
25528
|
readonly createdBy: Schema.Union<readonly [Schema.brand<Schema.String, "ActorId">, Schema.Null]>;
|
|
25380
25529
|
readonly participants: Schema.$Array<Schema.Struct<{
|
|
25381
25530
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25382
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25531
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25383
25532
|
readonly contact: Schema.Struct<{
|
|
25384
25533
|
readonly id: Schema.String;
|
|
25385
25534
|
readonly name: Schema.String;
|
|
@@ -25481,7 +25630,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25481
25630
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25482
25631
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25483
25632
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25484
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25633
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25485
25634
|
readonly joinedAt: Schema.String;
|
|
25486
25635
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25487
25636
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25849,7 +25998,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25849
25998
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25850
25999
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25851
26000
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25852
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
26001
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25853
26002
|
readonly joinedAt: Schema.String;
|
|
25854
26003
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25855
26004
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -26012,7 +26161,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
26012
26161
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
26013
26162
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
26014
26163
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
26015
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
26164
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
26016
26165
|
readonly joinedAt: Schema.String;
|
|
26017
26166
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
26018
26167
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -26052,7 +26201,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
26052
26201
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
26053
26202
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
26054
26203
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
26055
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
26204
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
26056
26205
|
readonly joinedAt: Schema.String;
|
|
26057
26206
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
26058
26207
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -33269,6 +33418,8 @@ declare const MessagesGroup_base: HttpApiGroup.HttpApiGroup<"Messages", HttpApiE
|
|
|
33269
33418
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33270
33419
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33271
33420
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33421
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33422
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33272
33423
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33273
33424
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33274
33425
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33638,6 +33789,8 @@ declare const MessagesGroup_base: HttpApiGroup.HttpApiGroup<"Messages", HttpApiE
|
|
|
33638
33789
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33639
33790
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33640
33791
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33792
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33793
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33641
33794
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33642
33795
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33643
33796
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33795,6 +33948,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
33795
33948
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33796
33949
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33797
33950
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33951
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33952
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33798
33953
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33799
33954
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33800
33955
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33940,6 +34095,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
33940
34095
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33941
34096
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33942
34097
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34098
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34099
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33943
34100
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33944
34101
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33945
34102
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34006,6 +34163,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34006
34163
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34007
34164
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34008
34165
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34166
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34167
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34009
34168
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34010
34169
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34011
34170
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34160,6 +34319,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34160
34319
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34161
34320
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34162
34321
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34322
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34323
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34163
34324
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34164
34325
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34165
34326
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34293,6 +34454,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34293
34454
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34294
34455
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34295
34456
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34457
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34458
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34296
34459
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34297
34460
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34298
34461
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34419,6 +34582,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34419
34582
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34420
34583
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34421
34584
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34585
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34586
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34422
34587
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34423
34588
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34424
34589
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34836,7 +35001,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
34836
35001
|
readonly updatedAt: Schema.String;
|
|
34837
35002
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
34838
35003
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
34839
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
34840
35004
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
34841
35005
|
readonly messagesUsed: Schema.Finite;
|
|
34842
35006
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35069,7 +35233,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35069
35233
|
readonly updatedAt: Schema.String;
|
|
35070
35234
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
35071
35235
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
35072
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
35073
35236
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
35074
35237
|
readonly messagesUsed: Schema.Finite;
|
|
35075
35238
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35135,6 +35298,50 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35135
35298
|
}>, Schema.Struct<{
|
|
35136
35299
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35137
35300
|
readonly message: Schema.String;
|
|
35301
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsGetProfile", "GET", "/v1/organizations/current/profile", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
35302
|
+
readonly id: Schema.String;
|
|
35303
|
+
readonly name: Schema.String;
|
|
35304
|
+
readonly nickname: Schema.String;
|
|
35305
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
35306
|
+
readonly _tag: "ForbiddenError";
|
|
35307
|
+
readonly message: string;
|
|
35308
|
+
}, readonly [Schema.Struct<{
|
|
35309
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
35310
|
+
readonly message: Schema.String;
|
|
35311
|
+
}>], {
|
|
35312
|
+
readonly _tag: "ForbiddenError";
|
|
35313
|
+
readonly message: string;
|
|
35314
|
+
}>, Schema.Struct<{
|
|
35315
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
35316
|
+
readonly message: Schema.String;
|
|
35317
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
35318
|
+
readonly _tag: "GatewayTimeoutError";
|
|
35319
|
+
readonly message: string;
|
|
35320
|
+
readonly retryAfterSeconds: number;
|
|
35321
|
+
}, readonly [Schema.Struct<{
|
|
35322
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
35323
|
+
readonly message: Schema.String;
|
|
35324
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
35325
|
+
}>], {
|
|
35326
|
+
readonly _tag: "GatewayTimeoutError";
|
|
35327
|
+
readonly message: string;
|
|
35328
|
+
readonly retryAfterSeconds: number;
|
|
35329
|
+
}>, Schema.Struct<{
|
|
35330
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
35331
|
+
readonly message: Schema.String;
|
|
35332
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
35333
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
35334
|
+
readonly _tag: "UnauthorizedError";
|
|
35335
|
+
readonly message: string;
|
|
35336
|
+
}, readonly [Schema.Struct<{
|
|
35337
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35338
|
+
readonly message: Schema.String;
|
|
35339
|
+
}>], {
|
|
35340
|
+
readonly _tag: "UnauthorizedError";
|
|
35341
|
+
readonly message: string;
|
|
35342
|
+
}>, Schema.Struct<{
|
|
35343
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35344
|
+
readonly message: Schema.String;
|
|
35138
35345
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsGetUsage", "GET", "/v1/organizations/usage", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
35139
35346
|
readonly period: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["current", "last_30_days", "last_90_days", "last_year"]>, Schema.Null]>>;
|
|
35140
35347
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -35200,7 +35407,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35200
35407
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
35201
35408
|
readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
35202
35409
|
readonly replyToDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
35203
|
-
readonly defaultUnsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>, Schema.Null]>>;
|
|
35204
35410
|
readonly emailFooterEnabledDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
35205
35411
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
35206
35412
|
readonly id: Schema.String;
|
|
@@ -35215,7 +35421,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35215
35421
|
readonly updatedAt: Schema.String;
|
|
35216
35422
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
35217
35423
|
readonly replyToDefault: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
35218
|
-
readonly defaultUnsubscribeGroupId: Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>;
|
|
35219
35424
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
35220
35425
|
readonly messagesUsed: Schema.Finite;
|
|
35221
35426
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35744,10 +35949,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
35744
35949
|
readonly schemaDigest: Schema.String;
|
|
35745
35950
|
readonly contractDigest: Schema.String;
|
|
35746
35951
|
}>;
|
|
35747
|
-
readonly runtime: Schema.Struct<{
|
|
35748
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
35749
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
35750
|
-
}>;
|
|
35751
35952
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
35752
35953
|
}>, Schema.Null]>;
|
|
35753
35954
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -36784,26 +36985,16 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
36784
36985
|
readonly buildIdentity: Schema.String;
|
|
36785
36986
|
readonly manifest: Schema.Struct<{
|
|
36786
36987
|
readonly templateKey: Schema.String;
|
|
36787
|
-
readonly
|
|
36788
|
-
readonly
|
|
36988
|
+
readonly ir: Schema.Struct<{
|
|
36989
|
+
readonly version: Schema.Finite;
|
|
36990
|
+
readonly digest: Schema.String;
|
|
36789
36991
|
readonly bytes: Schema.Finite;
|
|
36790
36992
|
}>;
|
|
36993
|
+
readonly compiler: Schema.String;
|
|
36791
36994
|
readonly input: Schema.Struct<{
|
|
36792
36995
|
readonly schemaDigest: Schema.String;
|
|
36793
36996
|
readonly contractDigest: Schema.String;
|
|
36794
36997
|
}>;
|
|
36795
|
-
readonly environment: Schema.Struct<{
|
|
36796
|
-
readonly locale: Schema.String;
|
|
36797
|
-
readonly timeZone: Schema.Literal<"UTC">;
|
|
36798
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
36799
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
36800
|
-
readonly compiler: Schema.String;
|
|
36801
|
-
readonly runtime: Schema.String;
|
|
36802
|
-
readonly checker: Schema.String;
|
|
36803
|
-
readonly lockKind: Schema.Literals<readonly ["bun", "npm"]>;
|
|
36804
|
-
readonly lockDigest: Schema.String;
|
|
36805
|
-
readonly digest: Schema.String;
|
|
36806
|
-
}>;
|
|
36807
36998
|
readonly assets: Schema.Struct<{
|
|
36808
36999
|
readonly base: Schema.String;
|
|
36809
37000
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -36844,11 +37035,21 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
36844
37035
|
readonly url: Schema.String;
|
|
36845
37036
|
}>>, Schema.Null]>>;
|
|
36846
37037
|
}>;
|
|
37038
|
+
readonly renderedFooter: Schema.Struct<{
|
|
37039
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
37040
|
+
readonly html: Schema.String;
|
|
37041
|
+
readonly text: Schema.String;
|
|
37042
|
+
}>;
|
|
37043
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
37044
|
+
readonly html: Schema.String;
|
|
37045
|
+
readonly text: Schema.String;
|
|
37046
|
+
}>;
|
|
37047
|
+
}>;
|
|
36847
37048
|
readonly digest: Schema.String;
|
|
36848
37049
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
36849
37050
|
}>>;
|
|
36850
37051
|
}>;
|
|
36851
|
-
readonly
|
|
37052
|
+
readonly ir: Schema.Struct<{
|
|
36852
37053
|
readonly key: Schema.String;
|
|
36853
37054
|
readonly digest: Schema.String;
|
|
36854
37055
|
}>;
|
|
@@ -37619,26 +37820,16 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
37619
37820
|
readonly buildIdentity: Schema.String;
|
|
37620
37821
|
readonly manifest: Schema.Struct<{
|
|
37621
37822
|
readonly templateKey: Schema.String;
|
|
37622
|
-
readonly
|
|
37623
|
-
readonly
|
|
37823
|
+
readonly ir: Schema.Struct<{
|
|
37824
|
+
readonly version: Schema.Finite;
|
|
37825
|
+
readonly digest: Schema.String;
|
|
37624
37826
|
readonly bytes: Schema.Finite;
|
|
37625
37827
|
}>;
|
|
37828
|
+
readonly compiler: Schema.String;
|
|
37626
37829
|
readonly input: Schema.Struct<{
|
|
37627
37830
|
readonly schemaDigest: Schema.String;
|
|
37628
37831
|
readonly contractDigest: Schema.String;
|
|
37629
37832
|
}>;
|
|
37630
|
-
readonly environment: Schema.Struct<{
|
|
37631
|
-
readonly locale: Schema.String;
|
|
37632
|
-
readonly timeZone: Schema.Literal<"UTC">;
|
|
37633
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
37634
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
37635
|
-
readonly compiler: Schema.String;
|
|
37636
|
-
readonly runtime: Schema.String;
|
|
37637
|
-
readonly checker: Schema.String;
|
|
37638
|
-
readonly lockKind: Schema.Literals<readonly ["bun", "npm"]>;
|
|
37639
|
-
readonly lockDigest: Schema.String;
|
|
37640
|
-
readonly digest: Schema.String;
|
|
37641
|
-
}>;
|
|
37642
37833
|
readonly assets: Schema.Struct<{
|
|
37643
37834
|
readonly base: Schema.String;
|
|
37644
37835
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -37679,11 +37870,21 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
37679
37870
|
readonly url: Schema.String;
|
|
37680
37871
|
}>>, Schema.Null]>>;
|
|
37681
37872
|
}>;
|
|
37873
|
+
readonly renderedFooter: Schema.Struct<{
|
|
37874
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
37875
|
+
readonly html: Schema.String;
|
|
37876
|
+
readonly text: Schema.String;
|
|
37877
|
+
}>;
|
|
37878
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
37879
|
+
readonly html: Schema.String;
|
|
37880
|
+
readonly text: Schema.String;
|
|
37881
|
+
}>;
|
|
37882
|
+
}>;
|
|
37682
37883
|
readonly digest: Schema.String;
|
|
37683
37884
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
37684
37885
|
}>>;
|
|
37685
37886
|
}>;
|
|
37686
|
-
readonly
|
|
37887
|
+
readonly ir: Schema.Struct<{
|
|
37687
37888
|
readonly key: Schema.String;
|
|
37688
37889
|
readonly digest: Schema.String;
|
|
37689
37890
|
}>;
|
|
@@ -38508,10 +38709,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
38508
38709
|
readonly schemaDigest: Schema.String;
|
|
38509
38710
|
readonly contractDigest: Schema.String;
|
|
38510
38711
|
}>;
|
|
38511
|
-
readonly runtime: Schema.Struct<{
|
|
38512
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
38513
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
38514
|
-
}>;
|
|
38515
38712
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
38516
38713
|
}>, Schema.Null]>;
|
|
38517
38714
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -39513,6 +39710,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39513
39710
|
readonly organizationId: Schema.String;
|
|
39514
39711
|
readonly name: Schema.String;
|
|
39515
39712
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39713
|
+
readonly isDefault: Schema.Boolean;
|
|
39516
39714
|
readonly memberCount: Schema.Finite;
|
|
39517
39715
|
readonly createdAt: Schema.String;
|
|
39518
39716
|
readonly updatedAt: Schema.String;
|
|
@@ -39565,6 +39763,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39565
39763
|
readonly organizationId: Schema.String;
|
|
39566
39764
|
readonly name: Schema.String;
|
|
39567
39765
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39766
|
+
readonly isDefault: Schema.Boolean;
|
|
39568
39767
|
readonly memberCount: Schema.Finite;
|
|
39569
39768
|
readonly createdAt: Schema.String;
|
|
39570
39769
|
readonly updatedAt: Schema.String;
|
|
@@ -39695,7 +39894,27 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39695
39894
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39696
39895
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
39697
39896
|
readonly success: Schema.Boolean;
|
|
39698
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<
|
|
39897
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
39898
|
+
readonly _tag: "ConflictError";
|
|
39899
|
+
readonly message: string;
|
|
39900
|
+
readonly resource: string;
|
|
39901
|
+
readonly id?: string | null;
|
|
39902
|
+
}, readonly [Schema.Struct<{
|
|
39903
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
39904
|
+
readonly message: Schema.String;
|
|
39905
|
+
readonly resource: Schema.String;
|
|
39906
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
39907
|
+
}>], {
|
|
39908
|
+
readonly _tag: "ConflictError";
|
|
39909
|
+
readonly message: string;
|
|
39910
|
+
readonly resource: string;
|
|
39911
|
+
readonly id?: string | null;
|
|
39912
|
+
}>, Schema.Struct<{
|
|
39913
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
39914
|
+
readonly message: Schema.String;
|
|
39915
|
+
readonly resource: Schema.String;
|
|
39916
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
39917
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
39699
39918
|
readonly _tag: "ForbiddenError";
|
|
39700
39919
|
readonly message: string;
|
|
39701
39920
|
}, readonly [Schema.Struct<{
|
|
@@ -39813,6 +40032,73 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39813
40032
|
}>, Schema.Struct<{
|
|
39814
40033
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
39815
40034
|
readonly message: Schema.String;
|
|
40035
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeSetDefault", "POST", "/v1/unsubscribe-groups/:id/default", Schema.toCodecStringTree<Schema.Struct<{
|
|
40036
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
40037
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
40038
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
40039
|
+
readonly organizationId: Schema.String;
|
|
40040
|
+
readonly name: Schema.String;
|
|
40041
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
40042
|
+
readonly isDefault: Schema.Boolean;
|
|
40043
|
+
readonly memberCount: Schema.Finite;
|
|
40044
|
+
readonly createdAt: Schema.String;
|
|
40045
|
+
readonly updatedAt: Schema.String;
|
|
40046
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
40047
|
+
readonly _tag: "ForbiddenError";
|
|
40048
|
+
readonly message: string;
|
|
40049
|
+
}, readonly [Schema.Struct<{
|
|
40050
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
40051
|
+
readonly message: Schema.String;
|
|
40052
|
+
}>], {
|
|
40053
|
+
readonly _tag: "ForbiddenError";
|
|
40054
|
+
readonly message: string;
|
|
40055
|
+
}>, Schema.Struct<{
|
|
40056
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
40057
|
+
readonly message: Schema.String;
|
|
40058
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
40059
|
+
readonly _tag: "GatewayTimeoutError";
|
|
40060
|
+
readonly message: string;
|
|
40061
|
+
readonly retryAfterSeconds: number;
|
|
40062
|
+
}, readonly [Schema.Struct<{
|
|
40063
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
40064
|
+
readonly message: Schema.String;
|
|
40065
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
40066
|
+
}>], {
|
|
40067
|
+
readonly _tag: "GatewayTimeoutError";
|
|
40068
|
+
readonly message: string;
|
|
40069
|
+
readonly retryAfterSeconds: number;
|
|
40070
|
+
}>, Schema.Struct<{
|
|
40071
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
40072
|
+
readonly message: Schema.String;
|
|
40073
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
40074
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
40075
|
+
readonly _tag: "ResourceNotFoundError";
|
|
40076
|
+
readonly resource: string;
|
|
40077
|
+
readonly id: string;
|
|
40078
|
+
}, readonly [Schema.Struct<{
|
|
40079
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
40080
|
+
readonly resource: Schema.String;
|
|
40081
|
+
readonly id: Schema.String;
|
|
40082
|
+
}>], {
|
|
40083
|
+
readonly _tag: "ResourceNotFoundError";
|
|
40084
|
+
readonly resource: string;
|
|
40085
|
+
readonly id: string;
|
|
40086
|
+
}>, Schema.Struct<{
|
|
40087
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
40088
|
+
readonly resource: Schema.String;
|
|
40089
|
+
readonly id: Schema.String;
|
|
40090
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
40091
|
+
readonly _tag: "UnauthorizedError";
|
|
40092
|
+
readonly message: string;
|
|
40093
|
+
}, readonly [Schema.Struct<{
|
|
40094
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
40095
|
+
readonly message: Schema.String;
|
|
40096
|
+
}>], {
|
|
40097
|
+
readonly _tag: "UnauthorizedError";
|
|
40098
|
+
readonly message: string;
|
|
40099
|
+
}>, Schema.Struct<{
|
|
40100
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
40101
|
+
readonly message: Schema.String;
|
|
39816
40102
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeUpdate", "PATCH", "/v1/unsubscribe-groups/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
39817
40103
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39818
40104
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -39823,6 +40109,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39823
40109
|
readonly organizationId: Schema.String;
|
|
39824
40110
|
readonly name: Schema.String;
|
|
39825
40111
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
40112
|
+
readonly isDefault: Schema.Boolean;
|
|
39826
40113
|
readonly memberCount: Schema.Finite;
|
|
39827
40114
|
readonly createdAt: Schema.String;
|
|
39828
40115
|
readonly updatedAt: Schema.String;
|
|
@@ -39888,7 +40175,7 @@ declare class UnsubscribeGroupsGroup extends UnsubscribeGroupsGroup_base {
|
|
|
39888
40175
|
declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiEndpoint.HttpApiEndpoint<"webhooksCreate", "POST", "/v1/webhooks", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
39889
40176
|
readonly name: Schema.String;
|
|
39890
40177
|
readonly url: Schema.String;
|
|
39891
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40178
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
39892
40179
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
39893
40180
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
39894
40181
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -39897,7 +40184,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
39897
40184
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
39898
40185
|
readonly name: Schema.String;
|
|
39899
40186
|
readonly url: Schema.String;
|
|
39900
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40187
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
39901
40188
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
39902
40189
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
39903
40190
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40025,7 +40312,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40025
40312
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40026
40313
|
readonly name: Schema.String;
|
|
40027
40314
|
readonly url: Schema.String;
|
|
40028
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40315
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40029
40316
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40030
40317
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40031
40318
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40261,7 +40548,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40261
40548
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40262
40549
|
readonly name: Schema.String;
|
|
40263
40550
|
readonly url: Schema.String;
|
|
40264
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40551
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40265
40552
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40266
40553
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40267
40554
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40628,7 +40915,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40628
40915
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
40629
40916
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
40630
40917
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
40631
|
-
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
40918
|
+
readonly eventTypes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>, Schema.Null]>>;
|
|
40632
40919
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
40633
40920
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
40634
40921
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -40636,7 +40923,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40636
40923
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40637
40924
|
readonly name: Schema.String;
|
|
40638
40925
|
readonly url: Schema.String;
|
|
40639
|
-
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["message.sent", "message.delivered", "message.read", "message.failed", "message.bounced", "message.complained", "message.received", "contact.created", "contact.updated", "contact.deleted", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40926
|
+
readonly eventTypes: Schema.$Array<Schema.Literals<readonly ["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.unsubscribed", "contact.resubscribed", "conversation.created", "conversation.updated", "conversation.archived", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.test", "domain.updated", "domain.warming.updated"]>>;
|
|
40640
40927
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40641
40928
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40642
40929
|
readonly hasCustomHeaders: Schema.Boolean;
|