@crowi/api-contract 2.0.0-alpha.14 → 2.0.0-alpha.15

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
@@ -9200,6 +9200,7 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9200
9200
  name: string;
9201
9201
  email: string;
9202
9202
  createdAt: string;
9203
+ linkedProviders: string[];
9203
9204
  id?: string | undefined;
9204
9205
  image?: string | null | undefined;
9205
9206
  introduction?: string | undefined;
@@ -9438,7 +9439,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9438
9439
  } & {
9439
9440
  json: {
9440
9441
  name: string;
9441
- email: string;
9442
9442
  };
9443
9443
  };
9444
9444
  output: {
@@ -9457,7 +9457,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9457
9457
  } & {
9458
9458
  json: {
9459
9459
  name: string;
9460
- email: string;
9461
9460
  };
9462
9461
  };
9463
9462
  output: {
@@ -9477,7 +9476,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9477
9476
  } & {
9478
9477
  json: {
9479
9478
  name: string;
9480
- email: string;
9481
9479
  };
9482
9480
  };
9483
9481
  output: {
@@ -9496,7 +9494,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9496
9494
  } & {
9497
9495
  json: {
9498
9496
  name: string;
9499
- email: string;
9500
9497
  };
9501
9498
  };
9502
9499
  output: {
@@ -9521,7 +9518,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9521
9518
  } & {
9522
9519
  json: {
9523
9520
  name: string;
9524
- email: string;
9525
9521
  };
9526
9522
  };
9527
9523
  output: {
@@ -9541,7 +9537,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9541
9537
  } & {
9542
9538
  json: {
9543
9539
  name: string;
9544
- email: string;
9545
9540
  };
9546
9541
  };
9547
9542
  output: {
@@ -9560,25 +9555,6 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
9560
9555
  };
9561
9556
  outputFormat: "json";
9562
9557
  status: 200;
9563
- } | {
9564
- input: {
9565
- param: {
9566
- id: string;
9567
- };
9568
- } & {
9569
- json: {
9570
- name: string;
9571
- email: string;
9572
- };
9573
- };
9574
- output: {
9575
- error: {
9576
- code: "CONFLICT";
9577
- message: string;
9578
- };
9579
- };
9580
- outputFormat: "json";
9581
- status: 409;
9582
9558
  };
9583
9559
  };
