studiocms 0.4.2 → 0.4.3

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.
@@ -14,7 +14,7 @@ export declare const authClient: Effect.Effect<{
14
14
  readonly message: string;
15
15
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
16
16
  readonly message: string;
17
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
17
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
18
18
  readonly login: <WithResponse extends boolean = false>(request: {
19
19
  readonly payload: {
20
20
  readonly username: string;
@@ -25,10 +25,10 @@ export declare const authClient: Effect.Effect<{
25
25
  readonly ok: boolean;
26
26
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
27
27
  readonly ok: boolean;
28
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
28
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
29
29
  readonly logout: <WithResponse extends boolean = false>(request: void | {
30
30
  readonly withResponse?: WithResponse | undefined;
31
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
31
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
32
32
  readonly register: <WithResponse extends boolean = false>(request: {
33
33
  readonly payload: {
34
34
  readonly email: string;
@@ -41,7 +41,7 @@ export declare const authClient: Effect.Effect<{
41
41
  readonly ok: boolean;
42
42
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
43
43
  readonly ok: boolean;
44
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
44
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
45
45
  };
46
46
  readonly oauth: {
47
47
  readonly oAuthInit: <WithResponse extends boolean = false>(request: {
@@ -49,13 +49,13 @@ export declare const authClient: Effect.Effect<{
49
49
  readonly provider: string;
50
50
  };
51
51
  readonly withResponse?: WithResponse | undefined;
52
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
52
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
53
53
  readonly oAuthCallback: <WithResponse extends boolean = false>(request: {
54
54
  readonly path: {
55
55
  readonly provider: string;
56
56
  };
57
57
  readonly withResponse?: WithResponse | undefined;
58
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
58
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
59
59
  };
60
60
  }, never, never>;
61
61
  /**
@@ -119,22 +119,22 @@ export declare const dashboardClient: Effect.Effect<{
119
119
  readonly content: {
120
120
  readonly createPage: <WithResponse extends boolean = false>(request: {
121
121
  readonly payload: {
122
- readonly description?: string | undefined;
123
122
  readonly updatedAt?: Date | undefined;
123
+ readonly description?: string | undefined;
124
124
  readonly title?: string | undefined;
125
+ readonly tags?: readonly string[] | undefined;
126
+ readonly slug?: string | undefined;
127
+ readonly categories?: readonly string[] | undefined;
128
+ readonly parentFolder?: string | null | undefined;
125
129
  readonly package?: string | undefined;
126
130
  readonly showOnNav?: boolean | undefined;
127
131
  readonly publishedAt?: Date | undefined;
128
- readonly slug?: string | undefined;
129
132
  readonly contentLang?: string | undefined;
130
133
  readonly heroImage?: string | null | undefined;
131
- readonly categories?: readonly string[] | undefined;
132
- readonly tags?: readonly string[] | undefined;
133
134
  readonly authorId?: string | undefined;
134
135
  readonly contributorIds?: readonly string[] | undefined;
135
136
  readonly showAuthor?: boolean | undefined;
136
137
  readonly showContributors?: boolean | undefined;
137
- readonly parentFolder?: string | null | undefined;
138
138
  readonly draft?: boolean | undefined;
139
139
  readonly augments?: readonly string[] | undefined;
140
140
  };
@@ -146,24 +146,24 @@ export declare const dashboardClient: Effect.Effect<{
146
146
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
147
147
  readonly updatePage: <WithResponse extends boolean = false>(request: {
148
148
  readonly payload: {
149
- readonly description?: string | undefined;
150
149
  readonly id: string;
151
150
  readonly updatedAt?: Date | undefined;
152
- readonly title?: string | undefined;
151
+ readonly description?: string | undefined;
153
152
  readonly content: string;
153
+ readonly title?: string | undefined;
154
+ readonly tags?: readonly string[] | undefined;
155
+ readonly slug?: string | undefined;
156
+ readonly categories?: readonly string[] | undefined;
157
+ readonly parentFolder?: string | null | undefined;
154
158
  readonly package?: string | undefined;
155
159
  readonly showOnNav?: boolean | undefined;
156
160
  readonly publishedAt?: Date | undefined;
157
- readonly slug?: string | undefined;
158
161
  readonly contentLang?: string | undefined;
159
162
  readonly heroImage?: string | null | undefined;
160
- readonly categories?: readonly string[] | undefined;
161
- readonly tags?: readonly string[] | undefined;
162
163
  readonly authorId?: string | undefined;
163
164
  readonly contributorIds?: readonly string[] | undefined;
164
165
  readonly showAuthor?: boolean | undefined;
165
166
  readonly showContributors?: boolean | undefined;
166
- readonly parentFolder?: string | null | undefined;
167
167
  readonly draft?: boolean | undefined;
168
168
  readonly augments?: readonly string[] | undefined;
169
169
  readonly contentId: string;
@@ -224,7 +224,7 @@ export declare const dashboardClient: Effect.Effect<{
224
224
  readonly revertToDiff: <WithResponse extends boolean = false>(request: {
225
225
  readonly payload: {
226
226
  readonly id: string;
227
- readonly type: "data" | "content" | "both";
227
+ readonly type: "content" | "data" | "both";
228
228
  };
229
229
  readonly withResponse?: WithResponse | undefined;
230
230
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -289,19 +289,19 @@ export declare const dashboardClient: Effect.Effect<{
289
289
  readonly withResponse?: WithResponse | undefined;
290
290
  }) => Effect.Effect<WithResponse extends true ? [{
291
291
  readonly id: string;
292
- readonly token: string;
293
292
  readonly userId: string;
293
+ readonly token: string;
294
294
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
295
295
  readonly id: string;
296
- readonly token: string;
297
296
  readonly userId: string;
297
+ readonly token: string;
298
298
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
299
299
  readonly createUserInvite: <WithResponse extends boolean = false>(request: {
300
300
  readonly payload: {
301
301
  readonly email: string;
302
302
  readonly username: string;
303
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
303
304
  readonly displayname: string;
304
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
305
305
  readonly originalUrl: string;
306
306
  };
307
307
  readonly withResponse?: WithResponse | undefined;
@@ -315,8 +315,8 @@ export declare const dashboardClient: Effect.Effect<{
315
315
  readonly email: string;
316
316
  readonly username: string;
317
317
  readonly password?: string | undefined;
318
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
318
319
  readonly displayname: string;
319
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
320
320
  readonly originalUrl: string;
321
321
  };
322
322
  readonly withResponse?: WithResponse | undefined;
@@ -359,7 +359,6 @@ export declare const dashboardClient: Effect.Effect<{
359
359
  readonly profile: {
360
360
  readonly updateUserProfile: <WithResponse extends boolean = false>(request: {
361
361
  readonly payload: {
362
- readonly mode: "basic";
363
362
  readonly data: {
364
363
  readonly url?: string | null | undefined;
365
364
  readonly name: string;
@@ -372,16 +371,17 @@ export declare const dashboardClient: Effect.Effect<{
372
371
  readonly emailVerified: boolean;
373
372
  readonly notifications?: string | null | undefined;
374
373
  };
374
+ readonly mode: "basic";
375
375
  };
376
376
  readonly withResponse?: WithResponse | undefined;
377
377
  } | {
378
378
  readonly payload: {
379
- readonly mode: "password";
380
379
  readonly data: {
381
380
  readonly currentPassword: string | null;
382
381
  readonly newPassword: string;
383
382
  readonly confirmNewPassword: string;
384
383
  };
384
+ readonly mode: "password";
385
385
  };
386
386
  readonly withResponse?: WithResponse | undefined;
387
387
  } | {
@@ -431,29 +431,29 @@ export declare const dashboardClient: Effect.Effect<{
431
431
  readonly taxonomy: {
432
432
  readonly taxonomy: <WithResponse extends boolean = false>(request: {
433
433
  readonly payload: {
434
- readonly description: string;
435
- readonly mode: "create" | "edit";
436
434
  readonly id: number;
437
435
  readonly name: string;
436
+ readonly description: string;
438
437
  readonly slug: string;
439
- readonly type: "tags";
440
438
  readonly meta: {
441
439
  readonly [x: string]: unknown;
442
440
  };
441
+ readonly type: "tags";
442
+ readonly mode: "create" | "edit";
443
443
  };
444
444
  readonly withResponse?: WithResponse | undefined;
445
445
  } | {
446
446
  readonly payload: {
447
- readonly description: string;
448
- readonly mode: "create" | "edit";
449
447
  readonly id: number;
450
448
  readonly name: string;
449
+ readonly description: string;
451
450
  readonly slug: string;
452
- readonly type: "categories";
453
451
  readonly meta: {
454
452
  readonly [x: string]: unknown;
455
453
  };
456
454
  readonly parent?: number | null | undefined;
455
+ readonly type: "categories";
456
+ readonly mode: "create" | "edit";
457
457
  };
458
458
  readonly withResponse?: WithResponse | undefined;
459
459
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -464,7 +464,7 @@ export declare const dashboardClient: Effect.Effect<{
464
464
  readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
465
465
  readonly payload: {
466
466
  readonly id: number;
467
- readonly type: "categories" | "tags";
467
+ readonly type: "tags" | "categories";
468
468
  };
469
469
  readonly withResponse?: WithResponse | undefined;
470
470
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -475,26 +475,26 @@ export declare const dashboardClient: Effect.Effect<{
475
475
  readonly taxonomySearch: <WithResponse extends boolean = false>(request: void | {
476
476
  readonly withResponse?: WithResponse | undefined;
477
477
  }) => Effect.Effect<WithResponse extends true ? [readonly {
478
- readonly description: string;
479
478
  readonly id: number;
480
479
  readonly name: string;
480
+ readonly description: string;
481
481
  readonly slug: string;
482
- readonly type: "tag" | "category";
483
482
  readonly meta: {
484
483
  readonly [x: string]: unknown;
485
484
  };
486
485
  readonly parent: number | null | undefined;
486
+ readonly type: "tag" | "category";
487
487
  readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
488
488
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
489
- readonly description: string;
490
489
  readonly id: number;
491
490
  readonly name: string;
491
+ readonly description: string;
492
492
  readonly slug: string;
493
- readonly type: "tag" | "category";
494
493
  readonly meta: {
495
494
  readonly [x: string]: unknown;
496
495
  };
497
496
  readonly parent: number | null | undefined;
497
+ readonly type: "tag" | "category";
498
498
  readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
499
499
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
500
500
  };
@@ -526,7 +526,7 @@ export declare const dashboardClient: Effect.Effect<{
526
526
  readonly payload: {
527
527
  readonly id: string;
528
528
  readonly emailVerified: boolean;
529
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
529
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
530
530
  };
531
531
  readonly withResponse?: WithResponse | undefined;
532
532
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -548,13 +548,6 @@ export declare const dashboardClient: Effect.Effect<{
548
548
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
549
549
  };
550
550
  readonly verifyEndpoints: {
551
- readonly verifyEmail: <WithResponse extends boolean = false>(request: {
552
- readonly urlParams: {
553
- readonly token: string;
554
- readonly userId: string;
555
- };
556
- readonly withResponse?: WithResponse | undefined;
557
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
558
551
  readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
559
552
  readonly payload: {
560
553
  readonly userId: string;
@@ -565,6 +558,13 @@ export declare const dashboardClient: Effect.Effect<{
565
558
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
566
559
  readonly message: string;
567
560
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
561
+ readonly verifyEmail: <WithResponse extends boolean = false>(request: {
562
+ readonly urlParams: {
563
+ readonly userId: string;
564
+ readonly token: string;
565
+ };
566
+ readonly withResponse?: WithResponse | undefined;
567
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
568
568
  readonly verifySession: <WithResponse extends boolean = false>(request: {
569
569
  readonly payload: {
570
570
  readonly originPathname: string;
@@ -572,6 +572,7 @@ export declare const dashboardClient: Effect.Effect<{
572
572
  readonly withResponse?: WithResponse | undefined;
573
573
  }) => Effect.Effect<WithResponse extends true ? [{
574
574
  readonly isLoggedIn: boolean;
575
+ readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
575
576
  readonly user: {
576
577
  readonly id: string;
577
578
  readonly name: string;
@@ -579,7 +580,6 @@ export declare const dashboardClient: Effect.Effect<{
579
580
  readonly avatar: string | null;
580
581
  readonly username: string;
581
582
  } | null;
582
- readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
583
583
  readonly routes: {
584
584
  readonly logout: string;
585
585
  readonly userProfile: string;
@@ -588,6 +588,7 @@ export declare const dashboardClient: Effect.Effect<{
588
588
  };
589
589
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
590
590
  readonly isLoggedIn: boolean;
591
+ readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
591
592
  readonly user: {
592
593
  readonly id: string;
593
594
  readonly name: string;
@@ -595,7 +596,6 @@ export declare const dashboardClient: Effect.Effect<{
595
596
  readonly avatar: string | null;
596
597
  readonly username: string;
597
598
  } | null;
598
- readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
599
599
  readonly routes: {
600
600
  readonly logout: string;
601
601
  readonly userProfile: string;
@@ -667,8 +667,8 @@ export declare const integrationsClient: Effect.Effect<{
667
667
  }[];
668
668
  readonly type: "transaction";
669
669
  } | {
670
- readonly error: string;
671
670
  readonly id: number;
671
+ readonly error: string;
672
672
  readonly type: "query" | "transaction";
673
673
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
674
674
  readonly id: number;
@@ -713,16 +713,16 @@ export declare const integrationsClient: Effect.Effect<{
713
713
  }[];
714
714
  readonly type: "transaction";
715
715
  } | {
716
- readonly error: string;
717
716
  readonly id: number;
717
+ readonly error: string;
718
718
  readonly type: "query" | "transaction";
719
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpApiError").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
719
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@effect/platform/HttpApiError").Unauthorized | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
720
720
  };
721
721
  readonly storageManager: {
722
722
  readonly storageManager: <WithResponse extends boolean = false>(request: {
723
723
  readonly payload: {
724
- readonly identifier: `storage-file://${string}`;
725
724
  readonly action: "resolveUrl";
725
+ readonly identifier: `storage-file://${string}`;
726
726
  };
727
727
  readonly withResponse?: WithResponse | undefined;
728
728
  } | {
@@ -800,8 +800,8 @@ export declare const integrationsClient: Effect.Effect<{
800
800
  } | {
801
801
  readonly success: boolean;
802
802
  } | {
803
- readonly newKey: string;
804
803
  readonly success: boolean;
804
+ readonly newKey: string;
805
805
  } | {
806
806
  readonly url: string;
807
807
  } | {
@@ -837,8 +837,8 @@ export declare const integrationsClient: Effect.Effect<{
837
837
  } | {
838
838
  readonly success: boolean;
839
839
  } | {
840
- readonly newKey: string;
841
840
  readonly success: boolean;
841
+ readonly newKey: string;
842
842
  } | {
843
843
  readonly url: string;
844
844
  } | {
@@ -874,49 +874,171 @@ export declare const integrationsClient: Effect.Effect<{
874
874
  */
875
875
  export declare const restClient: Effect.Effect<{
876
876
  readonly restV1Public: {
877
+ readonly getTags: <WithResponse extends boolean = false>(request: {
878
+ readonly urlParams: {
879
+ readonly name?: string | undefined;
880
+ };
881
+ readonly withResponse?: WithResponse | undefined;
882
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
883
+ readonly id: number;
884
+ readonly name: string;
885
+ readonly description: string;
886
+ readonly slug: string;
887
+ readonly meta: {
888
+ readonly [x: string]: unknown;
889
+ };
890
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
891
+ readonly id: number;
892
+ readonly name: string;
893
+ readonly description: string;
894
+ readonly slug: string;
895
+ readonly meta: {
896
+ readonly [x: string]: unknown;
897
+ };
898
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
899
+ readonly getTag: <WithResponse extends boolean = false>(request: {
900
+ readonly path: {
901
+ readonly id: number;
902
+ };
903
+ readonly withResponse?: WithResponse | undefined;
904
+ }) => Effect.Effect<WithResponse extends true ? [{
905
+ readonly id: number;
906
+ readonly name: string;
907
+ readonly description: string;
908
+ readonly slug: string;
909
+ readonly meta: {
910
+ readonly [x: string]: unknown;
911
+ };
912
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
913
+ readonly id: number;
914
+ readonly name: string;
915
+ readonly description: string;
916
+ readonly slug: string;
917
+ readonly meta: {
918
+ readonly [x: string]: unknown;
919
+ };
920
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
921
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
922
+ readonly urlParams: {
923
+ readonly name?: string | undefined;
924
+ readonly parent?: number | undefined;
925
+ };
926
+ readonly withResponse?: WithResponse | undefined;
927
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
928
+ readonly id: number;
929
+ readonly name: string;
930
+ readonly description: string;
931
+ readonly slug: string;
932
+ readonly meta: {
933
+ readonly [x: string]: unknown;
934
+ };
935
+ readonly parent?: number | null | undefined;
936
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
937
+ readonly id: number;
938
+ readonly name: string;
939
+ readonly description: string;
940
+ readonly slug: string;
941
+ readonly meta: {
942
+ readonly [x: string]: unknown;
943
+ };
944
+ readonly parent?: number | null | undefined;
945
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
946
+ readonly getCategory: <WithResponse extends boolean = false>(request: {
947
+ readonly path: {
948
+ readonly id: number;
949
+ };
950
+ readonly withResponse?: WithResponse | undefined;
951
+ }) => Effect.Effect<WithResponse extends true ? [{
952
+ readonly id: number;
953
+ readonly name: string;
954
+ readonly description: string;
955
+ readonly slug: string;
956
+ readonly meta: {
957
+ readonly [x: string]: unknown;
958
+ };
959
+ readonly parent?: number | null | undefined;
960
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
961
+ readonly id: number;
962
+ readonly name: string;
963
+ readonly description: string;
964
+ readonly slug: string;
965
+ readonly meta: {
966
+ readonly [x: string]: unknown;
967
+ };
968
+ readonly parent?: number | null | undefined;
969
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
970
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
971
+ readonly urlParams: {
972
+ readonly name?: string | undefined;
973
+ readonly parent?: string | undefined;
974
+ };
975
+ readonly withResponse?: WithResponse | undefined;
976
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
977
+ readonly id: string;
978
+ readonly name: string;
979
+ readonly parent?: string | null | undefined;
980
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
981
+ readonly id: string;
982
+ readonly name: string;
983
+ readonly parent?: string | null | undefined;
984
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
985
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
986
+ readonly path: {
987
+ readonly id: string;
988
+ };
989
+ readonly withResponse?: WithResponse | undefined;
990
+ }) => Effect.Effect<WithResponse extends true ? [{
991
+ readonly id: string;
992
+ readonly name: string;
993
+ readonly parent?: string | null | undefined;
994
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
995
+ readonly id: string;
996
+ readonly name: string;
997
+ readonly parent?: string | null | undefined;
998
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
877
999
  readonly getPages: <WithResponse extends boolean = false>(request: {
878
1000
  readonly urlParams: {
879
1001
  readonly title?: string | undefined;
880
1002
  readonly slug?: string | undefined;
881
- readonly parentFolder?: string | undefined;
882
1003
  readonly author?: string | undefined;
1004
+ readonly parentFolder?: string | undefined;
883
1005
  };
884
1006
  readonly withResponse?: WithResponse | undefined;
885
1007
  }) => Effect.Effect<WithResponse extends true ? [readonly {
886
- readonly description: string;
887
1008
  readonly id: string;
888
1009
  readonly updatedAt: Date;
1010
+ readonly description: string;
889
1011
  readonly title: string;
890
- readonly package: string;
891
- readonly showOnNav: boolean;
892
- readonly publishedAt: Date;
893
- readonly slug: string;
894
- readonly contentLang: string;
895
- readonly heroImage?: string | null | undefined;
896
- readonly categories: readonly {
897
- readonly description: string;
1012
+ readonly tags: readonly {
898
1013
  readonly id: number;
899
1014
  readonly name: string;
1015
+ readonly description: string;
900
1016
  readonly slug: string;
901
1017
  readonly meta: {
902
1018
  readonly [x: string]: unknown;
903
1019
  };
904
- readonly parent?: number | null | undefined;
905
1020
  }[];
906
- readonly tags: readonly {
907
- readonly description: string;
1021
+ readonly slug: string;
1022
+ readonly categories: readonly {
908
1023
  readonly id: number;
909
1024
  readonly name: string;
1025
+ readonly description: string;
910
1026
  readonly slug: string;
911
1027
  readonly meta: {
912
1028
  readonly [x: string]: unknown;
913
1029
  };
1030
+ readonly parent?: number | null | undefined;
914
1031
  }[];
1032
+ readonly parentFolder?: string | null | undefined;
1033
+ readonly package: string;
1034
+ readonly showOnNav: boolean;
1035
+ readonly publishedAt: Date;
1036
+ readonly contentLang: string;
1037
+ readonly heroImage?: string | null | undefined;
915
1038
  readonly authorId: string;
916
1039
  readonly contributorIds: readonly string[];
917
1040
  readonly showAuthor: boolean;
918
1041
  readonly showContributors: boolean;
919
- readonly parentFolder?: string | null | undefined;
920
1042
  readonly draft: boolean;
921
1043
  readonly augments: readonly string[];
922
1044
  readonly multiLangContent: readonly {
@@ -955,40 +1077,40 @@ export declare const restClient: Effect.Effect<{
955
1077
  readonly notifications?: string | null | undefined;
956
1078
  }[];
957
1079
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
958
- readonly description: string;
959
1080
  readonly id: string;
960
1081
  readonly updatedAt: Date;
1082
+ readonly description: string;
961
1083
  readonly title: string;
962
- readonly package: string;
963
- readonly showOnNav: boolean;
964
- readonly publishedAt: Date;
965
- readonly slug: string;
966
- readonly contentLang: string;
967
- readonly heroImage?: string | null | undefined;
968
- readonly categories: readonly {
969
- readonly description: string;
1084
+ readonly tags: readonly {
970
1085
  readonly id: number;
971
1086
  readonly name: string;
1087
+ readonly description: string;
972
1088
  readonly slug: string;
973
1089
  readonly meta: {
974
1090
  readonly [x: string]: unknown;
975
1091
  };
976
- readonly parent?: number | null | undefined;
977
1092
  }[];
978
- readonly tags: readonly {
979
- readonly description: string;
1093
+ readonly slug: string;
1094
+ readonly categories: readonly {
980
1095
  readonly id: number;
981
1096
  readonly name: string;
1097
+ readonly description: string;
982
1098
  readonly slug: string;
983
1099
  readonly meta: {
984
1100
  readonly [x: string]: unknown;
985
1101
  };
1102
+ readonly parent?: number | null | undefined;
986
1103
  }[];
1104
+ readonly parentFolder?: string | null | undefined;
1105
+ readonly package: string;
1106
+ readonly showOnNav: boolean;
1107
+ readonly publishedAt: Date;
1108
+ readonly contentLang: string;
1109
+ readonly heroImage?: string | null | undefined;
987
1110
  readonly authorId: string;
988
1111
  readonly contributorIds: readonly string[];
989
1112
  readonly showAuthor: boolean;
990
1113
  readonly showContributors: boolean;
991
- readonly parentFolder?: string | null | undefined;
992
1114
  readonly draft: boolean;
993
1115
  readonly augments: readonly string[];
994
1116
  readonly multiLangContent: readonly {
@@ -1033,40 +1155,40 @@ export declare const restClient: Effect.Effect<{
1033
1155
  };
1034
1156
  readonly withResponse?: WithResponse | undefined;
1035
1157
  }) => Effect.Effect<WithResponse extends true ? [{
1036
- readonly description: string;
1037
1158
  readonly id: string;
1038
1159
  readonly updatedAt: Date;
1160
+ readonly description: string;
1039
1161
  readonly title: string;
1040
- readonly package: string;
1041
- readonly showOnNav: boolean;
1042
- readonly publishedAt: Date;
1043
- readonly slug: string;
1044
- readonly contentLang: string;
1045
- readonly heroImage?: string | null | undefined;
1046
- readonly categories: readonly {
1047
- readonly description: string;
1162
+ readonly tags: readonly {
1048
1163
  readonly id: number;
1049
1164
  readonly name: string;
1165
+ readonly description: string;
1050
1166
  readonly slug: string;
1051
1167
  readonly meta: {
1052
1168
  readonly [x: string]: unknown;
1053
1169
  };
1054
- readonly parent?: number | null | undefined;
1055
1170
  }[];
1056
- readonly tags: readonly {
1057
- readonly description: string;
1171
+ readonly slug: string;
1172
+ readonly categories: readonly {
1058
1173
  readonly id: number;
1059
1174
  readonly name: string;
1175
+ readonly description: string;
1060
1176
  readonly slug: string;
1061
1177
  readonly meta: {
1062
1178
  readonly [x: string]: unknown;
1063
1179
  };
1180
+ readonly parent?: number | null | undefined;
1064
1181
  }[];
1182
+ readonly parentFolder?: string | null | undefined;
1183
+ readonly package: string;
1184
+ readonly showOnNav: boolean;
1185
+ readonly publishedAt: Date;
1186
+ readonly contentLang: string;
1187
+ readonly heroImage?: string | null | undefined;
1065
1188
  readonly authorId: string;
1066
1189
  readonly contributorIds: readonly string[];
1067
1190
  readonly showAuthor: boolean;
1068
1191
  readonly showContributors: boolean;
1069
- readonly parentFolder?: string | null | undefined;
1070
1192
  readonly draft: boolean;
1071
1193
  readonly augments: readonly string[];
1072
1194
  readonly multiLangContent: readonly {
@@ -1105,40 +1227,40 @@ export declare const restClient: Effect.Effect<{
1105
1227
  readonly notifications?: string | null | undefined;
1106
1228
  }[];
1107
1229
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1108
- readonly description: string;
1109
1230
  readonly id: string;
1110
1231
  readonly updatedAt: Date;
1232
+ readonly description: string;
1111
1233
  readonly title: string;
1112
- readonly package: string;
1113
- readonly showOnNav: boolean;
1114
- readonly publishedAt: Date;
1115
- readonly slug: string;
1116
- readonly contentLang: string;
1117
- readonly heroImage?: string | null | undefined;
1118
- readonly categories: readonly {
1119
- readonly description: string;
1234
+ readonly tags: readonly {
1120
1235
  readonly id: number;
1121
1236
  readonly name: string;
1237
+ readonly description: string;
1122
1238
  readonly slug: string;
1123
1239
  readonly meta: {
1124
1240
  readonly [x: string]: unknown;
1125
1241
  };
1126
- readonly parent?: number | null | undefined;
1127
1242
  }[];
1128
- readonly tags: readonly {
1129
- readonly description: string;
1243
+ readonly slug: string;
1244
+ readonly categories: readonly {
1130
1245
  readonly id: number;
1131
1246
  readonly name: string;
1247
+ readonly description: string;
1132
1248
  readonly slug: string;
1133
1249
  readonly meta: {
1134
1250
  readonly [x: string]: unknown;
1135
1251
  };
1252
+ readonly parent?: number | null | undefined;
1136
1253
  }[];
1254
+ readonly parentFolder?: string | null | undefined;
1255
+ readonly package: string;
1256
+ readonly showOnNav: boolean;
1257
+ readonly publishedAt: Date;
1258
+ readonly contentLang: string;
1259
+ readonly heroImage?: string | null | undefined;
1137
1260
  readonly authorId: string;
1138
1261
  readonly contributorIds: readonly string[];
1139
1262
  readonly showAuthor: boolean;
1140
1263
  readonly showContributors: boolean;
1141
- readonly parentFolder?: string | null | undefined;
1142
1264
  readonly draft: boolean;
1143
1265
  readonly augments: readonly string[];
1144
1266
  readonly multiLangContent: readonly {
@@ -1177,130 +1299,115 @@ export declare const restClient: Effect.Effect<{
1177
1299
  readonly notifications?: string | null | undefined;
1178
1300
  }[];
1179
1301
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1180
- readonly getCategories: <WithResponse extends boolean = false>(request: {
1302
+ };
1303
+ readonly restV1: {
1304
+ readonly getUsers: <WithResponse extends boolean = false>(request: {
1181
1305
  readonly urlParams: {
1182
1306
  readonly name?: string | undefined;
1183
- readonly parent?: number | undefined;
1307
+ readonly username?: string | undefined;
1308
+ readonly rank?: string | undefined;
1184
1309
  };
1185
1310
  readonly withResponse?: WithResponse | undefined;
1186
1311
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1187
- readonly description: string;
1188
- readonly id: number;
1312
+ readonly id: string;
1313
+ readonly url?: string | null | undefined;
1189
1314
  readonly name: string;
1190
- readonly slug: string;
1191
- readonly meta: {
1192
- readonly [x: string]: unknown;
1193
- };
1194
- readonly parent?: number | null | undefined;
1315
+ readonly email?: string | null | undefined;
1316
+ readonly avatar?: string | null | undefined;
1317
+ readonly username: string;
1318
+ readonly updatedAt: Date;
1319
+ readonly createdAt: Date;
1195
1320
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1196
- readonly description: string;
1197
- readonly id: number;
1321
+ readonly id: string;
1322
+ readonly url?: string | null | undefined;
1198
1323
  readonly name: string;
1199
- readonly slug: string;
1200
- readonly meta: {
1201
- readonly [x: string]: unknown;
1202
- };
1203
- readonly parent?: number | null | undefined;
1204
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1205
- readonly getCategory: <WithResponse extends boolean = false>(request: {
1206
- readonly path: {
1207
- readonly id: number;
1208
- };
1324
+ readonly email?: string | null | undefined;
1325
+ readonly avatar?: string | null | undefined;
1326
+ readonly username: string;
1327
+ readonly updatedAt: Date;
1328
+ readonly createdAt: Date;
1329
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1330
+ readonly createUser: <WithResponse extends boolean = false>(request: {
1331
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIndexJSONData;
1209
1332
  readonly withResponse?: WithResponse | undefined;
1210
1333
  }) => Effect.Effect<WithResponse extends true ? [{
1211
- readonly description: string;
1212
- readonly id: number;
1334
+ readonly id: string;
1335
+ readonly url?: string | null | undefined;
1213
1336
  readonly name: string;
1214
- readonly slug: string;
1215
- readonly meta: {
1216
- readonly [x: string]: unknown;
1217
- };
1218
- readonly parent?: number | null | undefined;
1337
+ readonly email?: string | null | undefined;
1338
+ readonly avatar?: string | null | undefined;
1339
+ readonly username: string;
1340
+ readonly updatedAt: Date;
1341
+ readonly createdAt: Date;
1219
1342
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1220
- readonly description: string;
1221
- readonly id: number;
1343
+ readonly id: string;
1344
+ readonly url?: string | null | undefined;
1222
1345
  readonly name: string;
1223
- readonly slug: string;
1224
- readonly meta: {
1225
- readonly [x: string]: unknown;
1226
- };
1227
- readonly parent?: number | null | undefined;
1228
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1229
- readonly getFolders: <WithResponse extends boolean = false>(request: {
1230
- readonly urlParams: {
1231
- readonly name?: string | undefined;
1232
- readonly parent?: string | undefined;
1346
+ readonly email?: string | null | undefined;
1347
+ readonly avatar?: string | null | undefined;
1348
+ readonly username: string;
1349
+ readonly updatedAt: Date;
1350
+ readonly createdAt: Date;
1351
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1352
+ readonly getUser: <WithResponse extends boolean = false>(request: {
1353
+ readonly path: {
1354
+ readonly id: string;
1233
1355
  };
1234
1356
  readonly withResponse?: WithResponse | undefined;
1235
- }) => Effect.Effect<WithResponse extends true ? [readonly {
1357
+ }) => Effect.Effect<WithResponse extends true ? [{
1236
1358
  readonly id: string;
1359
+ readonly url?: string | null | undefined;
1237
1360
  readonly name: string;
1238
- readonly parent?: string | null | undefined;
1239
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1361
+ readonly email?: string | null | undefined;
1362
+ readonly avatar?: string | null | undefined;
1363
+ readonly username: string;
1364
+ readonly updatedAt: Date;
1365
+ readonly createdAt: Date;
1366
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1240
1367
  readonly id: string;
1368
+ readonly url?: string | null | undefined;
1241
1369
  readonly name: string;
1242
- readonly parent?: string | null | undefined;
1243
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1244
- readonly getFolder: <WithResponse extends boolean = false>(request: {
1370
+ readonly email?: string | null | undefined;
1371
+ readonly avatar?: string | null | undefined;
1372
+ readonly username: string;
1373
+ readonly updatedAt: Date;
1374
+ readonly createdAt: Date;
1375
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1376
+ readonly updateUser: <WithResponse extends boolean = false>(request: {
1245
1377
  readonly path: {
1246
1378
  readonly id: string;
1247
1379
  };
1380
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
1248
1381
  readonly withResponse?: WithResponse | undefined;
1249
1382
  }) => Effect.Effect<WithResponse extends true ? [{
1250
1383
  readonly id: string;
1384
+ readonly url?: string | null | undefined;
1251
1385
  readonly name: string;
1252
- readonly parent?: string | null | undefined;
1386
+ readonly email?: string | null | undefined;
1387
+ readonly avatar?: string | null | undefined;
1388
+ readonly username: string;
1389
+ readonly updatedAt: Date;
1390
+ readonly createdAt: Date;
1253
1391
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1254
1392
  readonly id: string;
1393
+ readonly url?: string | null | undefined;
1255
1394
  readonly name: string;
1256
- readonly parent?: string | null | undefined;
1257
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1258
- readonly getTags: <WithResponse extends boolean = false>(request: {
1259
- readonly urlParams: {
1260
- readonly name?: string | undefined;
1261
- };
1262
- readonly withResponse?: WithResponse | undefined;
1263
- }) => Effect.Effect<WithResponse extends true ? [readonly {
1264
- readonly description: string;
1265
- readonly id: number;
1266
- readonly name: string;
1267
- readonly slug: string;
1268
- readonly meta: {
1269
- readonly [x: string]: unknown;
1270
- };
1271
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1272
- readonly description: string;
1273
- readonly id: number;
1274
- readonly name: string;
1275
- readonly slug: string;
1276
- readonly meta: {
1277
- readonly [x: string]: unknown;
1278
- };
1279
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1280
- readonly getTag: <WithResponse extends boolean = false>(request: {
1395
+ readonly email?: string | null | undefined;
1396
+ readonly avatar?: string | null | undefined;
1397
+ readonly username: string;
1398
+ readonly updatedAt: Date;
1399
+ readonly createdAt: Date;
1400
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1401
+ readonly deleteUser: <WithResponse extends boolean = false>(request: {
1281
1402
  readonly path: {
1282
- readonly id: number;
1403
+ readonly id: string;
1283
1404
  };
1284
1405
  readonly withResponse?: WithResponse | undefined;
1285
1406
  }) => Effect.Effect<WithResponse extends true ? [{
1286
- readonly description: string;
1287
- readonly id: number;
1288
- readonly name: string;
1289
- readonly slug: string;
1290
- readonly meta: {
1291
- readonly [x: string]: unknown;
1292
- };
1407
+ readonly message: string;
1293
1408
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1294
- readonly description: string;
1295
- readonly id: number;
1296
- readonly name: string;
1297
- readonly slug: string;
1298
- readonly meta: {
1299
- readonly [x: string]: unknown;
1300
- };
1301
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
1302
- };
1303
- readonly restV1: {
1409
+ readonly message: string;
1410
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1304
1411
  readonly deleteCategory: <WithResponse extends boolean = false>(request: {
1305
1412
  readonly path: {
1306
1413
  readonly id: number;
@@ -1317,18 +1424,18 @@ export declare const restClient: Effect.Effect<{
1317
1424
  };
1318
1425
  readonly withResponse?: WithResponse | undefined;
1319
1426
  }) => Effect.Effect<WithResponse extends true ? [{
1320
- readonly description: string;
1321
1427
  readonly id: number;
1322
1428
  readonly name: string;
1429
+ readonly description: string;
1323
1430
  readonly slug: string;
1324
1431
  readonly meta: {
1325
1432
  readonly [x: string]: unknown;
1326
1433
  };
1327
1434
  readonly parent?: number | null | undefined;
1328
1435
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1329
- readonly description: string;
1330
1436
  readonly id: number;
1331
1437
  readonly name: string;
1438
+ readonly description: string;
1332
1439
  readonly slug: string;
1333
1440
  readonly meta: {
1334
1441
  readonly [x: string]: unknown;
@@ -1340,9 +1447,9 @@ export declare const restClient: Effect.Effect<{
1340
1447
  readonly id: number;
1341
1448
  };
1342
1449
  readonly payload: {
1343
- readonly description?: string | undefined;
1344
1450
  readonly id?: number | undefined;
1345
1451
  readonly name?: string | undefined;
1452
+ readonly description?: string | undefined;
1346
1453
  readonly slug?: string | undefined;
1347
1454
  readonly meta?: {
1348
1455
  readonly [x: string]: unknown;
@@ -1351,18 +1458,18 @@ export declare const restClient: Effect.Effect<{
1351
1458
  };
1352
1459
  readonly withResponse?: WithResponse | undefined;
1353
1460
  }) => Effect.Effect<WithResponse extends true ? [{
1354
- readonly description: string;
1355
1461
  readonly id: number;
1356
1462
  readonly name: string;
1463
+ readonly description: string;
1357
1464
  readonly slug: string;
1358
1465
  readonly meta: {
1359
1466
  readonly [x: string]: unknown;
1360
1467
  };
1361
1468
  readonly parent?: number | null | undefined;
1362
1469
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1363
- readonly description: string;
1364
1470
  readonly id: number;
1365
1471
  readonly name: string;
1472
+ readonly description: string;
1366
1473
  readonly slug: string;
1367
1474
  readonly meta: {
1368
1475
  readonly [x: string]: unknown;
@@ -1376,18 +1483,18 @@ export declare const restClient: Effect.Effect<{
1376
1483
  };
1377
1484
  readonly withResponse?: WithResponse | undefined;
1378
1485
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1379
- readonly description: string;
1380
1486
  readonly id: number;
1381
1487
  readonly name: string;
1488
+ readonly description: string;
1382
1489
  readonly slug: string;
1383
1490
  readonly meta: {
1384
1491
  readonly [x: string]: unknown;
1385
1492
  };
1386
1493
  readonly parent?: number | null | undefined;
1387
1494
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1388
- readonly description: string;
1389
1495
  readonly id: number;
1390
1496
  readonly name: string;
1497
+ readonly description: string;
1391
1498
  readonly slug: string;
1392
1499
  readonly meta: {
1393
1500
  readonly [x: string]: unknown;
@@ -1396,26 +1503,26 @@ export declare const restClient: Effect.Effect<{
1396
1503
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1397
1504
  readonly createCategory: <WithResponse extends boolean = false>(request: {
1398
1505
  readonly payload: {
1399
- readonly description: string;
1400
1506
  readonly name: string;
1507
+ readonly description: string;
1401
1508
  readonly slug: string;
1402
1509
  readonly meta: string;
1403
1510
  readonly parent?: number | null | undefined;
1404
1511
  };
1405
1512
  readonly withResponse?: WithResponse | undefined;
1406
1513
  }) => Effect.Effect<WithResponse extends true ? [{
1407
- readonly description: string;
1408
1514
  readonly id: number;
1409
1515
  readonly name: string;
1516
+ readonly description: string;
1410
1517
  readonly slug: string;
1411
1518
  readonly meta: {
1412
1519
  readonly [x: string]: unknown;
1413
1520
  };
1414
1521
  readonly parent?: number | null | undefined;
1415
1522
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1416
- readonly description: string;
1417
1523
  readonly id: number;
1418
1524
  readonly name: string;
1525
+ readonly description: string;
1419
1526
  readonly slug: string;
1420
1527
  readonly meta: {
1421
1528
  readonly [x: string]: unknown;
@@ -1502,40 +1609,40 @@ export declare const restClient: Effect.Effect<{
1502
1609
  };
1503
1610
  readonly withResponse?: WithResponse | undefined;
1504
1611
  }) => Effect.Effect<WithResponse extends true ? [{
1505
- readonly description: string;
1506
1612
  readonly id: string;
1507
1613
  readonly updatedAt: Date;
1614
+ readonly description: string;
1508
1615
  readonly title: string;
1509
- readonly package: string;
1510
- readonly showOnNav: boolean;
1511
- readonly publishedAt: Date;
1512
- readonly slug: string;
1513
- readonly contentLang: string;
1514
- readonly heroImage?: string | null | undefined;
1515
- readonly categories: readonly {
1516
- readonly description: string;
1616
+ readonly tags: readonly {
1517
1617
  readonly id: number;
1518
1618
  readonly name: string;
1619
+ readonly description: string;
1519
1620
  readonly slug: string;
1520
1621
  readonly meta: {
1521
1622
  readonly [x: string]: unknown;
1522
1623
  };
1523
- readonly parent?: number | null | undefined;
1524
1624
  }[];
1525
- readonly tags: readonly {
1526
- readonly description: string;
1625
+ readonly slug: string;
1626
+ readonly categories: readonly {
1527
1627
  readonly id: number;
1528
1628
  readonly name: string;
1629
+ readonly description: string;
1529
1630
  readonly slug: string;
1530
1631
  readonly meta: {
1531
1632
  readonly [x: string]: unknown;
1532
1633
  };
1634
+ readonly parent?: number | null | undefined;
1533
1635
  }[];
1636
+ readonly parentFolder?: string | null | undefined;
1637
+ readonly package: string;
1638
+ readonly showOnNav: boolean;
1639
+ readonly publishedAt: Date;
1640
+ readonly contentLang: string;
1641
+ readonly heroImage?: string | null | undefined;
1534
1642
  readonly authorId: string;
1535
1643
  readonly contributorIds: readonly string[];
1536
1644
  readonly showAuthor: boolean;
1537
1645
  readonly showContributors: boolean;
1538
- readonly parentFolder?: string | null | undefined;
1539
1646
  readonly draft: boolean;
1540
1647
  readonly augments: readonly string[];
1541
1648
  readonly multiLangContent: readonly {
@@ -1574,40 +1681,40 @@ export declare const restClient: Effect.Effect<{
1574
1681
  readonly notifications?: string | null | undefined;
1575
1682
  }[];
1576
1683
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1577
- readonly description: string;
1578
1684
  readonly id: string;
1579
1685
  readonly updatedAt: Date;
1686
+ readonly description: string;
1580
1687
  readonly title: string;
1581
- readonly package: string;
1582
- readonly showOnNav: boolean;
1583
- readonly publishedAt: Date;
1584
- readonly slug: string;
1585
- readonly contentLang: string;
1586
- readonly heroImage?: string | null | undefined;
1587
- readonly categories: readonly {
1588
- readonly description: string;
1688
+ readonly tags: readonly {
1589
1689
  readonly id: number;
1590
1690
  readonly name: string;
1691
+ readonly description: string;
1591
1692
  readonly slug: string;
1592
1693
  readonly meta: {
1593
1694
  readonly [x: string]: unknown;
1594
1695
  };
1595
- readonly parent?: number | null | undefined;
1596
1696
  }[];
1597
- readonly tags: readonly {
1598
- readonly description: string;
1697
+ readonly slug: string;
1698
+ readonly categories: readonly {
1599
1699
  readonly id: number;
1600
1700
  readonly name: string;
1701
+ readonly description: string;
1601
1702
  readonly slug: string;
1602
1703
  readonly meta: {
1603
1704
  readonly [x: string]: unknown;
1604
1705
  };
1706
+ readonly parent?: number | null | undefined;
1605
1707
  }[];
1708
+ readonly parentFolder?: string | null | undefined;
1709
+ readonly package: string;
1710
+ readonly showOnNav: boolean;
1711
+ readonly publishedAt: Date;
1712
+ readonly contentLang: string;
1713
+ readonly heroImage?: string | null | undefined;
1606
1714
  readonly authorId: string;
1607
1715
  readonly contributorIds: readonly string[];
1608
1716
  readonly showAuthor: boolean;
1609
1717
  readonly showContributors: boolean;
1610
- readonly parentFolder?: string | null | undefined;
1611
1718
  readonly draft: boolean;
1612
1719
  readonly augments: readonly string[];
1613
1720
  readonly multiLangContent: readonly {
@@ -1661,44 +1768,44 @@ export declare const restClient: Effect.Effect<{
1661
1768
  readonly diff: string | null;
1662
1769
  readonly pageMetaData: {
1663
1770
  readonly start: {
1664
- readonly description: string;
1665
1771
  readonly id: string;
1666
1772
  readonly updatedAt: Date;
1773
+ readonly description: string;
1667
1774
  readonly title: string;
1775
+ readonly tags: readonly string[];
1776
+ readonly slug: string;
1777
+ readonly categories: readonly string[];
1778
+ readonly parentFolder?: string | null | undefined;
1668
1779
  readonly package: string;
1669
1780
  readonly showOnNav: boolean;
1670
1781
  readonly publishedAt: Date;
1671
- readonly slug: string;
1672
1782
  readonly contentLang: string;
1673
1783
  readonly heroImage?: string | null | undefined;
1674
- readonly categories: readonly string[];
1675
- readonly tags: readonly string[];
1676
1784
  readonly authorId: string;
1677
1785
  readonly contributorIds: readonly string[];
1678
1786
  readonly showAuthor: boolean;
1679
1787
  readonly showContributors: boolean;
1680
- readonly parentFolder?: string | null | undefined;
1681
1788
  readonly draft: boolean;
1682
1789
  readonly augments: readonly string[];
1683
1790
  };
1684
1791
  readonly end: {
1685
- readonly description: string;
1686
1792
  readonly id: string;
1687
1793
  readonly updatedAt: Date;
1794
+ readonly description: string;
1688
1795
  readonly title: string;
1796
+ readonly tags: readonly string[];
1797
+ readonly slug: string;
1798
+ readonly categories: readonly string[];
1799
+ readonly parentFolder?: string | null | undefined;
1689
1800
  readonly package: string;
1690
1801
  readonly showOnNav: boolean;
1691
1802
  readonly publishedAt: Date;
1692
- readonly slug: string;
1693
1803
  readonly contentLang: string;
1694
1804
  readonly heroImage?: string | null | undefined;
1695
- readonly categories: readonly string[];
1696
- readonly tags: readonly string[];
1697
1805
  readonly authorId: string;
1698
1806
  readonly contributorIds: readonly string[];
1699
1807
  readonly showAuthor: boolean;
1700
1808
  readonly showContributors: boolean;
1701
- readonly parentFolder?: string | null | undefined;
1702
1809
  readonly draft: boolean;
1703
1810
  readonly augments: readonly string[];
1704
1811
  };
@@ -1712,44 +1819,44 @@ export declare const restClient: Effect.Effect<{
1712
1819
  readonly diff: string | null;
1713
1820
  readonly pageMetaData: {
1714
1821
  readonly start: {
1715
- readonly description: string;
1716
1822
  readonly id: string;
1717
1823
  readonly updatedAt: Date;
1824
+ readonly description: string;
1718
1825
  readonly title: string;
1826
+ readonly tags: readonly string[];
1827
+ readonly slug: string;
1828
+ readonly categories: readonly string[];
1829
+ readonly parentFolder?: string | null | undefined;
1719
1830
  readonly package: string;
1720
1831
  readonly showOnNav: boolean;
1721
1832
  readonly publishedAt: Date;
1722
- readonly slug: string;
1723
1833
  readonly contentLang: string;
1724
1834
  readonly heroImage?: string | null | undefined;
1725
- readonly categories: readonly string[];
1726
- readonly tags: readonly string[];
1727
1835
  readonly authorId: string;
1728
1836
  readonly contributorIds: readonly string[];
1729
1837
  readonly showAuthor: boolean;
1730
1838
  readonly showContributors: boolean;
1731
- readonly parentFolder?: string | null | undefined;
1732
1839
  readonly draft: boolean;
1733
1840
  readonly augments: readonly string[];
1734
1841
  };
1735
1842
  readonly end: {
1736
- readonly description: string;
1737
1843
  readonly id: string;
1738
1844
  readonly updatedAt: Date;
1845
+ readonly description: string;
1739
1846
  readonly title: string;
1847
+ readonly tags: readonly string[];
1848
+ readonly slug: string;
1849
+ readonly categories: readonly string[];
1850
+ readonly parentFolder?: string | null | undefined;
1740
1851
  readonly package: string;
1741
1852
  readonly showOnNav: boolean;
1742
1853
  readonly publishedAt: Date;
1743
- readonly slug: string;
1744
1854
  readonly contentLang: string;
1745
1855
  readonly heroImage?: string | null | undefined;
1746
- readonly categories: readonly string[];
1747
- readonly tags: readonly string[];
1748
1856
  readonly authorId: string;
1749
1857
  readonly contributorIds: readonly string[];
1750
1858
  readonly showAuthor: boolean;
1751
1859
  readonly showContributors: boolean;
1752
- readonly parentFolder?: string | null | undefined;
1753
1860
  readonly draft: boolean;
1754
1861
  readonly augments: readonly string[];
1755
1862
  };
@@ -1772,44 +1879,44 @@ export declare const restClient: Effect.Effect<{
1772
1879
  readonly diff: string | null;
1773
1880
  readonly pageMetaData: {
1774
1881
  readonly start: {
1775
- readonly description: string;
1776
1882
  readonly id: string;
1777
1883
  readonly updatedAt: Date;
1884
+ readonly description: string;
1778
1885
  readonly title: string;
1886
+ readonly tags: readonly string[];
1887
+ readonly slug: string;
1888
+ readonly categories: readonly string[];
1889
+ readonly parentFolder?: string | null | undefined;
1779
1890
  readonly package: string;
1780
1891
  readonly showOnNav: boolean;
1781
1892
  readonly publishedAt: Date;
1782
- readonly slug: string;
1783
1893
  readonly contentLang: string;
1784
1894
  readonly heroImage?: string | null | undefined;
1785
- readonly categories: readonly string[];
1786
- readonly tags: readonly string[];
1787
1895
  readonly authorId: string;
1788
1896
  readonly contributorIds: readonly string[];
1789
1897
  readonly showAuthor: boolean;
1790
1898
  readonly showContributors: boolean;
1791
- readonly parentFolder?: string | null | undefined;
1792
1899
  readonly draft: boolean;
1793
1900
  readonly augments: readonly string[];
1794
1901
  };
1795
1902
  readonly end: {
1796
- readonly description: string;
1797
1903
  readonly id: string;
1798
1904
  readonly updatedAt: Date;
1905
+ readonly description: string;
1799
1906
  readonly title: string;
1907
+ readonly tags: readonly string[];
1908
+ readonly slug: string;
1909
+ readonly categories: readonly string[];
1910
+ readonly parentFolder?: string | null | undefined;
1800
1911
  readonly package: string;
1801
1912
  readonly showOnNav: boolean;
1802
1913
  readonly publishedAt: Date;
1803
- readonly slug: string;
1804
1914
  readonly contentLang: string;
1805
1915
  readonly heroImage?: string | null | undefined;
1806
- readonly categories: readonly string[];
1807
- readonly tags: readonly string[];
1808
1916
  readonly authorId: string;
1809
1917
  readonly contributorIds: readonly string[];
1810
1918
  readonly showAuthor: boolean;
1811
1919
  readonly showContributors: boolean;
1812
- readonly parentFolder?: string | null | undefined;
1813
1920
  readonly draft: boolean;
1814
1921
  readonly augments: readonly string[];
1815
1922
  };
@@ -1823,44 +1930,44 @@ export declare const restClient: Effect.Effect<{
1823
1930
  readonly diff: string | null;
1824
1931
  readonly pageMetaData: {
1825
1932
  readonly start: {
1826
- readonly description: string;
1827
1933
  readonly id: string;
1828
1934
  readonly updatedAt: Date;
1935
+ readonly description: string;
1829
1936
  readonly title: string;
1937
+ readonly tags: readonly string[];
1938
+ readonly slug: string;
1939
+ readonly categories: readonly string[];
1940
+ readonly parentFolder?: string | null | undefined;
1830
1941
  readonly package: string;
1831
1942
  readonly showOnNav: boolean;
1832
1943
  readonly publishedAt: Date;
1833
- readonly slug: string;
1834
1944
  readonly contentLang: string;
1835
1945
  readonly heroImage?: string | null | undefined;
1836
- readonly categories: readonly string[];
1837
- readonly tags: readonly string[];
1838
1946
  readonly authorId: string;
1839
1947
  readonly contributorIds: readonly string[];
1840
1948
  readonly showAuthor: boolean;
1841
1949
  readonly showContributors: boolean;
1842
- readonly parentFolder?: string | null | undefined;
1843
1950
  readonly draft: boolean;
1844
1951
  readonly augments: readonly string[];
1845
1952
  };
1846
1953
  readonly end: {
1847
- readonly description: string;
1848
1954
  readonly id: string;
1849
1955
  readonly updatedAt: Date;
1956
+ readonly description: string;
1850
1957
  readonly title: string;
1958
+ readonly tags: readonly string[];
1959
+ readonly slug: string;
1960
+ readonly categories: readonly string[];
1961
+ readonly parentFolder?: string | null | undefined;
1851
1962
  readonly package: string;
1852
1963
  readonly showOnNav: boolean;
1853
1964
  readonly publishedAt: Date;
1854
- readonly slug: string;
1855
1965
  readonly contentLang: string;
1856
1966
  readonly heroImage?: string | null | undefined;
1857
- readonly categories: readonly string[];
1858
- readonly tags: readonly string[];
1859
1967
  readonly authorId: string;
1860
1968
  readonly contributorIds: readonly string[];
1861
1969
  readonly showAuthor: boolean;
1862
1970
  readonly showContributors: boolean;
1863
- readonly parentFolder?: string | null | undefined;
1864
1971
  readonly draft: boolean;
1865
1972
  readonly augments: readonly string[];
1866
1973
  };
@@ -1871,33 +1978,33 @@ export declare const restClient: Effect.Effect<{
1871
1978
  readonly id: string;
1872
1979
  };
1873
1980
  readonly payload: {
1981
+ readonly content?: {
1982
+ readonly id?: string | undefined;
1983
+ readonly content?: string | undefined;
1984
+ readonly contentLang?: string | undefined;
1985
+ readonly contentId?: string | undefined;
1986
+ } | undefined;
1874
1987
  readonly data?: {
1875
- readonly description?: string | undefined;
1876
1988
  readonly id?: string | undefined;
1877
1989
  readonly updatedAt?: Date | undefined;
1990
+ readonly description?: string | undefined;
1878
1991
  readonly title?: string | undefined;
1992
+ readonly tags?: readonly string[] | undefined;
1993
+ readonly slug?: string | undefined;
1994
+ readonly categories?: readonly string[] | undefined;
1995
+ readonly parentFolder?: string | null | undefined;
1879
1996
  readonly package?: string | undefined;
1880
1997
  readonly showOnNav?: boolean | undefined;
1881
1998
  readonly publishedAt?: Date | undefined;
1882
- readonly slug?: string | undefined;
1883
1999
  readonly contentLang?: string | undefined;
1884
2000
  readonly heroImage?: string | null | undefined;
1885
- readonly categories?: readonly string[] | undefined;
1886
- readonly tags?: readonly string[] | undefined;
1887
2001
  readonly authorId?: string | undefined;
1888
2002
  readonly contributorIds?: readonly string[] | undefined;
1889
2003
  readonly showAuthor?: boolean | undefined;
1890
2004
  readonly showContributors?: boolean | undefined;
1891
- readonly parentFolder?: string | null | undefined;
1892
2005
  readonly draft?: boolean | undefined;
1893
2006
  readonly augments?: readonly string[] | undefined;
1894
2007
  } | undefined;
1895
- readonly content?: {
1896
- readonly id?: string | undefined;
1897
- readonly content?: string | undefined;
1898
- readonly contentLang?: string | undefined;
1899
- readonly contentId?: string | undefined;
1900
- } | undefined;
1901
2008
  };
1902
2009
  readonly withResponse?: WithResponse | undefined;
1903
2010
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -1909,47 +2016,47 @@ export declare const restClient: Effect.Effect<{
1909
2016
  readonly urlParams: {
1910
2017
  readonly title?: string | undefined;
1911
2018
  readonly slug?: string | undefined;
2019
+ readonly author?: string | undefined;
1912
2020
  readonly parentFolder?: string | undefined;
1913
2021
  readonly draft?: boolean | undefined;
1914
- readonly author?: string | undefined;
1915
2022
  readonly published?: boolean | undefined;
1916
2023
  };
1917
2024
  readonly withResponse?: WithResponse | undefined;
1918
2025
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1919
- readonly description: string;
1920
2026
  readonly id: string;
1921
2027
  readonly updatedAt: Date;
2028
+ readonly description: string;
1922
2029
  readonly title: string;
1923
- readonly package: string;
1924
- readonly showOnNav: boolean;
1925
- readonly publishedAt: Date;
1926
- readonly slug: string;
1927
- readonly contentLang: string;
1928
- readonly heroImage?: string | null | undefined;
1929
- readonly categories: readonly {
1930
- readonly description: string;
2030
+ readonly tags: readonly {
1931
2031
  readonly id: number;
1932
2032
  readonly name: string;
2033
+ readonly description: string;
1933
2034
  readonly slug: string;
1934
2035
  readonly meta: {
1935
2036
  readonly [x: string]: unknown;
1936
2037
  };
1937
- readonly parent?: number | null | undefined;
1938
2038
  }[];
1939
- readonly tags: readonly {
1940
- readonly description: string;
2039
+ readonly slug: string;
2040
+ readonly categories: readonly {
1941
2041
  readonly id: number;
1942
2042
  readonly name: string;
2043
+ readonly description: string;
1943
2044
  readonly slug: string;
1944
2045
  readonly meta: {
1945
2046
  readonly [x: string]: unknown;
1946
2047
  };
2048
+ readonly parent?: number | null | undefined;
1947
2049
  }[];
2050
+ readonly parentFolder?: string | null | undefined;
2051
+ readonly package: string;
2052
+ readonly showOnNav: boolean;
2053
+ readonly publishedAt: Date;
2054
+ readonly contentLang: string;
2055
+ readonly heroImage?: string | null | undefined;
1948
2056
  readonly authorId: string;
1949
2057
  readonly contributorIds: readonly string[];
1950
2058
  readonly showAuthor: boolean;
1951
2059
  readonly showContributors: boolean;
1952
- readonly parentFolder?: string | null | undefined;
1953
2060
  readonly draft: boolean;
1954
2061
  readonly augments: readonly string[];
1955
2062
  readonly multiLangContent: readonly {
@@ -1988,40 +2095,40 @@ export declare const restClient: Effect.Effect<{
1988
2095
  readonly notifications?: string | null | undefined;
1989
2096
  }[];
1990
2097
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1991
- readonly description: string;
1992
2098
  readonly id: string;
1993
2099
  readonly updatedAt: Date;
2100
+ readonly description: string;
1994
2101
  readonly title: string;
1995
- readonly package: string;
1996
- readonly showOnNav: boolean;
1997
- readonly publishedAt: Date;
1998
- readonly slug: string;
1999
- readonly contentLang: string;
2000
- readonly heroImage?: string | null | undefined;
2001
- readonly categories: readonly {
2002
- readonly description: string;
2102
+ readonly tags: readonly {
2003
2103
  readonly id: number;
2004
2104
  readonly name: string;
2105
+ readonly description: string;
2005
2106
  readonly slug: string;
2006
2107
  readonly meta: {
2007
2108
  readonly [x: string]: unknown;
2008
2109
  };
2009
- readonly parent?: number | null | undefined;
2010
2110
  }[];
2011
- readonly tags: readonly {
2012
- readonly description: string;
2111
+ readonly slug: string;
2112
+ readonly categories: readonly {
2013
2113
  readonly id: number;
2014
2114
  readonly name: string;
2115
+ readonly description: string;
2015
2116
  readonly slug: string;
2016
2117
  readonly meta: {
2017
2118
  readonly [x: string]: unknown;
2018
2119
  };
2120
+ readonly parent?: number | null | undefined;
2019
2121
  }[];
2122
+ readonly parentFolder?: string | null | undefined;
2123
+ readonly package: string;
2124
+ readonly showOnNav: boolean;
2125
+ readonly publishedAt: Date;
2126
+ readonly contentLang: string;
2127
+ readonly heroImage?: string | null | undefined;
2020
2128
  readonly authorId: string;
2021
2129
  readonly contributorIds: readonly string[];
2022
2130
  readonly showAuthor: boolean;
2023
2131
  readonly showContributors: boolean;
2024
- readonly parentFolder?: string | null | undefined;
2025
2132
  readonly draft: boolean;
2026
2133
  readonly augments: readonly string[];
2027
2134
  readonly multiLangContent: readonly {
@@ -2062,33 +2169,33 @@ export declare const restClient: Effect.Effect<{
2062
2169
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2063
2170
  readonly createPage: <WithResponse extends boolean = false>(request: {
2064
2171
  readonly payload: {
2172
+ readonly content?: {
2173
+ readonly id?: string | undefined;
2174
+ readonly content?: string | undefined;
2175
+ readonly contentLang?: string | undefined;
2176
+ readonly contentId?: string | undefined;
2177
+ } | undefined;
2065
2178
  readonly data?: {
2066
- readonly description?: string | undefined;
2067
2179
  readonly id?: string | undefined;
2068
2180
  readonly updatedAt?: Date | undefined;
2181
+ readonly description?: string | undefined;
2069
2182
  readonly title?: string | undefined;
2183
+ readonly tags?: readonly string[] | undefined;
2184
+ readonly slug?: string | undefined;
2185
+ readonly categories?: readonly string[] | undefined;
2186
+ readonly parentFolder?: string | null | undefined;
2070
2187
  readonly package?: string | undefined;
2071
2188
  readonly showOnNav?: boolean | undefined;
2072
2189
  readonly publishedAt?: Date | undefined;
2073
- readonly slug?: string | undefined;
2074
2190
  readonly contentLang?: string | undefined;
2075
2191
  readonly heroImage?: string | null | undefined;
2076
- readonly categories?: readonly string[] | undefined;
2077
- readonly tags?: readonly string[] | undefined;
2078
2192
  readonly authorId?: string | undefined;
2079
2193
  readonly contributorIds?: readonly string[] | undefined;
2080
2194
  readonly showAuthor?: boolean | undefined;
2081
2195
  readonly showContributors?: boolean | undefined;
2082
- readonly parentFolder?: string | null | undefined;
2083
2196
  readonly draft?: boolean | undefined;
2084
2197
  readonly augments?: readonly string[] | undefined;
2085
2198
  } | undefined;
2086
- readonly content?: {
2087
- readonly id?: string | undefined;
2088
- readonly content?: string | undefined;
2089
- readonly contentLang?: string | undefined;
2090
- readonly contentId?: string | undefined;
2091
- } | undefined;
2092
2199
  };
2093
2200
  readonly withResponse?: WithResponse | undefined;
2094
2201
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2112,17 +2219,17 @@ export declare const restClient: Effect.Effect<{
2112
2219
  };
2113
2220
  readonly withResponse?: WithResponse | undefined;
2114
2221
  }) => Effect.Effect<WithResponse extends true ? [{
2115
- readonly description: string;
2116
2222
  readonly id: number;
2117
2223
  readonly name: string;
2224
+ readonly description: string;
2118
2225
  readonly slug: string;
2119
2226
  readonly meta: {
2120
2227
  readonly [x: string]: unknown;
2121
2228
  };
2122
2229
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2123
- readonly description: string;
2124
2230
  readonly id: number;
2125
2231
  readonly name: string;
2232
+ readonly description: string;
2126
2233
  readonly slug: string;
2127
2234
  readonly meta: {
2128
2235
  readonly [x: string]: unknown;
@@ -2133,9 +2240,9 @@ export declare const restClient: Effect.Effect<{
2133
2240
  readonly id: number;
2134
2241
  };
2135
2242
  readonly payload: {
2136
- readonly description?: string | undefined;
2137
2243
  readonly id?: number | undefined;
2138
2244
  readonly name?: string | undefined;
2245
+ readonly description?: string | undefined;
2139
2246
  readonly slug?: string | undefined;
2140
2247
  readonly meta?: {
2141
2248
  readonly [x: string]: unknown;
@@ -2143,17 +2250,17 @@ export declare const restClient: Effect.Effect<{
2143
2250
  };
2144
2251
  readonly withResponse?: WithResponse | undefined;
2145
2252
  }) => Effect.Effect<WithResponse extends true ? [{
2146
- readonly description: string;
2147
2253
  readonly id: number;
2148
2254
  readonly name: string;
2255
+ readonly description: string;
2149
2256
  readonly slug: string;
2150
2257
  readonly meta: {
2151
2258
  readonly [x: string]: unknown;
2152
2259
  };
2153
2260
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2154
- readonly description: string;
2155
2261
  readonly id: number;
2156
2262
  readonly name: string;
2263
+ readonly description: string;
2157
2264
  readonly slug: string;
2158
2265
  readonly meta: {
2159
2266
  readonly [x: string]: unknown;
@@ -2165,17 +2272,17 @@ export declare const restClient: Effect.Effect<{
2165
2272
  };
2166
2273
  readonly withResponse?: WithResponse | undefined;
2167
2274
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2168
- readonly description: string;
2169
2275
  readonly id: number;
2170
2276
  readonly name: string;
2277
+ readonly description: string;
2171
2278
  readonly slug: string;
2172
2279
  readonly meta: {
2173
2280
  readonly [x: string]: unknown;
2174
2281
  };
2175
2282
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2176
- readonly description: string;
2177
2283
  readonly id: number;
2178
2284
  readonly name: string;
2285
+ readonly description: string;
2179
2286
  readonly slug: string;
2180
2287
  readonly meta: {
2181
2288
  readonly [x: string]: unknown;
@@ -2183,159 +2290,52 @@ export declare const restClient: Effect.Effect<{
2183
2290
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2184
2291
  readonly createTag: <WithResponse extends boolean = false>(request: {
2185
2292
  readonly payload: {
2186
- readonly description: string;
2187
2293
  readonly name: string;
2294
+ readonly description: string;
2188
2295
  readonly slug: string;
2189
2296
  readonly meta: string;
2190
2297
  };
2191
2298
  readonly withResponse?: WithResponse | undefined;
2192
2299
  }) => Effect.Effect<WithResponse extends true ? [{
2193
- readonly description: string;
2194
2300
  readonly id: number;
2195
2301
  readonly name: string;
2302
+ readonly description: string;
2196
2303
  readonly slug: string;
2197
2304
  readonly meta: {
2198
2305
  readonly [x: string]: unknown;
2199
2306
  };
2200
2307
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2201
- readonly description: string;
2202
2308
  readonly id: number;
2203
2309
  readonly name: string;
2310
+ readonly description: string;
2204
2311
  readonly slug: string;
2205
2312
  readonly meta: {
2206
2313
  readonly [x: string]: unknown;
2207
2314
  };
2208
2315
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2209
- readonly deleteUser: <WithResponse extends boolean = false>(request: {
2210
- readonly path: {
2211
- readonly id: string;
2212
- };
2316
+ readonly getSettings: <WithResponse extends boolean = false>(request: void | {
2213
2317
  readonly withResponse?: WithResponse | undefined;
2214
2318
  }) => Effect.Effect<WithResponse extends true ? [{
2215
- readonly message: string;
2216
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2217
- readonly message: string;
2218
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2219
- readonly getUser: <WithResponse extends boolean = false>(request: {
2220
- readonly path: {
2221
- readonly id: string;
2319
+ readonly id: string;
2320
+ readonly data: {
2321
+ readonly description: string;
2322
+ readonly title: string;
2323
+ readonly _config_version: string;
2324
+ readonly defaultOgImage?: string | null | undefined;
2325
+ readonly siteIcon?: string | null | undefined;
2326
+ readonly loginPageBackground?: string | undefined;
2327
+ readonly loginPageCustomImage?: string | null | undefined;
2328
+ readonly enableDiffs?: boolean | undefined;
2329
+ readonly diffPerPage?: number | undefined;
2330
+ readonly gridItems?: string[] | undefined;
2331
+ readonly enableMailer?: boolean | undefined;
2222
2332
  };
2223
- readonly withResponse?: WithResponse | undefined;
2224
- }) => Effect.Effect<WithResponse extends true ? [{
2225
- readonly id: string;
2226
- readonly url?: string | null | undefined;
2227
- readonly name: string;
2228
- readonly email?: string | null | undefined;
2229
- readonly avatar?: string | null | undefined;
2230
- readonly username: string;
2231
- readonly updatedAt: Date;
2232
- readonly createdAt: Date;
2233
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2234
- readonly id: string;
2235
- readonly url?: string | null | undefined;
2236
- readonly name: string;
2237
- readonly email?: string | null | undefined;
2238
- readonly avatar?: string | null | undefined;
2239
- readonly username: string;
2240
- readonly updatedAt: Date;
2241
- readonly createdAt: Date;
2242
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2243
- readonly updateUser: <WithResponse extends boolean = false>(request: {
2244
- readonly path: {
2245
- readonly id: string;
2246
- };
2247
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
2248
- readonly withResponse?: WithResponse | undefined;
2249
- }) => Effect.Effect<WithResponse extends true ? [{
2250
- readonly id: string;
2251
- readonly url?: string | null | undefined;
2252
- readonly name: string;
2253
- readonly email?: string | null | undefined;
2254
- readonly avatar?: string | null | undefined;
2255
- readonly username: string;
2256
- readonly updatedAt: Date;
2257
- readonly createdAt: Date;
2258
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2259
- readonly id: string;
2260
- readonly url?: string | null | undefined;
2261
- readonly name: string;
2262
- readonly email?: string | null | undefined;
2263
- readonly avatar?: string | null | undefined;
2264
- readonly username: string;
2265
- readonly updatedAt: Date;
2266
- readonly createdAt: Date;
2267
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2268
- readonly getUsers: <WithResponse extends boolean = false>(request: {
2269
- readonly urlParams: {
2270
- readonly name?: string | undefined;
2271
- readonly username?: string | undefined;
2272
- readonly rank?: string | undefined;
2273
- };
2274
- readonly withResponse?: WithResponse | undefined;
2275
- }) => Effect.Effect<WithResponse extends true ? [readonly {
2276
- readonly id: string;
2277
- readonly url?: string | null | undefined;
2278
- readonly name: string;
2279
- readonly email?: string | null | undefined;
2280
- readonly avatar?: string | null | undefined;
2281
- readonly username: string;
2282
- readonly updatedAt: Date;
2283
- readonly createdAt: Date;
2284
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2285
- readonly id: string;
2286
- readonly url?: string | null | undefined;
2287
- readonly name: string;
2288
- readonly email?: string | null | undefined;
2289
- readonly avatar?: string | null | undefined;
2290
- readonly username: string;
2291
- readonly updatedAt: Date;
2292
- readonly createdAt: Date;
2293
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2294
- readonly createUser: <WithResponse extends boolean = false>(request: {
2295
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIndexJSONData;
2296
- readonly withResponse?: WithResponse | undefined;
2297
- }) => Effect.Effect<WithResponse extends true ? [{
2298
- readonly id: string;
2299
- readonly url?: string | null | undefined;
2300
- readonly name: string;
2301
- readonly email?: string | null | undefined;
2302
- readonly avatar?: string | null | undefined;
2303
- readonly username: string;
2304
- readonly updatedAt: Date;
2305
- readonly createdAt: Date;
2306
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2307
- readonly id: string;
2308
- readonly url?: string | null | undefined;
2309
- readonly name: string;
2310
- readonly email?: string | null | undefined;
2311
- readonly avatar?: string | null | undefined;
2312
- readonly username: string;
2313
- readonly updatedAt: Date;
2314
- readonly createdAt: Date;
2315
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2316
- readonly getSettings: <WithResponse extends boolean = false>(request: void | {
2317
- readonly withResponse?: WithResponse | undefined;
2318
- }) => Effect.Effect<WithResponse extends true ? [{
2333
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2319
2334
  readonly id: string;
2320
2335
  readonly data: {
2321
2336
  readonly description: string;
2322
- readonly _config_version: string;
2323
2337
  readonly title: string;
2324
- readonly defaultOgImage?: string | null | undefined;
2325
- readonly siteIcon?: string | null | undefined;
2326
- readonly loginPageBackground?: string | undefined;
2327
- readonly loginPageCustomImage?: string | null | undefined;
2328
- readonly enableDiffs?: boolean | undefined;
2329
- readonly diffPerPage?: number | undefined;
2330
- readonly gridItems?: string[] | undefined;
2331
- readonly enableMailer?: boolean | undefined;
2332
- };
2333
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2334
- readonly id: string;
2335
- readonly data: {
2336
- readonly description: string;
2337
2338
  readonly _config_version: string;
2338
- readonly title: string;
2339
2339
  readonly defaultOgImage?: string | null | undefined;
2340
2340
  readonly siteIcon?: string | null | undefined;
2341
2341
  readonly loginPageBackground?: string | undefined;
@@ -2349,8 +2349,8 @@ export declare const restClient: Effect.Effect<{
2349
2349
  readonly updateSettings: <WithResponse extends boolean = false>(request: {
2350
2350
  readonly payload: {
2351
2351
  description: string;
2352
- _config_version: string;
2353
2352
  title: string;
2353
+ _config_version: string;
2354
2354
  defaultOgImage?: string | null | undefined;
2355
2355
  siteIcon?: string | null | undefined;
2356
2356
  loginPageBackground?: string | undefined;
@@ -2396,8 +2396,8 @@ export declare const sdkClient: Effect.Effect<{
2396
2396
  readonly avatar?: string | null | undefined;
2397
2397
  readonly username: string;
2398
2398
  readonly permissionsData: {
2399
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
2400
2399
  readonly user: string;
2400
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2401
2401
  } | undefined;
2402
2402
  }[];
2403
2403
  readonly searchQuery?: string | undefined;
@@ -2454,7 +2454,7 @@ export declare const apiClients: {
2454
2454
  readonly message: string;
2455
2455
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2456
2456
  readonly message: string;
2457
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2457
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2458
2458
  readonly login: <WithResponse extends boolean = false>(request: {
2459
2459
  readonly payload: {
2460
2460
  readonly username: string;
@@ -2465,10 +2465,10 @@ export declare const apiClients: {
2465
2465
  readonly ok: boolean;
2466
2466
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2467
2467
  readonly ok: boolean;
2468
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2468
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2469
2469
  readonly logout: <WithResponse extends boolean = false>(request: void | {
2470
2470
  readonly withResponse?: WithResponse | undefined;
2471
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2471
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2472
2472
  readonly register: <WithResponse extends boolean = false>(request: {
2473
2473
  readonly payload: {
2474
2474
  readonly email: string;
@@ -2481,7 +2481,7 @@ export declare const apiClients: {
2481
2481
  readonly ok: boolean;
2482
2482
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2483
2483
  readonly ok: boolean;
2484
- }, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2484
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2485
2485
  };
2486
2486
  readonly oauth: {
2487
2487
  readonly oAuthInit: <WithResponse extends boolean = false>(request: {
@@ -2489,13 +2489,13 @@ export declare const apiClients: {
2489
2489
  readonly provider: string;
2490
2490
  };
2491
2491
  readonly withResponse?: WithResponse | undefined;
2492
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2492
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2493
2493
  readonly oAuthCallback: <WithResponse extends boolean = false>(request: {
2494
2494
  readonly path: {
2495
2495
  readonly provider: string;
2496
2496
  };
2497
2497
  readonly withResponse?: WithResponse | undefined;
2498
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | AuthAPIError | import("@effect/platform/HttpApiError").NotFound | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2498
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").NotFound | AuthAPIError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2499
2499
  };
2500
2500
  }, never, never>;
2501
2501
  dashboard: Effect.Effect<{
@@ -2556,22 +2556,22 @@ export declare const apiClients: {
2556
2556
  readonly content: {
2557
2557
  readonly createPage: <WithResponse extends boolean = false>(request: {
2558
2558
  readonly payload: {
2559
- readonly description?: string | undefined;
2560
2559
  readonly updatedAt?: Date | undefined;
2560
+ readonly description?: string | undefined;
2561
2561
  readonly title?: string | undefined;
2562
+ readonly tags?: readonly string[] | undefined;
2563
+ readonly slug?: string | undefined;
2564
+ readonly categories?: readonly string[] | undefined;
2565
+ readonly parentFolder?: string | null | undefined;
2562
2566
  readonly package?: string | undefined;
2563
2567
  readonly showOnNav?: boolean | undefined;
2564
2568
  readonly publishedAt?: Date | undefined;
2565
- readonly slug?: string | undefined;
2566
2569
  readonly contentLang?: string | undefined;
2567
2570
  readonly heroImage?: string | null | undefined;
2568
- readonly categories?: readonly string[] | undefined;
2569
- readonly tags?: readonly string[] | undefined;
2570
2571
  readonly authorId?: string | undefined;
2571
2572
  readonly contributorIds?: readonly string[] | undefined;
2572
2573
  readonly showAuthor?: boolean | undefined;
2573
2574
  readonly showContributors?: boolean | undefined;
2574
- readonly parentFolder?: string | null | undefined;
2575
2575
  readonly draft?: boolean | undefined;
2576
2576
  readonly augments?: readonly string[] | undefined;
2577
2577
  };
@@ -2583,24 +2583,24 @@ export declare const apiClients: {
2583
2583
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2584
2584
  readonly updatePage: <WithResponse extends boolean = false>(request: {
2585
2585
  readonly payload: {
2586
- readonly description?: string | undefined;
2587
2586
  readonly id: string;
2588
2587
  readonly updatedAt?: Date | undefined;
2589
- readonly title?: string | undefined;
2588
+ readonly description?: string | undefined;
2590
2589
  readonly content: string;
2590
+ readonly title?: string | undefined;
2591
+ readonly tags?: readonly string[] | undefined;
2592
+ readonly slug?: string | undefined;
2593
+ readonly categories?: readonly string[] | undefined;
2594
+ readonly parentFolder?: string | null | undefined;
2591
2595
  readonly package?: string | undefined;
2592
2596
  readonly showOnNav?: boolean | undefined;
2593
2597
  readonly publishedAt?: Date | undefined;
2594
- readonly slug?: string | undefined;
2595
2598
  readonly contentLang?: string | undefined;
2596
2599
  readonly heroImage?: string | null | undefined;
2597
- readonly categories?: readonly string[] | undefined;
2598
- readonly tags?: readonly string[] | undefined;
2599
2600
  readonly authorId?: string | undefined;
2600
2601
  readonly contributorIds?: readonly string[] | undefined;
2601
2602
  readonly showAuthor?: boolean | undefined;
2602
2603
  readonly showContributors?: boolean | undefined;
2603
- readonly parentFolder?: string | null | undefined;
2604
2604
  readonly draft?: boolean | undefined;
2605
2605
  readonly augments?: readonly string[] | undefined;
2606
2606
  readonly contentId: string;
@@ -2661,7 +2661,7 @@ export declare const apiClients: {
2661
2661
  readonly revertToDiff: <WithResponse extends boolean = false>(request: {
2662
2662
  readonly payload: {
2663
2663
  readonly id: string;
2664
- readonly type: "data" | "content" | "both";
2664
+ readonly type: "content" | "data" | "both";
2665
2665
  };
2666
2666
  readonly withResponse?: WithResponse | undefined;
2667
2667
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2726,19 +2726,19 @@ export declare const apiClients: {
2726
2726
  readonly withResponse?: WithResponse | undefined;
2727
2727
  }) => Effect.Effect<WithResponse extends true ? [{
2728
2728
  readonly id: string;
2729
- readonly token: string;
2730
2729
  readonly userId: string;
2730
+ readonly token: string;
2731
2731
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2732
2732
  readonly id: string;
2733
- readonly token: string;
2734
2733
  readonly userId: string;
2734
+ readonly token: string;
2735
2735
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2736
2736
  readonly createUserInvite: <WithResponse extends boolean = false>(request: {
2737
2737
  readonly payload: {
2738
2738
  readonly email: string;
2739
2739
  readonly username: string;
2740
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2740
2741
  readonly displayname: string;
2741
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
2742
2742
  readonly originalUrl: string;
2743
2743
  };
2744
2744
  readonly withResponse?: WithResponse | undefined;
@@ -2752,8 +2752,8 @@ export declare const apiClients: {
2752
2752
  readonly email: string;
2753
2753
  readonly username: string;
2754
2754
  readonly password?: string | undefined;
2755
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2755
2756
  readonly displayname: string;
2756
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
2757
2757
  readonly originalUrl: string;
2758
2758
  };
2759
2759
  readonly withResponse?: WithResponse | undefined;
@@ -2796,7 +2796,6 @@ export declare const apiClients: {
2796
2796
  readonly profile: {
2797
2797
  readonly updateUserProfile: <WithResponse extends boolean = false>(request: {
2798
2798
  readonly payload: {
2799
- readonly mode: "basic";
2800
2799
  readonly data: {
2801
2800
  readonly url?: string | null | undefined;
2802
2801
  readonly name: string;
@@ -2809,16 +2808,17 @@ export declare const apiClients: {
2809
2808
  readonly emailVerified: boolean;
2810
2809
  readonly notifications?: string | null | undefined;
2811
2810
  };
2811
+ readonly mode: "basic";
2812
2812
  };
2813
2813
  readonly withResponse?: WithResponse | undefined;
2814
2814
  } | {
2815
2815
  readonly payload: {
2816
- readonly mode: "password";
2817
2816
  readonly data: {
2818
2817
  readonly currentPassword: string | null;
2819
2818
  readonly newPassword: string;
2820
2819
  readonly confirmNewPassword: string;
2821
2820
  };
2821
+ readonly mode: "password";
2822
2822
  };
2823
2823
  readonly withResponse?: WithResponse | undefined;
2824
2824
  } | {
@@ -2868,29 +2868,29 @@ export declare const apiClients: {
2868
2868
  readonly taxonomy: {
2869
2869
  readonly taxonomy: <WithResponse extends boolean = false>(request: {
2870
2870
  readonly payload: {
2871
- readonly description: string;
2872
- readonly mode: "create" | "edit";
2873
2871
  readonly id: number;
2874
2872
  readonly name: string;
2873
+ readonly description: string;
2875
2874
  readonly slug: string;
2876
- readonly type: "tags";
2877
2875
  readonly meta: {
2878
2876
  readonly [x: string]: unknown;
2879
2877
  };
2878
+ readonly type: "tags";
2879
+ readonly mode: "create" | "edit";
2880
2880
  };
2881
2881
  readonly withResponse?: WithResponse | undefined;
2882
2882
  } | {
2883
2883
  readonly payload: {
2884
- readonly description: string;
2885
- readonly mode: "create" | "edit";
2886
2884
  readonly id: number;
2887
2885
  readonly name: string;
2886
+ readonly description: string;
2888
2887
  readonly slug: string;
2889
- readonly type: "categories";
2890
2888
  readonly meta: {
2891
2889
  readonly [x: string]: unknown;
2892
2890
  };
2893
2891
  readonly parent?: number | null | undefined;
2892
+ readonly type: "categories";
2893
+ readonly mode: "create" | "edit";
2894
2894
  };
2895
2895
  readonly withResponse?: WithResponse | undefined;
2896
2896
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2901,7 +2901,7 @@ export declare const apiClients: {
2901
2901
  readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
2902
2902
  readonly payload: {
2903
2903
  readonly id: number;
2904
- readonly type: "categories" | "tags";
2904
+ readonly type: "tags" | "categories";
2905
2905
  };
2906
2906
  readonly withResponse?: WithResponse | undefined;
2907
2907
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2912,26 +2912,26 @@ export declare const apiClients: {
2912
2912
  readonly taxonomySearch: <WithResponse extends boolean = false>(request: void | {
2913
2913
  readonly withResponse?: WithResponse | undefined;
2914
2914
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2915
- readonly description: string;
2916
2915
  readonly id: number;
2917
2916
  readonly name: string;
2917
+ readonly description: string;
2918
2918
  readonly slug: string;
2919
- readonly type: "tag" | "category";
2920
2919
  readonly meta: {
2921
2920
  readonly [x: string]: unknown;
2922
2921
  };
2923
2922
  readonly parent: number | null | undefined;
2923
+ readonly type: "tag" | "category";
2924
2924
  readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
2925
2925
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2926
- readonly description: string;
2927
2926
  readonly id: number;
2928
2927
  readonly name: string;
2928
+ readonly description: string;
2929
2929
  readonly slug: string;
2930
- readonly type: "tag" | "category";
2931
2930
  readonly meta: {
2932
2931
  readonly [x: string]: unknown;
2933
2932
  };
2934
2933
  readonly parent: number | null | undefined;
2934
+ readonly type: "tag" | "category";
2935
2935
  readonly children: readonly import("@withstudiocms/api-spec/dashboard").TaxonomyNode[];
2936
2936
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2937
2937
  };
@@ -2963,7 +2963,7 @@ export declare const apiClients: {
2963
2963
  readonly payload: {
2964
2964
  readonly id: string;
2965
2965
  readonly emailVerified: boolean;
2966
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
2966
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2967
2967
  };
2968
2968
  readonly withResponse?: WithResponse | undefined;
2969
2969
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2985,13 +2985,6 @@ export declare const apiClients: {
2985
2985
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2986
2986
  };
2987
2987
  readonly verifyEndpoints: {
2988
- readonly verifyEmail: <WithResponse extends boolean = false>(request: {
2989
- readonly urlParams: {
2990
- readonly token: string;
2991
- readonly userId: string;
2992
- };
2993
- readonly withResponse?: WithResponse | undefined;
2994
- }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2995
2988
  readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
2996
2989
  readonly payload: {
2997
2990
  readonly userId: string;
@@ -3002,6 +2995,13 @@ export declare const apiClients: {
3002
2995
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3003
2996
  readonly message: string;
3004
2997
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2998
+ readonly verifyEmail: <WithResponse extends boolean = false>(request: {
2999
+ readonly urlParams: {
3000
+ readonly userId: string;
3001
+ readonly token: string;
3002
+ };
3003
+ readonly withResponse?: WithResponse | undefined;
3004
+ }) => Effect.Effect<WithResponse extends true ? [null, import("@effect/platform/HttpClientResponse").HttpClientResponse] : null, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/dashboard").DashboardAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3005
3005
  readonly verifySession: <WithResponse extends boolean = false>(request: {
3006
3006
  readonly payload: {
3007
3007
  readonly originPathname: string;
@@ -3009,6 +3009,7 @@ export declare const apiClients: {
3009
3009
  readonly withResponse?: WithResponse | undefined;
3010
3010
  }) => Effect.Effect<WithResponse extends true ? [{
3011
3011
  readonly isLoggedIn: boolean;
3012
+ readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
3012
3013
  readonly user: {
3013
3014
  readonly id: string;
3014
3015
  readonly name: string;
@@ -3016,7 +3017,6 @@ export declare const apiClients: {
3016
3017
  readonly avatar: string | null;
3017
3018
  readonly username: string;
3018
3019
  } | null;
3019
- readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
3020
3020
  readonly routes: {
3021
3021
  readonly logout: string;
3022
3022
  readonly userProfile: string;
@@ -3025,6 +3025,7 @@ export declare const apiClients: {
3025
3025
  };
3026
3026
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3027
3027
  readonly isLoggedIn: boolean;
3028
+ readonly permissionLevel: "owner" | "admin" | "editor" | "visitor" | "unknown";
3028
3029
  readonly user: {
3029
3030
  readonly id: string;
3030
3031
  readonly name: string;
@@ -3032,7 +3033,6 @@ export declare const apiClients: {
3032
3033
  readonly avatar: string | null;
3033
3034
  readonly username: string;
3034
3035
  } | null;
3035
- readonly permissionLevel: "editor" | "admin" | "owner" | "unknown" | "visitor";
3036
3036
  readonly routes: {
3037
3037
  readonly logout: string;
3038
3038
  readonly userProfile: string;
@@ -3101,8 +3101,8 @@ export declare const apiClients: {
3101
3101
  }[];
3102
3102
  readonly type: "transaction";
3103
3103
  } | {
3104
- readonly error: string;
3105
3104
  readonly id: number;
3105
+ readonly error: string;
3106
3106
  readonly type: "query" | "transaction";
3107
3107
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3108
3108
  readonly id: number;
@@ -3147,16 +3147,16 @@ export declare const apiClients: {
3147
3147
  }[];
3148
3148
  readonly type: "transaction";
3149
3149
  } | {
3150
- readonly error: string;
3151
3150
  readonly id: number;
3151
+ readonly error: string;
3152
3152
  readonly type: "query" | "transaction";
3153
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpApiError").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3153
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/astro-context").AstroLocalsMissing | import("@effect/platform/HttpApiError").Unauthorized | import("@withstudiocms/api-spec/integrations").IntegrationsAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3154
3154
  };
3155
3155
  readonly storageManager: {
3156
3156
  readonly storageManager: <WithResponse extends boolean = false>(request: {
3157
3157
  readonly payload: {
3158
- readonly identifier: `storage-file://${string}`;
3159
3158
  readonly action: "resolveUrl";
3159
+ readonly identifier: `storage-file://${string}`;
3160
3160
  };
3161
3161
  readonly withResponse?: WithResponse | undefined;
3162
3162
  } | {
@@ -3234,8 +3234,8 @@ export declare const apiClients: {
3234
3234
  } | {
3235
3235
  readonly success: boolean;
3236
3236
  } | {
3237
- readonly newKey: string;
3238
3237
  readonly success: boolean;
3238
+ readonly newKey: string;
3239
3239
  } | {
3240
3240
  readonly url: string;
3241
3241
  } | {
@@ -3271,8 +3271,8 @@ export declare const apiClients: {
3271
3271
  } | {
3272
3272
  readonly success: boolean;
3273
3273
  } | {
3274
- readonly newKey: string;
3275
3274
  readonly success: boolean;
3275
+ readonly newKey: string;
3276
3276
  } | {
3277
3277
  readonly url: string;
3278
3278
  } | {
@@ -3305,49 +3305,171 @@ export declare const apiClients: {
3305
3305
  }, never, never>;
3306
3306
  rest: Effect.Effect<{
3307
3307
  readonly restV1Public: {
3308
+ readonly getTags: <WithResponse extends boolean = false>(request: {
3309
+ readonly urlParams: {
3310
+ readonly name?: string | undefined;
3311
+ };
3312
+ readonly withResponse?: WithResponse | undefined;
3313
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3314
+ readonly id: number;
3315
+ readonly name: string;
3316
+ readonly description: string;
3317
+ readonly slug: string;
3318
+ readonly meta: {
3319
+ readonly [x: string]: unknown;
3320
+ };
3321
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3322
+ readonly id: number;
3323
+ readonly name: string;
3324
+ readonly description: string;
3325
+ readonly slug: string;
3326
+ readonly meta: {
3327
+ readonly [x: string]: unknown;
3328
+ };
3329
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3330
+ readonly getTag: <WithResponse extends boolean = false>(request: {
3331
+ readonly path: {
3332
+ readonly id: number;
3333
+ };
3334
+ readonly withResponse?: WithResponse | undefined;
3335
+ }) => Effect.Effect<WithResponse extends true ? [{
3336
+ readonly id: number;
3337
+ readonly name: string;
3338
+ readonly description: string;
3339
+ readonly slug: string;
3340
+ readonly meta: {
3341
+ readonly [x: string]: unknown;
3342
+ };
3343
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3344
+ readonly id: number;
3345
+ readonly name: string;
3346
+ readonly description: string;
3347
+ readonly slug: string;
3348
+ readonly meta: {
3349
+ readonly [x: string]: unknown;
3350
+ };
3351
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3352
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
3353
+ readonly urlParams: {
3354
+ readonly name?: string | undefined;
3355
+ readonly parent?: number | undefined;
3356
+ };
3357
+ readonly withResponse?: WithResponse | undefined;
3358
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3359
+ readonly id: number;
3360
+ readonly name: string;
3361
+ readonly description: string;
3362
+ readonly slug: string;
3363
+ readonly meta: {
3364
+ readonly [x: string]: unknown;
3365
+ };
3366
+ readonly parent?: number | null | undefined;
3367
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3368
+ readonly id: number;
3369
+ readonly name: string;
3370
+ readonly description: string;
3371
+ readonly slug: string;
3372
+ readonly meta: {
3373
+ readonly [x: string]: unknown;
3374
+ };
3375
+ readonly parent?: number | null | undefined;
3376
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3377
+ readonly getCategory: <WithResponse extends boolean = false>(request: {
3378
+ readonly path: {
3379
+ readonly id: number;
3380
+ };
3381
+ readonly withResponse?: WithResponse | undefined;
3382
+ }) => Effect.Effect<WithResponse extends true ? [{
3383
+ readonly id: number;
3384
+ readonly name: string;
3385
+ readonly description: string;
3386
+ readonly slug: string;
3387
+ readonly meta: {
3388
+ readonly [x: string]: unknown;
3389
+ };
3390
+ readonly parent?: number | null | undefined;
3391
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3392
+ readonly id: number;
3393
+ readonly name: string;
3394
+ readonly description: string;
3395
+ readonly slug: string;
3396
+ readonly meta: {
3397
+ readonly [x: string]: unknown;
3398
+ };
3399
+ readonly parent?: number | null | undefined;
3400
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3401
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
3402
+ readonly urlParams: {
3403
+ readonly name?: string | undefined;
3404
+ readonly parent?: string | undefined;
3405
+ };
3406
+ readonly withResponse?: WithResponse | undefined;
3407
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3408
+ readonly id: string;
3409
+ readonly name: string;
3410
+ readonly parent?: string | null | undefined;
3411
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3412
+ readonly id: string;
3413
+ readonly name: string;
3414
+ readonly parent?: string | null | undefined;
3415
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3416
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
3417
+ readonly path: {
3418
+ readonly id: string;
3419
+ };
3420
+ readonly withResponse?: WithResponse | undefined;
3421
+ }) => Effect.Effect<WithResponse extends true ? [{
3422
+ readonly id: string;
3423
+ readonly name: string;
3424
+ readonly parent?: string | null | undefined;
3425
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3426
+ readonly id: string;
3427
+ readonly name: string;
3428
+ readonly parent?: string | null | undefined;
3429
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3308
3430
  readonly getPages: <WithResponse extends boolean = false>(request: {
3309
3431
  readonly urlParams: {
3310
3432
  readonly title?: string | undefined;
3311
3433
  readonly slug?: string | undefined;
3312
- readonly parentFolder?: string | undefined;
3313
3434
  readonly author?: string | undefined;
3435
+ readonly parentFolder?: string | undefined;
3314
3436
  };
3315
3437
  readonly withResponse?: WithResponse | undefined;
3316
3438
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3317
- readonly description: string;
3318
3439
  readonly id: string;
3319
3440
  readonly updatedAt: Date;
3441
+ readonly description: string;
3320
3442
  readonly title: string;
3321
- readonly package: string;
3322
- readonly showOnNav: boolean;
3323
- readonly publishedAt: Date;
3324
- readonly slug: string;
3325
- readonly contentLang: string;
3326
- readonly heroImage?: string | null | undefined;
3327
- readonly categories: readonly {
3328
- readonly description: string;
3443
+ readonly tags: readonly {
3329
3444
  readonly id: number;
3330
3445
  readonly name: string;
3446
+ readonly description: string;
3331
3447
  readonly slug: string;
3332
3448
  readonly meta: {
3333
3449
  readonly [x: string]: unknown;
3334
3450
  };
3335
- readonly parent?: number | null | undefined;
3336
3451
  }[];
3337
- readonly tags: readonly {
3338
- readonly description: string;
3452
+ readonly slug: string;
3453
+ readonly categories: readonly {
3339
3454
  readonly id: number;
3340
3455
  readonly name: string;
3456
+ readonly description: string;
3341
3457
  readonly slug: string;
3342
3458
  readonly meta: {
3343
3459
  readonly [x: string]: unknown;
3344
3460
  };
3461
+ readonly parent?: number | null | undefined;
3345
3462
  }[];
3463
+ readonly parentFolder?: string | null | undefined;
3464
+ readonly package: string;
3465
+ readonly showOnNav: boolean;
3466
+ readonly publishedAt: Date;
3467
+ readonly contentLang: string;
3468
+ readonly heroImage?: string | null | undefined;
3346
3469
  readonly authorId: string;
3347
3470
  readonly contributorIds: readonly string[];
3348
3471
  readonly showAuthor: boolean;
3349
3472
  readonly showContributors: boolean;
3350
- readonly parentFolder?: string | null | undefined;
3351
3473
  readonly draft: boolean;
3352
3474
  readonly augments: readonly string[];
3353
3475
  readonly multiLangContent: readonly {
@@ -3386,40 +3508,40 @@ export declare const apiClients: {
3386
3508
  readonly notifications?: string | null | undefined;
3387
3509
  }[];
3388
3510
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3389
- readonly description: string;
3390
3511
  readonly id: string;
3391
3512
  readonly updatedAt: Date;
3513
+ readonly description: string;
3392
3514
  readonly title: string;
3393
- readonly package: string;
3394
- readonly showOnNav: boolean;
3395
- readonly publishedAt: Date;
3396
- readonly slug: string;
3397
- readonly contentLang: string;
3398
- readonly heroImage?: string | null | undefined;
3399
- readonly categories: readonly {
3400
- readonly description: string;
3515
+ readonly tags: readonly {
3401
3516
  readonly id: number;
3402
3517
  readonly name: string;
3518
+ readonly description: string;
3403
3519
  readonly slug: string;
3404
3520
  readonly meta: {
3405
3521
  readonly [x: string]: unknown;
3406
3522
  };
3407
- readonly parent?: number | null | undefined;
3408
3523
  }[];
3409
- readonly tags: readonly {
3410
- readonly description: string;
3524
+ readonly slug: string;
3525
+ readonly categories: readonly {
3411
3526
  readonly id: number;
3412
3527
  readonly name: string;
3528
+ readonly description: string;
3413
3529
  readonly slug: string;
3414
3530
  readonly meta: {
3415
3531
  readonly [x: string]: unknown;
3416
3532
  };
3533
+ readonly parent?: number | null | undefined;
3417
3534
  }[];
3535
+ readonly parentFolder?: string | null | undefined;
3536
+ readonly package: string;
3537
+ readonly showOnNav: boolean;
3538
+ readonly publishedAt: Date;
3539
+ readonly contentLang: string;
3540
+ readonly heroImage?: string | null | undefined;
3418
3541
  readonly authorId: string;
3419
3542
  readonly contributorIds: readonly string[];
3420
3543
  readonly showAuthor: boolean;
3421
3544
  readonly showContributors: boolean;
3422
- readonly parentFolder?: string | null | undefined;
3423
3545
  readonly draft: boolean;
3424
3546
  readonly augments: readonly string[];
3425
3547
  readonly multiLangContent: readonly {
@@ -3464,40 +3586,40 @@ export declare const apiClients: {
3464
3586
  };
3465
3587
  readonly withResponse?: WithResponse | undefined;
3466
3588
  }) => Effect.Effect<WithResponse extends true ? [{
3467
- readonly description: string;
3468
3589
  readonly id: string;
3469
3590
  readonly updatedAt: Date;
3591
+ readonly description: string;
3470
3592
  readonly title: string;
3471
- readonly package: string;
3472
- readonly showOnNav: boolean;
3473
- readonly publishedAt: Date;
3474
- readonly slug: string;
3475
- readonly contentLang: string;
3476
- readonly heroImage?: string | null | undefined;
3477
- readonly categories: readonly {
3478
- readonly description: string;
3593
+ readonly tags: readonly {
3479
3594
  readonly id: number;
3480
3595
  readonly name: string;
3596
+ readonly description: string;
3481
3597
  readonly slug: string;
3482
3598
  readonly meta: {
3483
3599
  readonly [x: string]: unknown;
3484
3600
  };
3485
- readonly parent?: number | null | undefined;
3486
3601
  }[];
3487
- readonly tags: readonly {
3488
- readonly description: string;
3602
+ readonly slug: string;
3603
+ readonly categories: readonly {
3489
3604
  readonly id: number;
3490
3605
  readonly name: string;
3606
+ readonly description: string;
3491
3607
  readonly slug: string;
3492
3608
  readonly meta: {
3493
3609
  readonly [x: string]: unknown;
3494
3610
  };
3611
+ readonly parent?: number | null | undefined;
3495
3612
  }[];
3613
+ readonly parentFolder?: string | null | undefined;
3614
+ readonly package: string;
3615
+ readonly showOnNav: boolean;
3616
+ readonly publishedAt: Date;
3617
+ readonly contentLang: string;
3618
+ readonly heroImage?: string | null | undefined;
3496
3619
  readonly authorId: string;
3497
3620
  readonly contributorIds: readonly string[];
3498
3621
  readonly showAuthor: boolean;
3499
3622
  readonly showContributors: boolean;
3500
- readonly parentFolder?: string | null | undefined;
3501
3623
  readonly draft: boolean;
3502
3624
  readonly augments: readonly string[];
3503
3625
  readonly multiLangContent: readonly {
@@ -3536,40 +3658,40 @@ export declare const apiClients: {
3536
3658
  readonly notifications?: string | null | undefined;
3537
3659
  }[];
3538
3660
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3539
- readonly description: string;
3540
3661
  readonly id: string;
3541
3662
  readonly updatedAt: Date;
3663
+ readonly description: string;
3542
3664
  readonly title: string;
3543
- readonly package: string;
3544
- readonly showOnNav: boolean;
3545
- readonly publishedAt: Date;
3546
- readonly slug: string;
3547
- readonly contentLang: string;
3548
- readonly heroImage?: string | null | undefined;
3549
- readonly categories: readonly {
3550
- readonly description: string;
3665
+ readonly tags: readonly {
3551
3666
  readonly id: number;
3552
3667
  readonly name: string;
3668
+ readonly description: string;
3553
3669
  readonly slug: string;
3554
3670
  readonly meta: {
3555
3671
  readonly [x: string]: unknown;
3556
3672
  };
3557
- readonly parent?: number | null | undefined;
3558
3673
  }[];
3559
- readonly tags: readonly {
3560
- readonly description: string;
3674
+ readonly slug: string;
3675
+ readonly categories: readonly {
3561
3676
  readonly id: number;
3562
3677
  readonly name: string;
3678
+ readonly description: string;
3563
3679
  readonly slug: string;
3564
3680
  readonly meta: {
3565
3681
  readonly [x: string]: unknown;
3566
3682
  };
3683
+ readonly parent?: number | null | undefined;
3567
3684
  }[];
3685
+ readonly parentFolder?: string | null | undefined;
3686
+ readonly package: string;
3687
+ readonly showOnNav: boolean;
3688
+ readonly publishedAt: Date;
3689
+ readonly contentLang: string;
3690
+ readonly heroImage?: string | null | undefined;
3568
3691
  readonly authorId: string;
3569
3692
  readonly contributorIds: readonly string[];
3570
3693
  readonly showAuthor: boolean;
3571
3694
  readonly showContributors: boolean;
3572
- readonly parentFolder?: string | null | undefined;
3573
3695
  readonly draft: boolean;
3574
3696
  readonly augments: readonly string[];
3575
3697
  readonly multiLangContent: readonly {
@@ -3604,134 +3726,119 @@ export declare const apiClients: {
3604
3726
  readonly username: string;
3605
3727
  readonly updatedAt: Date;
3606
3728
  readonly createdAt: Date;
3607
- readonly emailVerified: boolean;
3608
- readonly notifications?: string | null | undefined;
3609
- }[];
3610
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3611
- readonly getCategories: <WithResponse extends boolean = false>(request: {
3612
- readonly urlParams: {
3613
- readonly name?: string | undefined;
3614
- readonly parent?: number | undefined;
3615
- };
3616
- readonly withResponse?: WithResponse | undefined;
3617
- }) => Effect.Effect<WithResponse extends true ? [readonly {
3618
- readonly description: string;
3619
- readonly id: number;
3620
- readonly name: string;
3621
- readonly slug: string;
3622
- readonly meta: {
3623
- readonly [x: string]: unknown;
3624
- };
3625
- readonly parent?: number | null | undefined;
3626
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3627
- readonly description: string;
3628
- readonly id: number;
3629
- readonly name: string;
3630
- readonly slug: string;
3631
- readonly meta: {
3632
- readonly [x: string]: unknown;
3633
- };
3634
- readonly parent?: number | null | undefined;
3635
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3636
- readonly getCategory: <WithResponse extends boolean = false>(request: {
3637
- readonly path: {
3638
- readonly id: number;
3639
- };
3640
- readonly withResponse?: WithResponse | undefined;
3641
- }) => Effect.Effect<WithResponse extends true ? [{
3642
- readonly description: string;
3643
- readonly id: number;
3644
- readonly name: string;
3645
- readonly slug: string;
3646
- readonly meta: {
3647
- readonly [x: string]: unknown;
3648
- };
3649
- readonly parent?: number | null | undefined;
3650
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3651
- readonly description: string;
3652
- readonly id: number;
3653
- readonly name: string;
3654
- readonly slug: string;
3655
- readonly meta: {
3656
- readonly [x: string]: unknown;
3657
- };
3658
- readonly parent?: number | null | undefined;
3729
+ readonly emailVerified: boolean;
3730
+ readonly notifications?: string | null | undefined;
3731
+ }[];
3659
3732
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3660
- readonly getFolders: <WithResponse extends boolean = false>(request: {
3733
+ };
3734
+ readonly restV1: {
3735
+ readonly getUsers: <WithResponse extends boolean = false>(request: {
3661
3736
  readonly urlParams: {
3662
3737
  readonly name?: string | undefined;
3663
- readonly parent?: string | undefined;
3738
+ readonly username?: string | undefined;
3739
+ readonly rank?: string | undefined;
3664
3740
  };
3665
3741
  readonly withResponse?: WithResponse | undefined;
3666
3742
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3667
3743
  readonly id: string;
3744
+ readonly url?: string | null | undefined;
3668
3745
  readonly name: string;
3669
- readonly parent?: string | null | undefined;
3746
+ readonly email?: string | null | undefined;
3747
+ readonly avatar?: string | null | undefined;
3748
+ readonly username: string;
3749
+ readonly updatedAt: Date;
3750
+ readonly createdAt: Date;
3670
3751
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3671
3752
  readonly id: string;
3753
+ readonly url?: string | null | undefined;
3672
3754
  readonly name: string;
3673
- readonly parent?: string | null | undefined;
3674
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3675
- readonly getFolder: <WithResponse extends boolean = false>(request: {
3676
- readonly path: {
3677
- readonly id: string;
3678
- };
3755
+ readonly email?: string | null | undefined;
3756
+ readonly avatar?: string | null | undefined;
3757
+ readonly username: string;
3758
+ readonly updatedAt: Date;
3759
+ readonly createdAt: Date;
3760
+ }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3761
+ readonly createUser: <WithResponse extends boolean = false>(request: {
3762
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIndexJSONData;
3679
3763
  readonly withResponse?: WithResponse | undefined;
3680
3764
  }) => Effect.Effect<WithResponse extends true ? [{
3681
3765
  readonly id: string;
3766
+ readonly url?: string | null | undefined;
3682
3767
  readonly name: string;
3683
- readonly parent?: string | null | undefined;
3768
+ readonly email?: string | null | undefined;
3769
+ readonly avatar?: string | null | undefined;
3770
+ readonly username: string;
3771
+ readonly updatedAt: Date;
3772
+ readonly createdAt: Date;
3684
3773
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3685
3774
  readonly id: string;
3775
+ readonly url?: string | null | undefined;
3686
3776
  readonly name: string;
3687
- readonly parent?: string | null | undefined;
3688
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3689
- readonly getTags: <WithResponse extends boolean = false>(request: {
3690
- readonly urlParams: {
3691
- readonly name?: string | undefined;
3777
+ readonly email?: string | null | undefined;
3778
+ readonly avatar?: string | null | undefined;
3779
+ readonly username: string;
3780
+ readonly updatedAt: Date;
3781
+ readonly createdAt: Date;
3782
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3783
+ readonly getUser: <WithResponse extends boolean = false>(request: {
3784
+ readonly path: {
3785
+ readonly id: string;
3692
3786
  };
3693
3787
  readonly withResponse?: WithResponse | undefined;
3694
- }) => Effect.Effect<WithResponse extends true ? [readonly {
3695
- readonly description: string;
3696
- readonly id: number;
3788
+ }) => Effect.Effect<WithResponse extends true ? [{
3789
+ readonly id: string;
3790
+ readonly url?: string | null | undefined;
3697
3791
  readonly name: string;
3698
- readonly slug: string;
3699
- readonly meta: {
3700
- readonly [x: string]: unknown;
3701
- };
3702
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3703
- readonly description: string;
3704
- readonly id: number;
3792
+ readonly email?: string | null | undefined;
3793
+ readonly avatar?: string | null | undefined;
3794
+ readonly username: string;
3795
+ readonly updatedAt: Date;
3796
+ readonly createdAt: Date;
3797
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3798
+ readonly id: string;
3799
+ readonly url?: string | null | undefined;
3705
3800
  readonly name: string;
3706
- readonly slug: string;
3707
- readonly meta: {
3708
- readonly [x: string]: unknown;
3709
- };
3710
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3711
- readonly getTag: <WithResponse extends boolean = false>(request: {
3801
+ readonly email?: string | null | undefined;
3802
+ readonly avatar?: string | null | undefined;
3803
+ readonly username: string;
3804
+ readonly updatedAt: Date;
3805
+ readonly createdAt: Date;
3806
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3807
+ readonly updateUser: <WithResponse extends boolean = false>(request: {
3712
3808
  readonly path: {
3713
- readonly id: number;
3809
+ readonly id: string;
3714
3810
  };
3811
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
3715
3812
  readonly withResponse?: WithResponse | undefined;
3716
3813
  }) => Effect.Effect<WithResponse extends true ? [{
3717
- readonly description: string;
3718
- readonly id: number;
3814
+ readonly id: string;
3815
+ readonly url?: string | null | undefined;
3719
3816
  readonly name: string;
3720
- readonly slug: string;
3721
- readonly meta: {
3722
- readonly [x: string]: unknown;
3723
- };
3817
+ readonly email?: string | null | undefined;
3818
+ readonly avatar?: string | null | undefined;
3819
+ readonly username: string;
3820
+ readonly updatedAt: Date;
3821
+ readonly createdAt: Date;
3724
3822
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3725
- readonly description: string;
3726
- readonly id: number;
3823
+ readonly id: string;
3824
+ readonly url?: string | null | undefined;
3727
3825
  readonly name: string;
3728
- readonly slug: string;
3729
- readonly meta: {
3730
- readonly [x: string]: unknown;
3826
+ readonly email?: string | null | undefined;
3827
+ readonly avatar?: string | null | undefined;
3828
+ readonly username: string;
3829
+ readonly updatedAt: Date;
3830
+ readonly createdAt: Date;
3831
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3832
+ readonly deleteUser: <WithResponse extends boolean = false>(request: {
3833
+ readonly path: {
3834
+ readonly id: string;
3731
3835
  };
3732
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
3733
- };
3734
- readonly restV1: {
3836
+ readonly withResponse?: WithResponse | undefined;
3837
+ }) => Effect.Effect<WithResponse extends true ? [{
3838
+ readonly message: string;
3839
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3840
+ readonly message: string;
3841
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3735
3842
  readonly deleteCategory: <WithResponse extends boolean = false>(request: {
3736
3843
  readonly path: {
3737
3844
  readonly id: number;
@@ -3748,18 +3855,18 @@ export declare const apiClients: {
3748
3855
  };
3749
3856
  readonly withResponse?: WithResponse | undefined;
3750
3857
  }) => Effect.Effect<WithResponse extends true ? [{
3751
- readonly description: string;
3752
3858
  readonly id: number;
3753
3859
  readonly name: string;
3860
+ readonly description: string;
3754
3861
  readonly slug: string;
3755
3862
  readonly meta: {
3756
3863
  readonly [x: string]: unknown;
3757
3864
  };
3758
3865
  readonly parent?: number | null | undefined;
3759
3866
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3760
- readonly description: string;
3761
3867
  readonly id: number;
3762
3868
  readonly name: string;
3869
+ readonly description: string;
3763
3870
  readonly slug: string;
3764
3871
  readonly meta: {
3765
3872
  readonly [x: string]: unknown;
@@ -3771,9 +3878,9 @@ export declare const apiClients: {
3771
3878
  readonly id: number;
3772
3879
  };
3773
3880
  readonly payload: {
3774
- readonly description?: string | undefined;
3775
3881
  readonly id?: number | undefined;
3776
3882
  readonly name?: string | undefined;
3883
+ readonly description?: string | undefined;
3777
3884
  readonly slug?: string | undefined;
3778
3885
  readonly meta?: {
3779
3886
  readonly [x: string]: unknown;
@@ -3782,18 +3889,18 @@ export declare const apiClients: {
3782
3889
  };
3783
3890
  readonly withResponse?: WithResponse | undefined;
3784
3891
  }) => Effect.Effect<WithResponse extends true ? [{
3785
- readonly description: string;
3786
3892
  readonly id: number;
3787
3893
  readonly name: string;
3894
+ readonly description: string;
3788
3895
  readonly slug: string;
3789
3896
  readonly meta: {
3790
3897
  readonly [x: string]: unknown;
3791
3898
  };
3792
3899
  readonly parent?: number | null | undefined;
3793
3900
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3794
- readonly description: string;
3795
3901
  readonly id: number;
3796
3902
  readonly name: string;
3903
+ readonly description: string;
3797
3904
  readonly slug: string;
3798
3905
  readonly meta: {
3799
3906
  readonly [x: string]: unknown;
@@ -3807,18 +3914,18 @@ export declare const apiClients: {
3807
3914
  };
3808
3915
  readonly withResponse?: WithResponse | undefined;
3809
3916
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3810
- readonly description: string;
3811
3917
  readonly id: number;
3812
3918
  readonly name: string;
3919
+ readonly description: string;
3813
3920
  readonly slug: string;
3814
3921
  readonly meta: {
3815
3922
  readonly [x: string]: unknown;
3816
3923
  };
3817
3924
  readonly parent?: number | null | undefined;
3818
3925
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3819
- readonly description: string;
3820
3926
  readonly id: number;
3821
3927
  readonly name: string;
3928
+ readonly description: string;
3822
3929
  readonly slug: string;
3823
3930
  readonly meta: {
3824
3931
  readonly [x: string]: unknown;
@@ -3827,26 +3934,26 @@ export declare const apiClients: {
3827
3934
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3828
3935
  readonly createCategory: <WithResponse extends boolean = false>(request: {
3829
3936
  readonly payload: {
3830
- readonly description: string;
3831
3937
  readonly name: string;
3938
+ readonly description: string;
3832
3939
  readonly slug: string;
3833
3940
  readonly meta: string;
3834
3941
  readonly parent?: number | null | undefined;
3835
3942
  };
3836
3943
  readonly withResponse?: WithResponse | undefined;
3837
3944
  }) => Effect.Effect<WithResponse extends true ? [{
3838
- readonly description: string;
3839
3945
  readonly id: number;
3840
3946
  readonly name: string;
3947
+ readonly description: string;
3841
3948
  readonly slug: string;
3842
3949
  readonly meta: {
3843
3950
  readonly [x: string]: unknown;
3844
3951
  };
3845
3952
  readonly parent?: number | null | undefined;
3846
3953
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3847
- readonly description: string;
3848
3954
  readonly id: number;
3849
3955
  readonly name: string;
3956
+ readonly description: string;
3850
3957
  readonly slug: string;
3851
3958
  readonly meta: {
3852
3959
  readonly [x: string]: unknown;
@@ -3933,40 +4040,40 @@ export declare const apiClients: {
3933
4040
  };
3934
4041
  readonly withResponse?: WithResponse | undefined;
3935
4042
  }) => Effect.Effect<WithResponse extends true ? [{
3936
- readonly description: string;
3937
4043
  readonly id: string;
3938
4044
  readonly updatedAt: Date;
4045
+ readonly description: string;
3939
4046
  readonly title: string;
3940
- readonly package: string;
3941
- readonly showOnNav: boolean;
3942
- readonly publishedAt: Date;
3943
- readonly slug: string;
3944
- readonly contentLang: string;
3945
- readonly heroImage?: string | null | undefined;
3946
- readonly categories: readonly {
3947
- readonly description: string;
4047
+ readonly tags: readonly {
3948
4048
  readonly id: number;
3949
4049
  readonly name: string;
4050
+ readonly description: string;
3950
4051
  readonly slug: string;
3951
4052
  readonly meta: {
3952
4053
  readonly [x: string]: unknown;
3953
4054
  };
3954
- readonly parent?: number | null | undefined;
3955
4055
  }[];
3956
- readonly tags: readonly {
3957
- readonly description: string;
4056
+ readonly slug: string;
4057
+ readonly categories: readonly {
3958
4058
  readonly id: number;
3959
4059
  readonly name: string;
4060
+ readonly description: string;
3960
4061
  readonly slug: string;
3961
4062
  readonly meta: {
3962
4063
  readonly [x: string]: unknown;
3963
4064
  };
4065
+ readonly parent?: number | null | undefined;
3964
4066
  }[];
4067
+ readonly parentFolder?: string | null | undefined;
4068
+ readonly package: string;
4069
+ readonly showOnNav: boolean;
4070
+ readonly publishedAt: Date;
4071
+ readonly contentLang: string;
4072
+ readonly heroImage?: string | null | undefined;
3965
4073
  readonly authorId: string;
3966
4074
  readonly contributorIds: readonly string[];
3967
4075
  readonly showAuthor: boolean;
3968
4076
  readonly showContributors: boolean;
3969
- readonly parentFolder?: string | null | undefined;
3970
4077
  readonly draft: boolean;
3971
4078
  readonly augments: readonly string[];
3972
4079
  readonly multiLangContent: readonly {
@@ -4005,40 +4112,40 @@ export declare const apiClients: {
4005
4112
  readonly notifications?: string | null | undefined;
4006
4113
  }[];
4007
4114
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4008
- readonly description: string;
4009
4115
  readonly id: string;
4010
4116
  readonly updatedAt: Date;
4117
+ readonly description: string;
4011
4118
  readonly title: string;
4012
- readonly package: string;
4013
- readonly showOnNav: boolean;
4014
- readonly publishedAt: Date;
4015
- readonly slug: string;
4016
- readonly contentLang: string;
4017
- readonly heroImage?: string | null | undefined;
4018
- readonly categories: readonly {
4019
- readonly description: string;
4119
+ readonly tags: readonly {
4020
4120
  readonly id: number;
4021
4121
  readonly name: string;
4122
+ readonly description: string;
4022
4123
  readonly slug: string;
4023
4124
  readonly meta: {
4024
4125
  readonly [x: string]: unknown;
4025
4126
  };
4026
- readonly parent?: number | null | undefined;
4027
4127
  }[];
4028
- readonly tags: readonly {
4029
- readonly description: string;
4128
+ readonly slug: string;
4129
+ readonly categories: readonly {
4030
4130
  readonly id: number;
4031
4131
  readonly name: string;
4132
+ readonly description: string;
4032
4133
  readonly slug: string;
4033
4134
  readonly meta: {
4034
4135
  readonly [x: string]: unknown;
4035
4136
  };
4137
+ readonly parent?: number | null | undefined;
4036
4138
  }[];
4139
+ readonly parentFolder?: string | null | undefined;
4140
+ readonly package: string;
4141
+ readonly showOnNav: boolean;
4142
+ readonly publishedAt: Date;
4143
+ readonly contentLang: string;
4144
+ readonly heroImage?: string | null | undefined;
4037
4145
  readonly authorId: string;
4038
4146
  readonly contributorIds: readonly string[];
4039
4147
  readonly showAuthor: boolean;
4040
4148
  readonly showContributors: boolean;
4041
- readonly parentFolder?: string | null | undefined;
4042
4149
  readonly draft: boolean;
4043
4150
  readonly augments: readonly string[];
4044
4151
  readonly multiLangContent: readonly {
@@ -4092,44 +4199,44 @@ export declare const apiClients: {
4092
4199
  readonly diff: string | null;
4093
4200
  readonly pageMetaData: {
4094
4201
  readonly start: {
4095
- readonly description: string;
4096
4202
  readonly id: string;
4097
4203
  readonly updatedAt: Date;
4204
+ readonly description: string;
4098
4205
  readonly title: string;
4206
+ readonly tags: readonly string[];
4207
+ readonly slug: string;
4208
+ readonly categories: readonly string[];
4209
+ readonly parentFolder?: string | null | undefined;
4099
4210
  readonly package: string;
4100
4211
  readonly showOnNav: boolean;
4101
4212
  readonly publishedAt: Date;
4102
- readonly slug: string;
4103
4213
  readonly contentLang: string;
4104
4214
  readonly heroImage?: string | null | undefined;
4105
- readonly categories: readonly string[];
4106
- readonly tags: readonly string[];
4107
4215
  readonly authorId: string;
4108
4216
  readonly contributorIds: readonly string[];
4109
4217
  readonly showAuthor: boolean;
4110
4218
  readonly showContributors: boolean;
4111
- readonly parentFolder?: string | null | undefined;
4112
4219
  readonly draft: boolean;
4113
4220
  readonly augments: readonly string[];
4114
4221
  };
4115
4222
  readonly end: {
4116
- readonly description: string;
4117
4223
  readonly id: string;
4118
4224
  readonly updatedAt: Date;
4225
+ readonly description: string;
4119
4226
  readonly title: string;
4227
+ readonly tags: readonly string[];
4228
+ readonly slug: string;
4229
+ readonly categories: readonly string[];
4230
+ readonly parentFolder?: string | null | undefined;
4120
4231
  readonly package: string;
4121
4232
  readonly showOnNav: boolean;
4122
4233
  readonly publishedAt: Date;
4123
- readonly slug: string;
4124
4234
  readonly contentLang: string;
4125
4235
  readonly heroImage?: string | null | undefined;
4126
- readonly categories: readonly string[];
4127
- readonly tags: readonly string[];
4128
4236
  readonly authorId: string;
4129
4237
  readonly contributorIds: readonly string[];
4130
4238
  readonly showAuthor: boolean;
4131
4239
  readonly showContributors: boolean;
4132
- readonly parentFolder?: string | null | undefined;
4133
4240
  readonly draft: boolean;
4134
4241
  readonly augments: readonly string[];
4135
4242
  };
@@ -4143,44 +4250,44 @@ export declare const apiClients: {
4143
4250
  readonly diff: string | null;
4144
4251
  readonly pageMetaData: {
4145
4252
  readonly start: {
4146
- readonly description: string;
4147
4253
  readonly id: string;
4148
4254
  readonly updatedAt: Date;
4255
+ readonly description: string;
4149
4256
  readonly title: string;
4257
+ readonly tags: readonly string[];
4258
+ readonly slug: string;
4259
+ readonly categories: readonly string[];
4260
+ readonly parentFolder?: string | null | undefined;
4150
4261
  readonly package: string;
4151
4262
  readonly showOnNav: boolean;
4152
4263
  readonly publishedAt: Date;
4153
- readonly slug: string;
4154
4264
  readonly contentLang: string;
4155
4265
  readonly heroImage?: string | null | undefined;
4156
- readonly categories: readonly string[];
4157
- readonly tags: readonly string[];
4158
4266
  readonly authorId: string;
4159
4267
  readonly contributorIds: readonly string[];
4160
4268
  readonly showAuthor: boolean;
4161
4269
  readonly showContributors: boolean;
4162
- readonly parentFolder?: string | null | undefined;
4163
4270
  readonly draft: boolean;
4164
4271
  readonly augments: readonly string[];
4165
4272
  };
4166
4273
  readonly end: {
4167
- readonly description: string;
4168
4274
  readonly id: string;
4169
4275
  readonly updatedAt: Date;
4276
+ readonly description: string;
4170
4277
  readonly title: string;
4278
+ readonly tags: readonly string[];
4279
+ readonly slug: string;
4280
+ readonly categories: readonly string[];
4281
+ readonly parentFolder?: string | null | undefined;
4171
4282
  readonly package: string;
4172
4283
  readonly showOnNav: boolean;
4173
4284
  readonly publishedAt: Date;
4174
- readonly slug: string;
4175
4285
  readonly contentLang: string;
4176
4286
  readonly heroImage?: string | null | undefined;
4177
- readonly categories: readonly string[];
4178
- readonly tags: readonly string[];
4179
4287
  readonly authorId: string;
4180
4288
  readonly contributorIds: readonly string[];
4181
4289
  readonly showAuthor: boolean;
4182
4290
  readonly showContributors: boolean;
4183
- readonly parentFolder?: string | null | undefined;
4184
4291
  readonly draft: boolean;
4185
4292
  readonly augments: readonly string[];
4186
4293
  };
@@ -4203,44 +4310,44 @@ export declare const apiClients: {
4203
4310
  readonly diff: string | null;
4204
4311
  readonly pageMetaData: {
4205
4312
  readonly start: {
4206
- readonly description: string;
4207
4313
  readonly id: string;
4208
4314
  readonly updatedAt: Date;
4315
+ readonly description: string;
4209
4316
  readonly title: string;
4317
+ readonly tags: readonly string[];
4318
+ readonly slug: string;
4319
+ readonly categories: readonly string[];
4320
+ readonly parentFolder?: string | null | undefined;
4210
4321
  readonly package: string;
4211
4322
  readonly showOnNav: boolean;
4212
4323
  readonly publishedAt: Date;
4213
- readonly slug: string;
4214
4324
  readonly contentLang: string;
4215
4325
  readonly heroImage?: string | null | undefined;
4216
- readonly categories: readonly string[];
4217
- readonly tags: readonly string[];
4218
4326
  readonly authorId: string;
4219
4327
  readonly contributorIds: readonly string[];
4220
4328
  readonly showAuthor: boolean;
4221
4329
  readonly showContributors: boolean;
4222
- readonly parentFolder?: string | null | undefined;
4223
4330
  readonly draft: boolean;
4224
4331
  readonly augments: readonly string[];
4225
4332
  };
4226
4333
  readonly end: {
4227
- readonly description: string;
4228
4334
  readonly id: string;
4229
4335
  readonly updatedAt: Date;
4336
+ readonly description: string;
4230
4337
  readonly title: string;
4338
+ readonly tags: readonly string[];
4339
+ readonly slug: string;
4340
+ readonly categories: readonly string[];
4341
+ readonly parentFolder?: string | null | undefined;
4231
4342
  readonly package: string;
4232
4343
  readonly showOnNav: boolean;
4233
4344
  readonly publishedAt: Date;
4234
- readonly slug: string;
4235
4345
  readonly contentLang: string;
4236
4346
  readonly heroImage?: string | null | undefined;
4237
- readonly categories: readonly string[];
4238
- readonly tags: readonly string[];
4239
4347
  readonly authorId: string;
4240
4348
  readonly contributorIds: readonly string[];
4241
4349
  readonly showAuthor: boolean;
4242
4350
  readonly showContributors: boolean;
4243
- readonly parentFolder?: string | null | undefined;
4244
4351
  readonly draft: boolean;
4245
4352
  readonly augments: readonly string[];
4246
4353
  };
@@ -4254,44 +4361,44 @@ export declare const apiClients: {
4254
4361
  readonly diff: string | null;
4255
4362
  readonly pageMetaData: {
4256
4363
  readonly start: {
4257
- readonly description: string;
4258
4364
  readonly id: string;
4259
4365
  readonly updatedAt: Date;
4366
+ readonly description: string;
4260
4367
  readonly title: string;
4368
+ readonly tags: readonly string[];
4369
+ readonly slug: string;
4370
+ readonly categories: readonly string[];
4371
+ readonly parentFolder?: string | null | undefined;
4261
4372
  readonly package: string;
4262
4373
  readonly showOnNav: boolean;
4263
4374
  readonly publishedAt: Date;
4264
- readonly slug: string;
4265
4375
  readonly contentLang: string;
4266
4376
  readonly heroImage?: string | null | undefined;
4267
- readonly categories: readonly string[];
4268
- readonly tags: readonly string[];
4269
4377
  readonly authorId: string;
4270
4378
  readonly contributorIds: readonly string[];
4271
4379
  readonly showAuthor: boolean;
4272
4380
  readonly showContributors: boolean;
4273
- readonly parentFolder?: string | null | undefined;
4274
4381
  readonly draft: boolean;
4275
4382
  readonly augments: readonly string[];
4276
4383
  };
4277
4384
  readonly end: {
4278
- readonly description: string;
4279
4385
  readonly id: string;
4280
4386
  readonly updatedAt: Date;
4387
+ readonly description: string;
4281
4388
  readonly title: string;
4389
+ readonly tags: readonly string[];
4390
+ readonly slug: string;
4391
+ readonly categories: readonly string[];
4392
+ readonly parentFolder?: string | null | undefined;
4282
4393
  readonly package: string;
4283
4394
  readonly showOnNav: boolean;
4284
4395
  readonly publishedAt: Date;
4285
- readonly slug: string;
4286
4396
  readonly contentLang: string;
4287
4397
  readonly heroImage?: string | null | undefined;
4288
- readonly categories: readonly string[];
4289
- readonly tags: readonly string[];
4290
4398
  readonly authorId: string;
4291
4399
  readonly contributorIds: readonly string[];
4292
4400
  readonly showAuthor: boolean;
4293
4401
  readonly showContributors: boolean;
4294
- readonly parentFolder?: string | null | undefined;
4295
4402
  readonly draft: boolean;
4296
4403
  readonly augments: readonly string[];
4297
4404
  };
@@ -4302,33 +4409,33 @@ export declare const apiClients: {
4302
4409
  readonly id: string;
4303
4410
  };
4304
4411
  readonly payload: {
4412
+ readonly content?: {
4413
+ readonly id?: string | undefined;
4414
+ readonly content?: string | undefined;
4415
+ readonly contentLang?: string | undefined;
4416
+ readonly contentId?: string | undefined;
4417
+ } | undefined;
4305
4418
  readonly data?: {
4306
- readonly description?: string | undefined;
4307
4419
  readonly id?: string | undefined;
4308
4420
  readonly updatedAt?: Date | undefined;
4421
+ readonly description?: string | undefined;
4309
4422
  readonly title?: string | undefined;
4423
+ readonly tags?: readonly string[] | undefined;
4424
+ readonly slug?: string | undefined;
4425
+ readonly categories?: readonly string[] | undefined;
4426
+ readonly parentFolder?: string | null | undefined;
4310
4427
  readonly package?: string | undefined;
4311
4428
  readonly showOnNav?: boolean | undefined;
4312
4429
  readonly publishedAt?: Date | undefined;
4313
- readonly slug?: string | undefined;
4314
4430
  readonly contentLang?: string | undefined;
4315
4431
  readonly heroImage?: string | null | undefined;
4316
- readonly categories?: readonly string[] | undefined;
4317
- readonly tags?: readonly string[] | undefined;
4318
4432
  readonly authorId?: string | undefined;
4319
4433
  readonly contributorIds?: readonly string[] | undefined;
4320
4434
  readonly showAuthor?: boolean | undefined;
4321
4435
  readonly showContributors?: boolean | undefined;
4322
- readonly parentFolder?: string | null | undefined;
4323
4436
  readonly draft?: boolean | undefined;
4324
4437
  readonly augments?: readonly string[] | undefined;
4325
4438
  } | undefined;
4326
- readonly content?: {
4327
- readonly id?: string | undefined;
4328
- readonly content?: string | undefined;
4329
- readonly contentLang?: string | undefined;
4330
- readonly contentId?: string | undefined;
4331
- } | undefined;
4332
4439
  };
4333
4440
  readonly withResponse?: WithResponse | undefined;
4334
4441
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -4340,47 +4447,47 @@ export declare const apiClients: {
4340
4447
  readonly urlParams: {
4341
4448
  readonly title?: string | undefined;
4342
4449
  readonly slug?: string | undefined;
4450
+ readonly author?: string | undefined;
4343
4451
  readonly parentFolder?: string | undefined;
4344
4452
  readonly draft?: boolean | undefined;
4345
- readonly author?: string | undefined;
4346
4453
  readonly published?: boolean | undefined;
4347
4454
  };
4348
4455
  readonly withResponse?: WithResponse | undefined;
4349
4456
  }) => Effect.Effect<WithResponse extends true ? [readonly {
4350
- readonly description: string;
4351
4457
  readonly id: string;
4352
4458
  readonly updatedAt: Date;
4459
+ readonly description: string;
4353
4460
  readonly title: string;
4354
- readonly package: string;
4355
- readonly showOnNav: boolean;
4356
- readonly publishedAt: Date;
4357
- readonly slug: string;
4358
- readonly contentLang: string;
4359
- readonly heroImage?: string | null | undefined;
4360
- readonly categories: readonly {
4361
- readonly description: string;
4461
+ readonly tags: readonly {
4362
4462
  readonly id: number;
4363
4463
  readonly name: string;
4464
+ readonly description: string;
4364
4465
  readonly slug: string;
4365
4466
  readonly meta: {
4366
4467
  readonly [x: string]: unknown;
4367
4468
  };
4368
- readonly parent?: number | null | undefined;
4369
4469
  }[];
4370
- readonly tags: readonly {
4371
- readonly description: string;
4470
+ readonly slug: string;
4471
+ readonly categories: readonly {
4372
4472
  readonly id: number;
4373
4473
  readonly name: string;
4474
+ readonly description: string;
4374
4475
  readonly slug: string;
4375
4476
  readonly meta: {
4376
4477
  readonly [x: string]: unknown;
4377
4478
  };
4479
+ readonly parent?: number | null | undefined;
4378
4480
  }[];
4481
+ readonly parentFolder?: string | null | undefined;
4482
+ readonly package: string;
4483
+ readonly showOnNav: boolean;
4484
+ readonly publishedAt: Date;
4485
+ readonly contentLang: string;
4486
+ readonly heroImage?: string | null | undefined;
4379
4487
  readonly authorId: string;
4380
4488
  readonly contributorIds: readonly string[];
4381
4489
  readonly showAuthor: boolean;
4382
4490
  readonly showContributors: boolean;
4383
- readonly parentFolder?: string | null | undefined;
4384
4491
  readonly draft: boolean;
4385
4492
  readonly augments: readonly string[];
4386
4493
  readonly multiLangContent: readonly {
@@ -4419,40 +4526,40 @@ export declare const apiClients: {
4419
4526
  readonly notifications?: string | null | undefined;
4420
4527
  }[];
4421
4528
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
4422
- readonly description: string;
4423
4529
  readonly id: string;
4424
4530
  readonly updatedAt: Date;
4531
+ readonly description: string;
4425
4532
  readonly title: string;
4426
- readonly package: string;
4427
- readonly showOnNav: boolean;
4428
- readonly publishedAt: Date;
4429
- readonly slug: string;
4430
- readonly contentLang: string;
4431
- readonly heroImage?: string | null | undefined;
4432
- readonly categories: readonly {
4433
- readonly description: string;
4533
+ readonly tags: readonly {
4434
4534
  readonly id: number;
4435
4535
  readonly name: string;
4536
+ readonly description: string;
4436
4537
  readonly slug: string;
4437
4538
  readonly meta: {
4438
4539
  readonly [x: string]: unknown;
4439
4540
  };
4440
- readonly parent?: number | null | undefined;
4441
4541
  }[];
4442
- readonly tags: readonly {
4443
- readonly description: string;
4542
+ readonly slug: string;
4543
+ readonly categories: readonly {
4444
4544
  readonly id: number;
4445
4545
  readonly name: string;
4546
+ readonly description: string;
4446
4547
  readonly slug: string;
4447
4548
  readonly meta: {
4448
4549
  readonly [x: string]: unknown;
4449
4550
  };
4551
+ readonly parent?: number | null | undefined;
4450
4552
  }[];
4553
+ readonly parentFolder?: string | null | undefined;
4554
+ readonly package: string;
4555
+ readonly showOnNav: boolean;
4556
+ readonly publishedAt: Date;
4557
+ readonly contentLang: string;
4558
+ readonly heroImage?: string | null | undefined;
4451
4559
  readonly authorId: string;
4452
4560
  readonly contributorIds: readonly string[];
4453
4561
  readonly showAuthor: boolean;
4454
4562
  readonly showContributors: boolean;
4455
- readonly parentFolder?: string | null | undefined;
4456
4563
  readonly draft: boolean;
4457
4564
  readonly augments: readonly string[];
4458
4565
  readonly multiLangContent: readonly {
@@ -4493,33 +4600,33 @@ export declare const apiClients: {
4493
4600
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4494
4601
  readonly createPage: <WithResponse extends boolean = false>(request: {
4495
4602
  readonly payload: {
4603
+ readonly content?: {
4604
+ readonly id?: string | undefined;
4605
+ readonly content?: string | undefined;
4606
+ readonly contentLang?: string | undefined;
4607
+ readonly contentId?: string | undefined;
4608
+ } | undefined;
4496
4609
  readonly data?: {
4497
- readonly description?: string | undefined;
4498
4610
  readonly id?: string | undefined;
4499
4611
  readonly updatedAt?: Date | undefined;
4612
+ readonly description?: string | undefined;
4500
4613
  readonly title?: string | undefined;
4614
+ readonly tags?: readonly string[] | undefined;
4615
+ readonly slug?: string | undefined;
4616
+ readonly categories?: readonly string[] | undefined;
4617
+ readonly parentFolder?: string | null | undefined;
4501
4618
  readonly package?: string | undefined;
4502
4619
  readonly showOnNav?: boolean | undefined;
4503
4620
  readonly publishedAt?: Date | undefined;
4504
- readonly slug?: string | undefined;
4505
4621
  readonly contentLang?: string | undefined;
4506
4622
  readonly heroImage?: string | null | undefined;
4507
- readonly categories?: readonly string[] | undefined;
4508
- readonly tags?: readonly string[] | undefined;
4509
4623
  readonly authorId?: string | undefined;
4510
4624
  readonly contributorIds?: readonly string[] | undefined;
4511
4625
  readonly showAuthor?: boolean | undefined;
4512
4626
  readonly showContributors?: boolean | undefined;
4513
- readonly parentFolder?: string | null | undefined;
4514
4627
  readonly draft?: boolean | undefined;
4515
4628
  readonly augments?: readonly string[] | undefined;
4516
4629
  } | undefined;
4517
- readonly content?: {
4518
- readonly id?: string | undefined;
4519
- readonly content?: string | undefined;
4520
- readonly contentLang?: string | undefined;
4521
- readonly contentId?: string | undefined;
4522
- } | undefined;
4523
4630
  };
4524
4631
  readonly withResponse?: WithResponse | undefined;
4525
4632
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -4543,17 +4650,17 @@ export declare const apiClients: {
4543
4650
  };
4544
4651
  readonly withResponse?: WithResponse | undefined;
4545
4652
  }) => Effect.Effect<WithResponse extends true ? [{
4546
- readonly description: string;
4547
4653
  readonly id: number;
4548
4654
  readonly name: string;
4655
+ readonly description: string;
4549
4656
  readonly slug: string;
4550
4657
  readonly meta: {
4551
4658
  readonly [x: string]: unknown;
4552
4659
  };
4553
4660
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4554
- readonly description: string;
4555
4661
  readonly id: number;
4556
4662
  readonly name: string;
4663
+ readonly description: string;
4557
4664
  readonly slug: string;
4558
4665
  readonly meta: {
4559
4666
  readonly [x: string]: unknown;
@@ -4564,9 +4671,9 @@ export declare const apiClients: {
4564
4671
  readonly id: number;
4565
4672
  };
4566
4673
  readonly payload: {
4567
- readonly description?: string | undefined;
4568
4674
  readonly id?: number | undefined;
4569
4675
  readonly name?: string | undefined;
4676
+ readonly description?: string | undefined;
4570
4677
  readonly slug?: string | undefined;
4571
4678
  readonly meta?: {
4572
4679
  readonly [x: string]: unknown;
@@ -4574,17 +4681,17 @@ export declare const apiClients: {
4574
4681
  };
4575
4682
  readonly withResponse?: WithResponse | undefined;
4576
4683
  }) => Effect.Effect<WithResponse extends true ? [{
4577
- readonly description: string;
4578
4684
  readonly id: number;
4579
4685
  readonly name: string;
4686
+ readonly description: string;
4580
4687
  readonly slug: string;
4581
4688
  readonly meta: {
4582
4689
  readonly [x: string]: unknown;
4583
4690
  };
4584
4691
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4585
- readonly description: string;
4586
4692
  readonly id: number;
4587
4693
  readonly name: string;
4694
+ readonly description: string;
4588
4695
  readonly slug: string;
4589
4696
  readonly meta: {
4590
4697
  readonly [x: string]: unknown;
@@ -4596,17 +4703,17 @@ export declare const apiClients: {
4596
4703
  };
4597
4704
  readonly withResponse?: WithResponse | undefined;
4598
4705
  }) => Effect.Effect<WithResponse extends true ? [readonly {
4599
- readonly description: string;
4600
4706
  readonly id: number;
4601
4707
  readonly name: string;
4708
+ readonly description: string;
4602
4709
  readonly slug: string;
4603
4710
  readonly meta: {
4604
4711
  readonly [x: string]: unknown;
4605
4712
  };
4606
4713
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
4607
- readonly description: string;
4608
4714
  readonly id: number;
4609
4715
  readonly name: string;
4716
+ readonly description: string;
4610
4717
  readonly slug: string;
4611
4718
  readonly meta: {
4612
4719
  readonly [x: string]: unknown;
@@ -4614,144 +4721,37 @@ export declare const apiClients: {
4614
4721
  }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4615
4722
  readonly createTag: <WithResponse extends boolean = false>(request: {
4616
4723
  readonly payload: {
4617
- readonly description: string;
4618
4724
  readonly name: string;
4725
+ readonly description: string;
4619
4726
  readonly slug: string;
4620
4727
  readonly meta: string;
4621
4728
  };
4622
4729
  readonly withResponse?: WithResponse | undefined;
4623
4730
  }) => Effect.Effect<WithResponse extends true ? [{
4624
- readonly description: string;
4625
4731
  readonly id: number;
4626
4732
  readonly name: string;
4733
+ readonly description: string;
4627
4734
  readonly slug: string;
4628
4735
  readonly meta: {
4629
4736
  readonly [x: string]: unknown;
4630
4737
  };
4631
4738
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4632
- readonly description: string;
4633
4739
  readonly id: number;
4634
4740
  readonly name: string;
4741
+ readonly description: string;
4635
4742
  readonly slug: string;
4636
4743
  readonly meta: {
4637
4744
  readonly [x: string]: unknown;
4638
4745
  };
4639
4746
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4640
- readonly deleteUser: <WithResponse extends boolean = false>(request: {
4641
- readonly path: {
4642
- readonly id: string;
4643
- };
4644
- readonly withResponse?: WithResponse | undefined;
4645
- }) => Effect.Effect<WithResponse extends true ? [{
4646
- readonly message: string;
4647
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4648
- readonly message: string;
4649
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4650
- readonly getUser: <WithResponse extends boolean = false>(request: {
4651
- readonly path: {
4652
- readonly id: string;
4653
- };
4654
- readonly withResponse?: WithResponse | undefined;
4655
- }) => Effect.Effect<WithResponse extends true ? [{
4656
- readonly id: string;
4657
- readonly url?: string | null | undefined;
4658
- readonly name: string;
4659
- readonly email?: string | null | undefined;
4660
- readonly avatar?: string | null | undefined;
4661
- readonly username: string;
4662
- readonly updatedAt: Date;
4663
- readonly createdAt: Date;
4664
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4665
- readonly id: string;
4666
- readonly url?: string | null | undefined;
4667
- readonly name: string;
4668
- readonly email?: string | null | undefined;
4669
- readonly avatar?: string | null | undefined;
4670
- readonly username: string;
4671
- readonly updatedAt: Date;
4672
- readonly createdAt: Date;
4673
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4674
- readonly updateUser: <WithResponse extends boolean = false>(request: {
4675
- readonly path: {
4676
- readonly id: string;
4677
- };
4678
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
4679
- readonly withResponse?: WithResponse | undefined;
4680
- }) => Effect.Effect<WithResponse extends true ? [{
4681
- readonly id: string;
4682
- readonly url?: string | null | undefined;
4683
- readonly name: string;
4684
- readonly email?: string | null | undefined;
4685
- readonly avatar?: string | null | undefined;
4686
- readonly username: string;
4687
- readonly updatedAt: Date;
4688
- readonly createdAt: Date;
4689
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4690
- readonly id: string;
4691
- readonly url?: string | null | undefined;
4692
- readonly name: string;
4693
- readonly email?: string | null | undefined;
4694
- readonly avatar?: string | null | undefined;
4695
- readonly username: string;
4696
- readonly updatedAt: Date;
4697
- readonly createdAt: Date;
4698
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4699
- readonly getUsers: <WithResponse extends boolean = false>(request: {
4700
- readonly urlParams: {
4701
- readonly name?: string | undefined;
4702
- readonly username?: string | undefined;
4703
- readonly rank?: string | undefined;
4704
- };
4705
- readonly withResponse?: WithResponse | undefined;
4706
- }) => Effect.Effect<WithResponse extends true ? [readonly {
4707
- readonly id: string;
4708
- readonly url?: string | null | undefined;
4709
- readonly name: string;
4710
- readonly email?: string | null | undefined;
4711
- readonly avatar?: string | null | undefined;
4712
- readonly username: string;
4713
- readonly updatedAt: Date;
4714
- readonly createdAt: Date;
4715
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
4716
- readonly id: string;
4717
- readonly url?: string | null | undefined;
4718
- readonly name: string;
4719
- readonly email?: string | null | undefined;
4720
- readonly avatar?: string | null | undefined;
4721
- readonly username: string;
4722
- readonly updatedAt: Date;
4723
- readonly createdAt: Date;
4724
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4725
- readonly createUser: <WithResponse extends boolean = false>(request: {
4726
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIndexJSONData;
4727
- readonly withResponse?: WithResponse | undefined;
4728
- }) => Effect.Effect<WithResponse extends true ? [{
4729
- readonly id: string;
4730
- readonly url?: string | null | undefined;
4731
- readonly name: string;
4732
- readonly email?: string | null | undefined;
4733
- readonly avatar?: string | null | undefined;
4734
- readonly username: string;
4735
- readonly updatedAt: Date;
4736
- readonly createdAt: Date;
4737
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4738
- readonly id: string;
4739
- readonly url?: string | null | undefined;
4740
- readonly name: string;
4741
- readonly email?: string | null | undefined;
4742
- readonly avatar?: string | null | undefined;
4743
- readonly username: string;
4744
- readonly updatedAt: Date;
4745
- readonly createdAt: Date;
4746
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
4747
4747
  readonly getSettings: <WithResponse extends boolean = false>(request: void | {
4748
4748
  readonly withResponse?: WithResponse | undefined;
4749
4749
  }) => Effect.Effect<WithResponse extends true ? [{
4750
4750
  readonly id: string;
4751
4751
  readonly data: {
4752
4752
  readonly description: string;
4753
- readonly _config_version: string;
4754
4753
  readonly title: string;
4754
+ readonly _config_version: string;
4755
4755
  readonly defaultOgImage?: string | null | undefined;
4756
4756
  readonly siteIcon?: string | null | undefined;
4757
4757
  readonly loginPageBackground?: string | undefined;
@@ -4765,8 +4765,8 @@ export declare const apiClients: {
4765
4765
  readonly id: string;
4766
4766
  readonly data: {
4767
4767
  readonly description: string;
4768
- readonly _config_version: string;
4769
4768
  readonly title: string;
4769
+ readonly _config_version: string;
4770
4770
  readonly defaultOgImage?: string | null | undefined;
4771
4771
  readonly siteIcon?: string | null | undefined;
4772
4772
  readonly loginPageBackground?: string | undefined;
@@ -4780,8 +4780,8 @@ export declare const apiClients: {
4780
4780
  readonly updateSettings: <WithResponse extends boolean = false>(request: {
4781
4781
  readonly payload: {
4782
4782
  description: string;
4783
- _config_version: string;
4784
4783
  title: string;
4784
+ _config_version: string;
4785
4785
  defaultOgImage?: string | null | undefined;
4786
4786
  siteIcon?: string | null | undefined;
4787
4787
  loginPageBackground?: string | undefined;
@@ -4824,8 +4824,8 @@ export declare const apiClients: {
4824
4824
  readonly avatar?: string | null | undefined;
4825
4825
  readonly username: string;
4826
4826
  readonly permissionsData: {
4827
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
4828
4827
  readonly user: string;
4828
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
4829
4829
  } | undefined;
4830
4830
  }[];
4831
4831
  readonly searchQuery?: string | undefined;