samva 0.43.2 → 0.44.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/README.md +6 -5
- package/dist/client/sdk.gen.d.ts +28 -2
- package/dist/client/sdk.gen.js +81 -1
- package/dist/client/types.gen.d.ts +448 -8
- package/dist/effect/email.d.ts +2 -0
- package/dist/effect/generated/campaigns.js +2 -2
- package/dist/effect/generated/email.d.ts +7 -0
- package/dist/effect/generated/email.js +8 -9
- package/dist/effect/generated/mailboxes.d.ts +14 -14
- package/dist/effect/generated/mailboxes.js +2 -0
- package/dist/effect/generated/newsletter-issues.js +29 -29
- package/dist/effect/generated/organizations.js +2 -2
- package/dist/effect/generated/scheduled-messages.js +3 -3
- package/dist/effect/generated/shared.d.ts +20 -0
- package/dist/effect/generated/shared.js +23 -23
- package/dist/effect/generated/subscriptions.js +4 -4
- package/dist/effect/generated/templates.d.ts +789 -6
- package/dist/effect/generated/templates.js +156 -54
- package/dist/effect/generated/whoami.d.ts +5 -0
- package/dist/effect/generated/whoami.js +2 -1
- package/dist/effect/generated-metadata.d.ts +12 -0
- package/dist/effect/generated-metadata.js +2 -0
- package/dist/effect/mailboxes.d.ts +4 -4
- package/dist/effect/templates.d.ts +10 -0
- package/dist/effect/templates.js +5 -1
- package/dist/mailbox/types.d.ts +2 -1
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +8 -0
- package/dist/service-map.js +2 -0
- package/package.json +10 -10
|
@@ -54,6 +54,42 @@ const TemplatePublicationRender = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
54
54
|
html: Schema.String.check(Schema.isMaxCodePoints(2097152).annotate({ expected: "a string with at most 2097152 code points" })).check(Schema.isMaxLength(2097152).annotate({ expected: "a value with a length of at most 2097152" })),
|
|
55
55
|
text: Schema.String.check(Schema.isMaxCodePoints(2097152).annotate({ expected: "a string with at most 2097152 code points" })).check(Schema.isMaxLength(2097152).annotate({ expected: "a value with a length of at most 2097152" }))
|
|
56
56
|
}).annotate({ identifier: "TemplatePublicationRender" }))();
|
|
57
|
+
const TemplateStarterSuggestion = /* @__PURE__ */ (() => Schema.Struct({
|
|
58
|
+
galleryTemplateId: Schema.String.annotate({ description: "The gallery design to start from. Pass it as `galleryTemplateId` to create a template from it." }),
|
|
59
|
+
slug: Schema.String.annotate({ description: "The design's gallery page, under /templates/." }),
|
|
60
|
+
name: Schema.String,
|
|
61
|
+
description: Schema.String,
|
|
62
|
+
intent: Schema.String.annotate({ description: "The brief this design fits, in one sentence." }),
|
|
63
|
+
tags: Schema.Array(Schema.String),
|
|
64
|
+
structure: Schema.String.annotate({ description: "How the design is built: letter, code, ledger, timeline, grid, poster, and so on." }),
|
|
65
|
+
imagery: Schema.Union([
|
|
66
|
+
Schema.Literal("none"),
|
|
67
|
+
Schema.Literal("markup"),
|
|
68
|
+
Schema.Literal("pictures")
|
|
69
|
+
]).annotate({ description: "Whether adapting it means replacing pictures: none, graphics built in markup, or image files." }),
|
|
70
|
+
recreates: Schema.optionalKey(Schema.String.annotate({ description: "The company whose email this design recreates." })),
|
|
71
|
+
reason: Schema.String.annotate({ description: "Why it was suggested for this brief." })
|
|
72
|
+
}).annotate({ identifier: "TemplateStarterSuggestion" }))();
|
|
73
|
+
const TemplateRecreationMatch = /* @__PURE__ */ (() => Schema.Union([
|
|
74
|
+
Schema.Struct({
|
|
75
|
+
status: Schema.Literal("exact"),
|
|
76
|
+
company: Schema.String,
|
|
77
|
+
galleryTemplateId: Schema.String
|
|
78
|
+
}),
|
|
79
|
+
Schema.Struct({
|
|
80
|
+
status: Schema.Literal("kind-differs"),
|
|
81
|
+
company: Schema.String,
|
|
82
|
+
galleryTemplateId: Schema.String,
|
|
83
|
+
recreationName: Schema.String
|
|
84
|
+
}),
|
|
85
|
+
Schema.Struct({
|
|
86
|
+
status: Schema.Literal("missing"),
|
|
87
|
+
company: Schema.String
|
|
88
|
+
})
|
|
89
|
+
]).annotate({
|
|
90
|
+
description: "The company email the brief named: `exact` when the gallery recreates that kind of email from it, `kind-differs` when it recreates another kind (start from it for the look and adapt the kind), `missing` when the gallery has no recreation of that company.",
|
|
91
|
+
identifier: "TemplateRecreationMatch"
|
|
92
|
+
}))();
|
|
57
93
|
const TemplateInputContractPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
58
94
|
items: Schema.Array(Schema.Struct({
|
|
59
95
|
id: TemplateInputContractId,
|
|
@@ -98,7 +134,7 @@ const TemplateSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
98
134
|
projectId: TemplateProjectId,
|
|
99
135
|
namespaceId: Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "The namespace the template's project belongs to; every entry in a project shares it. Null at organization level. A namespace-scoped key reaches only its own namespace's templates and shared ones." }),
|
|
100
136
|
shared: Schema.Boolean.annotate({ description: "Whether the template's project is shared with every namespace. Every entry in a project shares it. A namespace-scoped key reads and sends a shared template in its own namespace but cannot change it. Only an organization-level project is shared." }),
|
|
101
|
-
entryPath: Schema.String.
|
|
137
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
102
138
|
status: Schema.Union([
|
|
103
139
|
Schema.Literal("draft"),
|
|
104
140
|
Schema.Literal("pending"),
|
|
@@ -136,6 +172,10 @@ const WhatsAppTemplateComponent = /* @__PURE__ */ (() => Schema.Union([
|
|
|
136
172
|
buttons: Schema.Array(WhatsAppTemplateButton)
|
|
137
173
|
})
|
|
138
174
|
]).annotate({ identifier: "WhatsAppTemplateComponent" }))();
|
|
175
|
+
const TemplateStarterSuggestions = /* @__PURE__ */ (() => Schema.Struct({
|
|
176
|
+
suggestions: Schema.Array(TemplateStarterSuggestion).annotate({ description: "Best first; a new email for this brief starts from the first." }),
|
|
177
|
+
recreation: Schema.Union([TemplateRecreationMatch, Schema.Null])
|
|
178
|
+
}).annotate({ identifier: "TemplateStarterSuggestions" }))();
|
|
139
179
|
const TemplateFamily = /* @__PURE__ */ (() => Schema.Struct({
|
|
140
180
|
id: TemplateFamilyId,
|
|
141
181
|
name: Schema.String,
|
|
@@ -159,7 +199,7 @@ const Template = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
159
199
|
projectId: TemplateProjectId,
|
|
160
200
|
namespaceId: Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "The namespace the template's project belongs to; every entry in a project shares it. Null at organization level. A namespace-scoped key reaches only its own namespace's templates and shared ones." }),
|
|
161
201
|
shared: Schema.Boolean.annotate({ description: "Whether the template's project is shared with every namespace. Every entry in a project shares it. A namespace-scoped key reads and sends a shared template in its own namespace but cannot change it. Only an organization-level project is shared." }),
|
|
162
|
-
entryPath: Schema.String.
|
|
202
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
163
203
|
status: Schema.Union([
|
|
164
204
|
Schema.Literal("draft"),
|
|
165
205
|
Schema.Literal("pending"),
|
|
@@ -221,6 +261,16 @@ const TemplateFamilyPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
221
261
|
items: Schema.Array(TemplateFamily),
|
|
222
262
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
223
263
|
}).annotate({ identifier: "TemplateFamilyPage" }))();
|
|
264
|
+
const TemplateFromBrief = /* @__PURE__ */ (() => Schema.Struct({
|
|
265
|
+
template: Template,
|
|
266
|
+
startedFrom: TemplateStarterSuggestion,
|
|
267
|
+
alternatives: Schema.Array(TemplateStarterSuggestion).annotate({ description: "The other designs suggested for the brief, best first." }),
|
|
268
|
+
recreation: Schema.Union([TemplateRecreationMatch, Schema.Null]),
|
|
269
|
+
ask: Schema.String.annotate({ description: "The request to send the template assistant in the editor: the brief, then the design the project starts from and what the gallery has of a company email the brief names. The assistant adapts the design to it; nothing runs until it is sent." })
|
|
270
|
+
}).annotate({
|
|
271
|
+
description: "A template project created from a brief. `startedFrom` is the gallery design the project was created from.",
|
|
272
|
+
identifier: "TemplateFromBrief"
|
|
273
|
+
}))();
|
|
224
274
|
const TemplateFromWebsite = /* @__PURE__ */ (() => Schema.Struct({
|
|
225
275
|
template: Template,
|
|
226
276
|
website: Schema.Struct({
|
|
@@ -270,7 +320,7 @@ const TemplatesCreateHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempoten
|
|
|
270
320
|
const TemplatesCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
271
321
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })),
|
|
272
322
|
projectName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null])),
|
|
273
|
-
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^
|
|
323
|
+
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
|
|
274
324
|
galleryTemplateId: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })), Schema.Null])),
|
|
275
325
|
useBrand: Schema.optionalKey(Schema.Union([Schema.Boolean.annotate({ description: "With `galleryTemplateId`: whether the new project's `theme.css` imports the organization's default brand (`@import \"samva:brand\";`) over the starter's look. Defaults to false." }), Schema.Null])),
|
|
276
326
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -318,8 +368,8 @@ const TemplatesDelete504 = GatewayTimeoutError;
|
|
|
318
368
|
const TemplatesUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
319
369
|
const TemplatesUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.Struct({
|
|
320
370
|
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
321
|
-
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^
|
|
322
|
-
entryPath: Schema.optionalKey(Schema.Union([Schema.String.
|
|
371
|
+
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
|
|
372
|
+
entryPath: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.Null])),
|
|
323
373
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
324
374
|
category: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
325
375
|
Schema.Literal("transactional"),
|
|
@@ -331,7 +381,7 @@ const TemplatesUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({ data:
|
|
|
331
381
|
Schema.Literal("alert")
|
|
332
382
|
]), Schema.Null])),
|
|
333
383
|
fromDefault: Schema.optionalKey(Schema.Union([TemplateFromDefaultInput, Schema.Null])),
|
|
334
|
-
replyToDefault: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String
|
|
384
|
+
replyToDefault: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
335
385
|
trackingDefault: Schema.optionalKey(Schema.Union([TemplateTrackingDefault, Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
|
|
336
386
|
shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
|
|
337
387
|
}) }))();
|
|
@@ -381,7 +431,7 @@ const TemplatesPublishPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: Te
|
|
|
381
431
|
const TemplatesPublishRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
382
432
|
projectId: TemplateProjectId,
|
|
383
433
|
commitSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
384
|
-
entryPath: Schema.String.
|
|
434
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
385
435
|
expectedWorkspaceRevision: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
386
436
|
ifCurrentPublicationId: Schema.optionalKey(Schema.Union([TemplatePublicationId, Schema.Null]))
|
|
387
437
|
}))();
|
|
@@ -393,7 +443,7 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
393
443
|
inputContractId: TemplateInputContractId,
|
|
394
444
|
commitSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
395
445
|
treeSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
396
|
-
entryPath: Schema.String.
|
|
446
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
397
447
|
buildIdentity: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
398
448
|
manifest: Schema.Struct({
|
|
399
449
|
templateKey: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
@@ -421,7 +471,7 @@ const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
421
471
|
source: Schema.Struct({
|
|
422
472
|
commitSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
423
473
|
treeSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
424
|
-
entryPath: Schema.Union([Schema.String.
|
|
474
|
+
entryPath: Schema.Union([Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
425
475
|
treeDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
426
476
|
}),
|
|
427
477
|
brand: Schema.optionalKey(Schema.Struct({
|
|
@@ -540,7 +590,7 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
540
590
|
inputContractId: TemplateInputContractId,
|
|
541
591
|
commitSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
542
592
|
treeSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
543
|
-
entryPath: Schema.String.
|
|
593
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
544
594
|
buildIdentity: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
545
595
|
manifest: Schema.Struct({
|
|
546
596
|
templateKey: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
@@ -568,7 +618,7 @@ const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
568
618
|
source: Schema.Struct({
|
|
569
619
|
commitSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
570
620
|
treeSha: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
571
|
-
entryPath: Schema.Union([Schema.String.
|
|
621
|
+
entryPath: Schema.Union([Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
572
622
|
treeDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
573
623
|
}),
|
|
574
624
|
brand: Schema.optionalKey(Schema.Struct({
|
|
@@ -744,7 +794,7 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
744
794
|
])
|
|
745
795
|
})),
|
|
746
796
|
conflicts: Schema.Array(Schema.Struct({
|
|
747
|
-
path: Schema.String.
|
|
797
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
748
798
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
749
799
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
750
800
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -761,7 +811,7 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
761
811
|
access: Schema.Literal("read-write")
|
|
762
812
|
}),
|
|
763
813
|
Schema.Struct({
|
|
764
|
-
root: Schema.String.
|
|
814
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
765
815
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
766
816
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
767
817
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -772,7 +822,7 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
772
822
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
773
823
|
}),
|
|
774
824
|
Schema.Struct({
|
|
775
|
-
root: Schema.String.
|
|
825
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
776
826
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
777
827
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
778
828
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -782,7 +832,7 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
782
832
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
783
833
|
}),
|
|
784
834
|
Schema.Struct({
|
|
785
|
-
root: Schema.String.
|
|
835
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
786
836
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
787
837
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
788
838
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -829,7 +879,7 @@ const TemplatesPatchWorkspaceHeaders = /* @__PURE__ */ (() => Schema.Struct({ "i
|
|
|
829
879
|
const TemplatesPatchWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
830
880
|
expectedRevision: Schema.String,
|
|
831
881
|
patches: Schema.Array(Schema.Struct({
|
|
832
|
-
path: Schema.String.
|
|
882
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
833
883
|
content: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1048576).annotate({ expected: "a string with at most 1048576 code points" })).check(Schema.isMaxLength(1048576).annotate({ expected: "a value with a length of at most 1048576" })), Schema.Null])
|
|
834
884
|
})).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" }))
|
|
835
885
|
}))();
|
|
@@ -854,7 +904,7 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
854
904
|
])
|
|
855
905
|
})),
|
|
856
906
|
conflicts: Schema.Array(Schema.Struct({
|
|
857
|
-
path: Schema.String.
|
|
907
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
858
908
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
859
909
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
860
910
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -871,7 +921,7 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
871
921
|
access: Schema.Literal("read-write")
|
|
872
922
|
}),
|
|
873
923
|
Schema.Struct({
|
|
874
|
-
root: Schema.String.
|
|
924
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
875
925
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
876
926
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
877
927
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -882,7 +932,7 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
882
932
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
883
933
|
}),
|
|
884
934
|
Schema.Struct({
|
|
885
|
-
root: Schema.String.
|
|
935
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
886
936
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
887
937
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
888
938
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -892,7 +942,7 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
892
942
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
893
943
|
}),
|
|
894
944
|
Schema.Struct({
|
|
895
|
-
root: Schema.String.
|
|
945
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
896
946
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
897
947
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
898
948
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -938,7 +988,7 @@ const TemplatesPutWorkspaceAssetPathParams = /* @__PURE__ */ (() => Schema.Struc
|
|
|
938
988
|
const TemplatesPutWorkspaceAssetHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })) }))();
|
|
939
989
|
const TemplatesPutWorkspaceAssetRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
940
990
|
expectedRevision: Schema.String,
|
|
941
|
-
path: Schema.String.
|
|
991
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
942
992
|
contentBase64: Schema.String,
|
|
943
993
|
replace: Schema.Boolean
|
|
944
994
|
}))();
|
|
@@ -963,7 +1013,7 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
963
1013
|
])
|
|
964
1014
|
})),
|
|
965
1015
|
conflicts: Schema.Array(Schema.Struct({
|
|
966
|
-
path: Schema.String.
|
|
1016
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
967
1017
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
968
1018
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
969
1019
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -980,7 +1030,7 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
980
1030
|
access: Schema.Literal("read-write")
|
|
981
1031
|
}),
|
|
982
1032
|
Schema.Struct({
|
|
983
|
-
root: Schema.String.
|
|
1033
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
984
1034
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
985
1035
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
986
1036
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -991,7 +1041,7 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
991
1041
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
992
1042
|
}),
|
|
993
1043
|
Schema.Struct({
|
|
994
|
-
root: Schema.String.
|
|
1044
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
995
1045
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
996
1046
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
997
1047
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1001,7 +1051,7 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1001
1051
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1002
1052
|
}),
|
|
1003
1053
|
Schema.Struct({
|
|
1004
|
-
root: Schema.String.
|
|
1054
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1005
1055
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1006
1056
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1007
1057
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1048,7 +1098,7 @@ const TemplatesCheckWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1048
1098
|
const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1049
1099
|
projectId: TemplateProjectId,
|
|
1050
1100
|
revision: Schema.String,
|
|
1051
|
-
entryPath: Schema.Union([Schema.String.
|
|
1101
|
+
entryPath: Schema.Union([Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
1052
1102
|
declaration: Schema.Union([Schema.Struct({
|
|
1053
1103
|
codeDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1054
1104
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1060,7 +1110,7 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1060
1110
|
fixtures: Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })))
|
|
1061
1111
|
}), Schema.Null]),
|
|
1062
1112
|
issue: Schema.optionalKey(Schema.Struct({
|
|
1063
|
-
path: Schema.String.
|
|
1113
|
+
path: Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
1064
1114
|
frontmatter: Schema.Struct({
|
|
1065
1115
|
title: Schema.String,
|
|
1066
1116
|
date: Schema.optionalKey(Schema.String),
|
|
@@ -1153,7 +1203,7 @@ const TemplatesResolveWorkspaceConflictPathParams = /* @__PURE__ */ (() => Schem
|
|
|
1153
1203
|
const TemplatesResolveWorkspaceConflictHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })) }))();
|
|
1154
1204
|
const TemplatesResolveWorkspaceConflictRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1155
1205
|
expectedRevision: Schema.String,
|
|
1156
|
-
path: Schema.String.
|
|
1206
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1157
1207
|
resolution: Schema.Union([
|
|
1158
1208
|
Schema.Literal("draft"),
|
|
1159
1209
|
Schema.Literal("main"),
|
|
@@ -1181,7 +1231,7 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1181
1231
|
])
|
|
1182
1232
|
})),
|
|
1183
1233
|
conflicts: Schema.Array(Schema.Struct({
|
|
1184
|
-
path: Schema.String.
|
|
1234
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1185
1235
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
1186
1236
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
1187
1237
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -1198,7 +1248,7 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1198
1248
|
access: Schema.Literal("read-write")
|
|
1199
1249
|
}),
|
|
1200
1250
|
Schema.Struct({
|
|
1201
|
-
root: Schema.String.
|
|
1251
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1202
1252
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1203
1253
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1204
1254
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1209,7 +1259,7 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1209
1259
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1210
1260
|
}),
|
|
1211
1261
|
Schema.Struct({
|
|
1212
|
-
root: Schema.String.
|
|
1262
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1213
1263
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1214
1264
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1215
1265
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1219,7 +1269,7 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struc
|
|
|
1219
1269
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1220
1270
|
}),
|
|
1221
1271
|
Schema.Struct({
|
|
1222
|
-
root: Schema.String.
|
|
1272
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1223
1273
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1224
1274
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1225
1275
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1268,7 +1318,7 @@ const TemplatesDiffWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1268
1318
|
baseCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1269
1319
|
revision: Schema.String,
|
|
1270
1320
|
changes: Schema.Array(Schema.Struct({
|
|
1271
|
-
path: Schema.String.
|
|
1321
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1272
1322
|
before: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1048576).annotate({ expected: "a string with at most 1048576 code points" })).check(Schema.isMaxLength(1048576).annotate({ expected: "a value with a length of at most 1048576" })), Schema.Null]),
|
|
1273
1323
|
after: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1048576).annotate({ expected: "a string with at most 1048576 code points" })).check(Schema.isMaxLength(1048576).annotate({ expected: "a value with a length of at most 1048576" })), Schema.Null]),
|
|
1274
1324
|
status: Schema.Union([
|
|
@@ -1304,7 +1354,7 @@ const TemplatesRenderWorkspaceFixtureRequestJson = /* @__PURE__ */ (() => Schema
|
|
|
1304
1354
|
const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1305
1355
|
projectId: TemplateProjectId,
|
|
1306
1356
|
revision: Schema.String,
|
|
1307
|
-
entryPath: Schema.Union([Schema.String.
|
|
1357
|
+
entryPath: Schema.Union([Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
1308
1358
|
declaration: Schema.Union([Schema.Struct({
|
|
1309
1359
|
codeDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1310
1360
|
templateId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
|
|
@@ -1316,7 +1366,7 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct(
|
|
|
1316
1366
|
fixtures: Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })))
|
|
1317
1367
|
}), Schema.Null]),
|
|
1318
1368
|
issue: Schema.optionalKey(Schema.Struct({
|
|
1319
|
-
path: Schema.String.
|
|
1369
|
+
path: Schema.String.annotate({ description: "A .md file under issues/, at most 1024 characters, with no backslash, . or .., .git, or control characters." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
1320
1370
|
frontmatter: Schema.Struct({
|
|
1321
1371
|
title: Schema.String,
|
|
1322
1372
|
date: Schema.optionalKey(Schema.String),
|
|
@@ -1524,7 +1574,7 @@ const TemplatesAttachWorkspaceResourceRequestJson = /* @__PURE__ */ (() => Schem
|
|
|
1524
1574
|
resourceId: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
1525
1575
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" })),
|
|
1526
1576
|
files: Schema.Array(Schema.Struct({
|
|
1527
|
-
path: Schema.String.
|
|
1577
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1528
1578
|
mediaType: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })),
|
|
1529
1579
|
contentBase64: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "u")).annotate({ expected: "a string matching the RegExp ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" }))
|
|
1530
1580
|
})).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(32).annotate({ expected: "a value with a length of at most 32" }))
|
|
@@ -1550,7 +1600,7 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1550
1600
|
])
|
|
1551
1601
|
})),
|
|
1552
1602
|
conflicts: Schema.Array(Schema.Struct({
|
|
1553
|
-
path: Schema.String.
|
|
1603
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1554
1604
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
1555
1605
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
1556
1606
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -1567,7 +1617,7 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1567
1617
|
access: Schema.Literal("read-write")
|
|
1568
1618
|
}),
|
|
1569
1619
|
Schema.Struct({
|
|
1570
|
-
root: Schema.String.
|
|
1620
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1571
1621
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1572
1622
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1573
1623
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1578,7 +1628,7 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1578
1628
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1579
1629
|
}),
|
|
1580
1630
|
Schema.Struct({
|
|
1581
|
-
root: Schema.String.
|
|
1631
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1582
1632
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1583
1633
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1584
1634
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1588,7 +1638,7 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1588
1638
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1589
1639
|
}),
|
|
1590
1640
|
Schema.Struct({
|
|
1591
|
-
root: Schema.String.
|
|
1641
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1592
1642
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1593
1643
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1594
1644
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1654,7 +1704,7 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1654
1704
|
])
|
|
1655
1705
|
})),
|
|
1656
1706
|
conflicts: Schema.Array(Schema.Struct({
|
|
1657
|
-
path: Schema.String.
|
|
1707
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1658
1708
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
1659
1709
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
1660
1710
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -1671,7 +1721,7 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1671
1721
|
access: Schema.Literal("read-write")
|
|
1672
1722
|
}),
|
|
1673
1723
|
Schema.Struct({
|
|
1674
|
-
root: Schema.String.
|
|
1724
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1675
1725
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1676
1726
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1677
1727
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1682,7 +1732,7 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1682
1732
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1683
1733
|
}),
|
|
1684
1734
|
Schema.Struct({
|
|
1685
|
-
root: Schema.String.
|
|
1735
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1686
1736
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1687
1737
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1688
1738
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1692,7 +1742,7 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct
|
|
|
1692
1742
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1693
1743
|
}),
|
|
1694
1744
|
Schema.Struct({
|
|
1695
|
-
root: Schema.String.
|
|
1745
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1696
1746
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1697
1747
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1698
1748
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1760,7 +1810,7 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1760
1810
|
])
|
|
1761
1811
|
})),
|
|
1762
1812
|
conflicts: Schema.Array(Schema.Struct({
|
|
1763
|
-
path: Schema.String.
|
|
1813
|
+
path: Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" })),
|
|
1764
1814
|
base: Schema.Union([Schema.String, Schema.Null]),
|
|
1765
1815
|
draft: Schema.Union([Schema.String, Schema.Null]),
|
|
1766
1816
|
main: Schema.Union([Schema.String, Schema.Null])
|
|
@@ -1777,7 +1827,7 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1777
1827
|
access: Schema.Literal("read-write")
|
|
1778
1828
|
}),
|
|
1779
1829
|
Schema.Struct({
|
|
1780
|
-
root: Schema.String.
|
|
1830
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1781
1831
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1782
1832
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1783
1833
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1788,7 +1838,7 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1788
1838
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1789
1839
|
}),
|
|
1790
1840
|
Schema.Struct({
|
|
1791
|
-
root: Schema.String.
|
|
1841
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1792
1842
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1793
1843
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1794
1844
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1798,7 +1848,7 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1798
1848
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(256).annotate({ expected: "a string with at most 256 code points" })).check(Schema.isMaxLength(256).annotate({ expected: "a value with a length of at most 256" }))
|
|
1799
1849
|
}),
|
|
1800
1850
|
Schema.Struct({
|
|
1801
|
-
root: Schema.String.
|
|
1851
|
+
root: Schema.String.annotate({ description: "An absolute path under a workspace mount root, at most 2048 characters, with no . or .., or .git segments." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
1802
1852
|
digest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1803
1853
|
fileCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1804
1854
|
byteSize: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1857,7 +1907,7 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1857
1907
|
parentCommit: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1858
1908
|
tree: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1859
1909
|
revision: Schema.String,
|
|
1860
|
-
changedPaths: Schema.Array(Schema.String.
|
|
1910
|
+
changedPaths: Schema.Array(Schema.String.annotate({ description: "A relative path of 1–1024 characters with no backslash, . or .., or .git segments." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isBetweenLength(1, 1024).annotate({ expected: "a value with a length between 1 and 1024" }))),
|
|
1861
1911
|
sourceDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1862
1912
|
buildDigest: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1863
1913
|
warnings: Schema.Array(Schema.Struct({
|
|
@@ -2018,6 +2068,24 @@ const TemplatesCreateFamilyFromTemplate409 = ConflictError;
|
|
|
2018
2068
|
const TemplatesCreateFamilyFromTemplate422 = ValidationError;
|
|
2019
2069
|
const TemplatesCreateFamilyFromTemplate500 = InternalError;
|
|
2020
2070
|
const TemplatesCreateFamilyFromTemplate504 = GatewayTimeoutError;
|
|
2071
|
+
const TemplatesCreateFromBriefHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })) }))();
|
|
2072
|
+
const TemplatesCreateFromBriefRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2073
|
+
brief: Schema.String.annotate({ description: "What the email is for, as a person would ask for it: who sends it, to whom, and why. Naming a company's email (\"like the Vercel login email\") starts from Samva's recreation of it when the gallery has one." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(4e3).annotate({ expected: "a string with at most 4000 code points" })).check(Schema.isMaxLength(4e3).annotate({ expected: "a value with a length of at most 4000" })),
|
|
2074
|
+
name: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "The template's name. Defaults to the name of the design it starts from." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null])),
|
|
2075
|
+
galleryTemplateId: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "Start from this gallery design instead of the first suggestion, for example another one the suggestions offered." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })), Schema.Null])),
|
|
2076
|
+
useBrand: Schema.optionalKey(Schema.Union([Schema.Boolean.annotate({ description: "Whether the new project's `theme.css` imports the organization's default brand over the design's look. Defaults to false." }), Schema.Null])),
|
|
2077
|
+
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "The namespace the new template project belongs to. Omit for organization level. A namespace-scoped key always creates in its own namespace." }))
|
|
2078
|
+
}))();
|
|
2079
|
+
const TemplatesCreateFromBrief201 = TemplateFromBrief;
|
|
2080
|
+
const TemplatesCreateFromBrief400 = MalformedRequestError;
|
|
2081
|
+
const TemplatesCreateFromBrief401 = UnauthorizedError;
|
|
2082
|
+
const TemplatesCreateFromBrief403 = ForbiddenError;
|
|
2083
|
+
const TemplatesCreateFromBrief404 = ResourceNotFoundError;
|
|
2084
|
+
const TemplatesCreateFromBrief409 = /* @__PURE__ */ (() => Schema.Union([ConflictError, TemplateInUseError]))();
|
|
2085
|
+
const TemplatesCreateFromBrief422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
2086
|
+
const TemplatesCreateFromBrief500 = InternalError;
|
|
2087
|
+
const TemplatesCreateFromBrief503 = ServiceUnavailableError;
|
|
2088
|
+
const TemplatesCreateFromBrief504 = GatewayTimeoutError;
|
|
2021
2089
|
const TemplatesCreateFromWebsiteHeaders = /* @__PURE__ */ (() => Schema.Struct({ "idempotency-key": Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })) }))();
|
|
2022
2090
|
const TemplatesCreateFromWebsiteRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2023
2091
|
url: Schema.String.annotate({ description: "The website whose look the template should match: a public https address, or a bare domain such as `example.com`." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })),
|
|
@@ -2046,9 +2114,9 @@ const TemplatesDeleteProject500 = InternalError;
|
|
|
2046
2114
|
const TemplatesDeleteProject504 = GatewayTimeoutError;
|
|
2047
2115
|
const TemplatesAddEntryPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateProjectId }))();
|
|
2048
2116
|
const TemplatesAddEntryRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
2049
|
-
entryPath: Schema.String.
|
|
2117
|
+
entryPath: Schema.String.annotate({ description: "A relative .tsx file under templates or emails/, at most 1024 characters, with no backslash, . or .., or .git segments." }).check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
2050
2118
|
name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })),
|
|
2051
|
-
slug: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^
|
|
2119
|
+
slug: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
2052
2120
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
2053
2121
|
category: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
2054
2122
|
Schema.Literal("transactional"),
|
|
@@ -2069,6 +2137,14 @@ const TemplatesAddEntry409 = ConflictError;
|
|
|
2069
2137
|
const TemplatesAddEntry422 = ValidationError;
|
|
2070
2138
|
const TemplatesAddEntry500 = InternalError;
|
|
2071
2139
|
const TemplatesAddEntry504 = GatewayTimeoutError;
|
|
2140
|
+
const TemplatesSuggestStartersRequestJson = /* @__PURE__ */ (() => Schema.Struct({ brief: Schema.String.annotate({ description: "What the email is for, as a person would ask for it: who sends it, to whom, and why. Naming a company's email (\"like the Vercel login email\") starts from Samva's recreation of it when the gallery has one." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(4e3).annotate({ expected: "a string with at most 4000 code points" })).check(Schema.isMaxLength(4e3).annotate({ expected: "a value with a length of at most 4000" })) }))();
|
|
2141
|
+
const TemplatesSuggestStarters200 = TemplateStarterSuggestions;
|
|
2142
|
+
const TemplatesSuggestStarters400 = MalformedRequestError;
|
|
2143
|
+
const TemplatesSuggestStarters401 = UnauthorizedError;
|
|
2144
|
+
const TemplatesSuggestStarters403 = ForbiddenError;
|
|
2145
|
+
const TemplatesSuggestStarters422 = ValidationError;
|
|
2146
|
+
const TemplatesSuggestStarters500 = InternalError;
|
|
2147
|
+
const TemplatesSuggestStarters504 = GatewayTimeoutError;
|
|
2072
2148
|
var TemplatesGroup = class extends HttpApiGroup.make("Templates").add(HttpApiEndpoint.get("templatesList", "/v1/templates", {
|
|
2073
2149
|
query: TemplatesListQuery,
|
|
2074
2150
|
success: TemplatesList200,
|
|
@@ -2514,7 +2590,22 @@ var TemplatesGroup = class extends HttpApiGroup.make("Templates").add(HttpApiEnd
|
|
|
2514
2590
|
TemplatesCreateFamilyFromTemplate500,
|
|
2515
2591
|
TemplatesCreateFamilyFromTemplate504.pipe(HttpApiSchema.status(504))
|
|
2516
2592
|
]
|
|
2517
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.createFamilyFromTemplate").annotate(OpenApi.Summary, "Create a family from a template").annotate(OpenApi.Description, "Creates a template family containing the specified template and returns the new family with status 201."), HttpApiEndpoint.post("
|
|
2593
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.createFamilyFromTemplate").annotate(OpenApi.Summary, "Create a family from a template").annotate(OpenApi.Description, "Creates a template family containing the specified template and returns the new family with status 201."), HttpApiEndpoint.post("templatesCreateFromBrief", "/v1/templates/from-brief", {
|
|
2594
|
+
headers: TemplatesCreateFromBriefHeaders,
|
|
2595
|
+
payload: TemplatesCreateFromBriefRequestJson,
|
|
2596
|
+
success: TemplatesCreateFromBrief201.pipe(HttpApiSchema.status(201)),
|
|
2597
|
+
error: [
|
|
2598
|
+
TemplatesCreateFromBrief400.pipe(HttpApiSchema.status(400)),
|
|
2599
|
+
TemplatesCreateFromBrief401.pipe(HttpApiSchema.status(401)),
|
|
2600
|
+
TemplatesCreateFromBrief403.pipe(HttpApiSchema.status(403)),
|
|
2601
|
+
TemplatesCreateFromBrief404.pipe(HttpApiSchema.status(404)),
|
|
2602
|
+
TemplatesCreateFromBrief409.pipe(HttpApiSchema.status(409)),
|
|
2603
|
+
TemplatesCreateFromBrief422.pipe(HttpApiSchema.status(422)),
|
|
2604
|
+
TemplatesCreateFromBrief500,
|
|
2605
|
+
TemplatesCreateFromBrief503.pipe(HttpApiSchema.status(503)),
|
|
2606
|
+
TemplatesCreateFromBrief504.pipe(HttpApiSchema.status(504))
|
|
2607
|
+
]
|
|
2608
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.createFromBrief").annotate(OpenApi.Summary, "Create a template from a brief").annotate(OpenApi.Description, "Creates an email template project from the gallery design that best fits a brief (the first of `POST /v1/templates/suggestions`, or the `galleryTemplateId` you name) and returns it with status 201, the design it started from, the other suggestions, any company email the brief named, and the request that makes the template assistant adapt the design. The assistant runs when that request is sent in the editor; an agent of your own adapts the design through the workspace endpoints instead."), HttpApiEndpoint.post("templatesCreateFromWebsite", "/v1/templates/from-website", {
|
|
2518
2609
|
headers: TemplatesCreateFromWebsiteHeaders,
|
|
2519
2610
|
payload: TemplatesCreateFromWebsiteRequestJson,
|
|
2520
2611
|
success: TemplatesCreateFromWebsite201.pipe(HttpApiSchema.status(201)),
|
|
@@ -2556,7 +2647,18 @@ var TemplatesGroup = class extends HttpApiGroup.make("Templates").add(HttpApiEnd
|
|
|
2556
2647
|
TemplatesAddEntry500,
|
|
2557
2648
|
TemplatesAddEntry504.pipe(HttpApiSchema.status(504))
|
|
2558
2649
|
]
|
|
2559
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.addEntry").annotate(OpenApi.Summary, "Add a template entry").annotate(OpenApi.Description, "Registers a `.tsx` file under `templates/` or `emails/` in an existing template project as its own template and returns it with status 201. The file does not need to exist yet; publishing fails until a commit contains it. Repeating the call with the same entry path, name, and slug returns the existing template.")
|
|
2560
|
-
export { BrandRenderedFooter, Template, TemplateFamily, TemplateFamilyId, TemplateFamilyMember, TemplateFamilyPage, TemplateFromDefault, TemplateFromWebsite, TemplateInputContractPage, TemplatePage, TemplatePublicationBrand, TemplatePublicationRender, TemplateSummary, TemplatesAddEntry201, TemplatesAddEntry400, TemplatesAddEntry401, TemplatesAddEntry403, TemplatesAddEntry404, TemplatesAddEntry409, TemplatesAddEntry422, TemplatesAddEntry500, TemplatesAddEntry504, TemplatesAddEntryPathParams, TemplatesAddEntryRequestJson, TemplatesAttachFamilyMember200, TemplatesAttachFamilyMember400, TemplatesAttachFamilyMember401, TemplatesAttachFamilyMember403, TemplatesAttachFamilyMember404, TemplatesAttachFamilyMember409, TemplatesAttachFamilyMember422, TemplatesAttachFamilyMember500, TemplatesAttachFamilyMember504, TemplatesAttachFamilyMemberPathParams, TemplatesAttachWorkspaceResource200, TemplatesAttachWorkspaceResource400, TemplatesAttachWorkspaceResource401, TemplatesAttachWorkspaceResource403, TemplatesAttachWorkspaceResource404, TemplatesAttachWorkspaceResource409, TemplatesAttachWorkspaceResource422, TemplatesAttachWorkspaceResource500, TemplatesAttachWorkspaceResource503, TemplatesAttachWorkspaceResource504, TemplatesAttachWorkspaceResourceHeaders, TemplatesAttachWorkspaceResourcePathParams, TemplatesAttachWorkspaceResourceRequestJson, TemplatesCheckWorkspace200, TemplatesCheckWorkspace400, TemplatesCheckWorkspace401, TemplatesCheckWorkspace403, TemplatesCheckWorkspace404, TemplatesCheckWorkspace409, TemplatesCheckWorkspace422, TemplatesCheckWorkspace500, TemplatesCheckWorkspace503, TemplatesCheckWorkspace504, TemplatesCheckWorkspacePathParams, TemplatesCheckWorkspaceRequestJson, TemplatesCreate201, TemplatesCreate400, TemplatesCreate401, TemplatesCreate403, TemplatesCreate404, TemplatesCreate409, TemplatesCreate422, TemplatesCreate500, TemplatesCreate503, TemplatesCreate504, TemplatesCreateFamily201, TemplatesCreateFamily400, TemplatesCreateFamily401, TemplatesCreateFamily403, TemplatesCreateFamily422, TemplatesCreateFamily500, TemplatesCreateFamily504, TemplatesCreateFamilyFromTemplate201, TemplatesCreateFamilyFromTemplate400, TemplatesCreateFamilyFromTemplate401, TemplatesCreateFamilyFromTemplate403, TemplatesCreateFamilyFromTemplate404, TemplatesCreateFamilyFromTemplate409, TemplatesCreateFamilyFromTemplate422, TemplatesCreateFamilyFromTemplate500, TemplatesCreateFamilyFromTemplate504, TemplatesCreateFamilyFromTemplatePathParams, TemplatesCreateFamilyFromTemplateRequestJson, TemplatesCreateFamilyRequestJson, TemplatesCreateFromWebsite201, TemplatesCreateFromWebsite400, TemplatesCreateFromWebsite401, TemplatesCreateFromWebsite403, TemplatesCreateFromWebsite404, TemplatesCreateFromWebsite409, TemplatesCreateFromWebsite422, TemplatesCreateFromWebsite500, TemplatesCreateFromWebsite503, TemplatesCreateFromWebsite504, TemplatesCreateFromWebsiteHeaders, TemplatesCreateFromWebsiteRequestJson, TemplatesCreateHeaders, TemplatesCreateRequestJson, TemplatesDelete200, TemplatesDelete400, TemplatesDelete401, TemplatesDelete403, TemplatesDelete404, TemplatesDelete409, TemplatesDelete422, TemplatesDelete500, TemplatesDelete504, TemplatesDeleteFamily200, TemplatesDeleteFamily400, TemplatesDeleteFamily401, TemplatesDeleteFamily403, TemplatesDeleteFamily404, TemplatesDeleteFamily422, TemplatesDeleteFamily500, TemplatesDeleteFamily504, TemplatesDeleteFamilyPathParams, TemplatesDeletePathParams, TemplatesDeleteProject200, TemplatesDeleteProject400, TemplatesDeleteProject401, TemplatesDeleteProject403, TemplatesDeleteProject404, TemplatesDeleteProject409, TemplatesDeleteProject422, TemplatesDeleteProject500, TemplatesDeleteProject504, TemplatesDeleteProjectPathParams, TemplatesDetachFamilyMember200, TemplatesDetachFamilyMember400, TemplatesDetachFamilyMember401, TemplatesDetachFamilyMember403, TemplatesDetachFamilyMember404, TemplatesDetachFamilyMember409, TemplatesDetachFamilyMember422, TemplatesDetachFamilyMember500, TemplatesDetachFamilyMember504, TemplatesDetachFamilyMemberPathParams, TemplatesDiffWorkspace200, TemplatesDiffWorkspace400, TemplatesDiffWorkspace401, TemplatesDiffWorkspace403, TemplatesDiffWorkspace404, TemplatesDiffWorkspace409, TemplatesDiffWorkspace422, TemplatesDiffWorkspace500, TemplatesDiffWorkspace503, TemplatesDiffWorkspace504, TemplatesDiffWorkspacePathParams, TemplatesDiffWorkspaceRequestJson, TemplatesGetById200, TemplatesGetById400, TemplatesGetById401, TemplatesGetById403, TemplatesGetById404, TemplatesGetById422, TemplatesGetById500, TemplatesGetById504, TemplatesGetByIdPathParams, TemplatesGetFamily200, TemplatesGetFamily400, TemplatesGetFamily401, TemplatesGetFamily403, TemplatesGetFamily404, TemplatesGetFamily422, TemplatesGetFamily500, TemplatesGetFamily504, TemplatesGetFamilyPathParams, TemplatesGetGitRepository200, TemplatesGetGitRepository400, TemplatesGetGitRepository401, TemplatesGetGitRepository403, TemplatesGetGitRepository404, TemplatesGetGitRepository409, TemplatesGetGitRepository422, TemplatesGetGitRepository500, TemplatesGetGitRepository503, TemplatesGetGitRepository504, TemplatesGetGitRepositoryPathParams, TemplatesGetInputContract200, TemplatesGetInputContract400, TemplatesGetInputContract401, TemplatesGetInputContract403, TemplatesGetInputContract404, TemplatesGetInputContract422, TemplatesGetInputContract500, TemplatesGetInputContract504, TemplatesGetInputContractPathParams, TemplatesGetPublication200, TemplatesGetPublication400, TemplatesGetPublication401, TemplatesGetPublication403, TemplatesGetPublication404, TemplatesGetPublication422, TemplatesGetPublication500, TemplatesGetPublication504, TemplatesGetPublicationPathParams, TemplatesGroup, TemplatesIssueGitCredential200, TemplatesIssueGitCredential400, TemplatesIssueGitCredential401, TemplatesIssueGitCredential403, TemplatesIssueGitCredential404, TemplatesIssueGitCredential409, TemplatesIssueGitCredential422, TemplatesIssueGitCredential500, TemplatesIssueGitCredential503, TemplatesIssueGitCredential504, TemplatesIssueGitCredentialPathParams, TemplatesIssueGitCredentialRequestJson, TemplatesList200, TemplatesList400, TemplatesList401, TemplatesList403, TemplatesList422, TemplatesList500, TemplatesList504, TemplatesListFamilies200, TemplatesListFamilies400, TemplatesListFamilies401, TemplatesListFamilies403, TemplatesListFamilies422, TemplatesListFamilies500, TemplatesListFamilies504, TemplatesListFamiliesQuery, TemplatesListInputContracts200, TemplatesListInputContracts400, TemplatesListInputContracts401, TemplatesListInputContracts403, TemplatesListInputContracts404, TemplatesListInputContracts422, TemplatesListInputContracts500, TemplatesListInputContracts504, TemplatesListInputContractsPathParams, TemplatesListInputContractsQuery, TemplatesListQuery, TemplatesOpenWorkspace200, TemplatesOpenWorkspace400, TemplatesOpenWorkspace401, TemplatesOpenWorkspace403, TemplatesOpenWorkspace404, TemplatesOpenWorkspace409, TemplatesOpenWorkspace422, TemplatesOpenWorkspace500, TemplatesOpenWorkspace503, TemplatesOpenWorkspace504, TemplatesOpenWorkspacePathParams, TemplatesPatchWorkspace200, TemplatesPatchWorkspace400, TemplatesPatchWorkspace401, TemplatesPatchWorkspace403, TemplatesPatchWorkspace404, TemplatesPatchWorkspace409, TemplatesPatchWorkspace422, TemplatesPatchWorkspace500, TemplatesPatchWorkspace503, TemplatesPatchWorkspace504, TemplatesPatchWorkspaceHeaders, TemplatesPatchWorkspacePathParams, TemplatesPatchWorkspaceRequestJson, TemplatesPublish201, TemplatesPublish400, TemplatesPublish401, TemplatesPublish403, TemplatesPublish404, TemplatesPublish409, TemplatesPublish422, TemplatesPublish500, TemplatesPublish503, TemplatesPublish504, TemplatesPublishPathParams, TemplatesPublishRequestJson, TemplatesPutWorkspaceAsset200, TemplatesPutWorkspaceAsset400, TemplatesPutWorkspaceAsset401, TemplatesPutWorkspaceAsset403, TemplatesPutWorkspaceAsset404, TemplatesPutWorkspaceAsset409, TemplatesPutWorkspaceAsset422, TemplatesPutWorkspaceAsset500, TemplatesPutWorkspaceAsset503, TemplatesPutWorkspaceAsset504, TemplatesPutWorkspaceAssetHeaders, TemplatesPutWorkspaceAssetPathParams, TemplatesPutWorkspaceAssetRequestJson, TemplatesRemoveWorkspaceResource200, TemplatesRemoveWorkspaceResource400, TemplatesRemoveWorkspaceResource401, TemplatesRemoveWorkspaceResource403, TemplatesRemoveWorkspaceResource404, TemplatesRemoveWorkspaceResource409, TemplatesRemoveWorkspaceResource422, TemplatesRemoveWorkspaceResource500, TemplatesRemoveWorkspaceResource503, TemplatesRemoveWorkspaceResource504, TemplatesRemoveWorkspaceResourceHeaders, TemplatesRemoveWorkspaceResourcePathParams, TemplatesRemoveWorkspaceResourceRequestJson, TemplatesRenameFamily200, TemplatesRenameFamily400, TemplatesRenameFamily401, TemplatesRenameFamily403, TemplatesRenameFamily404, TemplatesRenameFamily422, TemplatesRenameFamily500, TemplatesRenameFamily504, TemplatesRenameFamilyPathParams, TemplatesRenameFamilyRequestJson, TemplatesRenderPublication200, TemplatesRenderPublication400, TemplatesRenderPublication401, TemplatesRenderPublication403, TemplatesRenderPublication404, TemplatesRenderPublication409, TemplatesRenderPublication422, TemplatesRenderPublication500, TemplatesRenderPublication504, TemplatesRenderPublicationPathParams, TemplatesRenderPublicationRequestJson, TemplatesRenderWorkspaceFixture200, TemplatesRenderWorkspaceFixture400, TemplatesRenderWorkspaceFixture401, TemplatesRenderWorkspaceFixture403, TemplatesRenderWorkspaceFixture404, TemplatesRenderWorkspaceFixture409, TemplatesRenderWorkspaceFixture422, TemplatesRenderWorkspaceFixture500, TemplatesRenderWorkspaceFixture503, TemplatesRenderWorkspaceFixture504, TemplatesRenderWorkspaceFixturePathParams, TemplatesRenderWorkspaceFixtureRequestJson, TemplatesResolveWorkspaceConflict200, TemplatesResolveWorkspaceConflict400, TemplatesResolveWorkspaceConflict401, TemplatesResolveWorkspaceConflict403, TemplatesResolveWorkspaceConflict404, TemplatesResolveWorkspaceConflict409, TemplatesResolveWorkspaceConflict422, TemplatesResolveWorkspaceConflict500, TemplatesResolveWorkspaceConflict503, TemplatesResolveWorkspaceConflict504, TemplatesResolveWorkspaceConflictHeaders, TemplatesResolveWorkspaceConflictPathParams, TemplatesResolveWorkspaceConflictRequestJson, TemplatesRestoreWorkspace200, TemplatesRestoreWorkspace400, TemplatesRestoreWorkspace401, TemplatesRestoreWorkspace403, TemplatesRestoreWorkspace404, TemplatesRestoreWorkspace409, TemplatesRestoreWorkspace422, TemplatesRestoreWorkspace500, TemplatesRestoreWorkspace503, TemplatesRestoreWorkspace504, TemplatesRestoreWorkspaceHeaders, TemplatesRestoreWorkspacePathParams, TemplatesRestoreWorkspaceRequestJson, TemplatesSaveWorkspace200, TemplatesSaveWorkspace400, TemplatesSaveWorkspace401, TemplatesSaveWorkspace403, TemplatesSaveWorkspace404, TemplatesSaveWorkspace409, TemplatesSaveWorkspace422, TemplatesSaveWorkspace500, TemplatesSaveWorkspace503, TemplatesSaveWorkspace504, TemplatesSaveWorkspaceHeaders, TemplatesSaveWorkspacePathParams, TemplatesSaveWorkspaceRequestJson, TemplatesUpdate200, TemplatesUpdate400, TemplatesUpdate401, TemplatesUpdate403, TemplatesUpdate404, TemplatesUpdate409, TemplatesUpdate422, TemplatesUpdate500, TemplatesUpdate504, TemplatesUpdatePathParams, TemplatesUpdateRequestJson, TemplatesWorkspaceHistory200, TemplatesWorkspaceHistory400, TemplatesWorkspaceHistory401, TemplatesWorkspaceHistory403, TemplatesWorkspaceHistory404, TemplatesWorkspaceHistory409, TemplatesWorkspaceHistory422, TemplatesWorkspaceHistory500, TemplatesWorkspaceHistory503, TemplatesWorkspaceHistory504, TemplatesWorkspaceHistoryPathParams, TemplatesWorkspaceHistoryQuery, WhatsAppTemplateButton, WhatsAppTemplateComponent };
|
|
2650
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.addEntry").annotate(OpenApi.Summary, "Add a template entry").annotate(OpenApi.Description, "Registers a `.tsx` file under `templates/` or `emails/` in an existing template project as its own template and returns it with status 201. The file does not need to exist yet; publishing fails until a commit contains it. Repeating the call with the same entry path, name, and slug returns the existing template."), HttpApiEndpoint.post("templatesSuggestStarters", "/v1/templates/suggestions", {
|
|
2651
|
+
payload: TemplatesSuggestStartersRequestJson,
|
|
2652
|
+
success: TemplatesSuggestStarters200,
|
|
2653
|
+
error: [
|
|
2654
|
+
TemplatesSuggestStarters400.pipe(HttpApiSchema.status(400)),
|
|
2655
|
+
TemplatesSuggestStarters401.pipe(HttpApiSchema.status(401)),
|
|
2656
|
+
TemplatesSuggestStarters403.pipe(HttpApiSchema.status(403)),
|
|
2657
|
+
TemplatesSuggestStarters422.pipe(HttpApiSchema.status(422)),
|
|
2658
|
+
TemplatesSuggestStarters500,
|
|
2659
|
+
TemplatesSuggestStarters504.pipe(HttpApiSchema.status(504))
|
|
2660
|
+
]
|
|
2661
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "templates.suggestStarters").annotate(OpenApi.Summary, "Suggest designs for a brief").annotate(OpenApi.Description, "Ranks Samva's gallery designs for a brief and returns the three to start a new email from, best first, each with the `galleryTemplateId` that creates a template from it. When the brief names a company's email, `recreation` says whether the gallery recreates that kind of email from it, recreates another kind (start from it for the look), or has none. The ranking is deterministic: the same brief returns the same designs.")).annotate(OpenApi.Description, "Git-backed email template projects, workspace editing, immutable publications, and delivery defaults") {};
|
|
2662
|
+
export { BrandRenderedFooter, Template, TemplateFamily, TemplateFamilyId, TemplateFamilyMember, TemplateFamilyPage, TemplateFromBrief, TemplateFromDefault, TemplateFromWebsite, TemplateInputContractPage, TemplatePage, TemplatePublicationBrand, TemplatePublicationRender, TemplateRecreationMatch, TemplateStarterSuggestion, TemplateStarterSuggestions, TemplateSummary, TemplatesAddEntry201, TemplatesAddEntry400, TemplatesAddEntry401, TemplatesAddEntry403, TemplatesAddEntry404, TemplatesAddEntry409, TemplatesAddEntry422, TemplatesAddEntry500, TemplatesAddEntry504, TemplatesAddEntryPathParams, TemplatesAddEntryRequestJson, TemplatesAttachFamilyMember200, TemplatesAttachFamilyMember400, TemplatesAttachFamilyMember401, TemplatesAttachFamilyMember403, TemplatesAttachFamilyMember404, TemplatesAttachFamilyMember409, TemplatesAttachFamilyMember422, TemplatesAttachFamilyMember500, TemplatesAttachFamilyMember504, TemplatesAttachFamilyMemberPathParams, TemplatesAttachWorkspaceResource200, TemplatesAttachWorkspaceResource400, TemplatesAttachWorkspaceResource401, TemplatesAttachWorkspaceResource403, TemplatesAttachWorkspaceResource404, TemplatesAttachWorkspaceResource409, TemplatesAttachWorkspaceResource422, TemplatesAttachWorkspaceResource500, TemplatesAttachWorkspaceResource503, TemplatesAttachWorkspaceResource504, TemplatesAttachWorkspaceResourceHeaders, TemplatesAttachWorkspaceResourcePathParams, TemplatesAttachWorkspaceResourceRequestJson, TemplatesCheckWorkspace200, TemplatesCheckWorkspace400, TemplatesCheckWorkspace401, TemplatesCheckWorkspace403, TemplatesCheckWorkspace404, TemplatesCheckWorkspace409, TemplatesCheckWorkspace422, TemplatesCheckWorkspace500, TemplatesCheckWorkspace503, TemplatesCheckWorkspace504, TemplatesCheckWorkspacePathParams, TemplatesCheckWorkspaceRequestJson, TemplatesCreate201, TemplatesCreate400, TemplatesCreate401, TemplatesCreate403, TemplatesCreate404, TemplatesCreate409, TemplatesCreate422, TemplatesCreate500, TemplatesCreate503, TemplatesCreate504, TemplatesCreateFamily201, TemplatesCreateFamily400, TemplatesCreateFamily401, TemplatesCreateFamily403, TemplatesCreateFamily422, TemplatesCreateFamily500, TemplatesCreateFamily504, TemplatesCreateFamilyFromTemplate201, TemplatesCreateFamilyFromTemplate400, TemplatesCreateFamilyFromTemplate401, TemplatesCreateFamilyFromTemplate403, TemplatesCreateFamilyFromTemplate404, TemplatesCreateFamilyFromTemplate409, TemplatesCreateFamilyFromTemplate422, TemplatesCreateFamilyFromTemplate500, TemplatesCreateFamilyFromTemplate504, TemplatesCreateFamilyFromTemplatePathParams, TemplatesCreateFamilyFromTemplateRequestJson, TemplatesCreateFamilyRequestJson, TemplatesCreateFromBrief201, TemplatesCreateFromBrief400, TemplatesCreateFromBrief401, TemplatesCreateFromBrief403, TemplatesCreateFromBrief404, TemplatesCreateFromBrief409, TemplatesCreateFromBrief422, TemplatesCreateFromBrief500, TemplatesCreateFromBrief503, TemplatesCreateFromBrief504, TemplatesCreateFromBriefHeaders, TemplatesCreateFromBriefRequestJson, TemplatesCreateFromWebsite201, TemplatesCreateFromWebsite400, TemplatesCreateFromWebsite401, TemplatesCreateFromWebsite403, TemplatesCreateFromWebsite404, TemplatesCreateFromWebsite409, TemplatesCreateFromWebsite422, TemplatesCreateFromWebsite500, TemplatesCreateFromWebsite503, TemplatesCreateFromWebsite504, TemplatesCreateFromWebsiteHeaders, TemplatesCreateFromWebsiteRequestJson, TemplatesCreateHeaders, TemplatesCreateRequestJson, TemplatesDelete200, TemplatesDelete400, TemplatesDelete401, TemplatesDelete403, TemplatesDelete404, TemplatesDelete409, TemplatesDelete422, TemplatesDelete500, TemplatesDelete504, TemplatesDeleteFamily200, TemplatesDeleteFamily400, TemplatesDeleteFamily401, TemplatesDeleteFamily403, TemplatesDeleteFamily404, TemplatesDeleteFamily422, TemplatesDeleteFamily500, TemplatesDeleteFamily504, TemplatesDeleteFamilyPathParams, TemplatesDeletePathParams, TemplatesDeleteProject200, TemplatesDeleteProject400, TemplatesDeleteProject401, TemplatesDeleteProject403, TemplatesDeleteProject404, TemplatesDeleteProject409, TemplatesDeleteProject422, TemplatesDeleteProject500, TemplatesDeleteProject504, TemplatesDeleteProjectPathParams, TemplatesDetachFamilyMember200, TemplatesDetachFamilyMember400, TemplatesDetachFamilyMember401, TemplatesDetachFamilyMember403, TemplatesDetachFamilyMember404, TemplatesDetachFamilyMember409, TemplatesDetachFamilyMember422, TemplatesDetachFamilyMember500, TemplatesDetachFamilyMember504, TemplatesDetachFamilyMemberPathParams, TemplatesDiffWorkspace200, TemplatesDiffWorkspace400, TemplatesDiffWorkspace401, TemplatesDiffWorkspace403, TemplatesDiffWorkspace404, TemplatesDiffWorkspace409, TemplatesDiffWorkspace422, TemplatesDiffWorkspace500, TemplatesDiffWorkspace503, TemplatesDiffWorkspace504, TemplatesDiffWorkspacePathParams, TemplatesDiffWorkspaceRequestJson, TemplatesGetById200, TemplatesGetById400, TemplatesGetById401, TemplatesGetById403, TemplatesGetById404, TemplatesGetById422, TemplatesGetById500, TemplatesGetById504, TemplatesGetByIdPathParams, TemplatesGetFamily200, TemplatesGetFamily400, TemplatesGetFamily401, TemplatesGetFamily403, TemplatesGetFamily404, TemplatesGetFamily422, TemplatesGetFamily500, TemplatesGetFamily504, TemplatesGetFamilyPathParams, TemplatesGetGitRepository200, TemplatesGetGitRepository400, TemplatesGetGitRepository401, TemplatesGetGitRepository403, TemplatesGetGitRepository404, TemplatesGetGitRepository409, TemplatesGetGitRepository422, TemplatesGetGitRepository500, TemplatesGetGitRepository503, TemplatesGetGitRepository504, TemplatesGetGitRepositoryPathParams, TemplatesGetInputContract200, TemplatesGetInputContract400, TemplatesGetInputContract401, TemplatesGetInputContract403, TemplatesGetInputContract404, TemplatesGetInputContract422, TemplatesGetInputContract500, TemplatesGetInputContract504, TemplatesGetInputContractPathParams, TemplatesGetPublication200, TemplatesGetPublication400, TemplatesGetPublication401, TemplatesGetPublication403, TemplatesGetPublication404, TemplatesGetPublication422, TemplatesGetPublication500, TemplatesGetPublication504, TemplatesGetPublicationPathParams, TemplatesGroup, TemplatesIssueGitCredential200, TemplatesIssueGitCredential400, TemplatesIssueGitCredential401, TemplatesIssueGitCredential403, TemplatesIssueGitCredential404, TemplatesIssueGitCredential409, TemplatesIssueGitCredential422, TemplatesIssueGitCredential500, TemplatesIssueGitCredential503, TemplatesIssueGitCredential504, TemplatesIssueGitCredentialPathParams, TemplatesIssueGitCredentialRequestJson, TemplatesList200, TemplatesList400, TemplatesList401, TemplatesList403, TemplatesList422, TemplatesList500, TemplatesList504, TemplatesListFamilies200, TemplatesListFamilies400, TemplatesListFamilies401, TemplatesListFamilies403, TemplatesListFamilies422, TemplatesListFamilies500, TemplatesListFamilies504, TemplatesListFamiliesQuery, TemplatesListInputContracts200, TemplatesListInputContracts400, TemplatesListInputContracts401, TemplatesListInputContracts403, TemplatesListInputContracts404, TemplatesListInputContracts422, TemplatesListInputContracts500, TemplatesListInputContracts504, TemplatesListInputContractsPathParams, TemplatesListInputContractsQuery, TemplatesListQuery, TemplatesOpenWorkspace200, TemplatesOpenWorkspace400, TemplatesOpenWorkspace401, TemplatesOpenWorkspace403, TemplatesOpenWorkspace404, TemplatesOpenWorkspace409, TemplatesOpenWorkspace422, TemplatesOpenWorkspace500, TemplatesOpenWorkspace503, TemplatesOpenWorkspace504, TemplatesOpenWorkspacePathParams, TemplatesPatchWorkspace200, TemplatesPatchWorkspace400, TemplatesPatchWorkspace401, TemplatesPatchWorkspace403, TemplatesPatchWorkspace404, TemplatesPatchWorkspace409, TemplatesPatchWorkspace422, TemplatesPatchWorkspace500, TemplatesPatchWorkspace503, TemplatesPatchWorkspace504, TemplatesPatchWorkspaceHeaders, TemplatesPatchWorkspacePathParams, TemplatesPatchWorkspaceRequestJson, TemplatesPublish201, TemplatesPublish400, TemplatesPublish401, TemplatesPublish403, TemplatesPublish404, TemplatesPublish409, TemplatesPublish422, TemplatesPublish500, TemplatesPublish503, TemplatesPublish504, TemplatesPublishPathParams, TemplatesPublishRequestJson, TemplatesPutWorkspaceAsset200, TemplatesPutWorkspaceAsset400, TemplatesPutWorkspaceAsset401, TemplatesPutWorkspaceAsset403, TemplatesPutWorkspaceAsset404, TemplatesPutWorkspaceAsset409, TemplatesPutWorkspaceAsset422, TemplatesPutWorkspaceAsset500, TemplatesPutWorkspaceAsset503, TemplatesPutWorkspaceAsset504, TemplatesPutWorkspaceAssetHeaders, TemplatesPutWorkspaceAssetPathParams, TemplatesPutWorkspaceAssetRequestJson, TemplatesRemoveWorkspaceResource200, TemplatesRemoveWorkspaceResource400, TemplatesRemoveWorkspaceResource401, TemplatesRemoveWorkspaceResource403, TemplatesRemoveWorkspaceResource404, TemplatesRemoveWorkspaceResource409, TemplatesRemoveWorkspaceResource422, TemplatesRemoveWorkspaceResource500, TemplatesRemoveWorkspaceResource503, TemplatesRemoveWorkspaceResource504, TemplatesRemoveWorkspaceResourceHeaders, TemplatesRemoveWorkspaceResourcePathParams, TemplatesRemoveWorkspaceResourceRequestJson, TemplatesRenameFamily200, TemplatesRenameFamily400, TemplatesRenameFamily401, TemplatesRenameFamily403, TemplatesRenameFamily404, TemplatesRenameFamily422, TemplatesRenameFamily500, TemplatesRenameFamily504, TemplatesRenameFamilyPathParams, TemplatesRenameFamilyRequestJson, TemplatesRenderPublication200, TemplatesRenderPublication400, TemplatesRenderPublication401, TemplatesRenderPublication403, TemplatesRenderPublication404, TemplatesRenderPublication409, TemplatesRenderPublication422, TemplatesRenderPublication500, TemplatesRenderPublication504, TemplatesRenderPublicationPathParams, TemplatesRenderPublicationRequestJson, TemplatesRenderWorkspaceFixture200, TemplatesRenderWorkspaceFixture400, TemplatesRenderWorkspaceFixture401, TemplatesRenderWorkspaceFixture403, TemplatesRenderWorkspaceFixture404, TemplatesRenderWorkspaceFixture409, TemplatesRenderWorkspaceFixture422, TemplatesRenderWorkspaceFixture500, TemplatesRenderWorkspaceFixture503, TemplatesRenderWorkspaceFixture504, TemplatesRenderWorkspaceFixturePathParams, TemplatesRenderWorkspaceFixtureRequestJson, TemplatesResolveWorkspaceConflict200, TemplatesResolveWorkspaceConflict400, TemplatesResolveWorkspaceConflict401, TemplatesResolveWorkspaceConflict403, TemplatesResolveWorkspaceConflict404, TemplatesResolveWorkspaceConflict409, TemplatesResolveWorkspaceConflict422, TemplatesResolveWorkspaceConflict500, TemplatesResolveWorkspaceConflict503, TemplatesResolveWorkspaceConflict504, TemplatesResolveWorkspaceConflictHeaders, TemplatesResolveWorkspaceConflictPathParams, TemplatesResolveWorkspaceConflictRequestJson, TemplatesRestoreWorkspace200, TemplatesRestoreWorkspace400, TemplatesRestoreWorkspace401, TemplatesRestoreWorkspace403, TemplatesRestoreWorkspace404, TemplatesRestoreWorkspace409, TemplatesRestoreWorkspace422, TemplatesRestoreWorkspace500, TemplatesRestoreWorkspace503, TemplatesRestoreWorkspace504, TemplatesRestoreWorkspaceHeaders, TemplatesRestoreWorkspacePathParams, TemplatesRestoreWorkspaceRequestJson, TemplatesSaveWorkspace200, TemplatesSaveWorkspace400, TemplatesSaveWorkspace401, TemplatesSaveWorkspace403, TemplatesSaveWorkspace404, TemplatesSaveWorkspace409, TemplatesSaveWorkspace422, TemplatesSaveWorkspace500, TemplatesSaveWorkspace503, TemplatesSaveWorkspace504, TemplatesSaveWorkspaceHeaders, TemplatesSaveWorkspacePathParams, TemplatesSaveWorkspaceRequestJson, TemplatesSuggestStarters200, TemplatesSuggestStarters400, TemplatesSuggestStarters401, TemplatesSuggestStarters403, TemplatesSuggestStarters422, TemplatesSuggestStarters500, TemplatesSuggestStarters504, TemplatesSuggestStartersRequestJson, TemplatesUpdate200, TemplatesUpdate400, TemplatesUpdate401, TemplatesUpdate403, TemplatesUpdate404, TemplatesUpdate409, TemplatesUpdate422, TemplatesUpdate500, TemplatesUpdate504, TemplatesUpdatePathParams, TemplatesUpdateRequestJson, TemplatesWorkspaceHistory200, TemplatesWorkspaceHistory400, TemplatesWorkspaceHistory401, TemplatesWorkspaceHistory403, TemplatesWorkspaceHistory404, TemplatesWorkspaceHistory409, TemplatesWorkspaceHistory422, TemplatesWorkspaceHistory500, TemplatesWorkspaceHistory503, TemplatesWorkspaceHistory504, TemplatesWorkspaceHistoryPathParams, TemplatesWorkspaceHistoryQuery, WhatsAppTemplateButton, WhatsAppTemplateComponent };
|
|
2561
2663
|
|
|
2562
2664
|
//# sourceMappingURL=templates.js.map
|