@meistrari/vault-http-client 2.3.2 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -15,7 +15,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
15
15
  }, {
16
16
  name: "includeDeleted";
17
17
  type: "Query";
18
- schema: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
+ schema: z.ZodDefault<z.ZodOptional<z.ZodEnum<["true", "false"]>>>;
19
19
  }, {
20
20
  name: "limit";
21
21
  type: "Query";
@@ -44,27 +44,31 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
44
44
  size: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
45
45
  createdAt: z.ZodString;
46
46
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
47
- }, "strict", z.ZodTypeAny, {
47
+ deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
48
+ }, "strip", z.ZodTypeAny, {
48
49
  id: string;
49
50
  createdAt: string;
50
51
  size?: number | null | undefined;
51
52
  createdBy?: string | null | undefined;
53
+ deletedAt?: string | null | undefined;
52
54
  originalFileName?: string | null | undefined;
53
55
  }, {
54
56
  id: string;
55
57
  createdAt: string;
56
58
  size?: number | null | undefined;
57
59
  createdBy?: string | null | undefined;
60
+ deletedAt?: string | null | undefined;
58
61
  originalFileName?: string | null | undefined;
59
62
  }>, "many">;
60
63
  count: z.ZodNumber;
61
64
  pages: z.ZodNumber;
62
- }, "strict", z.ZodTypeAny, {
65
+ }, "strip", z.ZodTypeAny, {
63
66
  files: {
64
67
  id: string;
65
68
  createdAt: string;
66
69
  size?: number | null | undefined;
67
70
  createdBy?: string | null | undefined;
71
+ deletedAt?: string | null | undefined;
68
72
  originalFileName?: string | null | undefined;
69
73
  }[];
70
74
  count: number;
@@ -75,6 +79,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
75
79
  createdAt: string;
76
80
  size?: number | null | undefined;
77
81
  createdBy?: string | null | undefined;
82
+ deletedAt?: string | null | undefined;
78
83
  originalFileName?: string | null | undefined;
79
84
  }[];
80
85
  count: number;
@@ -94,7 +99,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
94
99
  size: z.ZodOptional<z.ZodNumber>;
95
100
  mimeType: z.ZodOptional<z.ZodString>;
96
101
  createdBy: z.ZodOptional<z.ZodString>;
97
- }, "strict", z.ZodTypeAny, {
102
+ }, "strip", z.ZodTypeAny, {
98
103
  fileName: string;
99
104
  sha256sum?: string | undefined;
100
105
  size?: number | undefined;
@@ -133,7 +138,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
133
138
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
134
139
  createdAt: z.ZodString;
135
140
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
136
- }, "strict", z.ZodTypeAny, {
141
+ }, "strip", z.ZodTypeAny, {
137
142
  path: string;
138
143
  workspaceId: string;
139
144
  id: string;
@@ -160,7 +165,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
160
165
  legacyKey?: string | null | undefined;
161
166
  encryptionKey?: string | null | undefined;
162
167
  }>;
163
- }, "strict", z.ZodTypeAny, {
168
+ }, "strip", z.ZodTypeAny, {
164
169
  id: string;
165
170
  uploadUrl: string;
166
171
  expiresAt: string;
@@ -199,7 +204,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
199
204
  }>, z.ZodObject<{
200
205
  url: z.ZodString;
201
206
  expiresAt: z.ZodString;
202
- }, "strict", z.ZodTypeAny, {
207
+ }, "strip", z.ZodTypeAny, {
203
208
  expiresAt: string;
204
209
  url: string;
205
210
  }, {
@@ -240,7 +245,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
240
245
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
241
246
  createdAt: z.ZodString;
242
247
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
243
- }, "strict", z.ZodTypeAny, {
248
+ }, "strip", z.ZodTypeAny, {
244
249
  path: string;
245
250
  workspaceId: string;
246
251
  id: string;
@@ -267,7 +272,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
267
272
  legacyKey?: string | null | undefined;
268
273
  encryptionKey?: string | null | undefined;
269
274
  }>, z.ZodNull]>;
270
- }, "strict", z.ZodTypeAny, {
275
+ }, "strip", z.ZodTypeAny, {
271
276
  expiresAt: string;
272
277
  metadata: {
273
278
  path: string;
@@ -342,7 +347,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
342
347
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
343
348
  createdAt: z.ZodString;
344
349
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
345
- }, "strict", z.ZodTypeAny, {
350
+ }, "strip", z.ZodTypeAny, {
346
351
  path: string;
347
352
  workspaceId: string;
348
353
  id: string;
@@ -369,7 +374,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
369
374
  legacyKey?: string | null | undefined;
370
375
  encryptionKey?: string | null | undefined;
371
376
  }>;
372
- }, "strict", z.ZodTypeAny, {
377
+ }, "strip", z.ZodTypeAny, {
373
378
  id: string;
374
379
  uploadUrl: string;
375
380
  expiresAt: string;
@@ -408,7 +413,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
408
413
  }>, z.ZodObject<{
409
414
  url: z.ZodString;
410
415
  expiresAt: z.ZodString;
411
- }, "strict", z.ZodTypeAny, {
416
+ }, "strip", z.ZodTypeAny, {
412
417
  expiresAt: string;
413
418
  url: string;
414
419
  }, {
@@ -457,7 +462,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
457
462
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
458
463
  createdAt: z.ZodString;
459
464
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
460
- }, "strict", z.ZodTypeAny, {
465
+ }, "strip", z.ZodTypeAny, {
461
466
  path: string;
462
467
  workspaceId: string;
463
468
  id: string;
@@ -499,7 +504,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
499
504
  files: z.ZodNumber;
500
505
  permalinks: z.ZodNumber;
501
506
  hasCustomSettings: z.ZodBoolean;
502
- }, "strict", z.ZodTypeAny, {
507
+ }, "strip", z.ZodTypeAny, {
503
508
  files: number;
504
509
  workspaceId: string;
505
510
  permalinks: number;
@@ -510,6 +515,18 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
510
515
  permalinks: number;
511
516
  hasCustomSettings: boolean;
512
517
  }>, "many">;
