@meistrari/vault-http-client 2.5.0 → 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,7 +87,8 @@ 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(),
@@ -1315,7 +1316,7 @@ function useVaultClient(vaultUrl, token) {
1315
1316
  axiosConfig: {
1316
1317
  headers: {
1317
1318
  "Authorization": token,
1318
- "User-Agent": "vault-http-client:2.5.0"
1319
+ "User-Agent": "vault-http-client:2.6.3"
1319
1320
  }
1320
1321
  }
1321
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,6 +61,7 @@ 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;
@@ -70,6 +73,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
70
73
  files: {
71
74
  id: string;
72
75
  createdAt: string;
76
+ childrenCount: number;
73
77
  size?: number | null | undefined;
74
78
  createdBy?: string | null | undefined;
75
79
  deletedAt?: string | null | undefined;
@@ -81,6 +85,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
81
85
  files: {
82
86
  id: string;
83
87
  createdAt: string;
88
+ childrenCount: number;
84
89
  size?: number | null | undefined;
85
90
  createdBy?: string | null | undefined;
86
91
  deletedAt?: string | null | undefined;
@@ -2727,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2727
2732
  createdAt: zod.ZodString;
2728
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2729
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2730
2736
  }, "strip", zod.ZodTypeAny, {
2731
2737
  id: string;
2732
2738
  createdAt: string;
2739
+ childrenCount: number;
2733
2740
  deletedAt?: string | null | undefined;
2734
2741
  originalFileName?: string | null | undefined;
2735
2742
  size?: number | null | undefined;
@@ -2737,6 +2744,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2737
2744
  }, {
2738
2745
  id: string;
2739
2746
  createdAt: string;
2747
+ childrenCount: number;
2740
2748
  deletedAt?: string | null | undefined;
2741
2749
  originalFileName?: string | null | undefined;
2742
2750
  size?: number | null | undefined;
@@ -2748,6 +2756,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2748
2756
  files: {
2749
2757
  id: string;
2750
2758
  createdAt: string;
2759
+ childrenCount: number;
2751
2760
  deletedAt?: string | null | undefined;
2752
2761
  originalFileName?: string | null | undefined;
2753
2762
  size?: number | null | undefined;
@@ -2759,6 +2768,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2759
2768
  files: {
2760
2769
  id: string;
2761
2770
  createdAt: string;
2771
+ childrenCount: number;
2762
2772
  deletedAt?: string | null | undefined;
2763
2773
  originalFileName?: string | null | undefined;
2764
2774
  size?: number | null | undefined;
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,6 +61,7 @@ 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;
@@ -70,6 +73,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
70
73
  files: {
71
74
  id: string;
72
75
  createdAt: string;
76
+ childrenCount: number;
73
77
  size?: number | null | undefined;
74
78
  createdBy?: string | null | undefined;
75
79
  deletedAt?: string | null | undefined;
@@ -81,6 +85,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
81
85
  files: {
82
86
  id: string;
83
87
  createdAt: string;
88
+ childrenCount: number;
84
89
  size?: number | null | undefined;
85
90
  createdBy?: string | null | undefined;
86
91
  deletedAt?: string | null | undefined;
@@ -2727,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2727
2732
  createdAt: zod.ZodString;
2728
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2729
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2730
2736
  }, "strip", zod.ZodTypeAny, {
2731
2737
  id: string;
2732
2738
  createdAt: string;
2739
+ childrenCount: number;
2733
2740
  deletedAt?: string | null | undefined;
2734
2741
  originalFileName?: string | null | undefined;
2735
2742
  size?: number | null | undefined;
@@ -2737,6 +2744,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2737
2744
  }, {
2738
2745
  id: string;
2739
2746
  createdAt: string;
2747
+ childrenCount: number;
2740
2748
  deletedAt?: string | null | undefined;
2741
2749
  originalFileName?: string | null | undefined;
2742
2750
  size?: number | null | undefined;
@@ -2748,6 +2756,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2748
2756
  files: {
2749
2757
  id: string;
2750
2758
  createdAt: string;
2759
+ childrenCount: number;
2751
2760
  deletedAt?: string | null | undefined;
2752
2761
  originalFileName?: string | null | undefined;
2753
2762
  size?: number | null | undefined;
@@ -2759,6 +2768,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2759
2768
  files: {
2760
2769
  id: string;
2761
2770
  createdAt: string;
2771
+ childrenCount: number;
2762
2772
  deletedAt?: string | null | undefined;
2763
2773
  originalFileName?: string | null | undefined;
2764
2774
  size?: number | null | undefined;
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,6 +61,7 @@ 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;
@@ -70,6 +73,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
70
73
  files: {
71
74
  id: string;
72
75
  createdAt: string;
76
+ childrenCount: number;
73
77
  size?: number | null | undefined;
74
78
  createdBy?: string | null | undefined;
75
79
  deletedAt?: string | null | undefined;
@@ -81,6 +85,7 @@ declare function createApiClient(baseUrl: string, options?: ZodiosOptions): _zod
81
85
  files: {
82
86
  id: string;
83
87
  createdAt: string;
88
+ childrenCount: number;
84
89
  size?: number | null | undefined;
85
90
  createdBy?: string | null | undefined;
86
91
  deletedAt?: string | null | undefined;
@@ -2727,9 +2732,11 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2727
2732
  createdAt: zod.ZodString;
2728
2733
  createdBy: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2729
2734
  deletedAt: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodNull]>>;
2735
+ childrenCount: zod.ZodNumber;
2730
2736
  }, "strip", zod.ZodTypeAny, {
2731
2737
  id: string;
2732
2738
  createdAt: string;
2739
+ childrenCount: number;
2733
2740
  deletedAt?: string | null | undefined;
2734
2741
  originalFileName?: string | null | undefined;
2735
2742
  size?: number | null | undefined;
@@ -2737,6 +2744,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2737
2744
  }, {
2738
2745
  id: string;
2739
2746
  createdAt: string;
2747
+ childrenCount: number;
2740
2748
  deletedAt?: string | null | undefined;
2741
2749
  originalFileName?: string | null | undefined;
2742
2750
  size?: number | null | undefined;
@@ -2748,6 +2756,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2748
2756
  files: {
2749
2757
  id: string;
2750
2758
  createdAt: string;
2759
+ childrenCount: number;
2751
2760
  deletedAt?: string | null | undefined;
2752
2761
  originalFileName?: string | null | undefined;
2753
2762
  size?: number | null | undefined;
@@ -2759,6 +2768,7 @@ declare function useVaultClient(vaultUrl: string, token: string): _zodios_core.Z
2759
2768
  files: {
2760
2769
  id: string;
2761
2770
  createdAt: string;
2771
+ childrenCount: number;
2762
2772
  deletedAt?: string | null | undefined;
2763
2773
  originalFileName?: string | null | undefined;
2764
2774
  size?: number | null | undefined;
package/dist/index.mjs CHANGED
@@ -85,7 +85,8 @@ 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(),
@@ -1313,7 +1314,7 @@ function useVaultClient(vaultUrl, token) {
1313
1314
  axiosConfig: {
1314
1315
  headers: {
1315
1316
  "Authorization": token,
1316
- "User-Agent": "vault-http-client:2.5.0"
1317
+ "User-Agent": "vault-http-client:2.6.3"
1317
1318
  }
1318
1319
  }
1319
1320
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/vault-http-client",
3
- "version": "2.5.0",
3
+ "version": "2.6.3",
4
4
  "types": "dist/index.d.ts",
5
5
  "exports": {
6
6
  ".": {