samva 0.28.1 → 0.29.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/AGENTS.md +8 -0
- package/dist/client/sdk.gen.d.ts +156 -1
- package/dist/client/sdk.gen.js +475 -1
- package/dist/client/types.gen.d.ts +1653 -183
- package/dist/effect/campaigns.d.ts +32 -0
- package/dist/effect/generated/agents.js +36 -36
- package/dist/effect/generated/analytics.js +24 -24
- package/dist/effect/generated/api-keys.js +29 -29
- package/dist/effect/generated/attachments.js +13 -13
- package/dist/effect/generated/brands.js +13 -13
- package/dist/effect/generated/campaigns.d.ts +178 -60
- package/dist/effect/generated/campaigns.js +92 -104
- package/dist/effect/generated/contact-events.js +5 -5
- package/dist/effect/generated/contact-groups.js +38 -38
- package/dist/effect/generated/contacts.js +93 -93
- package/dist/effect/generated/conversations.js +38 -38
- package/dist/effect/generated/custom-fields.js +15 -15
- package/dist/effect/generated/email.js +225 -225
- package/dist/effect/generated/events.js +5 -5
- package/dist/effect/generated/extension-installations.js +35 -35
- package/dist/effect/generated/extensions.js +24 -24
- package/dist/effect/generated/feedback.js +6 -6
- package/dist/effect/generated/index.d.ts +5 -1
- package/dist/effect/generated/journeys.js +67 -67
- package/dist/effect/generated/mailboxes.js +286 -286
- package/dist/effect/generated/media.js +16 -16
- package/dist/effect/generated/messages.js +65 -65
- package/dist/effect/generated/namespaces.js +27 -27
- package/dist/effect/generated/operations.js +6 -6
- package/dist/effect/generated/organizations.js +19 -19
- package/dist/effect/generated/publication-domains.d.ts +548 -0
- package/dist/effect/generated/publication-domains.js +163 -0
- package/dist/effect/generated/scheduled-messages.js +25 -25
- package/dist/effect/generated/shared.d.ts +142 -30
- package/dist/effect/generated/shared.js +356 -328
- package/dist/effect/generated/subscriptions.js +10 -10
- package/dist/effect/generated/templates.d.ts +172 -15
- package/dist/effect/generated/templates.js +207 -162
- package/dist/effect/generated/topic-forms.js +21 -21
- package/dist/effect/generated/topic-issues.d.ts +2995 -0
- package/dist/effect/generated/topic-issues.js +985 -0
- package/dist/effect/generated/topics.d.ts +61 -1
- package/dist/effect/generated/topics.js +39 -31
- package/dist/effect/generated/webhooks.js +50 -50
- package/dist/effect/generated/whoami.js +10 -10
- package/dist/effect/generated-metadata.d.ts +70 -0
- package/dist/effect/generated-metadata.js +57 -13
- package/dist/effect/index.d.ts +2 -0
- package/dist/effect/index.js +3 -1
- package/dist/effect/journeys.d.ts +112 -112
- package/dist/effect/mailboxes.d.ts +78 -78
- package/dist/effect/publication-domains.d.ts +14 -0
- package/dist/effect/publication-domains.js +17 -0
- package/dist/effect/topic-issues.d.ts +57 -0
- package/dist/effect/topic-issues.js +33 -0
- package/dist/effect/topics.d.ts +6 -2
- package/dist/package.js +1 -1
- package/dist/promises/index.d.ts +5 -1
- package/dist/promises/index.js +5 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +74 -0
- package/dist/service-map.js +56 -0
- package/package.json +11 -3
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, NamespaceId, OrganizationId, RenderLocale, RenderTimeZone, ResourceNotFoundError, SuccessResponse, TemplateFromDefault, TemplateId, TemplateInputContractId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, UnauthorizedError, UserId, ValidationError, VersionCursor } from "./shared.js";
|
|
1
|
+
import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, NamespaceId, OrganizationId, RenderLocale, RenderTimeZone, ResourceNotFoundError, SuccessResponse, TemplateFromDefault, TemplateId, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, UnauthorizedError, UserId, ValidationError, VersionCursor } from "./shared.js";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
//#region src/effect/generated/templates.ts
|
|
5
|
-
const
|
|
6
|
-
expected: "a string matching the RegExp ^tproj_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
7
|
-
identifier: "TemplateProjectId"
|
|
8
|
-
})).pipe(Schema.brand("TemplateProjectId"));
|
|
9
|
-
const TemplatePublicationBrand = /* @__PURE__ */ Schema.Struct({
|
|
5
|
+
const TemplatePublicationBrand = /* @__PURE__ */ (() => Schema.Struct({
|
|
10
6
|
slug: Schema.String.annotate({ description: "The brand the publication imports." }).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$" })),
|
|
11
7
|
digest: Schema.String.annotate({ description: "The brand's digest when the publication was built." }),
|
|
12
8
|
stale: Schema.Boolean.annotate({ description: "Whether the brand has changed since this publication was built. Publishing the same commit again picks up the change." })
|
|
13
|
-
}).annotate({ identifier: "TemplatePublicationBrand" });
|
|
14
|
-
const TemplateFamilyId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^tfam_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
9
|
+
}).annotate({ identifier: "TemplatePublicationBrand" }))();
|
|
10
|
+
const TemplateFamilyId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^tfam_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
15
11
|
expected: "a string matching the RegExp ^tfam_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
16
12
|
identifier: "TemplateFamilyId"
|
|
17
|
-
})).pipe(Schema.brand("TemplateFamilyId"));
|
|
18
|
-
const BrandRenderedFooter = /* @__PURE__ */ Schema.Struct({
|
|
13
|
+
})).pipe(Schema.brand("TemplateFamilyId")))();
|
|
14
|
+
const BrandRenderedFooter = /* @__PURE__ */ (() => Schema.Struct({
|
|
19
15
|
html: Schema.String,
|
|
20
16
|
text: Schema.String,
|
|
21
17
|
headCss: Schema.String
|
|
22
|
-
}).annotate({ identifier: "BrandRenderedFooter" });
|
|
23
|
-
const TemplatePublicationRender = /* @__PURE__ */ Schema.Struct({
|
|
18
|
+
}).annotate({ identifier: "BrandRenderedFooter" }))();
|
|
19
|
+
const TemplatePublicationRender = /* @__PURE__ */ (() => Schema.Struct({
|
|
24
20
|
subject: Schema.String,
|
|
25
21
|
preheader: Schema.optionalKey(Schema.String),
|
|
26
22
|
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" })),
|
|
27
23
|
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" }))
|
|
28
|
-
}).annotate({ identifier: "TemplatePublicationRender" });
|
|
29
|
-
const TemplateInputContractPage = /* @__PURE__ */ Schema.Struct({
|
|
24
|
+
}).annotate({ identifier: "TemplatePublicationRender" }))();
|
|
25
|
+
const TemplateInputContractPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
30
26
|
items: Schema.Array(Schema.Struct({
|
|
31
27
|
id: TemplateInputContractId,
|
|
32
28
|
organizationId: OrganizationId,
|
|
@@ -37,8 +33,8 @@ const TemplateInputContractPage = /* @__PURE__ */ Schema.Struct({
|
|
|
37
33
|
createdAt: Schema.String
|
|
38
34
|
})),
|
|
39
35
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
40
|
-
}).annotate({ identifier: "TemplateInputContractPage" });
|
|
41
|
-
const TemplateFamilyMember = /* @__PURE__ */ Schema.Struct({
|
|
36
|
+
}).annotate({ identifier: "TemplateInputContractPage" }))();
|
|
37
|
+
const TemplateFamilyMember = /* @__PURE__ */ (() => Schema.Struct({
|
|
42
38
|
id: TemplateId,
|
|
43
39
|
name: Schema.String,
|
|
44
40
|
slug: Schema.String,
|
|
@@ -54,8 +50,8 @@ const TemplateFamilyMember = /* @__PURE__ */ Schema.Struct({
|
|
|
54
50
|
isActive: Schema.Boolean,
|
|
55
51
|
createdAt: Schema.String,
|
|
56
52
|
updatedAt: Schema.String
|
|
57
|
-
}).annotate({ identifier: "TemplateFamilyMember" });
|
|
58
|
-
const TemplateSummary = /* @__PURE__ */ Schema.Struct({
|
|
53
|
+
}).annotate({ identifier: "TemplateFamilyMember" }))();
|
|
54
|
+
const TemplateSummary = /* @__PURE__ */ (() => Schema.Struct({
|
|
59
55
|
id: TemplateId,
|
|
60
56
|
slug: Schema.String,
|
|
61
57
|
name: Schema.String,
|
|
@@ -80,8 +76,8 @@ const TemplateSummary = /* @__PURE__ */ Schema.Struct({
|
|
|
80
76
|
lastUsedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
81
77
|
createdAt: Schema.String,
|
|
82
78
|
updatedAt: Schema.String
|
|
83
|
-
}).annotate({ identifier: "TemplateSummary" });
|
|
84
|
-
const Template = /* @__PURE__ */ Schema.Struct({
|
|
79
|
+
}).annotate({ identifier: "TemplateSummary" }))();
|
|
80
|
+
const Template = /* @__PURE__ */ (() => Schema.Struct({
|
|
85
81
|
id: TemplateId,
|
|
86
82
|
slug: Schema.String,
|
|
87
83
|
name: Schema.String,
|
|
@@ -127,31 +123,31 @@ const Template = /* @__PURE__ */ Schema.Struct({
|
|
|
127
123
|
publicationId: Schema.Union([TemplatePublicationId, Schema.Null]),
|
|
128
124
|
inputContractId: Schema.Union([TemplateInputContractId, Schema.Null]),
|
|
129
125
|
inputSchema: Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null])
|
|
130
|
-
}).annotate({ identifier: "Template" });
|
|
131
|
-
const TemplateFamily = /* @__PURE__ */ Schema.Struct({
|
|
126
|
+
}).annotate({ identifier: "Template" }))();
|
|
127
|
+
const TemplateFamily = /* @__PURE__ */ (() => Schema.Struct({
|
|
132
128
|
id: TemplateFamilyId,
|
|
133
129
|
name: Schema.String,
|
|
134
130
|
members: Schema.Array(TemplateFamilyMember),
|
|
135
131
|
createdAt: Schema.String,
|
|
136
132
|
updatedAt: Schema.String
|
|
137
|
-
}).annotate({ identifier: "TemplateFamily" });
|
|
138
|
-
const TemplatePage = /* @__PURE__ */ Schema.Struct({
|
|
133
|
+
}).annotate({ identifier: "TemplateFamily" }))();
|
|
134
|
+
const TemplatePage = /* @__PURE__ */ (() => Schema.Struct({
|
|
139
135
|
items: Schema.Array(TemplateSummary),
|
|
140
136
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
141
|
-
}).annotate({ identifier: "TemplatePage" });
|
|
142
|
-
const TemplateFromWebsite = /* @__PURE__ */ Schema.Struct({
|
|
137
|
+
}).annotate({ identifier: "TemplatePage" }))();
|
|
138
|
+
const TemplateFromWebsite = /* @__PURE__ */ (() => Schema.Struct({
|
|
143
139
|
template: Template,
|
|
144
140
|
website: Schema.Struct({
|
|
145
141
|
url: Schema.String.annotate({ description: "The address Samva checked, normalized." }),
|
|
146
142
|
host: Schema.String
|
|
147
143
|
}),
|
|
148
144
|
ask: Schema.String.annotate({ description: "The request to send the template assistant in the editor. The assistant reads the site, rebuilds the project's theme and blocks to match it, and proposes a brand that changes nothing until the customer applies it." })
|
|
149
|
-
}).annotate({ identifier: "TemplateFromWebsite" });
|
|
150
|
-
const TemplateFamilyPage = /* @__PURE__ */ Schema.Struct({
|
|
145
|
+
}).annotate({ identifier: "TemplateFromWebsite" }))();
|
|
146
|
+
const TemplateFamilyPage = /* @__PURE__ */ (() => Schema.Struct({
|
|
151
147
|
items: Schema.Array(TemplateFamily),
|
|
152
148
|
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
153
|
-
}).annotate({ identifier: "TemplateFamilyPage" });
|
|
154
|
-
const TemplatesListQuery = /* @__PURE__ */ Schema.Struct({
|
|
149
|
+
}).annotate({ identifier: "TemplateFamilyPage" }))();
|
|
150
|
+
const TemplatesListQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
155
151
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
156
152
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null])),
|
|
157
153
|
category: Schema.optionalKey(Schema.Union([Schema.Union([
|
|
@@ -176,14 +172,14 @@ const TemplatesListQuery = /* @__PURE__ */ Schema.Struct({
|
|
|
176
172
|
projectId: Schema.optionalKey(Schema.Union([TemplateProjectId, Schema.Null])),
|
|
177
173
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "Only the templates this namespace uses: its own and those shared with every namespace (add `shared=false` for its own only). A namespace-scoped key lists its own namespace's and shared templates." })),
|
|
178
174
|
shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Only templates whose project is shared with every namespace (true), or only unshared ones (false)." }))
|
|
179
|
-
});
|
|
175
|
+
}))();
|
|
180
176
|
const TemplatesList200 = TemplatePage;
|
|
181
177
|
const TemplatesList401 = UnauthorizedError;
|
|
182
178
|
const TemplatesList403 = ForbiddenError;
|
|
183
179
|
const TemplatesList422 = ValidationError;
|
|
184
180
|
const TemplatesList500 = InternalError;
|
|
185
181
|
const TemplatesList504 = GatewayTimeoutError;
|
|
186
|
-
const TemplatesCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
182
|
+
const TemplatesCreateRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
187
183
|
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" })),
|
|
188
184
|
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])),
|
|
189
185
|
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
|
|
@@ -203,16 +199,16 @@ const TemplatesCreateRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
203
199
|
namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "The namespace the new template project belongs to; the project and every entry added to it share it. Omit for organization level. A namespace-scoped key always creates in its own namespace." })),
|
|
204
200
|
shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the new organization-level project with every namespace: namespace-scoped keys read and send its entries but cannot change them. Defaults to false. Not with `namespaceId`, and not from a namespace-scoped key." })),
|
|
205
201
|
idempotencyKey: 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" }))
|
|
206
|
-
});
|
|
202
|
+
}))();
|
|
207
203
|
const TemplatesCreate201 = Template;
|
|
208
204
|
const TemplatesCreate401 = UnauthorizedError;
|
|
209
205
|
const TemplatesCreate403 = ForbiddenError;
|
|
210
206
|
const TemplatesCreate404 = ResourceNotFoundError;
|
|
211
207
|
const TemplatesCreate409 = ConflictError;
|
|
212
|
-
const TemplatesCreate422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
208
|
+
const TemplatesCreate422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
213
209
|
const TemplatesCreate500 = InternalError;
|
|
214
210
|
const TemplatesCreate504 = GatewayTimeoutError;
|
|
215
|
-
const TemplatesGetByIdPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
211
|
+
const TemplatesGetByIdPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
216
212
|
const TemplatesGetById200 = Template;
|
|
217
213
|
const TemplatesGetById401 = UnauthorizedError;
|
|
218
214
|
const TemplatesGetById403 = ForbiddenError;
|
|
@@ -220,7 +216,7 @@ const TemplatesGetById404 = ResourceNotFoundError;
|
|
|
220
216
|
const TemplatesGetById422 = ValidationError;
|
|
221
217
|
const TemplatesGetById500 = InternalError;
|
|
222
218
|
const TemplatesGetById504 = GatewayTimeoutError;
|
|
223
|
-
const TemplatesRemovePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
219
|
+
const TemplatesRemovePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
224
220
|
const TemplatesRemove200 = SuccessResponse;
|
|
225
221
|
const TemplatesRemove401 = UnauthorizedError;
|
|
226
222
|
const TemplatesRemove403 = ForbiddenError;
|
|
@@ -228,8 +224,8 @@ const TemplatesRemove404 = ResourceNotFoundError;
|
|
|
228
224
|
const TemplatesRemove422 = ValidationError;
|
|
229
225
|
const TemplatesRemove500 = InternalError;
|
|
230
226
|
const TemplatesRemove504 = GatewayTimeoutError;
|
|
231
|
-
const TemplatesUpdatePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
232
|
-
const TemplatesUpdateRequestJson = /* @__PURE__ */ Schema.Struct({ data: Schema.Struct({
|
|
227
|
+
const TemplatesUpdatePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
228
|
+
const TemplatesUpdateRequestJson = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.Struct({
|
|
233
229
|
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
234
230
|
slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
|
|
235
231
|
entryPath: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.Null])),
|
|
@@ -248,7 +244,7 @@ const TemplatesUpdateRequestJson = /* @__PURE__ */ Schema.Struct({ data: Schema.
|
|
|
248
244
|
trackingDefault: Schema.optionalKey(Schema.Union([Schema.Union([TemplateTrackingDefault, Schema.Null]), Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
|
|
249
245
|
isActive: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
250
246
|
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." }))
|
|
251
|
-
}) });
|
|
247
|
+
}) }))();
|
|
252
248
|
const TemplatesUpdate200 = Template;
|
|
253
249
|
const TemplatesUpdate401 = UnauthorizedError;
|
|
254
250
|
const TemplatesUpdate403 = ForbiddenError;
|
|
@@ -257,11 +253,11 @@ const TemplatesUpdate409 = ConflictError;
|
|
|
257
253
|
const TemplatesUpdate422 = ValidationError;
|
|
258
254
|
const TemplatesUpdate500 = InternalError;
|
|
259
255
|
const TemplatesUpdate504 = GatewayTimeoutError;
|
|
260
|
-
const TemplatesListInputContractsPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
261
|
-
const TemplatesListInputContractsQuery = /* @__PURE__ */ Schema.Struct({
|
|
256
|
+
const TemplatesListInputContractsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
257
|
+
const TemplatesListInputContractsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
262
258
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
263
259
|
cursor: Schema.optionalKey(Schema.Union([VersionCursor, Schema.Null]))
|
|
264
|
-
});
|
|
260
|
+
}))();
|
|
265
261
|
const TemplatesListInputContracts200 = TemplateInputContractPage;
|
|
266
262
|
const TemplatesListInputContracts401 = UnauthorizedError;
|
|
267
263
|
const TemplatesListInputContracts403 = ForbiddenError;
|
|
@@ -269,11 +265,11 @@ const TemplatesListInputContracts404 = ResourceNotFoundError;
|
|
|
269
265
|
const TemplatesListInputContracts422 = ValidationError;
|
|
270
266
|
const TemplatesListInputContracts500 = InternalError;
|
|
271
267
|
const TemplatesListInputContracts504 = GatewayTimeoutError;
|
|
272
|
-
const TemplatesGetInputContractPathParams = /* @__PURE__ */ Schema.Struct({
|
|
268
|
+
const TemplatesGetInputContractPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
273
269
|
id: TemplateId,
|
|
274
270
|
inputContractId: TemplateInputContractId
|
|
275
|
-
});
|
|
276
|
-
const TemplatesGetInputContract200 = /* @__PURE__ */ Schema.Struct({
|
|
271
|
+
}))();
|
|
272
|
+
const TemplatesGetInputContract200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
277
273
|
id: TemplateInputContractId,
|
|
278
274
|
organizationId: OrganizationId,
|
|
279
275
|
templateId: TemplateId,
|
|
@@ -281,22 +277,22 @@ const TemplatesGetInputContract200 = /* @__PURE__ */ Schema.Struct({
|
|
|
281
277
|
validationDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
282
278
|
schema: Schema.Record(Schema.String, JsonValue),
|
|
283
279
|
createdAt: Schema.String
|
|
284
|
-
});
|
|
280
|
+
}))();
|
|
285
281
|
const TemplatesGetInputContract401 = UnauthorizedError;
|
|
286
282
|
const TemplatesGetInputContract403 = ForbiddenError;
|
|
287
283
|
const TemplatesGetInputContract404 = ResourceNotFoundError;
|
|
288
284
|
const TemplatesGetInputContract422 = ValidationError;
|
|
289
285
|
const TemplatesGetInputContract500 = InternalError;
|
|
290
286
|
const TemplatesGetInputContract504 = GatewayTimeoutError;
|
|
291
|
-
const TemplatesPublishPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
292
|
-
const TemplatesPublishRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
287
|
+
const TemplatesPublishPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
288
|
+
const TemplatesPublishRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
293
289
|
projectId: TemplateProjectId,
|
|
294
290
|
commitSha: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
295
291
|
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
296
292
|
expectedWorkspaceRevision: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
297
293
|
ifCurrentPublicationId: Schema.optionalKey(Schema.Union([TemplatePublicationId, Schema.Null]))
|
|
298
|
-
});
|
|
299
|
-
const TemplatesPublish201 = /* @__PURE__ */ Schema.Struct({
|
|
294
|
+
}))();
|
|
295
|
+
const TemplatesPublish201 = /* @__PURE__ */ (() => Schema.Struct({
|
|
300
296
|
id: TemplatePublicationId,
|
|
301
297
|
organizationId: OrganizationId,
|
|
302
298
|
projectId: TemplateProjectId,
|
|
@@ -332,7 +328,7 @@ const TemplatesPublish201 = /* @__PURE__ */ Schema.Struct({
|
|
|
332
328
|
source: Schema.Struct({
|
|
333
329
|
commitSha: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
334
330
|
treeSha: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
335
|
-
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
331
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
336
332
|
treeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
337
333
|
}),
|
|
338
334
|
brand: Schema.optionalKey(Schema.Struct({
|
|
@@ -429,19 +425,19 @@ const TemplatesPublish201 = /* @__PURE__ */ Schema.Struct({
|
|
|
429
425
|
publishedAt: Schema.String,
|
|
430
426
|
publishedBy: Schema.Union([Schema.String, Schema.Null]),
|
|
431
427
|
createdAt: Schema.String
|
|
432
|
-
});
|
|
428
|
+
}))();
|
|
433
429
|
const TemplatesPublish401 = UnauthorizedError;
|
|
434
430
|
const TemplatesPublish403 = ForbiddenError;
|
|
435
431
|
const TemplatesPublish404 = ResourceNotFoundError;
|
|
436
432
|
const TemplatesPublish409 = ConflictError;
|
|
437
|
-
const TemplatesPublish422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
433
|
+
const TemplatesPublish422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
438
434
|
const TemplatesPublish500 = InternalError;
|
|
439
435
|
const TemplatesPublish504 = GatewayTimeoutError;
|
|
440
|
-
const TemplatesGetPublicationPathParams = /* @__PURE__ */ Schema.Struct({
|
|
436
|
+
const TemplatesGetPublicationPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
441
437
|
id: TemplateId,
|
|
442
438
|
publicationId: TemplatePublicationId
|
|
443
|
-
});
|
|
444
|
-
const TemplatesGetPublication200 = /* @__PURE__ */ Schema.Struct({
|
|
439
|
+
}))();
|
|
440
|
+
const TemplatesGetPublication200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
445
441
|
id: TemplatePublicationId,
|
|
446
442
|
organizationId: OrganizationId,
|
|
447
443
|
projectId: TemplateProjectId,
|
|
@@ -477,7 +473,7 @@ const TemplatesGetPublication200 = /* @__PURE__ */ Schema.Struct({
|
|
|
477
473
|
source: Schema.Struct({
|
|
478
474
|
commitSha: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
479
475
|
treeSha: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
480
|
-
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
476
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
481
477
|
treeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
482
478
|
}),
|
|
483
479
|
brand: Schema.optionalKey(Schema.Struct({
|
|
@@ -574,22 +570,22 @@ const TemplatesGetPublication200 = /* @__PURE__ */ Schema.Struct({
|
|
|
574
570
|
publishedAt: Schema.String,
|
|
575
571
|
publishedBy: Schema.Union([Schema.String, Schema.Null]),
|
|
576
572
|
createdAt: Schema.String
|
|
577
|
-
});
|
|
573
|
+
}))();
|
|
578
574
|
const TemplatesGetPublication401 = UnauthorizedError;
|
|
579
575
|
const TemplatesGetPublication403 = ForbiddenError;
|
|
580
576
|
const TemplatesGetPublication404 = ResourceNotFoundError;
|
|
581
577
|
const TemplatesGetPublication422 = ValidationError;
|
|
582
578
|
const TemplatesGetPublication500 = InternalError;
|
|
583
579
|
const TemplatesGetPublication504 = GatewayTimeoutError;
|
|
584
|
-
const TemplatesRenderPublicationPathParams = /* @__PURE__ */ Schema.Struct({
|
|
580
|
+
const TemplatesRenderPublicationPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
585
581
|
id: TemplateId,
|
|
586
582
|
publicationId: TemplatePublicationId
|
|
587
|
-
});
|
|
588
|
-
const TemplatesRenderPublicationRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
583
|
+
}))();
|
|
584
|
+
const TemplatesRenderPublicationRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
589
585
|
data: Schema.Record(Schema.String, JsonValue).annotate({ description: "The input to render with, validated against the publication's input schema." }),
|
|
590
586
|
locale: Schema.optionalKey(RenderLocale),
|
|
591
587
|
timeZone: Schema.optionalKey(RenderTimeZone)
|
|
592
|
-
});
|
|
588
|
+
}))();
|
|
593
589
|
const TemplatesRenderPublication200 = TemplatePublicationRender;
|
|
594
590
|
const TemplatesRenderPublication401 = UnauthorizedError;
|
|
595
591
|
const TemplatesRenderPublication403 = ForbiddenError;
|
|
@@ -598,35 +594,35 @@ const TemplatesRenderPublication409 = ConflictError;
|
|
|
598
594
|
const TemplatesRenderPublication422 = ValidationError;
|
|
599
595
|
const TemplatesRenderPublication500 = InternalError;
|
|
600
596
|
const TemplatesRenderPublication504 = GatewayTimeoutError;
|
|
601
|
-
const TemplatesGetGitRepositoryPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
602
|
-
const TemplatesGetGitRepository200 = /* @__PURE__ */ Schema.Struct({
|
|
597
|
+
const TemplatesGetGitRepositoryPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
598
|
+
const TemplatesGetGitRepository200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
603
599
|
remote: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^https:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/" })),
|
|
604
600
|
defaultBranch: 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" }))
|
|
605
|
-
});
|
|
601
|
+
}))();
|
|
606
602
|
const TemplatesGetGitRepository401 = UnauthorizedError;
|
|
607
603
|
const TemplatesGetGitRepository403 = ForbiddenError;
|
|
608
604
|
const TemplatesGetGitRepository404 = ResourceNotFoundError;
|
|
609
605
|
const TemplatesGetGitRepository409 = ConflictError;
|
|
610
|
-
const TemplatesGetGitRepository422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
606
|
+
const TemplatesGetGitRepository422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
611
607
|
const TemplatesGetGitRepository500 = InternalError;
|
|
612
608
|
const TemplatesGetGitRepository504 = GatewayTimeoutError;
|
|
613
|
-
const TemplatesIssueGitCredentialPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
614
|
-
const TemplatesIssueGitCredentialRequestJson = /* @__PURE__ */ Schema.Struct({ scope: Schema.Union([Schema.Literal("read"), Schema.Literal("write")]) });
|
|
615
|
-
const TemplatesIssueGitCredential200 = /* @__PURE__ */ Schema.Struct({
|
|
609
|
+
const TemplatesIssueGitCredentialPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
610
|
+
const TemplatesIssueGitCredentialRequestJson = /* @__PURE__ */ (() => Schema.Struct({ scope: Schema.Union([Schema.Literal("read"), Schema.Literal("write")]) }))();
|
|
611
|
+
const TemplatesIssueGitCredential200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
616
612
|
remote: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^https:\\/\\/", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/" })),
|
|
617
613
|
username: Schema.Literal("x-access-token"),
|
|
618
614
|
password: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
619
615
|
expiresAt: Schema.String
|
|
620
|
-
});
|
|
616
|
+
}))();
|
|
621
617
|
const TemplatesIssueGitCredential401 = UnauthorizedError;
|
|
622
618
|
const TemplatesIssueGitCredential403 = ForbiddenError;
|
|
623
619
|
const TemplatesIssueGitCredential404 = ResourceNotFoundError;
|
|
624
620
|
const TemplatesIssueGitCredential409 = ConflictError;
|
|
625
|
-
const TemplatesIssueGitCredential422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
621
|
+
const TemplatesIssueGitCredential422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
626
622
|
const TemplatesIssueGitCredential500 = InternalError;
|
|
627
623
|
const TemplatesIssueGitCredential504 = GatewayTimeoutError;
|
|
628
|
-
const TemplatesOpenWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
629
|
-
const TemplatesOpenWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
624
|
+
const TemplatesOpenWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
625
|
+
const TemplatesOpenWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
630
626
|
workspace: Schema.Struct({
|
|
631
627
|
projectId: TemplateProjectId,
|
|
632
628
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
@@ -717,24 +713,24 @@ const TemplatesOpenWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
717
713
|
})
|
|
718
714
|
}),
|
|
719
715
|
files: Schema.Record(Schema.String, Schema.String)
|
|
720
|
-
});
|
|
716
|
+
}))();
|
|
721
717
|
const TemplatesOpenWorkspace401 = UnauthorizedError;
|
|
722
718
|
const TemplatesOpenWorkspace403 = ForbiddenError;
|
|
723
719
|
const TemplatesOpenWorkspace404 = ResourceNotFoundError;
|
|
724
720
|
const TemplatesOpenWorkspace409 = ConflictError;
|
|
725
|
-
const TemplatesOpenWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
721
|
+
const TemplatesOpenWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
726
722
|
const TemplatesOpenWorkspace500 = InternalError;
|
|
727
723
|
const TemplatesOpenWorkspace504 = GatewayTimeoutError;
|
|
728
|
-
const TemplatesPatchWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
729
|
-
const TemplatesPatchWorkspaceRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
724
|
+
const TemplatesPatchWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
725
|
+
const TemplatesPatchWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
730
726
|
expectedRevision: Schema.String,
|
|
731
727
|
patches: Schema.Array(Schema.Struct({
|
|
732
728
|
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
733
729
|
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])
|
|
734
730
|
})).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" })),
|
|
735
731
|
idempotencyKey: 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" }))
|
|
736
|
-
});
|
|
737
|
-
const TemplatesPatchWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
732
|
+
}))();
|
|
733
|
+
const TemplatesPatchWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
738
734
|
workspace: Schema.Struct({
|
|
739
735
|
projectId: TemplateProjectId,
|
|
740
736
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
@@ -825,23 +821,23 @@ const TemplatesPatchWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
825
821
|
})
|
|
826
822
|
}),
|
|
827
823
|
files: Schema.Record(Schema.String, Schema.String)
|
|
828
|
-
});
|
|
824
|
+
}))();
|
|
829
825
|
const TemplatesPatchWorkspace401 = UnauthorizedError;
|
|
830
826
|
const TemplatesPatchWorkspace403 = ForbiddenError;
|
|
831
827
|
const TemplatesPatchWorkspace404 = ResourceNotFoundError;
|
|
832
828
|
const TemplatesPatchWorkspace409 = ConflictError;
|
|
833
|
-
const TemplatesPatchWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
829
|
+
const TemplatesPatchWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
834
830
|
const TemplatesPatchWorkspace500 = InternalError;
|
|
835
831
|
const TemplatesPatchWorkspace504 = GatewayTimeoutError;
|
|
836
|
-
const TemplatesPutWorkspaceAssetPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
837
|
-
const TemplatesPutWorkspaceAssetRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
832
|
+
const TemplatesPutWorkspaceAssetPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
833
|
+
const TemplatesPutWorkspaceAssetRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
838
834
|
expectedRevision: Schema.String,
|
|
839
835
|
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
840
836
|
contentBase64: Schema.String,
|
|
841
837
|
replace: Schema.Boolean,
|
|
842
838
|
idempotencyKey: 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" }))
|
|
843
|
-
});
|
|
844
|
-
const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ Schema.Struct({
|
|
839
|
+
}))();
|
|
840
|
+
const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
845
841
|
workspace: Schema.Struct({
|
|
846
842
|
projectId: TemplateProjectId,
|
|
847
843
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
@@ -932,20 +928,20 @@ const TemplatesPutWorkspaceAsset200 = /* @__PURE__ */ Schema.Struct({
|
|
|
932
928
|
})
|
|
933
929
|
}),
|
|
934
930
|
files: Schema.Record(Schema.String, Schema.String)
|
|
935
|
-
});
|
|
931
|
+
}))();
|
|
936
932
|
const TemplatesPutWorkspaceAsset401 = UnauthorizedError;
|
|
937
933
|
const TemplatesPutWorkspaceAsset403 = ForbiddenError;
|
|
938
934
|
const TemplatesPutWorkspaceAsset404 = ResourceNotFoundError;
|
|
939
935
|
const TemplatesPutWorkspaceAsset409 = ConflictError;
|
|
940
|
-
const TemplatesPutWorkspaceAsset422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
936
|
+
const TemplatesPutWorkspaceAsset422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
941
937
|
const TemplatesPutWorkspaceAsset500 = InternalError;
|
|
942
938
|
const TemplatesPutWorkspaceAsset504 = GatewayTimeoutError;
|
|
943
|
-
const TemplatesCheckWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
944
|
-
const TemplatesCheckWorkspaceRequestJson = /* @__PURE__ */ Schema.Struct({ expectedRevision: Schema.String });
|
|
945
|
-
const TemplatesCheckWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
939
|
+
const TemplatesCheckWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
940
|
+
const TemplatesCheckWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({ expectedRevision: Schema.String }))();
|
|
941
|
+
const TemplatesCheckWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
946
942
|
projectId: TemplateProjectId,
|
|
947
943
|
revision: Schema.String,
|
|
948
|
-
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
944
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
949
945
|
declaration: Schema.Union([Schema.Struct({
|
|
950
946
|
codeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
951
947
|
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" })),
|
|
@@ -956,6 +952,21 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
956
952
|
}),
|
|
957
953
|
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" })))
|
|
958
954
|
}), Schema.Null]),
|
|
955
|
+
issue: Schema.optionalKey(Schema.Struct({
|
|
956
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
957
|
+
frontmatter: Schema.Struct({
|
|
958
|
+
title: Schema.String,
|
|
959
|
+
slug: Schema.String,
|
|
960
|
+
topic: Schema.String,
|
|
961
|
+
preheader: Schema.optionalKey(Schema.String),
|
|
962
|
+
seo: Schema.optionalKey(Schema.Struct({
|
|
963
|
+
title: Schema.optionalKey(Schema.String),
|
|
964
|
+
description: Schema.optionalKey(Schema.String),
|
|
965
|
+
image: Schema.optionalKey(Schema.String)
|
|
966
|
+
})),
|
|
967
|
+
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
968
|
+
})
|
|
969
|
+
})),
|
|
959
970
|
diagnostics: Schema.Array(Schema.Struct({
|
|
960
971
|
code: Schema.String,
|
|
961
972
|
severity: Schema.Union([
|
|
@@ -1020,16 +1031,16 @@ const TemplatesCheckWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1020
1031
|
title: Schema.String
|
|
1021
1032
|
}), Schema.Null]))
|
|
1022
1033
|
}))
|
|
1023
|
-
});
|
|
1034
|
+
}))();
|
|
1024
1035
|
const TemplatesCheckWorkspace401 = UnauthorizedError;
|
|
1025
1036
|
const TemplatesCheckWorkspace403 = ForbiddenError;
|
|
1026
1037
|
const TemplatesCheckWorkspace404 = ResourceNotFoundError;
|
|
1027
1038
|
const TemplatesCheckWorkspace409 = ConflictError;
|
|
1028
|
-
const TemplatesCheckWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1039
|
+
const TemplatesCheckWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1029
1040
|
const TemplatesCheckWorkspace500 = InternalError;
|
|
1030
1041
|
const TemplatesCheckWorkspace504 = GatewayTimeoutError;
|
|
1031
|
-
const TemplatesResolveWorkspaceConflictPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1032
|
-
const TemplatesResolveWorkspaceConflictRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1042
|
+
const TemplatesResolveWorkspaceConflictPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1043
|
+
const TemplatesResolveWorkspaceConflictRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1033
1044
|
expectedRevision: Schema.String,
|
|
1034
1045
|
path: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$)).{1,1024}$" })),
|
|
1035
1046
|
resolution: Schema.Union([
|
|
@@ -1038,8 +1049,8 @@ const TemplatesResolveWorkspaceConflictRequestJson = /* @__PURE__ */ Schema.Stru
|
|
|
1038
1049
|
Schema.Struct({ content: Schema.Union([Schema.String, Schema.Null]) })
|
|
1039
1050
|
]),
|
|
1040
1051
|
idempotencyKey: 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" }))
|
|
1041
|
-
});
|
|
1042
|
-
const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ Schema.Struct({
|
|
1052
|
+
}))();
|
|
1053
|
+
const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1043
1054
|
workspace: Schema.Struct({
|
|
1044
1055
|
projectId: TemplateProjectId,
|
|
1045
1056
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
@@ -1130,17 +1141,17 @@ const TemplatesResolveWorkspaceConflict200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1130
1141
|
})
|
|
1131
1142
|
}),
|
|
1132
1143
|
files: Schema.Record(Schema.String, Schema.String)
|
|
1133
|
-
});
|
|
1144
|
+
}))();
|
|
1134
1145
|
const TemplatesResolveWorkspaceConflict401 = UnauthorizedError;
|
|
1135
1146
|
const TemplatesResolveWorkspaceConflict403 = ForbiddenError;
|
|
1136
1147
|
const TemplatesResolveWorkspaceConflict404 = ResourceNotFoundError;
|
|
1137
1148
|
const TemplatesResolveWorkspaceConflict409 = ConflictError;
|
|
1138
|
-
const TemplatesResolveWorkspaceConflict422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1149
|
+
const TemplatesResolveWorkspaceConflict422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1139
1150
|
const TemplatesResolveWorkspaceConflict500 = InternalError;
|
|
1140
1151
|
const TemplatesResolveWorkspaceConflict504 = GatewayTimeoutError;
|
|
1141
|
-
const TemplatesDiffWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1142
|
-
const TemplatesDiffWorkspaceRequestJson = /* @__PURE__ */ Schema.Struct({ expectedRevision: Schema.String });
|
|
1143
|
-
const TemplatesDiffWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
1152
|
+
const TemplatesDiffWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1153
|
+
const TemplatesDiffWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({ expectedRevision: Schema.String }))();
|
|
1154
|
+
const TemplatesDiffWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1144
1155
|
projectId: TemplateProjectId,
|
|
1145
1156
|
baseCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1146
1157
|
revision: Schema.String,
|
|
@@ -1163,23 +1174,23 @@ const TemplatesDiffWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1163
1174
|
]),
|
|
1164
1175
|
digest: Schema.Union([Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })), Schema.Null])
|
|
1165
1176
|
}))
|
|
1166
|
-
});
|
|
1177
|
+
}))();
|
|
1167
1178
|
const TemplatesDiffWorkspace401 = UnauthorizedError;
|
|
1168
1179
|
const TemplatesDiffWorkspace403 = ForbiddenError;
|
|
1169
1180
|
const TemplatesDiffWorkspace404 = ResourceNotFoundError;
|
|
1170
1181
|
const TemplatesDiffWorkspace409 = ConflictError;
|
|
1171
|
-
const TemplatesDiffWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1182
|
+
const TemplatesDiffWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1172
1183
|
const TemplatesDiffWorkspace500 = InternalError;
|
|
1173
1184
|
const TemplatesDiffWorkspace504 = GatewayTimeoutError;
|
|
1174
|
-
const TemplatesRenderWorkspaceFixturePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1175
|
-
const TemplatesRenderWorkspaceFixtureRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1185
|
+
const TemplatesRenderWorkspaceFixturePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1186
|
+
const TemplatesRenderWorkspaceFixtureRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1176
1187
|
expectedRevision: Schema.String,
|
|
1177
1188
|
fixture: 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" }))
|
|
1178
|
-
});
|
|
1179
|
-
const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ Schema.Struct({
|
|
1189
|
+
}))();
|
|
1190
|
+
const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1180
1191
|
projectId: TemplateProjectId,
|
|
1181
1192
|
revision: Schema.String,
|
|
1182
|
-
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
1193
|
+
entryPath: Schema.Union([Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })), Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" }))]),
|
|
1183
1194
|
declaration: Schema.Union([Schema.Struct({
|
|
1184
1195
|
codeDigest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1185
1196
|
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" })),
|
|
@@ -1190,6 +1201,21 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1190
1201
|
}),
|
|
1191
1202
|
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" })))
|
|
1192
1203
|
}), Schema.Null]),
|
|
1204
|
+
issue: Schema.optionalKey(Schema.Struct({
|
|
1205
|
+
path: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$", "u")).annotate({ expected: "a string matching the RegExp ^(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?!.*\\p{Cc})issues\\/(?:[^/]+\\/)*[^/]+\\.md$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
1206
|
+
frontmatter: Schema.Struct({
|
|
1207
|
+
title: Schema.String,
|
|
1208
|
+
slug: Schema.String,
|
|
1209
|
+
topic: Schema.String,
|
|
1210
|
+
preheader: Schema.optionalKey(Schema.String),
|
|
1211
|
+
seo: Schema.optionalKey(Schema.Struct({
|
|
1212
|
+
title: Schema.optionalKey(Schema.String),
|
|
1213
|
+
description: Schema.optionalKey(Schema.String),
|
|
1214
|
+
image: Schema.optionalKey(Schema.String)
|
|
1215
|
+
})),
|
|
1216
|
+
gate: Schema.optionalKey(Schema.Struct({ leadIn: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })) }))
|
|
1217
|
+
})
|
|
1218
|
+
})),
|
|
1193
1219
|
diagnostics: Schema.Array(Schema.Struct({
|
|
1194
1220
|
code: Schema.String,
|
|
1195
1221
|
severity: Schema.Union([
|
|
@@ -1277,18 +1303,37 @@ const TemplatesRenderWorkspaceFixture200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1277
1303
|
})),
|
|
1278
1304
|
sentBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1279
1305
|
previewBytes: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1280
|
-
}), Schema.Null])
|
|
1281
|
-
|
|
1306
|
+
}), Schema.Null]),
|
|
1307
|
+
page: Schema.optionalKey(Schema.Union([Schema.Struct({
|
|
1308
|
+
kind: Schema.Literal("page"),
|
|
1309
|
+
html: Schema.String,
|
|
1310
|
+
selections: Schema.Array(Schema.Struct({
|
|
1311
|
+
instancePath: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1312
|
+
tag: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
1313
|
+
origins: Schema.Array(Schema.Struct({
|
|
1314
|
+
fileName: Schema.String,
|
|
1315
|
+
lineNumber: 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" })),
|
|
1316
|
+
columnNumber: 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" }))
|
|
1317
|
+
})),
|
|
1318
|
+
authored: Schema.Boolean,
|
|
1319
|
+
occurrence: 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" })),
|
|
1320
|
+
occurrences: 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" })),
|
|
1321
|
+
parentPath: Schema.optionalKey(Schema.String),
|
|
1322
|
+
start: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
1323
|
+
end: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
|
|
1324
|
+
}))
|
|
1325
|
+
}), Schema.Null]))
|
|
1326
|
+
}))();
|
|
1282
1327
|
const TemplatesRenderWorkspaceFixture401 = UnauthorizedError;
|
|
1283
1328
|
const TemplatesRenderWorkspaceFixture403 = ForbiddenError;
|
|
1284
1329
|
const TemplatesRenderWorkspaceFixture404 = ResourceNotFoundError;
|
|
1285
1330
|
const TemplatesRenderWorkspaceFixture409 = ConflictError;
|
|
1286
|
-
const TemplatesRenderWorkspaceFixture422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1331
|
+
const TemplatesRenderWorkspaceFixture422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1287
1332
|
const TemplatesRenderWorkspaceFixture500 = InternalError;
|
|
1288
1333
|
const TemplatesRenderWorkspaceFixture504 = GatewayTimeoutError;
|
|
1289
|
-
const TemplatesWorkspaceHistoryPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1290
|
-
const TemplatesWorkspaceHistoryQuery = /* @__PURE__ */ Schema.Struct({ limit: Schema.optionalKey(Schema.Union([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(100).annotate({ expected: "a value less than or equal to 100" })), Schema.Null])) });
|
|
1291
|
-
const TemplatesWorkspaceHistory200 = /* @__PURE__ */ Schema.Struct({
|
|
1334
|
+
const TemplatesWorkspaceHistoryPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1335
|
+
const TemplatesWorkspaceHistoryQuery = /* @__PURE__ */ (() => Schema.Struct({ limit: Schema.optionalKey(Schema.Union([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(100).annotate({ expected: "a value less than or equal to 100" })), Schema.Null])) }))();
|
|
1336
|
+
const TemplatesWorkspaceHistory200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1292
1337
|
projectId: TemplateProjectId,
|
|
1293
1338
|
head: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1294
1339
|
commits: Schema.Array(Schema.Struct({
|
|
@@ -1302,16 +1347,16 @@ const TemplatesWorkspaceHistory200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1302
1347
|
id: TemplatePublicationId,
|
|
1303
1348
|
commit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" }))
|
|
1304
1349
|
}), Schema.Null])
|
|
1305
|
-
});
|
|
1350
|
+
}))();
|
|
1306
1351
|
const TemplatesWorkspaceHistory401 = UnauthorizedError;
|
|
1307
1352
|
const TemplatesWorkspaceHistory403 = ForbiddenError;
|
|
1308
1353
|
const TemplatesWorkspaceHistory404 = ResourceNotFoundError;
|
|
1309
1354
|
const TemplatesWorkspaceHistory409 = ConflictError;
|
|
1310
|
-
const TemplatesWorkspaceHistory422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1355
|
+
const TemplatesWorkspaceHistory422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1311
1356
|
const TemplatesWorkspaceHistory500 = InternalError;
|
|
1312
1357
|
const TemplatesWorkspaceHistory504 = GatewayTimeoutError;
|
|
1313
|
-
const TemplatesAttachWorkspaceResourcePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1314
|
-
const TemplatesAttachWorkspaceResourceRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1358
|
+
const TemplatesAttachWorkspaceResourcePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1359
|
+
const TemplatesAttachWorkspaceResourceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1315
1360
|
expectedRevision: Schema.String,
|
|
1316
1361
|
resource: Schema.Struct({
|
|
1317
1362
|
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" })),
|
|
@@ -1323,8 +1368,8 @@ const TemplatesAttachWorkspaceResourceRequestJson = /* @__PURE__ */ Schema.Struc
|
|
|
1323
1368
|
})).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" }))
|
|
1324
1369
|
}),
|
|
1325
1370
|
idempotencyKey: 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" }))
|
|
1326
|
-
});
|
|
1327
|
-
const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ Schema.Struct({
|
|
1371
|
+
}))();
|
|
1372
|
+
const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1328
1373
|
projectId: TemplateProjectId,
|
|
1329
1374
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1330
1375
|
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1412,23 +1457,23 @@ const TemplatesAttachWorkspaceResource200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1412
1457
|
Schema.Literal("agent")
|
|
1413
1458
|
])
|
|
1414
1459
|
})
|
|
1415
|
-
});
|
|
1460
|
+
}))();
|
|
1416
1461
|
const TemplatesAttachWorkspaceResource401 = UnauthorizedError;
|
|
1417
1462
|
const TemplatesAttachWorkspaceResource403 = ForbiddenError;
|
|
1418
1463
|
const TemplatesAttachWorkspaceResource404 = ResourceNotFoundError;
|
|
1419
1464
|
const TemplatesAttachWorkspaceResource409 = ConflictError;
|
|
1420
|
-
const TemplatesAttachWorkspaceResource422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1465
|
+
const TemplatesAttachWorkspaceResource422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1421
1466
|
const TemplatesAttachWorkspaceResource500 = InternalError;
|
|
1422
1467
|
const TemplatesAttachWorkspaceResource504 = GatewayTimeoutError;
|
|
1423
|
-
const TemplatesRemoveWorkspaceResourcePathParams = /* @__PURE__ */ Schema.Struct({
|
|
1468
|
+
const TemplatesRemoveWorkspaceResourcePathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1424
1469
|
id: TemplateId,
|
|
1425
1470
|
resourceId: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[A-Za-z0-9._-]{1,128}$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z0-9._-]{1,128}$" }))
|
|
1426
|
-
});
|
|
1427
|
-
const TemplatesRemoveWorkspaceResourceRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1471
|
+
}))();
|
|
1472
|
+
const TemplatesRemoveWorkspaceResourceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1428
1473
|
expectedRevision: Schema.String,
|
|
1429
1474
|
idempotencyKey: 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" }))
|
|
1430
|
-
});
|
|
1431
|
-
const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ Schema.Struct({
|
|
1475
|
+
}))();
|
|
1476
|
+
const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1432
1477
|
projectId: TemplateProjectId,
|
|
1433
1478
|
organizationId: Schema.Union([OrganizationId, Schema.Null]),
|
|
1434
1479
|
ownerEpoch: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
@@ -1516,21 +1561,21 @@ const TemplatesRemoveWorkspaceResource200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1516
1561
|
Schema.Literal("agent")
|
|
1517
1562
|
])
|
|
1518
1563
|
})
|
|
1519
|
-
});
|
|
1564
|
+
}))();
|
|
1520
1565
|
const TemplatesRemoveWorkspaceResource401 = UnauthorizedError;
|
|
1521
1566
|
const TemplatesRemoveWorkspaceResource403 = ForbiddenError;
|
|
1522
1567
|
const TemplatesRemoveWorkspaceResource404 = ResourceNotFoundError;
|
|
1523
1568
|
const TemplatesRemoveWorkspaceResource409 = ConflictError;
|
|
1524
|
-
const TemplatesRemoveWorkspaceResource422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1569
|
+
const TemplatesRemoveWorkspaceResource422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1525
1570
|
const TemplatesRemoveWorkspaceResource500 = InternalError;
|
|
1526
1571
|
const TemplatesRemoveWorkspaceResource504 = GatewayTimeoutError;
|
|
1527
|
-
const TemplatesRestoreWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1528
|
-
const TemplatesRestoreWorkspaceRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1572
|
+
const TemplatesRestoreWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1573
|
+
const TemplatesRestoreWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1529
1574
|
expectedRevision: Schema.String,
|
|
1530
1575
|
commit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1531
1576
|
idempotencyKey: 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" }))
|
|
1532
|
-
});
|
|
1533
|
-
const TemplatesRestoreWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
1577
|
+
}))();
|
|
1578
|
+
const TemplatesRestoreWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1534
1579
|
view: Schema.Struct({
|
|
1535
1580
|
workspace: Schema.Struct({
|
|
1536
1581
|
projectId: TemplateProjectId,
|
|
@@ -1627,22 +1672,22 @@ const TemplatesRestoreWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1627
1672
|
digest: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
1628
1673
|
content: 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" }))
|
|
1629
1674
|
})
|
|
1630
|
-
});
|
|
1675
|
+
}))();
|
|
1631
1676
|
const TemplatesRestoreWorkspace401 = UnauthorizedError;
|
|
1632
1677
|
const TemplatesRestoreWorkspace403 = ForbiddenError;
|
|
1633
1678
|
const TemplatesRestoreWorkspace404 = ResourceNotFoundError;
|
|
1634
1679
|
const TemplatesRestoreWorkspace409 = ConflictError;
|
|
1635
|
-
const TemplatesRestoreWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1680
|
+
const TemplatesRestoreWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1636
1681
|
const TemplatesRestoreWorkspace500 = InternalError;
|
|
1637
1682
|
const TemplatesRestoreWorkspace504 = GatewayTimeoutError;
|
|
1638
|
-
const TemplatesSaveWorkspacePathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateId });
|
|
1639
|
-
const TemplatesSaveWorkspaceRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1683
|
+
const TemplatesSaveWorkspacePathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateId }))();
|
|
1684
|
+
const TemplatesSaveWorkspaceRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1640
1685
|
expectedRevision: Schema.String,
|
|
1641
1686
|
expectedHead: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1642
1687
|
message: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(Schema.isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })),
|
|
1643
1688
|
idempotencyKey: 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" }))
|
|
1644
|
-
});
|
|
1645
|
-
const TemplatesSaveWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
1689
|
+
}))();
|
|
1690
|
+
const TemplatesSaveWorkspace200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
1646
1691
|
commit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1647
1692
|
parentCommit: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
1648
1693
|
tree: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^[a-f0-9]{40}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{40}$" })),
|
|
@@ -1714,32 +1759,32 @@ const TemplatesSaveWorkspace200 = /* @__PURE__ */ Schema.Struct({
|
|
|
1714
1759
|
title: Schema.String
|
|
1715
1760
|
}), Schema.Null]))
|
|
1716
1761
|
}))
|
|
1717
|
-
});
|
|
1762
|
+
}))();
|
|
1718
1763
|
const TemplatesSaveWorkspace401 = UnauthorizedError;
|
|
1719
1764
|
const TemplatesSaveWorkspace403 = ForbiddenError;
|
|
1720
1765
|
const TemplatesSaveWorkspace404 = ResourceNotFoundError;
|
|
1721
1766
|
const TemplatesSaveWorkspace409 = ConflictError;
|
|
1722
|
-
const TemplatesSaveWorkspace422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1767
|
+
const TemplatesSaveWorkspace422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1723
1768
|
const TemplatesSaveWorkspace500 = InternalError;
|
|
1724
1769
|
const TemplatesSaveWorkspace504 = GatewayTimeoutError;
|
|
1725
|
-
const TemplatesListFamiliesQuery = /* @__PURE__ */ Schema.Struct({
|
|
1770
|
+
const TemplatesListFamiliesQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
1726
1771
|
limit: Schema.optionalKey(Schema.Union([Schema.Finite.annotate({ description: "Items per page, at most 100." }).check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(100).annotate({ expected: "a value less than or equal to 100" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])),
|
|
1727
1772
|
cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
|
|
1728
|
-
});
|
|
1773
|
+
}))();
|
|
1729
1774
|
const TemplatesListFamilies200 = TemplateFamilyPage;
|
|
1730
1775
|
const TemplatesListFamilies401 = UnauthorizedError;
|
|
1731
1776
|
const TemplatesListFamilies403 = ForbiddenError;
|
|
1732
1777
|
const TemplatesListFamilies422 = ValidationError;
|
|
1733
1778
|
const TemplatesListFamilies500 = InternalError;
|
|
1734
1779
|
const TemplatesListFamilies504 = GatewayTimeoutError;
|
|
1735
|
-
const TemplatesCreateFamilyRequestJson = /* @__PURE__ */ Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) });
|
|
1780
|
+
const TemplatesCreateFamilyRequestJson = /* @__PURE__ */ (() => Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) }))();
|
|
1736
1781
|
const TemplatesCreateFamily201 = TemplateFamily;
|
|
1737
1782
|
const TemplatesCreateFamily401 = UnauthorizedError;
|
|
1738
1783
|
const TemplatesCreateFamily403 = ForbiddenError;
|
|
1739
1784
|
const TemplatesCreateFamily422 = ValidationError;
|
|
1740
1785
|
const TemplatesCreateFamily500 = InternalError;
|
|
1741
1786
|
const TemplatesCreateFamily504 = GatewayTimeoutError;
|
|
1742
|
-
const TemplatesGetFamilyPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateFamilyId });
|
|
1787
|
+
const TemplatesGetFamilyPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateFamilyId }))();
|
|
1743
1788
|
const TemplatesGetFamily200 = TemplateFamily;
|
|
1744
1789
|
const TemplatesGetFamily401 = UnauthorizedError;
|
|
1745
1790
|
const TemplatesGetFamily403 = ForbiddenError;
|
|
@@ -1747,7 +1792,7 @@ const TemplatesGetFamily404 = ResourceNotFoundError;
|
|
|
1747
1792
|
const TemplatesGetFamily422 = ValidationError;
|
|
1748
1793
|
const TemplatesGetFamily500 = InternalError;
|
|
1749
1794
|
const TemplatesGetFamily504 = GatewayTimeoutError;
|
|
1750
|
-
const TemplatesDeleteFamilyPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateFamilyId });
|
|
1795
|
+
const TemplatesDeleteFamilyPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateFamilyId }))();
|
|
1751
1796
|
const TemplatesDeleteFamily200 = SuccessResponse;
|
|
1752
1797
|
const TemplatesDeleteFamily401 = UnauthorizedError;
|
|
1753
1798
|
const TemplatesDeleteFamily403 = ForbiddenError;
|
|
@@ -1755,8 +1800,8 @@ const TemplatesDeleteFamily404 = ResourceNotFoundError;
|
|
|
1755
1800
|
const TemplatesDeleteFamily422 = ValidationError;
|
|
1756
1801
|
const TemplatesDeleteFamily500 = InternalError;
|
|
1757
1802
|
const TemplatesDeleteFamily504 = GatewayTimeoutError;
|
|
1758
|
-
const TemplatesRenameFamilyPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateFamilyId });
|
|
1759
|
-
const TemplatesRenameFamilyRequestJson = /* @__PURE__ */ Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) });
|
|
1803
|
+
const TemplatesRenameFamilyPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateFamilyId }))();
|
|
1804
|
+
const TemplatesRenameFamilyRequestJson = /* @__PURE__ */ (() => Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) }))();
|
|
1760
1805
|
const TemplatesRenameFamily200 = TemplateFamily;
|
|
1761
1806
|
const TemplatesRenameFamily401 = UnauthorizedError;
|
|
1762
1807
|
const TemplatesRenameFamily403 = ForbiddenError;
|
|
@@ -1764,10 +1809,10 @@ const TemplatesRenameFamily404 = ResourceNotFoundError;
|
|
|
1764
1809
|
const TemplatesRenameFamily422 = ValidationError;
|
|
1765
1810
|
const TemplatesRenameFamily500 = InternalError;
|
|
1766
1811
|
const TemplatesRenameFamily504 = GatewayTimeoutError;
|
|
1767
|
-
const TemplatesAttachFamilyMemberPathParams = /* @__PURE__ */ Schema.Struct({
|
|
1812
|
+
const TemplatesAttachFamilyMemberPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1768
1813
|
id: TemplateFamilyId,
|
|
1769
1814
|
templateId: TemplateId
|
|
1770
|
-
});
|
|
1815
|
+
}))();
|
|
1771
1816
|
const TemplatesAttachFamilyMember200 = TemplateFamily;
|
|
1772
1817
|
const TemplatesAttachFamilyMember401 = UnauthorizedError;
|
|
1773
1818
|
const TemplatesAttachFamilyMember403 = ForbiddenError;
|
|
@@ -1776,10 +1821,10 @@ const TemplatesAttachFamilyMember409 = ConflictError;
|
|
|
1776
1821
|
const TemplatesAttachFamilyMember422 = ValidationError;
|
|
1777
1822
|
const TemplatesAttachFamilyMember500 = InternalError;
|
|
1778
1823
|
const TemplatesAttachFamilyMember504 = GatewayTimeoutError;
|
|
1779
|
-
const TemplatesDetachFamilyMemberPathParams = /* @__PURE__ */ Schema.Struct({
|
|
1824
|
+
const TemplatesDetachFamilyMemberPathParams = /* @__PURE__ */ (() => Schema.Struct({
|
|
1780
1825
|
id: TemplateFamilyId,
|
|
1781
1826
|
templateId: TemplateId
|
|
1782
|
-
});
|
|
1827
|
+
}))();
|
|
1783
1828
|
const TemplatesDetachFamilyMember200 = TemplateFamily;
|
|
1784
1829
|
const TemplatesDetachFamilyMember401 = UnauthorizedError;
|
|
1785
1830
|
const TemplatesDetachFamilyMember403 = ForbiddenError;
|
|
@@ -1788,8 +1833,8 @@ const TemplatesDetachFamilyMember409 = ConflictError;
|
|
|
1788
1833
|
const TemplatesDetachFamilyMember422 = ValidationError;
|
|
1789
1834
|
const TemplatesDetachFamilyMember500 = InternalError;
|
|
1790
1835
|
const TemplatesDetachFamilyMember504 = GatewayTimeoutError;
|
|
1791
|
-
const TemplatesCreateFamilyFromTemplatePathParams = /* @__PURE__ */ Schema.Struct({ templateId: TemplateId });
|
|
1792
|
-
const TemplatesCreateFamilyFromTemplateRequestJson = /* @__PURE__ */ Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) });
|
|
1836
|
+
const TemplatesCreateFamilyFromTemplatePathParams = /* @__PURE__ */ (() => Schema.Struct({ templateId: TemplateId }))();
|
|
1837
|
+
const TemplatesCreateFamilyFromTemplateRequestJson = /* @__PURE__ */ (() => Schema.Struct({ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) }))();
|
|
1793
1838
|
const TemplatesCreateFamilyFromTemplate201 = TemplateFamily;
|
|
1794
1839
|
const TemplatesCreateFamilyFromTemplate401 = UnauthorizedError;
|
|
1795
1840
|
const TemplatesCreateFamilyFromTemplate403 = ForbiddenError;
|
|
@@ -1798,22 +1843,22 @@ const TemplatesCreateFamilyFromTemplate409 = ConflictError;
|
|
|
1798
1843
|
const TemplatesCreateFamilyFromTemplate422 = ValidationError;
|
|
1799
1844
|
const TemplatesCreateFamilyFromTemplate500 = InternalError;
|
|
1800
1845
|
const TemplatesCreateFamilyFromTemplate504 = GatewayTimeoutError;
|
|
1801
|
-
const TemplatesCreateFromWebsiteRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1846
|
+
const TemplatesCreateFromWebsiteRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1802
1847
|
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" })),
|
|
1803
1848
|
name: 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])),
|
|
1804
1849
|
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." })),
|
|
1805
1850
|
idempotencyKey: Schema.String.annotate({ description: "Repeating a request with the same key, address, name, and namespace returns the project the first one created, even if the site has since stopped answering. The same key with another address, name, or namespace is refused with a 409." }).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" }))
|
|
1806
|
-
});
|
|
1851
|
+
}))();
|
|
1807
1852
|
const TemplatesCreateFromWebsite201 = TemplateFromWebsite;
|
|
1808
1853
|
const TemplatesCreateFromWebsite401 = UnauthorizedError;
|
|
1809
1854
|
const TemplatesCreateFromWebsite403 = ForbiddenError;
|
|
1810
1855
|
const TemplatesCreateFromWebsite404 = ResourceNotFoundError;
|
|
1811
1856
|
const TemplatesCreateFromWebsite409 = ConflictError;
|
|
1812
|
-
const TemplatesCreateFromWebsite422 = /* @__PURE__ */ Schema.Union([TemplateSourceError, ValidationError]);
|
|
1857
|
+
const TemplatesCreateFromWebsite422 = /* @__PURE__ */ (() => Schema.Union([TemplateSourceError, ValidationError]))();
|
|
1813
1858
|
const TemplatesCreateFromWebsite500 = InternalError;
|
|
1814
1859
|
const TemplatesCreateFromWebsite504 = GatewayTimeoutError;
|
|
1815
|
-
const TemplatesAddEntryPathParams = /* @__PURE__ */ Schema.Struct({ id: TemplateProjectId });
|
|
1816
|
-
const TemplatesAddEntryRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
1860
|
+
const TemplatesAddEntryPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: TemplateProjectId }))();
|
|
1861
|
+
const TemplatesAddEntryRequestJson = /* @__PURE__ */ (() => Schema.Struct({
|
|
1817
1862
|
entryPath: Schema.String.check(Schema.isMaxCodePoints(1024).annotate({ expected: "a string with at most 1024 code points" })).check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$", "u")).annotate({ expected: "a string matching the RegExp ^(?!\\/)(?!.*\\\\)(?!.*(?:^|\\/)\\.{1,2}(?:\\/|$))(?!.*(?:^|\\/)\\.git(?:\\/|$))(?:templates|emails)\\/.+\\.tsx$" })).check(Schema.isMaxLength(1024).annotate({ expected: "a value with a length of at most 1024" })),
|
|
1818
1863
|
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" })),
|
|
1819
1864
|
slug: Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^(?=.{1,100}$)[a-z0-9]+(?:-[a-z0-9]+)*$" })),
|
|
@@ -1827,7 +1872,7 @@ const TemplatesAddEntryRequestJson = /* @__PURE__ */ Schema.Struct({
|
|
|
1827
1872
|
Schema.Literal("reminder"),
|
|
1828
1873
|
Schema.Literal("alert")
|
|
1829
1874
|
]), Schema.Null]), Schema.Null]))
|
|
1830
|
-
});
|
|
1875
|
+
}))();
|
|
1831
1876
|
const TemplatesAddEntry201 = Template;
|
|
1832
1877
|
const TemplatesAddEntry401 = UnauthorizedError;
|
|
1833
1878
|
const TemplatesAddEntry403 = ForbiddenError;
|
|
@@ -2251,6 +2296,6 @@ var TemplatesGroup = class extends HttpApiGroup.make("Templates").add(HttpApiEnd
|
|
|
2251
2296
|
]
|
|
2252
2297
|
}).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.")).annotate(OpenApi.Description, "Git-backed email template projects, workspace editing, immutable publications, and delivery defaults") {};
|
|
2253
2298
|
//#endregion
|
|
2254
|
-
export { BrandRenderedFooter, Template, TemplateFamily, TemplateFamilyId, TemplateFamilyMember, TemplateFamilyPage, TemplateFromWebsite, TemplateInputContractPage, TemplatePage,
|
|
2299
|
+
export { BrandRenderedFooter, Template, TemplateFamily, TemplateFamilyId, TemplateFamilyMember, TemplateFamilyPage, TemplateFromWebsite, TemplateInputContractPage, TemplatePage, TemplatePublicationBrand, TemplatePublicationRender, TemplateSummary, TemplatesAddEntry201, TemplatesAddEntry401, TemplatesAddEntry403, TemplatesAddEntry404, TemplatesAddEntry409, TemplatesAddEntry422, TemplatesAddEntry500, TemplatesAddEntry504, TemplatesAddEntryPathParams, TemplatesAddEntryRequestJson, TemplatesAttachFamilyMember200, TemplatesAttachFamilyMember401, TemplatesAttachFamilyMember403, TemplatesAttachFamilyMember404, TemplatesAttachFamilyMember409, TemplatesAttachFamilyMember422, TemplatesAttachFamilyMember500, TemplatesAttachFamilyMember504, TemplatesAttachFamilyMemberPathParams, TemplatesAttachWorkspaceResource200, TemplatesAttachWorkspaceResource401, TemplatesAttachWorkspaceResource403, TemplatesAttachWorkspaceResource404, TemplatesAttachWorkspaceResource409, TemplatesAttachWorkspaceResource422, TemplatesAttachWorkspaceResource500, TemplatesAttachWorkspaceResource504, TemplatesAttachWorkspaceResourcePathParams, TemplatesAttachWorkspaceResourceRequestJson, TemplatesCheckWorkspace200, TemplatesCheckWorkspace401, TemplatesCheckWorkspace403, TemplatesCheckWorkspace404, TemplatesCheckWorkspace409, TemplatesCheckWorkspace422, TemplatesCheckWorkspace500, TemplatesCheckWorkspace504, TemplatesCheckWorkspacePathParams, TemplatesCheckWorkspaceRequestJson, TemplatesCreate201, TemplatesCreate401, TemplatesCreate403, TemplatesCreate404, TemplatesCreate409, TemplatesCreate422, TemplatesCreate500, TemplatesCreate504, TemplatesCreateFamily201, TemplatesCreateFamily401, TemplatesCreateFamily403, TemplatesCreateFamily422, TemplatesCreateFamily500, TemplatesCreateFamily504, TemplatesCreateFamilyFromTemplate201, TemplatesCreateFamilyFromTemplate401, TemplatesCreateFamilyFromTemplate403, TemplatesCreateFamilyFromTemplate404, TemplatesCreateFamilyFromTemplate409, TemplatesCreateFamilyFromTemplate422, TemplatesCreateFamilyFromTemplate500, TemplatesCreateFamilyFromTemplate504, TemplatesCreateFamilyFromTemplatePathParams, TemplatesCreateFamilyFromTemplateRequestJson, TemplatesCreateFamilyRequestJson, TemplatesCreateFromWebsite201, TemplatesCreateFromWebsite401, TemplatesCreateFromWebsite403, TemplatesCreateFromWebsite404, TemplatesCreateFromWebsite409, TemplatesCreateFromWebsite422, TemplatesCreateFromWebsite500, TemplatesCreateFromWebsite504, TemplatesCreateFromWebsiteRequestJson, TemplatesCreateRequestJson, TemplatesDeleteFamily200, TemplatesDeleteFamily401, TemplatesDeleteFamily403, TemplatesDeleteFamily404, TemplatesDeleteFamily422, TemplatesDeleteFamily500, TemplatesDeleteFamily504, TemplatesDeleteFamilyPathParams, TemplatesDetachFamilyMember200, TemplatesDetachFamilyMember401, TemplatesDetachFamilyMember403, TemplatesDetachFamilyMember404, TemplatesDetachFamilyMember409, TemplatesDetachFamilyMember422, TemplatesDetachFamilyMember500, TemplatesDetachFamilyMember504, TemplatesDetachFamilyMemberPathParams, TemplatesDiffWorkspace200, TemplatesDiffWorkspace401, TemplatesDiffWorkspace403, TemplatesDiffWorkspace404, TemplatesDiffWorkspace409, TemplatesDiffWorkspace422, TemplatesDiffWorkspace500, TemplatesDiffWorkspace504, TemplatesDiffWorkspacePathParams, TemplatesDiffWorkspaceRequestJson, TemplatesGetById200, TemplatesGetById401, TemplatesGetById403, TemplatesGetById404, TemplatesGetById422, TemplatesGetById500, TemplatesGetById504, TemplatesGetByIdPathParams, TemplatesGetFamily200, TemplatesGetFamily401, TemplatesGetFamily403, TemplatesGetFamily404, TemplatesGetFamily422, TemplatesGetFamily500, TemplatesGetFamily504, TemplatesGetFamilyPathParams, TemplatesGetGitRepository200, TemplatesGetGitRepository401, TemplatesGetGitRepository403, TemplatesGetGitRepository404, TemplatesGetGitRepository409, TemplatesGetGitRepository422, TemplatesGetGitRepository500, TemplatesGetGitRepository504, TemplatesGetGitRepositoryPathParams, TemplatesGetInputContract200, TemplatesGetInputContract401, TemplatesGetInputContract403, TemplatesGetInputContract404, TemplatesGetInputContract422, TemplatesGetInputContract500, TemplatesGetInputContract504, TemplatesGetInputContractPathParams, TemplatesGetPublication200, TemplatesGetPublication401, TemplatesGetPublication403, TemplatesGetPublication404, TemplatesGetPublication422, TemplatesGetPublication500, TemplatesGetPublication504, TemplatesGetPublicationPathParams, TemplatesGroup, TemplatesIssueGitCredential200, TemplatesIssueGitCredential401, TemplatesIssueGitCredential403, TemplatesIssueGitCredential404, TemplatesIssueGitCredential409, TemplatesIssueGitCredential422, TemplatesIssueGitCredential500, TemplatesIssueGitCredential504, TemplatesIssueGitCredentialPathParams, TemplatesIssueGitCredentialRequestJson, TemplatesList200, TemplatesList401, TemplatesList403, TemplatesList422, TemplatesList500, TemplatesList504, TemplatesListFamilies200, TemplatesListFamilies401, TemplatesListFamilies403, TemplatesListFamilies422, TemplatesListFamilies500, TemplatesListFamilies504, TemplatesListFamiliesQuery, TemplatesListInputContracts200, TemplatesListInputContracts401, TemplatesListInputContracts403, TemplatesListInputContracts404, TemplatesListInputContracts422, TemplatesListInputContracts500, TemplatesListInputContracts504, TemplatesListInputContractsPathParams, TemplatesListInputContractsQuery, TemplatesListQuery, TemplatesOpenWorkspace200, TemplatesOpenWorkspace401, TemplatesOpenWorkspace403, TemplatesOpenWorkspace404, TemplatesOpenWorkspace409, TemplatesOpenWorkspace422, TemplatesOpenWorkspace500, TemplatesOpenWorkspace504, TemplatesOpenWorkspacePathParams, TemplatesPatchWorkspace200, TemplatesPatchWorkspace401, TemplatesPatchWorkspace403, TemplatesPatchWorkspace404, TemplatesPatchWorkspace409, TemplatesPatchWorkspace422, TemplatesPatchWorkspace500, TemplatesPatchWorkspace504, TemplatesPatchWorkspacePathParams, TemplatesPatchWorkspaceRequestJson, TemplatesPublish201, TemplatesPublish401, TemplatesPublish403, TemplatesPublish404, TemplatesPublish409, TemplatesPublish422, TemplatesPublish500, TemplatesPublish504, TemplatesPublishPathParams, TemplatesPublishRequestJson, TemplatesPutWorkspaceAsset200, TemplatesPutWorkspaceAsset401, TemplatesPutWorkspaceAsset403, TemplatesPutWorkspaceAsset404, TemplatesPutWorkspaceAsset409, TemplatesPutWorkspaceAsset422, TemplatesPutWorkspaceAsset500, TemplatesPutWorkspaceAsset504, TemplatesPutWorkspaceAssetPathParams, TemplatesPutWorkspaceAssetRequestJson, TemplatesRemove200, TemplatesRemove401, TemplatesRemove403, TemplatesRemove404, TemplatesRemove422, TemplatesRemove500, TemplatesRemove504, TemplatesRemovePathParams, TemplatesRemoveWorkspaceResource200, TemplatesRemoveWorkspaceResource401, TemplatesRemoveWorkspaceResource403, TemplatesRemoveWorkspaceResource404, TemplatesRemoveWorkspaceResource409, TemplatesRemoveWorkspaceResource422, TemplatesRemoveWorkspaceResource500, TemplatesRemoveWorkspaceResource504, TemplatesRemoveWorkspaceResourcePathParams, TemplatesRemoveWorkspaceResourceRequestJson, TemplatesRenameFamily200, TemplatesRenameFamily401, TemplatesRenameFamily403, TemplatesRenameFamily404, TemplatesRenameFamily422, TemplatesRenameFamily500, TemplatesRenameFamily504, TemplatesRenameFamilyPathParams, TemplatesRenameFamilyRequestJson, TemplatesRenderPublication200, TemplatesRenderPublication401, TemplatesRenderPublication403, TemplatesRenderPublication404, TemplatesRenderPublication409, TemplatesRenderPublication422, TemplatesRenderPublication500, TemplatesRenderPublication504, TemplatesRenderPublicationPathParams, TemplatesRenderPublicationRequestJson, TemplatesRenderWorkspaceFixture200, TemplatesRenderWorkspaceFixture401, TemplatesRenderWorkspaceFixture403, TemplatesRenderWorkspaceFixture404, TemplatesRenderWorkspaceFixture409, TemplatesRenderWorkspaceFixture422, TemplatesRenderWorkspaceFixture500, TemplatesRenderWorkspaceFixture504, TemplatesRenderWorkspaceFixturePathParams, TemplatesRenderWorkspaceFixtureRequestJson, TemplatesResolveWorkspaceConflict200, TemplatesResolveWorkspaceConflict401, TemplatesResolveWorkspaceConflict403, TemplatesResolveWorkspaceConflict404, TemplatesResolveWorkspaceConflict409, TemplatesResolveWorkspaceConflict422, TemplatesResolveWorkspaceConflict500, TemplatesResolveWorkspaceConflict504, TemplatesResolveWorkspaceConflictPathParams, TemplatesResolveWorkspaceConflictRequestJson, TemplatesRestoreWorkspace200, TemplatesRestoreWorkspace401, TemplatesRestoreWorkspace403, TemplatesRestoreWorkspace404, TemplatesRestoreWorkspace409, TemplatesRestoreWorkspace422, TemplatesRestoreWorkspace500, TemplatesRestoreWorkspace504, TemplatesRestoreWorkspacePathParams, TemplatesRestoreWorkspaceRequestJson, TemplatesSaveWorkspace200, TemplatesSaveWorkspace401, TemplatesSaveWorkspace403, TemplatesSaveWorkspace404, TemplatesSaveWorkspace409, TemplatesSaveWorkspace422, TemplatesSaveWorkspace500, TemplatesSaveWorkspace504, TemplatesSaveWorkspacePathParams, TemplatesSaveWorkspaceRequestJson, TemplatesUpdate200, TemplatesUpdate401, TemplatesUpdate403, TemplatesUpdate404, TemplatesUpdate409, TemplatesUpdate422, TemplatesUpdate500, TemplatesUpdate504, TemplatesUpdatePathParams, TemplatesUpdateRequestJson, TemplatesWorkspaceHistory200, TemplatesWorkspaceHistory401, TemplatesWorkspaceHistory403, TemplatesWorkspaceHistory404, TemplatesWorkspaceHistory409, TemplatesWorkspaceHistory422, TemplatesWorkspaceHistory500, TemplatesWorkspaceHistory504, TemplatesWorkspaceHistoryPathParams, TemplatesWorkspaceHistoryQuery };
|
|
2255
2300
|
|
|
2256
2301
|
//# sourceMappingURL=templates.js.map
|