518
+ }, {
519
+ method: "get";
520
+ path: "/_/files/count";
521
+ description: "Get the total count of active files across all workspaces";
522
+ requestFormat: "json";
523
+ response: z.ZodObject<{
524
+ count: z.ZodNumber;
525
+ }, "strip", z.ZodTypeAny, {
526
+ count: number;
527
+ }, {
528
+ count: number;
529
+ }>;
513
530
  }, {
514
531
  method: "put";
515
532
  path: "/_/workspaces/:workspaceId/settings";
@@ -522,7 +539,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
522
539
  bucketName: z.ZodString;
523
540
  keyArns: z.ZodArray<z.ZodString, "many">;
524
541
  defaultS3LinkTtl: z.ZodNumber;
525
- }, "strict", z.ZodTypeAny, {
542
+ }, "strip", z.ZodTypeAny, {
526
543
  bucketName: string;
527
544
  keyArns: string[];
528
545
  defaultS3LinkTtl: number;
@@ -556,7 +573,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
556
573
  bucketName: z.ZodString;
557
574
  keyArns: z.ZodArray<z.ZodString, "many">;
558
575
  defaultS3LinkTtl: z.ZodNumber;
559
- }, "strict", z.ZodTypeAny, {
576
+ }, "strip", z.ZodTypeAny, {
560
577
  bucketName: string;
561
578
  keyArns: string[];
562
579
  defaultS3LinkTtl: number;
@@ -591,7 +608,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
591
608
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
592
609
  createdAt: z.ZodString;
593
610
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
594
- }, "strict", z.ZodTypeAny, {
611
+ }, "strip", z.ZodTypeAny, {
595
612
  path: string;
596
613
  workspaceId: string;
597
614
  id: string;
@@ -618,7 +635,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
618
635
  legacyKey?: string | null | undefined;
619
636
  encryptionKey?: string | null | undefined;
620
637
  }>, z.ZodNull]>;
621
- }, "strict", z.ZodTypeAny, {
638
+ }, "strip", z.ZodTypeAny, {
622
639
  expiresAt: string;
623
640
  metadata: {
624
641
  path: string;
@@ -668,7 +685,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
668
685
  type: "Body";
669
686
  schema: z.ZodObject<{
670
687
  expiresAt: z.ZodOptional<z.ZodString>;
671
- }, "strict", z.ZodTypeAny, {
688
+ }, "strip", z.ZodTypeAny, {
672
689
  expiresAt?: string | undefined;
673
690
  }, {
674
691
  expiresAt?: string | undefined;
@@ -685,7 +702,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
685
702
  createdAt: z.ZodString;
686
703
  expiresAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
687
704
  createdBy: z.ZodUnion<[z.ZodString, z.ZodNull]>;
688
- }, "strict", z.ZodTypeAny, {
705
+ }, "strip", z.ZodTypeAny, {
689
706
  createdBy: string | null;
690
707
  workspaceId: string;
691
708
  id: string;
@@ -717,7 +734,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
717
734
  createdAt: z.ZodString;
718
735
  expiresAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
719
736
  createdBy: z.ZodUnion<[z.ZodString, z.ZodNull]>;
720
- }, "strict", z.ZodTypeAny, {
737
+ }, "strip", z.ZodTypeAny, {
721
738
  createdBy: string | null;
722
739
  workspaceId: string;
723
740
  id: string;
@@ -746,7 +763,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
746
763
  size: z.ZodOptional<z.ZodNumber>;
747
764
  mimeType: z.ZodOptional<z.ZodString>;
748
765
  createdBy: z.ZodOptional<z.ZodString>;
749
- }, "strict", z.ZodTypeAny, {
766
+ }, "strip", z.ZodTypeAny, {
750
767
  fileName?: string | undefined;
751
768
  sha256sum?: string | undefined;
752
769
  size?: number | undefined;
@@ -785,7 +802,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
785
802
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
786
803
  createdAt: z.ZodString;
787
804
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
788
- }, "strict", z.ZodTypeAny, {
805
+ }, "strip", z.ZodTypeAny, {
789
806
  path: string;
790
807
  workspaceId: string;
791
808
  id: string;
@@ -812,7 +829,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
812
829
  legacyKey?: string | null | undefined;
813
830
  encryptionKey?: string | null | undefined;
814
831
  }>;
815
- }, "strict", z.ZodTypeAny, {
832
+ }, "strip", z.ZodTypeAny, {
816
833
  id: string;
817
834
  uploadUrl: string;
818
835
  expiresAt: string;
@@ -851,7 +868,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
851
868
  }>, z.ZodObject<{
852
869
  url: z.ZodString;
853
870
  expiresAt: z.ZodString;
854
- }, "strict", z.ZodTypeAny, {
871
+ }, "strip", z.ZodTypeAny, {
855
872
  expiresAt: string;
856
873
  url: string;
857
874
  }, {
@@ -889,7 +906,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
889
906
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
890
907
  createdAt: z.ZodString;
891
908
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
892
- }, "strict", z.ZodTypeAny, {
909
+ }, "strip", z.ZodTypeAny, {
893
910
  path: string;
894
911
  workspaceId: string;
895
912
  id: string;
@@ -916,7 +933,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
916
933
  legacyKey?: string | null | undefined;
917
934
  encryptionKey?: string | null | undefined;
918
935
  }>;
919
- }, "strict", z.ZodTypeAny, {
936
+ }, "strip", z.ZodTypeAny, {
920
937
  id: string;
921
938
  uploadUrl: string;
922
939
  expiresAt: string;
@@ -955,7 +972,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
955
972
  }>, z.ZodObject<{
956
973
  url: z.ZodString;
957
974
  expiresAt: z.ZodString;
958
- }, "strict", z.ZodTypeAny, {
975
+ }, "strip", z.ZodTypeAny, {
959
976
  expiresAt: string;
960
977
  url: string;
961
978
  }, {
@@ -996,7 +1013,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
996
1013
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
997
1014
  createdAt: z.ZodString;
998
1015
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
999
- }, "strict", z.ZodTypeAny, {
1016
+ }, "strip", z.ZodTypeAny, {
1000
1017
  path: string;
1001
1018
  workspaceId: string;
1002
1019
  id: string;
@@ -1042,7 +1059,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1042
1059
  size: z.ZodOptional<z.ZodNumber>;
1043
1060
  mimeType: z.ZodOptional<z.ZodString>;
1044
1061
  createdBy: z.ZodOptional<z.ZodString>;
1045
- }, "strict", z.ZodTypeAny, {
1062
+ }, "strip", z.ZodTypeAny, {
1046
1063
  fileName: string;
1047
1064
  sha256sum?: string | undefined;
1048
1065
  size?: number | undefined;
@@ -1056,7 +1073,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1056
1073
  createdBy?: string | undefined;
1057
1074
  }>, "many">, z.ZodObject<{
1058
1075
  files: z.ZodArray<z.ZodString, "many">;
1059
- }, "strict", z.ZodTypeAny, {
1076
+ }, "strip", z.ZodTypeAny, {
1060
1077
  files: string[];
1061
1078
  }, {
1062
1079
  files: string[];
@@ -1075,7 +1092,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1075
1092
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1076
1093
  createdAt: z.ZodString;
1077
1094
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1078
- }, "strict", z.ZodTypeAny, {
1095
+ }, "strip", z.ZodTypeAny, {
1079
1096
  path: string;
1080
1097
  workspaceId: string;
1081
1098
  id: string;
@@ -1115,7 +1132,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1115
1132
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1116
1133
  createdAt: z.ZodString;
1117
1134
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1118
- }, "strict", z.ZodTypeAny, {
1135
+ }, "strip", z.ZodTypeAny, {
1119
1136
  path: string;
1120
1137
  workspaceId: string;
1121
1138
  id: string;
@@ -1142,7 +1159,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1142
1159
  legacyKey?: string | null | undefined;
1143
1160
  encryptionKey?: string | null | undefined;
1144
1161
  }>, "many">;
1145
- }, "strict", z.ZodTypeAny, {
1162
+ }, "strip", z.ZodTypeAny, {
1146
1163
  files: {
1147
1164
  path: string;
1148
1165
  workspaceId: string;
@@ -1221,7 +1238,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1221
1238
  createdAt: z.ZodString;
1222
1239
  expiresAt: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1223
1240
  createdBy: z.ZodUnion<[z.ZodString, z.ZodNull]>;
1224
- }, "strict", z.ZodTypeAny, {
1241
+ }, "strip", z.ZodTypeAny, {
1225
1242
  createdBy: string | null;
1226
1243
  workspaceId: string;
1227
1244
  id: string;
@@ -1267,7 +1284,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1267
1284
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1268
1285
  createdAt: z.ZodString;
1269
1286
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1270
- }, "strict", z.ZodTypeAny, {
1287
+ }, "strip", z.ZodTypeAny, {
1271
1288
  path: string;
1272
1289
  workspaceId: string;
1273
1290
  id: string;
@@ -1294,7 +1311,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1294
1311
  legacyKey?: string | null | undefined;
1295
1312
  encryptionKey?: string | null | undefined;
1296
1313
  }>, z.ZodNull]>;
1297
- }, "strict", z.ZodTypeAny, {
1314
+ }, "strip", z.ZodTypeAny, {
1298
1315
  expiresAt: string;
1299
1316
  metadata: {
1300
1317
  path: string;
@@ -1348,7 +1365,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1348
1365
  size: z.ZodOptional<z.ZodNumber>;
1349
1366
  mimeType: z.ZodOptional<z.ZodString>;
1350
1367
  createdBy: z.ZodOptional<z.ZodString>;
1351
- }, "strict", z.ZodTypeAny, {
1368
+ }, "strip", z.ZodTypeAny, {
1352
1369
  fileName?: string | undefined;
1353
1370
  sha256sum?: string | undefined;
1354
1371
  size?: number | undefined;
@@ -1387,7 +1404,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1387
1404
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1388
1405
  createdAt: z.ZodString;
1389
1406
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1390
- }, "strict", z.ZodTypeAny, {
1407
+ }, "strip", z.ZodTypeAny, {
1391
1408
  path: string;
1392
1409
  workspaceId: string;
1393
1410
  id: string;
@@ -1414,7 +1431,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1414
1431
  legacyKey?: string | null | undefined;
1415
1432
  encryptionKey?: string | null | undefined;
1416
1433
  }>;
1417
- }, "strict", z.ZodTypeAny, {
1434
+ }, "strip", z.ZodTypeAny, {
1418
1435
  id: string;
1419
1436
  uploadUrl: string;
1420
1437
  expiresAt: string;
@@ -1453,7 +1470,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1453
1470
  }>, z.ZodObject<{
1454
1471
  url: z.ZodString;
1455
1472
  expiresAt: z.ZodString;
1456
- }, "strict", z.ZodTypeAny, {
1473
+ }, "strip", z.ZodTypeAny, {
1457
1474
  expiresAt: string;
1458
1475
  url: string;
1459
1476
  }, {
@@ -1491,7 +1508,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1491
1508
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1492
1509
  createdAt: z.ZodString;
1493
1510
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1494
- }, "strict", z.ZodTypeAny, {
1511
+ }, "strip", z.ZodTypeAny, {
1495
1512
  path: string;
1496
1513
  workspaceId: string;
1497
1514
  id: string;
@@ -1518,7 +1535,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1518
1535
  legacyKey?: string | null | undefined;
1519
1536
  encryptionKey?: string | null | undefined;
1520
1537
  }>;
1521
- }, "strict", z.ZodTypeAny, {
1538
+ }, "strip", z.ZodTypeAny, {
1522
1539
  id: string;
1523
1540
  uploadUrl: string;
1524
1541
  expiresAt: string;
@@ -1557,7 +1574,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1557
1574
  }>, z.ZodObject<{
1558
1575
  url: z.ZodString;
1559
1576
  expiresAt: z.ZodString;
1560
- }, "strict", z.ZodTypeAny, {
1577
+ }, "strip", z.ZodTypeAny, {
1561
1578
  expiresAt: string;
1562
1579
  url: string;
1563
1580
  }, {
@@ -1598,7 +1615,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1598
1615
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1599
1616
  createdAt: z.ZodString;
1600
1617
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1601
- }, "strict", z.ZodTypeAny, {
1618
+ }, "strip", z.ZodTypeAny, {
1602
1619
  path: string;
1603
1620
  workspaceId: string;
1604
1621
  id: string;
@@ -1644,7 +1661,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1644
1661
  size: z.ZodOptional<z.ZodNumber>;
1645
1662
  mimeType: z.ZodOptional<z.ZodString>;
1646
1663
  createdBy: z.ZodOptional<z.ZodString>;
1647
- }, "strict", z.ZodTypeAny, {
1664
+ }, "strip", z.ZodTypeAny, {
1648
1665
  fileName: string;
1649
1666
  sha256sum?: string | undefined;
1650
1667
  size?: number | undefined;
@@ -1658,7 +1675,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1658
1675
  createdBy?: string | undefined;
1659
1676
  }>, "many">, z.ZodObject<{
1660
1677
  files: z.ZodArray<z.ZodString, "many">;
1661
- }, "strict", z.ZodTypeAny, {
1678
+ }, "strip", z.ZodTypeAny, {
1662
1679
  files: string[];
1663
1680
  }, {
1664
1681
  files: string[];
@@ -1677,7 +1694,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1677
1694
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1678
1695
  createdAt: z.ZodString;
1679
1696
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1680
- }, "strict", z.ZodTypeAny, {
1697
+ }, "strip", z.ZodTypeAny, {
1681
1698
  path: string;
1682
1699
  workspaceId: string;
1683
1700
  id: string;
@@ -1717,7 +1734,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1717
1734
  createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1718
1735
  createdAt: z.ZodString;
1719
1736
  deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
1720
- }, "strict", z.ZodTypeAny, {
1737
+ }, "strip", z.ZodTypeAny, {
1721
1738
  path: string;
1722
1739
  workspaceId: string;
1723
1740
  id: string;
@@ -1744,7 +1761,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
1744
1761
  legacyKey?: string | null | undefined;
1745
1762
  encryptionKey?: string | null | undefined;
1746
1763
  }>, "many">;
1747
- }, "strict", z.ZodTypeAny, {
1764
+ }, "strip", z.ZodTypeAny, {
1748
1765
  files: {
1749
1766
  path: string;
1750
1767
  workspaceId: string;
@@ -1789,7 +1806,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1789
1806
  }, {
1790
1807
  name: "includeDeleted";
1791
1808
  type: "Query";
1792
- schema: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
1809
+ schema: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["true", "false"]>>>;
1793
1810
  }, {
1794
1811
  name: "limit";
1795
1812
  type: "Query";
@@ -1818,25 +1835,29 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1818
1835
  size: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodNull]>>;
1819
1836
  createdAt: zod.ZodString;
1820
1837
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
1821
- }, "strict", zod.ZodTypeAny, {
1838
+ deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
1839
+ }, "strip", zod.ZodTypeAny, {
1822
1840
  id: string;
1823
1841
  createdAt: string;
1842
+ deletedAt?: string | null | undefined;
1824
1843
  originalFileName?: string | null | undefined;
1825
1844
  size?: number | null | undefined;
1826
1845
  createdBy?: string | null | undefined;
1827
1846
  }, {
1828
1847
  id: string;
1829
1848
  createdAt: string;
1849
+ deletedAt?: string | null | undefined;
1830
1850
  originalFileName?: string | null | undefined;
1831
1851
  size?: number | null | undefined;
1832
1852
  createdBy?: string | null | undefined;
1833
1853
  }>, "many">;
1834
1854
  count: zod.ZodNumber;
1835
1855
  pages: zod.ZodNumber;
1836
- }, "strict", zod.ZodTypeAny, {
1856
+ }, "strip", zod.ZodTypeAny, {
1837
1857
  files: {
1838
1858
  id: string;
1839
1859
  createdAt: string;
1860
+ deletedAt?: string | null | undefined;
1840
1861
  originalFileName?: string | null | undefined;
1841
1862
  size?: number | null | undefined;
1842
1863
  createdBy?: string | null | undefined;
@@ -1847,6 +1868,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1847
1868
  files: {
1848
1869
  id: string;
1849
1870
  createdAt: string;
1871
+ deletedAt?: string | null | undefined;
1850
1872
  originalFileName?: string | null | undefined;
1851
1873
  size?: number | null | undefined;
1852
1874
  createdBy?: string | null | undefined;
@@ -1868,7 +1890,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1868
1890
  size: zod.ZodOptional<zod.ZodNumber>;
1869
1891
  mimeType: zod.ZodOptional<zod.ZodString>;
1870
1892
  createdBy: zod.ZodOptional<zod.ZodString>;
1871
- }, "strict", zod.ZodTypeAny, {
1893
+ }, "strip", zod.ZodTypeAny, {
1872
1894
  fileName: string;
1873
1895
  size?: number | undefined;
1874
1896
  createdBy?: string | undefined;
@@ -1907,7 +1929,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1907
1929
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
1908
1930
  createdAt: zod.ZodString;
1909
1931
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
1910
- }, "strict", zod.ZodTypeAny, {
1932
+ }, "strip", zod.ZodTypeAny, {
1911
1933
  path: string;
1912
1934
  workspaceId: string;
1913
1935
  id: string;
@@ -1934,7 +1956,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1934
1956
  bucketName?: string | null | undefined;
1935
1957
  encryptionKey?: string | null | undefined;
1936
1958
  }>;
1937
- }, "strict", zod.ZodTypeAny, {
1959
+ }, "strip", zod.ZodTypeAny, {
1938
1960
  id: string;
1939
1961
  uploadUrl: string;
1940
1962
  expiresAt: string;
@@ -1973,7 +1995,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
1973
1995
  }>, zod.ZodObject<{
1974
1996
  url: zod.ZodString;
1975
1997
  expiresAt: zod.ZodString;
1976
- }, "strict", zod.ZodTypeAny, {
1998
+ }, "strip", zod.ZodTypeAny, {
1977
1999
  expiresAt: string;
1978
2000
  url: string;
1979
2001
  }, {
@@ -2014,7 +2036,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2014
2036
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2015
2037
  createdAt: zod.ZodString;
2016
2038
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2017
- }, "strict", zod.ZodTypeAny, {
2039
+ }, "strip", zod.ZodTypeAny, {
2018
2040
  path: string;
2019
2041
  workspaceId: string;
2020
2042
  id: string;
@@ -2041,7 +2063,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2041
2063
  bucketName?: string | null | undefined;
2042
2064
  encryptionKey?: string | null | undefined;
2043
2065
  }>, zod.ZodNull]>;
2044
- }, "strict", zod.ZodTypeAny, {
2066
+ }, "strip", zod.ZodTypeAny, {
2045
2067
  expiresAt: string;
2046
2068
  metadata: {
2047
2069
  path: string;
@@ -2116,7 +2138,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2116
2138
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2117
2139
  createdAt: zod.ZodString;
2118
2140
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2119
- }, "strict", zod.ZodTypeAny, {
2141
+ }, "strip", zod.ZodTypeAny, {
2120
2142
  path: string;
2121
2143
  workspaceId: string;
2122
2144
  id: string;
@@ -2143,7 +2165,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2143
2165
  bucketName?: string | null | undefined;
2144
2166
  encryptionKey?: string | null | undefined;
2145
2167
  }>;
2146
- }, "strict", zod.ZodTypeAny, {
2168
+ }, "strip", zod.ZodTypeAny, {
2147
2169
  id: string;
2148
2170
  uploadUrl: string;
2149
2171
  expiresAt: string;
@@ -2182,7 +2204,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2182
2204
  }>, zod.ZodObject<{
2183
2205
  url: zod.ZodString;
2184
2206
  expiresAt: zod.ZodString;
2185
- }, "strict", zod.ZodTypeAny, {
2207
+ }, "strip", zod.ZodTypeAny, {
2186
2208
  expiresAt: string;
2187
2209
  url: string;
2188
2210
  }, {
@@ -2231,7 +2253,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2231
2253
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2232
2254
  createdAt: zod.ZodString;
2233
2255
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2234
- }, "strict", zod.ZodTypeAny, {
2256
+ }, "strip", zod.ZodTypeAny, {
2235
2257
  path: string;
2236
2258
  workspaceId: string;
2237
2259
  id: string;
@@ -2273,7 +2295,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2273
2295
  files: zod.ZodNumber;
2274
2296
  permalinks: zod.ZodNumber;
2275
2297
  hasCustomSettings: zod.ZodBoolean;
2276
- }, "strict", zod.ZodTypeAny, {
2298
+ }, "strip", zod.ZodTypeAny, {
2277
2299
  workspaceId: string;
2278
2300
  files: number;
2279
2301
  permalinks: number;
@@ -2284,6 +2306,18 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2284
2306
  permalinks: number;
2285
2307
  hasCustomSettings: boolean;
2286
2308
  }>, "many">;
2309
+ }, {
2310
+ method: "get";
2311
+ path: "/_/files/count";
2312
+ description: "Get the total count of active files across all workspaces";
2313
+ requestFormat: "json";
2314
+ response: zod.ZodObject<{
2315
+ count: zod.ZodNumber;
2316
+ }, "strip", zod.ZodTypeAny, {
2317
+ count: number;
2318
+ }, {
2319
+ count: number;
2320
+ }>;
2287
2321
  }, {
2288
2322
  method: "put";
2289
2323
  path: "/_/workspaces/:workspaceId/settings";
@@ -2296,7 +2330,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2296
2330
  bucketName: zod.ZodString;
2297
2331
  keyArns: zod.ZodArray<zod.ZodString, "many">;
2298
2332
  defaultS3LinkTtl: zod.ZodNumber;
2299
- }, "strict", zod.ZodTypeAny, {
2333
+ }, "strip", zod.ZodTypeAny, {
2300
2334
  bucketName: string;
2301
2335
  keyArns: string[];
2302
2336
  defaultS3LinkTtl: number;
@@ -2330,7 +2364,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2330
2364
  bucketName: zod.ZodString;
2331
2365
  keyArns: zod.ZodArray<zod.ZodString, "many">;
2332
2366
  defaultS3LinkTtl: zod.ZodNumber;
2333
- }, "strict", zod.ZodTypeAny, {
2367
+ }, "strip", zod.ZodTypeAny, {
2334
2368
  bucketName: string;
2335
2369
  keyArns: string[];
2336
2370
  defaultS3LinkTtl: number;
@@ -2365,7 +2399,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2365
2399
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2366
2400
  createdAt: zod.ZodString;
2367
2401
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2368
- }, "strict", zod.ZodTypeAny, {
2402
+ }, "strip", zod.ZodTypeAny, {
2369
2403
  path: string;
2370
2404
  workspaceId: string;
2371
2405
  id: string;
@@ -2392,7 +2426,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2392
2426
  bucketName?: string | null | undefined;
2393
2427
  encryptionKey?: string | null | undefined;
2394
2428
  }>, zod.ZodNull]>;
