studiocms 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -119,22 +119,22 @@ export declare const dashboardClient: Effect.Effect<{
119
119
  readonly content: {
120
120
  readonly createPage: <WithResponse extends boolean = false>(request: {
121
121
  readonly payload: {
122
- readonly updatedAt?: Date | undefined;
123
122
  readonly description?: string | undefined;
124
- readonly title?: string | undefined;
125
- readonly categories?: readonly string[] | undefined;
126
123
  readonly slug?: string | undefined;
127
- readonly parentFolder?: string | null | undefined;
124
+ readonly tags?: readonly string[] | undefined;
125
+ readonly categories?: readonly string[] | undefined;
126
+ readonly title?: string | undefined;
127
+ readonly updatedAt?: Date | undefined;
128
128
  readonly package?: string | undefined;
129
129
  readonly showOnNav?: boolean | undefined;
130
130
  readonly publishedAt?: Date | undefined;
131
131
  readonly contentLang?: string | undefined;
132
132
  readonly heroImage?: string | null | undefined;
133
- readonly tags?: readonly string[] | undefined;
134
133
  readonly authorId?: string | undefined;
135
134
  readonly contributorIds?: readonly string[] | undefined;
136
135
  readonly showAuthor?: boolean | undefined;
137
136
  readonly showContributors?: boolean | undefined;
137
+ readonly parentFolder?: string | null | undefined;
138
138
  readonly draft?: boolean | undefined;
139
139
  readonly augments?: readonly string[] | undefined;
140
140
  };
@@ -146,27 +146,27 @@ 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 id: string;
150
- readonly updatedAt?: Date | undefined;
151
149
  readonly description?: string | undefined;
152
- readonly title?: string | undefined;
153
- readonly categories?: readonly string[] | undefined;
150
+ readonly id: string;
154
151
  readonly slug?: string | undefined;
155
- readonly parentFolder?: string | null | undefined;
152
+ readonly tags?: readonly string[] | undefined;
153
+ readonly categories?: readonly string[] | undefined;
154
+ readonly title?: string | undefined;
155
+ readonly updatedAt?: Date | undefined;
156
+ readonly content: string;
156
157
  readonly package?: string | undefined;
157
158
  readonly showOnNav?: boolean | undefined;
158
159
  readonly publishedAt?: Date | undefined;
159
160
  readonly contentLang?: string | undefined;
160
161
  readonly heroImage?: string | null | undefined;
161
- readonly tags?: readonly string[] | undefined;
162
162
  readonly authorId?: string | undefined;
163
163
  readonly contributorIds?: readonly string[] | undefined;
164
164
  readonly showAuthor?: boolean | undefined;
165
165
  readonly showContributors?: boolean | undefined;
166
+ readonly parentFolder?: string | null | undefined;
166
167
  readonly draft?: boolean | undefined;
167
168
  readonly augments?: readonly string[] | undefined;
168
169
  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 displayname: string;
304
303
  readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
304
+ readonly displayname: string;
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 displayname: string;
319
318
  readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
319
+ readonly displayname: string;
320
320
  readonly originalUrl: string;
321
321
  };
322
322
  readonly withResponse?: WithResponse | undefined;
@@ -359,9 +359,10 @@ 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";
362
363
  readonly data: {
363
- readonly url?: string | null | undefined;
364
364
  readonly name: string;
365
+ readonly url?: string | null | undefined;
365
366
  readonly email?: string | null | undefined;
366
367
  readonly avatar?: string | null | undefined;
367
368
  readonly username: string;
@@ -371,17 +372,16 @@ export declare const dashboardClient: Effect.Effect<{
371
372
  readonly emailVerified: boolean;
372
373
  readonly notifications?: string | null | undefined;
373
374
  };
374
- readonly mode: "basic";
375
375
  };
376
376
  readonly withResponse?: WithResponse | undefined;
377
377
  } | {
378
378
  readonly payload: {
379
+ readonly mode: "password";
379
380
  readonly data: {
380
381
  readonly currentPassword: string | null;
381
382
  readonly newPassword: string;
382
383
  readonly confirmNewPassword: string;
383
384
  };
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 type: "folder" | "page";
421
420
  readonly slug?: string | undefined;
421
+ readonly type: "folder" | "page";
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 type: "folder" | "page";
427
426
  readonly slug?: string | undefined;
427
+ readonly type: "folder" | "page";
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";
434
436
  readonly id: number;
435
437
  readonly name: string;
436
- readonly description: string;
437
- readonly type: "tags";
438
438
  readonly slug: string;
439
439
  readonly meta: {
440
440
  readonly [x: string]: unknown;
441
441
  };
442
- readonly mode: "create" | "edit";
442
+ readonly type: "tags";
443
443
  };
444
444
  readonly withResponse?: WithResponse | undefined;
445
445
  } | {
446
446
  readonly payload: {
447
+ readonly description: string;
448
+ readonly mode: "create" | "edit";
447
449
  readonly id: number;
448
450
  readonly name: string;
449
- readonly description: string;
450
- readonly type: "categories";
451
- readonly parent?: number | null | undefined;
452
451
  readonly slug: string;
453
452
  readonly meta: {
454
453
  readonly [x: string]: unknown;
455
454
  };
456
- readonly mode: "create" | "edit";
455
+ readonly type: "categories";
456
+ readonly parent?: number | null | undefined;
457
457
  };
458
458
  readonly withResponse?: WithResponse | undefined;
459
459
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -464,7 +464,7 @@ export declare const dashboardClient: Effect.Effect<{
464
464
  readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
465
465
  readonly payload: {
466
466
  readonly id: number;
467
- readonly type: "categories" | "tags";
467
+ readonly type: "tags" | "categories";
468
468
  };
469
469
  readonly withResponse?: WithResponse | undefined;
470
470
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -475,26 +475,26 @@ export declare const dashboardClient: Effect.Effect<{
475
475
  readonly taxonomySearch: <WithResponse extends boolean = false>(request: void | {
476
476
  readonly withResponse?: WithResponse | undefined;
477
477
  }) => Effect.Effect<WithResponse extends true ? [readonly {
478
+ readonly description: string;
478
479
  readonly id: number;
479
480
  readonly name: string;
480
- readonly description: string;
481
- readonly type: "tag" | "category";
482
- readonly parent: number | null | undefined;
483
481
  readonly slug: string;
484
482
  readonly meta: {
485
483
  readonly [x: string]: unknown;
486
484
  };
485
+ readonly type: "tag" | "category";
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;
489
490
  readonly id: number;
490
491
  readonly name: string;
491
- readonly description: string;
492
- readonly type: "tag" | "category";
493
- readonly parent: number | null | undefined;
494
492
  readonly slug: string;
495
493
  readonly meta: {
496
494
  readonly [x: string]: unknown;
497
495
  };
496
+ readonly type: "tag" | "category";
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
  };
@@ -548,6 +548,23 @@ 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 resendVerifyEmail: <WithResponse extends boolean = false>(request: {
552
+ readonly payload: {
553
+ readonly userId: string;
554
+ };
555
+ readonly withResponse?: WithResponse | undefined;
556
+ }) => Effect.Effect<WithResponse extends true ? [{
557
+ readonly message: string;
558
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
559
+ readonly message: string;
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>;
551
568
  readonly verifySession: <WithResponse extends boolean = false>(request: {
552
569
  readonly payload: {
553
570
  readonly originPathname: string;
@@ -586,23 +603,6 @@ export declare const dashboardClient: Effect.Effect<{
586
603
  readonly dashboardIndex: string;
587
604
  };
588
605
  }, 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>;
589
- readonly verifyEmail: <WithResponse extends boolean = false>(request: {
590
- readonly urlParams: {
591
- readonly token: string;
592
- readonly userId: string;
593
- };
594
- readonly withResponse?: WithResponse | undefined;
595
- }) => 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>;
596
- readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
597
- readonly payload: {
598
- readonly userId: string;
599
- };
600
- readonly withResponse?: WithResponse | undefined;
601
- }) => Effect.Effect<WithResponse extends true ? [{
602
- readonly message: string;
603
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
604
- readonly message: string;
605
- }, 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>;
606
606
  };
607
607
  }, never, never>;
608
608
  /**
@@ -668,8 +668,8 @@ export declare const integrationsClient: Effect.Effect<{
668
668
  }[];
669
669
  } | {
670
670
  readonly id: number;
671
- readonly error: string;
672
671
  readonly type: "query" | "transaction";
672
+ readonly error: string;
673
673
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
674
674
  readonly id: number;
675
675
  readonly type: "query";
@@ -714,15 +714,15 @@ export declare const integrationsClient: Effect.Effect<{
714
714
  }[];
715
715
  } | {
716
716
  readonly id: number;
717
- readonly error: string;
718
717
  readonly type: "query" | "transaction";
718
+ readonly error: string;
719
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 action: "resolveUrl";
725
724
  readonly identifier: `storage-file://${string}`;
725
+ readonly action: "resolveUrl";
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 contentType: string;
738
737
  readonly action: "upload";
738
+ readonly contentType: string;
739
739
  };
740
740
  readonly withResponse?: WithResponse | undefined;
741
741
  } | {
@@ -784,13 +784,13 @@ export declare const integrationsClient: Effect.Effect<{
784
784
  readonly isPermanent: boolean;
785
785
  readonly expiresAt?: number | undefined;
786
786
  } | {
787
- readonly url: string;
788
787
  readonly identifier: `storage-file://${string}`;
788
+ readonly url: string;
789
789
  readonly isPermanent: boolean;
790
790
  readonly expiresAt?: number | undefined;
791
791
  } | {
792
- readonly url: string;
793
792
  readonly key: string;
793
+ readonly url: string;
794
794
  } | {
795
795
  readonly files: readonly {
796
796
  readonly key?: string | undefined;
@@ -813,21 +813,21 @@ export declare const integrationsClient: Effect.Effect<{
813
813
  readonly expiresAt?: number | undefined;
814
814
  }[];
815
815
  } | {
816
- readonly success: boolean;
817
816
  readonly message: string;
818
817
  readonly provider: string;
818
+ readonly success: boolean;
819
819
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
820
820
  readonly url: string;
821
821
  readonly isPermanent: boolean;
822
822
  readonly expiresAt?: number | undefined;
823
823
  } | {
824
- readonly url: string;
825
824
  readonly identifier: `storage-file://${string}`;
825
+ readonly url: string;
826
826
  readonly isPermanent: boolean;
827
827
  readonly expiresAt?: number | undefined;
828
828
  } | {
829
- readonly url: string;
830
829
  readonly key: string;
830
+ readonly url: string;
831
831
  } | {
832
832
  readonly files: readonly {
833
833
  readonly key?: string | undefined;
@@ -850,9 +850,9 @@ export declare const integrationsClient: Effect.Effect<{
850
850
  readonly expiresAt?: number | undefined;
851
851
  }[];
852
852
  } | {
853
- readonly success: boolean;
854
853
  readonly message: string;
855
854
  readonly provider: string;
855
+ readonly success: boolean;
856
856
  }, 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/HttpClientError").HttpClientError, never>;
857
857
  readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
858
858
  readonly headers: {
@@ -861,11 +861,11 @@ export declare const integrationsClient: Effect.Effect<{
861
861
  readonly payload: Uint8Array<ArrayBufferLike>;
862
862
  readonly withResponse?: WithResponse | undefined;
863
863
  }) => Effect.Effect<WithResponse extends true ? [{
864
- readonly key: string;
865
864
  readonly message: string;
866
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
867
865
  readonly key: string;
866
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
868
867
  readonly message: string;
868
+ readonly key: string;
869
869
  }, 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/HttpClientError").HttpClientError, never>;
870
870
  };
871
871
  }, never, never>;
@@ -881,23 +881,23 @@ export declare const restClient: Effect.Effect<{
881
881
  };
882
882
  readonly withResponse?: WithResponse | undefined;
883
883
  }) => Effect.Effect<WithResponse extends true ? [readonly {
884
+ readonly description: string;
884
885
  readonly id: number;
885
886
  readonly name: string;
886
- readonly description: string;
887
- readonly parent?: number | null | undefined;
888
887
  readonly slug: string;
889
888
  readonly meta: {
890
889
  readonly [x: string]: unknown;
891
890
  };
891
+ readonly parent?: number | null | undefined;
892
892
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
893
+ readonly description: string;
893
894
  readonly id: number;
894
895
  readonly name: string;
895
- readonly description: string;
896
- readonly parent?: number | null | undefined;
897
896
  readonly slug: string;
898
897
  readonly meta: {
899
898
  readonly [x: string]: unknown;
900
899
  };
900
+ readonly parent?: number | null | undefined;
901
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
902
  readonly getCategory: <WithResponse extends boolean = false>(request: {
903
903
  readonly path: {
@@ -905,23 +905,23 @@ export declare const restClient: Effect.Effect<{
905
905
  };
906
906
  readonly withResponse?: WithResponse | undefined;
907
907
  }) => Effect.Effect<WithResponse extends true ? [{
908
+ readonly description: string;
908
909
  readonly id: number;
909
910
  readonly name: string;
910
- readonly description: string;
911
- readonly parent?: number | null | undefined;
912
911
  readonly slug: string;
913
912
  readonly meta: {
914
913
  readonly [x: string]: unknown;
915
914
  };
915
+ readonly parent?: number | null | undefined;
916
916
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
917
+ readonly description: string;
917
918
  readonly id: number;
918
919
  readonly name: string;
919
- readonly description: string;
920
- readonly parent?: number | null | undefined;
921
920
  readonly slug: string;
922
921
  readonly meta: {
923
922
  readonly [x: string]: unknown;
924
923
  };
924
+ readonly parent?: number | null | undefined;
925
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
926
  readonly getFolders: <WithResponse extends boolean = false>(request: {
927
927
  readonly urlParams: {
@@ -954,66 +954,66 @@ export declare const restClient: Effect.Effect<{
954
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>;
955
955
  readonly getPages: <WithResponse extends boolean = false>(request: {
956
956
  readonly urlParams: {
957
- readonly title?: string | undefined;
958
957
  readonly slug?: string | undefined;
959
- readonly author?: string | undefined;
958
+ readonly title?: string | undefined;
960
959
  readonly parentFolder?: string | undefined;
960
+ readonly author?: string | undefined;
961
961
  };
962
962
  readonly withResponse?: WithResponse | undefined;
963
963
  }) => Effect.Effect<WithResponse extends true ? [readonly {
964
- readonly id: string;
965
- readonly updatedAt: Date;
966
964
  readonly description: string;
967
- readonly title: string;
968
- readonly categories: readonly {
965
+ readonly id: string;
966
+ readonly slug: string;
967
+ readonly tags: readonly {
968
+ readonly description: string;
969
969
  readonly id: number;
970
970
  readonly name: string;
971
- readonly description: string;
972
- readonly parent?: number | null | undefined;
973
971
  readonly slug: string;
974
972
  readonly meta: {
975
973
  readonly [x: string]: unknown;
976
974
  };
977
975
  }[];
978
- readonly slug: string;
979
- readonly parentFolder?: string | null | undefined;
980
- readonly package: string;
981
- readonly showOnNav: boolean;
982
- readonly publishedAt: Date;
983
- readonly contentLang: string;
984
- readonly heroImage?: string | null | undefined;
985
- readonly tags: readonly {
976
+ readonly categories: readonly {
977
+ readonly description: string;
986
978
  readonly id: number;
987
979
  readonly name: string;
988
- readonly description: string;
989
980
  readonly slug: string;
990
981
  readonly meta: {
991
982
  readonly [x: string]: unknown;
992
983
  };
984
+ readonly parent?: number | null | undefined;
993
985
  }[];
986
+ readonly title: string;
987
+ readonly updatedAt: Date;
988
+ readonly package: string;
989
+ readonly showOnNav: boolean;
990
+ readonly publishedAt: Date;
991
+ readonly contentLang: string;
992
+ readonly heroImage?: string | null | undefined;
994
993
  readonly authorId: string;
995
994
  readonly contributorIds: readonly string[];
996
995
  readonly showAuthor: boolean;
997
996
  readonly showContributors: boolean;
997
+ readonly parentFolder?: string | null | undefined;
998
998
  readonly draft: boolean;
999
999
  readonly augments: readonly string[];
1000
1000
  readonly multiLangContent: readonly {
1001
1001
  readonly id: string;
1002
+ readonly content: string;
1002
1003
  readonly contentLang: string;
1003
1004
  readonly contentId: string;
1004
- readonly content: string;
1005
1005
  }[];
1006
1006
  readonly defaultContent: {
1007
1007
  readonly id: string;
1008
+ readonly content: string;
1008
1009
  readonly contentLang: string;
1009
1010
  readonly contentId: string;
1010
- readonly content: string;
1011
1011
  } | undefined;
1012
1012
  readonly urlRoute: string;
1013
1013
  readonly authorData: {
1014
1014
  readonly id: string;
1015
- readonly url?: string | null | undefined;
1016
1015
  readonly name: string;
1016
+ readonly url?: string | null | undefined;
1017
1017
  readonly avatar?: string | null | undefined;
1018
1018
  readonly username: string;
1019
1019
  readonly updatedAt: Date;
@@ -1023,8 +1023,8 @@ export declare const restClient: Effect.Effect<{
1023
1023
  } | undefined;
1024
1024
  readonly contributorsData: readonly {
1025
1025
  readonly id: string;
1026
- readonly url?: string | null | undefined;
1027
1026
  readonly name: string;
1027
+ readonly url?: string | null | undefined;
1028
1028
  readonly avatar?: string | null | undefined;
1029
1029
  readonly username: string;
1030
1030
  readonly updatedAt: Date;
@@ -1033,59 +1033,59 @@ export declare const restClient: Effect.Effect<{
1033
1033
  readonly notifications?: string | null | undefined;
1034
1034
  }[];
1035
1035
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1036
- readonly id: string;
1037
- readonly updatedAt: Date;
1038
1036
  readonly description: string;
1039
- readonly title: string;
1040
- readonly categories: readonly {
1037
+ readonly id: string;
1038
+ readonly slug: string;
1039
+ readonly tags: readonly {
1040
+ readonly description: string;
1041
1041
  readonly id: number;
1042
1042
  readonly name: string;
1043
- readonly description: string;
1044
- readonly parent?: number | null | undefined;
1045
1043
  readonly slug: string;
1046
1044
  readonly meta: {
1047
1045
  readonly [x: string]: unknown;
1048
1046
  };
1049
1047
  }[];
1050
- readonly slug: string;
1051
- readonly parentFolder?: string | null | undefined;
1052
- readonly package: string;
1053
- readonly showOnNav: boolean;
1054
- readonly publishedAt: Date;
1055
- readonly contentLang: string;
1056
- readonly heroImage?: string | null | undefined;
1057
- readonly tags: readonly {
1048
+ readonly categories: readonly {
1049
+ readonly description: string;
1058
1050
  readonly id: number;
1059
1051
  readonly name: string;
1060
- readonly description: string;
1061
1052
  readonly slug: string;
1062
1053
  readonly meta: {
1063
1054
  readonly [x: string]: unknown;
1064
1055
  };
1056
+ readonly parent?: number | null | undefined;
1065
1057
  }[];
1058
+ readonly title: string;
1059
+ readonly updatedAt: Date;
1060
+ readonly package: string;
1061
+ readonly showOnNav: boolean;
1062
+ readonly publishedAt: Date;
1063
+ readonly contentLang: string;
1064
+ readonly heroImage?: string | null | undefined;
1066
1065
  readonly authorId: string;
1067
1066
  readonly contributorIds: readonly string[];
1068
1067
  readonly showAuthor: boolean;
1069
1068
  readonly showContributors: boolean;
1069
+ readonly parentFolder?: string | null | undefined;
1070
1070
  readonly draft: boolean;
1071
1071
  readonly augments: readonly string[];
1072
1072
  readonly multiLangContent: readonly {
1073
1073
  readonly id: string;
1074
+ readonly content: string;
1074
1075
  readonly contentLang: string;
1075
1076
  readonly contentId: string;
1076
- readonly content: string;
1077
1077
  }[];
1078
1078
  readonly defaultContent: {
1079
1079
  readonly id: string;
1080
+ readonly content: string;
1080
1081
  readonly contentLang: string;
1081
1082
  readonly contentId: string;
1082
- readonly content: string;
1083
1083
  } | undefined;
1084
1084
  readonly urlRoute: string;
1085
1085
  readonly authorData: {
1086
1086
  readonly id: string;
1087
- readonly url?: string | null | undefined;
1088
1087
  readonly name: string;
1088
+ readonly url?: string | null | undefined;
1089
1089
  readonly avatar?: string | null | undefined;
1090
1090
  readonly username: string;
1091
1091
  readonly updatedAt: Date;
@@ -1095,8 +1095,8 @@ export declare const restClient: Effect.Effect<{
1095
1095
  } | undefined;
1096
1096
  readonly contributorsData: readonly {
1097
1097
  readonly id: string;
1098
- readonly url?: string | null | undefined;
1099
1098
  readonly name: string;
1099
+ readonly url?: string | null | undefined;
1100
1100
  readonly avatar?: string | null | undefined;
1101
1101
  readonly username: string;
1102
1102
  readonly updatedAt: Date;
@@ -1111,59 +1111,59 @@ export declare const restClient: Effect.Effect<{
1111
1111
  };
1112
1112
  readonly withResponse?: WithResponse | undefined;
1113
1113
  }) => Effect.Effect<WithResponse extends true ? [{
1114
- readonly id: string;
1115
- readonly updatedAt: Date;
1116
1114
  readonly description: string;
1117
- readonly title: string;
1118
- readonly categories: readonly {
1115
+ readonly id: string;
1116
+ readonly slug: string;
1117
+ readonly tags: readonly {
1118
+ readonly description: string;
1119
1119
  readonly id: number;
1120
1120
  readonly name: string;
1121
- readonly description: string;
1122
- readonly parent?: number | null | undefined;
1123
1121
  readonly slug: string;
1124
1122
  readonly meta: {
1125
1123
  readonly [x: string]: unknown;
1126
1124
  };
1127
1125
  }[];
1128
- readonly slug: string;
1129
- readonly parentFolder?: string | null | undefined;
1130
- readonly package: string;
1131
- readonly showOnNav: boolean;
1132
- readonly publishedAt: Date;
1133
- readonly contentLang: string;
1134
- readonly heroImage?: string | null | undefined;
1135
- readonly tags: readonly {
1126
+ readonly categories: readonly {
1127
+ readonly description: string;
1136
1128
  readonly id: number;
1137
1129
  readonly name: string;
1138
- readonly description: string;
1139
1130
  readonly slug: string;
1140
1131
  readonly meta: {
1141
1132
  readonly [x: string]: unknown;
1142
1133
  };
1134
+ readonly parent?: number | null | undefined;
1143
1135
  }[];
1136
+ readonly title: string;
1137
+ readonly updatedAt: Date;
1138
+ readonly package: string;
1139
+ readonly showOnNav: boolean;
1140
+ readonly publishedAt: Date;
1141
+ readonly contentLang: string;
1142
+ readonly heroImage?: string | null | undefined;
1144
1143
  readonly authorId: string;
1145
1144
  readonly contributorIds: readonly string[];
1146
1145
  readonly showAuthor: boolean;
1147
1146
  readonly showContributors: boolean;
1147
+ readonly parentFolder?: string | null | undefined;
1148
1148
  readonly draft: boolean;
1149
1149
  readonly augments: readonly string[];
1150
1150
  readonly multiLangContent: readonly {
1151
1151
  readonly id: string;
1152
+ readonly content: string;
1152
1153
  readonly contentLang: string;
1153
1154
  readonly contentId: string;
1154
- readonly content: string;
1155
1155
  }[];
1156
1156
  readonly defaultContent: {
1157
1157
  readonly id: string;
1158
+ readonly content: string;
1158
1159
  readonly contentLang: string;
1159
1160
  readonly contentId: string;
1160
- readonly content: string;
1161
1161
  } | undefined;
1162
1162
  readonly urlRoute: string;
1163
1163
  readonly authorData: {
1164
1164
  readonly id: string;
1165
- readonly url?: string | null | undefined;
1166
1165
  readonly name: string;
1166
+ readonly url?: string | null | undefined;
1167
1167
  readonly avatar?: string | null | undefined;
1168
1168
  readonly username: string;
1169
1169
  readonly updatedAt: Date;
@@ -1173,8 +1173,8 @@ export declare const restClient: Effect.Effect<{
1173
1173
  } | undefined;
1174
1174
  readonly contributorsData: readonly {
1175
1175
  readonly id: string;
1176
- readonly url?: string | null | undefined;
1177
1176
  readonly name: string;
1177
+ readonly url?: string | null | undefined;
1178
1178
  readonly avatar?: string | null | undefined;
1179
1179
  readonly username: string;
1180
1180
  readonly updatedAt: Date;
@@ -1183,59 +1183,59 @@ export declare const restClient: Effect.Effect<{
1183
1183
  readonly notifications?: string | null | undefined;
1184
1184
  }[];
1185
1185
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1186
- readonly id: string;
1187
- readonly updatedAt: Date;
1188
1186
  readonly description: string;
1189
- readonly title: string;
1190
- readonly categories: readonly {
1187
+ readonly id: string;
1188
+ readonly slug: string;
1189
+ readonly tags: readonly {
1190
+ readonly description: string;
1191
1191
  readonly id: number;
1192
1192
  readonly name: string;
1193
- readonly description: string;
1194
- readonly parent?: number | null | undefined;
1195
1193
  readonly slug: string;
1196
1194
  readonly meta: {
1197
1195
  readonly [x: string]: unknown;
1198
1196
  };
1199
1197
  }[];
1200
- readonly slug: string;
1201
- readonly parentFolder?: string | null | undefined;
1202
- readonly package: string;
1203
- readonly showOnNav: boolean;
1204
- readonly publishedAt: Date;
1205
- readonly contentLang: string;
1206
- readonly heroImage?: string | null | undefined;
1207
- readonly tags: readonly {
1198
+ readonly categories: readonly {
1199
+ readonly description: string;
1208
1200
  readonly id: number;
1209
1201
  readonly name: string;
1210
- readonly description: string;
1211
1202
  readonly slug: string;
1212
1203
  readonly meta: {
1213
1204
  readonly [x: string]: unknown;
1214
1205
  };
1206
+ readonly parent?: number | null | undefined;
1215
1207
  }[];
1208
+ readonly title: string;
1209
+ readonly updatedAt: Date;
1210
+ readonly package: string;
1211
+ readonly showOnNav: boolean;
1212
+ readonly publishedAt: Date;
1213
+ readonly contentLang: string;
1214
+ readonly heroImage?: string | null | undefined;
1216
1215
  readonly authorId: string;
1217
1216
  readonly contributorIds: readonly string[];
1218
1217
  readonly showAuthor: boolean;
1219
1218
  readonly showContributors: boolean;
1219
+ readonly parentFolder?: string | null | undefined;
1220
1220
  readonly draft: boolean;
1221
1221
  readonly augments: readonly string[];
1222
1222
  readonly multiLangContent: readonly {
1223
1223
  readonly id: string;
1224
+ readonly content: string;
1224
1225
  readonly contentLang: string;
1225
1226
  readonly contentId: string;
1226
- readonly content: string;
1227
1227
  }[];
1228
1228
  readonly defaultContent: {
1229
1229
  readonly id: string;
1230
+ readonly content: string;
1230
1231
  readonly contentLang: string;
1231
1232
  readonly contentId: string;
1232
- readonly content: string;
1233
1233
  } | undefined;
1234
1234
  readonly urlRoute: string;
1235
1235
  readonly authorData: {
1236
1236
  readonly id: string;
1237
- readonly url?: string | null | undefined;
1238
1237
  readonly name: string;
1238
+ readonly url?: string | null | undefined;
1239
1239
  readonly avatar?: string | null | undefined;
1240
1240
  readonly username: string;
1241
1241
  readonly updatedAt: Date;
@@ -1245,8 +1245,8 @@ export declare const restClient: Effect.Effect<{
1245
1245
  } | undefined;
1246
1246
  readonly contributorsData: readonly {
1247
1247
  readonly id: string;
1248
- readonly url?: string | null | undefined;
1249
1248
  readonly name: string;
1249
+ readonly url?: string | null | undefined;
1250
1250
  readonly avatar?: string | null | undefined;
1251
1251
  readonly username: string;
1252
1252
  readonly updatedAt: Date;
@@ -1261,17 +1261,17 @@ export declare const restClient: Effect.Effect<{
1261
1261
  };
1262
1262
  readonly withResponse?: WithResponse | undefined;
1263
1263
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1264
+ readonly description: string;
1264
1265
  readonly id: number;
1265
1266
  readonly name: string;
1266
- readonly description: string;
1267
1267
  readonly slug: string;
1268
1268
  readonly meta: {
1269
1269
  readonly [x: string]: unknown;
1270
1270
  };
1271
1271
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1272
+ readonly description: string;
1272
1273
  readonly id: number;
1273
1274
  readonly name: string;
1274
- readonly description: string;
1275
1275
  readonly slug: string;
1276
1276
  readonly meta: {
1277
1277
  readonly [x: string]: unknown;
@@ -1283,17 +1283,17 @@ export declare const restClient: Effect.Effect<{
1283
1283
  };
1284
1284
  readonly withResponse?: WithResponse | undefined;
1285
1285
  }) => Effect.Effect<WithResponse extends true ? [{
1286
+ readonly description: string;
1286
1287
  readonly id: number;
1287
1288
  readonly name: string;
1288
- readonly description: string;
1289
1289
  readonly slug: string;
1290
1290
  readonly meta: {
1291
1291
  readonly [x: string]: unknown;
1292
1292
  };
1293
1293
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1294
+ readonly description: string;
1294
1295
  readonly id: number;
1295
1296
  readonly name: string;
1296
- readonly description: string;
1297
1297
  readonly slug: string;
1298
1298
  readonly meta: {
1299
1299
  readonly [x: string]: unknown;
@@ -1301,122 +1301,58 @@ export declare const restClient: Effect.Effect<{
1301
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
1302
  };
1303
1303
  readonly restV1: {
1304
- readonly getUsers: <WithResponse extends boolean = false>(request: {
1304
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
1305
1305
  readonly urlParams: {
1306
1306
  readonly name?: string | undefined;
1307
- readonly username?: string | undefined;
1308
- readonly rank?: string | undefined;
1307
+ readonly parent?: number | undefined;
1309
1308
  };
1310
1309
  readonly withResponse?: WithResponse | undefined;
1311
1310
  }) => Effect.Effect<WithResponse extends true ? [readonly {
1312
- readonly id: string;
1313
- readonly url?: string | null | undefined;
1311
+ readonly description: string;
1312
+ readonly id: number;
1314
1313
  readonly name: string;
1315
- readonly email?: string | null | undefined;
1316
- readonly avatar?: string | null | undefined;
1317
- readonly username: string;
1318
- readonly updatedAt: Date;
1319
- readonly createdAt: Date;
1314
+ readonly slug: string;
1315
+ readonly meta: {
1316
+ readonly [x: string]: unknown;
1317
+ };
1318
+ readonly parent?: number | null | undefined;
1320
1319
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1321
- readonly id: string;
1322
- readonly url?: string | null | undefined;
1320
+ readonly description: string;
1321
+ readonly id: number;
1323
1322
  readonly name: string;
1324
- readonly email?: string | null | undefined;
1325
- readonly avatar?: string | null | undefined;
1326
- readonly username: string;
1327
- readonly updatedAt: Date;
1328
- readonly createdAt: Date;
1323
+ readonly slug: string;
1324
+ readonly meta: {
1325
+ readonly [x: string]: unknown;
1326
+ };
1327
+ readonly parent?: number | null | undefined;
1329
1328
  }[], 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 ? [{
1334
- readonly id: string;
1335
- readonly url?: string | null | undefined;
1336
- readonly name: string;
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;
1329
+ readonly createCategory: <WithResponse extends boolean = false>(request: {
1330
+ readonly payload: {
1331
+ readonly description: string;
1332
+ readonly name: string;
1333
+ readonly slug: string;
1334
+ readonly meta: string;
1335
+ readonly parent?: number | null | undefined;
1355
1336
  };
1356
1337
  readonly withResponse?: WithResponse | undefined;
1357
1338
  }) => 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;
1339
+ readonly description: string;
1340
+ readonly id: number;
1369
1341
  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;
1342
+ readonly slug: string;
1343
+ readonly meta: {
1344
+ readonly [x: string]: unknown;
1379
1345
  };
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;
1346
+ readonly parent?: number | null | undefined;
1391
1347
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1392
- readonly id: string;
1393
- readonly url?: string | null | undefined;
1348
+ readonly description: string;
1349
+ readonly id: number;
1394
1350
  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 deleteCategory: <WithResponse extends boolean = false>(request: {
1412
- readonly path: {
1413
- readonly id: number;
1351
+ readonly slug: string;
1352
+ readonly meta: {
1353
+ readonly [x: string]: unknown;
1414
1354
  };
1415
- readonly withResponse?: WithResponse | undefined;
1416
- }) => Effect.Effect<WithResponse extends true ? [{
1417
- readonly success: boolean;
1418
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1419
- readonly success: boolean;
1355
+ readonly parent?: number | null | undefined;
1420
1356
  }, 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>;
1421
1357
  readonly getCategory: <WithResponse extends boolean = false>(request: {
1422
1358
  readonly path: {
@@ -1424,110 +1360,67 @@ export declare const restClient: Effect.Effect<{
1424
1360
  };
1425
1361
  readonly withResponse?: WithResponse | undefined;
1426
1362
  }) => Effect.Effect<WithResponse extends true ? [{
1363
+ readonly description: string;
1427
1364
  readonly id: number;
1428
1365
  readonly name: string;
1429
- readonly description: string;
1430
- readonly parent?: number | null | undefined;
1431
1366
  readonly slug: string;
1432
1367
  readonly meta: {
1433
1368
  readonly [x: string]: unknown;
1434
1369
  };
1370
+ readonly parent?: number | null | undefined;
1435
1371
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1372
+ readonly description: string;
1436
1373
  readonly id: number;
1437
1374
  readonly name: string;
1438
- readonly description: string;
1439
- readonly parent?: number | null | undefined;
1440
1375
  readonly slug: string;
1441
1376
  readonly meta: {
1442
1377
  readonly [x: string]: unknown;
1443
1378
  };
1379
+ readonly parent?: number | null | undefined;
1444
1380
  }, 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>;
1445
1381
  readonly updateCategory: <WithResponse extends boolean = false>(request: {
1446
1382
  readonly path: {
1447
1383
  readonly id: number;
1448
1384
  };
1449
1385
  readonly payload: {
1386
+ readonly description?: string | undefined;
1450
1387
  readonly id?: number | undefined;
1451
1388
  readonly name?: string | undefined;
1452
- readonly description?: string | undefined;
1453
- readonly parent?: number | null | undefined;
1454
1389
  readonly slug?: string | undefined;
1455
1390
  readonly meta?: {
1456
1391
  readonly [x: string]: unknown;
1457
1392
  } | undefined;
1393
+ readonly parent?: number | null | undefined;
1458
1394
  };
1459
1395
  readonly withResponse?: WithResponse | undefined;
1460
1396
  }) => Effect.Effect<WithResponse extends true ? [{
1397
+ readonly description: string;
1461
1398
  readonly id: number;
1462
1399
  readonly name: string;
1463
- readonly description: string;
1464
- readonly parent?: number | null | undefined;
1465
1400
  readonly slug: string;
1466
1401
  readonly meta: {
1467
1402
  readonly [x: string]: unknown;
1468
1403
  };
1404
+ readonly parent?: number | null | undefined;
1469
1405
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1470
- readonly id: number;
1471
- readonly name: string;
1472
1406
  readonly description: string;
1473
- readonly parent?: number | null | undefined;
1474
- readonly slug: string;
1475
- readonly meta: {
1476
- readonly [x: string]: unknown;
1477
- };
1478
- }, 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>;
1479
- readonly getCategories: <WithResponse extends boolean = false>(request: {
1480
- readonly urlParams: {
1481
- readonly name?: string | undefined;
1482
- readonly parent?: number | undefined;
1483
- };
1484
- readonly withResponse?: WithResponse | undefined;
1485
- }) => Effect.Effect<WithResponse extends true ? [readonly {
1486
1407
  readonly id: number;
1487
1408
  readonly name: string;
1488
- readonly description: string;
1489
- readonly parent?: number | null | undefined;
1490
1409
  readonly slug: string;
1491
1410
  readonly meta: {
1492
1411
  readonly [x: string]: unknown;
1493
1412
  };
1494
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
1495
- readonly id: number;
1496
- readonly name: string;
1497
- readonly description: string;
1498
1413
  readonly parent?: number | null | undefined;
1499
- readonly slug: string;
1500
- readonly meta: {
1501
- readonly [x: string]: unknown;
1502
- };
1503
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
1504
- readonly createCategory: <WithResponse extends boolean = false>(request: {
1505
- readonly payload: {
1506
- readonly name: string;
1507
- readonly description: string;
1508
- readonly parent?: number | null | undefined;
1509
- readonly slug: string;
1510
- readonly meta: string;
1414
+ }, 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>;
1415
+ readonly deleteCategory: <WithResponse extends boolean = false>(request: {
1416
+ readonly path: {
1417
+ readonly id: number;
1511
1418
  };
1512
1419
  readonly withResponse?: WithResponse | undefined;
1513
1420
  }) => Effect.Effect<WithResponse extends true ? [{
1514
- readonly id: number;
1515
- readonly name: string;
1516
- readonly description: string;
1517
- readonly parent?: number | null | undefined;
1518
- readonly slug: string;
1519
- readonly meta: {
1520
- readonly [x: string]: unknown;
1521
- };
1421
+ readonly success: boolean;
1522
1422
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1523
- readonly id: number;
1524
- readonly name: string;
1525
- readonly description: string;
1526
- readonly parent?: number | null | undefined;
1527
- readonly slug: string;
1528
- readonly meta: {
1529
- readonly [x: string]: unknown;
1530
- };
1423
+ readonly success: boolean;
1531
1424
  }, 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>;
1532
1425
  readonly deleteFolder: <WithResponse extends boolean = false>(request: {
1533
1426
  readonly path: {
@@ -1609,59 +1502,59 @@ export declare const restClient: Effect.Effect<{
1609
1502
  };
1610
1503
  readonly withResponse?: WithResponse | undefined;
1611
1504
  }) => Effect.Effect<WithResponse extends true ? [{
1505
+ readonly description: string;
1612
1506
  readonly id: string;
1613
- readonly updatedAt: Date;
1614
- readonly description: string;
1615
- readonly title: string;
1616
- readonly categories: readonly {
1507
+ readonly slug: string;
1508
+ readonly tags: readonly {
1509
+ readonly description: string;
1617
1510
  readonly id: number;
1618
1511
  readonly name: string;
1619
- readonly description: string;
1620
- readonly parent?: number | null | undefined;
1621
1512
  readonly slug: string;
1622
1513
  readonly meta: {
1623
1514
  readonly [x: string]: unknown;
1624
1515
  };
1625
1516
  }[];
1626
- readonly slug: string;
1627
- readonly parentFolder?: string | null | undefined;
1628
- readonly package: string;
1629
- readonly showOnNav: boolean;
1630
- readonly publishedAt: Date;
1631
- readonly contentLang: string;
1632
- readonly heroImage?: string | null | undefined;
1633
- readonly tags: readonly {
1517
+ readonly categories: readonly {
1518
+ readonly description: string;
1634
1519
  readonly id: number;
1635
1520
  readonly name: string;
1636
- readonly description: string;
1637
1521
  readonly slug: string;
1638
1522
  readonly meta: {
1639
1523
  readonly [x: string]: unknown;
1640
1524
  };
1525
+ readonly parent?: number | null | undefined;
1641
1526
  }[];
1527
+ readonly title: string;
1528
+ readonly updatedAt: Date;
1529
+ readonly package: string;
1530
+ readonly showOnNav: boolean;
1531
+ readonly publishedAt: Date;
1532
+ readonly contentLang: string;
1533
+ readonly heroImage?: string | null | undefined;
1642
1534
  readonly authorId: string;
1643
1535
  readonly contributorIds: readonly string[];
1644
1536
  readonly showAuthor: boolean;
1645
1537
  readonly showContributors: boolean;
1538
+ readonly parentFolder?: string | null | undefined;
1646
1539
  readonly draft: boolean;
1647
1540
  readonly augments: readonly string[];
1648
1541
  readonly multiLangContent: readonly {
1649
1542
  readonly id: string;
1543
+ readonly content: string;
1650
1544
  readonly contentLang: string;
1651
1545
  readonly contentId: string;
1652
- readonly content: string;
1653
1546
  }[];
1654
1547
  readonly defaultContent: {
1655
1548
  readonly id: string;
1549
+ readonly content: string;
1656
1550
  readonly contentLang: string;
1657
1551
  readonly contentId: string;
1658
- readonly content: string;
1659
1552
  } | undefined;
1660
1553
  readonly urlRoute: string;
1661
1554
  readonly authorData: {
1662
1555
  readonly id: string;
1663
- readonly url?: string | null | undefined;
1664
1556
  readonly name: string;
1557
+ readonly url?: string | null | undefined;
1665
1558
  readonly avatar?: string | null | undefined;
1666
1559
  readonly username: string;
1667
1560
  readonly updatedAt: Date;
@@ -1671,8 +1564,8 @@ export declare const restClient: Effect.Effect<{
1671
1564
  } | undefined;
1672
1565
  readonly contributorsData: readonly {
1673
1566
  readonly id: string;
1674
- readonly url?: string | null | undefined;
1675
1567
  readonly name: string;
1568
+ readonly url?: string | null | undefined;
1676
1569
  readonly avatar?: string | null | undefined;
1677
1570
  readonly username: string;
1678
1571
  readonly updatedAt: Date;
@@ -1681,59 +1574,59 @@ export declare const restClient: Effect.Effect<{
1681
1574
  readonly notifications?: string | null | undefined;
1682
1575
  }[];
1683
1576
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
1684
- readonly id: string;
1685
- readonly updatedAt: Date;
1686
1577
  readonly description: string;
1687
- readonly title: string;
1688
- readonly categories: readonly {
1578
+ readonly id: string;
1579
+ readonly slug: string;
1580
+ readonly tags: readonly {
1581
+ readonly description: string;
1689
1582
  readonly id: number;
1690
1583
  readonly name: string;
1691
- readonly description: string;
1692
- readonly parent?: number | null | undefined;
1693
1584
  readonly slug: string;
1694
1585
  readonly meta: {
1695
1586
  readonly [x: string]: unknown;
1696
1587
  };
1697
1588
  }[];
1698
- readonly slug: string;
1699
- readonly parentFolder?: string | null | undefined;
1700
- readonly package: string;
1701
- readonly showOnNav: boolean;
1702
- readonly publishedAt: Date;
1703
- readonly contentLang: string;
1704
- readonly heroImage?: string | null | undefined;
1705
- readonly tags: readonly {
1589
+ readonly categories: readonly {
1590
+ readonly description: string;
1706
1591
  readonly id: number;
1707
1592
  readonly name: string;
1708
- readonly description: string;
1709
1593
  readonly slug: string;
1710
1594
  readonly meta: {
1711
1595
  readonly [x: string]: unknown;
1712
1596
  };
1597
+ readonly parent?: number | null | undefined;
1713
1598
  }[];
1599
+ readonly title: string;
1600
+ readonly updatedAt: Date;
1601
+ readonly package: string;
1602
+ readonly showOnNav: boolean;
1603
+ readonly publishedAt: Date;
1604
+ readonly contentLang: string;
1605
+ readonly heroImage?: string | null | undefined;
1714
1606
  readonly authorId: string;
1715
1607
  readonly contributorIds: readonly string[];
1716
1608
  readonly showAuthor: boolean;
1717
1609
  readonly showContributors: boolean;
1610
+ readonly parentFolder?: string | null | undefined;
1718
1611
  readonly draft: boolean;
1719
1612
  readonly augments: readonly string[];
1720
1613
  readonly multiLangContent: readonly {
1721
1614
  readonly id: string;
1615
+ readonly content: string;
1722
1616
  readonly contentLang: string;
1723
1617
  readonly contentId: string;
1724
- readonly content: string;
1725
1618
  }[];
1726
1619
  readonly defaultContent: {
1727
1620
  readonly id: string;
1621
+ readonly content: string;
1728
1622
  readonly contentLang: string;
1729
1623
  readonly contentId: string;
1730
- readonly content: string;
1731
1624
  } | undefined;
1732
1625
  readonly urlRoute: string;
1733
1626
  readonly authorData: {
1734
1627
  readonly id: string;
1735
- readonly url?: string | null | undefined;
1736
1628
  readonly name: string;
1629
+ readonly url?: string | null | undefined;
1737
1630
  readonly avatar?: string | null | undefined;
1738
1631
  readonly username: string;
1739
1632
  readonly updatedAt: Date;
@@ -1743,8 +1636,8 @@ export declare const restClient: Effect.Effect<{
1743
1636
  } | undefined;
1744
1637
  readonly contributorsData: readonly {
1745
1638
  readonly id: string;
1746
- readonly url?: string | null | undefined;
1747
1639
  readonly name: string;
1640
+ readonly url?: string | null | undefined;
1748
1641
  readonly avatar?: string | null | undefined;
1749
1642
  readonly username: string;
1750
1643
  readonly updatedAt: Date;
@@ -1768,44 +1661,44 @@ export declare const restClient: Effect.Effect<{
1768
1661
  readonly diff: string | null;
1769
1662
  readonly pageMetaData: {
1770
1663
  readonly start: {
1771
- readonly id: string;
1772
- readonly updatedAt: Date;
1773
1664
  readonly description: string;
1774
- readonly title: string;
1775
- readonly categories: readonly string[];
1665
+ readonly id: string;
1776
1666
  readonly slug: string;
1777
- readonly parentFolder?: string | null | undefined;
1667
+ readonly tags: readonly string[];
1668
+ readonly categories: readonly string[];
1669
+ readonly title: string;
1670
+ readonly updatedAt: Date;
1778
1671
  readonly package: string;
1779
1672
  readonly showOnNav: boolean;
1780
1673
  readonly publishedAt: Date;
1781
1674
  readonly contentLang: string;
1782
1675
  readonly heroImage?: string | null | undefined;
1783
- readonly tags: readonly string[];
1784
1676
  readonly authorId: string;
1785
1677
  readonly contributorIds: readonly string[];
1786
1678
  readonly showAuthor: boolean;
1787
1679
  readonly showContributors: boolean;
1680
+ readonly parentFolder?: string | null | undefined;
1788
1681
  readonly draft: boolean;
1789
1682
  readonly augments: readonly string[];
1790
1683
  };
1791
1684
  readonly end: {
1792
- readonly id: string;
1793
- readonly updatedAt: Date;
1794
1685
  readonly description: string;
1795
- readonly title: string;
1796
- readonly categories: readonly string[];
1686
+ readonly id: string;
1797
1687
  readonly slug: string;
1798
- readonly parentFolder?: string | null | undefined;
1688
+ readonly tags: readonly string[];
1689
+ readonly categories: readonly string[];
1690
+ readonly title: string;
1691
+ readonly updatedAt: Date;
1799
1692
  readonly package: string;
1800
1693
  readonly showOnNav: boolean;
1801
1694
  readonly publishedAt: Date;
1802
1695
  readonly contentLang: string;
1803
1696
  readonly heroImage?: string | null | undefined;
1804
- readonly tags: readonly string[];
1805
1697
  readonly authorId: string;
1806
1698
  readonly contributorIds: readonly string[];
1807
1699
  readonly showAuthor: boolean;
1808
1700
  readonly showContributors: boolean;
1701
+ readonly parentFolder?: string | null | undefined;
1809
1702
  readonly draft: boolean;
1810
1703
  readonly augments: readonly string[];
1811
1704
  };
@@ -1819,44 +1712,44 @@ export declare const restClient: Effect.Effect<{
1819
1712
  readonly diff: string | null;
1820
1713
  readonly pageMetaData: {
1821
1714
  readonly start: {
1822
- readonly id: string;
1823
- readonly updatedAt: Date;
1824
1715
  readonly description: string;
1825
- readonly title: string;
1826
- readonly categories: readonly string[];
1716
+ readonly id: string;
1827
1717
  readonly slug: string;
1828
- readonly parentFolder?: string | null | undefined;
1718
+ readonly tags: readonly string[];
1719
+ readonly categories: readonly string[];
1720
+ readonly title: string;
1721
+ readonly updatedAt: Date;
1829
1722
  readonly package: string;
1830
1723
  readonly showOnNav: boolean;
1831
1724
  readonly publishedAt: Date;
1832
1725
  readonly contentLang: string;
1833
1726
  readonly heroImage?: string | null | undefined;
1834
- readonly tags: readonly string[];
1835
1727
  readonly authorId: string;
1836
1728
  readonly contributorIds: readonly string[];
1837
1729
  readonly showAuthor: boolean;
1838
1730
  readonly showContributors: boolean;
1731
+ readonly parentFolder?: string | null | undefined;
1839
1732
  readonly draft: boolean;
1840
1733
  readonly augments: readonly string[];
1841
1734
  };
1842
1735
  readonly end: {
1843
- readonly id: string;
1844
- readonly updatedAt: Date;
1845
1736
  readonly description: string;
1846
- readonly title: string;
1847
- readonly categories: readonly string[];
1737
+ readonly id: string;
1848
1738
  readonly slug: string;
1849
- readonly parentFolder?: string | null | undefined;
1739
+ readonly tags: readonly string[];
1740
+ readonly categories: readonly string[];
1741
+ readonly title: string;
1742
+ readonly updatedAt: Date;
1850
1743
  readonly package: string;
1851
1744
  readonly showOnNav: boolean;
1852
1745
  readonly publishedAt: Date;
1853
1746
  readonly contentLang: string;
1854
1747
  readonly heroImage?: string | null | undefined;
1855
- readonly tags: readonly string[];
1856
1748
  readonly authorId: string;
1857
1749
  readonly contributorIds: readonly string[];
1858
1750
  readonly showAuthor: boolean;
1859
1751
  readonly showContributors: boolean;
1752
+ readonly parentFolder?: string | null | undefined;
1860
1753
  readonly draft: boolean;
1861
1754
  readonly augments: readonly string[];
1862
1755
  };
@@ -1879,44 +1772,44 @@ export declare const restClient: Effect.Effect<{
1879
1772
  readonly diff: string | null;
1880
1773
  readonly pageMetaData: {
1881
1774
  readonly start: {
1882
- readonly id: string;
1883
- readonly updatedAt: Date;
1884
1775
  readonly description: string;
1885
- readonly title: string;
1886
- readonly categories: readonly string[];
1776
+ readonly id: string;
1887
1777
  readonly slug: string;
1888
- readonly parentFolder?: string | null | undefined;
1778
+ readonly tags: readonly string[];
1779
+ readonly categories: readonly string[];
1780
+ readonly title: string;
1781
+ readonly updatedAt: Date;
1889
1782
  readonly package: string;
1890
1783
  readonly showOnNav: boolean;
1891
1784
  readonly publishedAt: Date;
1892
1785
  readonly contentLang: string;
1893
1786
  readonly heroImage?: string | null | undefined;
1894
- readonly tags: readonly string[];
1895
1787
  readonly authorId: string;
1896
1788
  readonly contributorIds: readonly string[];
1897
1789
  readonly showAuthor: boolean;
1898
1790
  readonly showContributors: boolean;
1791
+ readonly parentFolder?: string | null | undefined;
1899
1792
  readonly draft: boolean;
1900
1793
  readonly augments: readonly string[];
1901
1794
  };
1902
1795
  readonly end: {
1903
- readonly id: string;
1904
- readonly updatedAt: Date;
1905
1796
  readonly description: string;
1906
- readonly title: string;
1907
- readonly categories: readonly string[];
1797
+ readonly id: string;
1908
1798
  readonly slug: string;
1909
- readonly parentFolder?: string | null | undefined;
1799
+ readonly tags: readonly string[];
1800
+ readonly categories: readonly string[];
1801
+ readonly title: string;
1802
+ readonly updatedAt: Date;
1910
1803
  readonly package: string;
1911
1804
  readonly showOnNav: boolean;
1912
1805
  readonly publishedAt: Date;
1913
1806
  readonly contentLang: string;
1914
1807
  readonly heroImage?: string | null | undefined;
1915
- readonly tags: readonly string[];
1916
1808
  readonly authorId: string;
1917
1809
  readonly contributorIds: readonly string[];
1918
1810
  readonly showAuthor: boolean;
1919
1811
  readonly showContributors: boolean;
1812
+ readonly parentFolder?: string | null | undefined;
1920
1813
  readonly draft: boolean;
1921
1814
  readonly augments: readonly string[];
1922
1815
  };
@@ -1930,44 +1823,44 @@ export declare const restClient: Effect.Effect<{
1930
1823
  readonly diff: string | null;
1931
1824
  readonly pageMetaData: {
1932
1825
  readonly start: {
1933
- readonly id: string;
1934
- readonly updatedAt: Date;
1935
1826
  readonly description: string;
1936
- readonly title: string;
1937
- readonly categories: readonly string[];
1827
+ readonly id: string;
1938
1828
  readonly slug: string;
1939
- readonly parentFolder?: string | null | undefined;
1829
+ readonly tags: readonly string[];
1830
+ readonly categories: readonly string[];
1831
+ readonly title: string;
1832
+ readonly updatedAt: Date;
1940
1833
  readonly package: string;
1941
1834
  readonly showOnNav: boolean;
1942
1835
  readonly publishedAt: Date;
1943
1836
  readonly contentLang: string;
1944
1837
  readonly heroImage?: string | null | undefined;
1945
- readonly tags: readonly string[];
1946
1838
  readonly authorId: string;
1947
1839
  readonly contributorIds: readonly string[];
1948
1840
  readonly showAuthor: boolean;
1949
1841
  readonly showContributors: boolean;
1842
+ readonly parentFolder?: string | null | undefined;
1950
1843
  readonly draft: boolean;
1951
1844
  readonly augments: readonly string[];
1952
1845
  };
1953
1846
  readonly end: {
1954
- readonly id: string;
1955
- readonly updatedAt: Date;
1956
1847
  readonly description: string;
1957
- readonly title: string;
1958
- readonly categories: readonly string[];
1848
+ readonly id: string;
1959
1849
  readonly slug: string;
1960
- readonly parentFolder?: string | null | undefined;
1850
+ readonly tags: readonly string[];
1851
+ readonly categories: readonly string[];
1852
+ readonly title: string;
1853
+ readonly updatedAt: Date;
1961
1854
  readonly package: string;
1962
1855
  readonly showOnNav: boolean;
1963
1856
  readonly publishedAt: Date;
1964
1857
  readonly contentLang: string;
1965
1858
  readonly heroImage?: string | null | undefined;
1966
- readonly tags: readonly string[];
1967
1859
  readonly authorId: string;
1968
1860
  readonly contributorIds: readonly string[];
1969
1861
  readonly showAuthor: boolean;
1970
1862
  readonly showContributors: boolean;
1863
+ readonly parentFolder?: string | null | undefined;
1971
1864
  readonly draft: boolean;
1972
1865
  readonly augments: readonly string[];
1973
1866
  };
@@ -1979,31 +1872,31 @@ export declare const restClient: Effect.Effect<{
1979
1872
  };
1980
1873
  readonly payload: {
1981
1874
  readonly data?: {
1982
- readonly id?: string | undefined;
1983
- readonly updatedAt?: Date | undefined;
1984
1875
  readonly description?: string | undefined;
1985
- readonly title?: string | undefined;
1986
- readonly categories?: readonly string[] | undefined;
1876
+ readonly id?: string | undefined;
1987
1877
  readonly slug?: string | undefined;
1988
- readonly parentFolder?: string | null | undefined;
1878
+ readonly tags?: readonly string[] | undefined;
1879
+ readonly categories?: readonly string[] | undefined;
1880
+ readonly title?: string | undefined;
1881
+ readonly updatedAt?: Date | undefined;
1989
1882
  readonly package?: string | undefined;
1990
1883
  readonly showOnNav?: boolean | undefined;
1991
1884
  readonly publishedAt?: Date | undefined;
1992
1885
  readonly contentLang?: string | undefined;
1993
1886
  readonly heroImage?: string | null | undefined;
1994
- readonly tags?: readonly string[] | undefined;
1995
1887
  readonly authorId?: string | undefined;
1996
1888
  readonly contributorIds?: readonly string[] | undefined;
1997
1889
  readonly showAuthor?: boolean | undefined;
1998
1890
  readonly showContributors?: boolean | undefined;
1891
+ readonly parentFolder?: string | null | undefined;
1999
1892
  readonly draft?: boolean | undefined;
2000
1893
  readonly augments?: readonly string[] | undefined;
2001
1894
  } | undefined;
2002
1895
  readonly content?: {
2003
1896
  readonly id?: string | undefined;
1897
+ readonly content?: string | undefined;
2004
1898
  readonly contentLang?: string | undefined;
2005
1899
  readonly contentId?: string | undefined;
2006
- readonly content?: string | undefined;
2007
1900
  } | undefined;
2008
1901
  };
2009
1902
  readonly withResponse?: WithResponse | undefined;
@@ -2014,68 +1907,68 @@ export declare const restClient: Effect.Effect<{
2014
1907
  }, 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>;
2015
1908
  readonly getPages: <WithResponse extends boolean = false>(request: {
2016
1909
  readonly urlParams: {
2017
- readonly title?: string | undefined;
2018
1910
  readonly slug?: string | undefined;
2019
- readonly author?: string | undefined;
1911
+ readonly title?: string | undefined;
2020
1912
  readonly parentFolder?: string | undefined;
2021
1913
  readonly draft?: boolean | undefined;
1914
+ readonly author?: string | undefined;
2022
1915
  readonly published?: boolean | undefined;
2023
1916
  };
2024
1917
  readonly withResponse?: WithResponse | undefined;
2025
1918
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2026
- readonly id: string;
2027
- readonly updatedAt: Date;
2028
1919
  readonly description: string;
2029
- readonly title: string;
2030
- readonly categories: readonly {
1920
+ readonly id: string;
1921
+ readonly slug: string;
1922
+ readonly tags: readonly {
1923
+ readonly description: string;
2031
1924
  readonly id: number;
2032
1925
  readonly name: string;
2033
- readonly description: string;
2034
- readonly parent?: number | null | undefined;
2035
1926
  readonly slug: string;
2036
1927
  readonly meta: {
2037
1928
  readonly [x: string]: unknown;
2038
1929
  };
2039
1930
  }[];
2040
- readonly slug: string;
2041
- readonly parentFolder?: string | null | undefined;
2042
- readonly package: string;
2043
- readonly showOnNav: boolean;
2044
- readonly publishedAt: Date;
2045
- readonly contentLang: string;
2046
- readonly heroImage?: string | null | undefined;
2047
- readonly tags: readonly {
1931
+ readonly categories: readonly {
1932
+ readonly description: string;
2048
1933
  readonly id: number;
2049
1934
  readonly name: string;
2050
- readonly description: string;
2051
1935
  readonly slug: string;
2052
1936
  readonly meta: {
2053
1937
  readonly [x: string]: unknown;
2054
1938
  };
1939
+ readonly parent?: number | null | undefined;
2055
1940
  }[];
1941
+ readonly title: string;
1942
+ readonly updatedAt: Date;
1943
+ readonly package: string;
1944
+ readonly showOnNav: boolean;
1945
+ readonly publishedAt: Date;
1946
+ readonly contentLang: string;
1947
+ readonly heroImage?: string | null | undefined;
2056
1948
  readonly authorId: string;
2057
1949
  readonly contributorIds: readonly string[];
2058
1950
  readonly showAuthor: boolean;
2059
1951
  readonly showContributors: boolean;
1952
+ readonly parentFolder?: string | null | undefined;
2060
1953
  readonly draft: boolean;
2061
1954
  readonly augments: readonly string[];
2062
1955
  readonly multiLangContent: readonly {
2063
1956
  readonly id: string;
1957
+ readonly content: string;
2064
1958
  readonly contentLang: string;
2065
1959
  readonly contentId: string;
2066
- readonly content: string;
2067
1960
  }[];
2068
1961
  readonly defaultContent: {
2069
1962
  readonly id: string;
1963
+ readonly content: string;
2070
1964
  readonly contentLang: string;
2071
1965
  readonly contentId: string;
2072
- readonly content: string;
2073
1966
  } | undefined;
2074
1967
  readonly urlRoute: string;
2075
1968
  readonly authorData: {
2076
1969
  readonly id: string;
2077
- readonly url?: string | null | undefined;
2078
1970
  readonly name: string;
1971
+ readonly url?: string | null | undefined;
2079
1972
  readonly avatar?: string | null | undefined;
2080
1973
  readonly username: string;
2081
1974
  readonly updatedAt: Date;
@@ -2085,8 +1978,8 @@ export declare const restClient: Effect.Effect<{
2085
1978
  } | undefined;
2086
1979
  readonly contributorsData: readonly {
2087
1980
  readonly id: string;
2088
- readonly url?: string | null | undefined;
2089
1981
  readonly name: string;
1982
+ readonly url?: string | null | undefined;
2090
1983
  readonly avatar?: string | null | undefined;
2091
1984
  readonly username: string;
2092
1985
  readonly updatedAt: Date;
@@ -2095,59 +1988,59 @@ export declare const restClient: Effect.Effect<{
2095
1988
  readonly notifications?: string | null | undefined;
2096
1989
  }[];
2097
1990
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2098
- readonly id: string;
2099
- readonly updatedAt: Date;
2100
1991
  readonly description: string;
2101
- readonly title: string;
2102
- readonly categories: readonly {
1992
+ readonly id: string;
1993
+ readonly slug: string;
1994
+ readonly tags: readonly {
1995
+ readonly description: string;
2103
1996
  readonly id: number;
2104
1997
  readonly name: string;
2105
- readonly description: string;
2106
- readonly parent?: number | null | undefined;
2107
1998
  readonly slug: string;
2108
1999
  readonly meta: {
2109
2000
  readonly [x: string]: unknown;
2110
2001
  };
2111
2002
  }[];
2112
- readonly slug: string;
2113
- readonly parentFolder?: string | null | undefined;
2114
- readonly package: string;
2115
- readonly showOnNav: boolean;
2116
- readonly publishedAt: Date;
2117
- readonly contentLang: string;
2118
- readonly heroImage?: string | null | undefined;
2119
- readonly tags: readonly {
2003
+ readonly categories: readonly {
2004
+ readonly description: string;
2120
2005
  readonly id: number;
2121
2006
  readonly name: string;
2122
- readonly description: string;
2123
2007
  readonly slug: string;
2124
2008
  readonly meta: {
2125
2009
  readonly [x: string]: unknown;
2126
2010
  };
2011
+ readonly parent?: number | null | undefined;
2127
2012
  }[];
2013
+ readonly title: string;
2014
+ readonly updatedAt: Date;
2015
+ readonly package: string;
2016
+ readonly showOnNav: boolean;
2017
+ readonly publishedAt: Date;
2018
+ readonly contentLang: string;
2019
+ readonly heroImage?: string | null | undefined;
2128
2020
  readonly authorId: string;
2129
2021
  readonly contributorIds: readonly string[];
2130
2022
  readonly showAuthor: boolean;
2131
2023
  readonly showContributors: boolean;
2024
+ readonly parentFolder?: string | null | undefined;
2132
2025
  readonly draft: boolean;
2133
2026
  readonly augments: readonly string[];
2134
2027
  readonly multiLangContent: readonly {
2135
2028
  readonly id: string;
2029
+ readonly content: string;
2136
2030
  readonly contentLang: string;
2137
2031
  readonly contentId: string;
2138
- readonly content: string;
2139
2032
  }[];
2140
2033
  readonly defaultContent: {
2141
2034
  readonly id: string;
2035
+ readonly content: string;
2142
2036
  readonly contentLang: string;
2143
2037
  readonly contentId: string;
2144
- readonly content: string;
2145
2038
  } | undefined;
2146
2039
  readonly urlRoute: string;
2147
2040
  readonly authorData: {
2148
2041
  readonly id: string;
2149
- readonly url?: string | null | undefined;
2150
2042
  readonly name: string;
2043
+ readonly url?: string | null | undefined;
2151
2044
  readonly avatar?: string | null | undefined;
2152
2045
  readonly username: string;
2153
2046
  readonly updatedAt: Date;
@@ -2157,8 +2050,8 @@ export declare const restClient: Effect.Effect<{
2157
2050
  } | undefined;
2158
2051
  readonly contributorsData: readonly {
2159
2052
  readonly id: string;
2160
- readonly url?: string | null | undefined;
2161
2053
  readonly name: string;
2054
+ readonly url?: string | null | undefined;
2162
2055
  readonly avatar?: string | null | undefined;
2163
2056
  readonly username: string;
2164
2057
  readonly updatedAt: Date;
@@ -2170,31 +2063,31 @@ export declare const restClient: Effect.Effect<{
2170
2063
  readonly createPage: <WithResponse extends boolean = false>(request: {
2171
2064
  readonly payload: {
2172
2065
  readonly data?: {
2173
- readonly id?: string | undefined;
2174
- readonly updatedAt?: Date | undefined;
2175
2066
  readonly description?: string | undefined;
2176
- readonly title?: string | undefined;
2177
- readonly categories?: readonly string[] | undefined;
2067
+ readonly id?: string | undefined;
2178
2068
  readonly slug?: string | undefined;
2179
- readonly parentFolder?: string | null | undefined;
2069
+ readonly tags?: readonly string[] | undefined;
2070
+ readonly categories?: readonly string[] | undefined;
2071
+ readonly title?: string | undefined;
2072
+ readonly updatedAt?: Date | undefined;
2180
2073
  readonly package?: string | undefined;
2181
2074
  readonly showOnNav?: boolean | undefined;
2182
2075
  readonly publishedAt?: Date | undefined;
2183
2076
  readonly contentLang?: string | undefined;
2184
2077
  readonly heroImage?: string | null | undefined;
2185
- readonly tags?: readonly string[] | undefined;
2186
2078
  readonly authorId?: string | undefined;
2187
2079
  readonly contributorIds?: readonly string[] | undefined;
2188
2080
  readonly showAuthor?: boolean | undefined;
2189
2081
  readonly showContributors?: boolean | undefined;
2082
+ readonly parentFolder?: string | null | undefined;
2190
2083
  readonly draft?: boolean | undefined;
2191
2084
  readonly augments?: readonly string[] | undefined;
2192
2085
  } | undefined;
2193
2086
  readonly content?: {
2194
2087
  readonly id?: string | undefined;
2088
+ readonly content?: string | undefined;
2195
2089
  readonly contentLang?: string | undefined;
2196
2090
  readonly contentId?: string | undefined;
2197
- readonly content?: string | undefined;
2198
2091
  } | undefined;
2199
2092
  };
2200
2093
  readonly withResponse?: WithResponse | undefined;
@@ -2219,17 +2112,17 @@ export declare const restClient: Effect.Effect<{
2219
2112
  };
2220
2113
  readonly withResponse?: WithResponse | undefined;
2221
2114
  }) => Effect.Effect<WithResponse extends true ? [{
2115
+ readonly description: string;
2222
2116
  readonly id: number;
2223
2117
  readonly name: string;
2224
- readonly description: string;
2225
2118
  readonly slug: string;
2226
2119
  readonly meta: {
2227
2120
  readonly [x: string]: unknown;
2228
2121
  };
2229
2122
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2123
+ readonly description: string;
2230
2124
  readonly id: number;
2231
2125
  readonly name: string;
2232
- readonly description: string;
2233
2126
  readonly slug: string;
2234
2127
  readonly meta: {
2235
2128
  readonly [x: string]: unknown;
@@ -2240,9 +2133,9 @@ export declare const restClient: Effect.Effect<{
2240
2133
  readonly id: number;
2241
2134
  };
2242
2135
  readonly payload: {
2136
+ readonly description?: string | undefined;
2243
2137
  readonly id?: number | undefined;
2244
2138
  readonly name?: string | undefined;
2245
- readonly description?: string | undefined;
2246
2139
  readonly slug?: string | undefined;
2247
2140
  readonly meta?: {
2248
2141
  readonly [x: string]: unknown;
@@ -2250,17 +2143,17 @@ export declare const restClient: Effect.Effect<{
2250
2143
  };
2251
2144
  readonly withResponse?: WithResponse | undefined;
2252
2145
  }) => Effect.Effect<WithResponse extends true ? [{
2146
+ readonly description: string;
2253
2147
  readonly id: number;
2254
2148
  readonly name: string;
2255
- readonly description: string;
2256
2149
  readonly slug: string;
2257
2150
  readonly meta: {
2258
2151
  readonly [x: string]: unknown;
2259
2152
  };
2260
2153
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2154
+ readonly description: string;
2261
2155
  readonly id: number;
2262
2156
  readonly name: string;
2263
- readonly description: string;
2264
2157
  readonly slug: string;
2265
2158
  readonly meta: {
2266
2159
  readonly [x: string]: unknown;
@@ -2272,17 +2165,17 @@ export declare const restClient: Effect.Effect<{
2272
2165
  };
2273
2166
  readonly withResponse?: WithResponse | undefined;
2274
2167
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2168
+ readonly description: string;
2275
2169
  readonly id: number;
2276
2170
  readonly name: string;
2277
- readonly description: string;
2278
2171
  readonly slug: string;
2279
2172
  readonly meta: {
2280
2173
  readonly [x: string]: unknown;
2281
2174
  };
2282
2175
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
2176
+ readonly description: string;
2283
2177
  readonly id: number;
2284
2178
  readonly name: string;
2285
- readonly description: string;
2286
2179
  readonly slug: string;
2287
2180
  readonly meta: {
2288
2181
  readonly [x: string]: unknown;
@@ -2290,29 +2183,136 @@ export declare const restClient: Effect.Effect<{
2290
2183
  }[], 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>;
2291
2184
  readonly createTag: <WithResponse extends boolean = false>(request: {
2292
2185
  readonly payload: {
2293
- readonly name: string;
2294
2186
  readonly description: string;
2187
+ readonly name: string;
2295
2188
  readonly slug: string;
2296
2189
  readonly meta: string;
2297
2190
  };
2298
2191
  readonly withResponse?: WithResponse | undefined;
2299
2192
  }) => Effect.Effect<WithResponse extends true ? [{
2193
+ readonly description: string;
2300
2194
  readonly id: number;
2301
2195
  readonly name: string;
2302
- readonly description: string;
2303
2196
  readonly slug: string;
2304
2197
  readonly meta: {
2305
2198
  readonly [x: string]: unknown;
2306
2199
  };
2307
2200
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2201
+ readonly description: string;
2308
2202
  readonly id: number;
2309
2203
  readonly name: string;
2310
- readonly description: string;
2311
2204
  readonly slug: string;
2312
2205
  readonly meta: {
2313
2206
  readonly [x: string]: unknown;
2314
2207
  };
2315
2208
  }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2209
+ readonly deleteUser: <WithResponse extends boolean = false>(request: {
2210
+ readonly path: {
2211
+ readonly id: string;
2212
+ };
2213
+ readonly withResponse?: WithResponse | undefined;
2214
+ }) => Effect.Effect<WithResponse extends true ? [{
2215
+ readonly message: string;
2216
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2217
+ readonly message: string;
2218
+ }, import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
2219
+ readonly getUser: <WithResponse extends boolean = false>(request: {
2220
+ readonly path: {
2221
+ readonly id: string;
2222
+ };
2223
+ readonly withResponse?: WithResponse | undefined;
2224
+ }) => Effect.Effect<WithResponse extends true ? [{
2225
+ readonly id: string;
2226
+ readonly name: string;
2227
+ readonly url?: string | null | undefined;
2228
+ readonly email?: string | null | undefined;
2229
+ readonly avatar?: string | null | undefined;
2230
+ readonly username: string;
2231
+ readonly updatedAt: Date;
2232
+ readonly createdAt: Date;
2233
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2234
+ readonly id: string;
2235
+ readonly name: string;
2236
+ readonly url?: string | null | undefined;
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 name: string;
2252
+ readonly url?: string | null | undefined;
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 name: string;
2261
+ readonly url?: string | null | undefined;
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 name: string;
2278
+ readonly url?: string | null | undefined;
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 name: string;
2287
+ readonly url?: string | null | undefined;
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 name: string;
2300
+ readonly url?: string | null | undefined;
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 name: string;
2309
+ readonly url?: string | null | undefined;
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
2316
  readonly getSettings: <WithResponse extends boolean = false>(request: void | {
2317
2317
  readonly withResponse?: WithResponse | undefined;
2318
2318
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2556,22 +2556,22 @@ export declare const apiClients: {
2556
2556
  readonly content: {
2557
2557
  readonly createPage: <WithResponse extends boolean = false>(request: {
2558
2558
  readonly payload: {
2559
- readonly updatedAt?: Date | undefined;
2560
2559
  readonly description?: string | undefined;
2561
- readonly title?: string | undefined;
2562
- readonly categories?: readonly string[] | undefined;
2563
2560
  readonly slug?: string | undefined;
2564
- readonly parentFolder?: string | null | undefined;
2561
+ readonly tags?: readonly string[] | undefined;
2562
+ readonly categories?: readonly string[] | undefined;
2563
+ readonly title?: string | undefined;
2564
+ readonly updatedAt?: Date | undefined;
2565
2565
  readonly package?: string | undefined;
2566
2566
  readonly showOnNav?: boolean | undefined;
2567
2567
  readonly publishedAt?: Date | undefined;
2568
2568
  readonly contentLang?: string | undefined;
2569
2569
  readonly heroImage?: string | null | undefined;
2570
- readonly tags?: readonly string[] | undefined;
2571
2570
  readonly authorId?: string | undefined;
2572
2571
  readonly contributorIds?: readonly string[] | undefined;
2573
2572
  readonly showAuthor?: boolean | undefined;
2574
2573
  readonly showContributors?: boolean | undefined;
2574
+ readonly parentFolder?: string | null | undefined;
2575
2575
  readonly draft?: boolean | undefined;
2576
2576
  readonly augments?: readonly string[] | undefined;
2577
2577
  };
@@ -2583,27 +2583,27 @@ 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 id: string;
2587
- readonly updatedAt?: Date | undefined;
2588
2586
  readonly description?: string | undefined;
2589
- readonly title?: string | undefined;
2590
- readonly categories?: readonly string[] | undefined;
2587
+ readonly id: string;
2591
2588
  readonly slug?: string | undefined;
2592
- readonly parentFolder?: string | null | undefined;
2589
+ readonly tags?: readonly string[] | undefined;
2590
+ readonly categories?: readonly string[] | undefined;
2591
+ readonly title?: string | undefined;
2592
+ readonly updatedAt?: Date | undefined;
2593
+ readonly content: string;
2593
2594
  readonly package?: string | undefined;
2594
2595
  readonly showOnNav?: boolean | undefined;
2595
2596
  readonly publishedAt?: Date | undefined;
2596
2597
  readonly contentLang?: string | undefined;
2597
2598
  readonly heroImage?: string | null | undefined;
2598
- readonly tags?: readonly string[] | undefined;
2599
2599
  readonly authorId?: string | undefined;
2600
2600
  readonly contributorIds?: readonly string[] | undefined;
2601
2601
  readonly showAuthor?: boolean | undefined;
2602
2602
  readonly showContributors?: boolean | undefined;
2603
+ readonly parentFolder?: string | null | undefined;
2603
2604
  readonly draft?: boolean | undefined;
2604
2605
  readonly augments?: readonly string[] | undefined;
2605
2606
  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 displayname: string;
2741
2740
  readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2741
+ readonly displayname: string;
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 displayname: string;
2756
2755
  readonly rank: "owner" | "admin" | "editor" | "visitor" | "unknown";
2756
+ readonly displayname: string;
2757
2757
  readonly originalUrl: string;
2758
2758
  };
2759
2759
  readonly withResponse?: WithResponse | undefined;
@@ -2796,9 +2796,10 @@ 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";
2799
2800
  readonly data: {
2800
- readonly url?: string | null | undefined;
2801
2801
  readonly name: string;
2802
+ readonly url?: string | null | undefined;
2802
2803
  readonly email?: string | null | undefined;
2803
2804
  readonly avatar?: string | null | undefined;
2804
2805
  readonly username: string;
@@ -2808,17 +2809,16 @@ export declare const apiClients: {
2808
2809
  readonly emailVerified: boolean;
2809
2810
  readonly notifications?: string | null | undefined;
2810
2811
  };
2811
- readonly mode: "basic";
2812
2812
  };
2813
2813
  readonly withResponse?: WithResponse | undefined;
2814
2814
  } | {
2815
2815
  readonly payload: {
2816
+ readonly mode: "password";
2816
2817
  readonly data: {
2817
2818
  readonly currentPassword: string | null;
2818
2819
  readonly newPassword: string;
2819
2820
  readonly confirmNewPassword: string;
2820
2821
  };
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 type: "folder" | "page";
2858
2857
  readonly slug?: string | undefined;
2858
+ readonly type: "folder" | "page";
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 type: "folder" | "page";
2864
2863
  readonly slug?: string | undefined;
2864
+ readonly type: "folder" | "page";
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";
2871
2873
  readonly id: number;
2872
2874
  readonly name: string;
2873
- readonly description: string;
2874
- readonly type: "tags";
2875
2875
  readonly slug: string;
2876
2876
  readonly meta: {
2877
2877
  readonly [x: string]: unknown;
2878
2878
  };
2879
- readonly mode: "create" | "edit";
2879
+ readonly type: "tags";
2880
2880
  };
2881
2881
  readonly withResponse?: WithResponse | undefined;
2882
2882
  } | {
2883
2883
  readonly payload: {
2884
+ readonly description: string;
2885
+ readonly mode: "create" | "edit";
2884
2886
  readonly id: number;
2885
2887
  readonly name: string;
2886
- readonly description: string;
2887
- readonly type: "categories";
2888
- readonly parent?: number | null | undefined;
2889
2888
  readonly slug: string;
2890
2889
  readonly meta: {
2891
2890
  readonly [x: string]: unknown;
2892
2891
  };
2893
- readonly mode: "create" | "edit";
2892
+ readonly type: "categories";
2893
+ readonly parent?: number | null | undefined;
2894
2894
  };
2895
2895
  readonly withResponse?: WithResponse | undefined;
2896
2896
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2901,7 +2901,7 @@ export declare const apiClients: {
2901
2901
  readonly taxonomyDelete: <WithResponse extends boolean = false>(request: {
2902
2902
  readonly payload: {
2903
2903
  readonly id: number;
2904
- readonly type: "categories" | "tags";
2904
+ readonly type: "tags" | "categories";
2905
2905
  };
2906
2906
  readonly withResponse?: WithResponse | undefined;
2907
2907
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -2912,26 +2912,26 @@ export declare const apiClients: {
2912
2912
  readonly taxonomySearch: <WithResponse extends boolean = false>(request: void | {
2913
2913
  readonly withResponse?: WithResponse | undefined;
2914
2914
  }) => Effect.Effect<WithResponse extends true ? [readonly {
2915
+ readonly description: string;
2915
2916
  readonly id: number;
2916
2917
  readonly name: string;
2917
- readonly description: string;
2918
- readonly type: "tag" | "category";
2919
- readonly parent: number | null | undefined;
2920
2918
  readonly slug: string;
2921
2919
  readonly meta: {
2922
2920
  readonly [x: string]: unknown;
2923
2921
  };
2922
+ readonly type: "tag" | "category";
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;
2926
2927
  readonly id: number;
2927
2928
  readonly name: string;
2928
- readonly description: string;
2929
- readonly type: "tag" | "category";
2930
- readonly parent: number | null | undefined;
2931
2929
  readonly slug: string;
2932
2930
  readonly meta: {
2933
2931
  readonly [x: string]: unknown;
2934
2932
  };
2933
+ readonly type: "tag" | "category";
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
  };
@@ -2985,6 +2985,23 @@ 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 resendVerifyEmail: <WithResponse extends boolean = false>(request: {
2989
+ readonly payload: {
2990
+ readonly userId: string;
2991
+ };
2992
+ readonly withResponse?: WithResponse | undefined;
2993
+ }) => Effect.Effect<WithResponse extends true ? [{
2994
+ readonly message: string;
2995
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
2996
+ readonly message: string;
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>;
2988
3005
  readonly verifySession: <WithResponse extends boolean = false>(request: {
2989
3006
  readonly payload: {
2990
3007
  readonly originPathname: string;
@@ -3023,23 +3040,6 @@ export declare const apiClients: {
3023
3040
  readonly dashboardIndex: string;
3024
3041
  };
3025
3042
  }, 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>;
3026
- readonly verifyEmail: <WithResponse extends boolean = false>(request: {
3027
- readonly urlParams: {
3028
- readonly token: string;
3029
- readonly userId: string;
3030
- };
3031
- readonly withResponse?: WithResponse | undefined;
3032
- }) => 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>;
3033
- readonly resendVerifyEmail: <WithResponse extends boolean = false>(request: {
3034
- readonly payload: {
3035
- readonly userId: string;
3036
- };
3037
- readonly withResponse?: WithResponse | undefined;
3038
- }) => Effect.Effect<WithResponse extends true ? [{
3039
- readonly message: string;
3040
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3041
- readonly message: string;
3042
- }, 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>;
3043
3043
  };
3044
3044
  }, never, never>;
3045
3045
  integrations: Effect.Effect<{
@@ -3102,8 +3102,8 @@ export declare const apiClients: {
3102
3102
  }[];
3103
3103
  } | {
3104
3104
  readonly id: number;
3105
- readonly error: string;
3106
3105
  readonly type: "query" | "transaction";
3106
+ readonly error: string;
3107
3107
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3108
3108
  readonly id: number;
3109
3109
  readonly type: "query";
@@ -3148,15 +3148,15 @@ export declare const apiClients: {
3148
3148
  }[];
3149
3149
  } | {
3150
3150
  readonly id: number;
3151
- readonly error: string;
3152
3151
  readonly type: "query" | "transaction";
3152
+ readonly error: string;
3153
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 action: "resolveUrl";
3159
3158
  readonly identifier: `storage-file://${string}`;
3159
+ readonly action: "resolveUrl";
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 contentType: string;
3172
3171
  readonly action: "upload";
3172
+ readonly contentType: string;
3173
3173
  };
3174
3174
  readonly withResponse?: WithResponse | undefined;
3175
3175
  } | {
@@ -3218,13 +3218,13 @@ export declare const apiClients: {
3218
3218
  readonly isPermanent: boolean;
3219
3219
  readonly expiresAt?: number | undefined;
3220
3220
  } | {
3221
- readonly url: string;
3222
3221
  readonly identifier: `storage-file://${string}`;
3222
+ readonly url: string;
3223
3223
  readonly isPermanent: boolean;
3224
3224
  readonly expiresAt?: number | undefined;
3225
3225
  } | {
3226
- readonly url: string;
3227
3226
  readonly key: string;
3227
+ readonly url: string;
3228
3228
  } | {
3229
3229
  readonly files: readonly {
3230
3230
  readonly key?: string | undefined;
@@ -3247,21 +3247,21 @@ export declare const apiClients: {
3247
3247
  readonly expiresAt?: number | undefined;
3248
3248
  }[];
3249
3249
  } | {
3250
- readonly success: boolean;
3251
3250
  readonly message: string;
3252
3251
  readonly provider: string;
3252
+ readonly success: boolean;
3253
3253
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3254
3254
  readonly url: string;
3255
3255
  readonly isPermanent: boolean;
3256
3256
  readonly expiresAt?: number | undefined;
3257
3257
  } | {
3258
- readonly url: string;
3259
3258
  readonly identifier: `storage-file://${string}`;
3259
+ readonly url: string;
3260
3260
  readonly isPermanent: boolean;
3261
3261
  readonly expiresAt?: number | undefined;
3262
3262
  } | {
3263
- readonly url: string;
3264
3263
  readonly key: string;
3264
+ readonly url: string;
3265
3265
  } | {
3266
3266
  readonly files: readonly {
3267
3267
  readonly key?: string | undefined;
@@ -3284,9 +3284,9 @@ export declare const apiClients: {
3284
3284
  readonly expiresAt?: number | undefined;
3285
3285
  }[];
3286
3286
  } | {
3287
- readonly success: boolean;
3288
3287
  readonly message: string;
3289
3288
  readonly provider: string;
3289
+ readonly success: boolean;
3290
3290
  }, 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/HttpClientError").HttpClientError, never>;
3291
3291
  readonly storageManagerUpload: <WithResponse extends boolean = false>(request: {
3292
3292
  readonly headers: {
@@ -3295,11 +3295,11 @@ export declare const apiClients: {
3295
3295
  readonly payload: Uint8Array<ArrayBufferLike>;
3296
3296
  readonly withResponse?: WithResponse | undefined;
3297
3297
  }) => Effect.Effect<WithResponse extends true ? [{
3298
- readonly key: string;
3299
3298
  readonly message: string;
3300
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3301
3299
  readonly key: string;
3300
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3302
3301
  readonly message: string;
3302
+ readonly key: string;
3303
3303
  }, 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/HttpClientError").HttpClientError, never>;
3304
3304
  };
3305
3305
  }, never, never>;
@@ -3312,23 +3312,23 @@ export declare const apiClients: {
3312
3312
  };
3313
3313
  readonly withResponse?: WithResponse | undefined;
3314
3314
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3315
+ readonly description: string;
3315
3316
  readonly id: number;
3316
3317
  readonly name: string;
3317
- readonly description: string;
3318
- readonly parent?: number | null | undefined;
3319
3318
  readonly slug: string;
3320
3319
  readonly meta: {
3321
3320
  readonly [x: string]: unknown;
3322
3321
  };
3322
+ readonly parent?: number | null | undefined;
3323
3323
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3324
+ readonly description: string;
3324
3325
  readonly id: number;
3325
3326
  readonly name: string;
3326
- readonly description: string;
3327
- readonly parent?: number | null | undefined;
3328
3327
  readonly slug: string;
3329
3328
  readonly meta: {
3330
3329
  readonly [x: string]: unknown;
3331
3330
  };
3331
+ readonly parent?: number | null | undefined;
3332
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
3333
  readonly getCategory: <WithResponse extends boolean = false>(request: {
3334
3334
  readonly path: {
@@ -3336,23 +3336,23 @@ export declare const apiClients: {
3336
3336
  };
3337
3337
  readonly withResponse?: WithResponse | undefined;
3338
3338
  }) => Effect.Effect<WithResponse extends true ? [{
3339
+ readonly description: string;
3339
3340
  readonly id: number;
3340
3341
  readonly name: string;
3341
- readonly description: string;
3342
- readonly parent?: number | null | undefined;
3343
3342
  readonly slug: string;
3344
3343
  readonly meta: {
3345
3344
  readonly [x: string]: unknown;
3346
3345
  };
3346
+ readonly parent?: number | null | undefined;
3347
3347
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3348
+ readonly description: string;
3348
3349
  readonly id: number;
3349
3350
  readonly name: string;
3350
- readonly description: string;
3351
- readonly parent?: number | null | undefined;
3352
3351
  readonly slug: string;
3353
3352
  readonly meta: {
3354
3353
  readonly [x: string]: unknown;
3355
3354
  };
3355
+ readonly parent?: number | null | undefined;
3356
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
3357
  readonly getFolders: <WithResponse extends boolean = false>(request: {
3358
3358
  readonly urlParams: {
@@ -3385,66 +3385,66 @@ export declare const apiClients: {
3385
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
3386
  readonly getPages: <WithResponse extends boolean = false>(request: {
3387
3387
  readonly urlParams: {
3388
- readonly title?: string | undefined;
3389
3388
  readonly slug?: string | undefined;
3390
- readonly author?: string | undefined;
3389
+ readonly title?: string | undefined;
3391
3390
  readonly parentFolder?: string | undefined;
3391
+ readonly author?: string | undefined;
3392
3392
  };
3393
3393
  readonly withResponse?: WithResponse | undefined;
3394
3394
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3395
- readonly id: string;
3396
- readonly updatedAt: Date;
3397
3395
  readonly description: string;
3398
- readonly title: string;
3399
- readonly categories: readonly {
3396
+ readonly id: string;
3397
+ readonly slug: string;
3398
+ readonly tags: readonly {
3399
+ readonly description: string;
3400
3400
  readonly id: number;
3401
3401
  readonly name: string;
3402
- readonly description: string;
3403
- readonly parent?: number | null | undefined;
3404
3402
  readonly slug: string;
3405
3403
  readonly meta: {
3406
3404
  readonly [x: string]: unknown;
3407
3405
  };
3408
3406
  }[];
3409
- readonly slug: string;
3410
- readonly parentFolder?: string | null | undefined;
3411
- readonly package: string;
3412
- readonly showOnNav: boolean;
3413
- readonly publishedAt: Date;
3414
- readonly contentLang: string;
3415
- readonly heroImage?: string | null | undefined;
3416
- readonly tags: readonly {
3407
+ readonly categories: readonly {
3408
+ readonly description: string;
3417
3409
  readonly id: number;
3418
3410
  readonly name: string;
3419
- readonly description: string;
3420
3411
  readonly slug: string;
3421
3412
  readonly meta: {
3422
3413
  readonly [x: string]: unknown;
3423
3414
  };
3415
+ readonly parent?: number | null | undefined;
3424
3416
  }[];
3417
+ readonly title: string;
3418
+ readonly updatedAt: Date;
3419
+ readonly package: string;
3420
+ readonly showOnNav: boolean;
3421
+ readonly publishedAt: Date;
3422
+ readonly contentLang: string;
3423
+ readonly heroImage?: string | null | undefined;
3425
3424
  readonly authorId: string;
3426
3425
  readonly contributorIds: readonly string[];
3427
3426
  readonly showAuthor: boolean;
3428
3427
  readonly showContributors: boolean;
3428
+ readonly parentFolder?: string | null | undefined;
3429
3429
  readonly draft: boolean;
3430
3430
  readonly augments: readonly string[];
3431
3431
  readonly multiLangContent: readonly {
3432
3432
  readonly id: string;
3433
+ readonly content: string;
3433
3434
  readonly contentLang: string;
3434
3435
  readonly contentId: string;
3435
- readonly content: string;
3436
3436
  }[];
3437
3437
  readonly defaultContent: {
3438
3438
  readonly id: string;
3439
+ readonly content: string;
3439
3440
  readonly contentLang: string;
3440
3441
  readonly contentId: string;
3441
- readonly content: string;
3442
3442
  } | undefined;
3443
3443
  readonly urlRoute: string;
3444
3444
  readonly authorData: {
3445
3445
  readonly id: string;
3446
- readonly url?: string | null | undefined;
3447
3446
  readonly name: string;
3447
+ readonly url?: string | null | undefined;
3448
3448
  readonly avatar?: string | null | undefined;
3449
3449
  readonly username: string;
3450
3450
  readonly updatedAt: Date;
@@ -3454,8 +3454,8 @@ export declare const apiClients: {
3454
3454
  } | undefined;
3455
3455
  readonly contributorsData: readonly {
3456
3456
  readonly id: string;
3457
- readonly url?: string | null | undefined;
3458
3457
  readonly name: string;
3458
+ readonly url?: string | null | undefined;
3459
3459
  readonly avatar?: string | null | undefined;
3460
3460
  readonly username: string;
3461
3461
  readonly updatedAt: Date;
@@ -3464,59 +3464,59 @@ export declare const apiClients: {
3464
3464
  readonly notifications?: string | null | undefined;
3465
3465
  }[];
3466
3466
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3467
- readonly id: string;
3468
- readonly updatedAt: Date;
3469
3467
  readonly description: string;
3470
- readonly title: string;
3471
- readonly categories: readonly {
3468
+ readonly id: string;
3469
+ readonly slug: string;
3470
+ readonly tags: readonly {
3471
+ readonly description: string;
3472
3472
  readonly id: number;
3473
3473
  readonly name: string;
3474
- readonly description: string;
3475
- readonly parent?: number | null | undefined;
3476
3474
  readonly slug: string;
3477
3475
  readonly meta: {
3478
3476
  readonly [x: string]: unknown;
3479
3477
  };
3480
3478
  }[];
3481
- readonly slug: string;
3482
- readonly parentFolder?: string | null | undefined;
3483
- readonly package: string;
3484
- readonly showOnNav: boolean;
3485
- readonly publishedAt: Date;
3486
- readonly contentLang: string;
3487
- readonly heroImage?: string | null | undefined;
3488
- readonly tags: readonly {
3479
+ readonly categories: readonly {
3480
+ readonly description: string;
3489
3481
  readonly id: number;
3490
3482
  readonly name: string;
3491
- readonly description: string;
3492
3483
  readonly slug: string;
3493
3484
  readonly meta: {
3494
3485
  readonly [x: string]: unknown;
3495
3486
  };
3487
+ readonly parent?: number | null | undefined;
3496
3488
  }[];
3489
+ readonly title: string;
3490
+ readonly updatedAt: Date;
3491
+ readonly package: string;
3492
+ readonly showOnNav: boolean;
3493
+ readonly publishedAt: Date;
3494
+ readonly contentLang: string;
3495
+ readonly heroImage?: string | null | undefined;
3497
3496
  readonly authorId: string;
3498
3497
  readonly contributorIds: readonly string[];
3499
3498
  readonly showAuthor: boolean;
3500
3499
  readonly showContributors: boolean;
3500
+ readonly parentFolder?: string | null | undefined;
3501
3501
  readonly draft: boolean;
3502
3502
  readonly augments: readonly string[];
3503
3503
  readonly multiLangContent: readonly {
3504
3504
  readonly id: string;
3505
+ readonly content: string;
3505
3506
  readonly contentLang: string;
3506
3507
  readonly contentId: string;
3507
- readonly content: string;
3508
3508
  }[];
3509
3509
  readonly defaultContent: {
3510
3510
  readonly id: string;
3511
+ readonly content: string;
3511
3512
  readonly contentLang: string;
3512
3513
  readonly contentId: string;
3513
- readonly content: string;
3514
3514
  } | undefined;
3515
3515
  readonly urlRoute: string;
3516
3516
  readonly authorData: {
3517
3517
  readonly id: string;
3518
- readonly url?: string | null | undefined;
3519
3518
  readonly name: string;
3519
+ readonly url?: string | null | undefined;
3520
3520
  readonly avatar?: string | null | undefined;
3521
3521
  readonly username: string;
3522
3522
  readonly updatedAt: Date;
@@ -3526,8 +3526,8 @@ export declare const apiClients: {
3526
3526
  } | undefined;
3527
3527
  readonly contributorsData: readonly {
3528
3528
  readonly id: string;
3529
- readonly url?: string | null | undefined;
3530
3529
  readonly name: string;
3530
+ readonly url?: string | null | undefined;
3531
3531
  readonly avatar?: string | null | undefined;
3532
3532
  readonly username: string;
3533
3533
  readonly updatedAt: Date;
@@ -3542,59 +3542,59 @@ export declare const apiClients: {
3542
3542
  };
3543
3543
  readonly withResponse?: WithResponse | undefined;
3544
3544
  }) => Effect.Effect<WithResponse extends true ? [{
3545
- readonly id: string;
3546
- readonly updatedAt: Date;
3547
3545
  readonly description: string;
3548
- readonly title: string;
3549
- readonly categories: readonly {
3546
+ readonly id: string;
3547
+ readonly slug: string;
3548
+ readonly tags: readonly {
3549
+ readonly description: string;
3550
3550
  readonly id: number;
3551
3551
  readonly name: string;
3552
- readonly description: string;
3553
- readonly parent?: number | null | undefined;
3554
3552
  readonly slug: string;
3555
3553
  readonly meta: {
3556
3554
  readonly [x: string]: unknown;
3557
3555
  };
3558
3556
  }[];
3559
- readonly slug: string;
3560
- readonly parentFolder?: string | null | undefined;
3561
- readonly package: string;
3562
- readonly showOnNav: boolean;
3563
- readonly publishedAt: Date;
3564
- readonly contentLang: string;
3565
- readonly heroImage?: string | null | undefined;
3566
- readonly tags: readonly {
3557
+ readonly categories: readonly {
3558
+ readonly description: string;
3567
3559
  readonly id: number;
3568
3560
  readonly name: string;
3569
- readonly description: string;
3570
3561
  readonly slug: string;
3571
3562
  readonly meta: {
3572
3563
  readonly [x: string]: unknown;
3573
3564
  };
3565
+ readonly parent?: number | null | undefined;
3574
3566
  }[];
3567
+ readonly title: string;
3568
+ readonly updatedAt: Date;
3569
+ readonly package: string;
3570
+ readonly showOnNav: boolean;
3571
+ readonly publishedAt: Date;
3572
+ readonly contentLang: string;
3573
+ readonly heroImage?: string | null | undefined;
3575
3574
  readonly authorId: string;
3576
3575
  readonly contributorIds: readonly string[];
3577
3576
  readonly showAuthor: boolean;
3578
3577
  readonly showContributors: boolean;
3578
+ readonly parentFolder?: string | null | undefined;
3579
3579
  readonly draft: boolean;
3580
3580
  readonly augments: readonly string[];
3581
3581
  readonly multiLangContent: readonly {
3582
3582
  readonly id: string;
3583
+ readonly content: string;
3583
3584
  readonly contentLang: string;
3584
3585
  readonly contentId: string;
3585
- readonly content: string;
3586
3586
  }[];
3587
3587
  readonly defaultContent: {
3588
3588
  readonly id: string;
3589
+ readonly content: string;
3589
3590
  readonly contentLang: string;
3590
3591
  readonly contentId: string;
3591
- readonly content: string;
3592
3592
  } | undefined;
3593
3593
  readonly urlRoute: string;
3594
3594
  readonly authorData: {
3595
3595
  readonly id: string;
3596
- readonly url?: string | null | undefined;
3597
3596
  readonly name: string;
3597
+ readonly url?: string | null | undefined;
3598
3598
  readonly avatar?: string | null | undefined;
3599
3599
  readonly username: string;
3600
3600
  readonly updatedAt: Date;
@@ -3604,8 +3604,8 @@ export declare const apiClients: {
3604
3604
  } | undefined;
3605
3605
  readonly contributorsData: readonly {
3606
3606
  readonly id: string;
3607
- readonly url?: string | null | undefined;
3608
3607
  readonly name: string;
3608
+ readonly url?: string | null | undefined;
3609
3609
  readonly avatar?: string | null | undefined;
3610
3610
  readonly username: string;
3611
3611
  readonly updatedAt: Date;
@@ -3614,59 +3614,59 @@ export declare const apiClients: {
3614
3614
  readonly notifications?: string | null | undefined;
3615
3615
  }[];
3616
3616
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3617
- readonly id: string;
3618
- readonly updatedAt: Date;
3619
3617
  readonly description: string;
3620
- readonly title: string;
3621
- readonly categories: readonly {
3618
+ readonly id: string;
3619
+ readonly slug: string;
3620
+ readonly tags: readonly {
3621
+ readonly description: string;
3622
3622
  readonly id: number;
3623
3623
  readonly name: string;
3624
- readonly description: string;
3625
- readonly parent?: number | null | undefined;
3626
3624
  readonly slug: string;
3627
3625
  readonly meta: {
3628
3626
  readonly [x: string]: unknown;
3629
3627
  };
3630
3628
  }[];
3631
- readonly slug: string;
3632
- readonly parentFolder?: string | null | undefined;
3633
- readonly package: string;
3634
- readonly showOnNav: boolean;
3635
- readonly publishedAt: Date;
3636
- readonly contentLang: string;
3637
- readonly heroImage?: string | null | undefined;
3638
- readonly tags: readonly {
3629
+ readonly categories: readonly {
3630
+ readonly description: string;
3639
3631
  readonly id: number;
3640
3632
  readonly name: string;
3641
- readonly description: string;
3642
3633
  readonly slug: string;
3643
3634
  readonly meta: {
3644
3635
  readonly [x: string]: unknown;
3645
3636
  };
3637
+ readonly parent?: number | null | undefined;
3646
3638
  }[];
3639
+ readonly title: string;
3640
+ readonly updatedAt: Date;
3641
+ readonly package: string;
3642
+ readonly showOnNav: boolean;
3643
+ readonly publishedAt: Date;
3644
+ readonly contentLang: string;
3645
+ readonly heroImage?: string | null | undefined;
3647
3646
  readonly authorId: string;
3648
3647
  readonly contributorIds: readonly string[];
3649
3648
  readonly showAuthor: boolean;
3650
3649
  readonly showContributors: boolean;
3650
+ readonly parentFolder?: string | null | undefined;
3651
3651
  readonly draft: boolean;
3652
3652
  readonly augments: readonly string[];
3653
3653
  readonly multiLangContent: readonly {
3654
3654
  readonly id: string;
3655
+ readonly content: string;
3655
3656
  readonly contentLang: string;
3656
3657
  readonly contentId: string;
3657
- readonly content: string;
3658
3658
  }[];
3659
3659
  readonly defaultContent: {
3660
3660
  readonly id: string;
3661
+ readonly content: string;
3661
3662
  readonly contentLang: string;
3662
3663
  readonly contentId: string;
3663
- readonly content: string;
3664
3664
  } | undefined;
3665
3665
  readonly urlRoute: string;
3666
3666
  readonly authorData: {
3667
3667
  readonly id: string;
3668
- readonly url?: string | null | undefined;
3669
3668
  readonly name: string;
3669
+ readonly url?: string | null | undefined;
3670
3670
  readonly avatar?: string | null | undefined;
3671
3671
  readonly username: string;
3672
3672
  readonly updatedAt: Date;
@@ -3676,8 +3676,8 @@ export declare const apiClients: {
3676
3676
  } | undefined;
3677
3677
  readonly contributorsData: readonly {
3678
3678
  readonly id: string;
3679
- readonly url?: string | null | undefined;
3680
3679
  readonly name: string;
3680
+ readonly url?: string | null | undefined;
3681
3681
  readonly avatar?: string | null | undefined;
3682
3682
  readonly username: string;
3683
3683
  readonly updatedAt: Date;
@@ -3692,17 +3692,17 @@ export declare const apiClients: {
3692
3692
  };
3693
3693
  readonly withResponse?: WithResponse | undefined;
3694
3694
  }) => Effect.Effect<WithResponse extends true ? [readonly {
3695
+ readonly description: string;
3695
3696
  readonly id: number;
3696
3697
  readonly name: string;
3697
- readonly description: string;
3698
3698
  readonly slug: string;
3699
3699
  readonly meta: {
3700
3700
  readonly [x: string]: unknown;
3701
3701
  };
3702
3702
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3703
+ readonly description: string;
3703
3704
  readonly id: number;
3704
3705
  readonly name: string;
3705
- readonly description: string;
3706
3706
  readonly slug: string;
3707
3707
  readonly meta: {
3708
3708
  readonly [x: string]: unknown;
@@ -3714,251 +3714,144 @@ export declare const apiClients: {
3714
3714
  };
3715
3715
  readonly withResponse?: WithResponse | undefined;
3716
3716
  }) => Effect.Effect<WithResponse extends true ? [{
3717
+ readonly description: string;
3717
3718
  readonly id: number;
3718
3719
  readonly name: string;
3719
- readonly description: string;
3720
3720
  readonly slug: string;
3721
3721
  readonly meta: {
3722
3722
  readonly [x: string]: unknown;
3723
3723
  };
3724
3724
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3725
+ readonly description: string;
3725
3726
  readonly id: number;
3726
3727
  readonly name: string;
3727
- readonly description: string;
3728
3728
  readonly slug: string;
3729
- readonly meta: {
3730
- readonly [x: string]: unknown;
3731
- };
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: {
3735
- readonly getUsers: <WithResponse extends boolean = false>(request: {
3736
- readonly urlParams: {
3737
- readonly name?: string | undefined;
3738
- readonly username?: string | undefined;
3739
- readonly rank?: string | undefined;
3740
- };
3741
- readonly withResponse?: WithResponse | undefined;
3742
- }) => Effect.Effect<WithResponse extends true ? [readonly {
3743
- readonly id: string;
3744
- readonly url?: string | null | undefined;
3745
- readonly name: string;
3746
- readonly email?: string | null | undefined;
3747
- readonly avatar?: string | null | undefined;
3748
- readonly username: string;
3749
- readonly updatedAt: Date;
3750
- readonly createdAt: Date;
3751
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3752
- readonly id: string;
3753
- readonly url?: string | null | undefined;
3754
- readonly name: string;
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: {
3784
- readonly path: {
3785
- readonly id: string;
3786
- };
3787
- readonly withResponse?: WithResponse | undefined;
3788
- }) => Effect.Effect<WithResponse extends true ? [{
3789
- readonly id: string;
3790
- readonly url?: string | null | undefined;
3791
- readonly name: string;
3792
- readonly email?: string | null | undefined;
3793
- readonly avatar?: string | null | undefined;
3794
- readonly username: string;
3795
- readonly updatedAt: Date;
3796
- readonly createdAt: Date;
3797
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3798
- readonly id: string;
3799
- readonly url?: string | null | undefined;
3800
- readonly name: string;
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 deleteCategory: <WithResponse extends boolean = false>(request: {
3843
- readonly path: {
3844
- readonly id: number;
3845
- };
3846
- readonly withResponse?: WithResponse | undefined;
3847
- }) => Effect.Effect<WithResponse extends true ? [{
3848
- readonly success: boolean;
3849
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3850
- readonly success: boolean;
3851
- }, 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>;
3852
- readonly getCategory: <WithResponse extends boolean = false>(request: {
3853
- readonly path: {
3854
- readonly id: number;
3729
+ readonly meta: {
3730
+ readonly [x: string]: unknown;
3731
+ };
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: {
3735
+ readonly getCategories: <WithResponse extends boolean = false>(request: {
3736
+ readonly urlParams: {
3737
+ readonly name?: string | undefined;
3738
+ readonly parent?: number | undefined;
3855
3739
  };
3856
3740
  readonly withResponse?: WithResponse | undefined;
3857
- }) => Effect.Effect<WithResponse extends true ? [{
3741
+ }) => Effect.Effect<WithResponse extends true ? [readonly {
3742
+ readonly description: string;
3858
3743
  readonly id: number;
3859
3744
  readonly name: string;
3860
- readonly description: string;
3861
- readonly parent?: number | null | undefined;
3862
3745
  readonly slug: string;
3863
3746
  readonly meta: {
3864
3747
  readonly [x: string]: unknown;
3865
3748
  };
3866
- }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3749
+ readonly parent?: number | null | undefined;
3750
+ }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3751
+ readonly description: string;
3867
3752
  readonly id: number;
3868
3753
  readonly name: string;
3869
- readonly description: string;
3870
- readonly parent?: number | null | undefined;
3871
3754
  readonly slug: string;
3872
3755
  readonly meta: {
3873
3756
  readonly [x: string]: unknown;
3874
3757
  };
3875
- }, 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>;
3876
- readonly updateCategory: <WithResponse extends boolean = false>(request: {
3877
- readonly path: {
3878
- readonly id: number;
3879
- };
3758
+ readonly parent?: number | null | undefined;
3759
+ }[], 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>;
3760
+ readonly createCategory: <WithResponse extends boolean = false>(request: {
3880
3761
  readonly payload: {
3881
- readonly id?: number | undefined;
3882
- readonly name?: string | undefined;
3883
- readonly description?: string | undefined;
3762
+ readonly description: string;
3763
+ readonly name: string;
3764
+ readonly slug: string;
3765
+ readonly meta: string;
3884
3766
  readonly parent?: number | null | undefined;
3885
- readonly slug?: string | undefined;
3886
- readonly meta?: {
3887
- readonly [x: string]: unknown;
3888
- } | undefined;
3889
3767
  };
3890
3768
  readonly withResponse?: WithResponse | undefined;
3891
3769
  }) => Effect.Effect<WithResponse extends true ? [{
3770
+ readonly description: string;
3892
3771
  readonly id: number;
3893
3772
  readonly name: string;
3894
- readonly description: string;
3895
- readonly parent?: number | null | undefined;
3896
3773
  readonly slug: string;
3897
3774
  readonly meta: {
3898
3775
  readonly [x: string]: unknown;
3899
3776
  };
3777
+ readonly parent?: number | null | undefined;
3900
3778
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3779
+ readonly description: string;
3901
3780
  readonly id: number;
3902
3781
  readonly name: string;
3903
- readonly description: string;
3904
- readonly parent?: number | null | undefined;
3905
3782
  readonly slug: string;
3906
3783
  readonly meta: {
3907
3784
  readonly [x: string]: unknown;
3908
3785
  };
3786
+ readonly parent?: number | null | undefined;
3909
3787
  }, 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>;
3910
- readonly getCategories: <WithResponse extends boolean = false>(request: {
3911
- readonly urlParams: {
3912
- readonly name?: string | undefined;
3913
- readonly parent?: number | undefined;
3788
+ readonly getCategory: <WithResponse extends boolean = false>(request: {
3789
+ readonly path: {
3790
+ readonly id: number;
3914
3791
  };
3915
3792
  readonly withResponse?: WithResponse | undefined;
3916
- }) => Effect.Effect<WithResponse extends true ? [readonly {
3793
+ }) => Effect.Effect<WithResponse extends true ? [{
3794
+ readonly description: string;
3917
3795
  readonly id: number;
3918
3796
  readonly name: string;
3919
- readonly description: string;
3920
- readonly parent?: number | null | undefined;
3921
3797
  readonly slug: string;
3922
3798
  readonly meta: {
3923
3799
  readonly [x: string]: unknown;
3924
3800
  };
3925
- }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
3801
+ readonly parent?: number | null | undefined;
3802
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3803
+ readonly description: string;
3926
3804
  readonly id: number;
3927
3805
  readonly name: string;
3928
- readonly description: string;
3929
- readonly parent?: number | null | undefined;
3930
3806
  readonly slug: string;
3931
3807
  readonly meta: {
3932
3808
  readonly [x: string]: unknown;
3933
3809
  };
3934
- }[], import("effect/ParseResult").ParseError | import("@effect/platform/HttpApiError").HttpApiDecodeError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/errors.d.mts").RestAPIError | import("node_modules/@withstudiocms/api-spec/dist/rest-api/middleware.d.mts").Unauthorized | import("@effect/platform/HttpClientError").HttpClientError, never>;
3935
- readonly createCategory: <WithResponse extends boolean = false>(request: {
3810
+ readonly parent?: number | null | undefined;
3811
+ }, 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>;
3812
+ readonly updateCategory: <WithResponse extends boolean = false>(request: {
3813
+ readonly path: {
3814
+ readonly id: number;
3815
+ };
3936
3816
  readonly payload: {
3937
- readonly name: string;
3938
- readonly description: string;
3817
+ readonly description?: string | undefined;
3818
+ readonly id?: number | undefined;
3819
+ readonly name?: string | undefined;
3820
+ readonly slug?: string | undefined;
3821
+ readonly meta?: {
3822
+ readonly [x: string]: unknown;
3823
+ } | undefined;
3939
3824
  readonly parent?: number | null | undefined;
3940
- readonly slug: string;
3941
- readonly meta: string;
3942
3825
  };
3943
3826
  readonly withResponse?: WithResponse | undefined;
3944
3827
  }) => Effect.Effect<WithResponse extends true ? [{
3828
+ readonly description: string;
3945
3829
  readonly id: number;
3946
3830
  readonly name: string;
3947
- readonly description: string;
3948
- readonly parent?: number | null | undefined;
3949
3831
  readonly slug: string;
3950
3832
  readonly meta: {
3951
3833
  readonly [x: string]: unknown;
3952
3834
  };
3835
+ readonly parent?: number | null | undefined;
3953
3836
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3837
+ readonly description: string;
3954
3838
  readonly id: number;
3955
3839
  readonly name: string;
3956
- readonly description: string;
3957
- readonly parent?: number | null | undefined;
3958
3840
  readonly slug: string;
3959
3841
  readonly meta: {
3960
3842
  readonly [x: string]: unknown;
3961
3843
  };
3844
+ readonly parent?: number | null | undefined;
3845
+ }, 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>;
3846
+ readonly deleteCategory: <WithResponse extends boolean = false>(request: {
3847
+ readonly path: {
3848
+ readonly id: number;
3849
+ };
3850
+ readonly withResponse?: WithResponse | undefined;
3851
+ }) => Effect.Effect<WithResponse extends true ? [{
3852
+ readonly success: boolean;
3853
+ }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
3854
+ readonly success: boolean;
3962
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>;
3963
3856
  readonly deleteFolder: <WithResponse extends boolean = false>(request: {
3964
3857
  readonly path: {
@@ -4040,59 +3933,59 @@ export declare const apiClients: {
4040
3933
  };
4041
3934
  readonly withResponse?: WithResponse | undefined;
4042
3935
  }) => Effect.Effect<WithResponse extends true ? [{
4043
- readonly id: string;
4044
- readonly updatedAt: Date;
4045
3936
  readonly description: string;
4046
- readonly title: string;
4047
- readonly categories: readonly {
3937
+ readonly id: string;
3938
+ readonly slug: string;
3939
+ readonly tags: readonly {
3940
+ readonly description: string;
4048
3941
  readonly id: number;
4049
3942
  readonly name: string;
4050
- readonly description: string;
4051
- readonly parent?: number | null | undefined;
4052
3943
  readonly slug: string;
4053
3944
  readonly meta: {
4054
3945
  readonly [x: string]: unknown;
4055
3946
  };
4056
3947
  }[];
4057
- readonly slug: string;
4058
- readonly parentFolder?: string | null | undefined;
4059
- readonly package: string;
4060
- readonly showOnNav: boolean;
4061
- readonly publishedAt: Date;
4062
- readonly contentLang: string;
4063
- readonly heroImage?: string | null | undefined;
4064
- readonly tags: readonly {
3948
+ readonly categories: readonly {
3949
+ readonly description: string;
4065
3950
  readonly id: number;
4066
3951
  readonly name: string;
4067
- readonly description: string;
4068
3952
  readonly slug: string;
4069
3953
  readonly meta: {
4070
3954
  readonly [x: string]: unknown;
4071
3955
  };
3956
+ readonly parent?: number | null | undefined;
4072
3957
  }[];
3958
+ readonly title: string;
3959
+ readonly updatedAt: Date;
3960
+ readonly package: string;
3961
+ readonly showOnNav: boolean;
3962
+ readonly publishedAt: Date;
3963
+ readonly contentLang: string;
3964
+ readonly heroImage?: string | null | undefined;
4073
3965
  readonly authorId: string;
4074
3966
  readonly contributorIds: readonly string[];
4075
3967
  readonly showAuthor: boolean;
4076
3968
  readonly showContributors: boolean;
3969
+ readonly parentFolder?: string | null | undefined;
4077
3970
  readonly draft: boolean;
4078
3971
  readonly augments: readonly string[];
4079
3972
  readonly multiLangContent: readonly {
4080
3973
  readonly id: string;
3974
+ readonly content: string;
4081
3975
  readonly contentLang: string;
4082
3976
  readonly contentId: string;
4083
- readonly content: string;
4084
3977
  }[];
4085
3978
  readonly defaultContent: {
4086
3979
  readonly id: string;
3980
+ readonly content: string;
4087
3981
  readonly contentLang: string;
4088
3982
  readonly contentId: string;
4089
- readonly content: string;
4090
3983
  } | undefined;
4091
3984
  readonly urlRoute: string;
4092
3985
  readonly authorData: {
4093
3986
  readonly id: string;
4094
- readonly url?: string | null | undefined;
4095
3987
  readonly name: string;
3988
+ readonly url?: string | null | undefined;
4096
3989
  readonly avatar?: string | null | undefined;
4097
3990
  readonly username: string;
4098
3991
  readonly updatedAt: Date;
@@ -4102,8 +3995,8 @@ export declare const apiClients: {
4102
3995
  } | undefined;
4103
3996
  readonly contributorsData: readonly {
4104
3997
  readonly id: string;
4105
- readonly url?: string | null | undefined;
4106
3998
  readonly name: string;
3999
+ readonly url?: string | null | undefined;
4107
4000
  readonly avatar?: string | null | undefined;
4108
4001
  readonly username: string;
4109
4002
  readonly updatedAt: Date;
@@ -4112,59 +4005,59 @@ export declare const apiClients: {
4112
4005
  readonly notifications?: string | null | undefined;
4113
4006
  }[];
4114
4007
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4115
- readonly id: string;
4116
- readonly updatedAt: Date;
4117
4008
  readonly description: string;
4118
- readonly title: string;
4119
- readonly categories: readonly {
4009
+ readonly id: string;
4010
+ readonly slug: string;
4011
+ readonly tags: readonly {
4012
+ readonly description: string;
4120
4013
  readonly id: number;
4121
4014
  readonly name: string;
4122
- readonly description: string;
4123
- readonly parent?: number | null | undefined;
4124
4015
  readonly slug: string;
4125
4016
  readonly meta: {
4126
4017
  readonly [x: string]: unknown;
4127
4018
  };
4128
4019
  }[];
4129
- readonly slug: string;
4130
- readonly parentFolder?: string | null | undefined;
4131
- readonly package: string;
4132
- readonly showOnNav: boolean;
4133
- readonly publishedAt: Date;
4134
- readonly contentLang: string;
4135
- readonly heroImage?: string | null | undefined;
4136
- readonly tags: readonly {
4020
+ readonly categories: readonly {
4021
+ readonly description: string;
4137
4022
  readonly id: number;
4138
4023
  readonly name: string;
4139
- readonly description: string;
4140
4024
  readonly slug: string;
4141
4025
  readonly meta: {
4142
4026
  readonly [x: string]: unknown;
4143
4027
  };
4028
+ readonly parent?: number | null | undefined;
4144
4029
  }[];
4030
+ readonly title: string;
4031
+ readonly updatedAt: Date;
4032
+ readonly package: string;
4033
+ readonly showOnNav: boolean;
4034
+ readonly publishedAt: Date;
4035
+ readonly contentLang: string;
4036
+ readonly heroImage?: string | null | undefined;
4145
4037
  readonly authorId: string;
4146
4038
  readonly contributorIds: readonly string[];
4147
4039
  readonly showAuthor: boolean;
4148
4040
  readonly showContributors: boolean;
4041
+ readonly parentFolder?: string | null | undefined;
4149
4042
  readonly draft: boolean;
4150
4043
  readonly augments: readonly string[];
4151
4044
  readonly multiLangContent: readonly {
4152
4045
  readonly id: string;
4046
+ readonly content: string;
4153
4047
  readonly contentLang: string;
4154
4048
  readonly contentId: string;
4155
- readonly content: string;
4156
4049
  }[];
4157
4050
  readonly defaultContent: {
4158
4051
  readonly id: string;
4052
+ readonly content: string;
4159
4053
  readonly contentLang: string;
4160
4054
  readonly contentId: string;
4161
- readonly content: string;
4162
4055
  } | undefined;
4163
4056
  readonly urlRoute: string;
4164
4057
  readonly authorData: {
4165
4058
  readonly id: string;
4166
- readonly url?: string | null | undefined;
4167
4059
  readonly name: string;
4060
+ readonly url?: string | null | undefined;
4168
4061
  readonly avatar?: string | null | undefined;
4169
4062
  readonly username: string;
4170
4063
  readonly updatedAt: Date;
@@ -4174,8 +4067,8 @@ export declare const apiClients: {
4174
4067
  } | undefined;
4175
4068
  readonly contributorsData: readonly {
4176
4069
  readonly id: string;
4177
- readonly url?: string | null | undefined;
4178
4070
  readonly name: string;
4071
+ readonly url?: string | null | undefined;
4179
4072
  readonly avatar?: string | null | undefined;
4180
4073
  readonly username: string;
4181
4074
  readonly updatedAt: Date;
@@ -4199,44 +4092,44 @@ export declare const apiClients: {
4199
4092
  readonly diff: string | null;
4200
4093
  readonly pageMetaData: {
4201
4094
  readonly start: {
4202
- readonly id: string;
4203
- readonly updatedAt: Date;
4204
4095
  readonly description: string;
4205
- readonly title: string;
4206
- readonly categories: readonly string[];
4096
+ readonly id: string;
4207
4097
  readonly slug: string;
4208
- readonly parentFolder?: string | null | undefined;
4098
+ readonly tags: readonly string[];
4099
+ readonly categories: readonly string[];
4100
+ readonly title: string;
4101
+ readonly updatedAt: Date;
4209
4102
  readonly package: string;
4210
4103
  readonly showOnNav: boolean;
4211
4104
  readonly publishedAt: Date;
4212
4105
  readonly contentLang: string;
4213
4106
  readonly heroImage?: string | null | undefined;
4214
- readonly tags: readonly string[];
4215
4107
  readonly authorId: string;
4216
4108
  readonly contributorIds: readonly string[];
4217
4109
  readonly showAuthor: boolean;
4218
4110
  readonly showContributors: boolean;
4111
+ readonly parentFolder?: string | null | undefined;
4219
4112
  readonly draft: boolean;
4220
4113
  readonly augments: readonly string[];
4221
4114
  };
4222
4115
  readonly end: {
4223
- readonly id: string;
4224
- readonly updatedAt: Date;
4225
4116
  readonly description: string;
4226
- readonly title: string;
4227
- readonly categories: readonly string[];
4117
+ readonly id: string;
4228
4118
  readonly slug: string;
4229
- readonly parentFolder?: string | null | undefined;
4119
+ readonly tags: readonly string[];
4120
+ readonly categories: readonly string[];
4121
+ readonly title: string;
4122
+ readonly updatedAt: Date;
4230
4123
  readonly package: string;
4231
4124
  readonly showOnNav: boolean;
4232
4125
  readonly publishedAt: Date;
4233
4126
  readonly contentLang: string;
4234
4127
  readonly heroImage?: string | null | undefined;
4235
- readonly tags: readonly string[];
4236
4128
  readonly authorId: string;
4237
4129
  readonly contributorIds: readonly string[];
4238
4130
  readonly showAuthor: boolean;
4239
4131
  readonly showContributors: boolean;
4132
+ readonly parentFolder?: string | null | undefined;
4240
4133
  readonly draft: boolean;
4241
4134
  readonly augments: readonly string[];
4242
4135
  };
@@ -4250,44 +4143,44 @@ export declare const apiClients: {
4250
4143
  readonly diff: string | null;
4251
4144
  readonly pageMetaData: {
4252
4145
  readonly start: {
4253
- readonly id: string;
4254
- readonly updatedAt: Date;
4255
4146
  readonly description: string;
4256
- readonly title: string;
4257
- readonly categories: readonly string[];
4147
+ readonly id: string;
4258
4148
  readonly slug: string;
4259
- readonly parentFolder?: string | null | undefined;
4149
+ readonly tags: readonly string[];
4150
+ readonly categories: readonly string[];
4151
+ readonly title: string;
4152
+ readonly updatedAt: Date;
4260
4153
  readonly package: string;
4261
4154
  readonly showOnNav: boolean;
4262
4155
  readonly publishedAt: Date;
4263
4156
  readonly contentLang: string;
4264
4157
  readonly heroImage?: string | null | undefined;
4265
- readonly tags: readonly string[];
4266
4158
  readonly authorId: string;
4267
4159
  readonly contributorIds: readonly string[];
4268
4160
  readonly showAuthor: boolean;
4269
4161
  readonly showContributors: boolean;
4162
+ readonly parentFolder?: string | null | undefined;
4270
4163
  readonly draft: boolean;
4271
4164
  readonly augments: readonly string[];
4272
4165
  };
4273
4166
  readonly end: {
4274
- readonly id: string;
4275
- readonly updatedAt: Date;
4276
4167
  readonly description: string;
4277
- readonly title: string;
4278
- readonly categories: readonly string[];
4168
+ readonly id: string;
4279
4169
  readonly slug: string;
4280
- readonly parentFolder?: string | null | undefined;
4170
+ readonly tags: readonly string[];
4171
+ readonly categories: readonly string[];
4172
+ readonly title: string;
4173
+ readonly updatedAt: Date;
4281
4174
  readonly package: string;
4282
4175
  readonly showOnNav: boolean;
4283
4176
  readonly publishedAt: Date;
4284
4177
  readonly contentLang: string;
4285
4178
  readonly heroImage?: string | null | undefined;
4286
- readonly tags: readonly string[];
4287
4179
  readonly authorId: string;
4288
4180
  readonly contributorIds: readonly string[];
4289
4181
  readonly showAuthor: boolean;
4290
4182
  readonly showContributors: boolean;
4183
+ readonly parentFolder?: string | null | undefined;
4291
4184
  readonly draft: boolean;
4292
4185
  readonly augments: readonly string[];
4293
4186
  };
@@ -4310,44 +4203,44 @@ export declare const apiClients: {
4310
4203
  readonly diff: string | null;
4311
4204
  readonly pageMetaData: {
4312
4205
  readonly start: {
4313
- readonly id: string;
4314
- readonly updatedAt: Date;
4315
4206
  readonly description: string;
4316
- readonly title: string;
4317
- readonly categories: readonly string[];
4207
+ readonly id: string;
4318
4208
  readonly slug: string;
4319
- readonly parentFolder?: string | null | undefined;
4209
+ readonly tags: readonly string[];
4210
+ readonly categories: readonly string[];
4211
+ readonly title: string;
4212
+ readonly updatedAt: Date;
4320
4213
  readonly package: string;
4321
4214
  readonly showOnNav: boolean;
4322
4215
  readonly publishedAt: Date;
4323
4216
  readonly contentLang: string;
4324
4217
  readonly heroImage?: string | null | undefined;
4325
- readonly tags: readonly string[];
4326
4218
  readonly authorId: string;
4327
4219
  readonly contributorIds: readonly string[];
4328
4220
  readonly showAuthor: boolean;
4329
4221
  readonly showContributors: boolean;
4222
+ readonly parentFolder?: string | null | undefined;
4330
4223
  readonly draft: boolean;
4331
4224
  readonly augments: readonly string[];
4332
4225
  };
4333
4226
  readonly end: {
4334
- readonly id: string;
4335
- readonly updatedAt: Date;
4336
4227
  readonly description: string;
4337
- readonly title: string;
4338
- readonly categories: readonly string[];
4228
+ readonly id: string;
4339
4229
  readonly slug: string;
4340
- readonly parentFolder?: string | null | undefined;
4230
+ readonly tags: readonly string[];
4231
+ readonly categories: readonly string[];
4232
+ readonly title: string;
4233
+ readonly updatedAt: Date;
4341
4234
  readonly package: string;
4342
4235
  readonly showOnNav: boolean;
4343
4236
  readonly publishedAt: Date;
4344
4237
  readonly contentLang: string;
4345
4238
  readonly heroImage?: string | null | undefined;
4346
- readonly tags: readonly string[];
4347
4239
  readonly authorId: string;
4348
4240
  readonly contributorIds: readonly string[];
4349
4241
  readonly showAuthor: boolean;
4350
4242
  readonly showContributors: boolean;
4243
+ readonly parentFolder?: string | null | undefined;
4351
4244
  readonly draft: boolean;
4352
4245
  readonly augments: readonly string[];
4353
4246
  };
@@ -4361,44 +4254,44 @@ export declare const apiClients: {
4361
4254
  readonly diff: string | null;
4362
4255
  readonly pageMetaData: {
4363
4256
  readonly start: {
4364
- readonly id: string;
4365
- readonly updatedAt: Date;
4366
- readonly description: string;
4367
- readonly title: string;
4368
- readonly categories: readonly string[];
4257
+ readonly description: string;
4258
+ readonly id: string;
4369
4259
  readonly slug: string;
4370
- readonly parentFolder?: string | null | undefined;
4260
+ readonly tags: readonly string[];
4261
+ readonly categories: readonly string[];
4262
+ readonly title: string;
4263
+ readonly updatedAt: Date;
4371
4264
  readonly package: string;
4372
4265
  readonly showOnNav: boolean;
4373
4266
  readonly publishedAt: Date;
4374
4267
  readonly contentLang: string;
4375
4268
  readonly heroImage?: string | null | undefined;
4376
- readonly tags: readonly string[];
4377
4269
  readonly authorId: string;
4378
4270
  readonly contributorIds: readonly string[];
4379
4271
  readonly showAuthor: boolean;
4380
4272
  readonly showContributors: boolean;
4273
+ readonly parentFolder?: string | null | undefined;
4381
4274
  readonly draft: boolean;
4382
4275
  readonly augments: readonly string[];
4383
4276
  };
4384
4277
  readonly end: {
4385
- readonly id: string;
4386
- readonly updatedAt: Date;
4387
4278
  readonly description: string;
4388
- readonly title: string;
4389
- readonly categories: readonly string[];
4279
+ readonly id: string;
4390
4280
  readonly slug: string;
4391
- readonly parentFolder?: string | null | undefined;
4281
+ readonly tags: readonly string[];
4282
+ readonly categories: readonly string[];
4283
+ readonly title: string;
4284
+ readonly updatedAt: Date;
4392
4285
  readonly package: string;
4393
4286
  readonly showOnNav: boolean;
4394
4287
  readonly publishedAt: Date;
4395
4288
  readonly contentLang: string;
4396
4289
  readonly heroImage?: string | null | undefined;
4397
- readonly tags: readonly string[];
4398
4290
  readonly authorId: string;
4399
4291
  readonly contributorIds: readonly string[];
4400
4292
  readonly showAuthor: boolean;
4401
4293
  readonly showContributors: boolean;
4294
+ readonly parentFolder?: string | null | undefined;
4402
4295
  readonly draft: boolean;
4403
4296
  readonly augments: readonly string[];
4404
4297
  };
@@ -4410,31 +4303,31 @@ export declare const apiClients: {
4410
4303
  };
4411
4304
  readonly payload: {
4412
4305
  readonly data?: {
4413
- readonly id?: string | undefined;
4414
- readonly updatedAt?: Date | undefined;
4415
4306
  readonly description?: string | undefined;
4416
- readonly title?: string | undefined;
4417
- readonly categories?: readonly string[] | undefined;
4307
+ readonly id?: string | undefined;
4418
4308
  readonly slug?: string | undefined;
4419
- readonly parentFolder?: string | null | undefined;
4309
+ readonly tags?: readonly string[] | undefined;
4310
+ readonly categories?: readonly string[] | undefined;
4311
+ readonly title?: string | undefined;
4312
+ readonly updatedAt?: Date | undefined;
4420
4313
  readonly package?: string | undefined;
4421
4314
  readonly showOnNav?: boolean | undefined;
4422
4315
  readonly publishedAt?: Date | undefined;
4423
4316
  readonly contentLang?: string | undefined;
4424
4317
  readonly heroImage?: string | null | undefined;
4425
- readonly tags?: readonly string[] | undefined;
4426
4318
  readonly authorId?: string | undefined;
4427
4319
  readonly contributorIds?: readonly string[] | undefined;
4428
4320
  readonly showAuthor?: boolean | undefined;
4429
4321
  readonly showContributors?: boolean | undefined;
4322
+ readonly parentFolder?: string | null | undefined;
4430
4323
  readonly draft?: boolean | undefined;
4431
4324
  readonly augments?: readonly string[] | undefined;
4432
4325
  } | undefined;
4433
4326
  readonly content?: {
4434
4327
  readonly id?: string | undefined;
4328
+ readonly content?: string | undefined;
4435
4329
  readonly contentLang?: string | undefined;
4436
4330
  readonly contentId?: string | undefined;
4437
- readonly content?: string | undefined;
4438
4331
  } | undefined;
4439
4332
  };
4440
4333
  readonly withResponse?: WithResponse | undefined;
@@ -4445,68 +4338,68 @@ export declare const apiClients: {
4445
4338
  }, 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>;
4446
4339
  readonly getPages: <WithResponse extends boolean = false>(request: {
4447
4340
  readonly urlParams: {
4448
- readonly title?: string | undefined;
4449
4341
  readonly slug?: string | undefined;
4450
- readonly author?: string | undefined;
4342
+ readonly title?: string | undefined;
4451
4343
  readonly parentFolder?: string | undefined;
4452
4344
  readonly draft?: boolean | undefined;
4345
+ readonly author?: string | undefined;
4453
4346
  readonly published?: boolean | undefined;
4454
4347
  };
4455
4348
  readonly withResponse?: WithResponse | undefined;
4456
4349
  }) => Effect.Effect<WithResponse extends true ? [readonly {
4457
- readonly id: string;
4458
- readonly updatedAt: Date;
4459
4350
  readonly description: string;
4460
- readonly title: string;
4461
- readonly categories: readonly {
4351
+ readonly id: string;
4352
+ readonly slug: string;
4353
+ readonly tags: readonly {
4354
+ readonly description: string;
4462
4355
  readonly id: number;
4463
4356
  readonly name: string;
4464
- readonly description: string;
4465
- readonly parent?: number | null | undefined;
4466
4357
  readonly slug: string;
4467
4358
  readonly meta: {
4468
4359
  readonly [x: string]: unknown;
4469
4360
  };
4470
4361
  }[];
4471
- readonly slug: string;
4472
- readonly parentFolder?: string | null | undefined;
4473
- readonly package: string;
4474
- readonly showOnNav: boolean;
4475
- readonly publishedAt: Date;
4476
- readonly contentLang: string;
4477
- readonly heroImage?: string | null | undefined;
4478
- readonly tags: readonly {
4362
+ readonly categories: readonly {
4363
+ readonly description: string;
4479
4364
  readonly id: number;
4480
4365
  readonly name: string;
4481
- readonly description: string;
4482
4366
  readonly slug: string;
4483
4367
  readonly meta: {
4484
4368
  readonly [x: string]: unknown;
4485
4369
  };
4370
+ readonly parent?: number | null | undefined;
4486
4371
  }[];
4372
+ readonly title: string;
4373
+ readonly updatedAt: Date;
4374
+ readonly package: string;
4375
+ readonly showOnNav: boolean;
4376
+ readonly publishedAt: Date;
4377
+ readonly contentLang: string;
4378
+ readonly heroImage?: string | null | undefined;
4487
4379
  readonly authorId: string;
4488
4380
  readonly contributorIds: readonly string[];
4489
4381
  readonly showAuthor: boolean;
4490
4382
  readonly showContributors: boolean;
4383
+ readonly parentFolder?: string | null | undefined;
4491
4384
  readonly draft: boolean;
4492
4385
  readonly augments: readonly string[];
4493
4386
  readonly multiLangContent: readonly {
4494
4387
  readonly id: string;
4388
+ readonly content: string;
4495
4389
  readonly contentLang: string;
4496
4390
  readonly contentId: string;
4497
- readonly content: string;
4498
4391
  }[];
4499
4392
  readonly defaultContent: {
4500
4393
  readonly id: string;
4394
+ readonly content: string;
4501
4395
  readonly contentLang: string;
4502
4396
  readonly contentId: string;
4503
- readonly content: string;
4504
4397
  } | undefined;
4505
4398
  readonly urlRoute: string;
4506
4399
  readonly authorData: {
4507
4400
  readonly id: string;
4508
- readonly url?: string | null | undefined;
4509
4401
  readonly name: string;
4402
+ readonly url?: string | null | undefined;
4510
4403
  readonly avatar?: string | null | undefined;
4511
4404
  readonly username: string;
4512
4405
  readonly updatedAt: Date;
@@ -4516,8 +4409,8 @@ export declare const apiClients: {
4516
4409
  } | undefined;
4517
4410
  readonly contributorsData: readonly {
4518
4411
  readonly id: string;
4519
- readonly url?: string | null | undefined;
4520
4412
  readonly name: string;
4413
+ readonly url?: string | null | undefined;
4521
4414
  readonly avatar?: string | null | undefined;
4522
4415
  readonly username: string;
4523
4416
  readonly updatedAt: Date;
@@ -4526,59 +4419,59 @@ export declare const apiClients: {
4526
4419
  readonly notifications?: string | null | undefined;
4527
4420
  }[];
4528
4421
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
4529
- readonly id: string;
4530
- readonly updatedAt: Date;
4531
4422
  readonly description: string;
4532
- readonly title: string;
4533
- readonly categories: readonly {
4423
+ readonly id: string;
4424
+ readonly slug: string;
4425
+ readonly tags: readonly {
4426
+ readonly description: string;
4534
4427
  readonly id: number;
4535
4428
  readonly name: string;
4536
- readonly description: string;
4537
- readonly parent?: number | null | undefined;
4538
4429
  readonly slug: string;
4539
4430
  readonly meta: {
4540
4431
  readonly [x: string]: unknown;
4541
4432
  };
4542
4433
  }[];
4543
- readonly slug: string;
4544
- readonly parentFolder?: string | null | undefined;
4545
- readonly package: string;
4546
- readonly showOnNav: boolean;
4547
- readonly publishedAt: Date;
4548
- readonly contentLang: string;
4549
- readonly heroImage?: string | null | undefined;
4550
- readonly tags: readonly {
4434
+ readonly categories: readonly {
4435
+ readonly description: string;
4551
4436
  readonly id: number;
4552
4437
  readonly name: string;
4553
- readonly description: string;
4554
4438
  readonly slug: string;
4555
4439
  readonly meta: {
4556
4440
  readonly [x: string]: unknown;
4557
4441
  };
4442
+ readonly parent?: number | null | undefined;
4558
4443
  }[];
4444
+ readonly title: string;
4445
+ readonly updatedAt: Date;
4446
+ readonly package: string;
4447
+ readonly showOnNav: boolean;
4448
+ readonly publishedAt: Date;
4449
+ readonly contentLang: string;
4450
+ readonly heroImage?: string | null | undefined;
4559
4451
  readonly authorId: string;
4560
4452
  readonly contributorIds: readonly string[];
4561
4453
  readonly showAuthor: boolean;
4562
4454
  readonly showContributors: boolean;
4455
+ readonly parentFolder?: string | null | undefined;
4563
4456
  readonly draft: boolean;
4564
4457
  readonly augments: readonly string[];
4565
4458
  readonly multiLangContent: readonly {
4566
4459
  readonly id: string;
4460
+ readonly content: string;
4567
4461
  readonly contentLang: string;
4568
4462
  readonly contentId: string;
4569
- readonly content: string;
4570
4463
  }[];
4571
4464
  readonly defaultContent: {
4572
4465
  readonly id: string;
4466
+ readonly content: string;
4573
4467
  readonly contentLang: string;
4574
4468
  readonly contentId: string;
4575
- readonly content: string;
4576
4469
  } | undefined;
4577
4470
  readonly urlRoute: string;
4578
4471
  readonly authorData: {
4579
4472
  readonly id: string;
4580
- readonly url?: string | null | undefined;
4581
4473
  readonly name: string;
4474
+ readonly url?: string | null | undefined;
4582
4475
  readonly avatar?: string | null | undefined;
4583
4476
  readonly username: string;
4584
4477
  readonly updatedAt: Date;
@@ -4588,8 +4481,8 @@ export declare const apiClients: {
4588
4481
  } | undefined;
4589
4482
  readonly contributorsData: readonly {
4590
4483
  readonly id: string;
4591
- readonly url?: string | null | undefined;
4592
4484
  readonly name: string;
4485
+ readonly url?: string | null | undefined;
4593
4486
  readonly avatar?: string | null | undefined;
4594
4487
  readonly username: string;
4595
4488
  readonly updatedAt: Date;
@@ -4601,31 +4494,31 @@ export declare const apiClients: {
4601
4494
  readonly createPage: <WithResponse extends boolean = false>(request: {
4602
4495
  readonly payload: {
4603
4496
  readonly data?: {
4604
- readonly id?: string | undefined;
4605
- readonly updatedAt?: Date | undefined;
4606
4497
  readonly description?: string | undefined;
4607
- readonly title?: string | undefined;
4608
- readonly categories?: readonly string[] | undefined;
4498
+ readonly id?: string | undefined;
4609
4499
  readonly slug?: string | undefined;
4610
- readonly parentFolder?: string | null | undefined;
4500
+ readonly tags?: readonly string[] | undefined;
4501
+ readonly categories?: readonly string[] | undefined;
4502
+ readonly title?: string | undefined;
4503
+ readonly updatedAt?: Date | undefined;
4611
4504
  readonly package?: string | undefined;
4612
4505
  readonly showOnNav?: boolean | undefined;
4613
4506
  readonly publishedAt?: Date | undefined;
4614
4507
  readonly contentLang?: string | undefined;
4615
4508
  readonly heroImage?: string | null | undefined;
4616
- readonly tags?: readonly string[] | undefined;
4617
4509
  readonly authorId?: string | undefined;
4618
4510
  readonly contributorIds?: readonly string[] | undefined;
4619
4511
  readonly showAuthor?: boolean | undefined;
4620
4512
  readonly showContributors?: boolean | undefined;
4513
+ readonly parentFolder?: string | null | undefined;
4621
4514
  readonly draft?: boolean | undefined;
4622
4515
  readonly augments?: readonly string[] | undefined;
4623
4516
  } | undefined;
4624
4517
  readonly content?: {
4625
4518
  readonly id?: string | undefined;
4519
+ readonly content?: string | undefined;
4626
4520
  readonly contentLang?: string | undefined;
4627
4521
  readonly contentId?: string | undefined;
4628
- readonly content?: string | undefined;
4629
4522
  } | undefined;
4630
4523
  };
4631
4524
  readonly withResponse?: WithResponse | undefined;
@@ -4650,17 +4543,17 @@ export declare const apiClients: {
4650
4543
  };
4651
4544
  readonly withResponse?: WithResponse | undefined;
4652
4545
  }) => Effect.Effect<WithResponse extends true ? [{
4546
+ readonly description: string;
4653
4547
  readonly id: number;
4654
4548
  readonly name: string;
4655
- readonly description: string;
4656
4549
  readonly slug: string;
4657
4550
  readonly meta: {
4658
4551
  readonly [x: string]: unknown;
4659
4552
  };
4660
4553
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4554
+ readonly description: string;
4661
4555
  readonly id: number;
4662
4556
  readonly name: string;
4663
- readonly description: string;
4664
4557
  readonly slug: string;
4665
4558
  readonly meta: {
4666
4559
  readonly [x: string]: unknown;
@@ -4671,9 +4564,9 @@ export declare const apiClients: {
4671
4564
  readonly id: number;
4672
4565
  };
4673
4566
  readonly payload: {
4567
+ readonly description?: string | undefined;
4674
4568
  readonly id?: number | undefined;
4675
4569
  readonly name?: string | undefined;
4676
- readonly description?: string | undefined;
4677
4570
  readonly slug?: string | undefined;
4678
4571
  readonly meta?: {
4679
4572
  readonly [x: string]: unknown;
@@ -4681,17 +4574,17 @@ export declare const apiClients: {
4681
4574
  };
4682
4575
  readonly withResponse?: WithResponse | undefined;
4683
4576
  }) => Effect.Effect<WithResponse extends true ? [{
4577
+ readonly description: string;
4684
4578
  readonly id: number;
4685
4579
  readonly name: string;
4686
- readonly description: string;
4687
4580
  readonly slug: string;
4688
4581
  readonly meta: {
4689
4582
  readonly [x: string]: unknown;
4690
4583
  };
4691
4584
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4585
+ readonly description: string;
4692
4586
  readonly id: number;
4693
4587
  readonly name: string;
4694
- readonly description: string;
4695
4588
  readonly slug: string;
4696
4589
  readonly meta: {
4697
4590
  readonly [x: string]: unknown;
@@ -4703,17 +4596,17 @@ export declare const apiClients: {
4703
4596
  };
4704
4597
  readonly withResponse?: WithResponse | undefined;
4705
4598
  }) => Effect.Effect<WithResponse extends true ? [readonly {
4599
+ readonly description: string;
4706
4600
  readonly id: number;
4707
4601
  readonly name: string;
4708
- readonly description: string;
4709
4602
  readonly slug: string;
4710
4603
  readonly meta: {
4711
4604
  readonly [x: string]: unknown;
4712
4605
  };
4713
4606
  }[], import("@effect/platform/HttpClientResponse").HttpClientResponse] : readonly {
4607
+ readonly description: string;
4714
4608
  readonly id: number;
4715
4609
  readonly name: string;
4716
- readonly description: string;
4717
4610
  readonly slug: string;
4718
4611
  readonly meta: {
4719
4612
  readonly [x: string]: unknown;
@@ -4721,29 +4614,136 @@ export declare const apiClients: {
4721
4614
  }[], 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>;
4722
4615
  readonly createTag: <WithResponse extends boolean = false>(request: {
4723
4616
  readonly payload: {
4724
- readonly name: string;
4725
4617
  readonly description: string;
4618
+ readonly name: string;
4726
4619
  readonly slug: string;
4727
4620
  readonly meta: string;
4728
4621
  };
4729
4622
  readonly withResponse?: WithResponse | undefined;
4730
4623
  }) => Effect.Effect<WithResponse extends true ? [{
4624
+ readonly description: string;
4731
4625
  readonly id: number;
4732
4626
  readonly name: string;
4733
- readonly description: string;
4734
4627
  readonly slug: string;
4735
4628
  readonly meta: {
4736
4629
  readonly [x: string]: unknown;
4737
4630
  };
4738
4631
  }, import("@effect/platform/HttpClientResponse").HttpClientResponse] : {
4632
+ readonly description: string;
4739
4633
  readonly id: number;
4740
4634
  readonly name: string;
4741
- readonly description: string;
4742
4635
  readonly slug: string;
4743
4636
  readonly meta: {
4744
4637
  readonly [x: string]: unknown;
4745
4638
  };
4746
4639
  }, 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 name: string;
4658
+ readonly url?: string | null | undefined;
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 name: string;
4667
+ readonly url?: string | null | undefined;
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 name: string;
4683
+ readonly url?: string | null | undefined;
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 name: string;
4692
+ readonly url?: string | null | undefined;
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 name: string;
4709
+ readonly url?: string | null | undefined;
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 name: string;
4718
+ readonly url?: string | null | undefined;
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 name: string;
4731
+ readonly url?: string | null | undefined;
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 name: string;
4740
+ readonly url?: string | null | undefined;
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 ? [{