studiocms 0.4.2 → 0.4.4

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,13 +119,13 @@ 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 slug?: string | undefined;
125
126
  readonly package?: string | undefined;
126
127
  readonly showOnNav?: boolean | undefined;
127
128
  readonly publishedAt?: Date | undefined;
128
- readonly slug?: string | undefined;
129
129
  readonly contentLang?: string | undefined;
130
130
  readonly heroImage?: string | null | undefined;
131
131
  readonly categories?: readonly string[] | undefined;
@@ -146,15 +146,14 @@ 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;
151
+ readonly description?: string | undefined;
152
152
  readonly title?: string | undefined;
153
- readonly content: string;
153
+ readonly slug?: string | undefined;
154
154
  readonly package?: string | undefined;
155
155
  readonly showOnNav?: boolean | undefined;
156
156
  readonly publishedAt?: Date | undefined;
157
- readonly slug?: string | undefined;
158
157
  readonly contentLang?: string | undefined;
159
158
  readonly heroImage?: string | null | undefined;
160
159
  readonly categories?: readonly string[] | undefined;
@@ -167,6 +166,7 @@ export declare const dashboardClient: Effect.Effect<{
167
166
  readonly draft?: boolean | undefined;
168
167
  readonly augments?: readonly string[] | undefined;
169
168
  readonly contentId: string;
169
+ readonly content: string;
170
170
  readonly pluginFields: {
171
171
  readonly [x: string]: FormDataEntryValue | null;
172
172
  };
@@ -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
  } | {
@@ -417,43 +417,43 @@ export declare const dashboardClient: Effect.Effect<{
417
417
  }) => Effect.Effect<WithResponse extends true ? [readonly {
418
418
  readonly id: string;
419
419
  readonly name: string;
420
- readonly slug?: string | undefined;
421
420
  readonly type: "folder" | "page";
421
+ readonly slug?: string | undefined;
422
422
  readonly isDraft?: boolean | null | undefined;
423
423
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
424
424
  readonly id: string;
425
425
  readonly name: string;
426
- readonly slug?: string | undefined;
427
426
  readonly type: "folder" | "page";
427
+ readonly slug?: string | undefined;
428
428
  readonly isDraft?: boolean | null | undefined;
429
429
  }[], 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>;
430
430
  };
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;
438
- readonly slug: string;
436
+ readonly description: string;
439
437
  readonly type: "tags";
438
+ readonly slug: string;
440
439
  readonly meta: {
441
440
  readonly [x: string]: unknown;
442
441
  };
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;
451
- readonly slug: string;
449
+ readonly description: string;
452
450
  readonly type: "categories";
451
+ readonly parent?: number | null | undefined;
452
+ readonly slug: string;
453
453
  readonly meta: {
454
454
  readonly [x: string]: unknown;
455
455
  };
456
- readonly parent?: number | null | undefined;
456
+ readonly mode: "create" | "edit";
457
457
  };
458
458
  readonly withResponse?: WithResponse | undefined;
459
459
  }) => 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;
481
- readonly slug: string;
480
+ readonly description: string;
482
481
  readonly type: "tag" | "category";
482
+ readonly parent: number | null | undefined;
483
+ readonly slug: string;
483
484
  readonly meta: {
484
485
  readonly [x: string]: unknown;
485
486
  };
486
- readonly parent: number | null | undefined;
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;
492
- readonly slug: string;
491
+ readonly description: string;
493
492
  readonly type: "tag" | "category";
493
+ readonly parent: number | null | undefined;
494
+ readonly slug: string;
494
495
  readonly meta: {
495
496
  readonly [x: string]: unknown;
496
497
  };
