@meistrari/vault-http-client 2.6.2 → 2.6.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.cjs +5 -3
- package/dist/index.d.cts +52 -6
- package/dist/index.d.mts +52 -6
- package/dist/index.d.ts +52 -6
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -49,9 +49,11 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
49
49
|
createdAt: z.ZodString;
|
|
50
50
|
createdBy: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
51
51
|
deletedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
52
|
+
childrenCount: z.ZodNumber;
|
|
52
53
|
}, "strip", z.ZodTypeAny, {
|
|
53
54
|
id: string;
|
|
54
55
|
createdAt: string;
|
|
56
|
+
childrenCount: number;
|
|
55
57
|
size?: number | null | undefined;
|
|
56
58
|
createdBy?: string | null | undefined;
|
|
57
59
|
deletedAt?: string | null | undefined;
|
|
@@ -59,37 +61,37 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
59
61
|
}, {
|
|
60
62
|
id: string;
|
|
61
63
|
createdAt: string;
|
|
64
|
+
childrenCount: number;
|
|
62
65
|
size?: number | null | undefined;
|
|
63
66
|
createdBy?: string | null | undefined;
|
|
64
67
|
deletedAt?: string | null | undefined;
|
|
65
68
|
originalFileName?: string | null | undefined;
|
|
66
69
|
}>, "many">;
|
|
67
70
|
count: z.ZodNumber;
|
|
68
|
-
childrenCount: z.ZodNumber;
|
|
69
71
|
pages: z.ZodNumber;
|
|
70
72
|
}, "strip", z.ZodTypeAny, {
|
|
71
73
|
files: {
|
|
72
74
|
id: string;
|
|
73
75
|
createdAt: string;
|
|
76
|
+
childrenCount: number;
|
|
74
77
|
size?: number | null | undefined;
|
|
75
78
|
createdBy?: string | null | undefined;
|
|
76
79
|
deletedAt?: string | null | undefined;
|
|
77
80
|
originalFileName?: string | null | undefined;
|
|
78
81
|
}[];
|
|
79
82
|
count: number;
|
|
80
|
-
childrenCount: number;
|
|
81
83
|
pages: number;
|
|
82
84
|
}, {
|
|
83
85
|
files: {
|
|
84
86
|
id: string;
|
|
85
87
|
createdAt: string;
|
|
88
|
+
childrenCount: number;
|
|
86
89
|
size?: number | null | undefined;
|
|
87
90
|
createdBy?: string | null | undefined;
|
|
88
91
|
deletedAt?: string | null | undefined;
|
|
89
92
|
originalFileName?: string | null | undefined;
|
|
90
93
|
}[];
|
|
91
94
|
count: number;
|
|
92
|
-
childrenCount: number;
|
|
93
95
|
pages: number;
|
|
94
96
|
}>;
|
|
95
97
|
}, {
|
|
@@ -103,6 +105,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
103
105
|
schema: z.ZodObject<{
|
|
104
106
|
fileName: z.ZodOptional<z.ZodString>;
|
|
105
107
|
parentId: z.ZodOptional<z.ZodString>;
|
|
108
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
106
109
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
107
110
|
size: z.ZodOptional<z.ZodNumber>;
|
|
108
111
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -112,6 +115,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
112
115
|
path?: string | undefined;
|
|
113
116
|
fileName?: string | undefined;
|
|
114
117
|
parentId?: string | undefined;
|
|
118
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
115
119
|
sha256sum?: string | undefined;
|
|
116
120
|
size?: number | undefined;
|
|
117
121
|
mimeType?: string | undefined;
|
|
@@ -120,6 +124,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
120
124
|
path?: string | undefined;
|
|
121
125
|
fileName?: string | undefined;
|
|
122
126
|
parentId?: string | undefined;
|
|
127
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
123
128
|
sha256sum?: string | undefined;
|
|
124
129
|
size?: number | undefined;
|
|
125
130
|
mimeType?: string | undefined;
|
|
@@ -1038,6 +1043,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1038
1043
|
schema: z.ZodObject<{
|
|
1039
1044
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1040
1045
|
parentId: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
1041
1047
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
1042
1048
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1043
1049
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -1047,6 +1053,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1047
1053
|
path?: string | undefined;
|
|
1048
1054
|
fileName?: string | undefined;
|
|
1049
1055
|
parentId?: string | undefined;
|
|
1056
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1050
1057
|
sha256sum?: string | undefined;
|
|
1051
1058
|
size?: number | undefined;
|
|
1052
1059
|
mimeType?: string | undefined;
|
|
@@ -1055,6 +1062,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1055
1062
|
path?: string | undefined;
|
|
1056
1063
|
fileName?: string | undefined;
|
|
1057
1064
|
parentId?: string | undefined;
|
|
1065
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1058
1066
|
sha256sum?: string | undefined;
|
|
1059
1067
|
size?: number | undefined;
|
|
1060
1068
|
mimeType?: string | undefined;
|
|
@@ -1347,6 +1355,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1347
1355
|
schema: z.ZodObject<{
|
|
1348
1356
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1349
1357
|
parentId: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
1350
1359
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
1351
1360
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1352
1361
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -1356,6 +1365,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1356
1365
|
path?: string | undefined;
|
|
1357
1366
|
fileName?: string | undefined;
|
|
1358
1367
|
parentId?: string | undefined;
|
|
1368
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1359
1369
|
sha256sum?: string | undefined;
|
|
1360
1370
|
size?: number | undefined;
|
|
1361
1371
|
mimeType?: string | undefined;
|
|
@@ -1364,6 +1374,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1364
1374
|
path?: string | undefined;
|
|
1365
1375
|
fileName?: string | undefined;
|
|
1366
1376
|
parentId?: string | undefined;
|
|
1377
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1367
1378
|
sha256sum?: string | undefined;
|
|
1368
1379
|
size?: number | undefined;
|
|
1369
1380
|
mimeType?: string | undefined;
|
|
@@ -1696,6 +1707,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1696
1707
|
schema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1697
1708
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1698
1709
|
parentId: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
1699
1711
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
1700
1712
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1701
1713
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -1705,6 +1717,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1705
1717
|
path?: string | undefined;
|
|
1706
1718
|
fileName?: string | undefined;
|
|
1707
1719
|
parentId?: string | undefined;
|
|
1720
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1708
1721
|
sha256sum?: string | undefined;
|
|
1709
1722
|
size?: number | undefined;
|
|
1710
1723
|
mimeType?: string | undefined;
|
|
@@ -1713,6 +1726,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1713
1726
|
path?: string | undefined;
|
|
1714
1727
|
fileName?: string | undefined;
|
|
1715
1728
|
parentId?: string | undefined;
|
|
1729
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1716
1730
|
sha256sum?: string | undefined;
|
|
1717
1731
|
size?: number | undefined;
|
|
1718
1732
|
mimeType?: string | undefined;
|
|
@@ -1942,6 +1956,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1942
1956
|
schema: z.ZodObject<{
|
|
1943
1957
|
fileName: z.ZodOptional<z.ZodString>;
|
|
1944
1958
|
parentId: z.ZodOptional<z.ZodString>;
|
|
1959
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
1945
1960
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
1946
1961
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1947
1962
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -1951,6 +1966,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1951
1966
|
path?: string | undefined;
|
|
1952
1967
|
fileName?: string | undefined;
|
|
1953
1968
|
parentId?: string | undefined;
|
|
1969
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1954
1970
|
sha256sum?: string | undefined;
|
|
1955
1971
|
size?: number | undefined;
|
|
1956
1972
|
mimeType?: string | undefined;
|
|
@@ -1959,6 +1975,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
1959
1975
|
path?: string | undefined;
|
|
1960
1976
|
fileName?: string | undefined;
|
|
1961
1977
|
parentId?: string | undefined;
|
|
1978
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
1962
1979
|
sha256sum?: string | undefined;
|
|
1963
1980
|
size?: number | undefined;
|
|
1964
1981
|
mimeType?: string | undefined;
|
|
@@ -2177,6 +2194,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2177
2194
|
schema: z.ZodObject<{
|
|
2178
2195
|
fileName: z.ZodOptional<z.ZodString>;
|
|
2179
2196
|
parentId: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
2180
2198
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
2181
2199
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2182
2200
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -2186,6 +2204,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2186
2204
|
path?: string | undefined;
|
|
2187
2205
|
fileName?: string | undefined;
|
|
2188
2206
|
parentId?: string | undefined;
|
|
2207
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2189
2208
|
sha256sum?: string | undefined;
|
|
2190
2209
|
size?: number | undefined;
|
|
2191
2210
|
mimeType?: string | undefined;
|
|
@@ -2194,6 +2213,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2194
2213
|
path?: string | undefined;
|
|
2195
2214
|
fileName?: string | undefined;
|
|
2196
2215
|
parentId?: string | undefined;
|
|
2216
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2197
2217
|
sha256sum?: string | undefined;
|
|
2198
2218
|
size?: number | undefined;
|
|
2199
2219
|
mimeType?: string | undefined;
|
|
@@ -2526,6 +2546,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2526
2546
|
schema: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
2527
2547
|
fileName: z.ZodOptional<z.ZodString>;
|
|
2528
2548
|
parentId: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
onMissingParent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["error", "create-as-root"]>>>;
|
|
2529
2550
|
sha256sum: z.ZodOptional<z.ZodString>;
|
|
2530
2551
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2531
2552
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
@@ -2535,6 +2556,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2535
2556
|
path?: string | undefined;
|
|
2536
2557
|
fileName?: string | undefined;
|
|
2537
2558
|
parentId?: string | undefined;
|
|
2559
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2538
2560
|
sha256sum?: string | undefined;
|
|
2539
2561
|
size?: number | undefined;
|
|
2540
2562
|
mimeType?: string | undefined;
|
|
@@ -2543,6 +2565,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
|
|
|
2543
2565
|
path?: string | undefined;
|
|
2544
2566
|
fileName?: string | undefined;
|
|
2545
2567
|
parentId?: string | undefined;
|
|
2568
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2546
2569
|
sha256sum?: string | undefined;
|
|
2547
2570
|
size?: number | undefined;
|
|
2548
2571
|
mimeType?: string | undefined;
|
|
@@ -2730,9 +2753,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
2730
2753
|
createdAt: zod.ZodString;
|
|
2731
2754
|
createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
|
|
2732
2755
|
deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
|
|
2756
|
+
childrenCount: zod.ZodNumber;
|
|
2733
2757
|
}, "strip", zod.ZodTypeAny, {
|
|
2734
2758
|
id: string;
|
|
2735
2759
|
createdAt: string;
|
|
2760
|
+
childrenCount: number;
|
|
2736
2761
|
deletedAt?: string | null | undefined;
|
|
2737
2762
|
originalFileName?: string | null | undefined;
|
|
2738
2763
|
size?: number | null | undefined;
|
|
@@ -2740,37 +2765,37 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
2740
2765
|
}, {
|
|
2741
2766
|
id: string;
|
|
2742
2767
|
createdAt: string;
|
|
2768
|
+
childrenCount: number;
|
|
2743
2769
|
deletedAt?: string | null | undefined;
|
|
2744
2770
|
originalFileName?: string | null | undefined;
|
|
2745
2771
|
size?: number | null | undefined;
|
|
2746
2772
|
createdBy?: string | null | undefined;
|
|
2747
2773
|
}>, "many">;
|
|
2748
2774
|
count: zod.ZodNumber;
|
|
2749
|
-
childrenCount: zod.ZodNumber;
|
|
2750
2775
|
pages: zod.ZodNumber;
|
|
2751
2776
|
}, "strip", zod.ZodTypeAny, {
|
|
2752
2777
|
files: {
|
|
2753
2778
|
id: string;
|
|
2754
2779
|
createdAt: string;
|
|
2780
|
+
childrenCount: number;
|
|
2755
2781
|
deletedAt?: string | null | undefined;
|
|
2756
2782
|
originalFileName?: string | null | undefined;
|
|
2757
2783
|
size?: number | null | undefined;
|
|
2758
2784
|
createdBy?: string | null | undefined;
|
|
2759
2785
|
}[];
|
|
2760
2786
|
count: number;
|
|
2761
|
-
childrenCount: number;
|
|
2762
2787
|
pages: number;
|
|
2763
2788
|
}, {
|
|
2764
2789
|
files: {
|
|
2765
2790
|
id: string;
|
|
2766
2791
|
createdAt: string;
|
|
2792
|
+
childrenCount: number;
|
|
2767
2793
|
deletedAt?: string | null | undefined;
|
|
2768
2794
|
originalFileName?: string | null | undefined;
|
|
2769
2795
|
size?: number | null | undefined;
|
|
2770
2796
|
createdBy?: string | null | undefined;
|
|
2771
2797
|
}[];
|
|
2772
2798
|
count: number;
|
|
2773
|
-
childrenCount: number;
|
|
2774
2799
|
pages: number;
|
|
2775
2800
|
}>;
|
|
2776
2801
|
}, {
|
|
@@ -2784,6 +2809,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
2784
2809
|
schema: zod.ZodObject<{
|
|
2785
2810
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
2786
2811
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
2812
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
2787
2813
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
2788
2814
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
2789
2815
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -2795,6 +2821,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
2795
2821
|
createdBy?: string | undefined;
|
|
2796
2822
|
fileName?: string | undefined;
|
|
2797
2823
|
parentId?: string | undefined;
|
|
2824
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2798
2825
|
sha256sum?: string | undefined;
|
|
2799
2826
|
mimeType?: string | undefined;
|
|
2800
2827
|
}, {
|
|
@@ -2803,6 +2830,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
2803
2830
|
createdBy?: string | undefined;
|
|
2804
2831
|
fileName?: string | undefined;
|
|
2805
2832
|
parentId?: string | undefined;
|
|
2833
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
2806
2834
|
sha256sum?: string | undefined;
|
|
2807
2835
|
mimeType?: string | undefined;
|
|
2808
2836
|
}>;
|
|
@@ -3719,6 +3747,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
3719
3747
|
schema: zod.ZodObject<{
|
|
3720
3748
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
3721
3749
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
3750
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
3722
3751
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
3723
3752
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
3724
3753
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -3730,6 +3759,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
3730
3759
|
createdBy?: string | undefined;
|
|
3731
3760
|
fileName?: string | undefined;
|
|
3732
3761
|
parentId?: string | undefined;
|
|
3762
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
3733
3763
|
sha256sum?: string | undefined;
|
|
3734
3764
|
mimeType?: string | undefined;
|
|
3735
3765
|
}, {
|
|
@@ -3738,6 +3768,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
3738
3768
|
createdBy?: string | undefined;
|
|
3739
3769
|
fileName?: string | undefined;
|
|
3740
3770
|
parentId?: string | undefined;
|
|
3771
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
3741
3772
|
sha256sum?: string | undefined;
|
|
3742
3773
|
mimeType?: string | undefined;
|
|
3743
3774
|
}>;
|
|
@@ -4028,6 +4059,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4028
4059
|
schema: zod.ZodObject<{
|
|
4029
4060
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
4030
4061
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
4062
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
4031
4063
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
4032
4064
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
4033
4065
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4039,6 +4071,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4039
4071
|
createdBy?: string | undefined;
|
|
4040
4072
|
fileName?: string | undefined;
|
|
4041
4073
|
parentId?: string | undefined;
|
|
4074
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4042
4075
|
sha256sum?: string | undefined;
|
|
4043
4076
|
mimeType?: string | undefined;
|
|
4044
4077
|
}, {
|
|
@@ -4047,6 +4080,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4047
4080
|
createdBy?: string | undefined;
|
|
4048
4081
|
fileName?: string | undefined;
|
|
4049
4082
|
parentId?: string | undefined;
|
|
4083
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4050
4084
|
sha256sum?: string | undefined;
|
|
4051
4085
|
mimeType?: string | undefined;
|
|
4052
4086
|
}>;
|
|
@@ -4377,6 +4411,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4377
4411
|
schema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
4378
4412
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
4379
4413
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
4414
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
4380
4415
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
4381
4416
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
4382
4417
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4388,6 +4423,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4388
4423
|
createdBy?: string | undefined;
|
|
4389
4424
|
fileName?: string | undefined;
|
|
4390
4425
|
parentId?: string | undefined;
|
|
4426
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4391
4427
|
sha256sum?: string | undefined;
|
|
4392
4428
|
mimeType?: string | undefined;
|
|
4393
4429
|
}, {
|
|
@@ -4396,6 +4432,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4396
4432
|
createdBy?: string | undefined;
|
|
4397
4433
|
fileName?: string | undefined;
|
|
4398
4434
|
parentId?: string | undefined;
|
|
4435
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4399
4436
|
sha256sum?: string | undefined;
|
|
4400
4437
|
mimeType?: string | undefined;
|
|
4401
4438
|
}>, "many">, zod.ZodObject<{
|
|
@@ -4623,6 +4660,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4623
4660
|
schema: zod.ZodObject<{
|
|
4624
4661
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
4625
4662
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
4663
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
4626
4664
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
4627
4665
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
4628
4666
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4634,6 +4672,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4634
4672
|
createdBy?: string | undefined;
|
|
4635
4673
|
fileName?: string | undefined;
|
|
4636
4674
|
parentId?: string | undefined;
|
|
4675
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4637
4676
|
sha256sum?: string | undefined;
|
|
4638
4677
|
mimeType?: string | undefined;
|
|
4639
4678
|
}, {
|
|
@@ -4642,6 +4681,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4642
4681
|
createdBy?: string | undefined;
|
|
4643
4682
|
fileName?: string | undefined;
|
|
4644
4683
|
parentId?: string | undefined;
|
|
4684
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4645
4685
|
sha256sum?: string | undefined;
|
|
4646
4686
|
mimeType?: string | undefined;
|
|
4647
4687
|
}>;
|
|
@@ -4858,6 +4898,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4858
4898
|
schema: zod.ZodObject<{
|
|
4859
4899
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
4860
4900
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
4901
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
4861
4902
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
4862
4903
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
4863
4904
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -4869,6 +4910,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4869
4910
|
createdBy?: string | undefined;
|
|
4870
4911
|
fileName?: string | undefined;
|
|
4871
4912
|
parentId?: string | undefined;
|
|
4913
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4872
4914
|
sha256sum?: string | undefined;
|
|
4873
4915
|
mimeType?: string | undefined;
|
|
4874
4916
|
}, {
|
|
@@ -4877,6 +4919,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
4877
4919
|
createdBy?: string | undefined;
|
|
4878
4920
|
fileName?: string | undefined;
|
|
4879
4921
|
parentId?: string | undefined;
|
|
4922
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
4880
4923
|
sha256sum?: string | undefined;
|
|
4881
4924
|
mimeType?: string | undefined;
|
|
4882
4925
|
}>;
|
|
@@ -5207,6 +5250,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
5207
5250
|
schema: zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
5208
5251
|
fileName: zod.ZodOptional<zod.ZodString>;
|
|
5209
5252
|
parentId: zod.ZodOptional<zod.ZodString>;
|
|
5253
|
+
onMissingParent: zod.ZodOptional<zod.ZodDefault<zod.ZodEnum<["error", "create-as-root"]>>>;
|
|
5210
5254
|
sha256sum: zod.ZodOptional<zod.ZodString>;
|
|
5211
5255
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
5212
5256
|
mimeType: zod.ZodOptional<zod.ZodString>;
|
|
@@ -5218,6 +5262,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
5218
5262
|
createdBy?: string | undefined;
|
|
5219
5263
|
fileName?: string | undefined;
|
|
5220
5264
|
parentId?: string | undefined;
|
|
5265
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
5221
5266
|
sha256sum?: string | undefined;
|
|
5222
5267
|
mimeType?: string | undefined;
|
|
5223
5268
|
}, {
|
|
@@ -5226,6 +5271,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
|
|
|
5226
5271
|
createdBy?: string | undefined;
|
|
5227
5272
|
fileName?: string | undefined;
|
|
5228
5273
|
parentId?: string | undefined;
|
|
5274
|
+
onMissingParent?: "error" | "create-as-root" | undefined;
|
|
5229
5275
|
sha256sum?: string | undefined;
|
|
5230
5276
|
mimeType?: string | undefined;
|
|
5231
5277
|
}>, "many">, zod.ZodObject<{
|