2395
- }, "strict", zod.ZodTypeAny, {
2429
+ }, "strip", zod.ZodTypeAny, {
2396
2430
  expiresAt: string;
2397
2431
  metadata: {
2398
2432
  path: string;
@@ -2442,7 +2476,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2442
2476
  type: "Body";
2443
2477
  schema: zod.ZodObject<{
2444
2478
  expiresAt: zod.ZodOptional<zod.ZodString>;
2445
- }, "strict", zod.ZodTypeAny, {
2479
+ }, "strip", zod.ZodTypeAny, {
2446
2480
  expiresAt?: string | undefined;
2447
2481
  }, {
2448
2482
  expiresAt?: string | undefined;
@@ -2459,7 +2493,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2459
2493
  createdAt: zod.ZodString;
2460
2494
  expiresAt: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2461
2495
  createdBy: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2462
- }, "strict", zod.ZodTypeAny, {
2496
+ }, "strip", zod.ZodTypeAny, {
2463
2497
  workspaceId: string;
2464
2498
  id: string;
2465
2499
  createdAt: string;
@@ -2491,7 +2525,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2491
2525
  createdAt: zod.ZodString;
2492
2526
  expiresAt: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2493
2527
  createdBy: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2494
- }, "strict", zod.ZodTypeAny, {
2528
+ }, "strip", zod.ZodTypeAny, {
2495
2529
  workspaceId: string;
2496
2530
  id: string;
2497
2531
  createdAt: string;
@@ -2520,7 +2554,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2520
2554
  size: zod.ZodOptional<zod.ZodNumber>;
2521
2555
  mimeType: zod.ZodOptional<zod.ZodString>;
2522
2556
  createdBy: zod.ZodOptional<zod.ZodString>;
2523
- }, "strict", zod.ZodTypeAny, {
2557
+ }, "strip", zod.ZodTypeAny, {
2524
2558
  size?: number | undefined;
2525
2559
  createdBy?: string | undefined;
2526
2560
  fileName?: string | undefined;
@@ -2559,7 +2593,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2559
2593
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2560
2594
  createdAt: zod.ZodString;
2561
2595
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2562
- }, "strict", zod.ZodTypeAny, {
2596
+ }, "strip", zod.ZodTypeAny, {
2563
2597
  path: string;
2564
2598
  workspaceId: string;
2565
2599
  id: string;
@@ -2586,7 +2620,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2586
2620
  bucketName?: string | null | undefined;
2587
2621
  encryptionKey?: string | null | undefined;
2588
2622
  }>;
2589
- }, "strict", zod.ZodTypeAny, {
2623
+ }, "strip", zod.ZodTypeAny, {
2590
2624
  id: string;
2591
2625
  uploadUrl: string;
2592
2626
  expiresAt: string;
@@ -2625,7 +2659,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2625
2659
  }>, zod.ZodObject<{
2626
2660
  url: zod.ZodString;
2627
2661
  expiresAt: zod.ZodString;
2628
- }, "strict", zod.ZodTypeAny, {
2662
+ }, "strip", zod.ZodTypeAny, {
2629
2663
  expiresAt: string;
2630
2664
  url: string;
2631
2665
  }, {
@@ -2663,7 +2697,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2663
2697
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2664
2698
  createdAt: zod.ZodString;
2665
2699
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2666
- }, "strict", zod.ZodTypeAny, {
2700
+ }, "strip", zod.ZodTypeAny, {
2667
2701
  path: string;
2668
2702
  workspaceId: string;
2669
2703
  id: string;
@@ -2690,7 +2724,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2690
2724
  bucketName?: string | null | undefined;
2691
2725
  encryptionKey?: string | null | undefined;
2692
2726
  }>;
2693
- }, "strict", zod.ZodTypeAny, {
2727
+ }, "strip", zod.ZodTypeAny, {
2694
2728
  id: string;
2695
2729
  uploadUrl: string;
2696
2730
  expiresAt: string;
@@ -2729,7 +2763,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2729
2763
  }>, zod.ZodObject<{
2730
2764
  url: zod.ZodString;
2731
2765
  expiresAt: zod.ZodString;
2732
- }, "strict", zod.ZodTypeAny, {
2766
+ }, "strip", zod.ZodTypeAny, {
2733
2767
  expiresAt: string;
2734
2768
  url: string;
2735
2769
  }, {
@@ -2770,7 +2804,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2770
2804
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2771
2805
  createdAt: zod.ZodString;
2772
2806
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2773
- }, "strict", zod.ZodTypeAny, {
2807
+ }, "strip", zod.ZodTypeAny, {
2774
2808
  path: string;
2775
2809
  workspaceId: string;
2776
2810
  id: string;
@@ -2816,7 +2850,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2816
2850
  size: zod.ZodOptional<zod.ZodNumber>;
2817
2851
  mimeType: zod.ZodOptional<zod.ZodString>;
2818
2852
  createdBy: zod.ZodOptional<zod.ZodString>;
2819
- }, "strict", zod.ZodTypeAny, {
2853
+ }, "strip", zod.ZodTypeAny, {
2820
2854
  fileName: string;
2821
2855
  size?: number | undefined;
2822
2856
  createdBy?: string | undefined;
@@ -2830,7 +2864,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2830
2864
  mimeType?: string | undefined;
2831
2865
  }>, "many">, zod.ZodObject<{
2832
2866
  files: zod.ZodArray<zod.ZodString, "many">;
2833
- }, "strict", zod.ZodTypeAny, {
2867
+ }, "strip", zod.ZodTypeAny, {
2834
2868
  files: string[];
2835
2869
  }, {
2836
2870
  files: string[];
@@ -2849,7 +2883,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2849
2883
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2850
2884
  createdAt: zod.ZodString;
2851
2885
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2852
- }, "strict", zod.ZodTypeAny, {
2886
+ }, "strip", zod.ZodTypeAny, {
2853
2887
  path: string;
2854
2888
  workspaceId: string;
2855
2889
  id: string;
@@ -2889,7 +2923,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2889
2923
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2890
2924
  createdAt: zod.ZodString;
2891
2925
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2892
- }, "strict", zod.ZodTypeAny, {
2926
+ }, "strip", zod.ZodTypeAny, {
2893
2927
  path: string;
2894
2928
  workspaceId: string;
2895
2929
  id: string;
@@ -2916,7 +2950,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2916
2950
  bucketName?: string | null | undefined;
2917
2951
  encryptionKey?: string | null | undefined;
2918
2952
  }>, "many">;
2919
- }, "strict", zod.ZodTypeAny, {
2953
+ }, "strip", zod.ZodTypeAny, {
2920
2954
  files: {
2921
2955
  path: string;
2922
2956
  workspaceId: string;
@@ -2995,7 +3029,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2995
3029
  createdAt: zod.ZodString;
2996
3030
  expiresAt: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2997
3031
  createdBy: zod.ZodUnion<[zod.ZodString, zod.ZodNull]>;
2998
- }, "strict", zod.ZodTypeAny, {
3032
+ }, "strip", zod.ZodTypeAny, {
2999
3033
  workspaceId: string;
3000
3034
  id: string;
3001
3035
  createdAt: string;
@@ -3041,7 +3075,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3041
3075
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3042
3076
  createdAt: zod.ZodString;
3043
3077
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3044
- }, "strict", zod.ZodTypeAny, {
3078
+ }, "strip", zod.ZodTypeAny, {
3045
3079
  path: string;
3046
3080
  workspaceId: string;
3047
3081
  id: string;
@@ -3068,7 +3102,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3068
3102
  bucketName?: string | null | undefined;
3069
3103
  encryptionKey?: string | null | undefined;
3070
3104
  }>, zod.ZodNull]>;
