@abella-bilhalba-engenharia/api-client 0.0.35 → 0.0.36

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
@@ -358,7 +358,10 @@ var adminContract = {
358
358
  }),
359
359
  body: import_zod3.default.object({
360
360
  installationId: import_zod3.default.uuidv4(),
361
- date: import_zod3.default.iso.date(),
361
+ date: import_zod3.default.object({
362
+ month: import_zod3.default.coerce.number().int().min(1).max(12),
363
+ year: import_zod3.default.coerce.number().int().min(1).max(2050)
364
+ }),
362
365
  readingDates: import_zod3.default.object({
363
366
  previous: import_zod3.default.iso.date(),
364
367
  actual: import_zod3.default.iso.date(),
package/dist/index.d.cts CHANGED
@@ -325,7 +325,10 @@ declare const adminContract: {
325
325
  method: "POST";
326
326
  body: zod__default.ZodObject<{
327
327
  installationId: zod__default.ZodUUID;
328
- date: zod__default.ZodISODate;
328
+ date: zod__default.ZodObject<{
329
+ month: zod__default.ZodCoercedNumber<unknown>;
330
+ year: zod__default.ZodCoercedNumber<unknown>;
331
+ }, zod__default.core.$strip>;
329
332
  readingDates: zod__default.ZodObject<{
330
333
  previous: zod__default.ZodISODate;
331
334
  actual: zod__default.ZodISODate;
@@ -853,7 +856,10 @@ declare const contract: {
853
856
  method: "POST";
854
857
  body: zod.ZodObject<{
855
858
  installationId: zod.ZodUUID;
856
- date: zod.ZodISODate;
859
+ date: zod.ZodObject<{
860
+ month: zod.ZodCoercedNumber<unknown>;
861
+ year: zod.ZodCoercedNumber<unknown>;
862
+ }, zod_v4_core.$strip>;
857
863
  readingDates: zod.ZodObject<{
858
864
  previous: zod.ZodISODate;
859
865
  actual: zod.ZodISODate;
package/dist/index.d.ts CHANGED
@@ -325,7 +325,10 @@ declare const adminContract: {
325
325
  method: "POST";
326
326
  body: zod__default.ZodObject<{
327
327
  installationId: zod__default.ZodUUID;
328
- date: zod__default.ZodISODate;
328
+ date: zod__default.ZodObject<{
329
+ month: zod__default.ZodCoercedNumber<unknown>;
330
+ year: zod__default.ZodCoercedNumber<unknown>;
331
+ }, zod__default.core.$strip>;
329
332
  readingDates: zod__default.ZodObject<{
330
333
  previous: zod__default.ZodISODate;
331
334
  actual: zod__default.ZodISODate;
@@ -853,7 +856,10 @@ declare const contract: {
853
856
  method: "POST";
854
857
  body: zod.ZodObject<{
855
858
  installationId: zod.ZodUUID;
856
- date: zod.ZodISODate;
859
+ date: zod.ZodObject<{
860
+ month: zod.ZodCoercedNumber<unknown>;
861
+ year: zod.ZodCoercedNumber<unknown>;
862
+ }, zod_v4_core.$strip>;
857
863
  readingDates: zod.ZodObject<{
858
864
  previous: zod.ZodISODate;
859
865
  actual: zod.ZodISODate;
package/dist/index.js CHANGED
@@ -317,7 +317,10 @@ var adminContract = {
317
317
  }),
318
318
  body: z3.object({
319
319
  installationId: z3.uuidv4(),
320
- date: z3.iso.date(),
320
+ date: z3.object({
321
+ month: z3.coerce.number().int().min(1).max(12),
322
+ year: z3.coerce.number().int().min(1).max(2050)
323
+ }),
321
324
  readingDates: z3.object({
322
325
  previous: z3.iso.date(),
323
326
  actual: z3.iso.date(),
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.35",
5
+ "version": "0.0.36",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "types": "./dist/index.d.ts",