@meistrari/vault-http-client 2.3.2 → 2.3.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/index.cjs CHANGED
@@ -7,14 +7,14 @@ const put_WorkspacesByWorkspaceIdSettings_Body = zod.z.object({
7
7
  bucketName: zod.z.string().min(1),
8
8
  keyArns: zod.z.array(zod.z.string()).min(1),
9
9
  defaultS3LinkTtl: zod.z.number().gte(1)
10
- }).strict();
10
+ });
11
11
  const post_Files_Body = zod.z.object({
12
12
  fileName: zod.z.string(),
13
13
  sha256sum: zod.z.string().optional(),
14
14
  size: zod.z.number().optional(),
15
15
  mimeType: zod.z.string().optional(),
16
16
  createdBy: zod.z.string().optional()
17
- }).strict();
17
+ });
18
18
  const postFilesBulk_Body = zod.z.union([
19
19
  zod.z.array(
20
20
  zod.z.object({
@@ -23,9 +23,9 @@ const postFilesBulk_Body = zod.z.union([
23
23
  size: zod.z.number().optional(),
24
24
  mimeType: zod.z.string().optional(),
25
25
  createdBy: zod.z.string().optional()
26
- }).strict()
26
+ })
27
27
  ),
28
- zod.z.object({ files: zod.z.array(zod.z.string()) }).strict()
28
+ zod.z.object({ files: zod.z.array(zod.z.string()) })
29
29
  ]);
30
30
  const postFilesByFilename_Body = zod.z.object({
31
31
  fileName: zod.z.string(),
@@ -33,7 +33,7 @@ const postFilesByFilename_Body = zod.z.object({
33
33
  size: zod.z.number(),
34
34
  mimeType: zod.z.string(),
35
35
  createdBy: zod.z.string()
36
- }).partial().strict();
36
+ }).partial();
37
37
  const endpoints = core.makeApi([
38
38
  {
39
39
  method: "get",
@@ -84,12 +84,13 @@ const endpoints = core.makeApi([
84
84
  originalFileName: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
85
85
  size: zod.z.union([zod.z.number(), zod.z.null()]).optional(),
86
86
  createdAt: zod.z.string(),
87
- createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional()
88
- }).strict()
87
+ createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
88
+ deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
89
+ })
89
90
  ),
90
91
  count: zod.z.number(),
91
92
  pages: zod.z.number()
92
- }).strict()
93
+ })
93
94
  },
94
95
  {
95
96
  method: "post",
@@ -138,12 +139,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
138
139
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
139
140
  createdAt: zod.z.string(),
140
141
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
141
- }).strict()
142
- }).strict(),
142
+ })
143
+ }),
143
144
  zod.z.object({
144
145
  url: zod.z.string(),
145
146
  expiresAt: zod.z.string().datetime({ offset: true })
146
- }).strict()
147
+ })
147
148
  ])
148
149
  },
149
150
  {
@@ -185,10 +186,10 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
185
186
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
186
187
  createdAt: zod.z.string(),
187
188
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
188
- }).strict(),
189
+ }),
189
190
  zod.z.null()
190
191
  ])
191
- }).strict(),
192
+ }),
192
193
  errors: [
193
194
  {
194
195
  status: 404,
@@ -237,12 +238,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
237
238
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
238
239
  createdAt: zod.z.string(),
239
240
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
240
- }).strict()
241
- }).strict(),
241
+ })
242
+ }),
242
243
  zod.z.object({
243
244
  url: zod.z.string().url(),
244
245
  expiresAt: zod.z.string().datetime({ offset: true })
245
- }).strict()
246
+ })
246
247
  ])
247
248
  },
248
249
  {
@@ -294,7 +295,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
294
295
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
295
296
  createdAt: zod.z.string(),
296
297
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
297
- }).strict(),
298
+ }),
298
299
  errors: [
299
300
  {
300
301
  status: 404,
@@ -314,7 +315,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
314
315
  files: zod.z.number(),
315
316
  permalinks: zod.z.number(),
316
317
  hasCustomSettings: zod.z.boolean()
317
- }).strict()
318
+ })
318
319
  )
319
320
  },
320
321
  {
@@ -359,7 +360,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
359
360
  bucketName: zod.z.string().min(1),
360
361
  keyArns: zod.z.array(zod.z.string()).min(1),
361
362
  defaultS3LinkTtl: zod.z.number().gte(1)
362
- }).strict()
363
+ })
363
364
  },
364
365
  {
365
366
  method: "get",
@@ -390,10 +391,10 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
390
391
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
391
392
  createdAt: zod.z.string(),
392
393
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
393
- }).strict(),
394
+ }),
394
395
  zod.z.null()
395
396
  ])
