@abella-bilhalba-engenharia/api-client 0.0.18 → 0.0.19

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
@@ -121,11 +121,13 @@ var adminContract = {
121
121
  perPage: import_zod3.default.number().positive().optional()
122
122
  }),
123
123
  responses: {
124
- 200: import_zod3.default.array(
125
- import_zod3.default.object({
126
- name: import_zod3.default.string()
127
- })
128
- )
124
+ 200: import_zod3.default.object({
125
+ data: import_zod3.default.array(
126
+ import_zod3.default.object({
127
+ name: import_zod3.default.string()
128
+ })
129
+ )
130
+ })
129
131
  },
130
132
  summary: "List all clients"
131
133
  }
package/dist/index.d.cts CHANGED
@@ -107,9 +107,11 @@ declare const adminContract: {
107
107
  };
108
108
  path: "/clients";
109
109
  responses: {
110
- 200: z__default.ZodArray<z__default.ZodObject<{
111
- name: z__default.ZodString;
112
- }, z__default.core.$strip>>;
110
+ 200: z__default.ZodObject<{
111
+ data: z__default.ZodArray<z__default.ZodObject<{
112
+ name: z__default.ZodString;
113
+ }, z__default.core.$strip>>;
114
+ }, z__default.core.$strip>;
113
115
  };
114
116
  };
115
117
  };
@@ -199,9 +201,11 @@ declare const contract: {
199
201
  message: z.ZodOptional<z.ZodDefault<z.ZodString>>;
200
202
  }, zod_v4_core.$strip>;
201
203
  }, zod_v4_core.$strip>;
202
- 200: z.ZodArray<z.ZodObject<{
203
- name: z.ZodString;
204
- }, zod_v4_core.$strip>>;
204
+ 200: z.ZodObject<{
205
+ data: z.ZodArray<z.ZodObject<{
206
+ name: z.ZodString;
207
+ }, zod_v4_core.$strip>>;
208
+ }, zod_v4_core.$strip>;
205
209
  };
206
210
  strictStatusCodes: true;
207
211
  };
package/dist/index.d.ts CHANGED
@@ -107,9 +107,11 @@ declare const adminContract: {
107
107
  };
108
108
  path: "/clients";
109
109
  responses: {
110
- 200: z__default.ZodArray<z__default.ZodObject<{
111
- name: z__default.ZodString;
112
- }, z__default.core.$strip>>;
110
+ 200: z__default.ZodObject<{
111
+ data: z__default.ZodArray<z__default.ZodObject<{
112
+ name: z__default.ZodString;
113
+ }, z__default.core.$strip>>;
114
+ }, z__default.core.$strip>;
113
115
  };
114
116
  };
115
117
  };
@@ -199,9 +201,11 @@ declare const contract: {
199
201
  message: z.ZodOptional<z.ZodDefault<z.ZodString>>;
200
202
  }, zod_v4_core.$strip>;
201
203
  }, zod_v4_core.$strip>;
202
- 200: z.ZodArray<z.ZodObject<{
203
- name: z.ZodString;
204
- }, zod_v4_core.$strip>>;
204
+ 200: z.ZodObject<{
205
+ data: z.ZodArray<z.ZodObject<{
206
+ name: z.ZodString;
207
+ }, zod_v4_core.$strip>>;
208
+ }, zod_v4_core.$strip>;
205
209
  };
206
210
  strictStatusCodes: true;
207
211
  };
package/dist/index.js CHANGED
@@ -80,11 +80,13 @@ var adminContract = {
80
80
  perPage: z3.number().positive().optional()
81
81
  }),
82
82
  responses: {
83
- 200: z3.array(
84
- z3.object({
85
- name: z3.string()
86
- })
87
- )
83
+ 200: z3.object({
84
+ data: z3.array(
85
+ z3.object({
86
+ name: z3.string()
87
+ })
88
+ )
89
+ })
88
90
  },
89
91
  summary: "List all clients"
90
92
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@abella-bilhalba-engenharia/api-client",
3
3
  "description": "Type-safe Client for Abella Bilhalba Engenharia API.",
4
4
  "author": "TheDevick",
5
- "version": "0.0.18",
5
+ "version": "0.0.19",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "types": "./dist/index.d.ts",