@kohost/api-client 4.19.9 → 4.20.0

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.
@@ -4,6 +4,16 @@ import { SpaceSchema, spaceSchema } from '../schemas/space.cjs';
4
4
  import 'ajv';
5
5
  import '../schemas/definitions.cjs';
6
6
  import 'json-schema-to-ts';
7
+ import '../schemas/switch.cjs';
8
+ import '../schemas/dimmer.cjs';
9
+ import '../schemas/thermostat.cjs';
10
+ import '../schemas/lock.cjs';
11
+ import '../schemas/windowCovering.cjs';
12
+ import '../schemas/courtesy.cjs';
13
+ import '../schemas/camera.cjs';
14
+ import '../schemas/mediaSource.cjs';
15
+ import '../schemas/motionSensor.cjs';
16
+ import '../schemas/alarm.cjs';
7
17
 
8
18
  /**
9
19
  * Data type for Space constructor - exported for backwards compatibility
@@ -48,6 +48,7 @@ const spaceSchema = {
48
48
  "office",
49
49
  "building",
50
50
  "commonArea",
51
+ "hallway",
51
52
  "conferenceRoom",
52
53
  "lobby",
53
54
  "gym",
@@ -192,8 +193,18 @@ const spaceSchema = {
192
193
  devices: {
193
194
  type: "array",
194
195
  items: {
195
- type: "object",
196
- additionalProperties: true
196
+ anyOf: [
197
+ { $ref: "switch.json" },
198
+ { $ref: "dimmer.json" },
199
+ { $ref: "thermostat.json" },
200
+ { $ref: "lock.json" },
201
+ { $ref: "windowCovering.json" },
202
+ { $ref: "courtesy.json" },
203
+ { $ref: "camera.json" },
204
+ { $ref: "mediaSource.json" },
205
+ { $ref: "motionSensor.json" },
206
+ { $ref: "alarm.json" }
207
+ ]
197
208
  },
198
209
  default: []
199
210
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/space.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const spaceSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"space.json\",\n title: \"Space\",\n type: \"object\",\n required: [\"id\", \"name\", \"type\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n minLength: 1,\n },\n type: {\n type: \"string\",\n default: \"space\",\n enum: [\"space\"],\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"classRoom\",\n \"hotelRoom\",\n \"office\",\n \"building\",\n \"commonArea\",\n \"conferenceRoom\",\n \"lobby\",\n \"gym\",\n \"pool\",\n \"restaurant\",\n \"unit\",\n \"cafeteria\",\n \"multiPurposeRoom\",\n \"library\",\n \"idf\",\n \"restroom\",\n \"exterior\",\n ],\n },\n floor: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n category: {\n type: \"string\",\n description: \"This is the category id\",\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of rooms in the space\",\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of sub-spaces in the space\",\n },\n occupied: {\n type: \"boolean\",\n },\n inUse: {\n type: \"boolean\",\n },\n eco: {\n type: \"object\",\n additionalProperties: false,\n default: {\n active: false,\n allowed: false,\n previousState: null,\n },\n properties: {\n active: {\n type: \"boolean\",\n default: false,\n },\n activatedAt: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n allowed: {\n type: \"boolean\",\n default: false,\n },\n previousState: {\n type: [\"object\", \"null\"],\n properties: {\n thermostats: {\n type: \"object\",\n patternProperties: {\n \".*\": {\n type: \"object\",\n properties: {\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n heat: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n auto: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n },\n },\n },\n },\n },\n },\n additionalProperties: false,\n },\n },\n },\n features: {\n type: \"array\",\n items: {\n type: \"string\",\n enum: [\"pet\"],\n },\n },\n maximumOccupancy: {\n type: \"number\",\n minimum: 1,\n },\n housekeepingStatus: {\n type: \"string\",\n enum: [\"clean\", \"dirty\", \"inspected\", \"pickup\"],\n },\n serviceStatus: {\n type: \"string\",\n enum: [\"inService\", \"outOfOrder\", \"outOfService\"],\n },\n devices: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: true,\n },\n default: [],\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SpaceSchema = FromSchema<\n typeof spaceSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,MAAM;AAAA,EAC/B,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,IACb;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,MAAM,CAAC,OAAO;AAAA,IAChB;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AA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AAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/space.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { switchSchema } from \"./switch\";\nimport type { dimmerSchema } from \"./dimmer\";\nimport type { thermostatSchema } from \"./thermostat\";\nimport type { lockSchema } from \"./lock\";\nimport type { windowCoveringSchema } from \"./windowCovering\";\nimport type { courtesySchema } from \"./courtesy\";\nimport type { cameraSchema } from \"./camera\";\nimport type { mediaSourceSchema } from \"./mediaSource\";\nimport type { motionSensorSchema } from \"./motionSensor\";\nimport type { alarmSchema } from \"./alarm\";\n\nexport const spaceSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"space.json\",\n title: \"Space\",\n type: \"object\",\n required: [\"id\", \"name\", \"type\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n minLength: 1,\n },\n type: {\n type: \"string\",\n default: \"space\",\n enum: [\"space\"],\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"classRoom\",\n \"hotelRoom\",\n \"office\",\n \"building\",\n \"commonArea\",\n \"hallway\",\n \"conferenceRoom\",\n \"lobby\",\n \"gym\",\n \"pool\",\n \"restaurant\",\n \"unit\",\n \"cafeteria\",\n \"multiPurposeRoom\",\n \"library\",\n \"idf\",\n \"restroom\",\n \"exterior\",\n ],\n },\n floor: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n category: {\n type: \"string\",\n description: \"This is the category id\",\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of rooms in the space\",\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of sub-spaces in the space\",\n },\n occupied: {\n type: \"boolean\",\n },\n inUse: {\n type: \"boolean\",\n },\n eco: {\n type: \"object\",\n additionalProperties: false,\n default: {\n active: false,\n allowed: false,\n previousState: null,\n },\n properties: {\n active: {\n type: \"boolean\",\n default: false,\n },\n activatedAt: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n allowed: {\n type: \"boolean\",\n default: false,\n },\n previousState: {\n type: [\"object\", \"null\"],\n properties: {\n thermostats: {\n type: \"object\",\n patternProperties: {\n \".*\": {\n type: \"object\",\n properties: {\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n heat: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n auto: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n },\n },\n },\n },\n },\n },\n additionalProperties: false,\n },\n },\n },\n features: {\n type: \"array\",\n items: {\n type: \"string\",\n enum: [\"pet\"],\n },\n },\n maximumOccupancy: {\n type: \"number\",\n minimum: 1,\n },\n housekeepingStatus: {\n type: \"string\",\n enum: [\"clean\", \"dirty\", \"inspected\", \"pickup\"],\n },\n serviceStatus: {\n type: \"string\",\n enum: [\"inService\", \"outOfOrder\", \"outOfService\"],\n },\n devices: {\n type: \"array\",\n items: {\n anyOf: [\n { $ref: \"switch.json\" },\n { $ref: \"dimmer.json\" },\n { $ref: \"thermostat.json\" },\n { $ref: \"lock.json\" },\n { $ref: \"windowCovering.json\" },\n { $ref: \"courtesy.json\" },\n { $ref: \"camera.json\" },\n { $ref: \"mediaSource.json\" },\n { $ref: \"motionSensor.json\" },\n { $ref: \"alarm.json\" },\n ],\n },\n default: [],\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SpaceSchema = FromSchema<\n typeof spaceSchema,\n {\n references: [typeof defs, typeof switchSchema, typeof dimmerSchema, typeof thermostatSchema, typeof lockSchema, typeof windowCoveringSchema, typeof courtesySchema, typeof cameraSchema, typeof mediaSourceSchema, typeof motionSensorSchema, typeof alarmSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,MAAM;AAAA,EAC/B,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,IACb;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,MAAM,CAAC,OAAO;AAAA,IAChB;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,aAAa;AAAA,IACf;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AA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R;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
@@ -1,5 +1,15 @@
1
1
  import { definitionsSchema as defs, ISODateString } from './definitions.cjs';
2
2
  import { FromSchema } from 'json-schema-to-ts';
3
+ import { switchSchema } from './switch.cjs';
4
+ import { dimmerSchema } from './dimmer.cjs';
5
+ import { thermostatSchema } from './thermostat.cjs';
6
+ import { lockSchema } from './lock.cjs';
7
+ import { windowCoveringSchema } from './windowCovering.cjs';
8
+ import { courtesySchema } from './courtesy.cjs';
9
+ import { cameraSchema } from './camera.cjs';
10
+ import { mediaSourceSchema } from './mediaSource.cjs';
11
+ import { motionSensorSchema } from './motionSensor.cjs';
12
+ import { alarmSchema } from './alarm.cjs';
3
13
 
4
14
  declare const spaceSchema: {
5
15
  readonly $schema: "http://json-schema.org/draft-07/schema";
@@ -23,7 +33,7 @@ declare const spaceSchema: {
23
33
  };
24
34
  readonly discriminator: {
25
35
  readonly type: "string";
26
- readonly enum: readonly ["classRoom", "hotelRoom", "office", "building", "commonArea", "conferenceRoom", "lobby", "gym", "pool", "restaurant", "unit", "cafeteria", "multiPurposeRoom", "library", "idf", "restroom", "exterior"];
36
+ readonly enum: readonly ["classRoom", "hotelRoom", "office", "building", "commonArea", "hallway", "conferenceRoom", "lobby", "gym", "pool", "restaurant", "unit", "cafeteria", "multiPurposeRoom", "library", "idf", "restroom", "exterior"];
27
37
  };
28
38
  readonly floor: {
29
39
  readonly type: "string";
@@ -155,8 +165,27 @@ declare const spaceSchema: {
155
165
  readonly devices: {
156
166
  readonly type: "array";
157
167
  readonly items: {
158
- readonly type: "object";
159
- readonly additionalProperties: true;
168
+ readonly anyOf: readonly [{
169
+ readonly $ref: "switch.json";
170
+ }, {
171
+ readonly $ref: "dimmer.json";
172
+ }, {
173
+ readonly $ref: "thermostat.json";
174
+ }, {
175
+ readonly $ref: "lock.json";
176
+ }, {
177
+ readonly $ref: "windowCovering.json";
178
+ }, {
179
+ readonly $ref: "courtesy.json";
180
+ }, {
181
+ readonly $ref: "camera.json";
182
+ }, {
183
+ readonly $ref: "mediaSource.json";
184
+ }, {
185
+ readonly $ref: "motionSensor.json";
186
+ }, {
187
+ readonly $ref: "alarm.json";
188
+ }];
160
189
  };
161
190
  readonly default: readonly [];
162
191
  };
@@ -175,7 +204,7 @@ declare const spaceSchema: {
175
204
  };
176
205
  };
177
206
  type SpaceSchema = FromSchema<typeof spaceSchema, {
178
- references: [typeof defs];
207
+ references: [typeof defs, typeof switchSchema, typeof dimmerSchema, typeof thermostatSchema, typeof lockSchema, typeof windowCoveringSchema, typeof courtesySchema, typeof cameraSchema, typeof mediaSourceSchema, typeof motionSensorSchema, typeof alarmSchema];
179
208
  deserialize: [
180
209
  {
181
210
  pattern: {
@@ -4,6 +4,16 @@ import { SpaceSchema, spaceSchema } from '../schemas/space.js';
4
4
  import 'ajv';
5
5
  import '../schemas/definitions.js';
6
6
  import 'json-schema-to-ts';
7
+ import '../schemas/switch.js';
8
+ import '../schemas/dimmer.js';
9
+ import '../schemas/thermostat.js';
10
+ import '../schemas/lock.js';
11
+ import '../schemas/windowCovering.js';
12
+ import '../schemas/courtesy.js';
13
+ import '../schemas/camera.js';
14
+ import '../schemas/mediaSource.js';
15
+ import '../schemas/motionSensor.js';
16
+ import '../schemas/alarm.js';
7
17
 
8
18
  /**
9
19
  * Data type for Space constructor - exported for backwards compatibility
@@ -1,5 +1,15 @@
1
1
  import { definitionsSchema as defs, ISODateString } from './definitions.js';
2
2
  import { FromSchema } from 'json-schema-to-ts';
3
+ import { switchSchema } from './switch.js';
4
+ import { dimmerSchema } from './dimmer.js';
5
+ import { thermostatSchema } from './thermostat.js';
6
+ import { lockSchema } from './lock.js';
7
+ import { windowCoveringSchema } from './windowCovering.js';
8
+ import { courtesySchema } from './courtesy.js';
9
+ import { cameraSchema } from './camera.js';
10
+ import { mediaSourceSchema } from './mediaSource.js';
11
+ import { motionSensorSchema } from './motionSensor.js';
12
+ import { alarmSchema } from './alarm.js';
3
13
 
4
14
  declare const spaceSchema: {
5
15
  readonly $schema: "http://json-schema.org/draft-07/schema";
@@ -23,7 +33,7 @@ declare const spaceSchema: {
23
33
  };
24
34
  readonly discriminator: {
25
35
  readonly type: "string";
26
- readonly enum: readonly ["classRoom", "hotelRoom", "office", "building", "commonArea", "conferenceRoom", "lobby", "gym", "pool", "restaurant", "unit", "cafeteria", "multiPurposeRoom", "library", "idf", "restroom", "exterior"];
36
+ readonly enum: readonly ["classRoom", "hotelRoom", "office", "building", "commonArea", "hallway", "conferenceRoom", "lobby", "gym", "pool", "restaurant", "unit", "cafeteria", "multiPurposeRoom", "library", "idf", "restroom", "exterior"];
27
37
  };
28
38
  readonly floor: {
29
39
  readonly type: "string";
@@ -155,8 +165,27 @@ declare const spaceSchema: {
155
165
  readonly devices: {
156
166
  readonly type: "array";
157
167
  readonly items: {
158
- readonly type: "object";
159
- readonly additionalProperties: true;
168
+ readonly anyOf: readonly [{
169
+ readonly $ref: "switch.json";
170
+ }, {
171
+ readonly $ref: "dimmer.json";
172
+ }, {
173
+ readonly $ref: "thermostat.json";
174
+ }, {
175
+ readonly $ref: "lock.json";
176
+ }, {
177
+ readonly $ref: "windowCovering.json";
178
+ }, {
179
+ readonly $ref: "courtesy.json";
180
+ }, {
181
+ readonly $ref: "camera.json";
182
+ }, {
183
+ readonly $ref: "mediaSource.json";
184
+ }, {
185
+ readonly $ref: "motionSensor.json";
186
+ }, {
187
+ readonly $ref: "alarm.json";
188
+ }];
160
189
  };
161
190
  readonly default: readonly [];
162
191
  };
@@ -175,7 +204,7 @@ declare const spaceSchema: {
175
204
  };
176
205
  };
177
206
  type SpaceSchema = FromSchema<typeof spaceSchema, {
178
- references: [typeof defs];
207
+ references: [typeof defs, typeof switchSchema, typeof dimmerSchema, typeof thermostatSchema, typeof lockSchema, typeof windowCoveringSchema, typeof courtesySchema, typeof cameraSchema, typeof mediaSourceSchema, typeof motionSensorSchema, typeof alarmSchema];
179
208
  deserialize: [
180
209
  {
181
210
  pattern: {
@@ -26,6 +26,7 @@ const spaceSchema = {
26
26
  "office",
27
27
  "building",
28
28
  "commonArea",
29
+ "hallway",
29
30
  "conferenceRoom",
30
31
  "lobby",
31
32
  "gym",
@@ -170,8 +171,18 @@ const spaceSchema = {
170
171
  devices: {
171
172
  type: "array",
172
173
  items: {
173
- type: "object",
174
- additionalProperties: true
174
+ anyOf: [
175
+ { $ref: "switch.json" },
176
+ { $ref: "dimmer.json" },
177
+ { $ref: "thermostat.json" },
178
+ { $ref: "lock.json" },
179
+ { $ref: "windowCovering.json" },
180
+ { $ref: "courtesy.json" },
181
+ { $ref: "camera.json" },
182
+ { $ref: "mediaSource.json" },
183
+ { $ref: "motionSensor.json" },
184
+ { $ref: "alarm.json" }
185
+ ]
175
186
  },
176
187
  default: []
177
188
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../.generated/schemas/space.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const spaceSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"space.json\",\n title: \"Space\",\n type: \"object\",\n required: [\"id\", \"name\", \"type\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n minLength: 1,\n },\n type: {\n type: \"string\",\n default: \"space\",\n enum: [\"space\"],\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"classRoom\",\n \"hotelRoom\",\n \"office\",\n \"building\",\n \"commonArea\",\n \"conferenceRoom\",\n \"lobby\",\n \"gym\",\n \"pool\",\n \"restaurant\",\n \"unit\",\n \"cafeteria\",\n \"multiPurposeRoom\",\n \"library\",\n \"idf\",\n \"restroom\",\n \"exterior\",\n ],\n },\n floor: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n category: {\n type: \"string\",\n description: \"This is the category id\",\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of rooms in the space\",\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of sub-spaces in the space\",\n },\n occupied: {\n type: \"boolean\",\n },\n inUse: {\n type: \"boolean\",\n },\n eco: {\n type: \"object\",\n additionalProperties: false,\n default: {\n active: false,\n allowed: false,\n previousState: null,\n },\n properties: {\n active: {\n type: \"boolean\",\n default: false,\n },\n activatedAt: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n allowed: {\n type: \"boolean\",\n default: false,\n },\n previousState: {\n type: [\"object\", \"null\"],\n properties: {\n thermostats: {\n type: \"object\",\n patternProperties: {\n \".*\": {\n type: \"object\",\n properties: {\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n heat: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n auto: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n },\n },\n },\n },\n },\n },\n additionalProperties: false,\n },\n },\n },\n features: {\n type: \"array\",\n items: {\n type: \"string\",\n enum: [\"pet\"],\n },\n },\n maximumOccupancy: {\n type: \"number\",\n minimum: 1,\n },\n housekeepingStatus: {\n type: \"string\",\n enum: [\"clean\", \"dirty\", \"inspected\", \"pickup\"],\n },\n serviceStatus: {\n type: \"string\",\n enum: [\"inService\", \"outOfOrder\", \"outOfService\"],\n },\n devices: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: true,\n },\n default: [],\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SpaceSchema = FromSchema<\n typeof spaceSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAGO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,MAAM;AAAA,EAC/B,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,WAAW;AAAA,IACb;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,MAAM,CAAC,OAAO;AAAA,IAChB;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,QACJ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,aAAa;AAAA,IACf;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,MACN,OAAO;AAAA,QACL,MAAM;AAAA,MACR;AAAA,MACA,aAAa;AAAA,IACf;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,OAAO;AAAA,QACL,MAAM;AAAA,MACR;AAAA,MACA,aAAa;AAAA,IACf;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;A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BACF;AAAA,kBACF;AAAA,gBACF;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,UACA,sBAAsB;AAAA,QACxB;AAAA,MACF;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,QACL,MAAM;AAAA,QACN,MAAM,CAAC,KAAK;AAAA,MACd;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,MAAM,CAAC,SAAS,SAAS,aAAa,QAAQ;AAAA,IAChD;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,MAAM,CAAC,aAAa,cAAc,cAAc;AAAA,IAClD;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA,QACL,MAAM;AAAA,QACN,sBAAsB;AAAA,MACxB;AAAA,MACA,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../.generated/schemas/space.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { switchSchema } from \"./switch\";\nimport type { dimmerSchema } from \"./dimmer\";\nimport type { thermostatSchema } from \"./thermostat\";\nimport type { lockSchema } from \"./lock\";\nimport type { windowCoveringSchema } from \"./windowCovering\";\nimport type { courtesySchema } from \"./courtesy\";\nimport type { cameraSchema } from \"./camera\";\nimport type { mediaSourceSchema } from \"./mediaSource\";\nimport type { motionSensorSchema } from \"./motionSensor\";\nimport type { alarmSchema } from \"./alarm\";\n\nexport const spaceSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"space.json\",\n title: \"Space\",\n type: \"object\",\n required: [\"id\", \"name\", \"type\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n name: {\n type: \"string\",\n minLength: 1,\n },\n type: {\n type: \"string\",\n default: \"space\",\n enum: [\"space\"],\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"classRoom\",\n \"hotelRoom\",\n \"office\",\n \"building\",\n \"commonArea\",\n \"hallway\",\n \"conferenceRoom\",\n \"lobby\",\n \"gym\",\n \"pool\",\n \"restaurant\",\n \"unit\",\n \"cafeteria\",\n \"multiPurposeRoom\",\n \"library\",\n \"idf\",\n \"restroom\",\n \"exterior\",\n ],\n },\n floor: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n category: {\n type: \"string\",\n description: \"This is the category id\",\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of rooms in the space\",\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"IDs of sub-spaces in the space\",\n },\n occupied: {\n type: \"boolean\",\n },\n inUse: {\n type: \"boolean\",\n },\n eco: {\n type: \"object\",\n additionalProperties: false,\n default: {\n active: false,\n allowed: false,\n previousState: null,\n },\n properties: {\n active: {\n type: \"boolean\",\n default: false,\n },\n activatedAt: {\n type: [\"string\", \"object\"],\n format: \"date-time\",\n },\n allowed: {\n type: \"boolean\",\n default: false,\n },\n previousState: {\n type: [\"object\", \"null\"],\n properties: {\n thermostats: {\n type: \"object\",\n patternProperties: {\n \".*\": {\n type: \"object\",\n properties: {\n setpoints: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n cool: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n heat: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n auto: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n value: {\n type: \"number\",\n minimum: 0,\n maximum: 99,\n },\n },\n },\n },\n },\n },\n },\n },\n },\n },\n additionalProperties: false,\n },\n },\n },\n features: {\n type: \"array\",\n items: {\n type: \"string\",\n enum: [\"pet\"],\n },\n },\n maximumOccupancy: {\n type: \"number\",\n minimum: 1,\n },\n housekeepingStatus: {\n type: \"string\",\n enum: [\"clean\", \"dirty\", \"inspected\", \"pickup\"],\n },\n serviceStatus: {\n type: \"string\",\n enum: [\"inService\", \"outOfOrder\", \"outOfService\"],\n },\n devices: {\n type: \"array\",\n items: {\n anyOf: [\n { $ref: \"switch.json\" },\n { $ref: \"dimmer.json\" },\n { $ref: \"thermostat.json\" },\n { $ref: \"lock.json\" },\n { $ref: \"windowCovering.json\" },\n { $ref: \"courtesy.json\" },\n { $ref: \"camera.json\" },\n { $ref: \"mediaSource.json\" },\n { $ref: \"motionSensor.json\" },\n { $ref: \"alarm.json\" },\n ],\n },\n default: [],\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SpaceSchema = FromSchema<\n typeof spaceSchema,\n {\n references: [typeof defs, typeof switchSchema, typeof dimmerSchema, typeof thermostatSchema, typeof lockSchema, typeof windowCoveringSchema, typeof courtesySchema, typeof cameraSchema, typeof mediaSourceSchema, typeof motionSensorSchema, typeof alarmSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAaO,MAAM,cAAc;AAAA,EACzB,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU,CAAC,MAAM,QAAQ,MAAM;AAAA,EAC/B,sBAAsB;AAAA,E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N,MAAM,CAAC,SAAS,SAAS,aAAa,QAAQ;AAAA,IAChD;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,MAAM,CAAC,aAAa,cAAc,cAAc;AAAA,IAClD;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,MACN,OAAO;AAAA,QACL,OAAO;AAAA,UACL,EAAE,MAAM,cAAc;AAAA,UACtB,EAAE,MAAM,cAAc;AAAA,UACtB,EAAE,MAAM,kBAAkB;AAAA,UAC1B,EAAE,MAAM,YAAY;AAAA,UACpB,EAAE,MAAM,sBAAsB;AAAA,UAC9B,EAAE,MAAM,gBAAgB;AAAA,UACxB,EAAE,MAAM,cAAc;AAAA,UACtB,EAAE,MAAM,mBAAmB;AAAA,UAC3B,EAAE,MAAM,oBAAoB;AAAA,UAC5B,EAAE,MAAM,aAAa;AAAA,QACvB;AAAA,MACF;AAAA,MACA,SAAS,CAAC;AAAA,IACZ;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "4.19.9",
3
+ "version": "4.20.0",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",