diff --git a/package.json b/package.json index e79c497..1270149 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ozmap/ozmap-sdk", - "version": "1.1.3", + "version": "1.1.4", "description": "Use this sdk to access ozmap plataform and connect it to your own systems. ", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/interface/model/FTTHClient.ts b/src/interface/model/FTTHClient.ts index 7745103..40ef013 100644 --- a/src/interface/model/FTTHClient.ts +++ b/src/interface/model/FTTHClient.ts @@ -48,7 +48,7 @@ const BatchUpdateFTTHClientDTOSchema = FTTHClientDataSchema.pick({ certified: true, implanted: true, status: true, -}); +}).partial(); type FTTHClient = z.infer; type CreateFTTHClientDTO = z.infer; diff --git a/src/interface/model/Property.ts b/src/interface/model/Property.ts index 4fcd01f..dc0f08e 100644 --- a/src/interface/model/Property.ts +++ b/src/interface/model/Property.ts @@ -88,7 +88,7 @@ const UpdatePropertyDTOSchema = PropertyDataSchema.merge(z.object({ external_id: const BatchUpdatePropertyDTOSchema = PropertyDataSchema.pick({ potencyRead: true, -}); +}).partial(); type Property = z.infer; type CreatePropertyDTO = z.infer;