@seamapi/types 1.928.0 → 1.930.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 (33) hide show
  1. package/dist/connect.cjs +194 -9
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1348 -104
  4. package/dist/index.cjs +194 -9
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  10. package/lib/seam/connect/models/access-grants/access-grant.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  12. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +2 -2
  13. package/lib/seam/connect/models/customer/customer-data.d.ts +12 -12
  14. package/lib/seam/connect/models/customer/location-resources.d.ts +8 -8
  15. package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +201 -0
  16. package/lib/seam/connect/models/devices/capability-properties/access-code.js +58 -0
  17. package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
  18. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +165 -13
  19. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  20. package/lib/seam/connect/models/devices/device-metadata.d.ts +20 -20
  21. package/lib/seam/connect/models/devices/device.d.ts +248 -40
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +180 -28
  23. package/lib/seam/connect/models/spaces/space.d.ts +4 -4
  24. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +4 -4
  25. package/lib/seam/connect/openapi.js +140 -4
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +895 -11
  28. package/package.json +1 -1
  29. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
  30. package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +86 -0
  31. package/src/lib/seam/connect/models/devices/capability-properties/index.ts +1 -1
  32. package/src/lib/seam/connect/openapi.ts +168 -4
  33. package/src/lib/seam/connect/route-types.ts +1133 -11
@@ -40,12 +40,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
40
40
  owner: "user" | "system";
41
41
  }>>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
+ display_name?: string | undefined;
43
44
  climate_preset_key?: string | undefined;
44
45
  can_edit?: boolean | undefined;
45
46
  can_delete?: boolean | undefined;
46
47
  can_use_with_thermostat_daily_programs?: boolean | undefined;
47
48
  name?: string | null | undefined;
48
- display_name?: string | undefined;
49
49
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
50
50
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
51
51
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -60,12 +60,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
60
60
  owner: "user" | "system";
61
61
  } | undefined;
62
62
  }, {
63
+ display_name?: string | undefined;
63
64
  climate_preset_key?: string | undefined;
64
65
  can_edit?: boolean | undefined;
65
66
  can_delete?: boolean | undefined;
66
67
  can_use_with_thermostat_daily_programs?: boolean | undefined;
67
68
  name?: string | null | undefined;
68
- display_name?: string | undefined;
69
69
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
70
70
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
71
71
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -109,12 +109,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
109
109
  owner: "user" | "system";
110
110
  }>>>;
111
111
  }, "strip", z.ZodTypeAny, {
112
+ display_name?: string | undefined;
112
113
  climate_preset_key?: string | undefined;
113
114
  can_edit?: boolean | undefined;
114
115
  can_delete?: boolean | undefined;
115
116
  can_use_with_thermostat_daily_programs?: boolean | undefined;
116
117
  name?: string | null | undefined;
117
- display_name?: string | undefined;
118
118
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
119
119
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
120
120
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -129,12 +129,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
129
129
  owner: "user" | "system";
130
130
  } | undefined;
131
131
  }, {
132
+ display_name?: string | undefined;
132
133
  climate_preset_key?: string | undefined;
133
134
  can_edit?: boolean | undefined;
134
135
  can_delete?: boolean | undefined;
135
136
  can_use_with_thermostat_daily_programs?: boolean | undefined;
136
137
  name?: string | null | undefined;
137
- display_name?: string | undefined;
138
138
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
139
139
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
140
140
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -178,11 +178,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
178
178
  owner: "user" | "system";
179
179
  }>>;
180
180
  }, "strip", z.ZodTypeAny, {
181
+ display_name: string;
181
182
  climate_preset_key: string;
182
183
  can_edit: boolean;
183
184
  can_delete: boolean;
184
185
  can_use_with_thermostat_daily_programs: boolean;
185
- display_name: string;
186
186
  manual_override_allowed: boolean;
187
187
  name?: string | null | undefined;
188
188
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -198,11 +198,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
198
198
  owner: "user" | "system";
199
199
  } | undefined;
200
200
  }, {
201
+ display_name: string;
201
202
  climate_preset_key: string;
202
203
  can_edit: boolean;
203
204
  can_delete: boolean;
204
205
  can_use_with_thermostat_daily_programs: boolean;
205
- display_name: string;
206
206
  manual_override_allowed: boolean;
207
207
  name?: string | null | undefined;
208
208
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -379,12 +379,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
379
379
  is_fan_running?: boolean | undefined;
380
380
  is_temporary_manual_override_active?: boolean | undefined;
381
381
  current_climate_setting?: {
382
+ display_name?: string | undefined;
382
383
  climate_preset_key?: string | undefined;
383
384
  can_edit?: boolean | undefined;
384
385
  can_delete?: boolean | undefined;
385
386
  can_use_with_thermostat_daily_programs?: boolean | undefined;
386
387
  name?: string | null | undefined;
387
- display_name?: string | undefined;
388
388
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
389
389
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
390
390
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -400,12 +400,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
400
400
  } | undefined;
401
401
  } | undefined;
