@crowi/api-contract 2.0.0-alpha.11 → 2.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -8465,8 +8465,8 @@ declare const lateContractApp: OpenAPIHono<hono.Env, {
8465
8465
  *
8466
8466
  * - `adminSettingsContractApp`: the 6 read+write settings sub-contracts
8467
8467
  * (app / auth / security / mail / storage / search) = 11 routes.
8468
- * - `adminUsersPluginsContractApp`: the larger users (10) + plugins (5)
8469
- * sub-contracts = 15 routes.
8468
+ * - `adminUsersPluginsContractApp`: the larger users (10) + plugins (6)
8469
+ * sub-contracts = 16 routes.
8470
8470
  *
8471
8471
  * Phase 6 (TS2589 escape hatch removal) — these chains are no longer
8472
8472
  * concatenated onto a single `contractApp` via `.route('/', sub)`.
@@ -10714,6 +10714,50 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
10714
10714
  status: 422;
10715
10715
  };
10716
10716
  };
10717
+ } & {
10718
+ "/admin/plugins/readiness": {
10719
+ $get: {
10720
+ input: {};
10721
+ output: {
10722
+ error: {
10723
+ code: "AUTHENTICATION_REQUIRED";
10724
+ message: "Authentication is required";
10725
+ redirectTo?: string | undefined;
10726
+ };
10727
+ };
10728
+ outputFormat: "json";
10729
+ status: 401;
10730
+ } | {
10731
+ input: {};
10732
+ output: {
10733
+ error: {
10734
+ code: "ADMIN_REQUIRED";
10735
+ message: "Admin permission required";
10736
+ redirectTo?: string | undefined;
10737
+ };
10738
+ };
10739
+ outputFormat: "json";
10740
+ status: 403;
10741
+ } | {
10742
+ input: {};
10743
+ output: {
10744
+ issues: {
10745
+ name: string;
10746
+ adminPlacement: {
10747
+ section: "search" | "settings" | "shared" | "storage" | "mail" | "notification" | "auth" | "renderer" | "platform";
10748
+ label: string;
10749
+ icon?: string | undefined;
10750
+ };
10751
+ fields: {
10752
+ name: string;
10753
+ configured: false;
10754
+ }[];
10755
+ }[];
10756
+ };
10757
+ outputFormat: "json";
10758
+ status: 200;
10759
+ };
10760
+ };
10717
10761
  } & {
10718
10762
  "/admin/plugins/render-cache/clear-all": {
10719
10763
  $post: {
@@ -31790,9 +31834,22 @@ declare const autocompleteRoutes: {
31790
31834
  * - `/pages/*` (list / add / usage) reuses the `revision` handler's
31791
31835
  * broad `createJwtAuth(crowi)` apply — same shared-middleware
31792
31836
  * pattern as page / page-preview / pageCollab / presence / draft.
31837
+ * Header-only (Bearer), same as every other `createJwtAuth` consumer.
31793
31838
  * - `/attachments/*` (meta / upload / remove) is OUTSIDE that prefix
31794
- * so the attachment handler installs `createJwtAuth(crowi)` on
31795
- * `/attachments/*` itself.
31839
+ * so the attachment handler installs `createAttachmentAuth(crowi)`
31840
+ * (feature-auth-cookie-fallback-scope) on `/attachments/*` itself.
31841
+ * `createAttachmentAuth` is its OWN boundary — `createJwtAuth` is
31842
+ * header-only everywhere and never reads the `crowi.accessToken`
31843
+ * cookie at all; only `createAttachmentAuth` does, and only for
31844
+ * GET/HEAD on the three raw streaming delivery routes below
31845
+ * (`/attachments/{id}`, `/attachments/{id}/original`,
31846
+ * `/attachments/by-key/{key}`), which are hand-coded Hono routes
31847
+ * outside this contract file (a browser `<img src>` / direct
31848
+ * navigation to those cannot carry an Authorization header). Every
31849
+ * endpoint IN this contract file (upload / meta / remove / add) is
31850
+ * header-only — none of them accept the cookie, so this contract's
31851
+ * `security: [{ bearerAuth: [] }]` on every route below is accurate
31852
+ * as written.
31796
31853
  *
31797
31854
  * Multipart: `addAttachment` + `uploadAttachment` are implemented
31798
31855
  * Hono-native via `c.req.parseBody()`. multer is gone from this
@@ -35920,15 +35977,86 @@ declare const ClearRenderCacheResponseSchema: z.ZodObject<{
35920
35977
  removedCount: z.ZodNumber;
35921
35978
  }, z.core.$strip>;
35922
35979
  type ClearRenderCacheResponse = z.infer<typeof ClearRenderCacheResponseSchema>;
35980
+ /**
35981
+ * feature-plugin-config-readiness — one unset `requiredConfigFields`
35982
+ * entry from a plugin's `readiness` declaration. Deliberately carries
35983
+ * only the field name and a fixed `configured: false` (never the
35984
+ * declared field's list of possible values, its actual value, or
35985
+ * anything else that could echo secret config back to the client).
35986
+ */
35987
+ declare const PluginReadinessFieldSchema: z.ZodObject<{
35988
+ name: z.ZodString;
35989
+ configured: z.ZodLiteral<false>;
35990
+ }, z.core.$strip>;
35991
+ type PluginReadinessField = z.infer<typeof PluginReadinessFieldSchema>;
35992
+ /**
35993
+ * A currently-active plugin (its `readiness.driver` matches the
35994
+ * selected `crowi.config.json` driver for `readiness.registry`) with at
35995
+ * least one unset required config field.
35996
+ */
35997
+ declare const PluginReadinessIssueSchema: z.ZodObject<{
35998
+ name: z.ZodString;
35999
+ adminPlacement: z.ZodObject<{
36000
+ section: z.ZodEnum<{
36001
+ search: "search";
36002
+ settings: "settings";
36003
+ shared: "shared";
36004
+ storage: "storage";
36005
+ mail: "mail";
36006
+ notification: "notification";
36007
+ auth: "auth";
36008
+ renderer: "renderer";
36009
+ platform: "platform";
36010
+ }>;
36011
+ label: z.ZodString;
36012
+ icon: z.ZodOptional<z.ZodString>;
36013
+ }, z.core.$strip>;
36014
+ fields: z.ZodArray<z.ZodObject<{
36015
+ name: z.ZodString;
36016
+ configured: z.ZodLiteral<false>;
36017
+ }, z.core.$strip>>;
36018
+ }, z.core.$strip>;
36019
+ type PluginReadinessIssue = z.infer<typeof PluginReadinessIssueSchema>;
36020
+ /**
36021
+ * `GET /admin/plugins/readiness` response. Empty `issues` means every
36022
+ * active plugin with a readiness declaration is fully configured (or no
36023
+ * loaded plugin declares readiness at all).
36024
+ */
36025
+ declare const PluginReadinessResponseSchema: z.ZodObject<{
36026
+ issues: z.ZodArray<z.ZodObject<{
36027
+ name: z.ZodString;
36028
+ adminPlacement: z.ZodObject<{
36029
+ section: z.ZodEnum<{
36030
+ search: "search";
36031
+ settings: "settings";
36032
+ shared: "shared";
36033
+ storage: "storage";
36034
+ mail: "mail";
36035
+ notification: "notification";
36036
+ auth: "auth";
36037
+ renderer: "renderer";
36038
+ platform: "platform";
36039
+ }>;
36040
+ label: z.ZodString;
36041
+ icon: z.ZodOptional<z.ZodString>;
36042
+ }, z.core.$strip>;
36043
+ fields: z.ZodArray<z.ZodObject<{
36044
+ name: z.ZodString;
36045
+ configured: z.ZodLiteral<false>;
36046
+ }, z.core.$strip>>;
36047
+ }, z.core.$strip>>;
36048
+ }, z.core.$strip>;
36049
+ type PluginReadinessResponse = z.infer<typeof PluginReadinessResponseSchema>;
35923
36050
 
35924
36051
  /**
35925
36052
  * RFC-0006 Phase 4 Batch 9 — `admin.plugins` sub-contract ported to
35926
36053
  * `@hono/zod-openapi` route definitions.
35927
36054
  *
35928
- * 5 endpoints:
36055
+ * 6 endpoints:
35929
36056
  * GET /admin/plugins (listPlugins)
35930
36057
  * GET /admin/plugins/config?name=… (getPluginConfig)
35931
36058
  * PUT /admin/plugins/config?name=… (updatePluginConfig)
36059
+ * GET /admin/plugins/readiness (getPluginReadiness — feature-plugin-config-readiness)
35932
36060
  * POST /admin/plugins/render-cache/clear-all (clearRenderCacheAll)
35933
36061
  * POST /admin/plugins/render-cache/clear-plugin?name=… (clearRenderCachePlugin)
35934
36062
  *
@@ -36323,6 +36451,84 @@ declare const clearRenderCacheAllRoute: {
36323
36451
  } & {
36324
36452
  getRoutingPath(): "/admin/plugins/render-cache/clear-all";
36325
36453
  };
36454
+ /**
36455
+ * feature-plugin-config-readiness — active plugins missing config that
36456
+ * their own `readiness` declaration says is required for the currently
36457
+ * selected driver. Never returns config values, secrets, or URLs — see
36458
+ * `PluginReadinessResponseSchema`.
36459
+ */
36460
+ declare const getPluginReadinessRoute: {
36461
+ method: "get";
36462
+ path: "/admin/plugins/readiness";
36463
+ tags: string[];
36464
+ security: {
36465
+ bearerAuth: never[];
36466
+ }[];
36467
+ summary: string;
36468
+ responses: {
36469
+ 200: {
36470
+ description: string;
36471
+ content: {
36472
+ 'application/json': {
36473
+ schema: z.ZodObject<{
36474
+ issues: z.ZodArray<z.ZodObject<{
36475
+ name: z.ZodString;
36476
+ adminPlacement: z.ZodObject<{
36477
+ section: z.ZodEnum<{
36478
+ search: "search";
36479
+ settings: "settings";
36480
+ shared: "shared";
36481
+ storage: "storage";
36482
+ mail: "mail";
36483
+ notification: "notification";
36484
+ auth: "auth";
36485
+ renderer: "renderer";
36486
+ platform: "platform";
36487
+ }>;
36488
+ label: z.ZodString;
36489
+ icon: z.ZodOptional<z.ZodString>;
36490
+ }, z.core.$strip>;
36491
+ fields: z.ZodArray<z.ZodObject<{
36492
+ name: z.ZodString;
36493
+ configured: z.ZodLiteral<false>;
36494
+ }, z.core.$strip>>;
36495
+ }, z.core.$strip>>;
36496
+ }, z.core.$strip>;
36497
+ };
36498
+ };
36499
+ };
36500
+ 401: {
36501
+ description: string;
36502
+ content: {
36503
+ 'application/json': {
36504
+ schema: z.ZodObject<{
36505
+ error: z.ZodObject<{
36506
+ code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
36507
+ message: z.ZodLiteral<"Authentication is required">;
36508
+ redirectTo: z.ZodOptional<z.ZodString>;
36509
+ }, z.core.$strip>;
36510
+ }, z.core.$strip>;
36511
+ };
36512
+ };
36513
+ };
36514
+ 403: {
36515
+ description: string;
36516
+ content: {
36517
+ 'application/json': {
36518
+ schema: z.ZodObject<{
36519
+ error: z.ZodObject<{
36520
+ code: z.ZodLiteral<"ADMIN_REQUIRED">;
36521
+ message: z.ZodLiteral<"Admin permission required">;
36522
+ redirectTo: z.ZodOptional<z.ZodString>;
36523
+ }, z.core.$strip>;
36524
+ }, z.core.$strip>;
36525
+ };
36526
+ };
36527
+ };
36528
+ };
36529
+ } & {
36530
+ getRoutingPath(): "/admin/plugins/readiness";
36531
+ };
36326
36532
  declare const clearRenderCachePluginRoute: {
36327
36533
  method: "post";
36328
36534
  path: "/admin/plugins/render-cache/clear-plugin";
@@ -36722,6 +36928,78 @@ declare const adminPluginsRoutes: {
36722
36928
  } & {
36723
36929
  getRoutingPath(): "/admin/plugins/config";
36724
36930
  };
36931
+ getPluginReadinessRoute: {
36932
+ method: "get";
36933
+ path: "/admin/plugins/readiness";
36934
+ tags: string[];
36935
+ security: {
36936
+ bearerAuth: never[];
36937
+ }[];
36938
+ summary: string;
36939
+ responses: {
36940
+ 200: {
36941
+ description: string;
36942
+ content: {
36943
+ 'application/json': {
36944
+ schema: z.ZodObject<{
36945
+ issues: z.ZodArray<z.ZodObject<{
36946
+ name: z.ZodString;
36947
+ adminPlacement: z.ZodObject<{
36948
+ section: z.ZodEnum<{
36949
+ search: "search";
36950
+ settings: "settings";
36951
+ shared: "shared";
36952
+ storage: "storage";
36953
+ mail: "mail";
36954
+ notification: "notification";
36955
+ auth: "auth";
36956
+ renderer: "renderer";
36957
+ platform: "platform";
36958
+ }>;
36959
+ label: z.ZodString;
36960
+ icon: z.ZodOptional<z.ZodString>;
36961
+ }, z.core.$strip>;
36962
+ fields: z.ZodArray<z.ZodObject<{
36963
+ name: z.ZodString;
36964
+ configured: z.ZodLiteral<false>;
36965
+ }, z.core.$strip>>;
36966
+ }, z.core.$strip>>;
36967
+ }, z.core.$strip>;
36968
+ };
36969
+ };
36970
+ };
36971
+ 401: {
36972
+ description: string;
36973
+ content: {
36974
+ 'application/json': {
36975
+ schema: z.ZodObject<{
36976
+ error: z.ZodObject<{
36977
+ code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
36978
+ message: z.ZodLiteral<"Authentication is required">;
36979
+ redirectTo: z.ZodOptional<z.ZodString>;
36980
+ }, z.core.$strip>;
36981
+ }, z.core.$strip>;
36982
+ };
36983
+ };
36984
+ };
36985
+ 403: {
36986
+ description: string;
36987
+ content: {
36988
+ 'application/json': {
36989
+ schema: z.ZodObject<{
36990
+ error: z.ZodObject<{
36991
+ code: z.ZodLiteral<"ADMIN_REQUIRED">;
36992
+ message: z.ZodLiteral<"Admin permission required">;
36993
+ redirectTo: z.ZodOptional<z.ZodString>;
36994
+ }, z.core.$strip>;
36995
+ }, z.core.$strip>;
36996
+ };
36997
+ };
36998
+ };
36999
+ };
37000
+ } & {
37001
+ getRoutingPath(): "/admin/plugins/readiness";
37002
+ };
36725
37003
  clearRenderCacheAllRoute: {
36726
37004
  method: "post";
36727
37005
  path: "/admin/plugins/render-cache/clear-all";
@@ -43084,6 +43362,7 @@ declare const MailTokenPayloadSchema: z.ZodObject<{
43084
43362
  fromEmail: z.ZodOptional<z.ZodString>;
43085
43363
  resetGeneration: z.ZodOptional<z.ZodNumber>;
43086
43364
  authVersion: z.ZodOptional<z.ZodNumber>;
43365
+ emailChangeGeneration: z.ZodOptional<z.ZodNumber>;
43087
43366
  iat: z.ZodOptional<z.ZodNumber>;
43088
43367
  exp: z.ZodOptional<z.ZodNumber>;
43089
43368
  }, z.core.$strip>;
@@ -47250,6 +47529,27 @@ declare const UserPublicSchema: z.ZodObject<{
47250
47529
  }, z.core.$strip>;
47251
47530
  type UserPublic = z.infer<typeof UserPublicSchema>;
47252
47531
 
47532
+ /**
47533
+ * The single username syntax contract shared by every write path that can
47534
+ * set a `username`: self-registration (`TokenAuthRegisterRequestSchema`),
47535
+ * invite acceptance (`InviteAcceptRequestSchema`), first-admin creation
47536
+ * (`CreateAdminRequestSchema`), and the `User` Mongoose model's own field
47537
+ * validator (`packages/api/src/models/user.ts`). No `trim()`, case
47538
+ * folding, or Unicode normalization: any of those would silently rewrite
47539
+ * the stored value away from what the caller sent, which would disagree
47540
+ * with the existing case-insensitive unique collation
47541
+ * (`USER_UNIQUE_COLLATION`) and with already-stored data.
47542
+ *
47543
+ * The allowed set — ASCII `[A-Za-z0-9_-]`, 1-64 characters — matches the
47544
+ * mention renderer's `MENTION_RE` exactly
47545
+ * (`packages/api/src/renderer/core/mentions.ts`), so a stored username is
47546
+ * always a syntactically valid `@mention` target. `.` is deliberately not
47547
+ * allowed even though the installer's previous regex permitted it — that
47548
+ * was an existing inconsistency this contract removes.
47549
+ */
47550
+ declare const UsernameSchema: z.ZodString;
47551
+ type Username = z.infer<typeof UsernameSchema>;
47552
+
47253
47553
  /**
47254
47554
  * Canonical HTML5 element name set + a helper for stripping HTML tags from
47255
47555
  * arbitrary text.
@@ -47356,4 +47656,4 @@ declare const WS_CLOSE_CODES: {
47356
47656
  };
47357
47657
  type WsCloseCode = (typeof WS_CLOSE_CODES)[keyof typeof WS_CLOSE_CODES];
47358
47658
 
47359
- export { ALL_CAPABILITIES, ALL_SCOPES, API_SURFACE_VERSION, AST_INPUT_LIMIT_BYTES, AST_MAX_HAST_DEPTH, AST_MAX_IMAGE_BASE64_CHARS, AST_MAX_TREE_DEPTH, AST_MAX_VALUE_CHARS, AST_OUTPUT_BUDGET_BYTES, AST_OUTPUT_WARN_BYTES, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type AstChildModel, type AstFieldsValidator, type AstPlacement, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, CURRENT_AST_VERSION, type Capability, CapabilitySchema, type ClaimPageLinkAccessResponse, ClaimPageLinkAccessResponseSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientInfoResponse, ClientInfoResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CrowiCodeSidecar, CrowiCodeSidecarSchema, CrowiDiagramNodeSchema, type CrowiDiagramSidecar, CrowiDiagramSidecarSchema, CrowiDimensionSchema, type CrowiImagePayload, CrowiImagePayloadSchema, CrowiLinkCardNodeSchema, type CrowiLinkCardSidecar, CrowiLinkCardSidecarSchema, type CrowiMathSidecar, CrowiMathSidecarSchema, CrowiOpaqueNodeSchema, type CrowiPlaceholderKind, CrowiPlaceholderKindSchema, CrowiPlaceholderNodeSchema, type CrowiPlaceholderSidecar, CrowiPlaceholderSidecarSchema, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DYNAMIC_CAPABILITIES, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, type HChild, HChildSchema, HChildrenSchema, HNameSchema, HPropertiesSchema, type HastHintData, HastHintDataSchema, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, LooseRenderedAstRootSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, RENDERED_AST_NODE_DEFS, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, RenderedAstArtifactKeySchema, type RenderedAstEnvelope, RenderedAstEnvelopeOpenApiSchema, RenderedAstEnvelopeSchema, type RenderedAstNode, type RenderedAstNodeDef, RenderedAstNodeSchema, RenderedAstRootSchema, type RenderedAstValue, RenderedAstValueSchema, ReservationSchema, type ReservationShape, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, SIDECAR_KEYS, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type ShikiToken, ShikiTokenLinesSchema, ShikiTokenSchema, ShikiTokenStyleSchema, type SidecarKey, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, UPLOAD_ALLOWED_MIME, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type UserSubpagesRequest, UserSubpagesRequestSchema, type ValidationError, ValidationErrorSchema, WS_CLOSE_CODES, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsCloseCode, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getUserSubpagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, unwrapRenderedAst, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
47659
+ export { ALL_CAPABILITIES, ALL_SCOPES, API_SURFACE_VERSION, AST_INPUT_LIMIT_BYTES, AST_MAX_HAST_DEPTH, AST_MAX_IMAGE_BASE64_CHARS, AST_MAX_TREE_DEPTH, AST_MAX_VALUE_CHARS, AST_OUTPUT_BUDGET_BYTES, AST_OUTPUT_WARN_BYTES, type AccessToken, AccessTokenSchema, type ActivateRequest, ActivateRequestSchema, type ActivateValidationResponse, ActivateValidationResponseSchema, type ActiveSearchDriver, ActiveSearchDriverSchema, type ActiveStorageDriver, ActiveStorageDriverSchema, type AddAttachmentResponse, AddAttachmentResponseSchema, type AddBookmarkRequest, AddBookmarkRequestSchema, type AddCommentRequest, AddCommentRequestSchema, type AddCommentResponse, AddCommentResponseSchema, type AdminPager, AdminPagerSchema, type AdminRequiredError, AdminRequiredErrorSchema, type AdminSettingsContractApp, AdminSidebarSection, type AdminSidebarSectionValue, type AdminUserIdParam, AdminUserIdParamSchema, type AdminUserMutationResponse, AdminUserMutationResponseSchema, type AdminUsersPluginsContractApp, type ApiError, ApiErrorSchema, type AppAuthMeUserChain, type AppInfoResponse, AppInfoResponseSchema, type AppSettingsValidationError, AppSettingsValidationErrorSchema, type ApplicationNotInstalledError, ApplicationNotInstalledErrorSchema, type AstChildModel, type AstFieldsValidator, type AstPlacement, type Attachment, type AttachmentError, AttachmentErrorCodeSchema, AttachmentErrorSchema, type AttachmentMeta, AttachmentMetaSchema, AttachmentSchema, type AttachmentUsageResponse, AttachmentUsageResponseSchema, type AuthSettings, AuthSettingsSchema, type AuthenticationRequiredError, AuthenticationRequiredErrorSchema, type AuthorizeRequest, AuthorizeRequestSchema, type AuthorizeResponse, AuthorizeResponseSchema, type AutocompleteRateLimitError, AutocompleteRateLimitErrorSchema, type AutocompleteRequest, AutocompleteRequestSchema, type AutocompleteResponse, AutocompleteResponseSchema, type AutocompleteResult, AutocompleteResultSchema, type Backlink, type BacklinkFromPage, BacklinkFromPageSchema, type BacklinkFromRevision, BacklinkFromRevisionSchema, BacklinkSchema, type Bookmark, type BookmarkBacklinkCommentRevisionChain, type BookmarkResponse, BookmarkResponseSchema, BookmarkSchema, CURRENT_AST_VERSION, type Capability, CapabilitySchema, type ClaimPageLinkAccessResponse, ClaimPageLinkAccessResponseSchema, type ClearRenderCacheResponse, ClearRenderCacheResponseSchema, type ClientInfoResponse, ClientInfoResponseSchema, type ClientOptions, type CollabForceReloadMessage, CollabForceReloadMessageSchema, type CollabSaveError, CollabSaveErrorSchema, type CollabSaveMessage, CollabSaveMessageSchema, type CollabSaveOk, CollabSaveOkSchema, type Comment, type CommentInvalidRequestError, CommentInvalidRequestErrorSchema, type CommentNotFoundError, CommentNotFoundErrorSchema, CommentSchema, type ConfirmEmailChangeRequest, ConfirmEmailChangeRequestSchema, type ConfirmEmailChangeResponse, ConfirmEmailChangeResponseSchema, type ConflictError, ConflictErrorSchema, type ContributorRef, ContributorRefSchema, type CreateAccessTokenRequest, CreateAccessTokenRequestSchema, type CreateAccessTokenResponse, CreateAccessTokenResponseSchema, CreateAdminRequestSchema, CreateAdminResponseSchema, type CreateDraftRequest, CreateDraftRequestSchema, type CreateDraftResponse, CreateDraftResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CrowiCodeSidecar, CrowiCodeSidecarSchema, CrowiDiagramNodeSchema, type CrowiDiagramSidecar, CrowiDiagramSidecarSchema, CrowiDimensionSchema, type CrowiImagePayload, CrowiImagePayloadSchema, CrowiLinkCardNodeSchema, type CrowiLinkCardSidecar, CrowiLinkCardSidecarSchema, type CrowiMathSidecar, CrowiMathSidecarSchema, CrowiOpaqueNodeSchema, type CrowiPlaceholderKind, CrowiPlaceholderKindSchema, CrowiPlaceholderNodeSchema, type CrowiPlaceholderSidecar, CrowiPlaceholderSidecarSchema, type CryptoStatusResponse, CryptoStatusResponseSchema, DEVICE_CODE_GRANT_TYPE, DISCOVERY_SCOPES_SUPPORTED, DYNAMIC_CAPABILITIES, type DeleteAdminUserResponse, DeleteAdminUserResponseSchema, type DeleteCommentRequest, DeleteCommentRequestSchema, type DeleteCommentResponse, DeleteCommentResponseSchema, type DeviceAuthorizeRequest, DeviceAuthorizeRequestSchema, type DeviceAuthorizeResponse, DeviceAuthorizeResponseSchema, type DeviceInfoResponse, DeviceInfoResponseSchema, type DeviceVerifyRequest, DeviceVerifyRequestSchema, type DeviceVerifyResponse, DeviceVerifyResponseSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DraftBadRequestError, DraftBadRequestErrorSchema, type DraftConflictOwner, DraftConflictOwnerSchema, type DraftNotFoundError, DraftNotFoundErrorSchema, type DraftPathConflictError, DraftPathConflictErrorSchema, type DraftSummary, DraftSummarySchema, ERROR_CODES, type EditAdminUserRequest, EditAdminUserRequestSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, type ForbiddenError, ForbiddenErrorSchema, type ForgotPasswordRequest, ForgotPasswordRequestSchema, type ForgotPasswordResponse, ForgotPasswordResponseSchema, GRANT_TYPES_SUPPORTED, type GetAppSettingsResponse, GetAppSettingsResponseSchema, type GetAuthSettingsResponse, GetAuthSettingsResponseSchema, type GetBacklinksRequest, GetBacklinksRequestSchema, type GetBacklinksResponse, GetBacklinksResponseSchema, type GetBookmarkRequest, GetBookmarkRequestSchema, type GetLikersRequest, GetLikersRequestSchema, type GetMailSettingsResponse, GetMailSettingsResponseSchema, type GetPageRequest, GetPageRequestSchema, type GetPageResponse, GetPageResponseSchema, type GetRevisionResponse, GetRevisionResponseSchema, type GetRevisionsRequest, GetRevisionsRequestSchema, type GetRevisionsResponse, GetRevisionsResponseSchema, type GetSearchStatusResponse, GetSearchStatusResponseSchema, type GetSecuritySettingsResponse, GetSecuritySettingsResponseSchema, type GetSeenUsersRequest, GetSeenUsersRequestSchema, type GetStorageStatusResponse, GetStorageStatusResponseSchema, type GetWatchStatusRequest, GetWatchStatusRequestSchema, type HChild, HChildSchema, HChildrenSchema, HNameSchema, HPropertiesSchema, type HastHintData, HastHintDataSchema, ISSUABLE_SCOPES, InstallerStatusResponseSchema, type InsufficientScopeError, InsufficientScopeErrorSchema, type InternalServerError, InternalServerErrorSchema, type InvalidPageIdError, InvalidPageIdErrorSchema, type InvalidScopeError, InvalidScopeErrorSchema, type InviteAcceptRequest, InviteAcceptRequestSchema, type InvitePreviewResponse, InvitePreviewResponseSchema, type InviteUsersRequest, InviteUsersRequestSchema, type InviteUsersResponse, InviteUsersResponseSchema, type InvitedUserResult, InvitedUserResultSchema, KNOWN_HTML_ELEMENTS, type Language, LanguageSchema, type LateContractApp, type Liker, LikerSchema, type LikersResponse, LikersResponseSchema, type ListAccessTokensResponse, ListAccessTokensResponseSchema, type ListAdminUsersRequest, ListAdminUsersRequestSchema, type ListAdminUsersResponse, ListAdminUsersResponseSchema, type ListAttachmentsResponse, ListAttachmentsResponseSchema, type ListCommentsRequest, ListCommentsRequestSchema, type ListCommentsResponse, ListCommentsResponseSchema, type ListDraftsResponse, ListDraftsResponseSchema, type ListMyBookmarksResponse, ListMyBookmarksResponseSchema, type ListNotificationsRequest, ListNotificationsRequestSchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type ListPageChildrenRequest, ListPageChildrenRequestSchema, type ListPageChildrenResponse, ListPageChildrenResponseSchema, type ListPagesRequest, ListPagesRequestSchema, type ListPagesResponse, ListPagesResponseSchema, type ListPagesSort, type ListPluginsResponse, ListPluginsResponseSchema, type ListRevisionsRequest, ListRevisionsRequestSchema, type ListRevisionsResponse, ListRevisionsResponseSchema, type ListUsersRequest, ListUsersRequestSchema, type ListUsersResponse, ListUsersResponseSchema, LooseRenderedAstRootSchema, type MailSettingsValidationError, MailSettingsValidationErrorSchema, type MailTokenPayload, MailTokenPayloadSchema, type MailTokenPurpose, MailTokenPurposeSchema, type MarkAllAsReadResponse, MarkAllAsReadResponseSchema, type MentionResponse, MentionSchema, type NotFoundError, NotFoundErrorSchema, type Notification, type NotificationAction, NotificationActionEnum, NotificationActionSchema, type NotificationNotFoundError, NotificationNotFoundErrorSchema, NotificationSchema, type NotificationStatus, NotificationStatusEnum, type NotificationStatusResponse, NotificationStatusResponseSchema, NotificationStatusSchema, type NotificationTargetModel, NotificationTargetModelEnum, NotificationTargetModelSchema, type NotificationsChangedMessage, NotificationsChangedMessageSchema, type NotificationsServerMessage, NotificationsServerMessageSchema, type NotificationsTokenPayload, NotificationsTokenPayloadSchema, type NotificationsTokenResponse, NotificationsTokenResponseSchema, OAUTH_ERROR_CODES, type OAuthContractApp, type OAuthError, type OAuthErrorCode, OAuthErrorSchema, type OpenNotificationParam, OpenNotificationParamSchema, type OpenNotificationResponse, OpenNotificationResponseSchema, type Page, type PageChain, type PageChildSegment, PageChildSegmentSchema, PageExtendedSchema, PageGrantEnum, PageGrantSchema, type PageNotFoundError, PageNotFoundErrorSchema, type PageNotGrantedError, PageNotGrantedErrorSchema, type PageRef, PageRefSchema, type PageRevisionError, PageRevisionErrorSchema, PageSchema, PageStatusEnum, PageStatusSchema, PageTypeEnum, PageTypeSchema, type PageUser, PageUserSchema, type PageWithRevision, PageWithRevisionSchema, type Pager, PagerSchema, type PaginationRequest, PaginationRequestSchema, type PasswordErrorResponse, PasswordErrorResponseSchema, type PasswordUpdateSuccess, PasswordUpdateSuccessSchema, type PastAttachmentUsage, PastAttachmentUsageSchema, type PendingUsersCountResponse, PendingUsersCountResponseSchema, type PictureUploadResponse, PictureUploadResponseSchema, type PluginAdminPlacement, PluginAdminPlacementSchema, type PluginConfigResponse, PluginConfigResponseSchema, type PluginConfigValidationError, PluginConfigValidationErrorSchema, type PluginField, PluginFieldSchema, type PluginInfo, PluginInfoSchema, type PluginNotFoundError, PluginNotFoundErrorSchema, type PluginReadinessField, PluginReadinessFieldSchema, type PluginReadinessIssue, PluginReadinessIssueSchema, type PluginReadinessResponse, PluginReadinessResponseSchema, type PresenceClientMessage, PresenceClientMessageSchema, type PresenceCommentChangedMessage, PresenceCommentChangedMessageSchema, type PresenceHeartbeatMessage, PresenceHeartbeatMessageSchema, type PresencePageUpdatedMessage, PresencePageUpdatedMessageSchema, type PresenceServerMessage, PresenceServerMessageSchema, type PresenceTokenPayload, PresenceTokenPayloadSchema, type PresenceTokenResponse, PresenceTokenResponseSchema, type PresenceViewer, PresenceViewerSchema, type PresenceViewersMessage, PresenceViewersMessageSchema, type PreviewPageRequest, PreviewPageRequestSchema, type PreviewPageResponse, PreviewPageResponseSchema, type ProfileErrorResponse, ProfileErrorResponseSchema, RENDERED_AST_NODE_DEFS, type RecentlyViewedPagesResponse, RecentlyViewedPagesResponseSchema, type ReencryptResponse, ReencryptResponseSchema, RefreshTokenRequestSchema, type RegisterPendingResponse, RegisterPendingResponseSchema, type RegistrationMode, RegistrationModeSchema, type RemoveAttachmentResponse, RemoveAttachmentResponseSchema, type RemoveBookmarkRequest, RemoveBookmarkRequestSchema, type RemoveBookmarkResponse, RemoveBookmarkResponseSchema, type RenamePageRequest, RenamePageRequestSchema, type RenamePageResponse, RenamePageResponseSchema, type RenameSubtreeRequest, RenameSubtreeRequestSchema, type RenameSubtreeResponse, RenameSubtreeResponseSchema, type RenameTreeError, RenameTreeErrorSchema, RenderedAstArtifactKeySchema, type RenderedAstEnvelope, RenderedAstEnvelopeOpenApiSchema, RenderedAstEnvelopeSchema, type RenderedAstNode, type RenderedAstNodeDef, RenderedAstNodeSchema, RenderedAstRootSchema, type RenderedAstValue, RenderedAstValueSchema, ReservationSchema, type ReservationShape, type ResetPasswordRequest, ResetPasswordRequestSchema, type ResetPasswordResponse, ResetPasswordResponseSchema, type RevertToRevisionRequest, RevertToRevisionRequestSchema, type Revision, type RevisionInvalidRequestError, RevisionInvalidRequestErrorSchema, type RevisionMeta, RevisionMetaSchema, RevisionMetaSchemaShape, type RevisionMetaShape, RevisionSchema, type RevisionType, RevisionTypeSchema, type RevokeRequest, RevokeRequestSchema, type RevokeResponse, RevokeResponseSchema, SCOPES, SIDECAR_KEYS, STATIC_CAPABILITIES, STRIP_KNOWN_HTML_TAGS_MAX_LENGTH, type Scope, type SearchAdminUsersByEmailRequest, SearchAdminUsersByEmailRequestSchema, type SearchAdminUsersByEmailResponse, SearchAdminUsersByEmailResponseSchema, type SearchDriverEntry, SearchDriverEntrySchema, type SearchHit, SearchHitSchema, type SearchPageType, SearchPageTypeSchema, type SearchPagesRequest, SearchPagesRequestSchema, type SearchPagesResponse, SearchPagesResponseSchema, type SecuritySettings, SecuritySettingsSchema, type SeenPageRequest, SeenPageRequestSchema, type SeenUsersResponse, SeenUsersResponseSchema, type SendTestMailError, SendTestMailErrorSchema, type SendTestMailRequest, SendTestMailRequestSchema, type SendTestMailResponse, SendTestMailResponseSchema, type SensitiveConfigEntry, SensitiveConfigEntrySchema, type ServiceUnavailableError, ServiceUnavailableErrorSchema, type SetPageGrantRequest, SetPageGrantRequestSchema, type SetWatchStatusRequest, SetWatchStatusRequestSchema, type ShikiToken, ShikiTokenLinesSchema, ShikiTokenSchema, ShikiTokenStyleSchema, type SidecarKey, type StorageDriverEntry, StorageDriverEntrySchema, type SuccessResponse, SuccessResponseSchema, type Theme, ThemeSchema, type ThemeUpdateResponse, ThemeUpdateResponseSchema, type ThirdPartyAuthRequiredError, ThirdPartyAuthRequiredErrorSchema, type ThirdPartyAuthUnavailableError, ThirdPartyAuthUnavailableErrorSchema, type TocEntryResponse, TocEntrySchema, TokenAuthLoginRequestSchema, TokenAuthRegisterRequestSchema, TokenAuthResponseSchema, type TokenRequest, TokenRequestSchema, type TokenResponse, TokenResponseSchema, UPLOAD_ALLOWED_MIME, type UpdateAdminUserEmailRequest, UpdateAdminUserEmailRequestSchema, type UpdateAppSettingsRequest, UpdateAppSettingsRequestSchema, type UpdateAppSettingsResponse, UpdateAppSettingsResponseSchema, type UpdateAuthSettingsRequest, UpdateAuthSettingsRequestSchema, type UpdateAuthSettingsResponse, UpdateAuthSettingsResponseSchema, type UpdateMailSettingsRequest, UpdateMailSettingsRequestSchema, type UpdateMailSettingsResponse, UpdateMailSettingsResponseSchema, type UpdatePageRequest, UpdatePageRequestSchema, type UpdatePasswordRequest, UpdatePasswordRequestSchema, type UpdatePluginConfigRequest, UpdatePluginConfigRequestSchema, type UpdatePluginConfigResponse, UpdatePluginConfigResponseSchema, type UpdateProfileRequest, UpdateProfileRequestSchema, type UpdateSecuritySettingsRequest, UpdateSecuritySettingsRequestSchema, type UpdateSecuritySettingsResponse, UpdateSecuritySettingsResponseSchema, type UpdateThemeRequest, UpdateThemeRequestSchema, type UploadAttachmentError, type UploadAttachmentErrorCode, UploadAttachmentErrorCodeSchema, UploadAttachmentErrorSchema, type UploadAttachmentResponse, UploadAttachmentResponseSchema, type UserBookmarksResponse, UserBookmarksResponseSchema, type UserLanguage, UserLanguageSchema, type UserListItem, UserListItemSchema, type UserNotFoundError, UserNotFoundErrorSchema, type UserPageResponse, UserPageResponseSchema, type UserPagesResponse, UserPagesResponseSchema, type UserProfileResponse, UserProfileResponseSchema, type UserPublic, UserPublicSchema, UserPublicStatus, UserStatusEnum, type UserStatusError, UserStatusErrorSchema, UserStatusSchema, type UserSubpagesRequest, UserSubpagesRequestSchema, type Username, UsernameSchema, type ValidationError, ValidationErrorSchema, WS_CLOSE_CODES, type WatchStatusResponse, WatchStatusResponseSchema, type WikiLinkResponse, WikiLinkSchema, type WsCloseCode, type WsTokenPayload, WsTokenPayloadSchema, type WsTokenResponse, WsTokenResponseSchema, acceptInviteRoute, accessTokenRoutes, activateAccountRoute, activateUserRoute, activationRoutes, addAttachmentRoute, addBookmarkRoute, addCommentRoute, adminAppRoutes, adminAuthRoutes, adminCryptoRoutes, adminMailRoutes, adminPluginsRoutes, adminSearchRoutes, adminSecurityRoutes, adminStorageRoutes, adminUsersRoutes, appRoutes, attachmentRoutes, authorizeRoute, autocompletePagesRoute, autocompleteRoutes, autocompleteUsersRoute, backlinkRoutes, bookmarkRoutes, cancelDraftRoute, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPluginReadinessRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getUserSubpagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, makeAdminRoute, markAllAsReadRoute, meRoutes, notificationRoutes, oauthRoutes, openNotificationRoute, pageCollabRoutes, pagePreviewRoutes, pageRoutes, parseScopeClaim, passwordResetRoutes, pendingUsersCountRoute, presenceRoutes, previewPageRoute, recentlyViewedPagesRoute, reencryptAllRoute, removeAttachmentRoute, removeBookmarkRoute, removeFromAdminRoute, renamePageRoute, renameSubtreeRoute, resendInviteRoute, resetPasswordRoute, revertDeletedPageRoute, revertToRevisionRoute, revisionRoutes, revokeRoute, scopeSatisfies, searchPagesRoute, searchRoutes, searchUsersByEmailRoute, seenPageRoute, selfResetPasswordRoute, sendTestMailRoute, setPageGrantRoute, setWatchStatusRoute, stripKnownHtmlTags, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, unwrapRenderedAst, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };