@seamapi/types 1.445.1 → 1.447.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.
Files changed (36) hide show
  1. package/dist/connect.cjs +100 -49
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +277 -182
  4. package/dist/devicedb.d.cts +24 -24
  5. package/dist/index.cjs +100 -49
  6. package/dist/index.cjs.map +1 -1
  7. package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
  9. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  10. package/lib/seam/connect/models/batches/batch.d.ts +39 -34
  11. package/lib/seam/connect/models/batches/spaces.d.ts +39 -34
  12. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  13. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  14. package/lib/seam/connect/models/devices/device.d.ts +26 -26
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -18
  16. package/lib/seam/connect/models/events/devices.d.ts +6 -6
  17. package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
  18. package/lib/seam/connect/models/spaces/space.d.ts +3 -0
  19. package/lib/seam/connect/models/spaces/space.js +4 -0
  20. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
  22. package/lib/seam/connect/models/thermostats/modes.d.ts +1 -1
  23. package/lib/seam/connect/models/thermostats/modes.js +7 -1
  24. package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
  25. package/lib/seam/connect/openapi.d.ts +86 -38
  26. package/lib/seam/connect/openapi.js +92 -48
  27. package/lib/seam/connect/openapi.js.map +1 -1
  28. package/lib/seam/connect/route-types.d.ts +96 -60
  29. package/lib/seam/devicedb/models/device-model.d.ts +12 -12
  30. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  31. package/package.json +1 -1
  32. package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
  33. package/src/lib/seam/connect/models/spaces/space.ts +4 -0
  34. package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
  35. package/src/lib/seam/connect/openapi.ts +96 -48
  36. package/src/lib/seam/connect/route-types.ts +193 -68
@@ -2581,7 +2581,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2581
2581
  display_name: z.ZodOptional<z.ZodString>;
2582
2582
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
2583
2583
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
2584
- hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
2584
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>>>;
2585
2585
  cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2586
2586
  heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2587
2587
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2610,7 +2610,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2610
2610
  occurred_at: string;
2611
2611
  event_type: "thermostat.manually_adjusted";
2612
2612
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
2613
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
2613
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
2614
2614
  cooling_set_point_celsius?: number | undefined;
2615
2615
  heating_set_point_celsius?: number | undefined;
2616
2616
  cooling_set_point_fahrenheit?: number | undefined;
@@ -2627,7 +2627,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2627
2627
  occurred_at: string;
2628
2628
  event_type: "thermostat.manually_adjusted";
2629
2629
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
2630
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
2630
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
2631
2631
  cooling_set_point_celsius?: number | undefined;
2632
2632
  heating_set_point_celsius?: number | undefined;