402
402
  default_climate_setting?: {
403
+ display_name?: string | undefined;
403
404
  climate_preset_key?: string | undefined;
404
405
  can_edit?: boolean | undefined;
405
406
  can_delete?: boolean | undefined;
406
407
  can_use_with_thermostat_daily_programs?: boolean | undefined;
407
408
  name?: string | null | undefined;
408
- display_name?: string | undefined;
409
409
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
410
410
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
411
411
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -421,11 +421,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
421
421
  } | undefined;
422
422
  } | undefined;
423
423
  available_climate_presets?: {
424
+ display_name: string;
424
425
  climate_preset_key: string;
425
426
  can_edit: boolean;
426
427
  can_delete: boolean;
427
428
  can_use_with_thermostat_daily_programs: boolean;
428
- display_name: string;
429
429
  manual_override_allowed: boolean;
430
430
  name?: string | null | undefined;
431
431
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -512,12 +512,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
512
512
  is_fan_running?: boolean | undefined;
513
513
  is_temporary_manual_override_active?: boolean | undefined;
514
514
  current_climate_setting?: {
515
+ display_name?: string | undefined;
515
516
  climate_preset_key?: string | undefined;
516
517
  can_edit?: boolean | undefined;
517
518
  can_delete?: boolean | undefined;
518
519
  can_use_with_thermostat_daily_programs?: boolean | undefined;
519
520
  name?: string | null | undefined;
520
- display_name?: string | undefined;
521
521
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
522
522
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
523
523
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -533,12 +533,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
533
533
  } | undefined;
534
534
  } | undefined;
535
535
  default_climate_setting?: {
536
+ display_name?: string | undefined;
536
537
  climate_preset_key?: string | undefined;
537
538
  can_edit?: boolean | undefined;
538
539
  can_delete?: boolean | undefined;
539
540
  can_use_with_thermostat_daily_programs?: boolean | undefined;
540
541
  name?: string | null | undefined;
541
- display_name?: string | undefined;
542
542
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
543
543
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
544
544
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -554,11 +554,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
554
554
  } | undefined;
555
555
  } | undefined;
