samva 0.7.0 → 0.9.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 -30
- package/dist/client/types.gen.d.ts +133 -175
- package/dist/{client-5O8KsY5Z.js → client-DB7zbTti.js} +156 -209
- package/dist/{client-attribution-27MNycCV.js → client-attribution-vK1yjEdG.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 -568
- 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 -125
- package/dist/effect/templates.js +3 -5
- 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-Cdp1EI_1.js} +7 -6
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-C2yyw-pf.js → promises-DoEUUjNM.js} +51 -63
- package/dist/service-map.d.ts +9 -5
- 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<{
|
|
@@ -16591,194 +16670,6 @@ export type TemplatesWorkspaceHistory500 = InternalError;
|
|
|
16591
16670
|
export declare const TemplatesWorkspaceHistory500: typeof InternalError;
|
|
16592
16671
|
export type TemplatesWorkspaceHistory504 = GatewayTimeoutError;
|
|
16593
16672
|
export declare const TemplatesWorkspaceHistory504: typeof GatewayTimeoutError;
|
|
16594
|
-
export type TemplatesReconcileWorkspacePathParams = {
|
|
16595
|
-
readonly id: TemplateId;
|
|
16596
|
-
};
|
|
16597
|
-
export declare const TemplatesReconcileWorkspacePathParams: Schema.Struct<{
|
|
16598
|
-
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
16599
|
-
}>;
|
|
16600
|
-
export type TemplatesReconcileWorkspaceRequestJson = {
|
|
16601
|
-
readonly expectedRevision: string;
|
|
16602
|
-
readonly assetResolution?: "draft" | "remote";
|
|
16603
|
-
readonly expectedRemoteHead?: string;
|
|
16604
|
-
readonly idempotencyKey: string;
|
|
16605
|
-
};
|
|
16606
|
-
export declare const TemplatesReconcileWorkspaceRequestJson: Schema.Struct<{
|
|
16607
|
-
readonly expectedRevision: Schema.String;
|
|
16608
|
-
readonly assetResolution: Schema.optionalKey<Schema.Literals<readonly ["draft", "remote"]>>;
|
|
16609
|
-
readonly expectedRemoteHead: Schema.optionalKey<Schema.String>;
|
|
16610
|
-
readonly idempotencyKey: Schema.String;
|
|
16611
|
-
}>;
|
|
16612
|
-
export type TemplatesReconcileWorkspace200 = {
|
|
16613
|
-
readonly workspace: {
|
|
16614
|
-
readonly projectId: TemplateProjectId;
|
|
16615
|
-
readonly organizationId: OrganizationId | null;
|
|
16616
|
-
readonly ownerEpoch: number;
|
|
16617
|
-
readonly repositoryName: string;
|
|
16618
|
-
readonly defaultBranch: string;
|
|
16619
|
-
readonly baseCommit: string;
|
|
16620
|
-
readonly remoteHead: string;
|
|
16621
|
-
readonly pendingRemoteHead: string | null;
|
|
16622
|
-
readonly revision: string;
|
|
16623
|
-
readonly overlay: {
|
|
16624
|
-
readonly [x: string]: string | null;
|
|
16625
|
-
};
|
|
16626
|
-
readonly assetChanges: ReadonlyArray<{
|
|
16627
|
-
readonly path: string;
|
|
16628
|
-
readonly status: "added" | "modified" | "deleted";
|
|
16629
|
-
}>;
|
|
16630
|
-
readonly conflicts: ReadonlyArray<{
|
|
16631
|
-
readonly path: string;
|
|
16632
|
-
readonly base: string | null;
|
|
16633
|
-
readonly draft: string | null;
|
|
16634
|
-
readonly main: string | null;
|
|
16635
|
-
}>;
|
|
16636
|
-
readonly provenance: {
|
|
16637
|
-
readonly references: ReadonlyArray<{
|
|
16638
|
-
readonly kind: string;
|
|
16639
|
-
readonly digest: string;
|
|
16640
|
-
readonly locator?: string;
|
|
16641
|
-
}>;
|
|
16642
|
-
};
|
|
16643
|
-
readonly mounts: ReadonlyArray<{
|
|
16644
|
-
readonly kind: "project";
|
|
16645
|
-
readonly root: "/project";
|
|
16646
|
-
readonly access: "read-write";
|
|
16647
|
-
} | {
|
|
16648
|
-
readonly root: string;
|
|
16649
|
-
readonly digest: string;
|
|
16650
|
-
readonly fileCount: number;
|
|
16651
|
-
readonly byteSize: number;
|
|
16652
|
-
readonly kind: "started-from";
|
|
16653
|
-
readonly access: "read-only";
|
|
16654
|
-
readonly templateId: string;
|
|
16655
|
-
readonly slug: string;
|
|
16656
|
-
readonly name: string;
|
|
16657
|
-
} | {
|
|
16658
|
-
readonly root: string;
|
|
16659
|
-
readonly digest: string;
|
|
16660
|
-
readonly fileCount: number;
|
|
16661
|
-
readonly byteSize: number;
|
|
16662
|
-
readonly kind: "resource";
|
|
16663
|
-
readonly access: "read-only";
|
|
16664
|
-
readonly resourceId: string;
|
|
16665
|
-
readonly name: string;
|
|
16666
|
-
} | {
|
|
16667
|
-
readonly root: string;
|
|
16668
|
-
readonly digest: string;
|
|
16669
|
-
readonly fileCount: number;
|
|
16670
|
-
readonly byteSize: number;
|
|
16671
|
-
readonly kind: "library-template";
|
|
16672
|
-
readonly access: "read-only";
|
|
16673
|
-
readonly templateId: string;
|
|
16674
|
-
readonly slug: string;
|
|
16675
|
-
readonly name: string;
|
|
16676
|
-
}>;
|
|
16677
|
-
readonly libraryManifestDigest: string;
|
|
16678
|
-
readonly createdAt: string;
|
|
16679
|
-
readonly updatedAt: string;
|
|
16680
|
-
readonly createdBy: {
|
|
16681
|
-
readonly userId: UserId;
|
|
16682
|
-
readonly via: "api" | "mcp" | "agent";
|
|
16683
|
-
};
|
|
16684
|
-
readonly updatedBy: {
|
|
16685
|
-
readonly userId: UserId;
|
|
16686
|
-
readonly via: "api" | "mcp" | "agent";
|
|
16687
|
-
};
|
|
16688
|
-
};
|
|
16689
|
-
readonly files: {
|
|
16690
|
-
readonly [x: string]: string;
|
|
16691
|
-
};
|
|
16692
|
-
};
|
|
16693
|
-
export declare const TemplatesReconcileWorkspace200: Schema.Struct<{
|
|
16694
|
-
readonly workspace: Schema.Struct<{
|
|
16695
|
-
readonly projectId: Schema.brand<Schema.String, "TemplateProjectId">;
|
|
16696
|
-
readonly organizationId: Schema.Union<readonly [Schema.brand<Schema.String, "OrganizationId">, Schema.Null]>;
|
|
16697
|
-
readonly ownerEpoch: Schema.Finite;
|
|
16698
|
-
readonly repositoryName: Schema.String;
|
|
16699
|
-
readonly defaultBranch: Schema.String;
|
|
16700
|
-
readonly baseCommit: Schema.String;
|
|
16701
|
-
readonly remoteHead: Schema.String;
|
|
16702
|
-
readonly pendingRemoteHead: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
16703
|
-
readonly revision: Schema.String;
|
|
16704
|
-
readonly overlay: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
16705
|
-
readonly assetChanges: Schema.$Array<Schema.Struct<{
|
|
16706
|
-
readonly path: Schema.String;
|
|
16707
|
-
readonly status: Schema.Literals<readonly ["added", "modified", "deleted"]>;
|
|
16708
|
-
}>>;
|
|
16709
|
-
readonly conflicts: Schema.$Array<Schema.Struct<{
|
|
16710
|
-
readonly path: Schema.String;
|
|
16711
|
-
readonly base: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
16712
|
-
readonly draft: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
16713
|
-
readonly main: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
16714
|
-
}>>;
|
|
16715
|
-
readonly provenance: Schema.Struct<{
|
|
16716
|
-
readonly references: Schema.$Array<Schema.Struct<{
|
|
16717
|
-
readonly kind: Schema.String;
|
|
16718
|
-
readonly digest: Schema.String;
|
|
16719
|
-
readonly locator: Schema.optionalKey<Schema.String>;
|
|
16720
|
-
}>>;
|
|
16721
|
-
}>;
|
|
16722
|
-
readonly mounts: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
16723
|
-
readonly kind: Schema.Literal<"project">;
|
|
16724
|
-
readonly root: Schema.Literal<"/project">;
|
|
16725
|
-
readonly access: Schema.Literal<"read-write">;
|
|
16726
|
-
}>, Schema.Struct<{
|
|
16727
|
-
readonly root: Schema.String;
|
|
16728
|
-
readonly digest: Schema.String;
|
|
16729
|
-
readonly fileCount: Schema.Finite;
|
|
16730
|
-
readonly byteSize: Schema.Finite;
|
|
16731
|
-
readonly kind: Schema.Literal<"started-from">;
|
|
16732
|
-
readonly access: Schema.Literal<"read-only">;
|
|
16733
|
-
readonly templateId: Schema.String;
|
|
16734
|
-
readonly slug: Schema.String;
|
|
16735
|
-
readonly name: Schema.String;
|
|
16736
|
-
}>, Schema.Struct<{
|
|
16737
|
-
readonly root: Schema.String;
|
|
16738
|
-
readonly digest: Schema.String;
|
|
16739
|
-
readonly fileCount: Schema.Finite;
|
|
16740
|
-
readonly byteSize: Schema.Finite;
|
|
16741
|
-
readonly kind: Schema.Literal<"resource">;
|
|
16742
|
-
readonly access: Schema.Literal<"read-only">;
|
|
16743
|
-
readonly resourceId: Schema.String;
|
|
16744
|
-
readonly name: Schema.String;
|
|
16745
|
-
}>, Schema.Struct<{
|
|
16746
|
-
readonly root: Schema.String;
|
|
16747
|
-
readonly digest: Schema.String;
|
|
16748
|
-
readonly fileCount: Schema.Finite;
|
|
16749
|
-
readonly byteSize: Schema.Finite;
|
|
16750
|
-
readonly kind: Schema.Literal<"library-template">;
|
|
16751
|
-
readonly access: Schema.Literal<"read-only">;
|
|
16752
|
-
readonly templateId: Schema.String;
|
|
16753
|
-
readonly slug: Schema.String;
|
|
16754
|
-
readonly name: Schema.String;
|
|
16755
|
-
}>]>>;
|
|
16756
|
-
readonly libraryManifestDigest: Schema.String;
|
|
16757
|
-
readonly createdAt: Schema.String;
|
|
16758
|
-
readonly updatedAt: Schema.String;
|
|
16759
|
-
readonly createdBy: Schema.Struct<{
|
|
16760
|
-
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
16761
|
-
readonly via: Schema.Literals<readonly ["api", "mcp", "agent"]>;
|
|
16762
|
-
}>;
|
|
16763
|
-
readonly updatedBy: Schema.Struct<{
|
|
16764
|
-
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
16765
|
-
readonly via: Schema.Literals<readonly ["api", "mcp", "agent"]>;
|
|
16766
|
-
}>;
|
|
16767
|
-
}>;
|
|
16768
|
-
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
16769
|
-
}>;
|
|
16770
|
-
export type TemplatesReconcileWorkspace401 = UnauthorizedError;
|
|
16771
|
-
export declare const TemplatesReconcileWorkspace401: typeof UnauthorizedError;
|
|
16772
|
-
export type TemplatesReconcileWorkspace403 = ForbiddenError;
|
|
16773
|
-
export declare const TemplatesReconcileWorkspace403: typeof ForbiddenError;
|
|
16774
|
-
export type TemplatesReconcileWorkspace404 = ResourceNotFoundError;
|
|
16775
|
-
export declare const TemplatesReconcileWorkspace404: typeof ResourceNotFoundError;
|
|
16776
|
-
export type TemplatesReconcileWorkspace409 = ConflictError;
|
|
16777
|
-
export declare const TemplatesReconcileWorkspace409: typeof ConflictError;
|
|
16778
|
-
export type TemplatesReconcileWorkspace500 = InternalError;
|
|
16779
|
-
export declare const TemplatesReconcileWorkspace500: typeof InternalError;
|
|
16780
|
-
export type TemplatesReconcileWorkspace504 = GatewayTimeoutError;
|
|
16781
|
-
export declare const TemplatesReconcileWorkspace504: typeof GatewayTimeoutError;
|
|
16782
16673
|
export type TemplatesAttachWorkspaceResourcePathParams = {
|
|
16783
16674
|
readonly id: TemplateId;
|
|
16784
16675
|
};
|
|
@@ -17878,6 +17769,7 @@ export type UnsubscribeList200 = {
|
|
|
17878
17769
|
readonly organizationId: string;
|
|
17879
17770
|
readonly name: string;
|
|
17880
17771
|
readonly description: string | null;
|
|
17772
|
+
readonly isDefault: boolean;
|
|
17881
17773
|
readonly memberCount: number;
|
|
17882
17774
|
readonly createdAt: string;
|
|
17883
17775
|
readonly updatedAt: string;
|
|
@@ -17890,6 +17782,7 @@ export declare const UnsubscribeList200: Schema.Struct<{
|
|
|
17890
17782
|
readonly organizationId: Schema.String;
|
|
17891
17783
|
readonly name: Schema.String;
|
|
17892
17784
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
17785
|
+
readonly isDefault: Schema.Boolean;
|
|
17893
17786
|
readonly memberCount: Schema.Finite;
|
|
17894
17787
|
readonly createdAt: Schema.String;
|
|
17895
17788
|
readonly updatedAt: Schema.String;
|
|
@@ -17922,6 +17815,7 @@ export type UnsubscribeCreate201 = {
|
|
|
17922
17815
|
readonly organizationId: string;
|
|
17923
17816
|
readonly name: string;
|
|
17924
17817
|
readonly description: string | null;
|
|
17818
|
+
readonly isDefault: boolean;
|
|
17925
17819
|
readonly memberCount: number;
|
|
17926
17820
|
readonly createdAt: string;
|
|
17927
17821
|
readonly updatedAt: string;
|
|
@@ -17931,6 +17825,7 @@ export declare const UnsubscribeCreate201: Schema.Struct<{
|
|
|
17931
17825
|
readonly organizationId: Schema.String;
|
|
17932
17826
|
readonly name: Schema.String;
|
|
17933
17827
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
17828
|
+
readonly isDefault: Schema.Boolean;
|
|
17934
17829
|
readonly memberCount: Schema.Finite;
|
|
17935
17830
|
readonly createdAt: Schema.String;
|
|
17936
17831
|
readonly updatedAt: Schema.String;
|
|
@@ -18072,6 +17967,8 @@ export type UnsubscribeRemove403 = ForbiddenError;
|
|
|
18072
17967
|
export declare const UnsubscribeRemove403: typeof ForbiddenError;
|
|
18073
17968
|
export type UnsubscribeRemove404 = ResourceNotFoundError;
|
|
18074
17969
|
export declare const UnsubscribeRemove404: typeof ResourceNotFoundError;
|
|
17970
|
+
export type UnsubscribeRemove409 = ConflictError;
|
|
17971
|
+
export declare const UnsubscribeRemove409: typeof ConflictError;
|
|
18075
17972
|
export type UnsubscribeRemove500 = InternalError;
|
|
18076
17973
|
export declare const UnsubscribeRemove500: typeof InternalError;
|
|
18077
17974
|
export type UnsubscribeRemove504 = GatewayTimeoutError;
|
|
@@ -18095,6 +17992,7 @@ export type UnsubscribeUpdate200 = {
|
|
|
18095
17992
|
readonly organizationId: string;
|
|
18096
17993
|
readonly name: string;
|
|
18097
17994
|
readonly description: string | null;
|
|
17995
|
+
readonly isDefault: boolean;
|
|
18098
17996
|
readonly memberCount: number;
|
|
18099
17997
|
readonly createdAt: string;
|
|
18100
17998
|
readonly updatedAt: string;
|
|
@@ -18104,6 +18002,7 @@ export declare const UnsubscribeUpdate200: Schema.Struct<{
|
|
|
18104
18002
|
readonly organizationId: Schema.String;
|
|
18105
18003
|
readonly name: Schema.String;
|
|
18106
18004
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
18005
|
+
readonly isDefault: Schema.Boolean;
|
|
18107
18006
|
readonly memberCount: Schema.Finite;
|
|
18108
18007
|
readonly createdAt: Schema.String;
|
|
18109
18008
|
readonly updatedAt: Schema.String;
|
|
@@ -18118,6 +18017,42 @@ export type UnsubscribeUpdate500 = InternalError;
|
|
|
18118
18017
|
export declare const UnsubscribeUpdate500: typeof InternalError;
|
|
18119
18018
|
export type UnsubscribeUpdate504 = GatewayTimeoutError;
|
|
18120
18019
|
export declare const UnsubscribeUpdate504: typeof GatewayTimeoutError;
|
|
18020
|
+
export type UnsubscribeSetDefaultPathParams = {
|
|
18021
|
+
readonly id: UnsubscribeId;
|
|
18022
|
+
};
|
|
18023
|
+
export declare const UnsubscribeSetDefaultPathParams: Schema.Struct<{
|
|
18024
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
18025
|
+
}>;
|
|
18026
|
+
export type UnsubscribeSetDefault200 = {
|
|
18027
|
+
readonly id: UnsubscribeId;
|
|
18028
|
+
readonly organizationId: string;
|
|
18029
|
+
readonly name: string;
|
|
18030
|
+
readonly description: string | null;
|
|
18031
|
+
readonly isDefault: boolean;
|
|
18032
|
+
readonly memberCount: number;
|
|
18033
|
+
readonly createdAt: string;
|
|
18034
|
+
readonly updatedAt: string;
|
|
18035
|
+
};
|
|
18036
|
+
export declare const UnsubscribeSetDefault200: Schema.Struct<{
|
|
18037
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
18038
|
+
readonly organizationId: Schema.String;
|
|
18039
|
+
readonly name: Schema.String;
|
|
18040
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
18041
|
+
readonly isDefault: Schema.Boolean;
|
|
18042
|
+
readonly memberCount: Schema.Finite;
|
|
18043
|
+
readonly createdAt: Schema.String;
|
|
18044
|
+
readonly updatedAt: Schema.String;
|
|
18045
|
+
}>;
|
|
18046
|
+
export type UnsubscribeSetDefault401 = UnauthorizedError;
|
|
18047
|
+
export declare const UnsubscribeSetDefault401: typeof UnauthorizedError;
|
|
18048
|
+
export type UnsubscribeSetDefault403 = ForbiddenError;
|
|
18049
|
+
export declare const UnsubscribeSetDefault403: typeof ForbiddenError;
|
|
18050
|
+
export type UnsubscribeSetDefault404 = ResourceNotFoundError;
|
|
18051
|
+
export declare const UnsubscribeSetDefault404: typeof ResourceNotFoundError;
|
|
18052
|
+
export type UnsubscribeSetDefault500 = InternalError;
|
|
18053
|
+
export declare const UnsubscribeSetDefault500: typeof InternalError;
|
|
18054
|
+
export type UnsubscribeSetDefault504 = GatewayTimeoutError;
|
|
18055
|
+
export declare const UnsubscribeSetDefault504: typeof GatewayTimeoutError;
|
|
18121
18056
|
export type UnsubscribeCheckSubscriptionQuery = {
|
|
18122
18057
|
readonly email: string;
|
|
18123
18058
|
readonly groupIds?: string | null;
|
|
@@ -18173,7 +18108,7 @@ export declare const WebhooksList200: Schema.Struct<{
|
|
|
18173
18108
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18174
18109
|
readonly name: Schema.String;
|
|
18175
18110
|
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"]>>;
|
|
18111
|
+
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
18112
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18178
18113
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18179
18114
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18207,7 +18142,7 @@ export declare const WebhooksList504: typeof GatewayTimeoutError;
|
|
|
18207
18142
|
export type WebhooksCreateRequestJson = {
|
|
18208
18143
|
readonly name: string;
|
|
18209
18144
|
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">;
|
|
18145
|
+
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
18146
|
readonly channels?: ReadonlyArray<"email"> | null;
|
|
18212
18147
|
readonly headers?: {
|
|
18213
18148
|
readonly [x: string]: string;
|
|
@@ -18217,7 +18152,7 @@ export type WebhooksCreateRequestJson = {
|
|
|
18217
18152
|
export declare const WebhooksCreateRequestJson: Schema.Struct<{
|
|
18218
18153
|
readonly name: Schema.String;
|
|
18219
18154
|
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"]>>;
|
|
18155
|
+
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
18156
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
18222
18157
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
18223
18158
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -18231,7 +18166,7 @@ export declare const WebhooksCreate201: Schema.Struct<{
|
|
|
18231
18166
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18232
18167
|
readonly name: Schema.String;
|
|
18233
18168
|
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"]>>;
|
|
18169
|
+
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
18170
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18236
18171
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18237
18172
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18269,7 +18204,7 @@ export declare const WebhooksGet200: Schema.Struct<{
|
|
|
18269
18204
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18270
18205
|
readonly name: Schema.String;
|
|
18271
18206
|
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"]>>;
|
|
18207
|
+
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
18208
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18274
18209
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18275
18210
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -18319,7 +18254,7 @@ export declare const WebhooksUpdatePathParams: Schema.Struct<{
|
|
|
18319
18254
|
export type WebhooksUpdateRequestJson = {
|
|
18320
18255
|
readonly name?: string | null;
|
|
18321
18256
|
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;
|
|
18257
|
+
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
18258
|
readonly channels?: ReadonlyArray<"email"> | null | null;
|
|
18324
18259
|
readonly headers?: {
|
|
18325
18260
|
readonly [x: string]: string;
|
|
@@ -18329,7 +18264,7 @@ export type WebhooksUpdateRequestJson = {
|
|
|
18329
18264
|
export declare const WebhooksUpdateRequestJson: Schema.Struct<{
|
|
18330
18265
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
18331
18266
|
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]>>;
|
|
18267
|
+
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
18268
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
18334
18269
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
18335
18270
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -18339,7 +18274,7 @@ export declare const WebhooksUpdate200: Schema.Struct<{
|
|
|
18339
18274
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
18340
18275
|
readonly name: Schema.String;
|
|
18341
18276
|
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"]>>;
|
|
18277
|
+
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
18278
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
18344
18279
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
18345
18280
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -20721,6 +20656,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
20721
20656
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
20722
20657
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
20723
20658
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
20659
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
20660
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
20724
20661
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
20725
20662
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
20726
20663
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -20872,6 +20809,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
20872
20809
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
20873
20810
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
20874
20811
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
20812
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
20813
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
20875
20814
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
20876
20815
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
20877
20816
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21020,6 +20959,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21020
20959
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21021
20960
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21022
20961
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
20962
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
20963
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21023
20964
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21024
20965
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21025
20966
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21066,6 +21007,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21066
21007
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21067
21008
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21068
21009
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21010
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21011
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21069
21012
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21070
21013
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21071
21014
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21182,6 +21125,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21182
21125
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21183
21126
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21184
21127
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21128
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21129
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21185
21130
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21186
21131
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21187
21132
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21311,6 +21256,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21311
21256
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21312
21257
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21313
21258
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21259
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21260
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21314
21261
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21315
21262
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21316
21263
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21432,6 +21379,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21432
21379
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21433
21380
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21434
21381
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21382
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21383
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21435
21384
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21436
21385
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21437
21386
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21638,6 +21587,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21638
21587
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21639
21588
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21640
21589
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21590
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21591
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21641
21592
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21642
21593
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21643
21594
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21770,6 +21721,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21770
21721
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21771
21722
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21772
21723
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21724
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21725
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21773
21726
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21774
21727
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21775
21728
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -21928,6 +21881,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
21928
21881
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
21929
21882
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
21930
21883
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
21884
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
21885
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
21931
21886
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
21932
21887
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
21933
21888
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22086,6 +22041,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22086
22041
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22087
22042
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22088
22043
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22044
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22045
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22089
22046
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22090
22047
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22091
22048
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22222,6 +22179,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22222
22179
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22223
22180
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22224
22181
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22182
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22183
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22225
22184
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22226
22185
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22227
22186
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -22268,6 +22227,8 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
|
|
|
22268
22227
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
22269
22228
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
22270
22229
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
22230
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
22231
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
22271
22232
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
22272
22233
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
22273
22234
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -25000,7 +24961,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25000
24961
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25001
24962
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25002
24963
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25003
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
24964
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25004
24965
|
readonly joinedAt: Schema.String;
|
|
25005
24966
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25006
24967
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25143,7 +25104,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25143
25104
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25144
25105
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25145
25106
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25146
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25107
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25147
25108
|
readonly joinedAt: Schema.String;
|
|
25148
25109
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25149
25110
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25201,7 +25162,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25201
25162
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25202
25163
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25203
25164
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25204
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25165
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25205
25166
|
readonly joinedAt: Schema.String;
|
|
25206
25167
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25207
25168
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25332,7 +25293,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25332
25293
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25333
25294
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25334
25295
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25335
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25296
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25336
25297
|
readonly joinedAt: Schema.String;
|
|
25337
25298
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25338
25299
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25379,7 +25340,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25379
25340
|
readonly createdBy: Schema.Union<readonly [Schema.brand<Schema.String, "ActorId">, Schema.Null]>;
|
|
25380
25341
|
readonly participants: Schema.$Array<Schema.Struct<{
|
|
25381
25342
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25382
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25343
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25383
25344
|
readonly contact: Schema.Struct<{
|
|
25384
25345
|
readonly id: Schema.String;
|
|
25385
25346
|
readonly name: Schema.String;
|
|
@@ -25481,7 +25442,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25481
25442
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25482
25443
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25483
25444
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25484
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25445
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25485
25446
|
readonly joinedAt: Schema.String;
|
|
25486
25447
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25487
25448
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -25849,7 +25810,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
25849
25810
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
25850
25811
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
25851
25812
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
25852
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25813
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
25853
25814
|
readonly joinedAt: Schema.String;
|
|
25854
25815
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
25855
25816
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -26012,7 +25973,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
26012
25973
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
26013
25974
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
26014
25975
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
26015
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
25976
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
26016
25977
|
readonly joinedAt: Schema.String;
|
|
26017
25978
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
26018
25979
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -26052,7 +26013,7 @@ declare const ConversationsGroup_base: HttpApiGroup.HttpApiGroup<"Conversations"
|
|
|
26052
26013
|
readonly activeActorIds: Schema.$Array<Schema.brand<Schema.String, "ActorId">>;
|
|
26053
26014
|
readonly actorHistory: Schema.$Array<Schema.Struct<{
|
|
26054
26015
|
readonly actorId: Schema.brand<Schema.String, "ActorId">;
|
|
26055
|
-
readonly actorType: Schema.Literals<readonly ["contact", "system", "
|
|
26016
|
+
readonly actorType: Schema.Literals<readonly ["contact", "system", "sender", "agent", "user"]>;
|
|
26056
26017
|
readonly joinedAt: Schema.String;
|
|
26057
26018
|
readonly leftAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
26058
26019
|
readonly role: Schema.Literals<readonly ["initiator", "responder", "observer"]>;
|
|
@@ -33269,6 +33230,8 @@ declare const MessagesGroup_base: HttpApiGroup.HttpApiGroup<"Messages", HttpApiE
|
|
|
33269
33230
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33270
33231
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33271
33232
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33233
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33234
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33272
33235
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33273
33236
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33274
33237
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33638,6 +33601,8 @@ declare const MessagesGroup_base: HttpApiGroup.HttpApiGroup<"Messages", HttpApiE
|
|
|
33638
33601
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33639
33602
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33640
33603
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33604
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33605
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33641
33606
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33642
33607
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33643
33608
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33795,6 +33760,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
33795
33760
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33796
33761
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33797
33762
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33763
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33764
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33798
33765
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33799
33766
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33800
33767
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -33940,6 +33907,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
33940
33907
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
33941
33908
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
33942
33909
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33910
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33911
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
33943
33912
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
33944
33913
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
33945
33914
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34006,6 +33975,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34006
33975
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34007
33976
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34008
33977
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
33978
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
33979
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34009
33980
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34010
33981
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34011
33982
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34160,6 +34131,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34160
34131
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34161
34132
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34162
34133
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34134
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34135
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34163
34136
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34164
34137
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34165
34138
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34293,6 +34266,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34293
34266
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34294
34267
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34295
34268
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34269
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34270
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34296
34271
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34297
34272
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34298
34273
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34419,6 +34394,8 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
|
|
|
34419
34394
|
readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
|
|
34420
34395
|
readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
34421
34396
|
readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
34397
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
34398
|
+
readonly timeZone: Schema.optionalKey<Schema.String>;
|
|
34422
34399
|
readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
|
|
34423
34400
|
readonly replyTo: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>, Schema.Null]>>;
|
|
34424
34401
|
readonly unsubscribeGroupId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "UnsubscribeId">, Schema.Null]>>;
|
|
@@ -34836,7 +34813,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
34836
34813
|
readonly updatedAt: Schema.String;
|
|
34837
34814
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
34838
34815
|
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
34816
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
34841
34817
|
readonly messagesUsed: Schema.Finite;
|
|
34842
34818
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35069,7 +35045,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35069
35045
|
readonly updatedAt: Schema.String;
|
|
35070
35046
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
35071
35047
|
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
35048
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
35074
35049
|
readonly messagesUsed: Schema.Finite;
|
|
35075
35050
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35135,6 +35110,50 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35135
35110
|
}>, Schema.Struct<{
|
|
35136
35111
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35137
35112
|
readonly message: Schema.String;
|
|
35113
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsGetProfile", "GET", "/v1/organizations/current/profile", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
35114
|
+
readonly id: Schema.String;
|
|
35115
|
+
readonly name: Schema.String;
|
|
35116
|
+
readonly nickname: Schema.String;
|
|
35117
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
35118
|
+
readonly _tag: "ForbiddenError";
|
|
35119
|
+
readonly message: string;
|
|
35120
|
+
}, readonly [Schema.Struct<{
|
|
35121
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
35122
|
+
readonly message: Schema.String;
|
|
35123
|
+
}>], {
|
|
35124
|
+
readonly _tag: "ForbiddenError";
|
|
35125
|
+
readonly message: string;
|
|
35126
|
+
}>, Schema.Struct<{
|
|
35127
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
35128
|
+
readonly message: Schema.String;
|
|
35129
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
35130
|
+
readonly _tag: "GatewayTimeoutError";
|
|
35131
|
+
readonly message: string;
|
|
35132
|
+
readonly retryAfterSeconds: number;
|
|
35133
|
+
}, readonly [Schema.Struct<{
|
|
35134
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
35135
|
+
readonly message: Schema.String;
|
|
35136
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
35137
|
+
}>], {
|
|
35138
|
+
readonly _tag: "GatewayTimeoutError";
|
|
35139
|
+
readonly message: string;
|
|
35140
|
+
readonly retryAfterSeconds: number;
|
|
35141
|
+
}>, Schema.Struct<{
|
|
35142
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
35143
|
+
readonly message: Schema.String;
|
|
35144
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
35145
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
35146
|
+
readonly _tag: "UnauthorizedError";
|
|
35147
|
+
readonly message: string;
|
|
35148
|
+
}, readonly [Schema.Struct<{
|
|
35149
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35150
|
+
readonly message: Schema.String;
|
|
35151
|
+
}>], {
|
|
35152
|
+
readonly _tag: "UnauthorizedError";
|
|
35153
|
+
readonly message: string;
|
|
35154
|
+
}>, Schema.Struct<{
|
|
35155
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
35156
|
+
readonly message: Schema.String;
|
|
35138
35157
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsGetUsage", "GET", "/v1/organizations/usage", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
35139
35158
|
readonly period: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["current", "last_30_days", "last_90_days", "last_year"]>, Schema.Null]>>;
|
|
35140
35159
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -35200,7 +35219,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35200
35219
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
35201
35220
|
readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
|
|
35202
35221
|
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
35222
|
readonly emailFooterEnabledDefault: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Boolean, Schema.Null]>, Schema.Null]>>;
|
|
35205
35223
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
35206
35224
|
readonly id: Schema.String;
|
|
@@ -35215,7 +35233,6 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
35215
35233
|
readonly updatedAt: Schema.String;
|
|
35216
35234
|
readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
35217
35235
|
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
35236
|
readonly emailFooterEnabledDefault: Schema.Union<readonly [Schema.Boolean, Schema.Null]>;
|
|
35220
35237
|
readonly messagesUsed: Schema.Finite;
|
|
35221
35238
|
readonly messagesUsedThisMonth: Schema.Finite;
|
|
@@ -35744,10 +35761,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
35744
35761
|
readonly schemaDigest: Schema.String;
|
|
35745
35762
|
readonly contractDigest: Schema.String;
|
|
35746
35763
|
}>;
|
|
35747
|
-
readonly runtime: Schema.Struct<{
|
|
35748
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
35749
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
35750
|
-
}>;
|
|
35751
35764
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
35752
35765
|
}>, Schema.Null]>;
|
|
35753
35766
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -36784,26 +36797,16 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
36784
36797
|
readonly buildIdentity: Schema.String;
|
|
36785
36798
|
readonly manifest: Schema.Struct<{
|
|
36786
36799
|
readonly templateKey: Schema.String;
|
|
36787
|
-
readonly
|
|
36788
|
-
readonly
|
|
36800
|
+
readonly ir: Schema.Struct<{
|
|
36801
|
+
readonly version: Schema.Finite;
|
|
36802
|
+
readonly digest: Schema.String;
|
|
36789
36803
|
readonly bytes: Schema.Finite;
|
|
36790
36804
|
}>;
|
|
36805
|
+
readonly compiler: Schema.String;
|
|
36791
36806
|
readonly input: Schema.Struct<{
|
|
36792
36807
|
readonly schemaDigest: Schema.String;
|
|
36793
36808
|
readonly contractDigest: Schema.String;
|
|
36794
36809
|
}>;
|
|
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
36810
|
readonly assets: Schema.Struct<{
|
|
36808
36811
|
readonly base: Schema.String;
|
|
36809
36812
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -36844,11 +36847,21 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
36844
36847
|
readonly url: Schema.String;
|
|
36845
36848
|
}>>, Schema.Null]>>;
|
|
36846
36849
|
}>;
|
|
36850
|
+
readonly renderedFooter: Schema.Struct<{
|
|
36851
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
36852
|
+
readonly html: Schema.String;
|
|
36853
|
+
readonly text: Schema.String;
|
|
36854
|
+
}>;
|
|
36855
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
36856
|
+
readonly html: Schema.String;
|
|
36857
|
+
readonly text: Schema.String;
|
|
36858
|
+
}>;
|
|
36859
|
+
}>;
|
|
36847
36860
|
readonly digest: Schema.String;
|
|
36848
36861
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
36849
36862
|
}>>;
|
|
36850
36863
|
}>;
|
|
36851
|
-
readonly
|
|
36864
|
+
readonly ir: Schema.Struct<{
|
|
36852
36865
|
readonly key: Schema.String;
|
|
36853
36866
|
readonly digest: Schema.String;
|
|
36854
36867
|
}>;
|
|
@@ -37619,26 +37632,16 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
37619
37632
|
readonly buildIdentity: Schema.String;
|
|
37620
37633
|
readonly manifest: Schema.Struct<{
|
|
37621
37634
|
readonly templateKey: Schema.String;
|
|
37622
|
-
readonly
|
|
37623
|
-
readonly
|
|
37635
|
+
readonly ir: Schema.Struct<{
|
|
37636
|
+
readonly version: Schema.Finite;
|
|
37637
|
+
readonly digest: Schema.String;
|
|
37624
37638
|
readonly bytes: Schema.Finite;
|
|
37625
37639
|
}>;
|
|
37640
|
+
readonly compiler: Schema.String;
|
|
37626
37641
|
readonly input: Schema.Struct<{
|
|
37627
37642
|
readonly schemaDigest: Schema.String;
|
|
37628
37643
|
readonly contractDigest: Schema.String;
|
|
37629
37644
|
}>;
|
|
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
37645
|
readonly assets: Schema.Struct<{
|
|
37643
37646
|
readonly base: Schema.String;
|
|
37644
37647
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
@@ -37679,11 +37682,21 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
37679
37682
|
readonly url: Schema.String;
|
|
37680
37683
|
}>>, Schema.Null]>>;
|
|
37681
37684
|
}>;
|
|
37685
|
+
readonly renderedFooter: Schema.Struct<{
|
|
37686
|
+
readonly withUnsubscribe: Schema.Struct<{
|
|
37687
|
+
readonly html: Schema.String;
|
|
37688
|
+
readonly text: Schema.String;
|
|
37689
|
+
}>;
|
|
37690
|
+
readonly withoutUnsubscribe: Schema.Struct<{
|
|
37691
|
+
readonly html: Schema.String;
|
|
37692
|
+
readonly text: Schema.String;
|
|
37693
|
+
}>;
|
|
37694
|
+
}>;
|
|
37682
37695
|
readonly digest: Schema.String;
|
|
37683
37696
|
readonly rendersFooter: Schema.Literals<readonly ["every", "some", "none"]>;
|
|
37684
37697
|
}>>;
|
|
37685
37698
|
}>;
|
|
37686
|
-
readonly
|
|
37699
|
+
readonly ir: Schema.Struct<{
|
|
37687
37700
|
readonly key: Schema.String;
|
|
37688
37701
|
readonly digest: Schema.String;
|
|
37689
37702
|
}>;
|
|
@@ -38021,165 +38034,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
38021
38034
|
readonly _tag: Schema.tag<"ValidationError">;
|
|
38022
38035
|
readonly message: Schema.String;
|
|
38023
38036
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
38024
|
-
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesReconcileWorkspace", "POST", "/v1/templates/:id/workspace/reconcile", Schema.toCodecStringTree<Schema.Struct<{
|
|
38025
|
-
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
38026
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
38027
|
-
readonly expectedRevision: Schema.String;
|
|
38028
|
-
readonly assetResolution: Schema.optionalKey<Schema.Literals<readonly ["draft", "remote"]>>;
|
|
38029
|
-
readonly expectedRemoteHead: Schema.optionalKey<Schema.String>;
|
|
38030
|
-
readonly idempotencyKey: Schema.String;
|
|
38031
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
38032
|
-
readonly workspace: Schema.Struct<{
|
|
38033
|
-
readonly projectId: Schema.brand<Schema.String, "TemplateProjectId">;
|
|
38034
|
-
readonly organizationId: Schema.Union<readonly [Schema.brand<Schema.String, "OrganizationId">, Schema.Null]>;
|
|
38035
|
-
readonly ownerEpoch: Schema.Finite;
|
|
38036
|
-
readonly repositoryName: Schema.String;
|
|
38037
|
-
readonly defaultBranch: Schema.String;
|
|
38038
|
-
readonly baseCommit: Schema.String;
|
|
38039
|
-
readonly remoteHead: Schema.String;
|
|
38040
|
-
readonly pendingRemoteHead: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38041
|
-
readonly revision: Schema.String;
|
|
38042
|
-
readonly overlay: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
38043
|
-
readonly assetChanges: Schema.$Array<Schema.Struct<{
|
|
38044
|
-
readonly path: Schema.String;
|
|
38045
|
-
readonly status: Schema.Literals<readonly ["added", "modified", "deleted"]>;
|
|
38046
|
-
}>>;
|
|
38047
|
-
readonly conflicts: Schema.$Array<Schema.Struct<{
|
|
38048
|
-
readonly path: Schema.String;
|
|
38049
|
-
readonly base: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38050
|
-
readonly draft: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38051
|
-
readonly main: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
38052
|
-
}>>;
|
|
38053
|
-
readonly provenance: Schema.Struct<{
|
|
38054
|
-
readonly references: Schema.$Array<Schema.Struct<{
|
|
38055
|
-
readonly kind: Schema.String;
|
|
38056
|
-
readonly digest: Schema.String;
|
|
38057
|
-
readonly locator: Schema.optionalKey<Schema.String>;
|
|
38058
|
-
}>>;
|
|
38059
|
-
}>;
|
|
38060
|
-
readonly mounts: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
38061
|
-
readonly kind: Schema.Literal<"project">;
|
|
38062
|
-
readonly root: Schema.Literal<"/project">;
|
|
38063
|
-
readonly access: Schema.Literal<"read-write">;
|
|
38064
|
-
}>, Schema.Struct<{
|
|
38065
|
-
readonly root: Schema.String;
|
|
38066
|
-
readonly digest: Schema.String;
|
|
38067
|
-
readonly fileCount: Schema.Finite;
|
|
38068
|
-
readonly byteSize: Schema.Finite;
|
|
38069
|
-
readonly kind: Schema.Literal<"started-from">;
|
|
38070
|
-
readonly access: Schema.Literal<"read-only">;
|
|
38071
|
-
readonly templateId: Schema.String;
|
|
38072
|
-
readonly slug: Schema.String;
|
|
38073
|
-
readonly name: Schema.String;
|
|
38074
|
-
}>, Schema.Struct<{
|
|
38075
|
-
readonly root: Schema.String;
|
|
38076
|
-
readonly digest: Schema.String;
|
|
38077
|
-
readonly fileCount: Schema.Finite;
|
|
38078
|
-
readonly byteSize: Schema.Finite;
|
|
38079
|
-
readonly kind: Schema.Literal<"resource">;
|
|
38080
|
-
readonly access: Schema.Literal<"read-only">;
|
|
38081
|
-
readonly resourceId: Schema.String;
|
|
38082
|
-
readonly name: Schema.String;
|
|
38083
|
-
}>, Schema.Struct<{
|
|
38084
|
-
readonly root: Schema.String;
|
|
38085
|
-
readonly digest: Schema.String;
|
|
38086
|
-
readonly fileCount: Schema.Finite;
|
|
38087
|
-
readonly byteSize: Schema.Finite;
|
|
38088
|
-
readonly kind: Schema.Literal<"library-template">;
|
|
38089
|
-
readonly access: Schema.Literal<"read-only">;
|
|
38090
|
-
readonly templateId: Schema.String;
|
|
38091
|
-
readonly slug: Schema.String;
|
|
38092
|
-
readonly name: Schema.String;
|
|
38093
|
-
}>]>>;
|
|
38094
|
-
readonly libraryManifestDigest: Schema.String;
|
|
38095
|
-
readonly createdAt: Schema.String;
|
|
38096
|
-
readonly updatedAt: Schema.String;
|
|
38097
|
-
readonly createdBy: Schema.Struct<{
|
|
38098
|
-
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
38099
|
-
readonly via: Schema.Literals<readonly ["api", "mcp", "agent"]>;
|
|
38100
|
-
}>;
|
|
38101
|
-
readonly updatedBy: Schema.Struct<{
|
|
38102
|
-
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
38103
|
-
readonly via: Schema.Literals<readonly ["api", "mcp", "agent"]>;
|
|
38104
|
-
}>;
|
|
38105
|
-
}>;
|
|
38106
|
-
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
38107
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
38108
|
-
readonly _tag: "ConflictError";
|
|
38109
|
-
readonly message: string;
|
|
38110
|
-
readonly resource: string;
|
|
38111
|
-
readonly id?: string | null;
|
|
38112
|
-
}, readonly [Schema.Struct<{
|
|
38113
|
-
readonly _tag: Schema.tag<"ConflictError">;
|
|
38114
|
-
readonly message: Schema.String;
|
|
38115
|
-
readonly resource: Schema.String;
|
|
38116
|
-
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
38117
|
-
}>], {
|
|
38118
|
-
readonly _tag: "ConflictError";
|
|
38119
|
-
readonly message: string;
|
|
38120
|
-
readonly resource: string;
|
|
38121
|
-
readonly id?: string | null;
|
|
38122
|
-
}>, Schema.Struct<{
|
|
38123
|
-
readonly _tag: Schema.tag<"ConflictError">;
|
|
38124
|
-
readonly message: Schema.String;
|
|
38125
|
-
readonly resource: Schema.String;
|
|
38126
|
-
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
38127
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
38128
|
-
readonly _tag: "ForbiddenError";
|
|
38129
|
-
readonly message: string;
|
|
38130
|
-
}, readonly [Schema.Struct<{
|
|
38131
|
-
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
38132
|
-
readonly message: Schema.String;
|
|
38133
|
-
}>], {
|
|
38134
|
-
readonly _tag: "ForbiddenError";
|
|
38135
|
-
readonly message: string;
|
|
38136
|
-
}>, Schema.Struct<{
|
|
38137
|
-
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
38138
|
-
readonly message: Schema.String;
|
|
38139
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
38140
|
-
readonly _tag: "GatewayTimeoutError";
|
|
38141
|
-
readonly message: string;
|
|
38142
|
-
readonly retryAfterSeconds: number;
|
|
38143
|
-
}, readonly [Schema.Struct<{
|
|
38144
|
-
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
38145
|
-
readonly message: Schema.String;
|
|
38146
|
-
readonly retryAfterSeconds: Schema.Finite;
|
|
38147
|
-
}>], {
|
|
38148
|
-
readonly _tag: "GatewayTimeoutError";
|
|
38149
|
-
readonly message: string;
|
|
38150
|
-
readonly retryAfterSeconds: number;
|
|
38151
|
-
}>, Schema.Struct<{
|
|
38152
|
-
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
38153
|
-
readonly message: Schema.String;
|
|
38154
|
-
readonly retryAfterSeconds: Schema.Finite;
|
|
38155
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
38156
|
-
readonly _tag: "ResourceNotFoundError";
|
|
38157
|
-
readonly resource: string;
|
|
38158
|
-
readonly id: string;
|
|
38159
|
-
}, readonly [Schema.Struct<{
|
|
38160
|
-
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
38161
|
-
readonly resource: Schema.String;
|
|
38162
|
-
readonly id: Schema.String;
|
|
38163
|
-
}>], {
|
|
38164
|
-
readonly _tag: "ResourceNotFoundError";
|
|
38165
|
-
readonly resource: string;
|
|
38166
|
-
readonly id: string;
|
|
38167
|
-
}>, Schema.Struct<{
|
|
38168
|
-
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
38169
|
-
readonly resource: Schema.String;
|
|
38170
|
-
readonly id: Schema.String;
|
|
38171
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
38172
|
-
readonly _tag: "UnauthorizedError";
|
|
38173
|
-
readonly message: string;
|
|
38174
|
-
}, readonly [Schema.Struct<{
|
|
38175
|
-
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
38176
|
-
readonly message: Schema.String;
|
|
38177
|
-
}>], {
|
|
38178
|
-
readonly _tag: "UnauthorizedError";
|
|
38179
|
-
readonly message: string;
|
|
38180
|
-
}>, Schema.Struct<{
|
|
38181
|
-
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
38182
|
-
readonly message: Schema.String;
|
|
38183
38037
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesRemove", "DELETE", "/v1/templates/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
38184
38038
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
38185
38039
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -38508,10 +38362,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
38508
38362
|
readonly schemaDigest: Schema.String;
|
|
38509
38363
|
readonly contractDigest: Schema.String;
|
|
38510
38364
|
}>;
|
|
38511
|
-
readonly runtime: Schema.Struct<{
|
|
38512
|
-
readonly now: Schema.optionalKey<Schema.Finite>;
|
|
38513
|
-
readonly randomSeed: Schema.optionalKey<Schema.Finite>;
|
|
38514
|
-
}>;
|
|
38515
38365
|
readonly fixtures: Schema.$Array<Schema.String>;
|
|
38516
38366
|
}>, Schema.Null]>;
|
|
38517
38367
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -39513,6 +39363,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39513
39363
|
readonly organizationId: Schema.String;
|
|
39514
39364
|
readonly name: Schema.String;
|
|
39515
39365
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39366
|
+
readonly isDefault: Schema.Boolean;
|
|
39516
39367
|
readonly memberCount: Schema.Finite;
|
|
39517
39368
|
readonly createdAt: Schema.String;
|
|
39518
39369
|
readonly updatedAt: Schema.String;
|
|
@@ -39565,6 +39416,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39565
39416
|
readonly organizationId: Schema.String;
|
|
39566
39417
|
readonly name: Schema.String;
|
|
39567
39418
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39419
|
+
readonly isDefault: Schema.Boolean;
|
|
39568
39420
|
readonly memberCount: Schema.Finite;
|
|
39569
39421
|
readonly createdAt: Schema.String;
|
|
39570
39422
|
readonly updatedAt: Schema.String;
|
|
@@ -39695,7 +39547,27 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39695
39547
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39696
39548
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
39697
39549
|
readonly success: Schema.Boolean;
|
|
39698
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<
|
|
39550
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
39551
|
+
readonly _tag: "ConflictError";
|
|
39552
|
+
readonly message: string;
|
|
39553
|
+
readonly resource: string;
|
|
39554
|
+
readonly id?: string | null;
|
|
39555
|
+
}, readonly [Schema.Struct<{
|
|
39556
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
39557
|
+
readonly message: Schema.String;
|
|
39558
|
+
readonly resource: Schema.String;
|
|
39559
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
39560
|
+
}>], {
|
|
39561
|
+
readonly _tag: "ConflictError";
|
|
39562
|
+
readonly message: string;
|
|
39563
|
+
readonly resource: string;
|
|
39564
|
+
readonly id?: string | null;
|
|
39565
|
+
}>, Schema.Struct<{
|
|
39566
|
+
readonly _tag: Schema.tag<"ConflictError">;
|
|
39567
|
+
readonly message: Schema.String;
|
|
39568
|
+
readonly resource: Schema.String;
|
|
39569
|
+
readonly id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
39570
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
39699
39571
|
readonly _tag: "ForbiddenError";
|
|
39700
39572
|
readonly message: string;
|
|
39701
39573
|
}, readonly [Schema.Struct<{
|
|
@@ -39813,6 +39685,73 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39813
39685
|
}>, Schema.Struct<{
|
|
39814
39686
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
39815
39687
|
readonly message: Schema.String;
|
|
39688
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeSetDefault", "POST", "/v1/unsubscribe-groups/:id/default", Schema.toCodecStringTree<Schema.Struct<{
|
|
39689
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39690
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
39691
|
+
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39692
|
+
readonly organizationId: Schema.String;
|
|
39693
|
+
readonly name: Schema.String;
|
|
39694
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39695
|
+
readonly isDefault: Schema.Boolean;
|
|
39696
|
+
readonly memberCount: Schema.Finite;
|
|
39697
|
+
readonly createdAt: Schema.String;
|
|
39698
|
+
readonly updatedAt: Schema.String;
|
|
39699
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
39700
|
+
readonly _tag: "ForbiddenError";
|
|
39701
|
+
readonly message: string;
|
|
39702
|
+
}, readonly [Schema.Struct<{
|
|
39703
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
39704
|
+
readonly message: Schema.String;
|
|
39705
|
+
}>], {
|
|
39706
|
+
readonly _tag: "ForbiddenError";
|
|
39707
|
+
readonly message: string;
|
|
39708
|
+
}>, Schema.Struct<{
|
|
39709
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
39710
|
+
readonly message: Schema.String;
|
|
39711
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
39712
|
+
readonly _tag: "GatewayTimeoutError";
|
|
39713
|
+
readonly message: string;
|
|
39714
|
+
readonly retryAfterSeconds: number;
|
|
39715
|
+
}, readonly [Schema.Struct<{
|
|
39716
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
39717
|
+
readonly message: Schema.String;
|
|
39718
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
39719
|
+
}>], {
|
|
39720
|
+
readonly _tag: "GatewayTimeoutError";
|
|
39721
|
+
readonly message: string;
|
|
39722
|
+
readonly retryAfterSeconds: number;
|
|
39723
|
+
}>, Schema.Struct<{
|
|
39724
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
39725
|
+
readonly message: Schema.String;
|
|
39726
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
39727
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ResourceNotFoundError, {
|
|
39728
|
+
readonly _tag: "ResourceNotFoundError";
|
|
39729
|
+
readonly resource: string;
|
|
39730
|
+
readonly id: string;
|
|
39731
|
+
}, readonly [Schema.Struct<{
|
|
39732
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
39733
|
+
readonly resource: Schema.String;
|
|
39734
|
+
readonly id: Schema.String;
|
|
39735
|
+
}>], {
|
|
39736
|
+
readonly _tag: "ResourceNotFoundError";
|
|
39737
|
+
readonly resource: string;
|
|
39738
|
+
readonly id: string;
|
|
39739
|
+
}>, Schema.Struct<{
|
|
39740
|
+
readonly _tag: Schema.tag<"ResourceNotFoundError">;
|
|
39741
|
+
readonly resource: Schema.String;
|
|
39742
|
+
readonly id: Schema.String;
|
|
39743
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
39744
|
+
readonly _tag: "UnauthorizedError";
|
|
39745
|
+
readonly message: string;
|
|
39746
|
+
}, readonly [Schema.Struct<{
|
|
39747
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
39748
|
+
readonly message: Schema.String;
|
|
39749
|
+
}>], {
|
|
39750
|
+
readonly _tag: "UnauthorizedError";
|
|
39751
|
+
readonly message: string;
|
|
39752
|
+
}>, Schema.Struct<{
|
|
39753
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
39754
|
+
readonly message: Schema.String;
|
|
39816
39755
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribeUpdate", "PATCH", "/v1/unsubscribe-groups/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
39817
39756
|
readonly id: Schema.brand<Schema.String, "UnsubscribeId">;
|
|
39818
39757
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -39823,6 +39762,7 @@ declare const UnsubscribeGroupsGroup_base: HttpApiGroup.HttpApiGroup<"Unsubscrib
|
|
|
39823
39762
|
readonly organizationId: Schema.String;
|
|
39824
39763
|
readonly name: Schema.String;
|
|
39825
39764
|
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
39765
|
+
readonly isDefault: Schema.Boolean;
|
|
39826
39766
|
readonly memberCount: Schema.Finite;
|
|
39827
39767
|
readonly createdAt: Schema.String;
|
|
39828
39768
|
readonly updatedAt: Schema.String;
|
|
@@ -39888,7 +39828,7 @@ declare class UnsubscribeGroupsGroup extends UnsubscribeGroupsGroup_base {
|
|
|
39888
39828
|
declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiEndpoint.HttpApiEndpoint<"webhooksCreate", "POST", "/v1/webhooks", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
39889
39829
|
readonly name: Schema.String;
|
|
39890
39830
|
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"]>>;
|
|
39831
|
+
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
39832
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>>;
|
|
39893
39833
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
39894
39834
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -39897,7 +39837,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
39897
39837
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
39898
39838
|
readonly name: Schema.String;
|
|
39899
39839
|
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"]>>;
|
|
39840
|
+
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
39841
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
39902
39842
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
39903
39843
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40025,7 +39965,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40025
39965
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40026
39966
|
readonly name: Schema.String;
|
|
40027
39967
|
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"]>>;
|
|
39968
|
+
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
39969
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40030
39970
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40031
39971
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40261,7 +40201,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40261
40201
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40262
40202
|
readonly name: Schema.String;
|
|
40263
40203
|
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"]>>;
|
|
40204
|
+
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
40205
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40266
40206
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40267
40207
|
readonly hasCustomHeaders: Schema.Boolean;
|
|
@@ -40628,7 +40568,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40628
40568
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
40629
40569
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
40630
40570
|
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]>>;
|
|
40571
|
+
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
40572
|
readonly channels: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>, Schema.Null]>>;
|
|
40633
40573
|
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
40634
40574
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["active", "disabled"]>, Schema.Null]>>;
|
|
@@ -40636,7 +40576,7 @@ declare const WebhooksGroup_base: HttpApiGroup.HttpApiGroup<"Webhooks", HttpApiE
|
|
|
40636
40576
|
readonly id: Schema.brand<Schema.String, "WebhookEndpointId">;
|
|
40637
40577
|
readonly name: Schema.String;
|
|
40638
40578
|
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"]>>;
|
|
40579
|
+
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
40580
|
readonly channels: Schema.Union<readonly [Schema.$Array<Schema.Literal<"email">>, Schema.Null]>;
|
|
40641
40581
|
readonly status: Schema.Literals<readonly ["active", "disabled"]>;
|
|
40642
40582
|
readonly hasCustomHeaders: Schema.Boolean;
|