497
- readonly parent: number | null | undefined;
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;
@@ -626,6 +626,7 @@ export declare const integrationsClient: Effect.Effect<{
626
626
  readonly withResponse?: WithResponse | undefined;
627
627
  }) => Effect.Effect<WithResponse extends true ? [{
628
628
  readonly id: number;
629
+ readonly type: "query";
629
630
  readonly data: {
630
631
  readonly rows: readonly {
631
632
  readonly [x: string]: unknown;
@@ -644,9 +645,9 @@ export declare const integrationsClient: Effect.Effect<{
644
645
  };
645
646
  readonly lastInsertRowid?: number | undefined;
646
647
  };
647
- readonly type: "query";
648
648
  } | {
649
649
  readonly id: number;
650
+ readonly type: "transaction";
650
651
  readonly data: readonly {
651
652
  readonly rows: readonly {
652
653
  readonly [x: string]: unknown;
@@ -665,13 +666,13 @@ export declare const integrationsClient: Effect.Effect<{
665
666
  };
666
667
  readonly lastInsertRowid?: number | undefined;
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;
675
+ readonly type: "query";
675
676
  readonly data: {
676
677
  readonly rows: readonly {
677
678
  readonly [x: string]: unknown;
@@ -690,9 +691,9 @@ export declare const integrationsClient: Effect.Effect<{
690
691
  };
691
692
  readonly lastInsertRowid?: number | undefined;
692
693
  };
693
- readonly type: "query";
694
694
  } | {
695
695
  readonly id: number;
696
+ readonly type: "transaction";
696
697
  readonly data: readonly {
697
698
  readonly rows: readonly {
698
699
  readonly [x: string]: unknown;
@@ -711,18 +712,17 @@ export declare const integrationsClient: Effect.Effect<{
711
712
  };
712
713
  readonly lastInsertRowid?: number | undefined;
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
  } | {
@@ -734,8 +734,8 @@ export declare const integrationsClient: Effect.Effect<{
734
734
  } | {
735
735
  readonly payload: {
736
736
  readonly key: string;
737
- readonly action: "upload";
738
737
  readonly contentType: string;
738
+ readonly action: "upload";
739
739
  };
740
740
  readonly withResponse?: WithResponse | undefined;
741
741
  } | {
@@ -874,6 +874,84 @@ export declare const integrationsClient: Effect.Effect<{
874
874
  */
875
875
  export declare const restClient: Effect.Effect<{
876
876
  readonly restV1Public: {
877
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
878
+ readonly urlParams: {
879
+ readonly name?: string | undefined;
880
+ readonly parent?: number | undefined;
881
+ };
882
+ readonly withResponse?: WithResponse | undefined;
883
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
884
+ readonly id: number;
885
+ readonly name: string;
886
+ readonly description: string;
887
+ readonly parent?: number | null | undefined;
888
+ readonly slug: string;
889
+ readonly meta: {
890
+ readonly [x: string]: unknown;
891
+ };
892
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
893
+ readonly id: number;
894
+ readonly name: string;
895
+ readonly description: string;
896
+ readonly parent?: number | null | undefined;
897
+ readonly slug: string;
898
+ readonly meta: {
899
+ readonly [x: string]: unknown;
900
+ };
901
+ }[], 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>;
902
+ readonly getCategory: <WithResponse extends boolean = false>(request: {
903
+ readonly path: {
904
+ readonly id: number;
905
+ };
906
+ readonly withResponse?: WithResponse | undefined;
907
+ }) => Effect.Effect<WithResponse extends true ? [{
908
+ readonly id: number;
909
+ readonly name: string;
910
+ readonly description: string;
911
+ readonly parent?: number | null | undefined;
912
+ readonly slug: string;
913
+ readonly meta: {
914
+ readonly [x: string]: unknown;
915
+ };
916
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
917
+ readonly id: number;
918
+ readonly name: string;
919
+ readonly description: string;
920
+ readonly parent?: number | null | undefined;
921
+ readonly slug: string;
922
+ readonly meta: {
923
+ readonly [x: string]: unknown;
924
+ };
925
+ }, 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>;
926
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
927
+ readonly urlParams: {
928
+ readonly name?: string | undefined;
929
+ readonly parent?: string | undefined;
930
+ };
931
+ readonly withResponse?: WithResponse | undefined;
932
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
933
+ readonly id: string;
934
+ readonly name: string;
935
+ readonly parent?: string | null | undefined;
936
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
937
+ readonly id: string;
938
+ readonly name: string;
939
+ readonly parent?: string | null | undefined;
940
+ }[], 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>;
941
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
942
+ readonly path: {
943
+ readonly id: string;
944
+ };
945
+ readonly withResponse?: WithResponse | undefined;
946
+ }) => Effect.Effect<WithResponse extends true ? [{
947
+ readonly id: string;
948
+ readonly name: string;
949
+ readonly parent?: string | null | undefined;
950
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
951
+ readonly id: string;
952
+ readonly name: string;
953
+ readonly parent?: string | null | undefined;
954
+ }, 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
955
  readonly getPages: <WithResponse extends boolean = false>(request: {
878
956
  readonly urlParams: {
879
957
  readonly title?: string | undefined;
@@ -883,30 +961,30 @@ export declare const restClient: Effect.Effect<{
883
961
  };
884
962
  readonly withResponse?: WithResponse | undefined;
885
963
  }) => Effect.Effect<WithResponse extends true ? [readonly {
886
- readonly description: string;
887
964
  readonly id: string;
888
965
  readonly updatedAt: Date;
966
+ readonly description: string;
889
967
  readonly title: string;
968
+ readonly slug: string;
890
969
  readonly package: string;
891
970
  readonly showOnNav: boolean;
892
971
  readonly publishedAt: Date;
893
- readonly slug: string;
894
972
  readonly contentLang: string;
895
973
  readonly heroImage?: string | null | undefined;
896
974
  readonly categories: readonly {
897
- readonly description: string;
898
975
  readonly id: number;
899
976
  readonly name: string;
977
+ readonly description: string;
978
+ readonly parent?: number | null | undefined;
900
979
  readonly slug: string;
901
980
  readonly meta: {
902
981
  readonly [x: string]: unknown;
903
982
  };
904
- readonly parent?: number | null | undefined;
905
983
  }[];
906
984
  readonly tags: readonly {
907
- readonly description: string;
908
985
  readonly id: number;
909
986
  readonly name: string;
987
+ readonly description: string;
910
988
  readonly slug: string;
911
989
  readonly meta: {
912
990
  readonly [x: string]: unknown;
@@ -921,15 +999,15 @@ export declare const restClient: Effect.Effect<{
921
999
  readonly augments: readonly string[];
922
1000
  readonly multiLangContent: readonly {
923
1001
  readonly id: string;
924
- readonly content: string;
925
1002
  readonly contentLang: string;
926
1003
  readonly contentId: string;
1004
+ readonly content: string;
927
1005
  }[];
928
1006
  readonly defaultContent: {
929
1007
  readonly id: string;
930
- readonly content: string;
931
1008
  readonly contentLang: string;
932
1009
  readonly contentId: string;
1010
+ readonly content: string;
933
1011
  } | undefined;
934
1012
  readonly urlRoute: string;
935
1013
  readonly authorData: {
@@ -955,30 +1033,30 @@ export declare const restClient: Effect.Effect<{
955
1033
  readonly notifications?: string | null | undefined;
956
1034
  }[];
957
1035
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
958
- readonly description: string;
959
1036
  readonly id: string;
960
1037
  readonly updatedAt: Date;
1038
+ readonly description: string;
961
1039
  readonly title: string;
1040
+ readonly slug: string;
962
1041
  readonly package: string;
963
1042
  readonly showOnNav: boolean;
964
1043
  readonly publishedAt: Date;
965
- readonly slug: string;
966
1044
  readonly contentLang: string;
967
1045
  readonly heroImage?: string | null | undefined;
968
1046
  readonly categories: readonly {
969
- readonly description: string;
970
1047
  readonly id: number;
971
1048
  readonly name: string;
1049
+ readonly description: string;
1050
+ readonly parent?: number | null | undefined;
972
1051
  readonly slug: string;
973
1052
  readonly meta: {
974
1053
  readonly [x: string]: unknown;
975
1054
  };
976
- readonly parent?: number | null | undefined;
977
1055
  }[];
978
1056
  readonly tags: readonly {
979
- readonly description: string;
980
1057
  readonly id: number;
981
1058
  readonly name: string;
1059
+ readonly description: string;
982
1060
  readonly slug: string;
983
1061
  readonly meta: {
984
1062
  readonly [x: string]: unknown;
@@ -993,15 +1071,15 @@ export declare const restClient: Effect.Effect<{
993
1071
  readonly augments: readonly string[];
994
1072
  readonly multiLangContent: readonly {
995
1073
  readonly id: string;
996
- readonly content: string;
997
1074
  readonly contentLang: string;
998
1075
  readonly contentId: string;
1076
+ readonly content: string;
999
1077
  }[];
1000
1078
  readonly defaultContent: {
1001
1079
  readonly id: string;
1002
- readonly content: string;
1003
1080
  readonly contentLang: string;
1004
1081
  readonly contentId: string;
1082
+ readonly content: string;
1005
1083
  } | undefined;
1006
1084
  readonly urlRoute: string;
1007
1085
  readonly authorData: {
@@ -1033,30 +1111,30 @@ export declare const restClient: Effect.Effect<{
1033
1111
  };
1034
1112
  readonly withResponse?: WithResponse | undefined;
1035
1113
  }) => Effect.Effect<WithResponse extends true ? [{
1036
- readonly description: string;
1037
1114
  readonly id: string;
1038
1115
  readonly updatedAt: Date;
1116
+ readonly description: string;
1039
1117
  readonly title: string;
1118
+ readonly slug: string;
1040
1119
  readonly package: string;
1041
1120
  readonly showOnNav: boolean;
1042
1121
  readonly publishedAt: Date;
1043
- readonly slug: string;
1044
1122
  readonly contentLang: string;
1045
1123
  readonly heroImage?: string | null | undefined;
1046
1124
  readonly categories: readonly {
1047
- readonly description: string;
1048
1125
  readonly id: number;
1049
1126
  readonly name: string;
1127
+ readonly description: string;
1128
+ readonly parent?: number | null | undefined;
1050
1129
  readonly slug: string;
1051
1130
  readonly meta: {
1052
1131
  readonly [x: string]: unknown;
1053
1132
  };
1054
- readonly parent?: number | null | undefined;
1055
1133
  }[];
1056
1134
  readonly tags: readonly {
1057
- readonly description: string;
1058
1135
  readonly id: number;
1059
1136
  readonly name: string;
1137
+ readonly description: string;
1060
1138
  readonly slug: string;
1061
1139
  readonly meta: {
1062
1140
  readonly [x: string]: unknown;
@@ -1071,15 +1149,15 @@ export declare const restClient: Effect.Effect<{
1071
1149
  readonly augments: readonly string[];
1072
1150
  readonly multiLangContent: readonly {
1073
1151
  readonly id: string;
1074
- readonly content: string;
1075
1152
  readonly contentLang: string;
1076
1153
  readonly contentId: string;
1154
+ readonly content: string;
1077
1155
  }[];
1078
1156
  readonly defaultContent: {
1079
1157
  readonly id: string;
1080
- readonly content: string;
1081
1158
  readonly contentLang: string;
1082
1159
  readonly contentId: string;
1160
+ readonly content: string;
1083
1161
  } | undefined;
1084
1162
  readonly urlRoute: string;
1085
1163
  readonly authorData: {
@@ -1105,30 +1183,30 @@ export declare const restClient: Effect.Effect<{
1105
1183
  readonly notifications?: string | null | undefined;
1106
1184
  }[];
1107
1185
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1108
- readonly description: string;
1109
1186
  readonly id: string;
1110
1187
  readonly updatedAt: Date;
1188
+ readonly description: string;
1111
1189
  readonly title: string;
1190
+ readonly slug: string;
1112
1191
  readonly package: string;
1113
1192
  readonly showOnNav: boolean;
1114
1193
  readonly publishedAt: Date;
1115
- readonly slug: string;
1116
1194
  readonly contentLang: string;
1117
1195
  readonly heroImage?: string | null | undefined;
1118
1196
  readonly categories: readonly {
1119
- readonly description: string;
1120
1197
  readonly id: number;
1121
1198
  readonly name: string;
1199
+ readonly description: string;
1200
+ readonly parent?: number | null | undefined;
1122
1201
  readonly slug: string;
1123
1202
  readonly meta: {
1124
1203
  readonly [x: string]: unknown;
1125
1204
  };
1126
- readonly parent?: number | null | undefined;
1127
1205
  }[];
1128
1206
  readonly tags: readonly {
1129
- readonly description: string;
1130
1207
  readonly id: number;
1131
1208
  readonly name: string;
1209
+ readonly description: string;
1132
1210
  readonly slug: string;
1133
1211
  readonly meta: {
1134
1212
  readonly [x: string]: unknown;
@@ -1143,15 +1221,15 @@ export declare const restClient: Effect.Effect<{
1143
1221
  readonly augments: readonly string[];
1144
1222
  readonly multiLangContent: readonly {
1145
1223
  readonly id: string;
1146
- readonly content: string;
1147
1224
  readonly contentLang: string;
1148
1225
  readonly contentId: string;
1226
+ readonly content: string;
1149
1227
  }[];
1150
1228
  readonly defaultContent: {
1151
1229
  readonly id: string;
1152
- readonly content: string;
1153
1230
  readonly contentLang: string;
1154
1231
  readonly contentId: string;
1232
+ readonly content: string;
1155
1233
  } | undefined;
1156
1234
  readonly urlRoute: string;
1157
1235
  readonly authorData: {
@@ -1177,130 +1255,220 @@ export declare const restClient: Effect.Effect<{
1177
1255
  readonly notifications?: string | null | undefined;
1178
1256
  }[];
1179
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>;
1180
- readonly getCategories: <WithResponse extends boolean = false>(request: {
1258
+ readonly getTags: <WithResponse extends boolean = false>(request: {
1181
1259
  readonly urlParams: {
1182
1260
  readonly name?: string | undefined;
1183
- readonly parent?: number | undefined;
1184
1261
  };
1185
1262
  readonly withResponse?: WithResponse | undefined;
1186
1263
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1187
- readonly description: string;
1188
1264
  readonly id: number;
1189
1265
  readonly name: string;
1266
+ readonly description: string;
1190
1267
  readonly slug: string;
1191
1268
  readonly meta: {
1192
1269
  readonly [x: string]: unknown;
1193
1270
  };
1194
- readonly parent?: number | null | undefined;
1195
1271
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1196
- readonly description: string;
1197
1272
  readonly id: number;
1198
1273
  readonly name: string;
1274
+ readonly description: string;
1199
1275
  readonly slug: string;
1200
1276
  readonly meta: {
1201
1277
  readonly [x: string]: unknown;
1202
1278
  };
1203
- readonly parent?: number | null | undefined;
1204
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>;
1205
- readonly getCategory: <WithResponse extends boolean = false>(request: {
1280
+ readonly getTag: <WithResponse extends boolean = false>(request: {
1206
1281
  readonly path: {
1207
1282
  readonly id: number;
1208
1283
  };
1209
1284
  readonly withResponse?: WithResponse | undefined;
1210
1285
  }) => Effect.Effect<WithResponse extends true ? [{
1211
- readonly description: string;
1212
1286
  readonly id: number;
1213
1287
  readonly name: string;
1288
+ readonly description: string;
1214
1289
  readonly slug: string;
1215
1290
  readonly meta: {
1216
1291
  readonly [x: string]: unknown;
1217
1292
  };
1218
- readonly parent?: number | null | undefined;
1219
1293
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1220
- readonly description: string;
1221
1294
  readonly id: number;
1222
1295
  readonly name: string;
1296
+ readonly description: string;
1223
1297
  readonly slug: string;
1224
1298
  readonly meta: {
1225
1299
  readonly [x: string]: unknown;
1226
1300
  };
1227
- readonly parent?: number | null | undefined;
1228
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>;
1229
- readonly getFolders: <WithResponse extends boolean = false>(request: {
1302
+ };
1303
+ readonly restV1: {
1304
+ readonly getUsers: <WithResponse extends boolean = false>(request: {
1230
1305
  readonly urlParams: {
1231
1306
  readonly name?: string | undefined;
1232
- readonly parent?: string | undefined;
1307
+ readonly username?: string | undefined;
1308
+ readonly rank?: string | undefined;
1233
1309
  };
1234
1310
  readonly withResponse?: WithResponse | undefined;
1235
1311
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1236
1312
  readonly id: string;
1313
+ readonly url?: string | null | undefined;
1237
1314
  readonly name: string;
1238
- readonly parent?: string | 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;
1239
1320
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1240
1321
  readonly id: string;
1322
+ readonly url?: string | null | undefined;
1241
1323
  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: {
1245
- readonly path: {
1246
- readonly id: string;
1247
- };
1248
- readonly withResponse?: WithResponse | undefined;
1249
- }) => Effect.Effect<WithResponse extends true ? [{
1250
- readonly id: string;
1251
- readonly name: string;
1252
- readonly parent?: string | null | undefined;
1253
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
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;
1332
+ readonly withResponse?: WithResponse | undefined;
1333
+ }) => Effect.Effect<WithResponse extends true ? [{
1254
1334
  readonly id: string;
1335
+ readonly url?: string | null | undefined;
1255
1336
  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: {
1337
+ readonly email?: string | null | undefined;
1338
+ readonly avatar?: string | null | undefined;
1339
+ readonly username: string;
1340
+ readonly updatedAt: Date;
1341
+ readonly createdAt: Date;
1342
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1343
+ readonly id: string;
1344
+ readonly url?: string | null | undefined;
1345
+ readonly name: string;
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;
1355
+ };
1356
+ readonly withResponse?: WithResponse | undefined;
1357
+ }) => Effect.Effect<WithResponse extends true ? [{
1358
+ readonly id: string;
1359
+ readonly url?: string | null | undefined;
1360
+ readonly name: string;
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] : {
1367
+ readonly id: string;
1368
+ readonly url?: string | null | undefined;
1369
+ readonly name: string;
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: {
1377
+ readonly path: {
1378
+ readonly id: string;
1379
+ };
1380
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
1381
+ readonly withResponse?: WithResponse | undefined;
1382
+ }) => Effect.Effect<WithResponse extends true ? [{
1383
+ readonly id: string;
1384
+ readonly url?: string | null | undefined;
1385
+ readonly name: string;
1386
+ readonly email?: string | null | undefined;
1387
+ readonly avatar?: string | null | undefined;
1388
+ readonly username: string;
1389
+ readonly updatedAt: Date;
1390
+ readonly createdAt: Date;
1391
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1392
+ readonly id: string;
1393
+ readonly url?: string | null | undefined;
1394
+ readonly name: string;
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: {
1402
+ readonly path: {
1403
+ readonly id: string;
1404
+ };
1405
+ readonly withResponse?: WithResponse | undefined;
1406
+ }) => Effect.Effect<WithResponse extends true ? [{
1407
+ readonly message: string;
1408
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
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>;
1411
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
1259
1412
  readonly urlParams: {
1260
1413
  readonly name?: string | undefined;
1414
+ readonly parent?: string | undefined;
1261
1415
  };
1262
1416
  readonly withResponse?: WithResponse | undefined;
1263
1417
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1264
- readonly description: string;
1265
- readonly id: number;
1418
+ readonly id: string;
1266
1419
  readonly name: string;
1267
- readonly slug: string;
1268
- readonly meta: {
1269
- readonly [x: string]: unknown;
1270
- };
1420
+ readonly parent?: string | null | undefined;
1271
1421
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1272
- readonly description: string;
1273
- readonly id: number;
1422
+ readonly id: string;
1274
1423
  readonly name: string;
1275
- readonly slug: string;
1276
- readonly meta: {
1277
- readonly [x: string]: unknown;
1424
+ readonly parent?: string | null | undefined;
1425
+ }[], 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>;
1426
+ readonly createFolder: <WithResponse extends boolean = false>(request: {
1427
+ readonly payload: {
1428
+ readonly name: string;
1429
+ readonly parent?: string | null | undefined;
1278
1430
  };
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: {
1431
+ readonly withResponse?: WithResponse | undefined;
1432
+ }) => Effect.Effect<WithResponse extends true ? [{
1433
+ readonly message: string;
1434
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1435
+ readonly message: string;
1436
+ }, 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>;
1437
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
1281
1438
  readonly path: {
1282
- readonly id: number;
1439
+ readonly id: string;
1283
1440
  };
1284
1441
  readonly withResponse?: WithResponse | undefined;
1285
1442
  }) => Effect.Effect<WithResponse extends true ? [{
1286
- readonly description: string;
1287
- readonly id: number;
1443
+ readonly id: string;
1288
1444
  readonly name: string;
1289
- readonly slug: string;
1290
- readonly meta: {
1291
- readonly [x: string]: unknown;
1292
- };
1445
+ readonly parent?: string | null | undefined;
1293
1446
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1294
- readonly description: string;
1295
- readonly id: number;
1447
+ readonly id: string;
1296
1448
  readonly name: string;
1297
- readonly slug: string;
1298
- readonly meta: {
1299
- readonly [x: string]: unknown;
1449
+ readonly parent?: string | null | undefined;
1450
+ }, 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>;
1451
+ readonly updateFolder: <WithResponse extends boolean = false>(request: {
1452
+ readonly path: {
1453
+ readonly id: string;
1300
1454
  };
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: {
1455
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
1456
+ readonly withResponse?: WithResponse | undefined;
1457
+ }) => Effect.Effect<WithResponse extends true ? [{
1458
+ readonly message: string;
1459
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1460
+ readonly message: string;
1461
+ }, 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>;
1462
+ readonly deleteFolder: <WithResponse extends boolean = false>(request: {
1463
+ readonly path: {
1464
+ readonly id: string;
1465
+ };
1466
+ readonly withResponse?: WithResponse | undefined;
1467
+ }) => Effect.Effect<WithResponse extends true ? [{
1468
+ readonly success: boolean;
1469
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1470
+ readonly success: boolean;
1471
+ }, 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
1472
  readonly deleteCategory: <WithResponse extends boolean = false>(request: {
1305
1473
  readonly path: {
1306
1474
  readonly id: number;
@@ -1317,57 +1485,57 @@ export declare const restClient: Effect.Effect<{
1317
1485
  };
1318
1486
  readonly withResponse?: WithResponse | undefined;
1319
1487
  }) => Effect.Effect<WithResponse extends true ? [{
1320
- readonly description: string;
1321
1488
  readonly id: number;
1322
1489
  readonly name: string;
1490
+ readonly description: string;
1491
+ readonly parent?: number | null | undefined;
1323
1492
  readonly slug: string;
1324
1493
  readonly meta: {
1325
1494
  readonly [x: string]: unknown;
1326
1495
  };
1327
- readonly parent?: number | null | undefined;
1328
1496
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1329
- readonly description: string;
1330
1497
  readonly id: number;
1331
1498
  readonly name: string;
1499
+ readonly description: string;
1500
+ readonly parent?: number | null | undefined;
1332
1501
  readonly slug: string;
1333
1502
  readonly meta: {
1334
1503
  readonly [x: string]: unknown;
1335
1504
  };
1336
- readonly parent?: number | null | undefined;
1337
1505
  }, 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>;
1338
1506
  readonly updateCategory: <WithResponse extends boolean = false>(request: {
1339
1507
  readonly path: {
1340
1508
  readonly id: number;
1341
1509
  };
1342
1510
  readonly payload: {
1343
- readonly description?: string | undefined;
1344
1511
  readonly id?: number | undefined;
1345
1512
  readonly name?: string | undefined;
1513
+ readonly description?: string | undefined;
1514
+ readonly parent?: number | null | undefined;
1346
1515
  readonly slug?: string | undefined;
1347
1516
  readonly meta?: {
1348
1517
  readonly [x: string]: unknown;
1349
1518
  } | undefined;
1350
- readonly parent?: number | null | undefined;
1351
1519
  };
1352
1520
  readonly withResponse?: WithResponse | undefined;
1353
1521
  }) => Effect.Effect<WithResponse extends true ? [{
1354
- readonly description: string;
1355
1522
  readonly id: number;
1356
1523
  readonly name: string;
1524
+ readonly description: string;
1525
+ readonly parent?: number | null | undefined;
1357
1526
  readonly slug: string;
1358
1527
  readonly meta: {
1359
1528
  readonly [x: string]: unknown;
1360
1529
  };
1361
- readonly parent?: number | null | undefined;
1362
1530
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1363
- readonly description: string;
1364
1531
  readonly id: number;
1365
1532
  readonly name: string;
1533
+ readonly description: string;
1534
+ readonly parent?: number | null | undefined;
1366
1535
  readonly slug: string;
1367
1536
  readonly meta: {
1368
1537
  readonly [x: string]: unknown;
1369
1538
  };
1370
- readonly parent?: number | null | undefined;
1371
1539
  }, 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>;
1372
1540
  readonly getCategories: <WithResponse extends boolean = false>(request: {
1373
1541
  readonly urlParams: {
@@ -1376,156 +1544,95 @@ export declare const restClient: Effect.Effect<{
1376
1544
  };
1377
1545
  readonly withResponse?: WithResponse | undefined;
1378
1546
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1379
- readonly description: string;
1380
1547
  readonly id: number;
1381
1548
  readonly name: string;
1549
+ readonly description: string;
1550
+ readonly parent?: number | null | undefined;
1382
1551
  readonly slug: string;
1383
1552
  readonly meta: {
1384
1553
  readonly [x: string]: unknown;
1385
1554
  };
1386
- readonly parent?: number | null | undefined;
1387
1555
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1388
- readonly description: string;
1389
1556
  readonly id: number;
1390
1557
  readonly name: string;
1558
+ readonly description: string;
1559
+ readonly parent?: number | null | undefined;
1391
1560
  readonly slug: string;
1392
1561
  readonly meta: {
1393
1562
  readonly [x: string]: unknown;
1394
1563
  };
1395
- readonly parent?: number | null | undefined;
1396
1564
  }[], 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
1565
  readonly createCategory: <WithResponse extends boolean = false>(request: {
1398
1566
  readonly payload: {
1399
- readonly description: string;
1400
1567
  readonly name: string;
1568
+ readonly description: string;
1569
+ readonly parent?: number | null | undefined;
1401
1570
  readonly slug: string;
1402
1571
  readonly meta: string;
1403
- readonly parent?: number | null | undefined;
1404
1572
  };
1405
1573
  readonly withResponse?: WithResponse | undefined;
1406
1574
  }) => Effect.Effect<WithResponse extends true ? [{
1407
- readonly description: string;
1408
1575
  readonly id: number;
1409
1576
  readonly name: string;
1577
+ readonly description: string;
1578
+ readonly parent?: number | null | undefined;
1410
1579
  readonly slug: string;
1411
1580
  readonly meta: {
1412
1581
  readonly [x: string]: unknown;
1413
1582
  };
1414
- readonly parent?: number | null | undefined;
1415
1583
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1416
- readonly description: string;
1417
1584
  readonly id: number;
1418
1585
  readonly name: string;
1586
+ readonly description: string;
1587
+ readonly parent?: number | null | undefined;
1419
1588
  readonly slug: string;
1420
1589
  readonly meta: {
1421
1590
  readonly [x: string]: unknown;
1422
1591
  };
1423
- readonly parent?: number | null | undefined;
1424
1592
  }, 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>;
1425
- readonly deleteFolder: <WithResponse extends boolean = false>(request: {
1593
+ readonly deletePage: <WithResponse extends boolean = false>(request: {
1426
1594
  readonly path: {
1427
1595
  readonly id: string;
1428
1596
  };
1429
- readonly withResponse?: WithResponse | undefined;
1430
- }) => Effect.Effect<WithResponse extends true ? [{
1431
- readonly success: boolean;
1432
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1433
- readonly success: boolean;
1434
- }, 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>;
1435
- readonly getFolder: <WithResponse extends boolean = false>(request: {
1436
- readonly path: {
1437
- readonly id: string;
1597
+ readonly payload: {
1598
+ readonly slug: string;
1438
1599
  };
1439
1600
  readonly withResponse?: WithResponse | undefined;
1440
1601
  }) => Effect.Effect<WithResponse extends true ? [{
1441
- readonly id: string;
1442
- readonly name: string;
1443
- readonly parent?: string | null | undefined;
1602
+ readonly message: string;
1444
1603
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1445
- readonly id: string;
1446
- readonly name: string;
1447
- readonly parent?: string | null | undefined;
1604
+ readonly message: string;
1448
1605
  }, 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>;
1449
- readonly updateFolder: <WithResponse extends boolean = false>(request: {
1606
+ readonly getPage: <WithResponse extends boolean = false>(request: {
1450
1607
  readonly path: {
1451
1608
  readonly id: string;
1452
1609
  };
1453
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
1454
1610
  readonly withResponse?: WithResponse | undefined;
1455
1611
  }) => Effect.Effect<WithResponse extends true ? [{
1456
- readonly message: string;
1457
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1458
- readonly message: string;
1459
- }, 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>;
1460
- readonly getFolders: <WithResponse extends boolean = false>(request: {
1461
- readonly urlParams: {
1462
- readonly name?: string | undefined;
1463
- readonly parent?: string | undefined;
1464
- };
1465
- readonly withResponse?: WithResponse | undefined;
1466
- }) => Effect.Effect<WithResponse extends true ? [readonly {
1467
- readonly id: string;
1468
- readonly name: string;
1469
- readonly parent?: string | null | undefined;
1470
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1471
1612
  readonly id: string;
1472
- readonly name: string;
1473
- readonly parent?: string | null | undefined;
1474
- }[], 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>;
1475
- readonly createFolder: <WithResponse extends boolean = false>(request: {
1476
- readonly payload: {
1613
+ readonly updatedAt: Date;
1614
+ readonly description: string;
1615
+ readonly title: string;
1616
+ readonly slug: string;
1617
+ readonly package: string;
1618
+ readonly showOnNav: boolean;
1619
+ readonly publishedAt: Date;
1620
+ readonly contentLang: string;
1621
+ readonly heroImage?: string | null | undefined;
1622
+ readonly categories: readonly {
1623
+ readonly id: number;
1477
1624
  readonly name: string;
1478
- readonly parent?: string | null | undefined;
1479
- };
1480
- readonly withResponse?: WithResponse | undefined;
1481
- }) => Effect.Effect<WithResponse extends true ? [{
1482
- readonly message: string;
1483
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1484
- readonly message: string;
1485
- }, 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>;
1486
- readonly deletePage: <WithResponse extends boolean = false>(request: {
1487
- readonly path: {
1488
- readonly id: string;
1489
- };
1490
- readonly payload: {
1491
- readonly slug: string;
1492
- };
1493
- readonly withResponse?: WithResponse | undefined;
1494
- }) => Effect.Effect<WithResponse extends true ? [{
1495
- readonly message: string;
1496
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1497
- readonly message: string;
1498
- }, 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>;
1499
- readonly getPage: <WithResponse extends boolean = false>(request: {
1500
- readonly path: {
1501
- readonly id: string;
1502
- };
1503
- readonly withResponse?: WithResponse | undefined;
1504
- }) => Effect.Effect<WithResponse extends true ? [{
1505
- readonly description: string;
1506
- readonly id: string;
1507
- readonly updatedAt: Date;
1508
- 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
1625
  readonly description: string;
1517
- readonly id: number;
1518
- readonly name: string;
1626
+ readonly parent?: number | null | undefined;
1519
1627
  readonly slug: string;
1520
1628
  readonly meta: {
1521
1629
  readonly [x: string]: unknown;
1522
1630
  };
1523
- readonly parent?: number | null | undefined;
1524
1631
  }[];
1525
1632
  readonly tags: readonly {
1526
- readonly description: string;
1527
1633
  readonly id: number;
1528
1634
  readonly name: string;
1635
+ readonly description: string;
1529
1636
  readonly slug: string;
1530
1637
  readonly meta: {
1531
1638
  readonly [x: string]: unknown;
@@ -1540,15 +1647,15 @@ export declare const restClient: Effect.Effect<{
1540
1647
  readonly augments: readonly string[];
1541
1648
  readonly multiLangContent: readonly {
1542
1649
  readonly id: string;
1543
- readonly content: string;
1544
1650
  readonly contentLang: string;
1545
1651
  readonly contentId: string;
1652
+ readonly content: string;
1546
1653
  }[];
1547
1654
  readonly defaultContent: {
1548
1655
  readonly id: string;
1549
- readonly content: string;
1550
1656
  readonly contentLang: string;
1551
1657
  readonly contentId: string;
1658
+ readonly content: string;
1552
1659
  } | undefined;
1553
1660
  readonly urlRoute: string;
1554
1661
  readonly authorData: {
@@ -1574,30 +1681,30 @@ 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;
1688
+ readonly slug: string;
1581
1689
  readonly package: string;
1582
1690
  readonly showOnNav: boolean;
1583
1691
  readonly publishedAt: Date;
1584
- readonly slug: string;
1585
1692
  readonly contentLang: string;
1586
1693
  readonly heroImage?: string | null | undefined;
1587
1694
  readonly categories: readonly {
1588
- readonly description: string;
1589
1695
  readonly id: number;
1590
1696
  readonly name: string;
1697
+ readonly description: string;
1698
+ readonly parent?: number | null | undefined;
1591
1699
  readonly slug: string;
1592
1700
  readonly meta: {
1593
1701
  readonly [x: string]: unknown;
1594
1702
  };
1595
- readonly parent?: number | null | undefined;
1596
1703
  }[];
1597
1704
  readonly tags: readonly {
1598
- readonly description: string;
1599
1705
  readonly id: number;
1600
1706
  readonly name: string;
1707
+ readonly description: string;
1601
1708
  readonly slug: string;
1602
1709
  readonly meta: {
1603
1710
  readonly [x: string]: unknown;
@@ -1612,15 +1719,15 @@ export declare const restClient: Effect.Effect<{
1612
1719
  readonly augments: readonly string[];
1613
1720
  readonly multiLangContent: readonly {
1614
1721
  readonly id: string;
1615
- readonly content: string;
1616
1722
  readonly contentLang: string;
1617
1723
  readonly contentId: string;
1724
+ readonly content: string;
1618
1725
  }[];
1619
1726
  readonly defaultContent: {
1620
1727
  readonly id: string;
1621
- readonly content: string;
1622
1728
  readonly contentLang: string;
1623
1729
  readonly contentId: string;
1730
+ readonly content: string;
1624
1731
  } | undefined;
1625
1732
  readonly urlRoute: string;
1626
1733
  readonly authorData: {
@@ -1661,14 +1768,14 @@ 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 slug: string;
1668
1776
  readonly package: string;
1669
1777
  readonly showOnNav: boolean;
1670
1778
  readonly publishedAt: Date;
1671
- readonly slug: string;
1672
1779
  readonly contentLang: string;
1673
1780
  readonly heroImage?: string | null | undefined;
1674
1781
  readonly categories: readonly string[];
@@ -1682,14 +1789,14 @@ export declare const restClient: Effect.Effect<{
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 slug: string;
1689
1797
  readonly package: string;
1690
1798
  readonly showOnNav: boolean;
1691
1799
  readonly publishedAt: Date;
1692
- readonly slug: string;
1693
1800
  readonly contentLang: string;
1694
1801
  readonly heroImage?: string | null | undefined;
1695
1802
  readonly categories: readonly string[];
@@ -1712,14 +1819,14 @@ 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 slug: string;
1719
1827
  readonly package: string;
1720
1828
  readonly showOnNav: boolean;
1721
1829
  readonly publishedAt: Date;
1722
- readonly slug: string;
1723
1830
  readonly contentLang: string;
1724
1831
  readonly heroImage?: string | null | undefined;
1725
1832
  readonly categories: readonly string[];
@@ -1733,14 +1840,14 @@ export declare const restClient: Effect.Effect<{
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 slug: string;
1740
1848
  readonly package: string;
1741
1849
  readonly showOnNav: boolean;
1742
1850
  readonly publishedAt: Date;
1743
- readonly slug: string;
1744
1851
  readonly contentLang: string;
1745
1852
  readonly heroImage?: string | null | undefined;
1746
1853
  readonly categories: readonly string[];
@@ -1772,14 +1879,14 @@ 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 slug: string;
1779
1887
  readonly package: string;
1780
1888
  readonly showOnNav: boolean;
1781
1889
  readonly publishedAt: Date;
1782
- readonly slug: string;
1783
1890
  readonly contentLang: string;
1784
1891
  readonly heroImage?: string | null | undefined;
1785
1892
  readonly categories: readonly string[];
@@ -1793,14 +1900,14 @@ export declare const restClient: Effect.Effect<{
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 slug: string;
1800
1908
  readonly package: string;
1801
1909
  readonly showOnNav: boolean;
1802
1910
  readonly publishedAt: Date;
1803
- readonly slug: string;
1804
1911
  readonly contentLang: string;
1805
1912
  readonly heroImage?: string | null | undefined;
1806
1913
  readonly categories: readonly string[];
@@ -1823,14 +1930,14 @@ 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 slug: string;
1830
1938
  readonly package: string;
1831
1939
  readonly showOnNav: boolean;
1832
1940
  readonly publishedAt: Date;
1833
- readonly slug: string;
1834
1941
  readonly contentLang: string;
1835
1942
  readonly heroImage?: string | null | undefined;
1836
1943
  readonly categories: readonly string[];
@@ -1844,14 +1951,14 @@ export declare const restClient: Effect.Effect<{
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 slug: string;
1851
1959
  readonly package: string;
1852
1960
  readonly showOnNav: boolean;
1853
1961
  readonly publishedAt: Date;
1854
- readonly slug: string;
1855
1962
  readonly contentLang: string;
1856
1963
  readonly heroImage?: string | null | undefined;
1857
1964
  readonly categories: readonly string[];
@@ -1872,14 +1979,14 @@ export declare const restClient: Effect.Effect<{
1872
1979
  };
1873
1980
  readonly payload: {
1874
1981
  readonly data?: {
1875
- readonly description?: string | undefined;
1876
1982
  readonly id?: string | undefined;
1877
1983
  readonly updatedAt?: Date | undefined;
1984
+ readonly description?: string | undefined;
1878
1985
  readonly title?: string | undefined;
1986
+ readonly slug?: string | undefined;
1879
1987
  readonly package?: string | undefined;
1880
1988
  readonly showOnNav?: boolean | undefined;
1881
1989
  readonly publishedAt?: Date | undefined;
1882
- readonly slug?: string | undefined;
1883
1990
  readonly contentLang?: string | undefined;
1884
1991
  readonly heroImage?: string | null | undefined;
1885
1992
  readonly categories?: readonly string[] | undefined;
@@ -1894,9 +2001,9 @@ export declare const restClient: Effect.Effect<{
1894
2001
  } | undefined;
1895
2002
  readonly content?: {
1896
2003
  readonly id?: string | undefined;
1897
- readonly content?: string | undefined;
1898
2004
  readonly contentLang?: string | undefined;
1899
2005
  readonly contentId?: string | undefined;
2006
+ readonly content?: string | undefined;
1900
2007
  } | undefined;
1901
2008
  };
1902
2009
  readonly withResponse?: WithResponse | undefined;
@@ -1916,30 +2023,30 @@ export declare const restClient: Effect.Effect<{
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;
2030
+ readonly slug: string;
1923
2031
  readonly package: string;
1924
2032
  readonly showOnNav: boolean;
1925
2033
  readonly publishedAt: Date;
1926
- readonly slug: string;
1927
2034
  readonly contentLang: string;
1928
2035
  readonly heroImage?: string | null | undefined;
1929
2036
  readonly categories: readonly {
1930
- readonly description: string;
1931
2037
  readonly id: number;
1932
2038
  readonly name: string;
2039
+ readonly description: string;
2040
+ readonly parent?: number | null | undefined;
1933
2041
  readonly slug: string;
1934
2042
  readonly meta: {
1935
2043
  readonly [x: string]: unknown;
1936
2044
  };
1937
- readonly parent?: number | null | undefined;
1938
2045
  }[];
1939
2046
  readonly tags: readonly {
1940
- readonly description: string;
1941
2047
  readonly id: number;
1942
2048
  readonly name: string;
2049
+ readonly description: string;
1943
2050
  readonly slug: string;
1944
2051
  readonly meta: {
1945
2052
  readonly [x: string]: unknown;
@@ -1954,15 +2061,15 @@ export declare const restClient: Effect.Effect<{
1954
2061
  readonly augments: readonly string[];
1955
2062
  readonly multiLangContent: readonly {
1956
2063
  readonly id: string;
1957
- readonly content: string;
1958
2064
  readonly contentLang: string;
1959
2065
  readonly contentId: string;
2066
+ readonly content: string;
1960
2067
  }[];
1961
2068
  readonly defaultContent: {
1962
2069
  readonly id: string;
1963
- readonly content: string;
1964
2070
  readonly contentLang: string;
1965
2071
  readonly contentId: string;
2072
+ readonly content: string;
1966
2073
  } | undefined;
1967
2074
  readonly urlRoute: string;
1968
2075
  readonly authorData: {
@@ -1988,30 +2095,30 @@ 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;
2102
+ readonly slug: string;
1995
2103
  readonly package: string;
1996
2104
  readonly showOnNav: boolean;
1997
2105
  readonly publishedAt: Date;
1998
- readonly slug: string;
1999
2106
  readonly contentLang: string;
2000
2107
  readonly heroImage?: string | null | undefined;
2001
2108
  readonly categories: readonly {
2002
- readonly description: string;
2003
2109
  readonly id: number;
2004
2110
  readonly name: string;
2111
+ readonly description: string;
2112
+ readonly parent?: number | null | undefined;
2005
2113
  readonly slug: string;
2006
2114
  readonly meta: {
2007
2115
  readonly [x: string]: unknown;
2008
2116
  };
2009
- readonly parent?: number | null | undefined;
2010
2117
  }[];
2011
2118
  readonly tags: readonly {
2012
- readonly description: string;
2013
2119
  readonly id: number;
2014
2120
  readonly name: string;
2121
+ readonly description: string;
2015
2122
  readonly slug: string;
2016
2123
  readonly meta: {
2017
2124
  readonly [x: string]: unknown;
@@ -2026,15 +2133,15 @@ export declare const restClient: Effect.Effect<{
2026
2133
  readonly augments: readonly string[];
2027
2134
  readonly multiLangContent: readonly {
2028
2135
  readonly id: string;
2029
- readonly content: string;
2030
2136
  readonly contentLang: string;
2031
2137
  readonly contentId: string;
2138
+ readonly content: string;
2032
2139
  }[];
2033
2140
  readonly defaultContent: {
2034
2141
  readonly id: string;
2035
- readonly content: string;
2036
2142
  readonly contentLang: string;
2037
2143
  readonly contentId: string;
2144
+ readonly content: string;
2038
2145
  } | undefined;
2039
2146
  readonly urlRoute: string;
2040
2147
  readonly authorData: {
@@ -2063,14 +2170,14 @@ export declare const restClient: Effect.Effect<{
2063
2170
  readonly createPage: <WithResponse extends boolean = false>(request: {
2064
2171
  readonly payload: {
2065
2172
  readonly data?: {
2066
- readonly description?: string | undefined;
2067
2173
  readonly id?: string | undefined;
2068
2174
  readonly updatedAt?: Date | undefined;
2175
+ readonly description?: string | undefined;
2069
2176
  readonly title?: string | undefined;
2177
+ readonly slug?: string | undefined;
2070
2178
  readonly package?: string | undefined;
2071
2179
  readonly showOnNav?: boolean | undefined;
2072
2180
  readonly publishedAt?: Date | undefined;
2073
- readonly slug?: string | undefined;
2074
2181
  readonly contentLang?: string | undefined;
2075
2182
  readonly heroImage?: string | null | undefined;
2076
2183
  readonly categories?: readonly string[] | undefined;
@@ -2085,9 +2192,9 @@ export declare const restClient: Effect.Effect<{
2085
2192
  } | undefined;
2086
2193
  readonly content?: {
2087
2194
  readonly id?: string | undefined;
2088
- readonly content?: string | undefined;
2089
2195
  readonly contentLang?: string | undefined;
2090
2196
  readonly contentId?: string | undefined;
2197
+ readonly content?: string | undefined;
2091
2198
  } | undefined;
2092
2199
  };
2093
2200
  readonly withResponse?: WithResponse | undefined;
@@ -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,32 +2290,75 @@ 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;
2316
+ readonly getSettings: <WithResponse extends boolean = false>(request: void | {
2317
+ readonly withResponse?: WithResponse | undefined;
2318
+ }) => Effect.Effect<WithResponse extends true ? [{
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;
2332
+ };
2333
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2334
+ readonly id: string;
2335
+ readonly data: {
2336
+ readonly description: string;
2337
+ readonly title: string;
2338
+ readonly _config_version: string;
2339
+ readonly defaultOgImage?: string | null | undefined;
2340
+ readonly siteIcon?: string | null | undefined;
2341
+ readonly loginPageBackground?: string | undefined;
2342
+ readonly loginPageCustomImage?: string | null | undefined;
2343
+ readonly enableDiffs?: boolean | undefined;
2344
+ readonly diffPerPage?: number | undefined;
2345
+ readonly gridItems?: string[] | undefined;
2346
+ readonly enableMailer?: boolean | undefined;
2347
+ };
2348
+ }, 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>;
2349
+ readonly updateSettings: <WithResponse extends boolean = false>(request: {
2350
+ readonly payload: {
2351
+ description: string;
2352
+ title: string;
2353
+ _config_version: string;
2354
+ defaultOgImage?: string | null | undefined;
2355
+ siteIcon?: string | null | undefined;
2356
+ loginPageBackground?: string | undefined;
2357
+ loginPageCustomImage?: string | null | undefined;
2358
+ enableDiffs?: boolean | undefined;
2359
+ diffPerPage?: number | undefined;
2360
+ gridItems?: string[] | undefined;
2361
+ enableMailer?: boolean | undefined;
2212
2362
  };
2213
2363
  readonly withResponse?: WithResponse | undefined;
2214
2364
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2216,191 +2366,41 @@ export declare const restClient: Effect.Effect<{
2216
2366
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2217
2367
  readonly message: string;
2218
2368
  }, 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;
2369
+ };
2370
+ }, never, never>;
2371
+ /**
2372
+ * SDK Client - A client for the StudioCMS SDK API, allowing for interactions with the SDK endpoints defined in the API specification. This client is configured with the base URL and uses the FetchHttpClient for making requests to the backend.
2373
+ */
2374
+ export declare const sdkClient: Effect.Effect<{
2375
+ readonly utils: {
2376
+ readonly renderMarkdown: <WithResponse extends boolean = false>(request: {
2377
+ readonly urlParams: {
2378
+ readonly content?: string | undefined;
2379
+ readonly 'preload-content'?: string | undefined;
2380
+ };
2381
+ readonly payload: {
2382
+ readonly content?: string | undefined;
2222
2383
  };
2223
2384
  readonly withResponse?: WithResponse | undefined;
2224
2385
  }) => 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;
2386
+ readonly html: string;
2233
2387
  }, 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 ? [{
2319
- readonly id: string;
2320
- readonly data: {
2321
- readonly description: string;
2322
- readonly _config_version: string;
2323
- 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
- readonly _config_version: string;
2338
- readonly title: string;
2339
- readonly defaultOgImage?: string | null | undefined;
2340
- readonly siteIcon?: string | null | undefined;
2341
- readonly loginPageBackground?: string | undefined;
2342
- readonly loginPageCustomImage?: string | null | undefined;
2343
- readonly enableDiffs?: boolean | undefined;
2344
- readonly diffPerPage?: number | undefined;
2345
- readonly gridItems?: string[] | undefined;
2346
- readonly enableMailer?: boolean | undefined;
2347
- };
2348
- }, 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>;
2349
- readonly updateSettings: <WithResponse extends boolean = false>(request: {
2350
- readonly payload: {
2351
- description: string;
2352
- _config_version: string;
2353
- title: string;
2354
- defaultOgImage?: string | null | undefined;
2355
- siteIcon?: string | null | undefined;
2356
- loginPageBackground?: string | undefined;
2357
- loginPageCustomImage?: string | null | undefined;
2358
- enableDiffs?: boolean | undefined;
2359
- diffPerPage?: number | undefined;
2360
- gridItems?: string[] | undefined;
2361
- enableMailer?: boolean | undefined;
2362
- };
2363
- readonly withResponse?: WithResponse | undefined;
2364
- }) => Effect.Effect<WithResponse extends true ? [{
2365
- readonly message: string;
2366
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2367
- readonly message: string;
2368
- }, 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>;
2369
- };
2370
- }, never, never>;
2371
- /**
2372
- * SDK Client - A client for the StudioCMS SDK API, allowing for interactions with the SDK endpoints defined in the API specification. This client is configured with the base URL and uses the FetchHttpClient for making requests to the backend.
2373
- */
2374
- export declare const sdkClient: Effect.Effect<{
2375
- readonly utils: {
2376
- readonly renderMarkdown: <WithResponse extends boolean = false>(request: {
2377
- readonly urlParams: {
2378
- readonly content?: string | undefined;
2379
- readonly 'preload-content'?: string | undefined;
2380
- };
2381
- readonly payload: {
2382
- readonly content?: string | undefined;
2383
- };
2384
- readonly withResponse?: WithResponse | undefined;
2385
- }) => Effect.Effect<WithResponse extends true ? [{
2386
- readonly html: string;
2387
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2388
- readonly html: string;
2389
- }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/sdk").SDKAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2390
- readonly userListItems: <WithResponse extends boolean = false>(request: {
2391
- readonly payload: {
2392
- readonly users: readonly {
2393
- readonly id: string;
2394
- readonly name: string;
2395
- readonly email?: string | null | undefined;
2396
- readonly avatar?: string | null | undefined;
2397
- readonly username: string;
2398
- readonly permissionsData: {
2399
- readonly rank: "editor" | "admin" | "owner" | "unknown" | "visitor";
2400
- readonly user: string;
2401
- } | undefined;
2402
- }[];
2403
- readonly searchQuery?: string | undefined;
2388
+ readonly html: string;
2389
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("@withstudiocms/api-spec/sdk").SDKAPIError | import("@effect/platform/HttpClientError").HttpClientError, never>;
2390
+ readonly userListItems: <WithResponse extends boolean = false>(request: {
2391
+ readonly payload: {
2392
+ readonly users: readonly {
2393
+ readonly id: string;
2394
+ readonly name: string;
2395
+ readonly email?: string | null | undefined;
2396
+ readonly avatar?: string | null | undefined;
2397
+ readonly username: string;
2398
+ readonly permissionsData: {
2399
+ readonly user: string;
2400
+ readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2401
+ } | undefined;
2402
+ }[];
2403
+ readonly searchQuery?: string | undefined;
2404
2404
  };
2405
2405
  readonly withResponse?: WithResponse | undefined;
2406
2406
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -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,13 +2556,13 @@ 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 slug?: string | undefined;
2562
2563
  readonly package?: string | undefined;
2563
2564
  readonly showOnNav?: boolean | undefined;
2564
2565
  readonly publishedAt?: Date | undefined;
2565
- readonly slug?: string | undefined;
2566
2566
  readonly contentLang?: string | undefined;
2567
2567
  readonly heroImage?: string | null | undefined;
2568
2568
  readonly categories?: readonly string[] | undefined;
@@ -2583,15 +2583,14 @@ 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;
2588
+ readonly description?: string | undefined;
2589
2589
  readonly title?: string | undefined;
2590
- readonly content: string;
2590
+ readonly slug?: string | undefined;
2591
2591
  readonly package?: string | undefined;
2592
2592
  readonly showOnNav?: boolean | undefined;
2593
2593
  readonly publishedAt?: Date | undefined;
2594
- readonly slug?: string | undefined;
2595
2594
  readonly contentLang?: string | undefined;
2596
2595
  readonly heroImage?: string | null | undefined;
2597
2596
  readonly categories?: readonly string[] | undefined;
@@ -2604,6 +2603,7 @@ export declare const apiClients: {
2604
2603
  readonly draft?: boolean | undefined;
2605
2604
  readonly augments?: readonly string[] | undefined;
2606
2605
  readonly contentId: string;
2606
+ readonly content: string;
2607
2607
  readonly pluginFields: {
2608
2608
  readonly [x: string]: FormDataEntryValue | null;
2609
2609
  };
@@ -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
  } | {
@@ -2854,43 +2854,43 @@ export declare const apiClients: {
2854
2854
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2855
2855
  readonly id: string;
2856
2856
  readonly name: string;
2857
- readonly slug?: string | undefined;
2858
2857
  readonly type: "folder" | "page";
2858
+ readonly slug?: string | undefined;
2859
2859
  readonly isDraft?: boolean | null | undefined;
2860
2860
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2861
2861
  readonly id: string;
2862
2862
  readonly name: string;
2863
- readonly slug?: string | undefined;
2864
2863
  readonly type: "folder" | "page";
2864
+ readonly slug?: string | undefined;
2865
2865
  readonly isDraft?: boolean | null | undefined;
2866
2866
  }[], 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>;
2867
2867
  };
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;
2875
- readonly slug: string;
2873
+ readonly description: string;
2876
2874
  readonly type: "tags";
2875
+ readonly slug: string;
2877
2876
  readonly meta: {
2878
2877
  readonly [x: string]: unknown;
2879
2878
  };
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;
2888
- readonly slug: string;
2886
+ readonly description: string;
2889
2887
  readonly type: "categories";
2888
+ readonly parent?: number | null | undefined;
2889
+ readonly slug: string;
2890
2890
  readonly meta: {
2891
2891
  readonly [x: string]: unknown;
2892
2892
  };
2893
- readonly parent?: number | null | undefined;
2893
+ readonly mode: "create" | "edit";
2894
2894
  };
2895
2895
  readonly withResponse?: WithResponse | undefined;
2896
2896
  }) => 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;
2918
- readonly slug: string;
2917
+ readonly description: string;
2919
2918
  readonly type: "tag" | "category";
2919
+ readonly parent: number | null | undefined;
2920
+ readonly slug: string;
2920
2921
  readonly meta: {
2921
2922
  readonly [x: string]: unknown;
2922
2923
  };
2923
- readonly parent: number | null | undefined;
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;
2929
- readonly slug: string;
2928
+ readonly description: string;
2930
2929
  readonly type: "tag" | "category";
2930
+ readonly parent: number | null | undefined;
2931
+ readonly slug: string;
2931
2932
  readonly meta: {
2932
2933
  readonly [x: string]: unknown;
2933
2934
  };
2934
- readonly parent: number | null | undefined;
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;
@@ -3060,6 +3060,7 @@ export declare const apiClients: {
3060
3060
  readonly withResponse?: WithResponse | undefined;
3061
3061
  }) => Effect.Effect<WithResponse extends true ? [{
3062
3062
  readonly id: number;
3063
+ readonly type: "query";
3063
3064
  readonly data: {
3064
3065
  readonly rows: readonly {
3065
3066
  readonly [x: string]: unknown;
@@ -3078,9 +3079,9 @@ export declare const apiClients: {
3078
3079
  };
3079
3080
  readonly lastInsertRowid?: number | undefined;
3080
3081
  };
3081
- readonly type: "query";
3082
3082
  } | {
3083
3083
  readonly id: number;
3084
+ readonly type: "transaction";
3084
3085
  readonly data: readonly {
3085
3086
  readonly rows: readonly {
3086
3087
  readonly [x: string]: unknown;
@@ -3099,13 +3100,13 @@ export declare const apiClients: {
3099
3100
  };
3100
3101
  readonly lastInsertRowid?: number | undefined;
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;
3109
+ readonly type: "query";
3109
3110
  readonly data: {
3110
3111
  readonly rows: readonly {
3111
3112
  readonly [x: string]: unknown;
@@ -3124,9 +3125,9 @@ export declare const apiClients: {
3124
3125
  };
3125
3126
  readonly lastInsertRowid?: number | undefined;
3126
3127
  };
3127
- readonly type: "query";
3128
3128
  } | {
3129
3129
  readonly id: number;
3130
+ readonly type: "transaction";
3130
3131
  readonly data: readonly {
3131
3132
  readonly rows: readonly {
3132
3133
  readonly [x: string]: unknown;
@@ -3145,18 +3146,17 @@ export declare const apiClients: {
3145
3146
  };
3146
3147
  readonly lastInsertRowid?: number | undefined;
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
  } | {
@@ -3168,8 +3168,8 @@ export declare const apiClients: {
3168
3168
  } | {
3169
3169
  readonly payload: {
3170
3170
  readonly key: string;
3171
- readonly action: "upload";
3172
3171
  readonly contentType: string;
3172
+ readonly action: "upload";
3173
3173
  };
3174
3174
  readonly withResponse?: WithResponse | undefined;
3175
3175
  } | {
@@ -3305,39 +3305,117 @@ export declare const apiClients: {
3305
3305
  }, never, never>;
3306
3306
  rest: Effect.Effect<{
3307
3307
  readonly restV1Public: {
3308
- readonly getPages: <WithResponse extends boolean = false>(request: {
3308
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
3309
3309
  readonly urlParams: {
3310
- readonly title?: string | undefined;
3311
- readonly slug?: string | undefined;
3312
- readonly parentFolder?: string | undefined;
3313
- readonly author?: string | undefined;
3310
+ readonly name?: string | undefined;
3311
+ readonly parent?: number | undefined;
3314
3312
  };
3315
3313
  readonly withResponse?: WithResponse | undefined;
3316
3314
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3315
+ readonly id: number;
3316
+ readonly name: string;
3317
3317
  readonly description: string;
3318
- readonly id: string;
3319
- readonly updatedAt: Date;
3320
- readonly title: string;
3321
- readonly package: string;
3322
- readonly showOnNav: boolean;
3323
- readonly publishedAt: Date;
3318
+ readonly parent?: number | null | undefined;
3324
3319
  readonly slug: string;
3325
- readonly contentLang: string;
3326
- readonly heroImage?: string | null | undefined;
3327
- readonly categories: readonly {
3328
- readonly description: string;
3329
- readonly id: number;
3320
+ readonly meta: {
3321
+ readonly [x: string]: unknown;
3322
+ };
3323
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3324
+ readonly id: number;
3325
+ readonly name: string;
3326
+ readonly description: string;
3327
+ readonly parent?: number | null | undefined;
3328
+ readonly slug: string;
3329
+ readonly meta: {
3330
+ readonly [x: string]: unknown;
3331
+ };
3332
+ }[], 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>;
3333
+ readonly getCategory: <WithResponse extends boolean = false>(request: {
3334
+ readonly path: {
3335
+ readonly id: number;
3336
+ };
3337
+ readonly withResponse?: WithResponse | undefined;
3338
+ }) => Effect.Effect<WithResponse extends true ? [{
3339
+ readonly id: number;
3340
+ readonly name: string;
3341
+ readonly description: string;
3342
+ readonly parent?: number | null | undefined;
3343
+ readonly slug: string;
3344
+ readonly meta: {
3345
+ readonly [x: string]: unknown;
3346
+ };
3347
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3348
+ readonly id: number;
3349
+ readonly name: string;
3350
+ readonly description: string;
3351
+ readonly parent?: number | null | undefined;
3352
+ readonly slug: string;
3353
+ readonly meta: {
3354
+ readonly [x: string]: unknown;
3355
+ };
3356
+ }, 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>;
3357
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
3358
+ readonly urlParams: {
3359
+ readonly name?: string | undefined;
3360
+ readonly parent?: string | undefined;
3361
+ };
3362
+ readonly withResponse?: WithResponse | undefined;
3363
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3364
+ readonly id: string;
3365
+ readonly name: string;
3366
+ readonly parent?: string | null | undefined;
3367
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3368
+ readonly id: string;
3369
+ readonly name: string;
3370
+ readonly parent?: string | null | undefined;
3371
+ }[], 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>;
3372
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
3373
+ readonly path: {
3374
+ readonly id: string;
3375
+ };
3376
+ readonly withResponse?: WithResponse | undefined;
3377
+ }) => Effect.Effect<WithResponse extends true ? [{
3378
+ readonly id: string;
3379
+ readonly name: string;
3380
+ readonly parent?: string | null | undefined;
3381
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3382
+ readonly id: string;
3383
+ readonly name: string;
3384
+ readonly parent?: string | null | undefined;
3385
+ }, 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>;
3386
+ readonly getPages: <WithResponse extends boolean = false>(request: {
3387
+ readonly urlParams: {
3388
+ readonly title?: string | undefined;
3389
+ readonly slug?: string | undefined;
3390
+ readonly parentFolder?: string | undefined;
3391
+ readonly author?: string | undefined;
3392
+ };
3393
+ readonly withResponse?: WithResponse | undefined;
3394
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3395
+ readonly id: string;
3396
+ readonly updatedAt: Date;
3397
+ readonly description: string;
3398
+ readonly title: string;
3399
+ readonly slug: string;
3400
+ readonly package: string;
3401
+ readonly showOnNav: boolean;
3402
+ readonly publishedAt: Date;
3403
+ readonly contentLang: string;
3404
+ readonly heroImage?: string | null | undefined;
3405
+ readonly categories: readonly {
3406
+ readonly id: number;
3330
3407
  readonly name: string;
3408
+ readonly description: string;
3409
+ readonly parent?: number | null | undefined;
3331
3410
  readonly slug: string;
3332
3411
  readonly meta: {
3333
3412
  readonly [x: string]: unknown;
3334
3413
  };
3335
- readonly parent?: number | null | undefined;
3336
3414
  }[];
3337
3415
  readonly tags: readonly {
3338
- readonly description: string;
3339
3416
  readonly id: number;
3340
3417
  readonly name: string;
3418
+ readonly description: string;
3341
3419
  readonly slug: string;
3342
3420
  readonly meta: {
3343
3421
  readonly [x: string]: unknown;
@@ -3352,15 +3430,15 @@ export declare const apiClients: {
3352
3430
  readonly augments: readonly string[];
3353
3431
  readonly multiLangContent: readonly {
3354
3432
  readonly id: string;
3355
- readonly content: string;
3356
3433
  readonly contentLang: string;
3357
3434
  readonly contentId: string;
3435
+ readonly content: string;
3358
3436
  }[];
3359
3437
  readonly defaultContent: {
3360
3438
  readonly id: string;
3361
- readonly content: string;
3362
3439
  readonly contentLang: string;
3363
3440
  readonly contentId: string;
3441
+ readonly content: string;
3364
3442
  } | undefined;
3365
3443
  readonly urlRoute: string;
3366
3444
  readonly authorData: {
@@ -3386,30 +3464,30 @@ export declare const apiClients: {
3386
3464
  readonly notifications?: string | null | undefined;
3387
3465
  }[];
3388
3466
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3389
- readonly description: string;
3390
3467
  readonly id: string;
3391
3468
  readonly updatedAt: Date;
3469
+ readonly description: string;
3392
3470
  readonly title: string;
3471
+ readonly slug: string;
3393
3472
  readonly package: string;
3394
3473
  readonly showOnNav: boolean;
3395
3474
  readonly publishedAt: Date;
3396
- readonly slug: string;
3397
3475
  readonly contentLang: string;
3398
3476
  readonly heroImage?: string | null | undefined;
3399
3477
  readonly categories: readonly {
3400
- readonly description: string;
3401
3478
  readonly id: number;
3402
3479
  readonly name: string;
3480
+ readonly description: string;
3481
+ readonly parent?: number | null | undefined;
3403
3482
  readonly slug: string;
3404
3483
  readonly meta: {
3405
3484
  readonly [x: string]: unknown;
3406
3485
  };
3407
- readonly parent?: number | null | undefined;
3408
3486
  }[];
3409
3487
  readonly tags: readonly {
3410
- readonly description: string;
3411
3488
  readonly id: number;
3412
3489
  readonly name: string;
3490
+ readonly description: string;
3413
3491
  readonly slug: string;
3414
3492
  readonly meta: {
3415
3493
  readonly [x: string]: unknown;
@@ -3424,15 +3502,15 @@ export declare const apiClients: {
3424
3502
  readonly augments: readonly string[];
3425
3503
  readonly multiLangContent: readonly {
3426
3504
  readonly id: string;
3427
- readonly content: string;
3428
3505
  readonly contentLang: string;
3429
3506
  readonly contentId: string;
3507
+ readonly content: string;
3430
3508
  }[];
3431
3509
  readonly defaultContent: {
3432
3510
  readonly id: string;
3433
- readonly content: string;
3434
3511
  readonly contentLang: string;
3435
3512
  readonly contentId: string;
3513
+ readonly content: string;
3436
3514
  } | undefined;
3437
3515
  readonly urlRoute: string;
3438
3516
  readonly authorData: {
@@ -3464,30 +3542,30 @@ export declare const apiClients: {
3464
3542
  };
3465
3543
  readonly withResponse?: WithResponse | undefined;
3466
3544
  }) => Effect.Effect<WithResponse extends true ? [{
3467
- readonly description: string;
3468
3545
  readonly id: string;
3469
3546
  readonly updatedAt: Date;
3547
+ readonly description: string;
3470
3548
  readonly title: string;
3549
+ readonly slug: string;
3471
3550
  readonly package: string;
3472
3551
  readonly showOnNav: boolean;
3473
3552
  readonly publishedAt: Date;
3474
- readonly slug: string;
3475
3553
  readonly contentLang: string;
3476
3554
  readonly heroImage?: string | null | undefined;
3477
3555
  readonly categories: readonly {
3478
- readonly description: string;
3479
3556
  readonly id: number;
3480
3557
  readonly name: string;
3558
+ readonly description: string;
3559
+ readonly parent?: number | null | undefined;
3481
3560
  readonly slug: string;
3482
3561
  readonly meta: {
3483
3562
  readonly [x: string]: unknown;
3484
3563
  };
3485
- readonly parent?: number | null | undefined;
3486
3564
  }[];
3487
3565
  readonly tags: readonly {
3488
- readonly description: string;
3489
3566
  readonly id: number;
3490
3567
  readonly name: string;
3568
+ readonly description: string;
3491
3569
  readonly slug: string;
3492
3570
  readonly meta: {
3493
3571
  readonly [x: string]: unknown;
@@ -3502,15 +3580,15 @@ export declare const apiClients: {
3502
3580
  readonly augments: readonly string[];
3503
3581
  readonly multiLangContent: readonly {
3504
3582
  readonly id: string;
3505
- readonly content: string;
3506
3583
  readonly contentLang: string;
3507
3584
  readonly contentId: string;
3585
+ readonly content: string;
3508
3586
  }[];
3509
3587
  readonly defaultContent: {
3510
3588
  readonly id: string;
3511
- readonly content: string;
3512
3589
  readonly contentLang: string;
3513
3590
  readonly contentId: string;
3591
+ readonly content: string;
3514
3592
  } | undefined;
3515
3593
  readonly urlRoute: string;
3516
3594
  readonly authorData: {
@@ -3536,30 +3614,30 @@ export declare const apiClients: {
3536
3614
  readonly notifications?: string | null | undefined;
3537
3615
  }[];
3538
3616
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3539
- readonly description: string;
3540
3617
  readonly id: string;
3541
3618
  readonly updatedAt: Date;
3619
+ readonly description: string;
3542
3620
  readonly title: string;
3621
+ readonly slug: string;
3543
3622
  readonly package: string;
3544
3623
  readonly showOnNav: boolean;
3545
3624
  readonly publishedAt: Date;
3546
- readonly slug: string;
3547
3625
  readonly contentLang: string;
3548
3626
  readonly heroImage?: string | null | undefined;
3549
3627
  readonly categories: readonly {
3550
- readonly description: string;
3551
3628
  readonly id: number;
3552
3629
  readonly name: string;
3630
+ readonly description: string;
3631
+ readonly parent?: number | null | undefined;
3553
3632
  readonly slug: string;
3554
3633
  readonly meta: {
3555
3634
  readonly [x: string]: unknown;
3556
3635
  };
3557
- readonly parent?: number | null | undefined;
3558
3636
  }[];
3559
3637
  readonly tags: readonly {
3560
- readonly description: string;
3561
3638
  readonly id: number;
3562
3639
  readonly name: string;
3640
+ readonly description: string;
3563
3641
  readonly slug: string;
3564
3642
  readonly meta: {
3565
3643
  readonly [x: string]: unknown;
@@ -3574,15 +3652,15 @@ export declare const apiClients: {
3574
3652
  readonly augments: readonly string[];
3575
3653
  readonly multiLangContent: readonly {
3576
3654
  readonly id: string;
3577
- readonly content: string;
3578
3655
  readonly contentLang: string;
3579
3656
  readonly contentId: string;
3657
+ readonly content: string;
3580
3658
  }[];
3581
3659
  readonly defaultContent: {
3582
3660
  readonly id: string;
3583
- readonly content: string;
3584
3661
  readonly contentLang: string;
3585
3662
  readonly contentId: string;
3663
+ readonly content: string;
3586
3664
  } | undefined;
3587
3665
  readonly urlRoute: string;
3588
3666
  readonly authorData: {
@@ -3608,130 +3686,220 @@ export declare const apiClients: {
3608
3686
  readonly notifications?: string | null | undefined;
3609
3687
  }[];
3610
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>;
3611
- readonly getCategories: <WithResponse extends boolean = false>(request: {
3689
+ readonly getTags: <WithResponse extends boolean = false>(request: {
3612
3690
  readonly urlParams: {
3613
3691
  readonly name?: string | undefined;
3614
- readonly parent?: number | undefined;
3615
3692
  };
3616
3693
  readonly withResponse?: WithResponse | undefined;
3617
3694
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3618
- readonly description: string;
3619
3695
  readonly id: number;
3620
3696
  readonly name: string;
3697
+ readonly description: string;
3621
3698
  readonly slug: string;
3622
3699
  readonly meta: {
3623
3700
  readonly [x: string]: unknown;
3624
3701
  };
3625
- readonly parent?: number | null | undefined;
3626
3702
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3627
- readonly description: string;
3628
3703
  readonly id: number;
3629
3704
  readonly name: string;
3705
+ readonly description: string;
3630
3706
  readonly slug: string;
3631
3707
  readonly meta: {
3632
3708
  readonly [x: string]: unknown;
3633
3709
  };
3634
- readonly parent?: number | null | undefined;
3635
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>;
3636
- readonly getCategory: <WithResponse extends boolean = false>(request: {
3711
+ readonly getTag: <WithResponse extends boolean = false>(request: {
3637
3712
  readonly path: {
3638
3713
  readonly id: number;
3639
3714
  };
3640
3715
  readonly withResponse?: WithResponse | undefined;
3641
3716
  }) => Effect.Effect<WithResponse extends true ? [{
3642
- readonly description: string;
3643
3717
  readonly id: number;
3644
3718
  readonly name: string;
3719
+ readonly description: string;
3645
3720
  readonly slug: string;
3646
3721
  readonly meta: {
3647
3722
  readonly [x: string]: unknown;
3648
3723
  };
3649
- readonly parent?: number | null | undefined;
3650
3724
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3651
- readonly description: string;
3652
3725
  readonly id: number;
3653
3726
  readonly name: string;
3727
+ readonly description: string;
3654
3728
  readonly slug: string;
3655
3729
  readonly meta: {
3656
3730
  readonly [x: string]: unknown;
3657
3731
  };
3658
- readonly parent?: number | null | undefined;
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: {
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;
3763
+ readonly withResponse?: WithResponse | undefined;
3764
+ }) => Effect.Effect<WithResponse extends true ? [{
3765
+ readonly id: string;
3766
+ readonly url?: string | null | undefined;
3767
+ readonly name: string;
3768
+ readonly email?: string | null | undefined;
3769
+ readonly avatar?: string | null | undefined;
3770
+ readonly username: string;
3771
+ readonly updatedAt: Date;
3772
+ readonly createdAt: Date;
3773
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3774
+ readonly id: string;
3775
+ readonly url?: string | null | undefined;
3776
+ readonly name: string;
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: {
3676
3784
  readonly path: {
3677
3785
  readonly id: string;
3678
3786
  };
3679
3787
  readonly withResponse?: WithResponse | undefined;
3680
3788
  }) => Effect.Effect<WithResponse extends true ? [{
3681
3789
  readonly id: string;
3790
+ readonly url?: string | null | undefined;
3682
3791
  readonly name: string;
3683
- readonly parent?: string | null | undefined;
3792
+ readonly email?: string | null | undefined;
3793
+ readonly avatar?: string | null | undefined;
3794
+ readonly username: string;
3795
+ readonly updatedAt: Date;
3796
+ readonly createdAt: Date;
3684
3797
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3685
3798
  readonly id: string;
3799
+ readonly url?: string | null | undefined;
3686
3800
  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: {
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: {
3808
+ readonly path: {
3809
+ readonly id: string;
3810
+ };
3811
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").RestUsersIdJSONData;
3812
+ readonly withResponse?: WithResponse | undefined;
3813
+ }) => Effect.Effect<WithResponse extends true ? [{
3814
+ readonly id: string;
3815
+ readonly url?: string | null | undefined;
3816
+ readonly name: string;
3817
+ readonly email?: string | null | undefined;
3818
+ readonly avatar?: string | null | undefined;
3819
+ readonly username: string;
3820
+ readonly updatedAt: Date;
3821
+ readonly createdAt: Date;
3822
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3823
+ readonly id: string;
3824
+ readonly url?: string | null | undefined;
3825
+ readonly name: string;
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;
3835
+ };
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>;
3842
+ readonly getFolders: <WithResponse extends boolean = false>(request: {
3690
3843
  readonly urlParams: {
3691
3844
  readonly name?: string | undefined;
3845
+ readonly parent?: string | undefined;
3692
3846
  };
3693
3847
  readonly withResponse?: WithResponse | undefined;
3694
3848
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3695
- readonly description: string;
3696
- readonly id: number;
3849
+ readonly id: string;
3697
3850
  readonly name: string;
3698
- readonly slug: string;
3699
- readonly meta: {
3700
- readonly [x: string]: unknown;
3701
- };
3851
+ readonly parent?: string | null | undefined;
3702
3852
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3703
- readonly description: string;
3704
- readonly id: number;
3853
+ readonly id: string;
3705
3854
  readonly name: string;
3706
- readonly slug: string;
3707
- readonly meta: {
3708
- readonly [x: string]: unknown;
3855
+ readonly parent?: string | null | undefined;
3856
+ }[], 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>;
3857
+ readonly createFolder: <WithResponse extends boolean = false>(request: {
3858
+ readonly payload: {
3859
+ readonly name: string;
3860
+ readonly parent?: string | null | undefined;
3709
3861
  };
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: {
3862
+ readonly withResponse?: WithResponse | undefined;
3863
+ }) => Effect.Effect<WithResponse extends true ? [{
3864
+ readonly message: string;
3865
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3866
+ readonly message: string;
3867
+ }, 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>;
3868
+ readonly getFolder: <WithResponse extends boolean = false>(request: {
3712
3869
  readonly path: {
3713
- readonly id: number;
3870
+ readonly id: string;
3714
3871
  };
3715
3872
  readonly withResponse?: WithResponse | undefined;
3716
3873
  }) => Effect.Effect<WithResponse extends true ? [{
3717
- readonly description: string;
3718
- readonly id: number;
3874
+ readonly id: string;
3719
3875
  readonly name: string;
3720
- readonly slug: string;
3721
- readonly meta: {
3722
- readonly [x: string]: unknown;
3723
- };
3876
+ readonly parent?: string | null | undefined;
3724
3877
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3725
- readonly description: string;
3726
- readonly id: number;
3878
+ readonly id: string;
3727
3879
  readonly name: string;
3728
- readonly slug: string;
3729
- readonly meta: {
3730
- readonly [x: string]: unknown;
3880
+ readonly parent?: string | null | undefined;
3881
+ }, 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>;
3882
+ readonly updateFolder: <WithResponse extends boolean = false>(request: {
3883
+ readonly path: {
3884
+ readonly id: string;
3731
3885
  };
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: {
3886
+ readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
3887
+ readonly withResponse?: WithResponse | undefined;
3888
+ }) => Effect.Effect<WithResponse extends true ? [{
3889
+ readonly message: string;
3890
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3891
+ readonly message: string;
3892
+ }, 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>;
3893
+ readonly deleteFolder: <WithResponse extends boolean = false>(request: {
3894
+ readonly path: {
3895
+ readonly id: string;
3896
+ };
3897
+ readonly withResponse?: WithResponse | undefined;
3898
+ }) => Effect.Effect<WithResponse extends true ? [{
3899
+ readonly success: boolean;
3900
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3901
+ readonly success: boolean;
3902
+ }, 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
3903
  readonly deleteCategory: <WithResponse extends boolean = false>(request: {
3736
3904
  readonly path: {
3737
3905
  readonly id: number;
@@ -3748,57 +3916,57 @@ export declare const apiClients: {
3748
3916
  };
3749
3917
  readonly withResponse?: WithResponse | undefined;
3750
3918
  }) => Effect.Effect<WithResponse extends true ? [{
3751
- readonly description: string;
3752
3919
  readonly id: number;
3753
3920
  readonly name: string;
3921
+ readonly description: string;
3922
+ readonly parent?: number | null | undefined;
3754
3923
  readonly slug: string;
3755
3924
  readonly meta: {
3756
3925
  readonly [x: string]: unknown;
3757
3926
  };
3758
- readonly parent?: number | null | undefined;
3759
3927
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3760
- readonly description: string;
3761
3928
  readonly id: number;
3762
3929
  readonly name: string;
3930
+ readonly description: string;
3931
+ readonly parent?: number | null | undefined;
3763
3932
  readonly slug: string;
3764
3933
  readonly meta: {
3765
3934
  readonly [x: string]: unknown;
3766
3935
  };
3767
- readonly parent?: number | null | undefined;
3768
3936
  }, 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>;
3769
3937
  readonly updateCategory: <WithResponse extends boolean = false>(request: {
3770
3938
  readonly path: {
3771
3939
  readonly id: number;
3772
3940
  };
3773
3941
  readonly payload: {
3774
- readonly description?: string | undefined;
3775
3942
  readonly id?: number | undefined;
3776
3943
  readonly name?: string | undefined;
3944
+ readonly description?: string | undefined;
3945
+ readonly parent?: number | null | undefined;
3777
3946
  readonly slug?: string | undefined;
3778
3947
  readonly meta?: {
3779
3948
  readonly [x: string]: unknown;
3780
3949
  } | undefined;
3781
- readonly parent?: number | null | undefined;
3782
3950
  };
3783
3951
  readonly withResponse?: WithResponse | undefined;
3784
3952
  }) => Effect.Effect<WithResponse extends true ? [{
3785
- readonly description: string;
3786
3953
  readonly id: number;
3787
3954
  readonly name: string;
3955
+ readonly description: string;
3956
+ readonly parent?: number | null | undefined;
3788
3957
  readonly slug: string;
3789
3958
  readonly meta: {
3790
3959
  readonly [x: string]: unknown;
3791
3960
  };
3792
- readonly parent?: number | null | undefined;
3793
3961
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3794
- readonly description: string;
3795
3962
  readonly id: number;
3796
3963
  readonly name: string;
3964
+ readonly description: string;
3965
+ readonly parent?: number | null | undefined;
3797
3966
  readonly slug: string;
3798
3967
  readonly meta: {
3799
3968
  readonly [x: string]: unknown;
3800
3969
  };
3801
- readonly parent?: number | null | undefined;
3802
3970
  }, 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>;
3803
3971
  readonly getCategories: <WithResponse extends boolean = false>(request: {
3804
3972
  readonly urlParams: {
@@ -3807,112 +3975,51 @@ export declare const apiClients: {
3807
3975
  };
3808
3976
  readonly withResponse?: WithResponse | undefined;
3809
3977
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3810
- readonly description: string;
3811
3978
  readonly id: number;
3812
3979
  readonly name: string;
3980
+ readonly description: string;
3981
+ readonly parent?: number | null | undefined;
3813
3982
  readonly slug: string;
3814
3983
  readonly meta: {
3815
3984
  readonly [x: string]: unknown;
3816
3985
  };
3817
- readonly parent?: number | null | undefined;
3818
3986
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3819
- readonly description: string;
3820
3987
  readonly id: number;
3821
3988
  readonly name: string;
3822
- readonly slug: string;
3823
- readonly meta: {
3824
- readonly [x: string]: unknown;
3825
- };
3826
- readonly parent?: number | null | undefined;
3827
- }[], 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
- readonly createCategory: <WithResponse extends boolean = false>(request: {
3829
- readonly payload: {
3830
- readonly description: string;
3831
- readonly name: string;
3832
- readonly slug: string;
3833
- readonly meta: string;
3834
- readonly parent?: number | null | undefined;
3835
- };
3836
- readonly withResponse?: WithResponse | undefined;
3837
- }) => Effect.Effect<WithResponse extends true ? [{
3838
3989
  readonly description: string;
3839
- readonly id: number;
3840
- readonly name: string;
3841
- readonly slug: string;
3842
- readonly meta: {
3843
- readonly [x: string]: unknown;
3844
- };
3845
3990
  readonly parent?: number | null | undefined;
3846
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3847
- readonly description: string;
3848
- readonly id: number;
3849
- readonly name: string;
3850
3991
  readonly slug: string;
3851
3992
  readonly meta: {
3852
3993
  readonly [x: string]: unknown;
3853
3994
  };
3854
- readonly parent?: number | null | undefined;
3855
- }, 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>;
3856
- readonly deleteFolder: <WithResponse extends boolean = false>(request: {
3857
- readonly path: {
3858
- readonly id: string;
3859
- };
3860
- readonly withResponse?: WithResponse | undefined;
3861
- }) => Effect.Effect<WithResponse extends true ? [{
3862
- readonly success: boolean;
3863
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3864
- readonly success: boolean;
3865
- }, 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>;
3866
- readonly getFolder: <WithResponse extends boolean = false>(request: {
3867
- readonly path: {
3868
- readonly id: string;
3869
- };
3870
- readonly withResponse?: WithResponse | undefined;
3871
- }) => Effect.Effect<WithResponse extends true ? [{
3872
- readonly id: string;
3873
- readonly name: string;
3874
- readonly parent?: string | null | undefined;
3875
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3876
- readonly id: string;
3877
- readonly name: string;
3878
- readonly parent?: string | null | undefined;
3879
- }, 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>;
3880
- readonly updateFolder: <WithResponse extends boolean = false>(request: {
3881
- readonly path: {
3882
- readonly id: string;
3883
- };
3884
- readonly payload: import("node_modules/@withstudiocms/api-spec/dist/rest-api/schemas.d.mts").FolderBase;
3885
- readonly withResponse?: WithResponse | undefined;
3886
- }) => Effect.Effect<WithResponse extends true ? [{
3887
- readonly message: string;
3888
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3889
- readonly message: string;
3890
- }, 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>;
3891
- readonly getFolders: <WithResponse extends boolean = false>(request: {
3892
- readonly urlParams: {
3893
- readonly name?: string | undefined;
3894
- readonly parent?: string | undefined;
3895
- };
3896
- readonly withResponse?: WithResponse | undefined;
3897
- }) => Effect.Effect<WithResponse extends true ? [readonly {
3898
- readonly id: string;
3899
- readonly name: string;
3900
- readonly parent?: string | null | undefined;
3901
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3902
- readonly id: string;
3903
- readonly name: string;
3904
- readonly parent?: string | null | undefined;
3905
3995
  }[], 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>;
3906
- readonly createFolder: <WithResponse extends boolean = false>(request: {
3996
+ readonly createCategory: <WithResponse extends boolean = false>(request: {
3907
3997
  readonly payload: {
3908
3998
  readonly name: string;
3909
- readonly parent?: string | null | undefined;
3999
+ readonly description: string;
4000
+ readonly parent?: number | null | undefined;
4001
+ readonly slug: string;
4002
+ readonly meta: string;
3910
4003
  };
3911
4004
  readonly withResponse?: WithResponse | undefined;
3912
4005
  }) => Effect.Effect<WithResponse extends true ? [{
3913
- readonly message: string;
4006
+ readonly id: number;
4007
+ readonly name: string;
4008
+ readonly description: string;
4009
+ readonly parent?: number | null | undefined;
4010
+ readonly slug: string;
4011
+ readonly meta: {
4012
+ readonly [x: string]: unknown;
4013
+ };
3914
4014
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3915
- readonly message: string;
4015
+ readonly id: number;
4016
+ readonly name: string;
4017
+ readonly description: string;
4018
+ readonly parent?: number | null | undefined;
4019
+ readonly slug: string;
4020
+ readonly meta: {
4021
+ readonly [x: string]: unknown;
4022
+ };
3916
4023
  }, 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>;
3917
4024
  readonly deletePage: <WithResponse extends boolean = false>(request: {
3918
4025
  readonly path: {
@@ -3933,30 +4040,30 @@ 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;
4047
+ readonly slug: string;
3940
4048
  readonly package: string;
3941
4049
  readonly showOnNav: boolean;
3942
4050
  readonly publishedAt: Date;
3943
- readonly slug: string;
3944
4051
  readonly contentLang: string;
3945
4052
  readonly heroImage?: string | null | undefined;
3946
4053
  readonly categories: readonly {
3947
- readonly description: string;
3948
4054
  readonly id: number;
3949
4055
  readonly name: string;
4056
+ readonly description: string;
4057
+ readonly parent?: number | null | undefined;
3950
4058
  readonly slug: string;
3951
4059
  readonly meta: {
3952
4060
  readonly [x: string]: unknown;
3953
4061
  };
3954
- readonly parent?: number | null | undefined;
3955
4062
  }[];
3956
4063
  readonly tags: readonly {
3957
- readonly description: string;
3958
4064
  readonly id: number;
3959
4065
  readonly name: string;
4066
+ readonly description: string;
3960
4067
  readonly slug: string;
3961
4068
  readonly meta: {
3962
4069
  readonly [x: string]: unknown;
@@ -3971,15 +4078,15 @@ export declare const apiClients: {
3971
4078
  readonly augments: readonly string[];
3972
4079
  readonly multiLangContent: readonly {
3973
4080
  readonly id: string;
3974
- readonly content: string;
3975
4081
  readonly contentLang: string;
3976
4082
  readonly contentId: string;
4083
+ readonly content: string;
3977
4084
  }[];
3978
4085
  readonly defaultContent: {
3979
4086
  readonly id: string;
3980
- readonly content: string;
3981
4087
  readonly contentLang: string;
3982
4088
  readonly contentId: string;
4089
+ readonly content: string;
3983
4090
  } | undefined;
3984
4091
  readonly urlRoute: string;
3985
4092
  readonly authorData: {
@@ -4005,30 +4112,30 @@ 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;
4119
+ readonly slug: string;
4012
4120
  readonly package: string;
4013
4121
  readonly showOnNav: boolean;
4014
4122
  readonly publishedAt: Date;
4015
- readonly slug: string;
4016
4123
  readonly contentLang: string;
4017
4124
  readonly heroImage?: string | null | undefined;
4018
4125
  readonly categories: readonly {
4019
- readonly description: string;
4020
4126
  readonly id: number;
4021
4127
  readonly name: string;
4128
+ readonly description: string;
4129
+ readonly parent?: number | null | undefined;
4022
4130
  readonly slug: string;
4023
4131
  readonly meta: {
4024
4132
  readonly [x: string]: unknown;
4025
4133
  };
4026
- readonly parent?: number | null | undefined;
4027
4134
  }[];
4028
4135
  readonly tags: readonly {
4029
- readonly description: string;
4030
4136
  readonly id: number;
4031
4137
  readonly name: string;
4138
+ readonly description: string;
4032
4139
  readonly slug: string;
4033
4140
  readonly meta: {
4034
4141
  readonly [x: string]: unknown;
@@ -4043,15 +4150,15 @@ export declare const apiClients: {
4043
4150
  readonly augments: readonly string[];
4044
4151
  readonly multiLangContent: readonly {
4045
4152
  readonly id: string;
4046
- readonly content: string;
4047
4153
  readonly contentLang: string;
4048
4154
  readonly contentId: string;
4155
+ readonly content: string;
4049
4156
  }[];
4050
4157
  readonly defaultContent: {
4051
4158
  readonly id: string;
4052
- readonly content: string;
4053
4159
  readonly contentLang: string;
4054
4160
  readonly contentId: string;
4161
+ readonly content: string;
4055
4162
  } | undefined;
4056
4163
  readonly urlRoute: string;
4057
4164
  readonly authorData: {
@@ -4092,14 +4199,14 @@ 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 slug: string;
4099
4207
  readonly package: string;
4100
4208
  readonly showOnNav: boolean;
4101
4209
  readonly publishedAt: Date;
4102
- readonly slug: string;
4103
4210
  readonly contentLang: string;
4104
4211
  readonly heroImage?: string | null | undefined;
4105
4212
  readonly categories: readonly string[];
@@ -4113,14 +4220,14 @@ export declare const apiClients: {
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 slug: string;
4120
4228
  readonly package: string;
4121
4229
  readonly showOnNav: boolean;
4122
4230
  readonly publishedAt: Date;
4123
- readonly slug: string;
4124
4231
  readonly contentLang: string;
4125
4232
  readonly heroImage?: string | null | undefined;
4126
4233
  readonly categories: readonly string[];
@@ -4143,14 +4250,14 @@ 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 slug: string;
4150
4258
  readonly package: string;
4151
4259
  readonly showOnNav: boolean;
4152
4260
  readonly publishedAt: Date;
4153
- readonly slug: string;
4154
4261
  readonly contentLang: string;
4155
4262
  readonly heroImage?: string | null | undefined;
4156
4263
  readonly categories: readonly string[];
@@ -4164,14 +4271,14 @@ export declare const apiClients: {
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 slug: string;
4171
4279
  readonly package: string;
4172
4280
  readonly showOnNav: boolean;
4173
4281
  readonly publishedAt: Date;
4174
- readonly slug: string;
4175
4282
  readonly contentLang: string;
4176
4283
  readonly heroImage?: string | null | undefined;
4177
4284
  readonly categories: readonly string[];
@@ -4203,14 +4310,14 @@ 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 slug: string;
4210
4318
  readonly package: string;
4211
4319
  readonly showOnNav: boolean;
4212
4320
  readonly publishedAt: Date;
4213
- readonly slug: string;
4214
4321
  readonly contentLang: string;
4215
4322
  readonly heroImage?: string | null | undefined;
4216
4323
  readonly categories: readonly string[];
@@ -4224,14 +4331,14 @@ export declare const apiClients: {
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 slug: string;
4231
4339
  readonly package: string;
4232
4340
  readonly showOnNav: boolean;
4233
4341
  readonly publishedAt: Date;
4234
- readonly slug: string;
4235
4342
  readonly contentLang: string;
4236
4343
  readonly heroImage?: string | null | undefined;
4237
4344
  readonly categories: readonly string[];
@@ -4254,14 +4361,14 @@ 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 slug: string;
4261
4369
  readonly package: string;
4262
4370
  readonly showOnNav: boolean;
4263
4371
  readonly publishedAt: Date;
4264
- readonly slug: string;
4265
4372
  readonly contentLang: string;
4266
4373
  readonly heroImage?: string | null | undefined;
4267
4374
  readonly categories: readonly string[];
@@ -4275,14 +4382,14 @@ export declare const apiClients: {
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 slug: string;
4282
4390
  readonly package: string;
4283
4391
  readonly showOnNav: boolean;
4284
4392
  readonly publishedAt: Date;
4285
- readonly slug: string;
4286
4393
  readonly contentLang: string;
4287
4394
  readonly heroImage?: string | null | undefined;
4288
4395
  readonly categories: readonly string[];
@@ -4303,14 +4410,14 @@ export declare const apiClients: {
4303
4410
  };
4304
4411
  readonly payload: {
4305
4412
  readonly data?: {
4306
- readonly description?: string | undefined;
4307
4413
  readonly id?: string | undefined;
4308
4414
  readonly updatedAt?: Date | undefined;
4415
+ readonly description?: string | undefined;
4309
4416
  readonly title?: string | undefined;
4417
+ readonly slug?: string | undefined;
4310
4418
  readonly package?: string | undefined;
4311
4419
  readonly showOnNav?: boolean | undefined;
4312
4420
  readonly publishedAt?: Date | undefined;
4313
- readonly slug?: string | undefined;
4314
4421
  readonly contentLang?: string | undefined;
4315
4422
  readonly heroImage?: string | null | undefined;
4316
4423
  readonly categories?: readonly string[] | undefined;
@@ -4325,9 +4432,9 @@ export declare const apiClients: {
4325
4432
  } | undefined;
4326
4433
  readonly content?: {
4327
4434
  readonly id?: string | undefined;
4328
- readonly content?: string | undefined;
4329
4435
  readonly contentLang?: string | undefined;
4330
4436
  readonly contentId?: string | undefined;
4437
+ readonly content?: string | undefined;
4331
4438
  } | undefined;
4332
4439
  };
4333
4440
  readonly withResponse?: WithResponse | undefined;
@@ -4347,30 +4454,30 @@ export declare const apiClients: {
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;
4461
+ readonly slug: string;
4354
4462
  readonly package: string;
4355
4463
  readonly showOnNav: boolean;
4356
4464
  readonly publishedAt: Date;
4357
- readonly slug: string;
4358
4465
  readonly contentLang: string;
4359
4466
  readonly heroImage?: string | null | undefined;
4360
4467
  readonly categories: readonly {
4361
- readonly description: string;
4362
4468
  readonly id: number;
4363
4469
  readonly name: string;
4470
+ readonly description: string;
4471
+ readonly parent?: number | null | undefined;
4364
4472
  readonly slug: string;
4365
4473
  readonly meta: {
4366
4474
  readonly [x: string]: unknown;
4367
4475
  };
4368
- readonly parent?: number | null | undefined;
4369
4476
  }[];
4370
4477
  readonly tags: readonly {
4371
- readonly description: string;
4372
4478
  readonly id: number;
4373
4479
  readonly name: string;
4480
+ readonly description: string;
4374
4481
  readonly slug: string;
4375
4482
  readonly meta: {
4376
4483
  readonly [x: string]: unknown;
@@ -4385,15 +4492,15 @@ export declare const apiClients: {
4385
4492
  readonly augments: readonly string[];
4386
4493
  readonly multiLangContent: readonly {
4387
4494
  readonly id: string;
4388
- readonly content: string;
4389
4495
  readonly contentLang: string;
4390
4496
  readonly contentId: string;
4497
+ readonly content: string;
4391
4498
  }[];
4392
4499
  readonly defaultContent: {
4393
4500
  readonly id: string;
4394
- readonly content: string;
4395
4501
  readonly contentLang: string;
4396
4502
  readonly contentId: string;
4503
+ readonly content: string;
4397
4504
  } | undefined;
4398
4505
  readonly urlRoute: string;
4399
4506
  readonly authorData: {
@@ -4419,30 +4526,30 @@ 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;
4533
+ readonly slug: string;
4426
4534
  readonly package: string;
4427
4535
  readonly showOnNav: boolean;
4428
4536
  readonly publishedAt: Date;
4429
- readonly slug: string;
4430
4537
  readonly contentLang: string;
4431
4538
  readonly heroImage?: string | null | undefined;
4432
4539
  readonly categories: readonly {
4433
- readonly description: string;
4434
4540
  readonly id: number;
4435
4541
  readonly name: string;
4542
+ readonly description: string;
4543
+ readonly parent?: number | null | undefined;
4436
4544
  readonly slug: string;
4437
4545
  readonly meta: {
4438
4546
  readonly [x: string]: unknown;
4439
4547
  };
4440
- readonly parent?: number | null | undefined;
4441
4548
  }[];
4442
4549
  readonly tags: readonly {
4443
- readonly description: string;
4444
4550
  readonly id: number;
4445
4551
  readonly name: string;
4552
+ readonly description: string;
4446
4553
  readonly slug: string;
4447
4554
  readonly meta: {
4448
4555
  readonly [x: string]: unknown;
@@ -4457,15 +4564,15 @@ export declare const apiClients: {
4457
4564
  readonly augments: readonly string[];
4458
4565
  readonly multiLangContent: readonly {
4459
4566
  readonly id: string;
4460
- readonly content: string;
4461
4567
  readonly contentLang: string;
4462
4568
  readonly contentId: string;
4569
+ readonly content: string;
4463
4570
  }[];
4464
4571
  readonly defaultContent: {
4465
4572
  readonly id: string;
4466
- readonly content: string;
4467
4573
  readonly contentLang: string;
4468
4574
  readonly contentId: string;
4575
+ readonly content: string;
4469
4576
  } | undefined;
4470
4577
  readonly urlRoute: string;
4471
4578
  readonly authorData: {
@@ -4494,14 +4601,14 @@ export declare const apiClients: {
4494
4601
  readonly createPage: <WithResponse extends boolean = false>(request: {
4495
4602
  readonly payload: {
4496
4603
  readonly data?: {
4497
- readonly description?: string | undefined;
4498
4604
  readonly id?: string | undefined;
4499
4605
  readonly updatedAt?: Date | undefined;
4606
+ readonly description?: string | undefined;
4500
4607
  readonly title?: string | undefined;
4608
+ readonly slug?: string | undefined;
4501
4609
  readonly package?: string | undefined;
4502
4610
  readonly showOnNav?: boolean | undefined;
4503
4611
  readonly publishedAt?: Date | undefined;
4504
- readonly slug?: string | undefined;
4505
4612
  readonly contentLang?: string | undefined;
4506
4613
  readonly heroImage?: string | null | undefined;
4507
4614
  readonly categories?: readonly string[] | undefined;
@@ -4516,9 +4623,9 @@ export declare const apiClients: {
4516
4623
  } | undefined;
4517
4624
  readonly content?: {
4518
4625
  readonly id?: string | undefined;
4519
- readonly content?: string | undefined;
4520
4626
  readonly contentLang?: string | undefined;
4521
4627
  readonly contentId?: string | undefined;
4628
+ readonly content?: string | undefined;
4522
4629
  } | undefined;
4523
4630
  };
4524
4631
  readonly withResponse?: WithResponse | undefined;
@@ -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;