From f87a00dbe46edb2cbf5850a1d44e3b42902c9b65 Mon Sep 17 00:00:00 2001 From: Leonardo Brandao Date: Wed, 29 Oct 2025 15:44:55 -0300 Subject: [PATCH 1/2] Feat: add drop_poles to property create and update schema --- src/interface/model/Property.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interface/model/Property.ts b/src/interface/model/Property.ts index e54b553..4210032 100644 --- a/src/interface/model/Property.ts +++ b/src/interface/model/Property.ts @@ -65,6 +65,7 @@ const CreatePropertyDTOSchema = PropertyDataSchema.partial({ force: z.boolean().optional(), connector: stringOrObjectId.nullish(), port: z.number().optional(), + drop_poles: z.array(stringOrObjectId).optional(), }), ); @@ -83,6 +84,7 @@ const UpdatePropertyDTOSchema = PropertyDataSchema.merge(z.object({ external_id: force: z.boolean().optional(), connector: stringOrObjectId.nullish(), port: z.number().optional(), + drop_poles: z.array(stringOrObjectId).optional(), }), ) .partial(); From 420577de41555898f884155b96d7780b26da8147 Mon Sep 17 00:00:00 2001 From: Leonardo Brandao Date: Wed, 29 Oct 2025 15:47:38 -0300 Subject: [PATCH 2/2] chore: update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 023c3fa..40a23b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ozmap/ozmap-sdk", - "version": "1.1.6", + "version": "1.1.7", "description": "Use this sdk to access ozmap plataform and connect it to your own systems. ", "main": "dist/index.js", "types": "dist/index.d.ts",