@plyaz/types 1.41.1 → 1.41.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api/index.js CHANGED
@@ -553,6 +553,13 @@ var ENTITY_TYPE = /* @__PURE__ */ ((ENTITY_TYPE2) => {
553
553
  ENTITY_TYPE2["SYSTEM"] = "system";
554
554
  return ENTITY_TYPE2;
555
555
  })(ENTITY_TYPE || {});
556
+ var FILE_ACCESS_LEVEL = /* @__PURE__ */ ((FILE_ACCESS_LEVEL2) => {
557
+ FILE_ACCESS_LEVEL2["PUBLIC"] = "public";
558
+ FILE_ACCESS_LEVEL2["PRIVATE"] = "private";
559
+ FILE_ACCESS_LEVEL2["SHARED"] = "shared";
560
+ FILE_ACCESS_LEVEL2["RESTRICTED"] = "restricted";
561
+ return FILE_ACCESS_LEVEL2;
562
+ })(FILE_ACCESS_LEVEL || {});
556
563
 
557
564
  // src/api/endpoints/files/schemas.ts
558
565
  var FileCategorySchema = z.nativeEnum(FILE_CATEGORY);
@@ -561,7 +568,7 @@ var PDF_SCALE_MIN = 0.1;
561
568
  var PDF_SCALE_MAX = 2;
562
569
  var MAX_BULK_UPLOAD_CONCURRENCY = 10;
563
570
  var OutputFormatSchema = z.enum(["pdf", "docx", "xlsx", "html"]);
564
- var AccessLevelSchema = z.enum(["public", "private", "protected"]);
571
+ var AccessLevelSchema = z.nativeEnum(FILE_ACCESS_LEVEL);
565
572
  var PdfOptionsSchema = z.object({
566
573
  format: z.enum(["A4", "Letter", "Legal"]).optional(),
567
574
  landscape: z.boolean().optional(),