@meistrari/vault-http-client 2.6.2 → 2.6.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
@@ -87,11 +87,11 @@ const endpoints = core.makeApi([
87
87
  size: zod.z.union([zod.z.number(), zod.z.null()]).optional(),
88
88
  createdAt: zod.z.string(),
89
89
  createdBy: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
90
- deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional()
90
+ deletedAt: zod.z.union([zod.z.string(), zod.z.null()]).optional(),
91
+ childrenCount: zod.z.number()
91
92
  })
92
93
  ),
93
94
  count: zod.z.number(),
94
- childrenCount: zod.z.number(),
95
95
  pages: zod.z.number()
96
96
  })
97
97
  },
@@ -1316,7 +1316,7 @@ function useVaultClient(vaultUrl, token) {
1316
1316
  axiosConfig: {
1317
1317
  headers: {
1318
1318
  "Authorization": token,
1319
- "User-Agent": "vault-http-client:2.6.2"
1319
+ "User-Agent": "vault-http-client:2.6.3"
1320
1320
  }
1321
1321
  }
1322
1322
  });
package/dist/index.d.cts 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
  }, {
@@ -2730,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2730
2732
  createdAt: zod.ZodString;
2731
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2732
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2733
2736
  }, "strip", zod.ZodTypeAny, {
2734
2737
  id: string;
2735
2738
  createdAt: string;
2739
+ childrenCount: number;
2736
2740
  deletedAt?: string | null | undefined;
2737
2741
  originalFileName?: string | null | undefined;
2738
2742
  size?: number | null | undefined;
@@ -2740,37 +2744,37 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2740
2744
  }, {
2741
2745
  id: string;
2742
2746
  createdAt: string;
2747
+ childrenCount: number;
2743
2748
  deletedAt?: string | null | undefined;
2744
2749
  originalFileName?: string | null | undefined;
2745
2750
  size?: number | null | undefined;
2746
2751
  createdBy?: string | null | undefined;
2747
2752
  }>, "many">;
2748
2753
  count: zod.ZodNumber;
2749
- childrenCount: zod.ZodNumber;
2750
2754
  pages: zod.ZodNumber;
2751
2755
  }, "strip", zod.ZodTypeAny, {
2752
2756
  files: {
2753
2757
  id: string;
2754
2758
  createdAt: string;
2759
+ childrenCount: number;
2755
2760
  deletedAt?: string | null | undefined;
2756
2761
  originalFileName?: string | null | undefined;
2757
2762
  size?: number | null | undefined;
2758
2763
  createdBy?: string | null | undefined;
2759
2764
  }[];
2760
2765
  count: number;
2761
- childrenCount: number;
2762
2766
  pages: number;
2763
2767
  }, {
2764
2768
  files: {
2765
2769
  id: string;
2766
2770
  createdAt: string;
2771
+ childrenCount: number;
2767
2772
  deletedAt?: string | null | undefined;
2768
2773
  originalFileName?: string | null | undefined;
2769
2774
  size?: number | null | undefined;
2770
2775
  createdBy?: string | null | undefined;
2771
2776
  }[];
2772
2777
  count: number;
2773
- childrenCount: number;
2774
2778
  pages: number;
2775
2779
  }>;
2776
2780
  }, {
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
  }, {
@@ -2730,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2730
2732
  createdAt: zod.ZodString;
2731
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2732
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2733
2736
  }, "strip", zod.ZodTypeAny, {
2734
2737
  id: string;
2735
2738
  createdAt: string;
2739
+ childrenCount: number;
2736
2740
  deletedAt?: string | null | undefined;
2737
2741
  originalFileName?: string | null | undefined;
2738
2742
  size?: number | null | undefined;
@@ -2740,37 +2744,37 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2740
2744
  }, {
2741
2745
  id: string;
2742
2746
  createdAt: string;
2747
+ childrenCount: number;
2743
2748
  deletedAt?: string | null | undefined;
2744
2749
  originalFileName?: string | null | undefined;
2745
2750
  size?: number | null | undefined;
2746
2751
  createdBy?: string | null | undefined;
2747
2752
  }>, "many">;
2748
2753
  count: zod.ZodNumber;
2749
- childrenCount: zod.ZodNumber;
2750
2754
  pages: zod.ZodNumber;
