samva 0.26.0 → 0.28.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 +7 -0
- package/README.md +14 -7
- package/dist/client/sdk.gen.d.ts +322 -143
- package/dist/client/sdk.gen.js +1085 -332
- package/dist/client/types.gen.d.ts +1342 -479
- package/dist/effect/agents.d.ts +119 -0
- package/dist/effect/agents.js +29 -0
- package/dist/effect/analytics.d.ts +1 -1
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +6 -6
- package/dist/effect/attachments.d.ts +1 -1
- package/dist/effect/brands.d.ts +2 -0
- package/dist/effect/campaigns.d.ts +275 -25
- package/dist/effect/campaigns.js +7 -1
- package/dist/effect/contact-groups.d.ts +9 -9
- package/dist/effect/contacts.d.ts +74 -81
- package/dist/effect/contacts.js +7 -3
- package/dist/effect/conversations.d.ts +14 -6
- package/dist/effect/email.d.ts +34 -34
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +3 -3
- package/dist/effect/extensions.d.ts +6 -6
- package/dist/effect/generated/agents.d.ts +6 -28
- package/dist/effect/generated/agents.js +270 -0
- package/dist/effect/generated/analytics.d.ts +3 -3
- package/dist/effect/generated/analytics.js +1 -1
- package/dist/effect/generated/api-keys.d.ts +6 -6
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/attachments.d.ts +3 -3
- package/dist/effect/generated/attachments.js +1 -1
- package/dist/effect/generated/brands.d.ts +16 -0
- package/dist/effect/generated/campaigns.d.ts +1181 -302
- package/dist/effect/generated/campaigns.js +169 -36
- package/dist/effect/generated/contact-events.d.ts +3 -3
- package/dist/effect/generated/contact-events.js +1 -1
- package/dist/effect/generated/contact-groups.d.ts +9 -9
- package/dist/effect/generated/contact-groups.js +7 -7
- package/dist/effect/generated/contacts.d.ts +2063 -290
- package/dist/effect/generated/contacts.js +343 -75
- package/dist/effect/generated/conversations.d.ts +14 -6
- package/dist/effect/generated/conversations.js +6 -6
- package/dist/effect/generated/email.d.ts +55 -70
- package/dist/effect/generated/email.js +18 -21
- package/dist/effect/generated/extension-installations.d.ts +3 -3
- package/dist/effect/generated/extension-installations.js +1 -1
- package/dist/effect/generated/extensions.d.ts +6 -6
- package/dist/effect/generated/extensions.js +2 -2
- package/dist/effect/generated/index.d.ts +5 -3
- package/dist/effect/generated/journeys.d.ts +9 -9
- package/dist/effect/generated/journeys.js +3 -3
- package/dist/effect/generated/mailboxes.d.ts +466 -712
- package/dist/effect/generated/mailboxes.js +22 -14
- package/dist/effect/generated/messages.d.ts +53 -29
- package/dist/effect/generated/messages.js +9 -5
- package/dist/effect/generated/namespaces.d.ts +3 -3
- package/dist/effect/generated/namespaces.js +1 -1
- package/dist/effect/generated/operations.d.ts +3 -3
- package/dist/effect/generated/operations.js +1 -1
- package/dist/effect/generated/organizations.d.ts +0 -9
- package/dist/effect/generated/organizations.js +1 -4
- package/dist/effect/generated/scheduled-messages.d.ts +69 -20
- package/dist/effect/generated/scheduled-messages.js +22 -3
- package/dist/effect/generated/shared.d.ts +431 -177
- package/dist/effect/generated/shared.js +216 -108
- package/dist/effect/generated/subscriptions.d.ts +4 -7
- package/dist/effect/generated/subscriptions.js +3 -4
- package/dist/effect/generated/templates.d.ts +71 -407
- package/dist/effect/generated/templates.js +23 -23
- package/dist/effect/generated/topic-forms.d.ts +656 -0
- package/dist/effect/generated/topic-forms.js +145 -0
- package/dist/effect/generated/{unsubscribe-groups.d.ts → topics.d.ts} +640 -435
- package/dist/effect/generated/topics.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +6 -6
- package/dist/effect/generated/webhooks.js +2 -2
- package/dist/effect/generated-metadata.d.ts +78 -24
- package/dist/effect/generated-metadata.js +61 -27
- package/dist/effect/index.d.ts +3 -1
- package/dist/effect/index.js +5 -3
- package/dist/effect/internal/operation.js +4 -3
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +119 -119
- package/dist/effect/mailboxes.d.ts +137 -121
- package/dist/effect/messages.d.ts +19 -11
- package/dist/effect/namespaces.d.ts +3 -3
- package/dist/effect/operations.d.ts +3 -3
- package/dist/effect/scheduled-messages.d.ts +6 -6
- package/dist/effect/subscriptions.d.ts +1 -2
- package/dist/effect/templates.d.ts +13 -13
- package/dist/effect/topic-forms.d.ts +30 -0
- package/dist/effect/topic-forms.js +21 -0
- package/dist/effect/topics.d.ts +94 -0
- package/dist/effect/topics.js +29 -0
- package/dist/effect/webhooks.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.d.ts +65 -8
- package/dist/promises/errors.gen.js +139 -7
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +9 -5
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +117 -23
- package/dist/service-map.js +71 -10
- package/package.json +17 -9
- package/dist/effect/generated/unsubscribe-groups.js +0 -284
- package/dist/effect/unsubscribe-groups.d.ts +0 -74
- package/dist/effect/unsubscribe-groups.js +0 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, BrandAssets, BrandFooter, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, NamespaceId, OrganizationId, RenderLocale, RenderTimeZone, ResourceNotFoundError, SuccessResponse, TemplateFromDefault, TemplateId, TemplateInputContractId, TemplatePublicationId, TemplateTrackingDefault, UnauthorizedError, UserId, ValidationError, VersionCursor } from "./shared";
|
|
4
|
+
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";
|
|
5
5
|
export type TemplateProjectId = string & EffectBrand.Brand<"TemplateProjectId">;
|
|
6
6
|
export declare const TemplateProjectId: Schema.brand<Schema.String, "TemplateProjectId">;
|
|
7
7
|
export type TemplatePublicationBrand = {
|
|
@@ -344,7 +344,7 @@ export declare const TemplateFamilyPage: Schema.Struct<{
|
|
|
344
344
|
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
345
345
|
}>;
|
|
346
346
|
export type TemplatesListQuery = {
|
|
347
|
-
readonly limit?:
|
|
347
|
+
readonly limit?: number | null;
|
|
348
348
|
readonly cursor?: Cursor | null;
|
|
349
349
|
readonly category?: "transactional" | "marketing" | "support" | "notification" | "verification" | "reminder" | "alert" | null;
|
|
350
350
|
readonly channel?: "email" | null;
|
|
@@ -352,10 +352,10 @@ export type TemplatesListQuery = {
|
|
|
352
352
|
readonly search?: string | null;
|
|
353
353
|
readonly projectId?: TemplateProjectId | null;
|
|
354
354
|
readonly namespaceId?: NamespaceId | null;
|
|
355
|
-
readonly shared?:
|
|
355
|
+
readonly shared?: boolean | null;
|
|
356
356
|
};
|
|
357
357
|
export declare const TemplatesListQuery: Schema.Struct<{
|
|
358
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
358
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
359
359
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
360
360
|
readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"transactional">, Schema.Literal<"marketing">, Schema.Literal<"support">, Schema.Literal<"notification">, Schema.Literal<"verification">, Schema.Literal<"reminder">, Schema.Literal<"alert">]>, Schema.Null]>>;
|
|
361
361
|
readonly channel: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"email">, Schema.Null]>>;
|
|
@@ -363,7 +363,7 @@ export declare const TemplatesListQuery: Schema.Struct<{
|
|
|
363
363
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
364
364
|
readonly projectId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateProjectId">, Schema.Null]>>;
|
|
365
365
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
366
|
-
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
366
|
+
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
367
367
|
}>;
|
|
368
368
|
export type TemplatesList200 = TemplatePage;
|
|
369
369
|
export declare const TemplatesList200: Schema.Struct<{
|
|
@@ -482,8 +482,8 @@ export type TemplatesCreate404 = ResourceNotFoundError;
|
|
|
482
482
|
export declare const TemplatesCreate404: typeof ResourceNotFoundError;
|
|
483
483
|
export type TemplatesCreate409 = ConflictError;
|
|
484
484
|
export declare const TemplatesCreate409: typeof ConflictError;
|
|
485
|
-
export type TemplatesCreate422 = ValidationError;
|
|
486
|
-
export declare const TemplatesCreate422: typeof ValidationError
|
|
485
|
+
export type TemplatesCreate422 = TemplateSourceError | ValidationError;
|
|
486
|
+
export declare const TemplatesCreate422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
487
487
|
export type TemplatesCreate500 = InternalError;
|
|
488
488
|
export declare const TemplatesCreate500: typeof InternalError;
|
|
489
489
|
export type TemplatesCreate504 = GatewayTimeoutError;
|
|
@@ -675,11 +675,11 @@ export declare const TemplatesListInputContractsPathParams: Schema.Struct<{
|
|
|
675
675
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
676
676
|
}>;
|
|
677
677
|
export type TemplatesListInputContractsQuery = {
|
|
678
|
-
readonly limit?:
|
|
678
|
+
readonly limit?: number | null;
|
|
679
679
|
readonly cursor?: VersionCursor | null;
|
|
680
680
|
};
|
|
681
681
|
export declare const TemplatesListInputContractsQuery: Schema.Struct<{
|
|
682
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
682
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
683
683
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
684
684
|
}>;
|
|
685
685
|
export type TemplatesListInputContracts200 = TemplateInputContractPage;
|
|
@@ -928,6 +928,7 @@ export declare const TemplatesPublish201: Schema.Struct<{
|
|
|
928
928
|
}>;
|
|
929
929
|
readonly footer: Schema.Struct<{
|
|
930
930
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
931
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
931
932
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
932
933
|
readonly street1: Schema.String;
|
|
933
934
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -1021,8 +1022,8 @@ export type TemplatesPublish404 = ResourceNotFoundError;
|
|
|
1021
1022
|
export declare const TemplatesPublish404: typeof ResourceNotFoundError;
|
|
1022
1023
|
export type TemplatesPublish409 = ConflictError;
|
|
1023
1024
|
export declare const TemplatesPublish409: typeof ConflictError;
|
|
1024
|
-
export type TemplatesPublish422 = ValidationError;
|
|
1025
|
-
export declare const TemplatesPublish422: typeof ValidationError
|
|
1025
|
+
export type TemplatesPublish422 = TemplateSourceError | ValidationError;
|
|
1026
|
+
export declare const TemplatesPublish422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1026
1027
|
export type TemplatesPublish500 = InternalError;
|
|
1027
1028
|
export declare const TemplatesPublish500: typeof InternalError;
|
|
1028
1029
|
export type TemplatesPublish504 = GatewayTimeoutError;
|
|
@@ -1196,6 +1197,7 @@ export declare const TemplatesGetPublication200: Schema.Struct<{
|
|
|
1196
1197
|
}>;
|
|
1197
1198
|
readonly footer: Schema.Struct<{
|
|
1198
1199
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1200
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1199
1201
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1200
1202
|
readonly street1: Schema.String;
|
|
1201
1203
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -1356,8 +1358,8 @@ export type TemplatesGetGitRepository404 = ResourceNotFoundError;
|
|
|
1356
1358
|
export declare const TemplatesGetGitRepository404: typeof ResourceNotFoundError;
|
|
1357
1359
|
export type TemplatesGetGitRepository409 = ConflictError;
|
|
1358
1360
|
export declare const TemplatesGetGitRepository409: typeof ConflictError;
|
|
1359
|
-
export type TemplatesGetGitRepository422 = ValidationError;
|
|
1360
|
-
export declare const TemplatesGetGitRepository422: typeof ValidationError
|
|
1361
|
+
export type TemplatesGetGitRepository422 = TemplateSourceError | ValidationError;
|
|
1362
|
+
export declare const TemplatesGetGitRepository422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1361
1363
|
export type TemplatesGetGitRepository500 = InternalError;
|
|
1362
1364
|
export declare const TemplatesGetGitRepository500: typeof InternalError;
|
|
1363
1365
|
export type TemplatesGetGitRepository504 = GatewayTimeoutError;
|
|
@@ -1394,8 +1396,8 @@ export type TemplatesIssueGitCredential404 = ResourceNotFoundError;
|
|
|
1394
1396
|
export declare const TemplatesIssueGitCredential404: typeof ResourceNotFoundError;
|
|
1395
1397
|
export type TemplatesIssueGitCredential409 = ConflictError;
|
|
1396
1398
|
export declare const TemplatesIssueGitCredential409: typeof ConflictError;
|
|
1397
|
-
export type TemplatesIssueGitCredential422 = ValidationError;
|
|
1398
|
-
export declare const TemplatesIssueGitCredential422: typeof ValidationError
|
|
1399
|
+
export type TemplatesIssueGitCredential422 = TemplateSourceError | ValidationError;
|
|
1400
|
+
export declare const TemplatesIssueGitCredential422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1399
1401
|
export type TemplatesIssueGitCredential500 = InternalError;
|
|
1400
1402
|
export declare const TemplatesIssueGitCredential500: typeof InternalError;
|
|
1401
1403
|
export type TemplatesIssueGitCredential504 = GatewayTimeoutError;
|
|
@@ -1572,8 +1574,8 @@ export type TemplatesOpenWorkspace404 = ResourceNotFoundError;
|
|
|
1572
1574
|
export declare const TemplatesOpenWorkspace404: typeof ResourceNotFoundError;
|
|
1573
1575
|
export type TemplatesOpenWorkspace409 = ConflictError;
|
|
1574
1576
|
export declare const TemplatesOpenWorkspace409: typeof ConflictError;
|
|
1575
|
-
export type TemplatesOpenWorkspace422 = ValidationError;
|
|
1576
|
-
export declare const TemplatesOpenWorkspace422: typeof ValidationError
|
|
1577
|
+
export type TemplatesOpenWorkspace422 = TemplateSourceError | ValidationError;
|
|
1578
|
+
export declare const TemplatesOpenWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1577
1579
|
export type TemplatesOpenWorkspace500 = InternalError;
|
|
1578
1580
|
export declare const TemplatesOpenWorkspace500: typeof InternalError;
|
|
1579
1581
|
export type TemplatesOpenWorkspace504 = GatewayTimeoutError;
|
|
@@ -1766,8 +1768,8 @@ export type TemplatesPatchWorkspace404 = ResourceNotFoundError;
|
|
|
1766
1768
|
export declare const TemplatesPatchWorkspace404: typeof ResourceNotFoundError;
|
|
1767
1769
|
export type TemplatesPatchWorkspace409 = ConflictError;
|
|
1768
1770
|
export declare const TemplatesPatchWorkspace409: typeof ConflictError;
|
|
1769
|
-
export type TemplatesPatchWorkspace422 = ValidationError;
|
|
1770
|
-
export declare const TemplatesPatchWorkspace422: typeof ValidationError
|
|
1771
|
+
export type TemplatesPatchWorkspace422 = TemplateSourceError | ValidationError;
|
|
1772
|
+
export declare const TemplatesPatchWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1771
1773
|
export type TemplatesPatchWorkspace500 = InternalError;
|
|
1772
1774
|
export declare const TemplatesPatchWorkspace500: typeof InternalError;
|
|
1773
1775
|
export type TemplatesPatchWorkspace504 = GatewayTimeoutError;
|
|
@@ -1958,8 +1960,8 @@ export type TemplatesPutWorkspaceAsset404 = ResourceNotFoundError;
|
|
|
1958
1960
|
export declare const TemplatesPutWorkspaceAsset404: typeof ResourceNotFoundError;
|
|
1959
1961
|
export type TemplatesPutWorkspaceAsset409 = ConflictError;
|
|
1960
1962
|
export declare const TemplatesPutWorkspaceAsset409: typeof ConflictError;
|
|
1961
|
-
export type TemplatesPutWorkspaceAsset422 = ValidationError;
|
|
1962
|
-
export declare const TemplatesPutWorkspaceAsset422: typeof ValidationError
|
|
1963
|
+
export type TemplatesPutWorkspaceAsset422 = TemplateSourceError | ValidationError;
|
|
1964
|
+
export declare const TemplatesPutWorkspaceAsset422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
1963
1965
|
export type TemplatesPutWorkspaceAsset500 = InternalError;
|
|
1964
1966
|
export declare const TemplatesPutWorkspaceAsset500: typeof InternalError;
|
|
1965
1967
|
export type TemplatesPutWorkspaceAsset504 = GatewayTimeoutError;
|
|
@@ -2108,8 +2110,8 @@ export type TemplatesCheckWorkspace404 = ResourceNotFoundError;
|
|
|
2108
2110
|
export declare const TemplatesCheckWorkspace404: typeof ResourceNotFoundError;
|
|
2109
2111
|
export type TemplatesCheckWorkspace409 = ConflictError;
|
|
2110
2112
|
export declare const TemplatesCheckWorkspace409: typeof ConflictError;
|
|
2111
|
-
export type TemplatesCheckWorkspace422 = ValidationError;
|
|
2112
|
-
export declare const TemplatesCheckWorkspace422: typeof ValidationError
|
|
2113
|
+
export type TemplatesCheckWorkspace422 = TemplateSourceError | ValidationError;
|
|
2114
|
+
export declare const TemplatesCheckWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2113
2115
|
export type TemplatesCheckWorkspace500 = InternalError;
|
|
2114
2116
|
export declare const TemplatesCheckWorkspace500: typeof InternalError;
|
|
2115
2117
|
export type TemplatesCheckWorkspace504 = GatewayTimeoutError;
|
|
@@ -2302,8 +2304,8 @@ export type TemplatesResolveWorkspaceConflict404 = ResourceNotFoundError;
|
|
|
2302
2304
|
export declare const TemplatesResolveWorkspaceConflict404: typeof ResourceNotFoundError;
|
|
2303
2305
|
export type TemplatesResolveWorkspaceConflict409 = ConflictError;
|
|
2304
2306
|
export declare const TemplatesResolveWorkspaceConflict409: typeof ConflictError;
|
|
2305
|
-
export type TemplatesResolveWorkspaceConflict422 = ValidationError;
|
|
2306
|
-
export declare const TemplatesResolveWorkspaceConflict422: typeof ValidationError
|
|
2307
|
+
export type TemplatesResolveWorkspaceConflict422 = TemplateSourceError | ValidationError;
|
|
2308
|
+
export declare const TemplatesResolveWorkspaceConflict422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2307
2309
|
export type TemplatesResolveWorkspaceConflict500 = InternalError;
|
|
2308
2310
|
export declare const TemplatesResolveWorkspaceConflict500: typeof InternalError;
|
|
2309
2311
|
export type TemplatesResolveWorkspaceConflict504 = GatewayTimeoutError;
|
|
@@ -2360,8 +2362,8 @@ export type TemplatesDiffWorkspace404 = ResourceNotFoundError;
|
|
|
2360
2362
|
export declare const TemplatesDiffWorkspace404: typeof ResourceNotFoundError;
|
|
2361
2363
|
export type TemplatesDiffWorkspace409 = ConflictError;
|
|
2362
2364
|
export declare const TemplatesDiffWorkspace409: typeof ConflictError;
|
|
2363
|
-
export type TemplatesDiffWorkspace422 = ValidationError;
|
|
2364
|
-
export declare const TemplatesDiffWorkspace422: typeof ValidationError
|
|
2365
|
+
export type TemplatesDiffWorkspace422 = TemplateSourceError | ValidationError;
|
|
2366
|
+
export declare const TemplatesDiffWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2365
2367
|
export type TemplatesDiffWorkspace500 = InternalError;
|
|
2366
2368
|
export declare const TemplatesDiffWorkspace500: typeof InternalError;
|
|
2367
2369
|
export type TemplatesDiffWorkspace504 = GatewayTimeoutError;
|
|
@@ -2560,8 +2562,8 @@ export type TemplatesRenderWorkspaceFixture404 = ResourceNotFoundError;
|
|
|
2560
2562
|
export declare const TemplatesRenderWorkspaceFixture404: typeof ResourceNotFoundError;
|
|
2561
2563
|
export type TemplatesRenderWorkspaceFixture409 = ConflictError;
|
|
2562
2564
|
export declare const TemplatesRenderWorkspaceFixture409: typeof ConflictError;
|
|
2563
|
-
export type TemplatesRenderWorkspaceFixture422 = ValidationError;
|
|
2564
|
-
export declare const TemplatesRenderWorkspaceFixture422: typeof ValidationError
|
|
2565
|
+
export type TemplatesRenderWorkspaceFixture422 = TemplateSourceError | ValidationError;
|
|
2566
|
+
export declare const TemplatesRenderWorkspaceFixture422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2565
2567
|
export type TemplatesRenderWorkspaceFixture500 = InternalError;
|
|
2566
2568
|
export declare const TemplatesRenderWorkspaceFixture500: typeof InternalError;
|
|
2567
2569
|
export type TemplatesRenderWorkspaceFixture504 = GatewayTimeoutError;
|
|
@@ -2573,10 +2575,10 @@ export declare const TemplatesWorkspaceHistoryPathParams: Schema.Struct<{
|
|
|
2573
2575
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
2574
2576
|
}>;
|
|
2575
2577
|
export type TemplatesWorkspaceHistoryQuery = {
|
|
2576
|
-
readonly limit?:
|
|
2578
|
+
readonly limit?: number | null;
|
|
2577
2579
|
};
|
|
2578
2580
|
export declare const TemplatesWorkspaceHistoryQuery: Schema.Struct<{
|
|
2579
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
2581
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
2580
2582
|
}>;
|
|
2581
2583
|
export type TemplatesWorkspaceHistory200 = {
|
|
2582
2584
|
readonly projectId: TemplateProjectId;
|
|
@@ -2616,8 +2618,8 @@ export type TemplatesWorkspaceHistory404 = ResourceNotFoundError;
|
|
|
2616
2618
|
export declare const TemplatesWorkspaceHistory404: typeof ResourceNotFoundError;
|
|
2617
2619
|
export type TemplatesWorkspaceHistory409 = ConflictError;
|
|
2618
2620
|
export declare const TemplatesWorkspaceHistory409: typeof ConflictError;
|
|
2619
|
-
export type TemplatesWorkspaceHistory422 = ValidationError;
|
|
2620
|
-
export declare const TemplatesWorkspaceHistory422: typeof ValidationError
|
|
2621
|
+
export type TemplatesWorkspaceHistory422 = TemplateSourceError | ValidationError;
|
|
2622
|
+
export declare const TemplatesWorkspaceHistory422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2621
2623
|
export type TemplatesWorkspaceHistory500 = InternalError;
|
|
2622
2624
|
export declare const TemplatesWorkspaceHistory500: typeof InternalError;
|
|
2623
2625
|
export type TemplatesWorkspaceHistory504 = GatewayTimeoutError;
|
|
@@ -2812,8 +2814,8 @@ export type TemplatesAttachWorkspaceResource404 = ResourceNotFoundError;
|
|
|
2812
2814
|
export declare const TemplatesAttachWorkspaceResource404: typeof ResourceNotFoundError;
|
|
2813
2815
|
export type TemplatesAttachWorkspaceResource409 = ConflictError;
|
|
2814
2816
|
export declare const TemplatesAttachWorkspaceResource409: typeof ConflictError;
|
|
2815
|
-
export type TemplatesAttachWorkspaceResource422 = ValidationError;
|
|
2816
|
-
export declare const TemplatesAttachWorkspaceResource422: typeof ValidationError
|
|
2817
|
+
export type TemplatesAttachWorkspaceResource422 = TemplateSourceError | ValidationError;
|
|
2818
|
+
export declare const TemplatesAttachWorkspaceResource422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2817
2819
|
export type TemplatesAttachWorkspaceResource500 = InternalError;
|
|
2818
2820
|
export declare const TemplatesAttachWorkspaceResource500: typeof InternalError;
|
|
2819
2821
|
export type TemplatesAttachWorkspaceResource504 = GatewayTimeoutError;
|
|
@@ -2992,8 +2994,8 @@ export type TemplatesRemoveWorkspaceResource404 = ResourceNotFoundError;
|
|
|
2992
2994
|
export declare const TemplatesRemoveWorkspaceResource404: typeof ResourceNotFoundError;
|
|
2993
2995
|
export type TemplatesRemoveWorkspaceResource409 = ConflictError;
|
|
2994
2996
|
export declare const TemplatesRemoveWorkspaceResource409: typeof ConflictError;
|
|
2995
|
-
export type TemplatesRemoveWorkspaceResource422 = ValidationError;
|
|
2996
|
-
export declare const TemplatesRemoveWorkspaceResource422: typeof ValidationError
|
|
2997
|
+
export type TemplatesRemoveWorkspaceResource422 = TemplateSourceError | ValidationError;
|
|
2998
|
+
export declare const TemplatesRemoveWorkspaceResource422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
2997
2999
|
export type TemplatesRemoveWorkspaceResource500 = InternalError;
|
|
2998
3000
|
export declare const TemplatesRemoveWorkspaceResource500: typeof InternalError;
|
|
2999
3001
|
export type TemplatesRemoveWorkspaceResource504 = GatewayTimeoutError;
|
|
@@ -3192,8 +3194,8 @@ export type TemplatesRestoreWorkspace404 = ResourceNotFoundError;
|
|
|
3192
3194
|
export declare const TemplatesRestoreWorkspace404: typeof ResourceNotFoundError;
|
|
3193
3195
|
export type TemplatesRestoreWorkspace409 = ConflictError;
|
|
3194
3196
|
export declare const TemplatesRestoreWorkspace409: typeof ConflictError;
|
|
3195
|
-
export type TemplatesRestoreWorkspace422 = ValidationError;
|
|
3196
|
-
export declare const TemplatesRestoreWorkspace422: typeof ValidationError
|
|
3197
|
+
export type TemplatesRestoreWorkspace422 = TemplateSourceError | ValidationError;
|
|
3198
|
+
export declare const TemplatesRestoreWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
3197
3199
|
export type TemplatesRestoreWorkspace500 = InternalError;
|
|
3198
3200
|
export declare const TemplatesRestoreWorkspace500: typeof InternalError;
|
|
3199
3201
|
export type TemplatesRestoreWorkspace504 = GatewayTimeoutError;
|
|
@@ -3334,18 +3336,18 @@ export type TemplatesSaveWorkspace404 = ResourceNotFoundError;
|
|
|
3334
3336
|
export declare const TemplatesSaveWorkspace404: typeof ResourceNotFoundError;
|
|
3335
3337
|
export type TemplatesSaveWorkspace409 = ConflictError;
|
|
3336
3338
|
export declare const TemplatesSaveWorkspace409: typeof ConflictError;
|
|
3337
|
-
export type TemplatesSaveWorkspace422 = ValidationError;
|
|
3338
|
-
export declare const TemplatesSaveWorkspace422: typeof ValidationError
|
|
3339
|
+
export type TemplatesSaveWorkspace422 = TemplateSourceError | ValidationError;
|
|
3340
|
+
export declare const TemplatesSaveWorkspace422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
3339
3341
|
export type TemplatesSaveWorkspace500 = InternalError;
|
|
3340
3342
|
export declare const TemplatesSaveWorkspace500: typeof InternalError;
|
|
3341
3343
|
export type TemplatesSaveWorkspace504 = GatewayTimeoutError;
|
|
3342
3344
|
export declare const TemplatesSaveWorkspace504: typeof GatewayTimeoutError;
|
|
3343
3345
|
export type TemplatesListFamiliesQuery = {
|
|
3344
|
-
readonly limit?:
|
|
3346
|
+
readonly limit?: number | null;
|
|
3345
3347
|
readonly cursor?: Cursor | null;
|
|
3346
3348
|
};
|
|
3347
3349
|
export declare const TemplatesListFamiliesQuery: Schema.Struct<{
|
|
3348
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
3350
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
3349
3351
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3350
3352
|
}>;
|
|
3351
3353
|
export type TemplatesListFamilies200 = TemplateFamilyPage;
|
|
@@ -3700,8 +3702,8 @@ export type TemplatesCreateFromWebsite404 = ResourceNotFoundError;
|
|
|
3700
3702
|
export declare const TemplatesCreateFromWebsite404: typeof ResourceNotFoundError;
|
|
3701
3703
|
export type TemplatesCreateFromWebsite409 = ConflictError;
|
|
3702
3704
|
export declare const TemplatesCreateFromWebsite409: typeof ConflictError;
|
|
3703
|
-
export type TemplatesCreateFromWebsite422 = ValidationError;
|
|
3704
|
-
export declare const TemplatesCreateFromWebsite422: typeof ValidationError
|
|
3705
|
+
export type TemplatesCreateFromWebsite422 = TemplateSourceError | ValidationError;
|
|
3706
|
+
export declare const TemplatesCreateFromWebsite422: Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]>;
|
|
3705
3707
|
export type TemplatesCreateFromWebsite500 = InternalError;
|
|
3706
3708
|
export declare const TemplatesCreateFromWebsite500: typeof InternalError;
|
|
3707
3709
|
export type TemplatesCreateFromWebsite504 = GatewayTimeoutError;
|
|
@@ -4137,7 +4139,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4137
4139
|
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
4138
4140
|
readonly via: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"mcp">, Schema.Literal<"agent">]>;
|
|
4139
4141
|
}>;
|
|
4140
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4142
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4141
4143
|
readonly _tag: "ConflictError";
|
|
4142
4144
|
readonly message: string;
|
|
4143
4145
|
readonly resource: string;
|
|
@@ -4217,26 +4219,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4217
4219
|
}>, Schema.Struct<{
|
|
4218
4220
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
4219
4221
|
readonly message: Schema.String;
|
|
4220
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
4221
|
-
readonly _tag: "ValidationError";
|
|
4222
|
-
readonly message: string;
|
|
4223
|
-
readonly fields?: {
|
|
4224
|
-
readonly [x: string]: readonly string[];
|
|
4225
|
-
} | null;
|
|
4226
|
-
}, readonly [Schema.Struct<{
|
|
4227
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4228
|
-
readonly message: Schema.String;
|
|
4229
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4230
|
-
}>], {
|
|
4231
|
-
readonly _tag: "ValidationError";
|
|
4232
|
-
readonly message: string;
|
|
4233
|
-
readonly fields?: {
|
|
4234
|
-
readonly [x: string]: readonly string[];
|
|
4235
|
-
} | null;
|
|
4236
|
-
}>, Schema.Struct<{
|
|
4237
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4238
|
-
readonly message: Schema.String;
|
|
4239
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4240
4222
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesCheckWorkspace", "POST", "/v1/templates/:id/workspace/check", Schema.toCodecStringTree<Schema.Struct<{
|
|
4241
4223
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
4242
4224
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -4301,7 +4283,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4301
4283
|
readonly title: Schema.String;
|
|
4302
4284
|
}>, Schema.Null]>>;
|
|
4303
4285
|
}>>;
|
|
4304
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4286
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4305
4287
|
readonly _tag: "ConflictError";
|
|
4306
4288
|
readonly message: string;
|
|
4307
4289
|
readonly resource: string;
|
|
@@ -4381,26 +4363,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4381
4363
|
}>, Schema.Struct<{
|
|
4382
4364
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
4383
4365
|
readonly message: Schema.String;
|
|
4384
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
4385
|
-
readonly _tag: "ValidationError";
|
|
4386
|
-
readonly message: string;
|
|
4387
|
-
readonly fields?: {
|
|
4388
|
-
readonly [x: string]: readonly string[];
|
|
4389
|
-
} | null;
|
|
4390
|
-
}, readonly [Schema.Struct<{
|
|
4391
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4392
|
-
readonly message: Schema.String;
|
|
4393
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4394
|
-
}>], {
|
|
4395
|
-
readonly _tag: "ValidationError";
|
|
4396
|
-
readonly message: string;
|
|
4397
|
-
readonly fields?: {
|
|
4398
|
-
readonly [x: string]: readonly string[];
|
|
4399
|
-
} | null;
|
|
4400
|
-
}>, Schema.Struct<{
|
|
4401
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4402
|
-
readonly message: Schema.String;
|
|
4403
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4404
4366
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesCreate", "POST", "/v1/templates", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4405
4367
|
readonly name: Schema.String;
|
|
4406
4368
|
readonly projectName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4454,7 +4416,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4454
4416
|
readonly publicationId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplatePublicationId">, Schema.Null]>;
|
|
4455
4417
|
readonly inputContractId: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateInputContractId">, Schema.Null]>;
|
|
4456
4418
|
readonly inputSchema: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>;
|
|
4457
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4419
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4458
4420
|
readonly _tag: "ConflictError";
|
|
4459
4421
|
readonly message: string;
|
|
4460
4422
|
readonly resource: string;
|
|
@@ -4534,26 +4496,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4534
4496
|
}>, Schema.Struct<{
|
|
4535
4497
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
4536
4498
|
readonly message: Schema.String;
|
|
4537
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
4538
|
-
readonly _tag: "ValidationError";
|
|
4539
|
-
readonly message: string;
|
|
4540
|
-
readonly fields?: {
|
|
4541
|
-
readonly [x: string]: readonly string[];
|
|
4542
|
-
} | null;
|
|
4543
|
-
}, readonly [Schema.Struct<{
|
|
4544
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4545
|
-
readonly message: Schema.String;
|
|
4546
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4547
|
-
}>], {
|
|
4548
|
-
readonly _tag: "ValidationError";
|
|
4549
|
-
readonly message: string;
|
|
4550
|
-
readonly fields?: {
|
|
4551
|
-
readonly [x: string]: readonly string[];
|
|
4552
|
-
} | null;
|
|
4553
|
-
}>, Schema.Struct<{
|
|
4554
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4555
|
-
readonly message: Schema.String;
|
|
4556
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4557
4499
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesCreateFamily", "POST", "/v1/templates/families", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4558
4500
|
readonly name: Schema.String;
|
|
4559
4501
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -4803,7 +4745,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4803
4745
|
readonly host: Schema.String;
|
|
4804
4746
|
}>;
|
|
4805
4747
|
readonly ask: Schema.String;
|
|
4806
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4748
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
4807
4749
|
readonly _tag: "ConflictError";
|
|
4808
4750
|
readonly message: string;
|
|
4809
4751
|
readonly resource: string;
|
|
@@ -4883,26 +4825,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
4883
4825
|
}>, Schema.Struct<{
|
|
4884
4826
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
4885
4827
|
readonly message: Schema.String;
|
|
4886
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
4887
|
-
readonly _tag: "ValidationError";
|
|
4888
|
-
readonly message: string;
|
|
4889
|
-
readonly fields?: {
|
|
4890
|
-
readonly [x: string]: readonly string[];
|
|
4891
|
-
} | null;
|
|
4892
|
-
}, readonly [Schema.Struct<{
|
|
4893
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4894
|
-
readonly message: Schema.String;
|
|
4895
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4896
|
-
}>], {
|
|
4897
|
-
readonly _tag: "ValidationError";
|
|
4898
|
-
readonly message: string;
|
|
4899
|
-
readonly fields?: {
|
|
4900
|
-
readonly [x: string]: readonly string[];
|
|
4901
|
-
} | null;
|
|
4902
|
-
}>, Schema.Struct<{
|
|
4903
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
4904
|
-
readonly message: Schema.String;
|
|
4905
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4906
4828
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesDeleteFamily", "DELETE", "/v1/templates/families/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
4907
4829
|
readonly id: Schema.brand<Schema.String, "TemplateFamilyId">;
|
|
4908
4830
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -5124,7 +5046,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5124
5046
|
readonly status: Schema.Union<readonly [Schema.Literal<"added">, Schema.Literal<"modified">, Schema.Literal<"deleted">]>;
|
|
5125
5047
|
readonly digest: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5126
5048
|
}>>;
|
|
5127
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5049
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5128
5050
|
readonly _tag: "ConflictError";
|
|
5129
5051
|
readonly message: string;
|
|
5130
5052
|
readonly resource: string;
|
|
@@ -5204,26 +5126,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5204
5126
|
}>, Schema.Struct<{
|
|
5205
5127
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
5206
5128
|
readonly message: Schema.String;
|
|
5207
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
5208
|
-
readonly _tag: "ValidationError";
|
|
5209
|
-
readonly message: string;
|
|
5210
|
-
readonly fields?: {
|
|
5211
|
-
readonly [x: string]: readonly string[];
|
|
5212
|
-
} | null;
|
|
5213
|
-
}, readonly [Schema.Struct<{
|
|
5214
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5215
|
-
readonly message: Schema.String;
|
|
5216
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5217
|
-
}>], {
|
|
5218
|
-
readonly _tag: "ValidationError";
|
|
5219
|
-
readonly message: string;
|
|
5220
|
-
readonly fields?: {
|
|
5221
|
-
readonly [x: string]: readonly string[];
|
|
5222
|
-
} | null;
|
|
5223
|
-
}>, Schema.Struct<{
|
|
5224
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5225
|
-
readonly message: Schema.String;
|
|
5226
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5227
5129
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesGetById", "GET", "/v1/templates/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
5228
5130
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
5229
5131
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -5449,7 +5351,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5449
5351
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
5450
5352
|
readonly remote: Schema.String;
|
|
5451
5353
|
readonly defaultBranch: Schema.String;
|
|
5452
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5354
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5453
5355
|
readonly _tag: "ConflictError";
|
|
5454
5356
|
readonly message: string;
|
|
5455
5357
|
readonly resource: string;
|
|
@@ -5529,26 +5431,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5529
5431
|
}>, Schema.Struct<{
|
|
5530
5432
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
5531
5433
|
readonly message: Schema.String;
|
|
5532
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
5533
|
-
readonly _tag: "ValidationError";
|
|
5534
|
-
readonly message: string;
|
|
5535
|
-
readonly fields?: {
|
|
5536
|
-
readonly [x: string]: readonly string[];
|
|
5537
|
-
} | null;
|
|
5538
|
-
}, readonly [Schema.Struct<{
|
|
5539
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5540
|
-
readonly message: Schema.String;
|
|
5541
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5542
|
-
}>], {
|
|
5543
|
-
readonly _tag: "ValidationError";
|
|
5544
|
-
readonly message: string;
|
|
5545
|
-
readonly fields?: {
|
|
5546
|
-
readonly [x: string]: readonly string[];
|
|
5547
|
-
} | null;
|
|
5548
|
-
}>, Schema.Struct<{
|
|
5549
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5550
|
-
readonly message: Schema.String;
|
|
5551
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5552
5434
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesGetInputContract", "GET", "/v1/templates/:id/input-contracts/:inputContractId", Schema.toCodecStringTree<Schema.Struct<{
|
|
5553
5435
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
5554
5436
|
readonly inputContractId: Schema.brand<Schema.String, "TemplateInputContractId">;
|
|
@@ -5692,6 +5574,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5692
5574
|
}>;
|
|
5693
5575
|
readonly footer: Schema.Struct<{
|
|
5694
5576
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5577
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5695
5578
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5696
5579
|
readonly street1: Schema.String;
|
|
5697
5580
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -5865,7 +5748,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5865
5748
|
readonly username: Schema.Literal<"x-access-token">;
|
|
5866
5749
|
readonly password: Schema.String;
|
|
5867
5750
|
readonly expiresAt: Schema.String;
|
|
5868
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5751
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
5869
5752
|
readonly _tag: "ConflictError";
|
|
5870
5753
|
readonly message: string;
|
|
5871
5754
|
readonly resource: string;
|
|
@@ -5945,28 +5828,8 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5945
5828
|
}>, Schema.Struct<{
|
|
5946
5829
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
5947
5830
|
readonly message: Schema.String;
|
|
5948
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
5949
|
-
readonly _tag: "ValidationError";
|
|
5950
|
-
readonly message: string;
|
|
5951
|
-
readonly fields?: {
|
|
5952
|
-
readonly [x: string]: readonly string[];
|
|
5953
|
-
} | null;
|
|
5954
|
-
}, readonly [Schema.Struct<{
|
|
5955
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5956
|
-
readonly message: Schema.String;
|
|
5957
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5958
|
-
}>], {
|
|
5959
|
-
readonly _tag: "ValidationError";
|
|
5960
|
-
readonly message: string;
|
|
5961
|
-
readonly fields?: {
|
|
5962
|
-
readonly [x: string]: readonly string[];
|
|
5963
|
-
} | null;
|
|
5964
|
-
}>, Schema.Struct<{
|
|
5965
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
5966
|
-
readonly message: Schema.String;
|
|
5967
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
5968
5831
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesList", "GET", "/v1/templates", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
5969
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
5832
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
5970
5833
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5971
5834
|
readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"transactional">, Schema.Literal<"marketing">, Schema.Literal<"support">, Schema.Literal<"notification">, Schema.Literal<"verification">, Schema.Literal<"reminder">, Schema.Literal<"alert">]>, Schema.Null]>>;
|
|
5972
5835
|
readonly channel: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"email">, Schema.Null]>>;
|
|
@@ -5974,7 +5837,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
5974
5837
|
readonly search: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5975
5838
|
readonly projectId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateProjectId">, Schema.Null]>>;
|
|
5976
5839
|
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
5977
|
-
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
5840
|
+
readonly shared: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
5978
5841
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
5979
5842
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
5980
5843
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
@@ -6064,7 +5927,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6064
5927
|
readonly message: Schema.String;
|
|
6065
5928
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6066
5929
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesListFamilies", "GET", "/v1/templates/families", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
6067
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
5930
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
6068
5931
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6069
5932
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
6070
5933
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -6147,7 +6010,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6147
6010
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesListInputContracts", "GET", "/v1/templates/:id/input-contracts", Schema.toCodecStringTree<Schema.Struct<{
|
|
6148
6011
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
6149
6012
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
6150
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
6013
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
6151
6014
|
readonly cursor: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6152
6015
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
6153
6016
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
@@ -6318,7 +6181,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6318
6181
|
}>;
|
|
6319
6182
|
}>;
|
|
6320
6183
|
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
6321
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6184
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6322
6185
|
readonly _tag: "ConflictError";
|
|
6323
6186
|
readonly message: string;
|
|
6324
6187
|
readonly resource: string;
|
|
@@ -6398,26 +6261,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6398
6261
|
}>, Schema.Struct<{
|
|
6399
6262
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
6400
6263
|
readonly message: Schema.String;
|
|
6401
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
6402
|
-
readonly _tag: "ValidationError";
|
|
6403
|
-
readonly message: string;
|
|
6404
|
-
readonly fields?: {
|
|
6405
|
-
readonly [x: string]: readonly string[];
|
|
6406
|
-
} | null;
|
|
6407
|
-
}, readonly [Schema.Struct<{
|
|
6408
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6409
|
-
readonly message: Schema.String;
|
|
6410
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6411
|
-
}>], {
|
|
6412
|
-
readonly _tag: "ValidationError";
|
|
6413
|
-
readonly message: string;
|
|
6414
|
-
readonly fields?: {
|
|
6415
|
-
readonly [x: string]: readonly string[];
|
|
6416
|
-
} | null;
|
|
6417
|
-
}>, Schema.Struct<{
|
|
6418
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6419
|
-
readonly message: Schema.String;
|
|
6420
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6421
6264
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesPatchWorkspace", "PATCH", "/v1/templates/:id/workspace", Schema.toCodecStringTree<Schema.Struct<{
|
|
6422
6265
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
6423
6266
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -6503,7 +6346,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6503
6346
|
}>;
|
|
6504
6347
|
}>;
|
|
6505
6348
|
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
6506
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6349
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6507
6350
|
readonly _tag: "ConflictError";
|
|
6508
6351
|
readonly message: string;
|
|
6509
6352
|
readonly resource: string;
|
|
@@ -6583,26 +6426,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6583
6426
|
}>, Schema.Struct<{
|
|
6584
6427
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
6585
6428
|
readonly message: Schema.String;
|
|
6586
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
6587
|
-
readonly _tag: "ValidationError";
|
|
6588
|
-
readonly message: string;
|
|
6589
|
-
readonly fields?: {
|
|
6590
|
-
readonly [x: string]: readonly string[];
|
|
6591
|
-
} | null;
|
|
6592
|
-
}, readonly [Schema.Struct<{
|
|
6593
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6594
|
-
readonly message: Schema.String;
|
|
6595
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6596
|
-
}>], {
|
|
6597
|
-
readonly _tag: "ValidationError";
|
|
6598
|
-
readonly message: string;
|
|
6599
|
-
readonly fields?: {
|
|
6600
|
-
readonly [x: string]: readonly string[];
|
|
6601
|
-
} | null;
|
|
6602
|
-
}>, Schema.Struct<{
|
|
6603
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6604
|
-
readonly message: Schema.String;
|
|
6605
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6606
6429
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesPublish", "POST", "/v1/templates/:id/publications", Schema.toCodecStringTree<Schema.Struct<{
|
|
6607
6430
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
6608
6431
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -6660,6 +6483,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6660
6483
|
}>;
|
|
6661
6484
|
readonly footer: Schema.Struct<{
|
|
6662
6485
|
readonly companyName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6486
|
+
readonly websiteUrl: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
6663
6487
|
readonly address: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6664
6488
|
readonly street1: Schema.String;
|
|
6665
6489
|
readonly street2: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -6744,7 +6568,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6744
6568
|
readonly publishedAt: Schema.String;
|
|
6745
6569
|
readonly publishedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6746
6570
|
readonly createdAt: Schema.String;
|
|
6747
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6571
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6748
6572
|
readonly _tag: "ConflictError";
|
|
6749
6573
|
readonly message: string;
|
|
6750
6574
|
readonly resource: string;
|
|
@@ -6824,26 +6648,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6824
6648
|
}>, Schema.Struct<{
|
|
6825
6649
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
6826
6650
|
readonly message: Schema.String;
|
|
6827
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
6828
|
-
readonly _tag: "ValidationError";
|
|
6829
|
-
readonly message: string;
|
|
6830
|
-
readonly fields?: {
|
|
6831
|
-
readonly [x: string]: readonly string[];
|
|
6832
|
-
} | null;
|
|
6833
|
-
}, readonly [Schema.Struct<{
|
|
6834
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6835
|
-
readonly message: Schema.String;
|
|
6836
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6837
|
-
}>], {
|
|
6838
|
-
readonly _tag: "ValidationError";
|
|
6839
|
-
readonly message: string;
|
|
6840
|
-
readonly fields?: {
|
|
6841
|
-
readonly [x: string]: readonly string[];
|
|
6842
|
-
} | null;
|
|
6843
|
-
}>, Schema.Struct<{
|
|
6844
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
6845
|
-
readonly message: Schema.String;
|
|
6846
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
6847
6651
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesPutWorkspaceAsset", "PUT", "/v1/templates/:id/workspace/assets", Schema.toCodecStringTree<Schema.Struct<{
|
|
6848
6652
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
6849
6653
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -6928,7 +6732,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
6928
6732
|
}>;
|
|
6929
6733
|
}>;
|
|
6930
6734
|
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
6931
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6735
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6932
6736
|
readonly _tag: "ConflictError";
|
|
6933
6737
|
readonly message: string;
|
|
6934
6738
|
readonly resource: string;
|
|
@@ -7008,26 +6812,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7008
6812
|
}>, Schema.Struct<{
|
|
7009
6813
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
7010
6814
|
readonly message: Schema.String;
|
|
7011
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
7012
|
-
readonly _tag: "ValidationError";
|
|
7013
|
-
readonly message: string;
|
|
7014
|
-
readonly fields?: {
|
|
7015
|
-
readonly [x: string]: readonly string[];
|
|
7016
|
-
} | null;
|
|
7017
|
-
}, readonly [Schema.Struct<{
|
|
7018
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7019
|
-
readonly message: Schema.String;
|
|
7020
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7021
|
-
}>], {
|
|
7022
|
-
readonly _tag: "ValidationError";
|
|
7023
|
-
readonly message: string;
|
|
7024
|
-
readonly fields?: {
|
|
7025
|
-
readonly [x: string]: readonly string[];
|
|
7026
|
-
} | null;
|
|
7027
|
-
}>, Schema.Struct<{
|
|
7028
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7029
|
-
readonly message: Schema.String;
|
|
7030
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7031
6815
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesRemove", "DELETE", "/v1/templates/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
7032
6816
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
7033
6817
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -7191,7 +6975,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7191
6975
|
readonly userId: Schema.brand<Schema.String, "UserId">;
|
|
7192
6976
|
readonly via: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"mcp">, Schema.Literal<"agent">]>;
|
|
7193
6977
|
}>;
|
|
7194
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
6978
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7195
6979
|
readonly _tag: "ConflictError";
|
|
7196
6980
|
readonly message: string;
|
|
7197
6981
|
readonly resource: string;
|
|
@@ -7271,26 +7055,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7271
7055
|
}>, Schema.Struct<{
|
|
7272
7056
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
7273
7057
|
readonly message: Schema.String;
|
|
7274
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
7275
|
-
readonly _tag: "ValidationError";
|
|
7276
|
-
readonly message: string;
|
|
7277
|
-
readonly fields?: {
|
|
7278
|
-
readonly [x: string]: readonly string[];
|
|
7279
|
-
} | null;
|
|
7280
|
-
}, readonly [Schema.Struct<{
|
|
7281
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7282
|
-
readonly message: Schema.String;
|
|
7283
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7284
|
-
}>], {
|
|
7285
|
-
readonly _tag: "ValidationError";
|
|
7286
|
-
readonly message: string;
|
|
7287
|
-
readonly fields?: {
|
|
7288
|
-
readonly [x: string]: readonly string[];
|
|
7289
|
-
} | null;
|
|
7290
|
-
}>, Schema.Struct<{
|
|
7291
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7292
|
-
readonly message: Schema.String;
|
|
7293
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7294
7058
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesRenameFamily", "PATCH", "/v1/templates/families/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
7295
7059
|
readonly id: Schema.brand<Schema.String, "TemplateFamilyId">;
|
|
7296
7060
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -7591,7 +7355,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7591
7355
|
readonly sentBytes: Schema.Finite;
|
|
7592
7356
|
readonly previewBytes: Schema.Finite;
|
|
7593
7357
|
}>, Schema.Null]>;
|
|
7594
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7358
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7595
7359
|
readonly _tag: "ConflictError";
|
|
7596
7360
|
readonly message: string;
|
|
7597
7361
|
readonly resource: string;
|
|
@@ -7671,26 +7435,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7671
7435
|
}>, Schema.Struct<{
|
|
7672
7436
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
7673
7437
|
readonly message: Schema.String;
|
|
7674
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
7675
|
-
readonly _tag: "ValidationError";
|
|
7676
|
-
readonly message: string;
|
|
7677
|
-
readonly fields?: {
|
|
7678
|
-
readonly [x: string]: readonly string[];
|
|
7679
|
-
} | null;
|
|
7680
|
-
}, readonly [Schema.Struct<{
|
|
7681
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7682
|
-
readonly message: Schema.String;
|
|
7683
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7684
|
-
}>], {
|
|
7685
|
-
readonly _tag: "ValidationError";
|
|
7686
|
-
readonly message: string;
|
|
7687
|
-
readonly fields?: {
|
|
7688
|
-
readonly [x: string]: readonly string[];
|
|
7689
|
-
} | null;
|
|
7690
|
-
}>, Schema.Struct<{
|
|
7691
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7692
|
-
readonly message: Schema.String;
|
|
7693
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7694
7438
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesResolveWorkspaceConflict", "POST", "/v1/templates/:id/workspace/conflicts", Schema.toCodecStringTree<Schema.Struct<{
|
|
7695
7439
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
7696
7440
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -7776,7 +7520,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7776
7520
|
}>;
|
|
7777
7521
|
}>;
|
|
7778
7522
|
readonly files: Schema.$Record<Schema.String, Schema.String>;
|
|
7779
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7523
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7780
7524
|
readonly _tag: "ConflictError";
|
|
7781
7525
|
readonly message: string;
|
|
7782
7526
|
readonly resource: string;
|
|
@@ -7856,26 +7600,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7856
7600
|
}>, Schema.Struct<{
|
|
7857
7601
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
7858
7602
|
readonly message: Schema.String;
|
|
7859
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
7860
|
-
readonly _tag: "ValidationError";
|
|
7861
|
-
readonly message: string;
|
|
7862
|
-
readonly fields?: {
|
|
7863
|
-
readonly [x: string]: readonly string[];
|
|
7864
|
-
} | null;
|
|
7865
|
-
}, readonly [Schema.Struct<{
|
|
7866
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7867
|
-
readonly message: Schema.String;
|
|
7868
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7869
|
-
}>], {
|
|
7870
|
-
readonly _tag: "ValidationError";
|
|
7871
|
-
readonly message: string;
|
|
7872
|
-
readonly fields?: {
|
|
7873
|
-
readonly [x: string]: readonly string[];
|
|
7874
|
-
} | null;
|
|
7875
|
-
}>, Schema.Struct<{
|
|
7876
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
7877
|
-
readonly message: Schema.String;
|
|
7878
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
7879
7603
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesRestoreWorkspace", "POST", "/v1/templates/:id/workspace/restore", Schema.toCodecStringTree<Schema.Struct<{
|
|
7880
7604
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
7881
7605
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -7964,7 +7688,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
7964
7688
|
readonly digest: Schema.String;
|
|
7965
7689
|
readonly content: Schema.String;
|
|
7966
7690
|
}>;
|
|
7967
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7691
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7968
7692
|
readonly _tag: "ConflictError";
|
|
7969
7693
|
readonly message: string;
|
|
7970
7694
|
readonly resource: string;
|
|
@@ -8044,26 +7768,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8044
7768
|
}>, Schema.Struct<{
|
|
8045
7769
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
8046
7770
|
readonly message: Schema.String;
|
|
8047
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
8048
|
-
readonly _tag: "ValidationError";
|
|
8049
|
-
readonly message: string;
|
|
8050
|
-
readonly fields?: {
|
|
8051
|
-
readonly [x: string]: readonly string[];
|
|
8052
|
-
} | null;
|
|
8053
|
-
}, readonly [Schema.Struct<{
|
|
8054
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8055
|
-
readonly message: Schema.String;
|
|
8056
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8057
|
-
}>], {
|
|
8058
|
-
readonly _tag: "ValidationError";
|
|
8059
|
-
readonly message: string;
|
|
8060
|
-
readonly fields?: {
|
|
8061
|
-
readonly [x: string]: readonly string[];
|
|
8062
|
-
} | null;
|
|
8063
|
-
}>, Schema.Struct<{
|
|
8064
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8065
|
-
readonly message: Schema.String;
|
|
8066
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8067
7771
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesSaveWorkspace", "POST", "/v1/templates/:id/workspace/save", Schema.toCodecStringTree<Schema.Struct<{
|
|
8068
7772
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
8069
7773
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -8125,7 +7829,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8125
7829
|
readonly title: Schema.String;
|
|
8126
7830
|
}>, Schema.Null]>>;
|
|
8127
7831
|
}>>;
|
|
8128
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
7832
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
8129
7833
|
readonly _tag: "ConflictError";
|
|
8130
7834
|
readonly message: string;
|
|
8131
7835
|
readonly resource: string;
|
|
@@ -8205,26 +7909,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8205
7909
|
}>, Schema.Struct<{
|
|
8206
7910
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
8207
7911
|
readonly message: Schema.String;
|
|
8208
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
8209
|
-
readonly _tag: "ValidationError";
|
|
8210
|
-
readonly message: string;
|
|
8211
|
-
readonly fields?: {
|
|
8212
|
-
readonly [x: string]: readonly string[];
|
|
8213
|
-
} | null;
|
|
8214
|
-
}, readonly [Schema.Struct<{
|
|
8215
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8216
|
-
readonly message: Schema.String;
|
|
8217
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8218
|
-
}>], {
|
|
8219
|
-
readonly _tag: "ValidationError";
|
|
8220
|
-
readonly message: string;
|
|
8221
|
-
readonly fields?: {
|
|
8222
|
-
readonly [x: string]: readonly string[];
|
|
8223
|
-
} | null;
|
|
8224
|
-
}>, Schema.Struct<{
|
|
8225
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8226
|
-
readonly message: Schema.String;
|
|
8227
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8228
7912
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesUpdate", "PATCH", "/v1/templates/:id", Schema.toCodecStringTree<Schema.Struct<{
|
|
8229
7913
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
8230
7914
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -8390,7 +8074,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8390
8074
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"templatesWorkspaceHistory", "GET", "/v1/templates/:id/workspace/history", Schema.toCodecStringTree<Schema.Struct<{
|
|
8391
8075
|
readonly id: Schema.brand<Schema.String, "TemplateId">;
|
|
8392
8076
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
8393
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.
|
|
8077
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
8394
8078
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8395
8079
|
readonly projectId: Schema.brand<Schema.String, "TemplateProjectId">;
|
|
8396
8080
|
readonly head: Schema.String;
|
|
@@ -8405,7 +8089,7 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8405
8089
|
readonly id: Schema.brand<Schema.String, "TemplatePublicationId">;
|
|
8406
8090
|
readonly commit: Schema.String;
|
|
8407
8091
|
}>, Schema.Null]>;
|
|
8408
|
-
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
8092
|
+
}>>, Schema.toCodecJson<Schema.Union<readonly [typeof TemplateSourceError, typeof ValidationError]> | Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
8409
8093
|
readonly _tag: "ConflictError";
|
|
8410
8094
|
readonly message: string;
|
|
8411
8095
|
readonly resource: string;
|
|
@@ -8485,26 +8169,6 @@ declare const TemplatesGroup_base: HttpApiGroup.HttpApiGroup<"Templates", HttpAp
|
|
|
8485
8169
|
}>, Schema.Struct<{
|
|
8486
8170
|
readonly _tag: Schema.tag<"UnauthorizedError">;
|
|
8487
8171
|
readonly message: Schema.String;
|
|
8488
|
-
}>, never, never> | Schema.decodeTo<Schema.declareConstructor<ValidationError, {
|
|
8489
|
-
readonly _tag: "ValidationError";
|
|
8490
|
-
readonly message: string;
|
|
8491
|
-
readonly fields?: {
|
|
8492
|
-
readonly [x: string]: readonly string[];
|
|
8493
|
-
} | null;
|
|
8494
|
-
}, readonly [Schema.Struct<{
|
|
8495
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8496
|
-
readonly message: Schema.String;
|
|
8497
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8498
|
-
}>], {
|
|
8499
|
-
readonly _tag: "ValidationError";
|
|
8500
|
-
readonly message: string;
|
|
8501
|
-
readonly fields?: {
|
|
8502
|
-
readonly [x: string]: readonly string[];
|
|
8503
|
-
} | null;
|
|
8504
|
-
}>, Schema.Struct<{
|
|
8505
|
-
readonly _tag: Schema.tag<"ValidationError">;
|
|
8506
|
-
readonly message: Schema.String;
|
|
8507
|
-
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
8508
8172
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never>, false>;
|
|
8509
8173
|
export declare class TemplatesGroup extends TemplatesGroup_base {
|
|
8510
8174
|
}
|