samva 0.22.1 → 0.23.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 +10 -3
- package/dist/client/sdk.gen.js +21 -2
- package/dist/client/types.gen.d.ts +69 -12
- package/dist/effect/generated/analytics.js +8 -8
- package/dist/effect/generated/api-keys.js +4 -4
- package/dist/effect/generated/attachments.js +3 -3
- package/dist/effect/generated/contact-groups.js +11 -11
- package/dist/effect/generated/contacts.js +16 -16
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/custom-fields.js +5 -5
- package/dist/effect/generated/email.js +32 -32
- package/dist/effect/generated/events.js +4 -4
- package/dist/effect/generated/extension-installations.js +4 -4
- package/dist/effect/generated/extensions.js +1 -1
- package/dist/effect/generated/journeys.js +12 -12
- package/dist/effect/generated/mailboxes.js +10 -10
- package/dist/effect/generated/messages.js +4 -4
- package/dist/effect/generated/organizations.d.ts +116 -9
- package/dist/effect/generated/organizations.js +31 -6
- package/dist/effect/generated/shared.js +1 -1
- package/dist/effect/generated/templates.d.ts +37 -72
- package/dist/effect/generated/templates.js +121 -122
- package/dist/effect/generated/unsubscribe-groups.js +7 -7
- package/dist/effect/generated/webhooks.js +17 -17
- package/dist/effect/generated-metadata.d.ts +5 -0
- package/dist/effect/generated-metadata.js +1 -0
- package/dist/effect/organizations.d.ts +2 -0
- package/dist/effect/organizations.js +3 -1
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +4 -0
- package/dist/service-map.js +1 -0
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ export type Organization = {
|
|
|
8
8
|
readonly billingAccountId: string;
|
|
9
9
|
readonly name: string;
|
|
10
10
|
readonly slug: string;
|
|
11
|
+
readonly avatarUrl: string | null;
|
|
11
12
|
readonly defaultRegion: PhoneRegion | null;
|
|
12
13
|
readonly timezone: string;
|
|
13
14
|
readonly plan: string;
|
|
@@ -33,6 +34,7 @@ export declare const Organization: Schema.Struct<{
|
|
|
33
34
|
readonly billingAccountId: Schema.String;
|
|
34
35
|
readonly name: Schema.String;
|
|
35
36
|
readonly slug: Schema.String;
|
|
37
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
36
38
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
37
39
|
readonly timezone: Schema.String;
|
|
38
40
|
readonly plan: Schema.String;
|
|
@@ -63,6 +65,7 @@ export declare const OrganizationsCreate200: Schema.Struct<{
|
|
|
63
65
|
readonly billingAccountId: Schema.String;
|
|
64
66
|
readonly name: Schema.String;
|
|
65
67
|
readonly slug: Schema.String;
|
|
68
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
66
69
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
67
70
|
readonly timezone: Schema.String;
|
|
68
71
|
readonly plan: Schema.String;
|
|
@@ -101,6 +104,7 @@ export declare const OrganizationsGet200: Schema.Struct<{
|
|
|
101
104
|
readonly billingAccountId: Schema.String;
|
|
102
105
|
readonly name: Schema.String;
|
|
103
106
|
readonly slug: Schema.String;
|
|
107
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
104
108
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
105
109
|
readonly timezone: Schema.String;
|
|
106
110
|
readonly plan: Schema.String;
|
|
@@ -134,6 +138,7 @@ export declare const OrganizationsGet504: typeof GatewayTimeoutError;
|
|
|
134
138
|
export type OrganizationsUpdateRequestJson = {
|
|
135
139
|
readonly name?: string | null;
|
|
136
140
|
readonly slug?: string | null;
|
|
141
|
+
readonly avatarUrl?: string | null | null;
|
|
137
142
|
readonly defaultRegion?: PhoneRegion | null | null;
|
|
138
143
|
readonly timezone?: IanaTimezone | null;
|
|
139
144
|
readonly isActive?: boolean | null;
|
|
@@ -146,6 +151,7 @@ export type OrganizationsUpdateRequestJson = {
|
|
|
146
151
|
export declare const OrganizationsUpdateRequestJson: Schema.Struct<{
|
|
147
152
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
148
153
|
readonly slug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
154
|
+
readonly avatarUrl: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
149
155
|
readonly defaultRegion: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
150
156
|
readonly timezone: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
151
157
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
@@ -159,6 +165,7 @@ export declare const OrganizationsUpdate200: Schema.Struct<{
|
|
|
159
165
|
readonly billingAccountId: Schema.String;
|
|
160
166
|
readonly name: Schema.String;
|
|
161
167
|
readonly slug: Schema.String;
|
|
168
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
162
169
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
163
170
|
readonly timezone: Schema.String;
|
|
164
171
|
readonly plan: Schema.String;
|
|
@@ -189,6 +196,26 @@ export type OrganizationsUpdate500 = InternalError;
|
|
|
189
196
|
export declare const OrganizationsUpdate500: typeof InternalError;
|
|
190
197
|
export type OrganizationsUpdate504 = GatewayTimeoutError;
|
|
191
198
|
export declare const OrganizationsUpdate504: typeof GatewayTimeoutError;
|
|
199
|
+
export type OrganizationsCreateAvatarUpload200 = {
|
|
200
|
+
readonly uploadUrl: string;
|
|
201
|
+
readonly maxBytes: number;
|
|
202
|
+
readonly contentTypes: ReadonlyArray<string>;
|
|
203
|
+
};
|
|
204
|
+
export declare const OrganizationsCreateAvatarUpload200: Schema.Struct<{
|
|
205
|
+
readonly uploadUrl: Schema.String;
|
|
206
|
+
readonly maxBytes: Schema.Finite;
|
|
207
|
+
readonly contentTypes: Schema.$Array<Schema.String>;
|
|
208
|
+
}>;
|
|
209
|
+
export type OrganizationsCreateAvatarUpload401 = UnauthorizedError;
|
|
210
|
+
export declare const OrganizationsCreateAvatarUpload401: typeof UnauthorizedError;
|
|
211
|
+
export type OrganizationsCreateAvatarUpload403 = ForbiddenError;
|
|
212
|
+
export declare const OrganizationsCreateAvatarUpload403: typeof ForbiddenError;
|
|
213
|
+
export type OrganizationsCreateAvatarUpload422 = ValidationError;
|
|
214
|
+
export declare const OrganizationsCreateAvatarUpload422: typeof ValidationError;
|
|
215
|
+
export type OrganizationsCreateAvatarUpload500 = InternalError;
|
|
216
|
+
export declare const OrganizationsCreateAvatarUpload500: typeof InternalError;
|
|
217
|
+
export type OrganizationsCreateAvatarUpload504 = GatewayTimeoutError;
|
|
218
|
+
export declare const OrganizationsCreateAvatarUpload504: typeof GatewayTimeoutError;
|
|
192
219
|
export type OrganizationsGetProfile200 = {
|
|
193
220
|
readonly id: string;
|
|
194
221
|
readonly name: string;
|
|
@@ -361,10 +388,14 @@ export type OrganizationsGetUsage200 = {
|
|
|
361
388
|
readonly billing: {
|
|
362
389
|
readonly currency: string;
|
|
363
390
|
readonly planName: string | null;
|
|
364
|
-
readonly
|
|
365
|
-
readonly
|
|
366
|
-
readonly
|
|
391
|
+
readonly includedCredits: number | null;
|
|
392
|
+
readonly usedCredits: number | null;
|
|
393
|
+
readonly overageCredits: number | null;
|
|
367
394
|
readonly overageCost: number | null;
|
|
395
|
+
readonly includedAiCredits: number | null;
|
|
396
|
+
readonly usedAiCredits: number | null;
|
|
397
|
+
readonly overageAiCredits: number | null;
|
|
398
|
+
readonly overageAiCost: number | null;
|
|
368
399
|
};
|
|
369
400
|
};
|
|
370
401
|
export declare const OrganizationsGetUsage200: Schema.Struct<{
|
|
@@ -377,10 +408,14 @@ export declare const OrganizationsGetUsage200: Schema.Struct<{
|
|
|
377
408
|
readonly billing: Schema.Struct<{
|
|
378
409
|
readonly currency: Schema.String;
|
|
379
410
|
readonly planName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
380
|
-
readonly
|
|
381
|
-
readonly
|
|
382
|
-
readonly
|
|
411
|
+
readonly includedCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
412
|
+
readonly usedCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
413
|
+
readonly overageCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
383
414
|
readonly overageCost: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
415
|
+
readonly includedAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
416
|
+
readonly usedAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
417
|
+
readonly overageAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
418
|
+
readonly overageAiCost: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
384
419
|
}>;
|
|
385
420
|
}>;
|
|
386
421
|
export type OrganizationsGetUsage401 = UnauthorizedError;
|
|
@@ -400,6 +435,7 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
400
435
|
readonly billingAccountId: Schema.String;
|
|
401
436
|
readonly name: Schema.String;
|
|
402
437
|
readonly slug: Schema.String;
|
|
438
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
403
439
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
404
440
|
readonly timezone: Schema.String;
|
|
405
441
|
readonly plan: Schema.String;
|
|
@@ -513,6 +549,70 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
513
549
|
readonly _tag: Schema.tag<"ValidationError">;
|
|
514
550
|
readonly message: Schema.String;
|
|
515
551
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
552
|
+
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsCreateAvatarUpload", "POST", "/v1/organizations/current/avatar-upload", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
553
|
+
readonly uploadUrl: Schema.String;
|
|
554
|
+
readonly maxBytes: Schema.Finite;
|
|
555
|
+
readonly contentTypes: Schema.$Array<Schema.String>;
|
|
556
|
+
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
557
|
+
readonly _tag: "ForbiddenError";
|
|
558
|
+
readonly message: string;
|
|
559
|
+
}, readonly [Schema.Struct<{
|
|
560
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
561
|
+
readonly message: Schema.String;
|
|
562
|
+
}>], {
|
|
563
|
+
readonly _tag: "ForbiddenError";
|
|
564
|
+
readonly message: string;
|
|
565
|
+
}>, Schema.Struct<{
|
|
566
|
+
readonly _tag: Schema.tag<"ForbiddenError">;
|
|
567
|
+
readonly message: Schema.String;
|
|
568
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<GatewayTimeoutError, {
|
|
569
|
+
readonly _tag: "GatewayTimeoutError";
|
|
570
|
+
readonly message: string;
|
|
571
|
+
readonly retryAfterSeconds: number;
|
|
572
|
+
}, readonly [Schema.Struct<{
|
|
573
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
574
|
+
readonly message: Schema.String;
|
|
575
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
576
|
+
}>], {
|
|
577
|
+
readonly _tag: "GatewayTimeoutError";
|
|
578
|
+
readonly message: string;
|
|
579
|
+
readonly retryAfterSeconds: number;
|
|
580
|
+
}>, Schema.Struct<{
|
|
581
|
+
readonly _tag: Schema.tag<"GatewayTimeoutError">;
|
|
582
|
+
readonly message: Schema.String;
|
|
583
|
+
readonly retryAfterSeconds: Schema.Finite;
|
|
584
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<UnauthorizedError, {
|
|
585
|
+
readonly _tag: "UnauthorizedError";
|
|
586
|
+
readonly message: string;
|
|
587
|
+
}, readonly [Schema.Struct<{
|
|
588
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
589
|
+
readonly message: Schema.String;
|
|
590
|
+
}>], {
|
|
591
|
+
readonly _tag: "UnauthorizedError";
|
|
592
|
+
readonly message: string;
|
|
593
|
+
}>, Schema.Struct<{
|
|
594
|
+
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
595
|
+
readonly message: Schema.String;
|
|
596
|
+
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
597
|
+
readonly _tag: "ValidationError";
|
|
598
|
+
readonly message: string;
|
|
599
|
+
readonly fields?: {
|
|
600
|
+
readonly [x: string]: readonly string[];
|
|
601
|
+
} | null;
|
|
602
|
+
}, readonly [Schema.Struct<{
|
|
603
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
604
|
+
readonly message: Schema.String;
|
|
605
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
606
|
+
}>], {
|
|
607
|
+
readonly _tag: "ValidationError";
|
|
608
|
+
readonly message: string;
|
|
609
|
+
readonly fields?: {
|
|
610
|
+
readonly [x: string]: readonly string[];
|
|
611
|
+
} | null;
|
|
612
|
+
}>, Schema.Struct<{
|
|
613
|
+
readonly _tag: Schema.tag<"ValidationError">;
|
|
614
|
+
readonly message: Schema.String;
|
|
615
|
+
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
516
616
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsDelete", "POST", "/v1/organizations/deletion-operations", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
517
617
|
readonly confirmationName: Schema.String;
|
|
518
618
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -636,6 +736,7 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
636
736
|
readonly billingAccountId: Schema.String;
|
|
637
737
|
readonly name: Schema.String;
|
|
638
738
|
readonly slug: Schema.String;
|
|
739
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
639
740
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
640
741
|
readonly timezone: Schema.String;
|
|
641
742
|
readonly plan: Schema.String;
|
|
@@ -931,10 +1032,14 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
931
1032
|
readonly billing: Schema.Struct<{
|
|
932
1033
|
readonly currency: Schema.String;
|
|
933
1034
|
readonly planName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
934
|
-
readonly
|
|
935
|
-
readonly
|
|
936
|
-
readonly
|
|
1035
|
+
readonly includedCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1036
|
+
readonly usedCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1037
|
+
readonly overageCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
937
1038
|
readonly overageCost: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1039
|
+
readonly includedAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1040
|
+
readonly usedAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1041
|
+
readonly overageAiCredits: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1042
|
+
readonly overageAiCost: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
938
1043
|
}>;
|
|
939
1044
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
940
1045
|
readonly _tag: "ForbiddenError";
|
|
@@ -999,6 +1104,7 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
999
1104
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"organizationsUpdate", "PATCH", "/v1/organizations/current", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1000
1105
|
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1001
1106
|
readonly slug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1107
|
+
readonly avatarUrl: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
1002
1108
|
readonly defaultRegion: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
1003
1109
|
readonly timezone: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1004
1110
|
readonly isActive: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
@@ -1010,6 +1116,7 @@ declare const OrganizationsGroup_base: HttpApiGroup.HttpApiGroup<"Organizations"
|
|
|
1010
1116
|
readonly billingAccountId: Schema.String;
|
|
1011
1117
|
readonly name: Schema.String;
|
|
1012
1118
|
readonly slug: Schema.String;
|
|
1119
|
+
readonly avatarUrl: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1013
1120
|
readonly defaultRegion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1014
1121
|
readonly timezone: Schema.String;
|
|
1015
1122
|
readonly plan: Schema.String;
|
|
@@ -11,6 +11,7 @@ const Organization = /* @__PURE__ */ Schema.Struct({
|
|
|
11
11
|
billingAccountId: Schema.String,
|
|
12
12
|
name: Schema.String,
|
|
13
13
|
slug: Schema.String,
|
|
14
|
+
avatarUrl: Schema.Union([Schema.String, Schema.Null]).annotate({ description: "URL of the organization's avatar image, hosted by Samva. Null when no avatar is set." }),
|
|
14
15
|
defaultRegion: Schema.Union([PhoneRegion, Schema.Null]),
|
|
15
16
|
timezone: Schema.String,
|
|
16
17
|
plan: Schema.String,
|
|
@@ -48,6 +49,7 @@ const OrganizationsGet504 = GatewayTimeoutError;
|
|
|
48
49
|
const OrganizationsUpdateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
49
50
|
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
50
51
|
slug: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
52
|
+
avatarUrl: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]).annotate({ description: "The `src` returned by an avatar upload (see `POST /v1/organizations/current/avatar-upload`). Null removes the avatar." }), Schema.Null])),
|
|
51
53
|
defaultRegion: Schema.optionalKey(Schema.Union([Schema.Union([PhoneRegion, Schema.Null]), Schema.Null])),
|
|
52
54
|
timezone: Schema.optionalKey(Schema.Union([IanaTimezone, Schema.Null])),
|
|
53
55
|
isActive: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
@@ -62,6 +64,16 @@ const OrganizationsUpdate404 = ResourceNotFoundError;
|
|
|
62
64
|
const OrganizationsUpdate422 = ValidationError;
|
|
63
65
|
const OrganizationsUpdate500 = InternalError;
|
|
64
66
|
const OrganizationsUpdate504 = GatewayTimeoutError;
|
|
67
|
+
const OrganizationsCreateAvatarUpload200 = /* @__PURE__ */ Schema.Struct({
|
|
68
|
+
uploadUrl: Schema.String.annotate({ description: "The URL to PUT the image bytes to." }),
|
|
69
|
+
maxBytes: Schema.Finite.annotate({ description: "The largest image the upload accepts, in bytes." }).check(Schema.isFinite().annotate({ expected: "a finite number" })),
|
|
70
|
+
contentTypes: Schema.Array(Schema.String).annotate({ description: "The image content types the upload accepts." })
|
|
71
|
+
});
|
|
72
|
+
const OrganizationsCreateAvatarUpload401 = UnauthorizedError;
|
|
73
|
+
const OrganizationsCreateAvatarUpload403 = ForbiddenError;
|
|
74
|
+
const OrganizationsCreateAvatarUpload422 = ValidationError;
|
|
75
|
+
const OrganizationsCreateAvatarUpload500 = InternalError;
|
|
76
|
+
const OrganizationsCreateAvatarUpload504 = GatewayTimeoutError;
|
|
65
77
|
const OrganizationsGetProfile200 = /* @__PURE__ */ Schema.Struct({
|
|
66
78
|
id: Schema.String.annotate({ description: "Opaque identity for your organization membership" }),
|
|
67
79
|
name: Schema.String.annotate({ description: "Your display name" }),
|
|
@@ -142,10 +154,14 @@ const OrganizationsGetUsage200 = /* @__PURE__ */ Schema.Struct({
|
|
|
142
154
|
billing: Schema.Struct({
|
|
143
155
|
currency: Schema.String,
|
|
144
156
|
planName: Schema.Union([Schema.String, Schema.Null]),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
overageCost: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null])
|
|
157
|
+
includedCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
158
|
+
usedCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
159
|
+
overageCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
160
|
+
overageCost: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
161
|
+
includedAiCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
162
|
+
usedAiCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
163
|
+
overageAiCredits: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null]),
|
|
164
|
+
overageAiCost: Schema.Union([Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })), Schema.Null])
|
|
149
165
|
})
|
|
150
166
|
});
|
|
151
167
|
const OrganizationsGetUsage401 = UnauthorizedError;
|
|
@@ -186,7 +202,16 @@ var OrganizationsGroup = class extends HttpApiGroup.make("Organizations").add(Ht
|
|
|
186
202
|
OrganizationsUpdate500,
|
|
187
203
|
OrganizationsUpdate504.pipe(HttpApiSchema.status(504))
|
|
188
204
|
]
|
|
189
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "organizations.update").annotate(OpenApi.Summary, "Update the current organization").annotate(OpenApi.Description, "Updates the current organization's profile, regional defaults, and reply-to default and returns the saved organization. `metadata` is merged into the stored value; every other field is replaced."), HttpApiEndpoint.
|
|
205
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "organizations.update").annotate(OpenApi.Summary, "Update the current organization").annotate(OpenApi.Description, "Updates the current organization's profile, avatar, regional defaults, and reply-to default and returns the saved organization. `avatarUrl` accepts only the `src` returned by an avatar upload, and null removes the avatar. `metadata` is merged into the stored value; every other field is replaced."), HttpApiEndpoint.post("organizationsCreateAvatarUpload", "/v1/organizations/current/avatar-upload", {
|
|
206
|
+
success: OrganizationsCreateAvatarUpload200,
|
|
207
|
+
error: [
|
|
208
|
+
OrganizationsCreateAvatarUpload401.pipe(HttpApiSchema.status(401)),
|
|
209
|
+
OrganizationsCreateAvatarUpload403.pipe(HttpApiSchema.status(403)),
|
|
210
|
+
OrganizationsCreateAvatarUpload422.pipe(HttpApiSchema.status(422)),
|
|
211
|
+
OrganizationsCreateAvatarUpload500,
|
|
212
|
+
OrganizationsCreateAvatarUpload504.pipe(HttpApiSchema.status(504))
|
|
213
|
+
]
|
|
214
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "organizations.createAvatarUpload").annotate(OpenApi.Summary, "Get the organization avatar upload URL").annotate(OpenApi.Description, "Returns where to upload the organization avatar. PUT the png, jpeg, or webp bytes (at most `maxBytes`) to `uploadUrl` with the same credential and a matching `Content-Type`; the response is `{ src }`. Then send `PATCH /v1/organizations/current` with `{ avatarUrl: src }`."), HttpApiEndpoint.get("organizationsGetProfile", "/v1/organizations/current/profile", {
|
|
190
215
|
success: OrganizationsGetProfile200,
|
|
191
216
|
error: [
|
|
192
217
|
OrganizationsGetProfile401.pipe(HttpApiSchema.status(401)),
|
|
@@ -230,6 +255,6 @@ var OrganizationsGroup = class extends HttpApiGroup.make("Organizations").add(Ht
|
|
|
230
255
|
]
|
|
231
256
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "organizations.getUsage").annotate(OpenApi.Summary, "Get organization usage").annotate(OpenApi.Description, "Returns usage statistics for the current organization between `after` and `before`, which default to the current calendar month so far. `usage.periodStart` and `usage.periodEnd` echo the window counted.")).annotate(OpenApi.Description, "Organization management and usage statistics") {};
|
|
232
257
|
//#endregion
|
|
233
|
-
export { Organization, OrganizationsCreate200, OrganizationsCreate401, OrganizationsCreate402, OrganizationsCreate403, OrganizationsCreate422, OrganizationsCreate500, OrganizationsCreate502, OrganizationsCreate504, OrganizationsCreateRequestJson, OrganizationsDelete202, OrganizationsDelete401, OrganizationsDelete403, OrganizationsDelete409, OrganizationsDelete422, OrganizationsDelete500, OrganizationsDelete504, OrganizationsDeleteHeaders, OrganizationsDeleteRequestJson, OrganizationsGet200, OrganizationsGet401, OrganizationsGet403, OrganizationsGet404, OrganizationsGet422, OrganizationsGet500, OrganizationsGet504, OrganizationsGetProfile200, OrganizationsGetProfile401, OrganizationsGetProfile403, OrganizationsGetProfile422, OrganizationsGetProfile500, OrganizationsGetProfile504, OrganizationsGetTrustTier200, OrganizationsGetTrustTier401, OrganizationsGetTrustTier403, OrganizationsGetTrustTier404, OrganizationsGetTrustTier422, OrganizationsGetTrustTier500, OrganizationsGetTrustTier502, OrganizationsGetTrustTier504, OrganizationsGetUsage200, OrganizationsGetUsage401, OrganizationsGetUsage403, OrganizationsGetUsage422, OrganizationsGetUsage500, OrganizationsGetUsage504, OrganizationsGetUsageQuery, OrganizationsGroup, OrganizationsUpdate200, OrganizationsUpdate401, OrganizationsUpdate403, OrganizationsUpdate404, OrganizationsUpdate422, OrganizationsUpdate500, OrganizationsUpdate504, OrganizationsUpdateRequestJson, PhoneRegion };
|
|
258
|
+
export { Organization, OrganizationsCreate200, OrganizationsCreate401, OrganizationsCreate402, OrganizationsCreate403, OrganizationsCreate422, OrganizationsCreate500, OrganizationsCreate502, OrganizationsCreate504, OrganizationsCreateAvatarUpload200, OrganizationsCreateAvatarUpload401, OrganizationsCreateAvatarUpload403, OrganizationsCreateAvatarUpload422, OrganizationsCreateAvatarUpload500, OrganizationsCreateAvatarUpload504, OrganizationsCreateRequestJson, OrganizationsDelete202, OrganizationsDelete401, OrganizationsDelete403, OrganizationsDelete409, OrganizationsDelete422, OrganizationsDelete500, OrganizationsDelete504, OrganizationsDeleteHeaders, OrganizationsDeleteRequestJson, OrganizationsGet200, OrganizationsGet401, OrganizationsGet403, OrganizationsGet404, OrganizationsGet422, OrganizationsGet500, OrganizationsGet504, OrganizationsGetProfile200, OrganizationsGetProfile401, OrganizationsGetProfile403, OrganizationsGetProfile422, OrganizationsGetProfile500, OrganizationsGetProfile504, OrganizationsGetTrustTier200, OrganizationsGetTrustTier401, OrganizationsGetTrustTier403, OrganizationsGetTrustTier404, OrganizationsGetTrustTier422, OrganizationsGetTrustTier500, OrganizationsGetTrustTier502, OrganizationsGetTrustTier504, OrganizationsGetUsage200, OrganizationsGetUsage401, OrganizationsGetUsage403, OrganizationsGetUsage422, OrganizationsGetUsage500, OrganizationsGetUsage504, OrganizationsGetUsageQuery, OrganizationsGroup, OrganizationsUpdate200, OrganizationsUpdate401, OrganizationsUpdate403, OrganizationsUpdate404, OrganizationsUpdate422, OrganizationsUpdate500, OrganizationsUpdate504, OrganizationsUpdateRequestJson, PhoneRegion };
|
|
234
259
|
|
|
235
260
|
//# sourceMappingURL=organizations.js.map
|
|
@@ -147,7 +147,7 @@ const ContactGroupId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @
|
|
|
147
147
|
expected: "a string matching the RegExp ^cgrp_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
148
148
|
identifier: "ContactGroupId"
|
|
149
149
|
})).pipe(Schema.brand("ContactGroupId"));
|
|
150
|
-
const SendsSeries = /* @__PURE__ */ Schema.Array(Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" }))).annotate({
|
|
150
|
+
const SendsSeries = /* @__PURE__ */ Schema.Array(Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))).annotate({
|
|
151
151
|
description: "Daily email sends for the last 14 calendar days in the organization's own timezone, oldest first and zero-filled. Always fourteen entries; an entity that has never sent reports fourteen zeroes.",
|
|
152
152
|
identifier: "SendsSeries"
|
|
153
153
|
});
|
|
@@ -18,15 +18,15 @@ export type TemplateFamilyId = string & EffectBrand.Brand<"TemplateFamilyId">;
|
|
|
18
18
|
export declare const TemplateFamilyId: Schema.brand<Schema.String, "TemplateFamilyId">;
|
|
19
19
|
export type VersionCursor = string;
|
|
20
20
|
export declare const VersionCursor: Schema.String;
|
|
21
|
-
export type
|
|
21
|
+
export type BrandRenderedFooter = {
|
|
22
22
|
readonly html: string;
|
|
23
23
|
readonly text: string;
|
|
24
|
-
readonly headCss
|
|
24
|
+
readonly headCss: string;
|
|
25
25
|
};
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const BrandRenderedFooter: Schema.Struct<{
|
|
27
27
|
readonly html: Schema.String;
|
|
28
28
|
readonly text: Schema.String;
|
|
29
|
-
readonly headCss: Schema.
|
|
29
|
+
readonly headCss: Schema.String;
|
|
30
30
|
}>;
|
|
31
31
|
export type TemplatePublicationRender = {
|
|
32
32
|
readonly subject: string;
|
|
@@ -212,22 +212,6 @@ export declare const Template: Schema.Struct<{
|
|
|
212
212
|
readonly inputContractId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateInputContractId">, Schema.Null]>;
|
|
213
213
|
readonly inputSchema: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
214
214
|
}>;
|
|
215
|
-
export type BrandRenderedFooter = {
|
|
216
|
-
readonly withUnsubscribe: BrandFooterBlock;
|
|
217
|
-
readonly withoutUnsubscribe: BrandFooterBlock;
|
|
218
|
-
};
|
|
219
|
-
export declare const BrandRenderedFooter: Schema.Struct<{
|
|
220
|
-
readonly withUnsubscribe: Schema.Struct<{
|
|
221
|
-
readonly html: Schema.String;
|
|
222
|
-
readonly text: Schema.String;
|
|
223
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
224
|
-
}>;
|
|
225
|
-
readonly withoutUnsubscribe: Schema.Struct<{
|
|
226
|
-
readonly html: Schema.String;
|
|
227
|
-
readonly text: Schema.String;
|
|
228
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
229
|
-
}>;
|
|
230
|
-
}>;
|
|
231
215
|
export type TemplateFamily = {
|
|
232
216
|
readonly id: TemplateFamilyId;
|
|
233
217
|
readonly name: string;
|
|
@@ -795,7 +779,7 @@ export type TemplatesPublish201 = {
|
|
|
795
779
|
readonly buildIdentity: string;
|
|
796
780
|
readonly manifest: {
|
|
797
781
|
readonly templateKey: string;
|
|
798
|
-
readonly
|
|
782
|
+
readonly compiled: {
|
|
799
783
|
readonly version: number;
|
|
800
784
|
readonly digest: string;
|
|
801
785
|
readonly bytes: number;
|
|
@@ -832,7 +816,7 @@ export type TemplatesPublish201 = {
|
|
|
832
816
|
readonly rendersFooter: "every" | "some" | "none";
|
|
833
817
|
};
|
|
834
818
|
};
|
|
835
|
-
readonly
|
|
819
|
+
readonly compiled: {
|
|
836
820
|
readonly key: string;
|
|
837
821
|
readonly digest: string;
|
|
838
822
|
};
|
|
@@ -907,7 +891,7 @@ export declare const TemplatesPublish201: Schema.Struct<{
|
|
|
907
891
|
readonly buildIdentity: Schema.String;
|
|
908
892
|
readonly manifest: Schema.Struct<{
|
|
909
893
|
readonly templateKey: Schema.String;
|
|
910
|
-
readonly
|
|
894
|
+
readonly compiled: Schema.Struct<{
|
|
911
895
|
readonly version: Schema.Finite;
|
|
912
896
|
readonly digest: Schema.String;
|
|
913
897
|
readonly bytes: Schema.Finite;
|
|
@@ -958,22 +942,15 @@ export declare const TemplatesPublish201: Schema.Struct<{
|
|
|
958
942
|
}>>, Schema.Null]>>;
|
|
959
943
|
}>;
|
|
960
944
|
readonly renderedFooter: Schema.Struct<{
|
|
961
|
-
readonly
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
965
|
-
}>;
|
|
966
|
-
readonly withoutUnsubscribe: Schema.Struct<{
|
|
967
|
-
readonly html: Schema.String;
|
|
968
|
-
readonly text: Schema.String;
|
|
969
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
970
|
-
}>;
|
|
945
|
+
readonly html: Schema.String;
|
|
946
|
+
readonly text: Schema.String;
|
|
947
|
+
readonly headCss: Schema.String;
|
|
971
948
|
}>;
|
|
972
949
|
readonly digest: Schema.String;
|
|
973
950
|
readonly rendersFooter: Schema.Union<readonly [Schema.Literal<"every">, Schema.Literal<"some">, Schema.Literal<"none">]>;
|
|
974
951
|
}>>;
|
|
975
952
|
}>;
|
|
976
|
-
readonly
|
|
953
|
+
readonly compiled: Schema.Struct<{
|
|
977
954
|
readonly key: Schema.String;
|
|
978
955
|
readonly digest: Schema.String;
|
|
979
956
|
}>;
|
|
@@ -1070,7 +1047,7 @@ export type TemplatesGetPublication200 = {
|
|
|
1070
1047
|
readonly buildIdentity: string;
|
|
1071
1048
|
readonly manifest: {
|
|
1072
1049
|
readonly templateKey: string;
|
|
1073
|
-
readonly
|
|
1050
|
+
readonly compiled: {
|
|
1074
1051
|
readonly version: number;
|
|
1075
1052
|
readonly digest: string;
|
|
1076
1053
|
readonly bytes: number;
|
|
@@ -1107,7 +1084,7 @@ export type TemplatesGetPublication200 = {
|
|
|
1107
1084
|
readonly rendersFooter: "every" | "some" | "none";
|
|
1108
1085
|
};
|
|
1109
1086
|
};
|
|
1110
|
-
readonly
|
|
1087
|
+
readonly compiled: {
|
|
1111
1088
|
readonly key: string;
|
|
1112
1089
|
readonly digest: string;
|
|
1113
1090
|
};
|
|
@@ -1182,7 +1159,7 @@ export declare const TemplatesGetPublication200: Schema.Struct<{
|
|
|
1182
1159
|
readonly buildIdentity: Schema.String;
|
|
1183
1160
|
readonly manifest: Schema.Struct<{
|
|
1184
1161
|
readonly templateKey: Schema.String;
|
|
1185
|
-
readonly
|
|
1162
|
+
readonly compiled: Schema.Struct<{
|
|
1186
1163
|
readonly version: Schema.Finite;
|
|
1187
1164
|
readonly digest: Schema.String;
|
|
1188
1165
|
readonly bytes: Schema.Finite;
|
|
@@ -1233,22 +1210,15 @@ export declare const TemplatesGetPublication200: Schema.Struct<{
|
|
|
1233
1210
|
}>>, Schema.Null]>>;
|
|
1234
1211
|
}>;
|
|
1235
1212
|
readonly renderedFooter: Schema.Struct<{
|
|
1236
|
-
readonly
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1240
|
-
}>;
|
|
1241
|
-
readonly withoutUnsubscribe: Schema.Struct<{
|
|
1242
|
-
readonly html: Schema.String;
|
|
1243
|
-
readonly text: Schema.String;
|
|
1244
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1245
|
-
}>;
|
|
1213
|
+
readonly html: Schema.String;
|
|
1214
|
+
readonly text: Schema.String;
|
|
1215
|
+
readonly headCss: Schema.String;
|
|
1246
1216
|
}>;
|
|
1247
1217
|
readonly digest: Schema.String;
|
|
1248
1218
|
readonly rendersFooter: Schema.Union<readonly [Schema.Literal<"every">, Schema.Literal<"some">, Schema.Literal<"none">]>;
|
|
1249
1219
|
}>>;
|
|
1250
1220
|
}>;
|
|
1251
|
-
readonly
|
|
1221
|
+
readonly compiled: Schema.Struct<{
|
|
1252
1222
|
readonly key: Schema.String;
|
|
1253
1223
|
readonly digest: Schema.String;
|
|
1254
1224
|
}>;
|
|
@@ -2363,6 +2333,7 @@ export type TemplatesDiffWorkspace200 = {
|
|
|
2363
2333
|
readonly assetChanges: ReadonlyArray<{
|
|
2364
2334
|
readonly path: string;
|
|
2365
2335
|
readonly status: "added" | "modified" | "deleted";
|
|
2336
|
+
readonly digest: string | null;
|
|
2366
2337
|
}>;
|
|
2367
2338
|
};
|
|
2368
2339
|
export declare const TemplatesDiffWorkspace200: Schema.Struct<{
|
|
@@ -2378,6 +2349,7 @@ export declare const TemplatesDiffWorkspace200: Schema.Struct<{
|
|
|
2378
2349
|
readonly assetChanges: Schema.$Array<Schema.Struct<{
|
|
2379
2350
|
readonly path: Schema.String;
|
|
2380
2351
|
readonly status: Schema.Union<readonly [Schema.Literal<"added">, Schema.Literal<"modified">, Schema.Literal<"deleted">]>;
|
|
2352
|
+
readonly digest: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2381
2353
|
}>>;
|
|
2382
2354
|
}>;
|
|
2383
2355
|
export type TemplatesDiffWorkspace401 = UnauthorizedError;
|
|
@@ -2491,6 +2463,8 @@ export type TemplatesRenderWorkspaceFixture200 = {
|
|
|
2491
2463
|
readonly start: number;
|
|
2492
2464
|
readonly end: number;
|
|
2493
2465
|
}>;
|
|
2466
|
+
readonly sentBytes: number;
|
|
2467
|
+
readonly previewBytes: number;
|
|
2494
2468
|
} | null;
|
|
2495
2469
|
};
|
|
2496
2470
|
export declare const TemplatesRenderWorkspaceFixture200: Schema.Struct<{
|
|
@@ -2574,6 +2548,8 @@ export declare const TemplatesRenderWorkspaceFixture200: Schema.Struct<{
|
|
|
2574
2548
|
readonly start: Schema.Finite;
|
|
2575
2549
|
readonly end: Schema.Finite;
|
|
2576
2550
|
}>>;
|
|
2551
|
+
readonly sentBytes: Schema.Finite;
|
|
2552
|
+
readonly previewBytes: Schema.Finite;
|
|
2577
2553
|
}>, Schema.Null]>;
|
|
2578
2554
|
}>;
|
|
2579
2555
|
export type TemplatesRenderWorkspaceFixture401 = UnauthorizedError;
|
|
@@ -5146,6 +5122,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5146
5122
|
readonly assetChanges: Schema.$Array<Schema.Struct<{
|
|
5147
5123
|
readonly path: Schema.String;
|
|
5148
5124
|
readonly status: Schema.Union<readonly [Schema.Literal<"added">, Schema.Literal<"modified">, Schema.Literal<"deleted">]>;
|
|
5125
|
+
readonly digest: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5149
5126
|
}>>;
|
|
5150
5127
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5151
5128
|
readonly _tag: "ConflictError";
|
|
@@ -5678,7 +5655,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5678
5655
|
readonly buildIdentity: Schema.String;
|
|
5679
5656
|
readonly manifest: Schema.Struct<{
|
|
5680
5657
|
readonly templateKey: Schema.String;
|
|
5681
|
-
readonly
|
|
5658
|
+
readonly compiled: Schema.Struct<{
|
|
5682
5659
|
readonly version: Schema.Finite;
|
|
5683
5660
|
readonly digest: Schema.String;
|
|
5684
5661
|
readonly bytes: Schema.Finite;
|
|
@@ -5729,22 +5706,15 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5729
5706
|
}>>, Schema.Null]>>;
|
|
5730
5707
|
}>;
|
|
5731
5708
|
readonly renderedFooter: Schema.Struct<{
|
|
5732
|
-
readonly
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5736
|
-
}>;
|
|
5737
|
-
readonly withoutUnsubscribe: Schema.Struct<{
|
|
5738
|
-
readonly html: Schema.String;
|
|
5739
|
-
readonly text: Schema.String;
|
|
5740
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5741
|
-
}>;
|
|
5709
|
+
readonly html: Schema.String;
|
|
5710
|
+
readonly text: Schema.String;
|
|
5711
|
+
readonly headCss: Schema.String;
|
|
5742
5712
|
}>;
|
|
5743
5713
|
readonly digest: Schema.String;
|
|
5744
5714
|
readonly rendersFooter: Schema.Union<readonly [Schema.Literal<"every">, Schema.Literal<"some">, Schema.Literal<"none">]>;
|
|
5745
5715
|
}>>;
|
|
5746
5716
|
}>;
|
|
5747
|
-
readonly
|
|
5717
|
+
readonly compiled: Schema.Struct<{
|
|
5748
5718
|
readonly key: Schema.String;
|
|
5749
5719
|
readonly digest: Schema.String;
|
|
5750
5720
|
}>;
|
|
@@ -6653,7 +6623,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6653
6623
|
readonly buildIdentity: Schema.String;
|
|
6654
6624
|
readonly manifest: Schema.Struct<{
|
|
6655
6625
|
readonly templateKey: Schema.String;
|
|
6656
|
-
readonly
|
|
6626
|
+
readonly compiled: Schema.Struct<{
|
|
6657
6627
|
readonly version: Schema.Finite;
|
|
6658
6628
|
readonly digest: Schema.String;
|
|
6659
6629
|
readonly bytes: Schema.Finite;
|
|
@@ -6704,22 +6674,15 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6704
6674
|
}>>, Schema.Null]>>;
|
|
6705
6675
|
}>;
|
|
6706
6676
|
readonly renderedFooter: Schema.Struct<{
|
|
6707
|
-
readonly
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6711
|
-
}>;
|
|
6712
|
-
readonly withoutUnsubscribe: Schema.Struct<{
|
|
6713
|
-
readonly html: Schema.String;
|
|
6714
|
-
readonly text: Schema.String;
|
|
6715
|
-
readonly headCss: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6716
|
-
}>;
|
|
6677
|
+
readonly html: Schema.String;
|
|
6678
|
+
readonly text: Schema.String;
|
|
6679
|
+
readonly headCss: Schema.String;
|
|
6717
6680
|
}>;
|
|
6718
6681
|
readonly digest: Schema.String;
|
|
6719
6682
|
readonly rendersFooter: Schema.Union<readonly [Schema.Literal<"every">, Schema.Literal<"some">, Schema.Literal<"none">]>;
|
|
6720
6683
|
}>>;
|
|
6721
6684
|
}>;
|
|
6722
|
-
readonly
|
|
6685
|
+
readonly compiled: Schema.Struct<{
|
|
6723
6686
|
readonly key: Schema.String;
|
|
6724
6687
|
readonly digest: Schema.String;
|
|
6725
6688
|
}>;
|
|
@@ -7625,6 +7588,8 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7625
7588
|
readonly start: Schema.Finite;
|
|
7626
7589
|
readonly end: Schema.Finite;
|
|
7627
7590
|
}>>;
|
|
7591
|
+
readonly sentBytes: Schema.Finite;
|
|
7592
|
+
readonly previewBytes: Schema.Finite;
|
|
7628
7593
|
}>, Schema.Null]>;
|
|
7629
7594
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7630
7595
|
readonly _tag: "ConflictError";
|