556
556
  available_climate_presets?: {
557
+ display_name: string;
557
558
  climate_preset_key: string;
558
559
  can_edit: boolean;
559
560
  can_delete: boolean;
560
561
  can_use_with_thermostat_daily_programs: boolean;
561
- display_name: string;
562
562
  manual_override_allowed: boolean;
563
563
  name?: string | null | undefined;
564
564
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -11,10 +11,10 @@ export declare const dormakaba_oracode_time_slot: z.ZodObject<{
11
11
  dormakaba_oracode_user_level_prefix: z.ZodNumber;
12
12
  dormakaba_oracode_user_level_id: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
14
- name: string;
15
- prefix: number;
16
14
  check_in_time: string;
17
15
  check_out_time: string;
16
+ name: string;
17
+ prefix: number;
18
18
  is_24_hour: boolean;
19
19
  is_biweekly_mode: boolean;
20
20
  is_one_shot: boolean;
@@ -22,10 +22,10 @@ export declare const dormakaba_oracode_time_slot: z.ZodObject<{
22
22
  dormakaba_oracode_user_level_prefix: number;
23
23
  dormakaba_oracode_user_level_id: string;
24
24
  }, {
25
- name: string;
26
- prefix: number;
27
25
  check_in_time: string;
28
26
  check_out_time: string;
27
+ name: string;
28
+ prefix: number;
29
29
  is_24_hour: boolean;
30
30
  is_biweekly_mode: boolean;
31
31
  is_one_shot: boolean;
@@ -624,10 +624,10 @@ export declare const device_metadata: z.ZodObject<{
624
624
  dormakaba_oracode_user_level_prefix: z.ZodNumber;
625
625
  dormakaba_oracode_user_level_id: z.ZodString;
626
626
  }, "strip", z.ZodTypeAny, {
627
- name: string;
628
- prefix: number;
629
627
  check_in_time: string;
630
628
  check_out_time: string;
629
+ name: string;
630
+ prefix: number;
631
631
  is_24_hour: boolean;
632
632
  is_biweekly_mode: boolean;
633
633
  is_one_shot: boolean;
@@ -635,10 +635,10 @@ export declare const device_metadata: z.ZodObject<{
635
635
  dormakaba_oracode_user_level_prefix: number;
636
636
  dormakaba_oracode_user_level_id: string;
637
637
  }, {
638
- name: string;
639
- prefix: number;
640
638
  check_in_time: string;
641
639
  check_out_time: string;
640
+ name: string;
641
+ prefix: number;
642
642
  is_24_hour: boolean;
643
643
  is_biweekly_mode: boolean;
644
644
  is_one_shot: boolean;
@@ -655,10 +655,10 @@ export declare const device_metadata: z.ZodObject<{
655
655
  door_id?: number | undefined;
656
656
  iana_timezone?: string | undefined;
657
657
  predefined_time_slots?: {
658
- name: string;
659
- prefix: number;
660
658
  check_in_time: string;
661
659
  check_out_time: string;
660
+ name: string;
661
+ prefix: number;
662
662
  is_24_hour: boolean;
663
663
  is_biweekly_mode: boolean;
664
664
  is_one_shot: boolean;
@@ -675,10 +675,10 @@ export declare const device_metadata: z.ZodObject<{
675
675
  door_id?: number | undefined;
676
676
  iana_timezone?: string | undefined;
677
677
  predefined_time_slots?: {
678
- name: string;
679
- prefix: number;
680
678
  check_in_time: string;
681
679
  check_out_time: string;
680
+ name: string;
681
+ prefix: number;
682
682
  is_24_hour: boolean;
683
683
  is_biweekly_mode: boolean;
684
684
  is_one_shot: boolean;
@@ -894,13 +894,13 @@ export declare const device_metadata: z.ZodObject<{
894
894
  device_type: z.ZodString;
895
895
  time_zone: z.ZodNullable<z.ZodString>;
896
896
  }, "strip", z.ZodTypeAny, {
897
- device_id: string;
898
897
  time_zone: string | null;
898
+ device_id: string;
899
899
  device_name: string;
900
900
  device_type: string;
901
901
  }, {
902
- device_id: string;
903
902
  time_zone: string | null;
903
+ device_id: string;
904
904
  device_name: string;
905
905
  device_type: string;
906
906
  }>>;
@@ -1123,10 +1123,10 @@ export declare const device_metadata: z.ZodObject<{
1123
1123
  door_id?: number | undefined;
1124
1124
  iana_timezone?: string | undefined;
1125
1125
  predefined_time_slots?: {
1126
- name: string;
1127
- prefix: number;
1128
1126
  check_in_time: string;
1129
1127
  check_out_time: string;
1128
+ name: string;
1129
+ prefix: number;
1130
1130
  is_24_hour: boolean;
1131
1131
  is_biweekly_mode: boolean;
1132
1132
  is_one_shot: boolean;
@@ -1208,8 +1208,8 @@ export declare const device_metadata: z.ZodObject<{
1208
1208
  is_quadient_locker?: boolean | undefined;
1209
1209
  } | undefined;
1210
1210
  ultraloq_metadata?: {
1211
- device_id: string;
1212
1211
  time_zone: string | null;
1212
+ device_id: string;
1213
1213
  device_name: string;
1214
1214
  device_type: string;
1215
1215
  } | undefined;
@@ -1410,10 +1410,10 @@ export declare const device_metadata: z.ZodObject<{
1410
1410
  door_id?: number | undefined;
1411
1411
  iana_timezone?: string | undefined;
1412
1412
  predefined_time_slots?: {
1413
- name: string;
1414
- prefix: number;
1415
1413
  check_in_time: string;
1416
1414
  check_out_time: string;
1415
+ name: string;
1416
+ prefix: number;
1417
1417
  is_24_hour: boolean;
1418
1418
  is_biweekly_mode: boolean;
1419
1419
  is_one_shot: boolean;
@@ -1495,8 +1495,8 @@ export declare const device_metadata: z.ZodObject<{
1495
1495
  is_quadient_locker?: boolean | undefined;
1496
1496
  } | undefined;
1497
1497
  ultraloq_metadata?: {
1498
- device_id: string;
1499
1498
  time_zone: string | null;
1499
+ device_id: string;
1500
1500
  device_name: string;
1501
1501
  device_type: string;
1502
1502
  } | undefined;