2633
2633
  cooling_set_point_fahrenheit?: number | undefined;
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const space: z.ZodObject<{
3
3
  space_id: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
+ space_key: z.ZodOptional<z.ZodString>;
5
6
  name: z.ZodString;
6
7
  display_name: z.ZodString;
7
8
  created_at: z.ZodString;
@@ -15,6 +16,7 @@ export declare const space: z.ZodObject<{
15
16
  space_id: string;
16
17
  device_count: number;
17
18
  acs_entrance_count: number;
19
+ space_key?: string | undefined;
18
20
  }, {
19
21
  name: string;
20
22
  display_name: string;
@@ -23,5 +25,6 @@ export declare const space: z.ZodObject<{
23
25
  space_id: string;
24
26
  device_count: number;
25
27
  acs_entrance_count: number;
28
+ space_key?: string | undefined;
26
29
  }>;
27
30
  export type Space = z.infer<typeof space>;
@@ -5,6 +5,10 @@ export const space = z.object({
5
5
  .string()
6
6
  .uuid()
7
7
  .describe('ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.'),
8
+ space_key: z
9
+ .string()
10
+ .optional()
11
+ .describe('Unique key for the space within the workspace.'),
8
12
  name: z.string().describe('Name of the space.'),
9
13
  display_name: z.string().describe('Display name for the space.'),
10
14
  created_at: z
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;CAC7E,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -8,7 +8,7 @@ export declare const climate_preset: z.ZodObject<{
8
8
  display_name: z.ZodString;
9
9
  climate_preset_mode: z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>;
10
10
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
11
- hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
11
+ hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>>;
12
12
  cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
13
13
  heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
14
14
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
@@ -37,7 +37,7 @@ export declare const climate_preset: z.ZodObject<{
37
37
  name?: string | null | undefined;
38
38
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
39
39
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
40
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
40
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
41
41
  cooling_set_point_celsius?: number | undefined;
42
42
  heating_set_point_celsius?: number | undefined;
43
43
  cooling_set_point_fahrenheit?: number | undefined;
@@ -57,7 +57,7 @@ export declare const climate_preset: z.ZodObject<{
57
57
  name?: string | null | undefined;
58
58
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
59
59
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
60
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
60
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
61
61
  cooling_set_point_celsius?: number | undefined;
62
62
  heating_set_point_celsius?: number | undefined;
63
63
  cooling_set_point_fahrenheit?: number | undefined;
@@ -78,7 +78,7 @@ export declare const climate_setting: z.ZodObject<{
78
78
  display_name: z.ZodOptional<z.ZodString>;
79
79
  climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
80
80
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
81
- hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
81
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>>>;
82
82
  cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
83
83
  heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
84
84
  cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -106,7 +106,7 @@ export declare const climate_setting: z.ZodObject<{
106
106
  display_name?: string | undefined;
107
107
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
108
108
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
109
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
109
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
110
110
  cooling_set_point_celsius?: number | undefined;
111
111
  heating_set_point_celsius?: number | undefined;
112
112
  cooling_set_point_fahrenheit?: number | undefined;
@@ -126,7 +126,7 @@ export declare const climate_setting: z.ZodObject<{
126
126
  display_name?: string | undefined;
127
127
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
128
128
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
129
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
129
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
130
130
  cooling_set_point_celsius?: number | undefined;
131
131
  heating_set_point_celsius?: number | undefined;
132
132
  cooling_set_point_fahrenheit?: number | undefined;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
2
+ export declare const hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool", "eco"]>;
3
3
  export type HvacModeSetting = z.infer<typeof hvac_mode_setting>;
4
4
  export declare const fan_mode_setting: z.ZodEnum<["auto", "on", "circulate"]>;
5
5
  export type FanModeSetting = z.infer<typeof fan_mode_setting>;
@@ -1,5 +1,11 @@
1
1
  import { z } from 'zod';
2
- export const hvac_mode_setting = z.enum(['off', 'heat', 'cool', 'heat_cool']);
2
+ export const hvac_mode_setting = z.enum([
3
+ 'off',
4
+ 'heat',
5
+ 'cool',
6
+ 'heat_cool',
7
+ 'eco',
8
+ ]);
3
9
  export const fan_mode_setting = z.enum(['auto', 'on', 'circulate']);
4
10
  export const available_fan_mode_settings = z.array(fan_mode_setting);
5
11
  export const climate_preset_mode = z.enum([
@@ -1 +1 @@
1
- {"version":3,"file":"modes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/modes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;AAI7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAA;AAInE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA;AAMpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,UAAU;IACV,YAAY;CACb,CAAC,CAAA"}
1
+ {"version":3,"file":"modes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/modes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,KAAK;IACL,MAAM;IACN,MAAM;IACN,WAAW;IACX,KAAK;CACN,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAA;AAInE,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAA;AAMpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,UAAU;IACV,YAAY;CACb,CAAC,CAAA"}
@@ -380,6 +380,10 @@ declare const _default: {
380
380
  format: string;
381
381
  type: string;
382
382
  };
383
+ access_grant_key: {
384
+ description: string;
385
+ type: string;
386
+ };
383
387
  access_method_ids: {
384
388
  description: string;
385
389
  items: {
@@ -11077,6 +11081,10 @@ declare const _default: {
11077
11081
  format: string;
11078
11082
  type: string;
11079
11083
  };
11084
+ space_key: {
11085
+ description: string;
11086
+ type: string;
11087
+ };
11080
11088
  workspace_id: {
11081
11089
  description: string;
11082
11090
  format: string;
@@ -16303,6 +16311,10 @@ declare const _default: {
16303
16311
  type?: never;
16304
16312
  } | {
16305
16313
  properties: {
16314
+ access_grant_key: {
16315
+ description: string;
16316
+ type: string;
16317
+ };
16306
16318
  acs_entrance_ids: {
16307
16319
  default: never[];
16308
16320
  description: string;
@@ -16602,16 +16614,6 @@ declare const _default: {
16602
16614
  get: {
16603
16615
  description: string;
16604
16616
  operationId: string;
16605
- parameters: {
16606
- in: string;
16607
- name: string;
16608
- required: boolean;
16609
- schema: {
16610
- description: string;
16611
- format: string;
16612
- type: string;
16613
- };
16614
- }[];
16615
16617
  responses: {
16616
16618
  200: {
16617
16619
  content: {
@@ -16676,15 +16678,28 @@ declare const _default: {
16676
16678
  content: {
16677
16679
  'application/json': {
16678
16680
  schema: {
16679
- properties: {
16680
- access_grant_id: {
16681
- description: string;
16682
- format: string;
16683
- type: string;
16681
+ oneOf: ({
16682
+ properties: {
16683
+ access_grant_id: {
16684
+ description: string;
16685
+ format: string;
16686
+ type: string;
16687
+ };
16688
+ access_grant_key?: never;
16684
16689
  };
16685
- };
16686
- required: string[];
16687
- type: string;
16690
+ required: string[];
16691
+ type: string;
16692
+ } | {
16693
+ properties: {
16694
+ access_grant_key: {
16695
+ description: string;
16696
+ type: string;
16697
+ };
16698
+ access_grant_id?: never;
16699
+ };
16700
+ required: string[];
16701
+ type: string;
16702
+ })[];
16688
16703
  };
16689
16704
  };
16690
16705
  };
@@ -16771,6 +16786,16 @@ declare const _default: {
16771
16786
  'x-deprecated': string;
16772
16787
  description?: never;
16773
16788
  };
16789
+ } | {
16790
+ in: string;
16791
+ name: string;
16792
+ schema: {
16793
+ description: string;
16794
+ type: string;
16795
+ format?: never;
16796
+ deprecated?: never;
16797
+ 'x-deprecated'?: never;
16798
+ };
16774
16799
  })[];
16775
16800
  responses: {
16776
16801
  200: {
@@ -16840,6 +16865,10 @@ declare const _default: {
16840
16865
  'application/json': {
16841
16866
  schema: {
16842
16867
  properties: {
16868
+ access_grant_key: {
16869
+ description: string;
16870
+ type: string;
16871
+ };
16843
16872
  acs_entrance_id: {
16844
16873
  description: string;
16845
16874
  format: string;
@@ -37525,6 +37554,10 @@ declare const _default: {
37525
37554
  description: string;
37526
37555
  type: string;
37527
37556
  };
37557
+ space_key: {
37558
+ description: string;
37559
+ type: string;
37560
+ };
37528
37561
  };
37529
37562
  required: string[];
37530
37563
  type: string;
@@ -37718,16 +37751,6 @@ declare const _default: {
37718
37751
  get: {
37719
37752
  description: string;
37720
37753
  operationId: string;
37721
- parameters: {
37722
- in: string;
37723
- name: string;
37724
- required: boolean;
37725
- schema: {
37726
- description: string;
37727
- format: string;
37728
- type: string;
37729
- };
37730
- }[];
37731
37754
  responses: {
37732
37755
  200: {
37733
37756
  content: {
@@ -37784,15 +37807,28 @@ declare const _default: {
37784
37807
  content: {
37785
37808
  'application/json': {
37786
37809
  schema: {
37787
- properties: {
37788
- space_id: {
37789
- description: string;
37790
- format: string;
37791
- type: string;
37810
+ oneOf: ({
37811
+ properties: {
37812
+ space_id: {
37813
+ description: string;
37814
+ format: string;
37815
+ type: string;
37816
+ };
37817
+ space_key?: never;
37792
37818
  };
37793
- };
37794
- required: string[];
37795
- type: string;
37819
+ required: string[];
37820
+ type: string;
37821
+ } | {
37822
+ properties: {
37823
+ space_key: {
37824
+ description: string;
37825
+ type: string;
37826
+ };
37827
+ space_id?: never;
37828
+ };
37829
+ required: string[];
37830
+ type: string;
37831
+ })[];
37796
37832
  };
37797
37833
  };
37798
37834
  };
@@ -38074,7 +38110,7 @@ declare const _default: {
38074
38110
  get: {
38075
38111
  description: string;
38076
38112
  operationId: string;
38077
- parameters: {
38113
+ parameters: ({
38078
38114
  in: string;
38079
38115
  name: string;
38080
38116
  schema: {
@@ -38082,7 +38118,15 @@ declare const _default: {
38082
38118
  minLength: number;
38083
38119
  type: string;
38084
38120
  };
38085
- }[];
38121
+ } | {
38122
+ in: string;
38123
+ name: string;
38124
+ schema: {
38125
+ description: string;
38126
+ type: string;
38127
+ minLength?: never;
38128
+ };
38129
+ })[];
38086
38130
  responses: {
38087
38131
  200: {
38088
38132
  content: {
@@ -38148,6 +38192,10 @@ declare const _default: {
38148
38192
  minLength: number;
38149
38193
  type: string;
38150
38194
  };
38195
+ space_key: {
38196
+ description: string;
38197
+ type: string;
38198
+ };
38151
38199
  };
38152
38200
  type: string;
38153
38201
  };
@@ -1576,6 +1576,10 @@ export default {
1576
1576
  format: 'uuid',
1577
1577
  type: 'string',
1578
1578
  },
1579
+ access_grant_key: {
1580
+ description: 'Unique key for the access grant within the workspace.',
1581
+ type: 'string',
1582
+ },
1579
1583
  access_method_ids: {
1580
1584
  description: 'IDs of the access methods created for the Access Grant.',
1581
1585
  items: { format: 'uuid', type: 'string' },
@@ -10323,7 +10327,7 @@ export default {
10323
10327
  },
10324
10328
  hvac_mode_setting: {
10325
10329
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
10326
- enum: ['off', 'heat', 'cool', 'heat_cool'],
10330
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
10327
10331
  type: 'string',
10328
10332
  },
10329
10333
  manual_override_allowed: {
@@ -10364,7 +10368,7 @@ export default {
10364
10368
  available_hvac_mode_settings: {
10365
10369
  description: 'HVAC mode settings that the thermostat supports.',
10366
10370
  items: {
10367
- enum: ['off', 'heat', 'cool', 'heat_cool'],
10371
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
10368
10372
  type: 'string',
10369
10373
  },
10370
10374
  type: 'array',
@@ -10452,7 +10456,7 @@ export default {
10452
10456
  },
10453
10457
  hvac_mode_setting: {
10454
10458
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
10455
- enum: ['off', 'heat', 'cool', 'heat_cool'],
10459
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
10456
10460
  type: 'string',
10457
10461
  },
10458
10462
  manual_override_allowed: {
@@ -10553,7 +10557,7 @@ export default {
10553
10557
  },
10554
10558
  hvac_mode_setting: {
10555
10559
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
10556
- enum: ['off', 'heat', 'cool', 'heat_cool'],
10560
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
10557
10561
  type: 'string',
10558
10562
  },
10559
10563
  manual_override_allowed: {
@@ -16397,7 +16401,7 @@ export default {
16397
16401
  },
16398
16402
  hvac_mode_setting: {
16399
16403
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
16400
- enum: ['off', 'heat', 'cool', 'heat_cool'],
16404
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
16401
16405
  type: 'string',
16402
16406
  },
16403
16407
  method: {
@@ -18042,6 +18046,10 @@ export default {
18042
18046
  format: 'uuid',
18043
18047
  type: 'string',
18044
18048
  },
18049
+ space_key: {
18050
+ description: 'Unique key for the space within the workspace.',
18051
+ type: 'string',
18052
+ },
18045
18053
  workspace_id: {
18046
18054
  description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.',
18047
18055
  format: 'uuid',
@@ -24746,6 +24754,10 @@ export default {
24746
24754
  },
24747
24755
  {
24748
24756
  properties: {
24757
+ access_grant_key: {
24758
+ description: 'Unique key for the access grant within the workspace.',
24759
+ type: 'string',
24760
+ },
24749
24761
  acs_entrance_ids: {
24750
24762
  default: [],
24751
24763
  description: 'Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted.',
@@ -24960,18 +24972,6 @@ export default {
24960
24972
  get: {
24961
24973
  description: 'Get an Access Grant.',
24962
24974
  operationId: 'accessGrantsGetGet',
24963
- parameters: [
24964
- {
24965
- in: 'query',
24966
- name: 'access_grant_id',
24967
- required: true,
24968
- schema: {
24969
- description: 'ID of Access Grant to get.',
24970
- format: 'uuid',
24971
- type: 'string',
24972
- },
24973
- },
24974
- ],
24975
24975
  responses: {
24976
24976
  200: {
24977
24977
  content: {
@@ -25013,15 +25013,29 @@ export default {
25013
25013
  content: {
25014
25014
  'application/json': {
25015
25015
  schema: {
25016
- properties: {
25017
- access_grant_id: {
25018
- description: 'ID of Access Grant to get.',
25019
- format: 'uuid',
25020
- type: 'string',
25016
+ oneOf: [
25017
+ {
25018
+ properties: {
25019
+ access_grant_id: {
25020
+ description: 'ID of Access Grant to get.',
25021
+ format: 'uuid',
25022
+ type: 'string',
25023
+ },
25024
+ },
25025
+ required: ['access_grant_id'],
25026
+ type: 'object',
25021
25027
  },
25022
- },
25023
- required: ['access_grant_id'],
25024
- type: 'object',
25028
+ {
25029
+ properties: {
25030
+ access_grant_key: {
25031
+ description: 'Unique key of Access Grant to get.',
25032
+ type: 'string',
25033
+ },
25034
+ },
25035
+ required: ['access_grant_key'],
25036
+ type: 'object',
25037
+ },
25038
+ ],
25025
25039
  },
25026
25040
  },
25027
25041
  },
@@ -25112,6 +25126,14 @@ export default {
25112
25126
  type: 'string',
25113
25127
  },
25114
25128
  },
25129
+ {
25130
+ in: 'query',
25131
+ name: 'access_grant_key',
25132
+ schema: {
25133
+ description: 'Filter Access Grants by access_grant_key.',
25134
+ type: 'string',
25135
+ },
25136
+ },
25115
25137
  ],
25116
25138
  responses: {
25117
25139
  200: {
@@ -25158,6 +25180,10 @@ export default {
25158
25180
  'application/json': {
25159
25181
  schema: {
25160
25182
  properties: {
25183
+ access_grant_key: {
25184
+ description: 'Filter Access Grants by access_grant_key.',
25185
+ type: 'string',
25186
+ },
25161
25187
  acs_entrance_id: {
25162
25188
  description: 'ID of the entrance by which you want to filter the list of Access Grants.',
25163
25189
  format: 'uuid',
@@ -43198,6 +43224,10 @@ export default {
43198
43224
  description: 'Name of the space that you want to create.',
43199
43225
  type: 'string',
43200
43226
  },
43227
+ space_key: {
43228
+ description: 'Unique key for the space within the workspace.',
43229
+ type: 'string',
43230
+ },
43201
43231
  },
43202
43232
  required: ['name'],
43203
43233
  type: 'object',
@@ -43343,18 +43373,6 @@ export default {
43343
43373
  get: {
43344
43374
  description: 'Gets a space.',
43345
43375
  operationId: 'spacesGetGet',
43346
- parameters: [
43347
- {
43348
- in: 'query',
43349
- name: 'space_id',
43350
- required: true,
43351
- schema: {
43352
- description: 'ID of the space that you want to get.',
43353
- format: 'uuid',
43354
- type: 'string',
43355
- },
43356
- },
43357
- ],
43358
43376
  responses: {
43359
43377
  200: {
43360
43378
  content: {
@@ -43395,15 +43413,29 @@ export default {
43395
43413
  content: {
43396
43414
  'application/json': {
43397
43415
  schema: {
43398
- properties: {
43399
- space_id: {
43400
- description: 'ID of the space that you want to get.',
43401
- format: 'uuid',
43402
- type: 'string',
43416
+ oneOf: [
43417
+ {
43418
+ properties: {
43419
+ space_id: {
43420
+ description: 'ID of the space that you want to get.',
43421
+ format: 'uuid',
43422
+ type: 'string',
43423
+ },
43424
+ },
43425
+ required: ['space_id'],
43426
+ type: 'object',
43403
43427
  },
43404
- },
43405
- required: ['space_id'],
43406
- type: 'object',
43428
+ {
43429
+ properties: {
43430
+ space_key: {
43431
+ description: 'Unique key of the space that you want to get.',
43432
+ type: 'string',
43433
+ },
43434
+ },
43435
+ required: ['space_key'],
43436
+ type: 'object',
43437
+ },
43438
+ ],
43407
43439
  },
43408
43440
  },
43409
43441
  },
@@ -43639,6 +43671,14 @@ export default {
43639
43671
  type: 'string',
43640
43672
  },
43641
43673
  },
43674
+ {
43675
+ in: 'query',
43676
+ name: 'space_key',
43677
+ schema: {
43678
+ description: 'Filter spaces by space_key.',
43679
+ type: 'string',
43680
+ },
43681
+ },
43642
43682
  ],
43643
43683
  responses: {
43644
43684
  200: {
@@ -43689,6 +43729,10 @@ export default {
43689
43729
  minLength: 1,
43690
43730
  type: 'string',
43691
43731
  },
43732
+ space_key: {
43733
+ description: 'Filter spaces by space_key.',
43734
+ type: 'string',
43735
+ },
43692
43736
  },
43693
43737
  type: 'object',
43694
43738
  },
@@ -44273,7 +44317,7 @@ export default {
44273
44317
  },
44274
44318
  hvac_mode_setting: {
44275
44319
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
44276
- enum: ['off', 'heat', 'cool', 'heat_cool'],
44320
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
44277
44321
  type: 'string',
44278
44322
  },
44279
44323
  manual_override_allowed: {
@@ -46875,7 +46919,7 @@ export default {
46875
46919
  },
46876
46920
  hvac_mode_setting: {
46877
46921
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
46878
- enum: ['off', 'heat', 'cool', 'heat_cool'],
46922
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
46879
46923
  type: 'string',
46880
46924
  },
46881
46925
  manual_override_allowed: {
@@ -47002,7 +47046,7 @@ export default {
47002
47046
  },
47003
47047
  hvac_mode_setting: {
47004
47048
  description: 'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
47005
- enum: ['off', 'heat', 'cool', 'heat_cool'],
47049
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
47006
47050
  type: 'string',
47007
47051
  },
47008
47052
  manual_override_allowed: {