9584
9560
  } & {
@@ -10361,6 +10337,138 @@ declare const adminUsersPluginsContractApp: OpenAPIHono<hono.Env, {
10361
10337
  code: "CONFLICT";
10362
10338
  message: string;
10363
10339
  };
10340
+ } | {
10341
+ error: {
10342
+ code: "EMAIL_LOCKED_BY_FEDERATED_IDENTITY";
10343
+ message: string;
10344
+ };
10345
+ };
10346
+ outputFormat: "json";
10347
+ status: 409;
10348
+ };
10349
+ };
10350
+ } & {
10351
+ "/admin/users/:id/identities/:provider": {
10352
+ $delete: {
10353
+ input: {
10354
+ param: {
10355
+ id: string;
10356
+ provider: string;
10357
+ };
10358
+ };
10359
+ output: {
10360
+ error: {
10361
+ code: "INTERNAL_ERROR";
10362
+ message: "Internal server error";
10363
+ };
10364
+ };
10365
+ outputFormat: "json";
10366
+ status: 500;
10367
+ } | {
10368
+ input: {
10369
+ param: {
10370
+ id: string;
10371
+ provider: string;
10372
+ };
10373
+ };
10374
+ output: {
10375
+ error: {
10376
+ code: "AUTHENTICATION_REQUIRED";
10377
+ message: "Authentication is required";
10378
+ redirectTo?: string | undefined;
10379
+ };
10380
+ };
10381
+ outputFormat: "json";
10382
+ status: 401;
10383
+ } | {
10384
+ input: {
10385
+ param: {
10386
+ id: string;
10387
+ provider: string;
10388
+ };
10389
+ };
10390
+ output: {
10391
+ error: {
10392
+ code: "VALIDATION_ERROR";
10393
+ message: string;
10394
+ details?: {
10395
+ fieldErrors: {
10396
+ [x: string]: string[];
10397
+ };
10398
+ formErrors: string[];
10399
+ } | undefined;
10400
+ };
10401
+ };
10402
+ outputFormat: "json";
10403
+ status: 400;
10404
+ } | {
10405
+ input: {
10406
+ param: {
10407
+ id: string;
10408
+ provider: string;
10409
+ };
10410
+ };
10411
+ output: {
10412
+ error: {
10413
+ code: "ADMIN_REQUIRED";
10414
+ message: "Admin permission required";
10415
+ redirectTo?: string | undefined;
10416
+ };
10417
+ };
10418
+ outputFormat: "json";
10419
+ status: 403;
10420
+ } | {
10421
+ input: {
10422
+ param: {
10423
+ id: string;
10424
+ provider: string;
10425
+ };
10426
+ };
10427
+ output: {
10428
+ user: {
10429
+ _id: string;
10430
+ username: string;
10431
+ name: string;
10432
+ email: string;
10433
+ createdAt: string;
10434
+ id?: string | undefined;
10435
+ image?: string | null | undefined;
10436
+ introduction?: string | undefined;
10437
+ admin?: boolean | undefined;
10438
+ status?: 1 | 4 | 2 | 3 | 5 | undefined;
10439
+ };
10440
+ passwordIssued: boolean;
10441
+ newPassword?: string | undefined;
10442
+ };
10443
+ outputFormat: "json";
10444
+ status: 200;
10445
+ } | {
10446
+ input: {
10447
+ param: {
10448
+ id: string;
10449
+ provider: string;
10450
+ };
10451
+ };
10452
+ output: {
10453
+ error: {
10454
+ code: "NOT_FOUND" | "NOT_LINKED";
10455
+ message: string;
10456
+ };
10457
+ };
10458
+ outputFormat: "json";
10459
+ status: 404;
10460
+ } | {
10461
+ input: {
10462
+ param: {
10463
+ id: string;
10464
+ provider: string;
10465
+ };
10466
+ };
10467
+ output: {
10468
+ error: {
10469
+ code: "CANNOT_UNLINK_SELF" | "PASSWORD_AUTH_DISABLED";
10470
+ message: string;
10471
+ };
10364
10472
  };
10365
10473
  outputFormat: "json";
10366
10474
  status: 409;
@@ -41742,6 +41850,34 @@ declare const ListAdminUsersRequestSchema: z.ZodObject<{
41742
41850
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
41743
41851
  }, z.core.$strip>;
41744
41852
  type ListAdminUsersRequest = z.infer<typeof ListAdminUsersRequestSchema>;
41853
+ /**
41854
+ * A `UserPublic` row plus the provider slugs this user has a federated
41855
+ * identity for. Deliberately NOT folded into `UserPublicSchema` — that
41856
+ * schema is shared by every admin endpoint that returns a user (edit,
41857
+ * makeAdmin, resetPassword, ...), and adding `linkedProviders` there would
41858
+ * leak it into responses that never populate it. Only the list route
41859
+ * computes and attaches this field.
41860
+ */
41861
+ declare const AdminUserListItemSchema: z.ZodObject<{
41862
+ _id: z.ZodString;
41863
+ id: z.ZodOptional<z.ZodString>;
41864
+ username: z.ZodString;
41865
+ name: z.ZodString;
41866
+ email: z.ZodString;
41867
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41868
+ introduction: z.ZodOptional<z.ZodString>;
41869
+ createdAt: z.ZodString;
41870
+ admin: z.ZodOptional<z.ZodBoolean>;
41871
+ status: z.ZodOptional<z.ZodEnum<{
41872
+ readonly REGISTERED: 1;
41873
+ readonly ACTIVE: 2;
41874
+ readonly SUSPENDED: 3;
41875
+ readonly DELETED: 4;
41876
+ readonly INVITED: 5;
41877
+ }>>;
41878
+ linkedProviders: z.ZodArray<z.ZodString>;
41879
+ }, z.core.$strip>;
41880
+ type AdminUserListItem = z.infer<typeof AdminUserListItemSchema>;
41745
41881
  /**
41746
41882
  * Response body for GET /admin/users.
41747
41883
  *
@@ -41767,6 +41903,7 @@ declare const ListAdminUsersResponseSchema: z.ZodObject<{
41767
41903
  readonly DELETED: 4;
41768
41904
  readonly INVITED: 5;
41769
41905
  }>>;
41906
+ linkedProviders: z.ZodArray<z.ZodString>;
41770
41907
  }, z.core.$strip>>;
41771
41908
  pager: z.ZodObject<{
41772
41909
  page: z.ZodNumber;
@@ -41883,16 +42020,13 @@ declare const InviteUsersResponseSchema: z.ZodObject<{
41883
42020
  }, z.core.$strip>;
41884
42021
  type InviteUsersResponse = z.infer<typeof InviteUsersResponseSchema>;
41885
42022
  /**
41886
- * Request body for PATCH /admin/users/:id.
41887
- *
41888
- * Both `name` and `email` are required by the legacy form (userEditForm),
41889
- * so we keep them required here too. The dedicated PUT /admin/users/:id/email
41890
- * endpoint exists for partial email-only updates that come from a different
41891
- * UI affordance (the table row "change email" action).
42023
+ * Request body for PATCH /admin/users/:id. Writes only `name` — a federated
42024
+ * user's email has to be lockable against admin-side edits, and that lock
42025
+ * only has one place to live if there is only one email-writing route.
42026
+ * `PUT /admin/users/:id/email` is the sole email-change path.
41892
42027
  */
41893
42028
  declare const EditAdminUserRequestSchema: z.ZodObject<{
41894
42029
  name: z.ZodString;
41895
- email: z.ZodString;
41896
42030
  }, z.core.$strip>;
41897
42031
  type EditAdminUserRequest = z.infer<typeof EditAdminUserRequestSchema>;
41898
42032
  /**
@@ -41964,6 +42098,94 @@ declare const UpdateAdminUserEmailRequestSchema: z.ZodObject<{
41964
42098
  email: z.ZodString;
41965
42099
  }, z.core.$strip>;
41966
42100
  type UpdateAdminUserEmailRequest = z.infer<typeof UpdateAdminUserEmailRequestSchema>;
42101
+ /**
42102
+ * 409 sibling to `ConflictErrorSchema` on PUT /admin/users/:id/email,
42103
+ * returned instead of a write when the target has a federated identity and
42104
+ * the request would move their email away from the IdP-verified address.
42105
+ * Kept as its own literal-code schema (not folded into the shared
42106
+ * `ConflictErrorSchema`, and not registered on the central `ErrorCodeSchema`
42107
+ * enum) so this one feature's error shape does not widen either shared
42108
+ * contract — the route declares both as a union response instead.
42109
+ */
42110
+ declare const EmailLockedByFederatedIdentityErrorSchema: z.ZodObject<{
42111
+ error: z.ZodObject<{
42112
+ code: z.ZodLiteral<"EMAIL_LOCKED_BY_FEDERATED_IDENTITY">;
42113
+ message: z.ZodString;
42114
+ }, z.core.$strip>;
42115
+ }, z.core.$strip>;
42116
+ type EmailLockedByFederatedIdentityError = z.infer<typeof EmailLockedByFederatedIdentityErrorSchema>;
42117
+ /**
42118
+ * Path params for DELETE /admin/users/:id/identities/:provider.
42119
+ */
42120
+ declare const AdminUserIdentityParamSchema: z.ZodObject<{
42121
+ id: z.ZodString;
42122
+ provider: z.ZodString;
42123
+ }, z.core.$strip>;
42124
+ type AdminUserIdentityParam = z.infer<typeof AdminUserIdentityParamSchema>;
42125
+ /**
42126
+ * Response body for DELETE /admin/users/:id/identities/:provider.
42127
+ *
42128
+ * `passwordIssued` tells the caller which of the two admin-unlink paths ran
42129
+ * (spec design decision: issue a password only when the target has none) so
42130
+ * the UI can show "share this new password" vs "the password was not
42131
+ * touched". `newPassword` is present only when `passwordIssued` is true.
42132
+ */
42133
+ declare const UnlinkUserIdentityResponseSchema: z.ZodObject<{
42134
+ user: z.ZodObject<{
42135
+ _id: z.ZodString;
42136
+ id: z.ZodOptional<z.ZodString>;
42137
+ username: z.ZodString;
42138
+ name: z.ZodString;
42139
+ email: z.ZodString;
42140
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42141
+ introduction: z.ZodOptional<z.ZodString>;
42142
+ createdAt: z.ZodString;
42143
+ admin: z.ZodOptional<z.ZodBoolean>;
42144
+ status: z.ZodOptional<z.ZodEnum<{
42145
+ readonly REGISTERED: 1;
42146
+ readonly ACTIVE: 2;
42147
+ readonly SUSPENDED: 3;
42148
+ readonly DELETED: 4;
42149
+ readonly INVITED: 5;
42150
+ }>>;
42151
+ }, z.core.$strip>;
42152
+ passwordIssued: z.ZodBoolean;
42153
+ newPassword: z.ZodOptional<z.ZodString>;
42154
+ }, z.core.$strip>;
42155
+ type UnlinkUserIdentityResponse = z.infer<typeof UnlinkUserIdentityResponseSchema>;
42156
+ /**
42157
+ * 404 for DELETE /admin/users/:id/identities/:provider: either the user id
42158
+ * resolves to nothing (`NOT_FOUND`), or the user exists but has no identity
42159
+ * for the given provider (`NOT_LINKED`). Combined into one schema (mirroring
42160
+ * `UnlinkAuthProviderErrorSchema`'s self-service sibling) since a single
42161
+ * response status can declare only one content schema.
42162
+ */
42163
+ declare const UnlinkUserIdentityNotFoundErrorSchema: z.ZodObject<{
42164
+ error: z.ZodObject<{
42165
+ code: z.ZodEnum<{
42166
+ NOT_FOUND: "NOT_FOUND";
42167
+ NOT_LINKED: "NOT_LINKED";
42168
+ }>;
42169
+ message: z.ZodString;
42170
+ }, z.core.$strip>;
42171
+ }, z.core.$strip>;
42172
+ type UnlinkUserIdentityNotFoundError = z.infer<typeof UnlinkUserIdentityNotFoundErrorSchema>;
42173
+ /**
42174
+ * 409 for DELETE /admin/users/:id/identities/:provider: refused because the
42175
+ * target is the operating admin themself (`CANNOT_UNLINK_SELF`), or because
42176
+ * password auth is disabled instance-wide so issuing a password would not
42177
+ * help (`PASSWORD_AUTH_DISABLED`).
42178
+ */
42179
+ declare const UnlinkUserIdentityConflictErrorSchema: z.ZodObject<{
42180
+ error: z.ZodObject<{
42181
+ code: z.ZodEnum<{
42182
+ CANNOT_UNLINK_SELF: "CANNOT_UNLINK_SELF";
42183
+ PASSWORD_AUTH_DISABLED: "PASSWORD_AUTH_DISABLED";
42184
+ }>;
42185
+ message: z.ZodString;
42186
+ }, z.core.$strip>;
42187
+ }, z.core.$strip>;
42188
+ type UnlinkUserIdentityConflictError = z.infer<typeof UnlinkUserIdentityConflictErrorSchema>;
41967
42189
  /**
41968
42190
  * Response body for DELETE /admin/users/:id.
41969
42191
  *
@@ -42047,6 +42269,7 @@ declare const listUsersRoute: {
42047
42269
  readonly DELETED: 4;
42048
42270
  readonly INVITED: 5;
42049
42271
  }>>;
42272
+ linkedProviders: z.ZodArray<z.ZodString>;
42050
42273
  }, z.core.$strip>>;
42051
42274
  pager: z.ZodObject<{
42052
42275
  page: z.ZodNumber;
@@ -42313,7 +42536,6 @@ declare const editUserRoute: {
42313
42536
  'application/json': {
42314
42537
  schema: z.ZodObject<{
42315
42538
  name: z.ZodString;
42316
- email: z.ZodString;
42317
42539
  }, z.core.$strip>;
42318
42540
  };
42319
42541
  };
@@ -42405,19 +42627,6 @@ declare const editUserRoute: {
42405
42627
  };
42406
42628
  };
42407
42629
  };
42408
- 409: {
42409
- description: string;
42410
- content: {
42411
- 'application/json': {
42412
- schema: z.ZodObject<{
42413
- error: z.ZodObject<{
42414
- code: z.ZodLiteral<"CONFLICT">;
42415
- message: z.ZodString;
42416
- }, z.core.$strip>;
42417
- }, z.core.$strip>;
42418
- };
42419
- };
42420
- };
42421
42630
  500: {
42422
42631
  description: string;
42423
42632
  content: {
@@ -42433,10 +42642,126 @@ declare const editUserRoute: {
42433
42642
  };
42434
42643
  };
42435
42644
  } & {
42436
- getRoutingPath(): "/admin/users/:id";
42645
+ getRoutingPath(): "/admin/users/:id";
42646
+ };
42647
+ declare const makeAdminRoute: {
42648
+ method: "put";
42649
+ path: "/admin/users/{id}/admin";
42650
+ tags: string[];
42651
+ security: {
42652
+ bearerAuth: never[];
42653
+ }[];
42654
+ summary: string;
42655
+ request: {
42656
+ params: z.ZodObject<{
42657
+ id: z.ZodString;
42658
+ }, z.core.$strip>;
42659
+ };
42660
+ responses: {
42661
+ 200: {
42662
+ description: string;
42663
+ content: {
42664
+ 'application/json': {
42665
+ schema: z.ZodObject<{
42666
+ user: z.ZodObject<{
42667
+ _id: z.ZodString;
42668
+ id: z.ZodOptional<z.ZodString>;
42669
+ username: z.ZodString;
42670
+ name: z.ZodString;
42671
+ email: z.ZodString;
42672
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42673
+ introduction: z.ZodOptional<z.ZodString>;
42674
+ createdAt: z.ZodString;
42675
+ admin: z.ZodOptional<z.ZodBoolean>;
42676
+ status: z.ZodOptional<z.ZodEnum<{
42677
+ readonly REGISTERED: 1;
42678
+ readonly ACTIVE: 2;
42679
+ readonly SUSPENDED: 3;
42680
+ readonly DELETED: 4;
42681
+ readonly INVITED: 5;
42682
+ }>>;
42683
+ }, z.core.$strip>;
42684
+ }, z.core.$strip>;
42685
+ };
42686
+ };
42687
+ };
42688
+ 400: {
42689
+ description: string;
42690
+ content: {
42691
+ 'application/json': {
42692
+ schema: z.ZodObject<{
42693
+ error: z.ZodObject<{
42694
+ code: z.ZodLiteral<"VALIDATION_ERROR">;
42695
+ message: z.ZodString;
42696
+ details: z.ZodOptional<z.ZodObject<{
42697
+ fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
42698
+ formErrors: z.ZodArray<z.ZodString>;
42699
+ }, z.core.$strip>>;
42700
+ }, z.core.$strip>;
42701
+ }, z.core.$strip>;
42702
+ };
42703
+ };
42704
+ };
42705
+ 401: {
42706
+ description: string;
42707
+ content: {
42708
+ 'application/json': {
42709
+ schema: z.ZodObject<{
42710
+ error: z.ZodObject<{
42711
+ code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
42712
+ message: z.ZodLiteral<"Authentication is required">;
42713
+ redirectTo: z.ZodOptional<z.ZodString>;
42714
+ }, z.core.$strip>;
42715
+ }, z.core.$strip>;
42716
+ };
42717
+ };
42718
+ };
42719
+ 403: {
42720
+ description: string;
42721
+ content: {
42722
+ 'application/json': {
42723
+ schema: z.ZodObject<{
42724
+ error: z.ZodObject<{
42725
+ code: z.ZodLiteral<"ADMIN_REQUIRED">;
42726
+ message: z.ZodLiteral<"Admin permission required">;
42727
+ redirectTo: z.ZodOptional<z.ZodString>;
42728
+ }, z.core.$strip>;
42729
+ }, z.core.$strip>;
42730
+ };
42731
+ };
42732
+ };
42733
+ 404: {
42734
+ description: string;
42735
+ content: {
42736
+ 'application/json': {
42737
+ schema: z.ZodObject<{
42738
+ error: z.ZodObject<{
42739
+ code: z.ZodLiteral<"NOT_FOUND">;
42740
+ message: z.ZodString;
42741
+ }, z.core.$strip>;
42742
+ }, z.core.$strip>;
42743
+ };
42744
+ };
42745
+ };
42746
+ 500: {
42747
+ description: string;
42748
+ content: {
42749
+ 'application/json': {
42750
+ schema: z.ZodObject<{
42751
+ error: z.ZodObject<{
42752
+ code: z.ZodLiteral<"INTERNAL_ERROR">;
42753
+ message: z.ZodLiteral<"Internal server error">;
42754
+ }, z.core.$strip>;
42755
+ }, z.core.$strip>;
42756
+ };
42757
+ };
42758
+ };
42759
+ };
42760
+ } & {
42761
+ getRoutingPath(): "/admin/users/:id/admin";
42437
42762
  };
42438
- declare const makeAdminRoute: {
42439
- method: "put";
42763
+ declare const removeFromAdminRoute: {
42764
+ method: "delete";
42440
42765
  path: "/admin/users/{id}/admin";
42441
42766
  tags: string[];
42442
42767
  security: {
@@ -42551,9 +42876,9 @@ declare const makeAdminRoute: {
42551
42876
  } & {
42552
42877
  getRoutingPath(): "/admin/users/:id/admin";
42553
42878
  };
42554
- declare const removeFromAdminRoute: {
42555
- method: "delete";
42556
- path: "/admin/users/{id}/admin";
42879
+ declare const activateUserRoute: {
42880
+ method: "put";
42881
+ path: "/admin/users/{id}/status/active";
42557
42882
  tags: string[];
42558
42883
  security: {
42559
42884
  bearerAuth: never[];
@@ -42665,11 +42990,11 @@ declare const removeFromAdminRoute: {
42665
42990
  };
42666
42991
  };
42667
42992
  } & {
42668
- getRoutingPath(): "/admin/users/:id/admin";
42993
+ getRoutingPath(): "/admin/users/:id/status/active";
42669
42994
  };
42670
- declare const activateUserRoute: {
42995
+ declare const suspendUserRoute: {
42671
42996
  method: "put";
42672
- path: "/admin/users/{id}/status/active";
42997
+ path: "/admin/users/{id}/status/suspended";
42673
42998
  tags: string[];
42674
42999
  security: {
42675
43000
  bearerAuth: never[];
@@ -42781,11 +43106,11 @@ declare const activateUserRoute: {
42781
43106
  };
42782
43107
  };
42783
43108
  } & {
42784
- getRoutingPath(): "/admin/users/:id/status/active";
43109
+ getRoutingPath(): "/admin/users/:id/status/suspended";
42785
43110
  };
42786
- declare const suspendUserRoute: {
42787
- method: "put";
42788
- path: "/admin/users/{id}/status/suspended";
43111
+ declare const resetPasswordRoute: {
43112
+ method: "post";
43113
+ path: "/admin/users/{id}/reset-password";
42789
43114
  tags: string[];
42790
43115
  security: {
42791
43116
  bearerAuth: never[];
@@ -42820,6 +43145,7 @@ declare const suspendUserRoute: {
42820
43145
  readonly INVITED: 5;
42821
43146
  }>>;
42822
43147
  }, z.core.$strip>;
43148
+ newPassword: z.ZodString;
42823
43149
  }, z.core.$strip>;
42824
43150
  };
42825
43151
  };
@@ -42897,11 +43223,11 @@ declare const suspendUserRoute: {
42897
43223
  };
42898
43224
  };
42899
43225
  } & {
42900
- getRoutingPath(): "/admin/users/:id/status/suspended";
43226
+ getRoutingPath(): "/admin/users/:id/reset-password";
42901
43227
  };
42902
- declare const resetPasswordRoute: {
43228
+ declare const resendInviteRoute: {
42903
43229
  method: "post";
42904
- path: "/admin/users/{id}/reset-password";
43230
+ path: "/admin/users/{id}/resend-invite";
42905
43231
  tags: string[];
42906
43232
  security: {
42907
43233
  bearerAuth: never[];
@@ -42936,7 +43262,6 @@ declare const resetPasswordRoute: {
42936
43262
  readonly INVITED: 5;
42937
43263
  }>>;
42938
43264
  }, z.core.$strip>;
42939
- newPassword: z.ZodString;
42940
43265
  }, z.core.$strip>;
42941
43266
  };
42942
43267
  };
@@ -42999,6 +43324,19 @@ declare const resetPasswordRoute: {
42999
43324
  };
43000
43325
  };
43001
43326
  };
43327
+ 409: {
43328
+ description: string;
43329
+ content: {
43330
+ 'application/json': {
43331
+ schema: z.ZodObject<{
43332
+ error: z.ZodObject<{
43333
+ code: z.ZodLiteral<"CONFLICT">;
43334
+ message: z.ZodString;
43335
+ }, z.core.$strip>;
43336
+ }, z.core.$strip>;
43337
+ };
43338
+ };
43339
+ };
43002
43340
  500: {
43003
43341
  description: string;
43004
43342
  content: {
@@ -43014,11 +43352,11 @@ declare const resetPasswordRoute: {
43014
43352
  };
43015
43353
  };
43016
43354
  } & {
43017
- getRoutingPath(): "/admin/users/:id/reset-password";
43355
+ getRoutingPath(): "/admin/users/:id/resend-invite";
43018
43356
  };
43019
- declare const resendInviteRoute: {
43020
- method: "post";
43021
- path: "/admin/users/{id}/resend-invite";
43357
+ declare const updateUserEmailRoute: {
43358
+ method: "put";
43359
+ path: "/admin/users/{id}/email";
43022
43360
  tags: string[];
43023
43361
  security: {
43024
43362
  bearerAuth: never[];
@@ -43028,6 +43366,15 @@ declare const resendInviteRoute: {
43028
43366
  params: z.ZodObject<{
43029
43367
  id: z.ZodString;
43030
43368
  }, z.core.$strip>;
43369
+ body: {
43370
+ content: {
43371
+ 'application/json': {
43372
+ schema: z.ZodObject<{
43373
+ email: z.ZodString;
43374
+ }, z.core.$strip>;
43375
+ };
43376
+ };
43377
+ };
43031
43378
  };
43032
43379
  responses: {
43033
43380
  200: {
@@ -43119,12 +43466,17 @@ declare const resendInviteRoute: {
43119
43466
  description: string;
43120
43467
  content: {
43121
43468
  'application/json': {
43122
- schema: z.ZodObject<{
43469
+ schema: z.ZodUnion<readonly [z.ZodObject<{
43123
43470
  error: z.ZodObject<{
43124
43471
  code: z.ZodLiteral<"CONFLICT">;
43125
43472
  message: z.ZodString;
43126
43473
  }, z.core.$strip>;
43127
- }, z.core.$strip>;
43474
+ }, z.core.$strip>, z.ZodObject<{
43475
+ error: z.ZodObject<{
43476
+ code: z.ZodLiteral<"EMAIL_LOCKED_BY_FEDERATED_IDENTITY">;
43477
+ message: z.ZodString;
43478
+ }, z.core.$strip>;
43479
+ }, z.core.$strip>]>;
43128
43480
  };
43129
43481
  };
43130
43482
  };
@@ -43143,11 +43495,11 @@ declare const resendInviteRoute: {
43143
43495
  };
43144
43496
  };
43145
43497
  } & {
43146
- getRoutingPath(): "/admin/users/:id/resend-invite";
43498
+ getRoutingPath(): "/admin/users/:id/email";
43147
43499
  };
43148
- declare const updateUserEmailRoute: {
43149
- method: "put";
43150
- path: "/admin/users/{id}/email";
43500
+ declare const unlinkUserIdentityRoute: {
43501
+ method: "delete";
43502
+ path: "/admin/users/{id}/identities/{provider}";
43151
43503
  tags: string[];
43152
43504
  security: {
43153
43505
  bearerAuth: never[];
@@ -43156,16 +43508,8 @@ declare const updateUserEmailRoute: {
43156
43508
  request: {
43157
43509
  params: z.ZodObject<{
43158
43510
  id: z.ZodString;
43511
+ provider: z.ZodString;
43159
43512
  }, z.core.$strip>;
43160
- body: {
43161
- content: {
43162
- 'application/json': {
43163
- schema: z.ZodObject<{
43164
- email: z.ZodString;
43165
- }, z.core.$strip>;
43166
- };
43167
- };
43168
- };
43169
43513
  };
43170
43514
  responses: {
43171
43515
  200: {
@@ -43191,6 +43535,8 @@ declare const updateUserEmailRoute: {
43191
43535
  readonly INVITED: 5;
43192
43536
  }>>;
43193
43537
  }, z.core.$strip>;
43538
+ passwordIssued: z.ZodBoolean;
43539
+ newPassword: z.ZodOptional<z.ZodString>;
43194
43540
  }, z.core.$strip>;
43195
43541
  };
43196
43542
  };
@@ -43246,7 +43592,10 @@ declare const updateUserEmailRoute: {
43246
43592
  'application/json': {
43247
43593
  schema: z.ZodObject<{
43248
43594
  error: z.ZodObject<{
43249
- code: z.ZodLiteral<"NOT_FOUND">;
43595
+ code: z.ZodEnum<{
43596
+ NOT_FOUND: "NOT_FOUND";
43597
+ NOT_LINKED: "NOT_LINKED";
43598
+ }>;
43250
43599
  message: z.ZodString;
43251
43600
  }, z.core.$strip>;
43252
43601
  }, z.core.$strip>;
@@ -43259,7 +43608,10 @@ declare const updateUserEmailRoute: {
43259
43608
  'application/json': {
43260
43609
  schema: z.ZodObject<{
43261
43610
  error: z.ZodObject<{
43262
- code: z.ZodLiteral<"CONFLICT">;
43611
+ code: z.ZodEnum<{
43612
+ CANNOT_UNLINK_SELF: "CANNOT_UNLINK_SELF";
43613
+ PASSWORD_AUTH_DISABLED: "PASSWORD_AUTH_DISABLED";
43614
+ }>;
43263
43615
  message: z.ZodString;
43264
43616
  }, z.core.$strip>;
43265
43617
  }, z.core.$strip>;
@@ -43281,7 +43633,7 @@ declare const updateUserEmailRoute: {
43281
43633
  };
43282
43634
  };
43283
43635
  } & {
43284
- getRoutingPath(): "/admin/users/:id/email";
43636
+ getRoutingPath(): "/admin/users/:id/identities/:provider";
43285
43637
  };
43286
43638
  declare const pendingUsersCountRoute: {
43287
43639
  method: "get";
@@ -43499,6 +43851,7 @@ declare const adminUsersRoutes: {
43499
43851
  readonly DELETED: 4;
43500
43852
  readonly INVITED: 5;
43501
43853
  }>>;
43854
+ linkedProviders: z.ZodArray<z.ZodString>;
43502
43855
  }, z.core.$strip>>;
43503
43856
  pager: z.ZodObject<{
43504
43857
  page: z.ZodNumber;
@@ -43765,7 +44118,6 @@ declare const adminUsersRoutes: {
43765
44118
  'application/json': {
43766
44119
  schema: z.ZodObject<{
43767
44120
  name: z.ZodString;
43768
- email: z.ZodString;
43769
44121
  }, z.core.$strip>;
43770
44122
  };
43771
44123
  };
@@ -43857,19 +44209,6 @@ declare const adminUsersRoutes: {
43857
44209
  };
43858
44210
  };
43859
44211
  };
43860
- 409: {
43861
- description: string;
43862
- content: {
43863
- 'application/json': {
43864
- schema: z.ZodObject<{
43865
- error: z.ZodObject<{
43866
- code: z.ZodLiteral<"CONFLICT">;
43867
- message: z.ZodString;
43868
- }, z.core.$strip>;
43869
- }, z.core.$strip>;
43870
- };
43871
- };
43872
- };
43873
44212
  500: {
43874
44213
  description: string;
43875
44214
  content: {
@@ -44709,12 +45048,17 @@ declare const adminUsersRoutes: {
44709
45048
  description: string;
44710
45049
  content: {
44711
45050
  'application/json': {
44712
- schema: z.ZodObject<{
45051
+ schema: z.ZodUnion<readonly [z.ZodObject<{
44713
45052
  error: z.ZodObject<{
44714
45053
  code: z.ZodLiteral<"CONFLICT">;
44715
45054
  message: z.ZodString;
44716
45055
  }, z.core.$strip>;
44717
- }, z.core.$strip>;
45056
+ }, z.core.$strip>, z.ZodObject<{
45057
+ error: z.ZodObject<{
45058
+ code: z.ZodLiteral<"EMAIL_LOCKED_BY_FEDERATED_IDENTITY">;
45059
+ message: z.ZodString;
45060
+ }, z.core.$strip>;
45061
+ }, z.core.$strip>]>;
44718
45062
  };
44719
45063
  };
44720
45064
  };
@@ -44735,6 +45079,144 @@ declare const adminUsersRoutes: {
44735
45079
  } & {
44736
45080
  getRoutingPath(): "/admin/users/:id/email";
44737
45081
  };
45082
+ unlinkUserIdentityRoute: {
45083
+ method: "delete";
45084
+ path: "/admin/users/{id}/identities/{provider}";
45085
+ tags: string[];
45086
+ security: {
45087
+ bearerAuth: never[];
45088
+ }[];
45089
+ summary: string;
45090
+ request: {
45091
+ params: z.ZodObject<{
45092
+ id: z.ZodString;
45093
+ provider: z.ZodString;
45094
+ }, z.core.$strip>;
45095
+ };
45096
+ responses: {
45097
+ 200: {
45098
+ description: string;
45099
+ content: {
45100
+ 'application/json': {
45101
+ schema: z.ZodObject<{
45102
+ user: z.ZodObject<{
45103
+ _id: z.ZodString;
45104
+ id: z.ZodOptional<z.ZodString>;
45105
+ username: z.ZodString;
45106
+ name: z.ZodString;
45107
+ email: z.ZodString;
45108
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45109
+ introduction: z.ZodOptional<z.ZodString>;
45110
+ createdAt: z.ZodString;
45111
+ admin: z.ZodOptional<z.ZodBoolean>;
45112
+ status: z.ZodOptional<z.ZodEnum<{
45113
+ readonly REGISTERED: 1;
45114
+ readonly ACTIVE: 2;
45115
+ readonly SUSPENDED: 3;
45116
+ readonly DELETED: 4;
45117
+ readonly INVITED: 5;
45118
+ }>>;
45119
+ }, z.core.$strip>;
45120
+ passwordIssued: z.ZodBoolean;
45121
+ newPassword: z.ZodOptional<z.ZodString>;
45122
+ }, z.core.$strip>;
45123
+ };
45124
+ };
45125
+ };
45126
+ 400: {
45127
+ description: string;
45128
+ content: {
45129
+ 'application/json': {
45130
+ schema: z.ZodObject<{
45131
+ error: z.ZodObject<{
45132
+ code: z.ZodLiteral<"VALIDATION_ERROR">;
45133
+ message: z.ZodString;
45134
+ details: z.ZodOptional<z.ZodObject<{
45135
+ fieldErrors: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
45136
+ formErrors: z.ZodArray<z.ZodString>;
45137
+ }, z.core.$strip>>;
45138
+ }, z.core.$strip>;
45139
+ }, z.core.$strip>;
45140
+ };
45141
+ };
45142
+ };
45143
+ 401: {
45144
+ description: string;
45145
+ content: {
45146
+ 'application/json': {
45147
+ schema: z.ZodObject<{
45148
+ error: z.ZodObject<{
45149
+ code: z.ZodLiteral<"AUTHENTICATION_REQUIRED">;
45150
+ message: z.ZodLiteral<"Authentication is required">;
45151
+ redirectTo: z.ZodOptional<z.ZodString>;
45152
+ }, z.core.$strip>;
45153
+ }, z.core.$strip>;
45154
+ };
45155
+ };
45156
+ };
45157
+ 403: {
45158
+ description: string;
45159
+ content: {
45160
+ 'application/json': {
45161
+ schema: z.ZodObject<{
45162
+ error: z.ZodObject<{
45163
+ code: z.ZodLiteral<"ADMIN_REQUIRED">;
45164
+ message: z.ZodLiteral<"Admin permission required">;
45165
+ redirectTo: z.ZodOptional<z.ZodString>;
45166
+ }, z.core.$strip>;
45167
+ }, z.core.$strip>;
45168
+ };
45169
+ };
45170
+ };
45171
+ 404: {
45172
+ description: string;
45173
+ content: {
45174
+ 'application/json': {
45175
+ schema: z.ZodObject<{
45176
+ error: z.ZodObject<{
45177
+ code: z.ZodEnum<{
45178
+ NOT_FOUND: "NOT_FOUND";
45179
+ NOT_LINKED: "NOT_LINKED";
45180
+ }>;
45181
+ message: z.ZodString;
45182
+ }, z.core.$strip>;
45183
+ }, z.core.$strip>;
45184
+ };
45185
+ };
45186
+ };
45187
+ 409: {
45188
+ description: string;
45189
+ content: {
45190
+ 'application/json': {
45191
+ schema: z.ZodObject<{
45192
+ error: z.ZodObject<{
45193
+ code: z.ZodEnum<{
45194
+ CANNOT_UNLINK_SELF: "CANNOT_UNLINK_SELF";
45195
+ PASSWORD_AUTH_DISABLED: "PASSWORD_AUTH_DISABLED";
45196
+ }>;
45197
+ message: z.ZodString;
45198
+ }, z.core.$strip>;
45199
+ }, z.core.$strip>;
45200
+ };
45201
+ };
45202
+ };
45203
+ 500: {
45204
+ description: string;
45205
+ content: {
45206
+ 'application/json': {
45207
+ schema: z.ZodObject<{
45208
+ error: z.ZodObject<{
45209
+ code: z.ZodLiteral<"INTERNAL_ERROR">;
45210
+ message: z.ZodLiteral<"Internal server error">;
45211
+ }, z.core.$strip>;
45212
+ }, z.core.$strip>;
45213
+ };
45214
+ };
45215
+ };
45216
+ };
45217
+ } & {
45218
+ getRoutingPath(): "/admin/users/:id/identities/:provider";
45219
+ };
44738
45220
  pendingUsersCountRoute: {
44739
45221
  method: "get";
44740
45222
  path: "/admin/users/pending-count";
@@ -51611,4 +52093,4 @@ declare const WS_CLOSE_CODES: {
51611
52093
  };
51612
52094
  type WsCloseCode = (typeof WS_CLOSE_CODES)[keyof typeof WS_CLOSE_CODES];
51613
52095
 
51614
- 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 ConfigReadinessIssue, ConfigReadinessIssueSchema, type ConfigReadinessResponse, ConfigReadinessResponseSchema, 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, CreateLinkGrantRequestSchema, CreateLinkGrantResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CrowiCodeSidecar, CrowiCodeSidecarSchema, CrowiDiagramNodeSchema, type CrowiDiagramSidecar, CrowiDiagramSidecarSchema, CrowiDimensionSchema, type CrowiFrontmatterEntry, CrowiFrontmatterEntrySchema, 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, FRONTMATTER_MAX_ENTRIES, FRONTMATTER_MAX_KEY_CHARS, FRONTMATTER_MAX_RAW_BYTES, FRONTMATTER_MAX_VALUE_CHARS, type FederatedAuthContractApp, FederatedHandoffRequestSchema, FederatedHandoffResponseSchema, FederatedProviderSchema, FederatedRegistrationActiveResultSchema, FederatedRegistrationApprovalResultSchema, type FederatedRegistrationContractApp, FederatedRegistrationResultSchema, FederatedRegistrationSnapshotSchema, FederatedRegistrationSubmitRequestSchema, 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, LinkedAuthProviderListResponseSchema, 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 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, ProviderListResponseSchema, 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, SenderProofSchema, SenderPublicJwkSchema, 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, UnlinkAuthProviderErrorSchema, 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 UploadPolicyResponse, UploadPolicyResponseSchema, 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, callbackFederatedProviderRoute, cancelDraftRoute, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createAuthProviderLinkGrantRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, federatedAuthRoutes, federatedHandoffRoute, federatedRegistrationRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getFederatedRegistrationRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPluginReadinessRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUploadPolicyRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getUserSubpagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listFederatedProvidersRoute, listLinkedAuthProvidersRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, logoutFederatedRegistrationRoute, 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, startFederatedProviderRoute, stripKnownHtmlTags, submitFederatedRegistrationRoute, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, unlinkAuthProviderRoute, unwrapRenderedAst, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };
52096
+ 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 AdminUserIdentityParam, AdminUserIdentityParamSchema, type AdminUserListItem, AdminUserListItemSchema, 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 ConfigReadinessIssue, ConfigReadinessIssueSchema, type ConfigReadinessResponse, ConfigReadinessResponseSchema, 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, CreateLinkGrantRequestSchema, CreateLinkGrantResponseSchema, type CreatePageRequest, CreatePageRequestSchema, type CrowiApiClient, type CrowiCodeSidecar, CrowiCodeSidecarSchema, CrowiDiagramNodeSchema, type CrowiDiagramSidecar, CrowiDiagramSidecarSchema, CrowiDimensionSchema, type CrowiFrontmatterEntry, CrowiFrontmatterEntrySchema, 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 EmailLockedByFederatedIdentityError, EmailLockedByFederatedIdentityErrorSchema, type EncryptionNotConfiguredError, EncryptionNotConfiguredErrorSchema, type ErrorCode, ErrorCodeSchema, FRONTMATTER_MAX_ENTRIES, FRONTMATTER_MAX_KEY_CHARS, FRONTMATTER_MAX_RAW_BYTES, FRONTMATTER_MAX_VALUE_CHARS, type FederatedAuthContractApp, FederatedHandoffRequestSchema, FederatedHandoffResponseSchema, FederatedProviderSchema, FederatedRegistrationActiveResultSchema, FederatedRegistrationApprovalResultSchema, type FederatedRegistrationContractApp, FederatedRegistrationResultSchema, FederatedRegistrationSnapshotSchema, FederatedRegistrationSubmitRequestSchema, 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, LinkedAuthProviderListResponseSchema, 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 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, ProviderListResponseSchema, 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, SenderProofSchema, SenderPublicJwkSchema, 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, UnlinkAuthProviderErrorSchema, type UnlinkUserIdentityConflictError, UnlinkUserIdentityConflictErrorSchema, type UnlinkUserIdentityNotFoundError, UnlinkUserIdentityNotFoundErrorSchema, type UnlinkUserIdentityResponse, UnlinkUserIdentityResponseSchema, 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 UploadPolicyResponse, UploadPolicyResponseSchema, 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, callbackFederatedProviderRoute, cancelDraftRoute, claimPageLinkAccessRoute, clearRenderCacheAllRoute, clearRenderCachePluginRoute, clientInfoRoute, commentRoutes, confirmEmailChangeRoute, createAccessTokenRoute, createAdminRoute, createAuthProviderLinkGrantRoute, createClient, createDraftRoute, createPageRoute, deleteAccessTokenRoute, deleteCommentRoute, deletePageRoute, deletePictureRoute, deleteUserRoute, deviceAuthorizeRoute, deviceInfoRoute, deviceVerifyRoute, discoveryRoute, draftRoutes, editUserRoute, emailChangeRoutes, federatedAuthRoutes, federatedHandoffRoute, federatedRegistrationRoutes, forgotPasswordRoute, getAppInfoRoute, getAppSettingsRoute, getAttachmentMetaRoute, getAttachmentUsageRoute, getAuthSettingsRoute, getBacklinksRoute, getBookmarkRoute, getCryptoStatusRoute, getFederatedRegistrationRoute, getInstallerStatusRoute, getLikersRoute, getMailSettingsRoute, getNotificationsTokenRoute, getPageRoute, getPluginConfigRoute, getPluginReadinessRoute, getPresenceTokenRoute, getProfileRoute, getRevisionRoute, getRevisionsRoute, getSearchStatusRoute, getSecuritySettingsRoute, getSeenUsersRoute, getStorageStatusRoute, getUnreadCountRoute, getUploadPolicyRoute, getUserBookmarksRoute, getUserPageRoute, getUserPagesRoute, getUserSubpagesRoute, getWatchStatusRoute, getYjsTokenRoute, installerRoutes, inviteAcceptRoutes, invitePreviewRoute, inviteUsersRoute, isIssuableScope, isScope, likePageRoute, listAccessTokensRoute, listAttachmentsRoute, listCommentsRoute, listDraftsRoute, listFederatedProvidersRoute, listLinkedAuthProvidersRoute, listMembersRoute, listMyBookmarksRoute, listNotificationsRoute, listPageChildrenRoute, listPagesRoute, listPluginsRoute, listRevisionsRoute, listUsersRoute, logoutFederatedRegistrationRoute, 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, startFederatedProviderRoute, stripKnownHtmlTags, submitFederatedRegistrationRoute, suspendUserRoute, tokenAuthRoutes, tokenLoginRoute, tokenLogoutRoute, tokenMeRoute, tokenRefreshRoute, tokenRegisterRoute, tokenRoute, unlikePageRoute, unlinkAuthProviderRoute, unlinkUserIdentityRoute, unwrapRenderedAst, updateAppSettingsRoute, updateAuthSettingsRoute, updateMailSettingsRoute, updatePageRoute, updatePasswordRoute, updatePluginConfigRoute, updateProfileRoute, updateSecuritySettingsRoute, updateThemeRoute, updateUserEmailRoute, uploadAttachmentRoute, uploadPictureRoute, userRoutes, validateActivationTokenRoute, validateEmailChangeTokenRoute, validateResetTokenRoute };