396
- }).strict(),
397
+ }),
397
398
  errors: [
398
399
  {
399
400
  status: 404,
@@ -414,7 +415,7 @@ The returned permalink ID should be used with the `/permalinks/:permalinkId
414
415
  {
415
416
  name: "body",
416
417
  type: "Body",
417
- schema: zod.z.object({ expiresAt: zod.z.string().datetime({ offset: true }) }).partial().strict()
418
+ schema: zod.z.object({ expiresAt: zod.z.string().datetime({ offset: true }) }).partial()
418
419
  },
419
420
  {
420
421
  name: "fileId",
@@ -429,7 +430,7 @@ The returned permalink ID should be used with the `/permalinks/:permalinkId
429
430
  createdAt: zod.z.string(),
430
431
  expiresAt: zod.z.union([zod.z.string(), zod.z.null()]),
431
432
  createdBy: zod.z.union([zod.z.string(), zod.z.null()])
432
- }).strict()
433
+ })
433
434
  },
434
435
  {
435
436
  method: "get",
@@ -451,7 +452,7 @@ The returned permalink ID should be used with the `/permalinks/:permalinkId
451
452
  createdAt: zod.z.string(),
452
453
  expiresAt: zod.z.union([zod.z.string(), zod.z.null()]),
453
454
  createdBy: zod.z.union([zod.z.string(), zod.z.null()])
454
- }).strict()
455
+ })
455
456
  )
456
457
  },
457
458
  {
@@ -501,12 +502,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
501
502
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
502
503
  createdAt: zod.z.string(),
503
504
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
504
- }).strict()
505
- }).strict(),
505
+ })
506
+ }),
506
507
  zod.z.object({
507
508
  url: zod.z.string(),
508
509
  expiresAt: zod.z.string().datetime({ offset: true })
509
- }).strict()
510
+ })
510
511
  ])
511
512
  },
512
513
  {
@@ -544,12 +545,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
544
545
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
545
546
  createdAt: zod.z.string(),
546
547
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
547
- }).strict()
548
- }).strict(),
548
+ })
549
+ }),
549
550
  zod.z.object({
550
551
  url: zod.z.string().url(),
551
552
  expiresAt: zod.z.string().datetime({ offset: true })
552
- }).strict()
553
+ })
553
554
  ])
554
555
  },
555
556
  {
@@ -591,7 +592,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
591
592
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
592
593
  createdAt: zod.z.string(),
593
594
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
594
- }).strict(),
595
+ }),
595
596
  errors: [
596
597
  {
597
598
  status: 404,
@@ -627,7 +628,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
627
628
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
628
629
  createdAt: zod.z.string(),
629
630
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
630
- }).strict()
631
+ })
631
632
  ),
632
633
  zod.z.object({
633
634
  files: zod.z.array(
@@ -644,9 +645,9 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
644
645
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
645
646
  createdAt: zod.z.string(),
646
647
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
647
- }).strict()
648
+ })
648
649
  )
649
- }).strict()
650
+ })
650
651
  ])
651
652
  },
652
653
  {
@@ -711,7 +712,7 @@ Make sure to follow redirects to the actual file download URL.
711
712
  createdAt: zod.z.string(),
712
713
  expiresAt: zod.z.union([zod.z.string(), zod.z.null()]),
713
714
  createdBy: zod.z.union([zod.z.string(), zod.z.null()])
714
- }).strict(),
715
+ }),
715
716
  errors: [
716
717
  {
717
718
  status: 404,
@@ -749,10 +750,10 @@ Make sure to follow redirects to the actual file download URL.
749
750
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
750
751
  createdAt: zod.z.string(),
751
752
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
752
- }).strict(),
753
+ }),
753
754
  zod.z.null()
754
755
  ])
755
- }).strict(),
756
+ }),
756
757
  errors: [
757
758
  {
758
759
  status: 404,
@@ -808,12 +809,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
808
809
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
809
810
  createdAt: zod.z.string(),
810
811
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
811
- }).strict()
812
- }).strict(),
812
+ })
813
+ }),
813
814
  zod.z.object({
814
815
  url: zod.z.string(),
815
816
  expiresAt: zod.z.string().datetime({ offset: true })
816
- }).strict()
817
+ })
817
818
  ])
818
819
  },
819
820
  {
@@ -851,12 +852,12 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
851
852
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
852
853
  createdAt: zod.z.string(),
853
854
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
854
- }).strict()
855
- }).strict(),
855
+ })
856
+ }),
856
857
  zod.z.object({
857
858
  url: zod.z.string().url(),
858
859
  expiresAt: zod.z.string().datetime({ offset: true })
859
- }).strict()
860
+ })
860
861
  ])
861
862
  },
862
863
  {
@@ -898,7 +899,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
898
899
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
899
900
  createdAt: zod.z.string(),
900
901
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
901
- }).strict(),
902
+ }),
902
903
  errors: [
903
904
  {
904
905
  status: 404,
@@ -934,7 +935,7 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
934
935
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
935
936
  createdAt: zod.z.string(),
936
937
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
937
- }).strict()
938
+ })
938
939
  ),
939
940
  zod.z.object({
940
941
  files: zod.z.array(
@@ -951,9 +952,9 @@ The returned `uploadUrl` is valid for 1 hour by default. You can chang
951
952
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
952
953
  createdAt: zod.z.string(),
953
954
  deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
954
- }).strict()
955
+ })
955
956
  )
956
- }).strict()
957
+ })
957
958
  ])
958
959
  }
959
960
  ]);