3071
- }, "strict", zod.ZodTypeAny, {
3105
+ }, "strip", zod.ZodTypeAny, {
3072
3106
  expiresAt: string;
3073
3107
  metadata: {
3074
3108
  path: string;
@@ -3122,7 +3156,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3122
3156
  size: zod.ZodOptional<zod.ZodNumber>;
3123
3157
  mimeType: zod.ZodOptional<zod.ZodString>;
3124
3158
  createdBy: zod.ZodOptional<zod.ZodString>;
3125
- }, "strict", zod.ZodTypeAny, {
3159
+ }, "strip", zod.ZodTypeAny, {
3126
3160
  size?: number | undefined;
3127
3161
  createdBy?: string | undefined;
3128
3162
  fileName?: string | undefined;
@@ -3161,7 +3195,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3161
3195
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3162
3196
  createdAt: zod.ZodString;
3163
3197
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3164
- }, "strict", zod.ZodTypeAny, {
3198
+ }, "strip", zod.ZodTypeAny, {
3165
3199
  path: string;
3166
3200
  workspaceId: string;
3167
3201
  id: string;
@@ -3188,7 +3222,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3188
3222
  bucketName?: string | null | undefined;
3189
3223
  encryptionKey?: string | null | undefined;
3190
3224
  }>;
3191
- }, "strict", zod.ZodTypeAny, {
3225
+ }, "strip", zod.ZodTypeAny, {
3192
3226
  id: string;
3193
3227
  uploadUrl: string;
3194
3228
  expiresAt: string;
@@ -3227,7 +3261,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3227
3261
  }>, zod.ZodObject<{
3228
3262
  url: zod.ZodString;
3229
3263
  expiresAt: zod.ZodString;
3230
- }, "strict", zod.ZodTypeAny, {
3264
+ }, "strip", zod.ZodTypeAny, {
3231
3265
  expiresAt: string;
3232
3266
  url: string;
3233
3267
  }, {
@@ -3265,7 +3299,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3265
3299
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3266
3300
  createdAt: zod.ZodString;
3267
3301
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3268
- }, "strict", zod.ZodTypeAny, {
3302
+ }, "strip", zod.ZodTypeAny, {
3269
3303
  path: string;
3270
3304
  workspaceId: string;
3271
3305
  id: string;
@@ -3292,7 +3326,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3292
3326
  bucketName?: string | null | undefined;
3293
3327
  encryptionKey?: string | null | undefined;
3294
3328
  }>;
3295
- }, "strict", zod.ZodTypeAny, {
3329
+ }, "strip", zod.ZodTypeAny, {
3296
3330
  id: string;
3297
3331
  uploadUrl: string;
3298
3332
  expiresAt: string;
@@ -3331,7 +3365,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3331
3365
  }>, zod.ZodObject<{
3332
3366
  url: zod.ZodString;
3333
3367
  expiresAt: zod.ZodString;
3334
- }, "strict", zod.ZodTypeAny, {
3368
+ }, "strip", zod.ZodTypeAny, {
3335
3369
  expiresAt: string;
3336
3370
  url: string;
3337
3371
  }, {
@@ -3372,7 +3406,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3372
3406
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3373
3407
  createdAt: zod.ZodString;
3374
3408
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3375
- }, "strict", zod.ZodTypeAny, {
3409
+ }, "strip", zod.ZodTypeAny, {
3376
3410
  path: string;
3377
3411
  workspaceId: string;
3378
3412
  id: string;
@@ -3418,7 +3452,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3418
3452
  size: zod.ZodOptional<zod.ZodNumber>;
3419
3453
  mimeType: zod.ZodOptional<zod.ZodString>;
3420
3454
  createdBy: zod.ZodOptional<zod.ZodString>;
3421
- }, "strict", zod.ZodTypeAny, {
3455
+ }, "strip", zod.ZodTypeAny, {
3422
3456
  fileName: string;
3423
3457
  size?: number | undefined;
3424
3458
  createdBy?: string | undefined;
@@ -3432,7 +3466,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3432
3466
  mimeType?: string | undefined;
3433
3467
  }>, "many">, zod.ZodObject<{
3434
3468
  files: zod.ZodArray<zod.ZodString, "many">;
3435
- }, "strict", zod.ZodTypeAny, {
3469
+ }, "strip", zod.ZodTypeAny, {
3436
3470
  files: string[];
3437
3471
  }, {
3438
3472
  files: string[];
@@ -3451,7 +3485,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3451
3485
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3452
3486
  createdAt: zod.ZodString;
3453
3487
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3454
- }, "strict", zod.ZodTypeAny, {
3488
+ }, "strip", zod.ZodTypeAny, {
3455
3489
  path: string;
3456
3490
  workspaceId: string;
3457
3491
  id: string;
@@ -3491,7 +3525,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3491
3525
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3492
3526
  createdAt: zod.ZodString;
3493
3527
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
3494
- }, "strict", zod.ZodTypeAny, {
3528
+ }, "strip", zod.ZodTypeAny, {
3495
3529
  path: string;
3496
3530
  workspaceId: string;
3497
3531
  id: string;
@@ -3518,7 +3552,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
3518
3552
  bucketName?: string | null | undefined;
3519
3553
  encryptionKey?: string | null | undefined;
3520
3554
  }>, "many">;
3521
- }, "strict", zod.ZodTypeAny, {
3555
+ }, "strip", zod.ZodTypeAny, {
3522
3556
  files: {
3523
3557
  path: string;
3524
3558
  workspaceId: string;