2751
2755
  }, "strip", zod.ZodTypeAny, {
2752
2756
  files: {
2753
2757
  id: string;
2754
2758
  createdAt: string;
2759
+ childrenCount: number;
2755
2760
  deletedAt?: string | null | undefined;
2756
2761
  originalFileName?: string | null | undefined;
2757
2762
  size?: number | null | undefined;
2758
2763
  createdBy?: string | null | undefined;
2759
2764
  }[];
2760
2765
  count: number;
2761
- childrenCount: number;
2762
2766
  pages: number;
2763
2767
  }, {
2764
2768
  files: {
2765
2769
  id: string;
2766
2770
  createdAt: string;
2771
+ childrenCount: number;
2767
2772
  deletedAt?: string | null | undefined;
2768
2773
  originalFileName?: string | null | undefined;
2769
2774
  size?: number | null | undefined;
2770
2775
  createdBy?: string | null | undefined;
2771
2776
  }[];
2772
2777
  count: number;
2773
- childrenCount: number;
2774
2778
  pages: number;
2775
2779
  }>;
2776
2780
  }, {
package/dist/index.d.ts 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
  }, {
@@ -2730,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2730
2732
  createdAt: zod.ZodString;
2731
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2732
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2733
2736
  }, "strip", zod.ZodTypeAny, {
2734
2737
  id: string;
2735
2738
  createdAt: string;
2739
+ childrenCount: number;
2736
2740
  deletedAt?: string | null | undefined;
2737
2741
  originalFileName?: string | null | undefined;
2738
2742
  size?: number | null | undefined;
@@ -2740,37 +2744,37 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2740
2744
  }, {
2741
2745
  id: string;
2742
2746
  createdAt: string;
2747
+ childrenCount: number;
2743
2748
  deletedAt?: string | null | undefined;
2744
2749
  originalFileName?: string | null | undefined;
2745
2750
  size?: number | null | undefined;
2746
2751
  createdBy?: string | null | undefined;
2747
2752
  }>, "many">;
2748
2753
  count: zod.ZodNumber;
2749
- childrenCount: zod.ZodNumber;
2750
2754
  pages: zod.ZodNumber;
2751
2755
  }, "strip", zod.ZodTypeAny, {
2752
2756
  files: {
2753
2757
  id: string;
2754
2758
  createdAt: string;
2759
+ childrenCount: number;
2755
2760
  deletedAt?: string | null | undefined;
2756
2761
  originalFileName?: string | null | undefined;
2757
2762
  size?: number | null | undefined;
2758
2763
  createdBy?: string | null | undefined;
2759
2764
  }[];
2760
2765
  count: number;
2761
- childrenCount: number;
2762
2766
  pages: number;
2763
2767
  }, {
2764
2768
  files: {
2765
2769
  id: string;
2766
2770
  createdAt: string;
2771
+ childrenCount: number;
2767
2772
  deletedAt?: string | null | undefined;
2768
2773
  originalFileName?: string | null | undefined;
2769
2774
  size?: number | null | undefined;
2770
2775
  createdBy?: string | null | undefined;
2771
2776
  }[];
2772
2777
  count: number;
2773
- childrenCount: number;
2774
2778
  pages: number;
2775
2779
  }>;
2776
2780
  }, {
package/dist/index.mjs CHANGED
@@ -85,11 +85,11 @@ const endpoints = makeApi([
85
85
  size: z.union([z.number(), z.null()]).optional(),
86
86
  createdAt: z.string(),
87
87
  createdBy: z.union([z.string(), z.null()]).optional(),
88
- deletedAt: z.union([z.string(), z.null()]).optional()
88
+ deletedAt: z.union([z.string(), z.null()]).optional(),
89
+ childrenCount: z.number()
89
90
  })
90
91
  ),
91
92
  count: z.number(),
92
- childrenCount: z.number(),
93
93
  pages: z.number()
94
94
  })
95
95
  },
@@ -1314,7 +1314,7 @@ function useVaultClient(vaultUrl, token) {
1314
1314
  axiosConfig: {
1315
1315
  headers: {
1316
1316
  "Authorization": token,
1317
- "User-Agent": "vault-http-client:2.6.2"
1317
+ "User-Agent": "vault-http-client:2.6.3"
1318
1318
  }
1319
1319
  }
1320
1320
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/vault-http-client",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "exports": {
6
6
  ".": {