@spacefast/common 0.0.24 → 0.2.1
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/brand-assets/LICENSE-Haskoy.txt +93 -0
- package/brand-assets/haskoy-latin-variable.woff2 +0 -0
- package/brand-assets/spacefast-favicon.svg +4 -4
- package/brand-assets/spacefast-sf-full-bleed.svg +3 -3
- package/brand-assets/spacefast-wordmark.svg +2 -4
- package/dist/agents/connect-targets.d.ts +6 -146
- package/dist/agents/connect-targets.js +63 -295
- package/dist/agents/private-key-oauth.d.ts +31 -2
- package/dist/agents/private-key-oauth.js +166 -92
- package/dist/agents/registry/core.d.ts +292 -0
- package/dist/agents/registry/core.js +1388 -0
- package/dist/agents/registry/deeplink-probes.d.ts +23 -0
- package/dist/agents/registry/deeplink-probes.js +18 -0
- package/dist/agents/registry/node.d.ts +56 -0
- package/dist/agents/registry/node.js +339 -0
- package/dist/brand-assets-build.js +3 -6
- package/dist/brand-assets.d.ts +5 -15
- package/dist/brand-assets.js +12 -14
- package/dist/brand.d.ts +17 -0
- package/dist/brand.js +24 -4
- package/dist/config/domains.d.ts +79 -12
- package/dist/config/domains.js +128 -29
- package/dist/config/index.js +1 -2
- package/dist/contracts/abuse.js +9 -24
- package/dist/contracts/access-profiles.d.ts +86 -0
- package/dist/contracts/access-profiles.js +89 -0
- package/dist/contracts/access.d.ts +24 -30
- package/dist/contracts/access.js +33 -64
- package/dist/contracts/activity.d.ts +18 -1
- package/dist/contracts/activity.js +72 -26
- package/dist/contracts/analytics.js +8 -10
- package/dist/contracts/api-keys.d.ts +77 -52
- package/dist/contracts/api-keys.js +44 -24
- package/dist/contracts/application-journal.d.ts +216 -0
- package/dist/contracts/application-journal.js +167 -0
- package/dist/contracts/auth.d.ts +90 -17
- package/dist/contracts/auth.js +86 -17
- package/dist/contracts/beta.d.ts +9 -4
- package/dist/contracts/beta.js +20 -16
- package/dist/contracts/billing.d.ts +2 -1
- package/dist/contracts/billing.js +37 -11
- package/dist/contracts/bootstrap.d.ts +791 -0
- package/dist/contracts/bootstrap.js +51 -0
- package/dist/contracts/builds.d.ts +209 -18
- package/dist/contracts/builds.js +93 -27
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +25 -9
- package/dist/contracts/cli.d.ts +7 -0
- package/dist/contracts/cli.js +6 -0
- package/dist/contracts/collab-public.d.ts +1 -1
- package/dist/contracts/collab-public.js +5 -8
- package/dist/contracts/comments.d.ts +44 -34
- package/dist/contracts/comments.js +107 -77
- package/dist/contracts/commerce.d.ts +165 -0
- package/dist/contracts/commerce.js +146 -0
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +20 -31
- package/dist/contracts/content-contract-verification.d.ts +521 -0
- package/dist/contracts/content-contract-verification.js +320 -0
- package/dist/contracts/content-platform-fixture.d.ts +1278 -0
- package/dist/contracts/content-platform-fixture.js +44 -0
- package/dist/contracts/content-program.d.ts +994 -0
- package/dist/contracts/content-program.js +658 -0
- package/dist/contracts/content-sync.d.ts +290 -0
- package/dist/contracts/content-sync.js +167 -0
- package/dist/contracts/content.d.ts +432 -0
- package/dist/contracts/content.js +303 -0
- package/dist/contracts/continuation.d.ts +17 -1
- package/dist/contracts/continuation.js +23 -23
- package/dist/contracts/countries.js +3 -4
- package/dist/contracts/crons.d.ts +52 -0
- package/dist/contracts/crons.js +60 -0
- package/dist/contracts/dashboard-prefs.d.ts +56 -0
- package/dist/contracts/dashboard-prefs.js +51 -0
- package/dist/contracts/device-auth.d.ts +234 -37
- package/dist/contracts/device-auth.js +267 -53
- package/dist/contracts/docs.d.ts +1 -5
- package/dist/contracts/docs.js +7 -15
- package/dist/contracts/domains.d.ts +501 -93
- package/dist/contracts/domains.js +193 -55
- package/dist/contracts/email-preferences.d.ts +3 -3
- package/dist/contracts/email-preferences.js +6 -7
- package/dist/contracts/enums.d.ts +27 -26
- package/dist/contracts/enums.js +68 -61
- package/dist/contracts/error-code-meta.d.ts +283 -7
- package/dist/contracts/error-code-meta.js +97 -5
- package/dist/contracts/error-codes.d.ts +5 -5
- package/dist/contracts/error-codes.js +82 -17
- package/dist/contracts/events.d.ts +100 -20
- package/dist/contracts/events.js +107 -20
- package/dist/contracts/execution.d.ts +48 -64
- package/dist/contracts/execution.js +52 -62
- package/dist/contracts/feature-lifecycle.d.ts +73 -27
- package/dist/contracts/feature-lifecycle.js +86 -26
- package/dist/contracts/features.d.ts +68 -19
- package/dist/contracts/features.js +42 -41
- package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
- package/dist/contracts/frame-session.d.ts +192 -0
- package/dist/contracts/frame-session.js +164 -0
- package/dist/contracts/functions.d.ts +338 -164
- package/dist/contracts/functions.js +367 -198
- package/dist/contracts/git.d.ts +27 -33
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grant-copy.d.ts +43 -0
- package/dist/contracts/grant-copy.js +44 -0
- package/dist/contracts/grants.d.ts +62 -54
- package/dist/contracts/grants.js +124 -23
- package/dist/contracts/ids.d.ts +4 -1
- package/dist/contracts/ids.js +6 -3
- package/dist/contracts/internal.d.ts +8 -18
- package/dist/contracts/internal.js +13 -14
- package/dist/contracts/mcp.d.ts +28 -0
- package/dist/contracts/mcp.js +28 -0
- package/dist/contracts/me.d.ts +6 -1
- package/dist/contracts/me.js +12 -6
- package/dist/contracts/notifications.d.ts +27 -29
- package/dist/contracts/notifications.js +9 -4
- package/dist/contracts/oauth-resources.d.ts +112 -10
- package/dist/contracts/oauth-resources.js +116 -11
- package/dist/contracts/oauth-scope-actions.d.ts +90 -0
- package/dist/contracts/oauth-scope-actions.js +126 -0
- package/dist/contracts/operations.d.ts +27 -4
- package/dist/contracts/operations.js +12 -6
- package/dist/contracts/pages.d.ts +31 -7
- package/dist/contracts/pages.js +22 -5
- package/dist/contracts/partner-notifications.d.ts +3 -0
- package/dist/contracts/partner-notifications.js +65 -0
- package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
- package/dist/contracts/{platform.js → partner.js} +27 -40
- package/dist/contracts/plan-policy.js +1 -1
- package/dist/contracts/principal-assertion.d.ts +43 -0
- package/dist/contracts/principal-assertion.js +67 -0
- package/dist/contracts/principals.d.ts +73 -0
- package/dist/contracts/principals.js +59 -0
- package/dist/contracts/privacy.d.ts +11 -0
- package/dist/contracts/privacy.js +17 -0
- package/dist/contracts/problem-document.js +3 -4
- package/dist/contracts/publish-archive.d.ts +269 -161
- package/dist/contracts/publish-archive.js +11 -1
- package/dist/contracts/push-new.d.ts +8 -8
- package/dist/contracts/quotas.js +5 -5
- package/dist/contracts/realtime.d.ts +52 -0
- package/dist/contracts/realtime.js +54 -0
- package/dist/contracts/repository-connections.d.ts +44 -31
- package/dist/contracts/repository-connections.js +17 -5
- package/dist/contracts/resources.d.ts +105 -14
- package/dist/contracts/resources.js +150 -26
- package/dist/contracts/route-inventory.d.ts +358 -0
- package/dist/contracts/route-inventory.js +141 -0
- package/dist/contracts/runtime-api.d.ts +206 -82
- package/dist/contracts/runtime-api.js +131 -70
- package/dist/contracts/runtime-app.d.ts +13 -23
- package/dist/contracts/runtime-app.js +39 -24
- package/dist/contracts/runtime-components.d.ts +143 -0
- package/dist/contracts/runtime-components.js +199 -0
- package/dist/contracts/runtime-db.d.ts +49 -23
- package/dist/contracts/runtime-db.js +87 -22
- package/dist/contracts/runtime-purge.d.ts +8 -0
- package/dist/contracts/runtime-purge.js +5 -0
- package/dist/contracts/runtime-services.d.ts +43 -75
- package/dist/contracts/runtime-services.js +29 -49
- package/dist/contracts/runtime-storage.d.ts +15 -14
- package/dist/contracts/runtime-storage.js +30 -14
- package/dist/contracts/sf-config-v1.d.ts +48 -14
- package/dist/contracts/slugs.js +13 -4
- package/dist/contracts/space-config.d.ts +283 -19
- package/dist/contracts/space-config.js +430 -80
- package/dist/contracts/spaces.d.ts +376 -290
- package/dist/contracts/spaces.js +200 -135
- package/dist/contracts/superadmin-activity.d.ts +3 -43
- package/dist/contracts/superadmin-activity.js +6 -30
- package/dist/contracts/superadmin-emails.d.ts +1 -0
- package/dist/contracts/superadmin-emails.js +17 -1
- package/dist/contracts/superadmin-runtime.d.ts +199 -0
- package/dist/contracts/superadmin-runtime.js +141 -0
- package/dist/contracts/superadmin-search.d.ts +22 -2
- package/dist/contracts/superadmin-search.js +14 -6
- package/dist/contracts/superadmin-spaces.d.ts +438 -189
- package/dist/contracts/superadmin-spaces.js +131 -25
- package/dist/contracts/superadmin-teams.d.ts +5 -2
- package/dist/contracts/superadmin-teams.js +1 -2
- package/dist/contracts/superadmin-tenants.d.ts +627 -12
- package/dist/contracts/superadmin-tenants.js +32 -13
- package/dist/contracts/superadmin.d.ts +232 -37
- package/dist/contracts/superadmin.js +106 -22
- package/dist/contracts/tags.d.ts +85 -58
- package/dist/contracts/tags.js +47 -37
- package/dist/contracts/teams.d.ts +86 -26
- package/dist/contracts/teams.js +90 -31
- package/dist/contracts/tenants.d.ts +135 -0
- package/dist/contracts/tenants.js +120 -0
- package/dist/contracts/test-triggers.d.ts +70 -0
- package/dist/contracts/test-triggers.js +116 -0
- package/dist/contracts/theme-json.js +3 -8
- package/dist/contracts/transfers.d.ts +1 -0
- package/dist/contracts/transfers.js +3 -2
- package/dist/contracts/usage.d.ts +209 -0
- package/dist/contracts/usage.js +124 -12
- package/dist/contracts/variables.d.ts +2 -2
- package/dist/contracts/variables.js +9 -13
- package/dist/contracts/webhooks.d.ts +13 -5
- package/dist/contracts/webhooks.js +3 -1
- package/dist/contracts/zero.d.ts +72 -81
- package/dist/contracts/zero.js +80 -78
- package/dist/dashboard-paths/index.d.ts +24 -21
- package/dist/dashboard-paths/index.js +35 -47
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
- package/dist/dashboard-paths/route-reservations.generated.js +36 -0
- package/dist/docs/agent-arrival.d.ts +92 -0
- package/dist/docs/agent-arrival.js +227 -0
- package/dist/docs/agent-output-policy.d.ts +6 -0
- package/dist/docs/agent-output-policy.js +22 -0
- package/dist/docs/agent-prose.d.ts +12 -18
- package/dist/docs/agent-prose.js +73 -51
- package/dist/docs/agent-setup.d.ts +72 -41
- package/dist/docs/agent-setup.js +339 -436
- package/dist/docs/catalog.d.ts +153 -95
- package/dist/docs/catalog.js +163 -48
- package/dist/docs/error-docs.d.ts +2098 -1
- package/dist/docs/error-docs.js +421 -144
- package/dist/docs/index-build.d.ts +0 -1
- package/dist/docs/index-build.js +2 -3
- package/dist/docs/page-context-prompt.d.ts +77 -0
- package/dist/docs/page-context-prompt.js +131 -0
- package/dist/docs/reference-urls.d.ts +46 -0
- package/dist/docs/reference-urls.js +79 -0
- package/dist/docs/search.d.ts +6 -8
- package/dist/docs/search.js +10 -13
- package/dist/docs/skill-distribution.d.ts +4 -1
- package/dist/docs/skill-distribution.js +10 -5
- package/dist/docs/skills.d.ts +120 -120
- package/dist/docs/skills.js +121 -73
- package/dist/docs/start-prompts.d.ts +45 -0
- package/dist/docs/start-prompts.js +62 -0
- package/dist/domain-exploration.js +9 -13
- package/dist/og-template.d.ts +56 -0
- package/dist/og-template.js +56 -0
- package/dist/slug-policy/index.js +5 -11
- package/dist/test-helpers/fetch-stub.js +1 -0
- package/dist/utils/browser-credential.d.ts +13 -6
- package/dist/utils/browser-credential.js +14 -7
- package/dist/utils/build-settings.d.ts +21 -1
- package/dist/utils/build-settings.js +133 -15
- package/dist/utils/canonical-json.d.ts +3 -5
- package/dist/utils/canonical-json.js +4 -5
- package/dist/utils/cast-transport.d.ts +5 -17
- package/dist/utils/cast-transport.js +6 -19
- package/dist/utils/claim-token.js +1 -2
- package/dist/utils/comment-avatars.js +4 -6
- package/dist/utils/concurrency.js +3 -3
- package/dist/utils/content-type.d.ts +7 -6
- package/dist/utils/content-type.js +73 -51
- package/dist/utils/credential-policy.d.ts +50 -6
- package/dist/utils/credential-policy.js +126 -59
- package/dist/utils/dns-instructions.js +9 -9
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/error-code.js +1 -0
- package/dist/utils/generate-space-name.d.ts +3 -8
- package/dist/utils/generate-space-name.js +3 -8
- package/dist/utils/grant-decision.fixtures.json +2 -2
- package/dist/utils/grants.d.ts +0 -1
- package/dist/utils/grants.js +7 -8
- package/dist/utils/gravatar.d.ts +2 -4
- package/dist/utils/gravatar.js +6 -12
- package/dist/utils/id-hints.js +14 -23
- package/dist/utils/idempotency.d.ts +3 -3
- package/dist/utils/idempotency.js +6 -7
- package/dist/utils/local-space-state.d.ts +23 -26
- package/dist/utils/local-space-state.js +46 -46
- package/dist/utils/oauth-signed-query.d.ts +3 -5
- package/dist/utils/oauth-signed-query.js +6 -9
- package/dist/utils/one-shot-replay.d.ts +7 -6
- package/dist/utils/one-shot-replay.js +3 -5
- package/dist/utils/page-colors.d.ts +15 -19
- package/dist/utils/page-colors.js +23 -45
- package/dist/utils/page-fonts.d.ts +1 -1
- package/dist/utils/page-fonts.js +8 -20
- package/dist/utils/page-preview.d.ts +0 -1
- package/dist/utils/page-preview.js +0 -1
- package/dist/utils/pages.d.ts +33 -3
- package/dist/utils/pages.js +83 -30
- package/dist/utils/privacy-regions.d.ts +19 -0
- package/dist/utils/privacy-regions.js +91 -0
- package/dist/utils/publish-form-data.d.ts +4 -5
- package/dist/utils/publish-form-data.js +2 -3
- package/dist/utils/publish-policy.d.ts +11 -17
- package/dist/utils/publish-policy.fixtures.json +11 -5
- package/dist/utils/publish-policy.js +65 -110
- package/dist/utils/query-client.d.ts +2 -0
- package/dist/utils/query-client.js +10 -1
- package/dist/utils/runtime-paths.d.ts +4 -4
- package/dist/utils/runtime-paths.js +6 -8
- package/dist/utils/runtime-upload.d.ts +9 -0
- package/dist/utils/runtime-upload.js +12 -0
- package/dist/utils/secure-local-file.d.ts +3 -3
- package/dist/utils/secure-local-file.js +23 -40
- package/dist/utils/space-config.d.ts +12 -15
- package/dist/utils/space-config.js +13 -16
- package/dist/utils/static-runtime-policy.d.ts +10 -7
- package/dist/utils/static-runtime-policy.fixtures.json +38 -41
- package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
- package/dist/utils/static-runtime-policy.generated.js +70 -0
- package/dist/utils/static-runtime-policy.js +31 -132
- package/dist/utils/storage-policy.js +1 -2
- package/dist/utils/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +41 -19
- package/dist/utils/version-path.js +11 -19
- package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
- package/dist/utils/wpcom-auth-redirects.js +1 -4
- package/dist/vocabulary.d.ts +13 -13
- package/dist/vocabulary.js +52 -27
- package/package.json +15 -18
- package/dist/agents/client-registry.d.ts +0 -22
- package/dist/agents/client-registry.js +0 -41
- package/dist/docs/agent-handoff-document.d.ts +0 -15
- package/dist/docs/agent-handoff-document.js +0 -180
- package/dist/docs/agent-solutions.d.ts +0 -110
- package/dist/docs/agent-solutions.js +0 -183
- package/dist/utils/query-keys.d.ts +0 -84
- package/dist/utils/query-keys.js +0 -108
package/dist/contracts/tags.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { normalizeSlug } from "../utils/slug.js";
|
|
2
3
|
import { baseDiagnosticSchema, CursorPaginationSchema, cursorListQuerySchema, dataEnvelope, } from "./common.js";
|
|
3
|
-
export const
|
|
4
|
+
export const tagRevisionStatusSchema = z.enum([
|
|
4
5
|
"draft",
|
|
5
6
|
"in_review",
|
|
6
7
|
"approved",
|
|
@@ -21,6 +22,10 @@ export const TAG_PRIVACY_SIGNAL_CONSENT_CATEGORIES = [
|
|
|
21
22
|
"marketing",
|
|
22
23
|
"personalization",
|
|
23
24
|
];
|
|
25
|
+
// `defaultGranted` is the non-GDPR default. `requiresConsentInGdprCountries`
|
|
26
|
+
// mirrors wpcom's per-tracker flag of the same name: inside the GDPR zone the
|
|
27
|
+
// category is denied until the visitor explicitly grants it, and the zone check
|
|
28
|
+
// fails closed on unknown geo (see `isGdprCountry` in utils/privacy-regions).
|
|
24
29
|
export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
25
30
|
{
|
|
26
31
|
id: "necessary",
|
|
@@ -29,6 +34,7 @@ export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
|
29
34
|
defaultGranted: true,
|
|
30
35
|
required: true,
|
|
31
36
|
privacySignalDefaultDenied: false,
|
|
37
|
+
requiresConsentInGdprCountries: false,
|
|
32
38
|
},
|
|
33
39
|
{
|
|
34
40
|
id: "functional",
|
|
@@ -37,6 +43,7 @@ export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
|
37
43
|
defaultGranted: true,
|
|
38
44
|
required: false,
|
|
39
45
|
privacySignalDefaultDenied: false,
|
|
46
|
+
requiresConsentInGdprCountries: false,
|
|
40
47
|
},
|
|
41
48
|
{
|
|
42
49
|
id: "analytics",
|
|
@@ -45,6 +52,7 @@ export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
|
45
52
|
defaultGranted: true,
|
|
46
53
|
required: false,
|
|
47
54
|
privacySignalDefaultDenied: true,
|
|
55
|
+
requiresConsentInGdprCountries: true,
|
|
48
56
|
},
|
|
49
57
|
{
|
|
50
58
|
id: "marketing",
|
|
@@ -53,6 +61,7 @@ export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
|
53
61
|
defaultGranted: true,
|
|
54
62
|
required: false,
|
|
55
63
|
privacySignalDefaultDenied: true,
|
|
64
|
+
requiresConsentInGdprCountries: true,
|
|
56
65
|
},
|
|
57
66
|
{
|
|
58
67
|
id: "personalization",
|
|
@@ -61,6 +70,7 @@ export const TAG_CONSENT_CATEGORY_DEFINITIONS = [
|
|
|
61
70
|
defaultGranted: true,
|
|
62
71
|
required: false,
|
|
63
72
|
privacySignalDefaultDenied: true,
|
|
73
|
+
requiresConsentInGdprCountries: true,
|
|
64
74
|
},
|
|
65
75
|
];
|
|
66
76
|
export const TAG_CONSENT_CATEGORY_IDS = TAG_CONSENT_CATEGORY_DEFINITIONS.map((category) => category.id);
|
|
@@ -75,6 +85,7 @@ export const tagConsentPolicySchema = z.object({
|
|
|
75
85
|
defaultGranted: z.boolean(),
|
|
76
86
|
required: z.boolean().default(false),
|
|
77
87
|
privacySignalDefaultDenied: z.boolean().default(false),
|
|
88
|
+
requiresConsentInGdprCountries: z.boolean().default(false),
|
|
78
89
|
}))
|
|
79
90
|
.default(Object.fromEntries(TAG_CONSENT_CATEGORY_DEFINITIONS.map((category) => [
|
|
80
91
|
category.id,
|
|
@@ -84,6 +95,7 @@ export const tagConsentPolicySchema = z.object({
|
|
|
84
95
|
defaultGranted: category.defaultGranted,
|
|
85
96
|
required: category.required,
|
|
86
97
|
privacySignalDefaultDenied: category.privacySignalDefaultDenied,
|
|
98
|
+
requiresConsentInGdprCountries: category.requiresConsentInGdprCountries,
|
|
87
99
|
},
|
|
88
100
|
]))),
|
|
89
101
|
defaultByCategory: z.record(z.string(), z.boolean()).default(DEFAULT_TAG_CONSENT_DEFAULTS),
|
|
@@ -336,7 +348,7 @@ export const tagGraphSchema = z
|
|
|
336
348
|
consentPolicy: z.record(z.string(), z.unknown()).optional(),
|
|
337
349
|
})
|
|
338
350
|
.passthrough();
|
|
339
|
-
const
|
|
351
|
+
const tagGraphBudgetedFields = {
|
|
340
352
|
format: z.literal("spacefast.tag_graph.v1").default("spacefast.tag_graph.v1"),
|
|
341
353
|
tags: z.array(z.record(z.string(), z.unknown())).max(TAG_GRAPH_MAX_TAGS).default([]),
|
|
342
354
|
triggers: z.array(z.record(z.string(), z.unknown())).max(TAG_GRAPH_MAX_TRIGGERS).default([]),
|
|
@@ -350,11 +362,11 @@ const tagGraphBudgetedShape = {
|
|
|
350
362
|
consentPolicy: z.record(z.string(), z.unknown()).optional(),
|
|
351
363
|
};
|
|
352
364
|
export const tagGraphCloneSchema = z
|
|
353
|
-
.object(
|
|
365
|
+
.object(tagGraphBudgetedFields)
|
|
354
366
|
.passthrough()
|
|
355
367
|
.superRefine(refineTagGraphBudget);
|
|
356
368
|
export const tagGraphWriteSchema = z
|
|
357
|
-
.object(
|
|
369
|
+
.object(tagGraphBudgetedFields)
|
|
358
370
|
.strict()
|
|
359
371
|
.superRefine(refineTagGraphBudget)
|
|
360
372
|
.describe(`Tag graph v1 write input. The server enforces these limits: ${TAG_GRAPH_MAX_ENCODED_BYTES} encoded bytes, ${TAG_GRAPH_MAX_TAGS} tags, ${TAG_GRAPH_MAX_TRIGGERS} triggers, ${TAG_GRAPH_MAX_VARIABLES} variables, and ${TAG_GRAPH_MAX_SYSTEM_MODULES} system modules. The server also enforces ${TAG_GRAPH_MAX_ARRAY_ITEMS} items per nested array, ${TAG_GRAPH_MAX_OBJECT_KEYS} keys per object, ${TAG_GRAPH_MAX_STRING_BYTES} encoded bytes per string, and ${TAG_GRAPH_MAX_DEPTH} nested levels. Unknown top-level fields are rejected.`);
|
|
@@ -371,12 +383,12 @@ export const tagValidationResultSchema = z.object({
|
|
|
371
383
|
requiredApprovals: z.array(z.string()),
|
|
372
384
|
graphRevision: z.number().int().positive(),
|
|
373
385
|
});
|
|
374
|
-
export const
|
|
386
|
+
export const tagRevisionSchema = z.object({
|
|
375
387
|
id: z.string(),
|
|
376
388
|
tagSetId: z.string(),
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
status:
|
|
389
|
+
revisionNumber: z.number().int().positive(),
|
|
390
|
+
baseRevisionId: z.string().nullable(),
|
|
391
|
+
status: tagRevisionStatusSchema,
|
|
380
392
|
title: z.string(),
|
|
381
393
|
description: z.string().nullable(),
|
|
382
394
|
graph: tagGraphSchema,
|
|
@@ -391,26 +403,28 @@ export const tagVersionSchema = z.object({
|
|
|
391
403
|
publishedAt: z.string().nullable(),
|
|
392
404
|
immutableAt: z.string().nullable(),
|
|
393
405
|
});
|
|
394
|
-
export const
|
|
395
|
-
status:
|
|
406
|
+
export const tagRevisionListQuerySchema = cursorListQuerySchema.extend({
|
|
407
|
+
status: tagRevisionStatusSchema
|
|
408
|
+
.optional()
|
|
409
|
+
.describe("Return only revisions in this review state."),
|
|
396
410
|
});
|
|
397
|
-
export const
|
|
398
|
-
data: z.array(
|
|
411
|
+
export const tagRevisionListResponseSchema = z.object({
|
|
412
|
+
data: z.array(tagRevisionSchema),
|
|
399
413
|
pagination: CursorPaginationSchema,
|
|
400
414
|
});
|
|
401
|
-
export const
|
|
402
|
-
export const
|
|
403
|
-
title: z.string().trim().min(1).max(255).default("Draft tag
|
|
415
|
+
export const tagRevisionResponseSchema = dataEnvelope(tagRevisionSchema);
|
|
416
|
+
export const tagRevisionCreateSchema = z.object({
|
|
417
|
+
title: z.string().trim().min(1).max(255).default("Draft tag revision"),
|
|
404
418
|
description: z.string().trim().max(4_000).nullable().optional(),
|
|
405
|
-
|
|
419
|
+
baseRevisionId: z.string().trim().min(1).nullable().optional(),
|
|
406
420
|
graph: tagGraphWriteSchema.optional(),
|
|
407
421
|
});
|
|
408
|
-
export const
|
|
422
|
+
export const tagRevisionPatchSchema = z.object({
|
|
409
423
|
title: z.string().trim().min(1).max(255).optional(),
|
|
410
424
|
description: z.string().trim().max(4_000).nullable().optional(),
|
|
411
425
|
});
|
|
412
426
|
export const tagGraphResponseSchema = dataEnvelope(z.object({
|
|
413
|
-
|
|
427
|
+
revisionId: z.string(),
|
|
414
428
|
graph: tagGraphSchema,
|
|
415
429
|
graphRevision: z.number().int().positive(),
|
|
416
430
|
}));
|
|
@@ -429,8 +443,8 @@ export const tagGraphPatchSchema = z.object({
|
|
|
429
443
|
});
|
|
430
444
|
export const tagValidateResponseSchema = dataEnvelope(tagValidationResultSchema);
|
|
431
445
|
export const tagDiffSchema = z.object({
|
|
432
|
-
|
|
433
|
-
|
|
446
|
+
baseRevisionId: z.string().nullable(),
|
|
447
|
+
targetRevisionId: z.string(),
|
|
434
448
|
addedTagIds: z.array(z.string()),
|
|
435
449
|
removedTagIds: z.array(z.string()),
|
|
436
450
|
changedTagIds: z.array(z.string()),
|
|
@@ -441,8 +455,8 @@ export const tagReleaseSchema = z.object({
|
|
|
441
455
|
id: z.string(),
|
|
442
456
|
tagSetId: z.string(),
|
|
443
457
|
environment: tagEnvironmentSchema,
|
|
444
|
-
|
|
445
|
-
|
|
458
|
+
revisionId: z.string(),
|
|
459
|
+
previousRevisionId: z.string().nullable(),
|
|
446
460
|
sdkRevision: z.string(),
|
|
447
461
|
staticDigest: z.string(),
|
|
448
462
|
releaseNotes: z.string().nullable(),
|
|
@@ -483,7 +497,7 @@ export const tagInheritancePatchSchema = z.object({
|
|
|
483
497
|
export const tagActivityEventSchema = z.object({
|
|
484
498
|
id: z.string(),
|
|
485
499
|
type: z.string(),
|
|
486
|
-
|
|
500
|
+
revisionId: z.string().nullable(),
|
|
487
501
|
environment: tagEnvironmentSchema.nullable(),
|
|
488
502
|
message: z.string(),
|
|
489
503
|
actor: z.record(z.string(), z.unknown()).nullable(),
|
|
@@ -496,8 +510,8 @@ export const tagEffectiveTagResponseSchema = dataEnvelope(z.object({
|
|
|
496
510
|
source: z.enum(["system", "team", "space", "unknown"]),
|
|
497
511
|
}));
|
|
498
512
|
export const tagReleasePutSchema = z.object({
|
|
499
|
-
|
|
500
|
-
|
|
513
|
+
revisionId: z.string().trim().min(1),
|
|
514
|
+
expectedCurrentRevisionId: z.string().trim().min(1).nullable().optional(),
|
|
501
515
|
releaseNotes: z.string().trim().max(4_000).nullable().optional(),
|
|
502
516
|
});
|
|
503
517
|
export const tagApplySchema = z.object({
|
|
@@ -506,10 +520,10 @@ export const tagApplySchema = z.object({
|
|
|
506
520
|
description: z.string().trim().max(4_000).nullable().optional(),
|
|
507
521
|
submit: z.boolean().default(false),
|
|
508
522
|
releaseEnvironment: tagEnvironmentSchema.optional(),
|
|
509
|
-
|
|
523
|
+
expectedCurrentRevisionId: z.string().trim().min(1).nullable().optional(),
|
|
510
524
|
});
|
|
511
525
|
export const tagApplyResponseSchema = dataEnvelope(z.object({
|
|
512
|
-
|
|
526
|
+
revision: tagRevisionSchema,
|
|
513
527
|
validation: tagValidationResultSchema,
|
|
514
528
|
release: tagReleaseSchema
|
|
515
529
|
.extend({
|
|
@@ -525,7 +539,7 @@ export const tagApplyResponseSchema = dataEnvelope(z.object({
|
|
|
525
539
|
}));
|
|
526
540
|
export const tagPreviewSessionSchema = z.object({
|
|
527
541
|
id: z.string(),
|
|
528
|
-
|
|
542
|
+
revisionId: z.string(),
|
|
529
543
|
environment: tagEnvironmentSchema,
|
|
530
544
|
previewUrl: z.string(),
|
|
531
545
|
sdkRevision: z.string(),
|
|
@@ -536,6 +550,7 @@ export const tagPreviewSessionSchema = z.object({
|
|
|
536
550
|
revokedAt: z.string().nullable(),
|
|
537
551
|
});
|
|
538
552
|
export const tagPreviewSessionResponseSchema = dataEnvelope(tagPreviewSessionSchema);
|
|
553
|
+
export const tagPreviewSessionListResponseSchema = dataEnvelope(z.array(tagPreviewSessionSchema));
|
|
539
554
|
export const tagPreviewSessionCreateSchema = z.object({
|
|
540
555
|
url: z.string().url().optional(),
|
|
541
556
|
ttlSeconds: z.number().int().min(60).max(86_400).default(3_600),
|
|
@@ -658,7 +673,7 @@ export const tagTemplateListResponseSchema = dataEnvelope(z.object({
|
|
|
658
673
|
}));
|
|
659
674
|
export const tagConsentPolicyResponseSchema = dataEnvelope(z.object({
|
|
660
675
|
environment: tagEnvironmentSchema,
|
|
661
|
-
|
|
676
|
+
revisionId: z.string().nullable(),
|
|
662
677
|
graphRevision: z.number().int().nonnegative(),
|
|
663
678
|
policy: tagConsentPolicySchema,
|
|
664
679
|
}));
|
|
@@ -883,12 +898,7 @@ function templateFieldValue(config, key) {
|
|
|
883
898
|
return typeof value === "string" ? value.trim() : "";
|
|
884
899
|
}
|
|
885
900
|
export function safeTagIdPart(value) {
|
|
886
|
-
return value
|
|
887
|
-
.trim()
|
|
888
|
-
.toLowerCase()
|
|
889
|
-
.replace(/[^a-z0-9]+/g, "-")
|
|
890
|
-
.replace(/^-+|-+$/g, "")
|
|
891
|
-
.slice(0, 64);
|
|
901
|
+
return normalizeSlug(value, { maxLength: 64 });
|
|
892
902
|
}
|
|
893
903
|
function htmlScript(code) {
|
|
894
904
|
return /^\s*<script\b[^>]*>[\s\S]*<\/script>\s*$/i.test(code)
|
|
@@ -1224,12 +1234,12 @@ export function tagGraphFromTemplateSelections(selections) {
|
|
|
1224
1234
|
export const tagEffectiveResponseSchema = dataEnvelope(z.object({
|
|
1225
1235
|
tagSetId: z.string().nullable(),
|
|
1226
1236
|
environment: tagEnvironmentSchema,
|
|
1227
|
-
|
|
1237
|
+
revisionId: z.string().nullable(),
|
|
1228
1238
|
graph: tagGraphSchema,
|
|
1229
1239
|
graphRevision: z.number().int().nonnegative(),
|
|
1230
1240
|
sdkRevision: z.string().nullable(),
|
|
1231
1241
|
sources: z.array(z.object({
|
|
1232
1242
|
type: z.enum(["team", "space", "system"]),
|
|
1233
|
-
|
|
1243
|
+
revisionId: z.string().nullable(),
|
|
1234
1244
|
})),
|
|
1235
1245
|
}));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const TEAM_ROLE_VALUES: readonly ["owner", "admin", "member"];
|
|
3
3
|
export declare const teamMemberRole: z.ZodEnum<{
|
|
4
|
-
owner: "owner";
|
|
5
4
|
admin: "admin";
|
|
5
|
+
owner: "owner";
|
|
6
6
|
member: "member";
|
|
7
7
|
}>;
|
|
8
8
|
/**
|
|
9
|
-
* Better Auth stores the member role as free text
|
|
10
|
-
*
|
|
11
|
-
* privilege, so they read as the least-privileged one.
|
|
9
|
+
* Better Auth stores the member role as free text. Unknown roles carry no
|
|
10
|
+
* privilege, so they read as `member`.
|
|
12
11
|
*/
|
|
13
|
-
export declare function normalizeTeamMemberRole(role: string | null | undefined): "
|
|
12
|
+
export declare function normalizeTeamMemberRole(role: string | null | undefined): "admin" | "owner" | "member";
|
|
14
13
|
export declare const teamInvitationCreateSchema: z.ZodObject<{
|
|
14
|
+
teamId: z.ZodString;
|
|
15
15
|
email: z.ZodString;
|
|
16
16
|
role: z.ZodDefault<z.ZodEnum<{
|
|
17
|
-
owner: "owner";
|
|
18
17
|
admin: "admin";
|
|
18
|
+
owner: "owner";
|
|
19
19
|
member: "member";
|
|
20
20
|
}>>;
|
|
21
21
|
}, z.core.$strip>;
|
|
@@ -26,6 +26,7 @@ export declare const teamMemberListQuerySchema: z.ZodObject<{
|
|
|
26
26
|
export declare const teamInvitationListQuerySchema: z.ZodObject<{
|
|
27
27
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
28
28
|
cursor: z.ZodOptional<z.ZodString>;
|
|
29
|
+
teamId: z.ZodString;
|
|
29
30
|
}, z.core.$strip>;
|
|
30
31
|
export declare const teamListQuerySchema: z.ZodObject<{
|
|
31
32
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -46,8 +47,8 @@ export declare const TeamMemberSchema: z.ZodObject<{
|
|
|
46
47
|
teamId: z.ZodString;
|
|
47
48
|
userId: z.ZodString;
|
|
48
49
|
role: z.ZodEnum<{
|
|
49
|
-
owner: "owner";
|
|
50
50
|
admin: "admin";
|
|
51
|
+
owner: "owner";
|
|
51
52
|
member: "member";
|
|
52
53
|
}>;
|
|
53
54
|
createdAt: z.ZodString;
|
|
@@ -60,22 +61,50 @@ export declare const TeamMemberSchema: z.ZodObject<{
|
|
|
60
61
|
}, z.core.$strip>;
|
|
61
62
|
export declare const teamMemberRoleUpdateSchema: z.ZodObject<{
|
|
62
63
|
role: z.ZodEnum<{
|
|
63
|
-
owner: "owner";
|
|
64
64
|
admin: "admin";
|
|
65
|
+
owner: "owner";
|
|
65
66
|
member: "member";
|
|
66
67
|
}>;
|
|
67
68
|
}, z.core.$strip>;
|
|
68
69
|
export type TeamMember = z.infer<typeof TeamMemberSchema>;
|
|
70
|
+
/**
|
|
71
|
+
* The one invitation status vocabulary, shared by the collection and the by-id
|
|
72
|
+
* read. Better Auth's organization plugin owns the stored column and writes
|
|
73
|
+
* `pending | accepted | rejected | canceled`; `expired` is derived, because a
|
|
74
|
+
* still-pending invitation past `expiresAt` can never be accepted and no writer
|
|
75
|
+
* ever rewrites the row.
|
|
76
|
+
*/
|
|
77
|
+
export declare const teamInvitationStatus: z.ZodEnum<{
|
|
78
|
+
canceled: "canceled";
|
|
79
|
+
expired: "expired";
|
|
80
|
+
pending: "pending";
|
|
81
|
+
accepted: "accepted";
|
|
82
|
+
rejected: "rejected";
|
|
83
|
+
}>;
|
|
84
|
+
export type TeamInvitationStatus = z.infer<typeof teamInvitationStatus>;
|
|
85
|
+
/**
|
|
86
|
+
* The stored column is free text over a closed domain. An unrecognized value is
|
|
87
|
+
* not something a recipient may act on, so it fails closed to `canceled` —
|
|
88
|
+
* never `pending` (which would offer a dead link) and never `accepted` (which
|
|
89
|
+
* would claim a membership nobody holds).
|
|
90
|
+
*/
|
|
91
|
+
export declare function normalizeTeamInvitationStatus(status: string | null | undefined): "canceled" | "expired" | "pending" | "accepted" | "rejected";
|
|
69
92
|
export declare const TeamInvitationSchema: z.ZodObject<{
|
|
70
93
|
id: z.ZodString;
|
|
71
94
|
teamId: z.ZodString;
|
|
72
95
|
email: z.ZodString;
|
|
73
96
|
role: z.ZodEnum<{
|
|
74
|
-
owner: "owner";
|
|
75
97
|
admin: "admin";
|
|
98
|
+
owner: "owner";
|
|
76
99
|
member: "member";
|
|
77
100
|
}>;
|
|
78
|
-
status: z.
|
|
101
|
+
status: z.ZodEnum<{
|
|
102
|
+
canceled: "canceled";
|
|
103
|
+
expired: "expired";
|
|
104
|
+
pending: "pending";
|
|
105
|
+
accepted: "accepted";
|
|
106
|
+
rejected: "rejected";
|
|
107
|
+
}>;
|
|
79
108
|
expiresAt: z.ZodString;
|
|
80
109
|
createdAt: z.ZodString;
|
|
81
110
|
}, z.core.$strip>;
|
|
@@ -93,8 +122,8 @@ export declare const TeamSummarySchema: z.ZodObject<{
|
|
|
93
122
|
name: z.ZodString;
|
|
94
123
|
slug: z.ZodString;
|
|
95
124
|
role: z.ZodEnum<{
|
|
96
|
-
owner: "owner";
|
|
97
125
|
admin: "admin";
|
|
126
|
+
owner: "owner";
|
|
98
127
|
member: "member";
|
|
99
128
|
}>;
|
|
100
129
|
plan: z.ZodEnum<{
|
|
@@ -114,8 +143,8 @@ export declare const TeamDetailSchema: z.ZodObject<{
|
|
|
114
143
|
name: z.ZodString;
|
|
115
144
|
slug: z.ZodString;
|
|
116
145
|
role: z.ZodEnum<{
|
|
117
|
-
owner: "owner";
|
|
118
146
|
admin: "admin";
|
|
147
|
+
owner: "owner";
|
|
119
148
|
member: "member";
|
|
120
149
|
}>;
|
|
121
150
|
plan: z.ZodEnum<{
|
|
@@ -131,6 +160,30 @@ export declare const TeamDetailSchema: z.ZodObject<{
|
|
|
131
160
|
logo: z.ZodNullable<z.ZodString>;
|
|
132
161
|
metadata: z.ZodNullable<z.ZodString>;
|
|
133
162
|
stripeCustomerId: z.ZodNullable<z.ZodString>;
|
|
163
|
+
systemSpaceId: z.ZodNullable<z.ZodString>;
|
|
164
|
+
manifestStatus: z.ZodObject<{
|
|
165
|
+
items: z.ZodArray<z.ZodObject<{
|
|
166
|
+
key: z.ZodString;
|
|
167
|
+
state: z.ZodEnum<{
|
|
168
|
+
active: "active";
|
|
169
|
+
failed: "failed";
|
|
170
|
+
pending: "pending";
|
|
171
|
+
}>;
|
|
172
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
173
|
+
since: z.ZodString;
|
|
174
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
sourceVersionId: z.ZodNullable<z.ZodString>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
presentation: z.ZodNullable<z.ZodObject<{
|
|
179
|
+
name: z.ZodOptional<z.ZodString>;
|
|
180
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
181
|
+
supportUrl: z.ZodOptional<z.ZodString>;
|
|
182
|
+
claimOrigin: z.ZodOptional<z.ZodString>;
|
|
183
|
+
accessHandoffOrigin: z.ZodOptional<z.ZodString>;
|
|
184
|
+
problemDocsBaseUrl: z.ZodOptional<z.ZodString>;
|
|
185
|
+
contacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
186
|
+
}, z.core.$strict>>;
|
|
134
187
|
}, z.core.$strip>;
|
|
135
188
|
export declare const teamListResponseSchema: z.ZodObject<{
|
|
136
189
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -139,8 +192,8 @@ export declare const teamListResponseSchema: z.ZodObject<{
|
|
|
139
192
|
name: z.ZodString;
|
|
140
193
|
slug: z.ZodString;
|
|
141
194
|
role: z.ZodEnum<{
|
|
142
|
-
owner: "owner";
|
|
143
195
|
admin: "admin";
|
|
196
|
+
owner: "owner";
|
|
144
197
|
member: "member";
|
|
145
198
|
}>;
|
|
146
199
|
plan: z.ZodEnum<{
|
|
@@ -165,8 +218,8 @@ export declare const teamMemberListResponseSchema: z.ZodObject<{
|
|
|
165
218
|
teamId: z.ZodString;
|
|
166
219
|
userId: z.ZodString;
|
|
167
220
|
role: z.ZodEnum<{
|
|
168
|
-
owner: "owner";
|
|
169
221
|
admin: "admin";
|
|
222
|
+
owner: "owner";
|
|
170
223
|
member: "member";
|
|
171
224
|
}>;
|
|
172
225
|
createdAt: z.ZodString;
|
|
@@ -189,7 +242,7 @@ export declare const teamJoinResponseSchema: z.ZodObject<{
|
|
|
189
242
|
role: z.ZodLiteral<"member">;
|
|
190
243
|
}, z.core.$strip>;
|
|
191
244
|
}, z.core.$strip>;
|
|
192
|
-
export declare const
|
|
245
|
+
export declare const teamInvitationParamsSchema: z.ZodObject<{
|
|
193
246
|
invitationId: z.ZodString;
|
|
194
247
|
}, z.core.$strip>;
|
|
195
248
|
export declare const teamInvitationAcceptResponseSchema: z.ZodObject<{
|
|
@@ -198,8 +251,8 @@ export declare const teamInvitationAcceptResponseSchema: z.ZodObject<{
|
|
|
198
251
|
teamSlug: z.ZodString;
|
|
199
252
|
userId: z.ZodString;
|
|
200
253
|
role: z.ZodEnum<{
|
|
201
|
-
owner: "owner";
|
|
202
254
|
admin: "admin";
|
|
255
|
+
owner: "owner";
|
|
203
256
|
member: "member";
|
|
204
257
|
}>;
|
|
205
258
|
}, z.core.$strip>;
|
|
@@ -210,11 +263,17 @@ export declare const teamInvitationListResponseSchema: z.ZodObject<{
|
|
|
210
263
|
teamId: z.ZodString;
|
|
211
264
|
email: z.ZodString;
|
|
212
265
|
role: z.ZodEnum<{
|
|
213
|
-
owner: "owner";
|
|
214
266
|
admin: "admin";
|
|
267
|
+
owner: "owner";
|
|
215
268
|
member: "member";
|
|
216
269
|
}>;
|
|
217
|
-
status: z.
|
|
270
|
+
status: z.ZodEnum<{
|
|
271
|
+
canceled: "canceled";
|
|
272
|
+
expired: "expired";
|
|
273
|
+
pending: "pending";
|
|
274
|
+
accepted: "accepted";
|
|
275
|
+
rejected: "rejected";
|
|
276
|
+
}>;
|
|
218
277
|
expiresAt: z.ZodString;
|
|
219
278
|
createdAt: z.ZodString;
|
|
220
279
|
}, z.core.$strip>>;
|
|
@@ -234,15 +293,12 @@ export declare const teamSettingsResponseSchema: z.ZodObject<{
|
|
|
234
293
|
id: z.ZodString;
|
|
235
294
|
label: z.ZodString;
|
|
236
295
|
}, z.core.$strip>>;
|
|
237
|
-
|
|
296
|
+
infraCapabilities: z.ZodObject<{
|
|
238
297
|
datacenters: z.ZodArray<z.ZodObject<{
|
|
239
298
|
id: z.ZodString;
|
|
240
299
|
label: z.ZodString;
|
|
241
300
|
}, z.core.$strip>>;
|
|
242
|
-
|
|
243
|
-
id: z.ZodString;
|
|
244
|
-
label: z.ZodString;
|
|
245
|
-
}, z.core.$strip>>;
|
|
301
|
+
phpVersion: z.ZodLiteral<"8.5">;
|
|
246
302
|
}, z.core.$strip>;
|
|
247
303
|
}, z.core.$strip>;
|
|
248
304
|
export declare const teamUsageResponseSchema: z.ZodObject<{
|
|
@@ -266,14 +322,16 @@ export declare const teamUsageResponseSchema: z.ZodObject<{
|
|
|
266
322
|
storageBytes: z.ZodNumber;
|
|
267
323
|
}, z.core.$strip>>;
|
|
268
324
|
}, z.core.$strip>;
|
|
269
|
-
export declare const
|
|
325
|
+
export declare const teamInvitationDetailSchema: z.ZodObject<{
|
|
270
326
|
id: z.ZodString;
|
|
271
327
|
teamName: z.ZodString;
|
|
272
|
-
|
|
328
|
+
email: z.ZodString;
|
|
273
329
|
status: z.ZodEnum<{
|
|
330
|
+
canceled: "canceled";
|
|
274
331
|
expired: "expired";
|
|
275
|
-
closed: "closed";
|
|
276
332
|
pending: "pending";
|
|
333
|
+
accepted: "accepted";
|
|
334
|
+
rejected: "rejected";
|
|
277
335
|
}>;
|
|
278
336
|
expiresAt: z.ZodString;
|
|
279
337
|
}, z.core.$strip>;
|
|
@@ -287,4 +345,6 @@ export declare const teamUpdateSchema: z.ZodObject<{
|
|
|
287
345
|
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
346
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
289
347
|
defaultDataLocation: z.ZodOptional<z.ZodString>;
|
|
348
|
+
systemSpaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
|
+
baseSystemSpaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
290
350
|
}, z.core.$strip>;
|