@seamapi/types 1.259.0 → 1.260.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.
- package/dist/connect.cjs +28 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +27 -2
- package/lib/seam/connect/models/acs/acs-entrance.js +10 -4
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +5 -0
- package/lib/seam/connect/openapi.js +24 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -4
- package/src/lib/seam/connect/openapi.ts +25 -5
- package/src/lib/seam/connect/route-types.ts +22 -2
package/dist/connect.d.cts
CHANGED
|
@@ -10192,18 +10192,22 @@ declare const _default: {
|
|
|
10192
10192
|
acs_entrance: {
|
|
10193
10193
|
properties: {
|
|
10194
10194
|
acs_entrance_id: {
|
|
10195
|
+
description: string;
|
|
10195
10196
|
format: string;
|
|
10196
10197
|
type: string;
|
|
10197
10198
|
};
|
|
10198
10199
|
acs_system_id: {
|
|
10200
|
+
description: string;
|
|
10199
10201
|
format: string;
|
|
10200
10202
|
type: string;
|
|
10201
10203
|
};
|
|
10202
10204
|
created_at: {
|
|
10205
|
+
description: string;
|
|
10203
10206
|
format: string;
|
|
10204
10207
|
type: string;
|
|
10205
10208
|
};
|
|
10206
10209
|
display_name: {
|
|
10210
|
+
description: string;
|
|
10207
10211
|
type: string;
|
|
10208
10212
|
};
|
|
10209
10213
|
errors: {
|
|
@@ -12739,6 +12743,7 @@ declare const _default: {
|
|
|
12739
12743
|
};
|
|
12740
12744
|
thermostat_schedule_id: {
|
|
12741
12745
|
format: string;
|
|
12746
|
+
nullable: boolean;
|
|
12742
12747
|
type: string;
|
|
12743
12748
|
};
|
|
12744
12749
|
workspace_id: {
|
|
@@ -30750,9 +30755,13 @@ interface Routes {
|
|
|
30750
30755
|
formData: {};
|
|
30751
30756
|
jsonResponse: {
|
|
30752
30757
|
acs_entrances: Array<{
|
|
30758
|
+
/** ID of the access control system that contains the entrance. */
|
|
30753
30759
|
acs_system_id: string;
|
|
30760
|
+
/** ID of the entrance. */
|
|
30754
30761
|
acs_entrance_id: string;
|
|
30762
|
+
/** Date and time at which the entrance was created. */
|
|
30755
30763
|
created_at: string;
|
|
30764
|
+
/** Display name for the entrance. */
|
|
30756
30765
|
display_name: string;
|
|
30757
30766
|
errors: Array<{
|
|
30758
30767
|
error_code: string;
|
|
@@ -31264,9 +31273,13 @@ interface Routes {
|
|
|
31264
31273
|
formData: {};
|
|
31265
31274
|
jsonResponse: {
|
|
31266
31275
|
acs_entrances: Array<{
|
|
31276
|
+
/** ID of the access control system that contains the entrance. */
|
|
31267
31277
|
acs_system_id: string;
|
|
31278
|
+
/** ID of the entrance. */
|
|
31268
31279
|
acs_entrance_id: string;
|
|
31280
|
+
/** Date and time at which the entrance was created. */
|
|
31269
31281
|
created_at: string;
|
|
31282
|
+
/** Display name for the entrance. */
|
|
31270
31283
|
display_name: string;
|
|
31271
31284
|
errors: Array<{
|
|
31272
31285
|
error_code: string;
|
|
@@ -32907,9 +32920,13 @@ interface Routes {
|
|
|
32907
32920
|
formData: {};
|
|
32908
32921
|
jsonResponse: {
|
|
32909
32922
|
acs_entrance: {
|
|
32923
|
+
/** ID of the access control system that contains the entrance. */
|
|
32910
32924
|
acs_system_id: string;
|
|
32925
|
+
/** ID of the entrance. */
|
|
32911
32926
|
acs_entrance_id: string;
|
|
32927
|
+
/** Date and time at which the entrance was created. */
|
|
32912
32928
|
created_at: string;
|
|
32929
|
+
/** Display name for the entrance. */
|
|
32913
32930
|
display_name: string;
|
|
32914
32931
|
errors: Array<{
|
|
32915
32932
|
error_code: string;
|
|
@@ -32966,9 +32983,13 @@ interface Routes {
|
|
|
32966
32983
|
formData: {};
|
|
32967
32984
|
jsonResponse: {
|
|
32968
32985
|
acs_entrances: Array<{
|
|
32986
|
+
/** ID of the access control system that contains the entrance. */
|
|
32969
32987
|
acs_system_id: string;
|
|
32988
|
+
/** ID of the entrance. */
|
|
32970
32989
|
acs_entrance_id: string;
|
|
32990
|
+
/** Date and time at which the entrance was created. */
|
|
32971
32991
|
created_at: string;
|
|
32992
|
+
/** Display name for the entrance. */
|
|
32972
32993
|
display_name: string;
|
|
32973
32994
|
errors: Array<{
|
|
32974
32995
|
error_code: string;
|
|
@@ -33726,9 +33747,13 @@ interface Routes {
|
|
|
33726
33747
|
formData: {};
|
|
33727
33748
|
jsonResponse: {
|
|
33728
33749
|
acs_entrances: Array<{
|
|
33750
|
+
/** ID of the access control system that contains the entrance. */
|
|
33729
33751
|
acs_system_id: string;
|
|
33752
|
+
/** ID of the entrance. */
|
|
33730
33753
|
acs_entrance_id: string;
|
|
33754
|
+
/** Date and time at which the entrance was created. */
|
|
33731
33755
|
created_at: string;
|
|
33756
|
+
/** Display name for the entrance. */
|
|
33732
33757
|
display_name: string;
|
|
33733
33758
|
errors: Array<{
|
|
33734
33759
|
error_code: string;
|
|
@@ -36644,7 +36669,7 @@ interface Routes {
|
|
|
36644
36669
|
created_at: string;
|
|
36645
36670
|
occurred_at: string;
|
|
36646
36671
|
event_description: string;
|
|
36647
|
-
thermostat_schedule_id?: string | undefined;
|
|
36672
|
+
thermostat_schedule_id?: (string | undefined) | null;
|
|
36648
36673
|
is_fallback_climate_preset?: boolean | undefined;
|
|
36649
36674
|
climate_preset_key?: string | undefined;
|
|
36650
36675
|
hvac_mode_setting?: string | undefined;
|
|
@@ -36691,7 +36716,7 @@ interface Routes {
|
|
|
36691
36716
|
created_at: string;
|
|
36692
36717
|
occurred_at: string;
|
|
36693
36718
|
event_description: string;
|
|
36694
|
-
thermostat_schedule_id?: string | undefined;
|
|
36719
|
+
thermostat_schedule_id?: (string | undefined) | null;
|
|
36695
36720
|
is_fallback_climate_preset?: boolean | undefined;
|
|
36696
36721
|
climate_preset_key?: string | undefined;
|
|
36697
36722
|
hvac_mode_setting?: string | undefined;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
|
|
3
3
|
export const acs_entrance = z.object({
|
|
4
|
-
acs_system_id: z
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
acs_system_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the access control system that contains the entrance.'),
|
|
8
|
+
acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
|
|
9
|
+
created_at: z
|
|
10
|
+
.string()
|
|
11
|
+
.datetime()
|
|
12
|
+
.describe('Date and time at which the entrance was created.'),
|
|
13
|
+
display_name: z.string().describe('Display name for the entrance.'),
|
|
8
14
|
errors: z.array(z.object({
|
|
9
15
|
error_code: z.string(),
|
|
10
16
|
message: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAClE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACnE,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAA"}
|
|
@@ -442,18 +442,22 @@ declare const _default: {
|
|
|
442
442
|
acs_entrance: {
|
|
443
443
|
properties: {
|
|
444
444
|
acs_entrance_id: {
|
|
445
|
+
description: string;
|
|
445
446
|
format: string;
|
|
446
447
|
type: string;
|
|
447
448
|
};
|
|
448
449
|
acs_system_id: {
|
|
450
|
+
description: string;
|
|
449
451
|
format: string;
|
|
450
452
|
type: string;
|
|
451
453
|
};
|
|
452
454
|
created_at: {
|
|
455
|
+
description: string;
|
|
453
456
|
format: string;
|
|
454
457
|
type: string;
|
|
455
458
|
};
|
|
456
459
|
display_name: {
|
|
460
|
+
description: string;
|
|
457
461
|
type: string;
|
|
458
462
|
};
|
|
459
463
|
errors: {
|
|
@@ -2989,6 +2993,7 @@ declare const _default: {
|
|
|
2989
2993
|
};
|
|
2990
2994
|
thermostat_schedule_id: {
|
|
2991
2995
|
format: string;
|
|
2996
|
+
nullable: boolean;
|
|
2992
2997
|
type: string;
|
|
2993
2998
|
};
|
|
2994
2999
|
workspace_id: {
|
|
@@ -359,10 +359,25 @@ export default {
|
|
|
359
359
|
},
|
|
360
360
|
acs_entrance: {
|
|
361
361
|
properties: {
|
|
362
|
-
acs_entrance_id: {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
362
|
+
acs_entrance_id: {
|
|
363
|
+
description: 'ID of the entrance.',
|
|
364
|
+
format: 'uuid',
|
|
365
|
+
type: 'string',
|
|
366
|
+
},
|
|
367
|
+
acs_system_id: {
|
|
368
|
+
description: 'ID of the access control system that contains the entrance.',
|
|
369
|
+
format: 'uuid',
|
|
370
|
+
type: 'string',
|
|
371
|
+
},
|
|
372
|
+
created_at: {
|
|
373
|
+
description: 'Date and time at which the entrance was created.',
|
|
374
|
+
format: 'date-time',
|
|
375
|
+
type: 'string',
|
|
376
|
+
},
|
|
377
|
+
display_name: {
|
|
378
|
+
description: 'Display name for the entrance.',
|
|
379
|
+
type: 'string',
|
|
380
|
+
},
|
|
366
381
|
errors: {
|
|
367
382
|
items: {
|
|
368
383
|
properties: {
|
|
@@ -3825,7 +3840,11 @@ export default {
|
|
|
3825
3840
|
hvac_mode_setting: { type: 'string' },
|
|
3826
3841
|
is_fallback_climate_preset: { type: 'boolean' },
|
|
3827
3842
|
occurred_at: { format: 'date-time', type: 'string' },
|
|
3828
|
-
thermostat_schedule_id: {
|
|
3843
|
+
thermostat_schedule_id: {
|
|
3844
|
+
format: 'uuid',
|
|
3845
|
+
nullable: true,
|
|
3846
|
+
type: 'string',
|
|
3847
|
+
},
|
|
3829
3848
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3830
3849
|
},
|
|
3831
3850
|
required: [
|