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", 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();