@seamapi/types 1.139.0 → 1.140.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.
@@ -1081,6 +1081,12 @@ export interface Routes {
1081
1081
  display_name: string;
1082
1082
  acs_system_id: string;
1083
1083
  created_at: string;
1084
+ latch_metadata: {
1085
+ accessibility_type: string;
1086
+ name: string;
1087
+ type: string;
1088
+ is_connected: boolean;
1089
+ } | null;
1084
1090
  visionline_metadata: {
1085
1091
  door_name: string;
1086
1092
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -1120,6 +1126,12 @@ export interface Routes {
1120
1126
  display_name: string;
1121
1127
  acs_system_id: string;
1122
1128
  created_at: string;
1129
+ latch_metadata: {
1130
+ accessibility_type: string;
1131
+ name: string;
1132
+ type: string;
1133
+ is_connected: boolean;
1134
+ } | null;
1123
1135
  visionline_metadata: {
1124
1136
  door_name: string;
1125
1137
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -1387,6 +1399,12 @@ export interface Routes {
1387
1399
  display_name: string;
1388
1400
  acs_system_id: string;
1389
1401
  created_at: string;
1402
+ latch_metadata: {
1403
+ accessibility_type: string;
1404
+ name: string;
1405
+ type: string;
1406
+ is_connected: boolean;
1407
+ } | null;
1390
1408
  visionline_metadata: {
1391
1409
  door_name: string;
1392
1410
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -1,9 +1,41 @@
1
1
  import { z } from 'zod';
2
+ export declare const acs_entrance_latch_metadata: z.ZodObject<{
3
+ accessibility_type: z.ZodString;
4
+ name: z.ZodString;
5
+ type: z.ZodString;
6
+ is_connected: z.ZodBoolean;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: string;
9
+ name: string;
10
+ is_connected: boolean;
11
+ accessibility_type: string;
12
+ }, {
13
+ type: string;
14
+ name: string;
15
+ is_connected: boolean;
16
+ accessibility_type: string;
17
+ }>;
2
18
  export declare const acs_entrance: z.ZodObject<{
3
19
  acs_entrance_id: z.ZodString;
4
20
  display_name: z.ZodString;
5
21
  acs_system_id: z.ZodString;
6
22
  created_at: z.ZodString;
23
+ latch_metadata: z.ZodNullable<z.ZodObject<{
24
+ accessibility_type: z.ZodString;
25
+ name: z.ZodString;
26
+ type: z.ZodString;
27
+ is_connected: z.ZodBoolean;
28
+ }, "strip", z.ZodTypeAny, {
29
+ type: string;
30
+ name: string;
31
+ is_connected: boolean;
32
+ accessibility_type: string;
33
+ }, {
34
+ type: string;
35
+ name: string;
36
+ is_connected: boolean;
37
+ accessibility_type: string;
38
+ }>>;
7
39
  visionline_metadata: z.ZodNullable<z.ZodObject<{
8
40
  door_name: z.ZodString;
9
41
  door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
@@ -37,6 +69,12 @@ export declare const acs_entrance: z.ZodObject<{
37
69
  acs_system_id: string;
38
70
  display_name: string;
39
71
  acs_entrance_id: string;
72
+ latch_metadata: {
73
+ type: string;
74
+ name: string;
75
+ is_connected: boolean;
76
+ accessibility_type: string;
77
+ } | null;
40
78
  visionline_metadata: {
41
79
  door_name: string;
42
80
  door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
@@ -50,6 +88,12 @@ export declare const acs_entrance: z.ZodObject<{
50
88
  acs_system_id: string;
51
89
  display_name: string;
52
90
  acs_entrance_id: string;
91
+ latch_metadata: {
92
+ type: string;
93
+ name: string;
94
+ is_connected: boolean;
95
+ accessibility_type: string;
96
+ } | null;
53
97
  visionline_metadata: {
54
98
  door_name: string;
55
99
  door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
@@ -59,4 +103,5 @@ export declare const acs_entrance: z.ZodObject<{
59
103
  }[] | undefined;
60
104
  } | null;
61
105
  }>;
106
+ export type AcsEntranceLatchMetadata = z.infer<typeof acs_entrance_latch_metadata>;
62
107
  export type AcsEntrance = z.infer<typeof acs_entrance>;
@@ -1,9 +1,16 @@
1
1
  import { z } from 'zod';
2
+ export const acs_entrance_latch_metadata = z.object({
3
+ accessibility_type: z.string(),
4
+ name: z.string(),
5
+ type: z.string(),
6
+ is_connected: z.boolean(),
7
+ });
2
8
  export const acs_entrance = z.object({
3
9
  acs_entrance_id: z.string().uuid(),
4
10
  display_name: z.string(),
5
11
  acs_system_id: z.string().uuid(),
6
12
  created_at: z.string().datetime(),
13
+ latch_metadata: acs_entrance_latch_metadata.nullable(),
7
14
  visionline_metadata: z
8
15
  .object({
9
16
  door_name: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC;QACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;YACpB,UAAU;YACV,OAAO;YACP,iBAAiB;YACjB,QAAQ;YACR,cAAc;SACf,CAAC;QACF,QAAQ,EAAE,CAAC;aACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;YACtC,4BAA4B,EAAE,CAAC,CAAC,IAAI,CAAC;gBACnC,KAAK;gBACL,YAAY;gBACZ,OAAO;aACR,CAAC;SACH,CAAC,CACH;aACA,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,CAAC;SACnB,MAAM,CAAC;QACN,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC;YACpB,UAAU;YACV,OAAO;YACP,iBAAiB;YACjB,QAAQ;YACR,cAAc;SACf,CAAC;QACF,QAAQ,EAAE,CAAC;aACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;YACtC,4BAA4B,EAAE,CAAC,CAAC,IAAI,CAAC;gBACnC,KAAK;gBACL,YAAY;gBACZ,OAAO;aACR,CAAC;SACH,CAAC,CACH;aACA,QAAQ,EAAE;KACd,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.139.0",
3
+ "version": "1.140.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -5313,6 +5313,22 @@ export default {
5313
5313
  acs_system_id: { format: 'uuid', type: 'string' },
5314
5314
  created_at: { format: 'date-time', type: 'string' },
5315
5315
  display_name: { type: 'string' },
5316
+ latch_metadata: {
5317
+ nullable: true,
5318
+ properties: {
5319
+ accessibility_type: { type: 'string' },
5320
+ is_connected: { type: 'boolean' },
5321
+ name: { type: 'string' },
5322
+ type: { type: 'string' },
5323
+ },
5324
+ required: [
5325
+ 'accessibility_type',
5326
+ 'name',
5327
+ 'type',
5328
+ 'is_connected',
5329
+ ],
5330
+ type: 'object',
5331
+ },
5316
5332
  visionline_metadata: {
5317
5333
  nullable: true,
5318
5334
  properties: {
@@ -5356,6 +5372,7 @@ export default {
5356
5372
  'display_name',
5357
5373
  'acs_system_id',
5358
5374
  'created_at',
5375
+ 'latch_metadata',
5359
5376
  'visionline_metadata',
5360
5377
  ],
5361
5378
  type: 'object',
@@ -5458,6 +5475,22 @@ export default {
5458
5475
  acs_system_id: { format: 'uuid', type: 'string' },
5459
5476
  created_at: { format: 'date-time', type: 'string' },
5460
5477
  display_name: { type: 'string' },
5478
+ latch_metadata: {
5479
+ nullable: true,
5480
+ properties: {
5481
+ accessibility_type: { type: 'string' },
5482
+ is_connected: { type: 'boolean' },
5483
+ name: { type: 'string' },
5484
+ type: { type: 'string' },
5485
+ },
5486
+ required: [
5487
+ 'accessibility_type',
5488
+ 'name',
5489
+ 'type',
5490
+ 'is_connected',
5491
+ ],
5492
+ type: 'object',
5493
+ },
5461
5494
  visionline_metadata: {
5462
5495
  nullable: true,
5463
5496
  properties: {
@@ -5501,6 +5534,7 @@ export default {
5501
5534
  'display_name',
5502
5535
  'acs_system_id',
5503
5536
  'created_at',
5537
+ 'latch_metadata',
5504
5538
  'visionline_metadata',
5505
5539
  ],
5506
5540
  type: 'object',
@@ -6088,6 +6122,22 @@ export default {
6088
6122
  acs_system_id: { format: 'uuid', type: 'string' },
6089
6123
  created_at: { format: 'date-time', type: 'string' },
6090
6124
  display_name: { type: 'string' },
6125
+ latch_metadata: {
6126
+ nullable: true,
6127
+ properties: {
6128
+ accessibility_type: { type: 'string' },
6129
+ is_connected: { type: 'boolean' },
6130
+ name: { type: 'string' },
6131
+ type: { type: 'string' },
6132
+ },
6133
+ required: [
6134
+ 'accessibility_type',
6135
+ 'name',
6136
+ 'type',
6137
+ 'is_connected',
6138
+ ],
6139
+ type: 'object',
6140
+ },
6091
6141
  visionline_metadata: {
6092
6142
  nullable: true,
6093
6143
  properties: {
@@ -6131,6 +6181,7 @@ export default {
6131
6181
  'display_name',
6132
6182
  'acs_system_id',
6133
6183
  'created_at',
6184
+ 'latch_metadata',
6134
6185
  'visionline_metadata',
6135
6186
  ],
6136
6187
  type: 'object',
@@ -9275,9 +9326,10 @@ export default {
9275
9326
  401: { description: 'Unauthorized' },
9276
9327
  },
9277
9328
  security: [
9278
- { access_token: [], seam_workspace: [] },
9279
- { seam_client_session_token: [] },
9280
- { client_session_token: [] },
9329
+ { client_session: [] },
9330
+ { pat_with_workspace: [] },
9331
+ { console_session: [] },
9332
+ { api_key: [] },
9281
9333
  ],
9282
9334
  summary: '/locks/lock_door',
9283
9335
  tags: ['/locks'],
@@ -10551,9 +10603,10 @@ export default {
10551
10603
  401: { description: 'Unauthorized' },
10552
10604
  },
10553
10605
  security: [
10554
- { api_key: [] },
10555
10606
  { client_session: [] },
10556
10607
  { pat_with_workspace: [] },
10608
+ { console_session: [] },
10609
+ { api_key: [] },
10557
10610
  ],
10558
10611
  summary: '/thermostats/cool',
10559
10612
  tags: ['/thermostats'],
@@ -10598,9 +10651,10 @@ export default {
10598
10651
  401: { description: 'Unauthorized' },
10599
10652
  },
10600
10653
  security: [
10601
- { api_key: [] },
10602
10654
  { client_session: [] },
10603
10655
  { pat_with_workspace: [] },
10656
+ { console_session: [] },
10657
+ { api_key: [] },
10604
10658
  ],
10605
10659
  summary: '/thermostats/get',
10606
10660
  tags: ['/thermostats'],
@@ -10650,9 +10704,10 @@ export default {
10650
10704
  401: { description: 'Unauthorized' },
10651
10705
  },
10652
10706
  security: [
10653
- { api_key: [] },
10654
10707
  { client_session: [] },
10655
10708
  { pat_with_workspace: [] },
10709
+ { console_session: [] },
10710
+ { api_key: [] },
10656
10711
  ],
10657
10712
  summary: '/thermostats/heat',
10658
10713
  tags: ['/thermostats'],
@@ -10704,9 +10759,10 @@ export default {
10704
10759
  401: { description: 'Unauthorized' },
10705
10760
  },
10706
10761
  security: [
10707
- { api_key: [] },
10708
10762
  { client_session: [] },
10709
10763
  { pat_with_workspace: [] },
10764
+ { console_session: [] },
10765
+ { api_key: [] },
10710
10766
  ],
10711
10767
  summary: '/thermostats/heat_cool',
10712
10768
  tags: ['/thermostats'],
@@ -10977,9 +11033,10 @@ export default {
10977
11033
  401: { description: 'Unauthorized' },
10978
11034
  },
10979
11035
  security: [
10980
- { api_key: [] },
10981
11036
  { client_session: [] },
10982
11037
  { pat_with_workspace: [] },
11038
+ { console_session: [] },
11039
+ { api_key: [] },
10983
11040
  ],
10984
11041
  summary: '/thermostats/off',
10985
11042
  tags: ['/thermostats'],
@@ -11029,9 +11086,10 @@ export default {
11029
11086
  401: { description: 'Unauthorized' },
11030
11087
  },
11031
11088
  security: [
11032
- { api_key: [] },
11033
11089
  { client_session: [] },
11034
11090
  { pat_with_workspace: [] },
11091
+ { console_session: [] },
11092
+ { api_key: [] },
11035
11093
  ],
11036
11094
  summary: '/thermostats/set_fan_mode',
11037
11095
  tags: ['/thermostats'],
@@ -1181,6 +1181,12 @@ export interface Routes {
1181
1181
  display_name: string
1182
1182
  acs_system_id: string
1183
1183
  created_at: string
1184
+ latch_metadata: {
1185
+ accessibility_type: string
1186
+ name: string
1187
+ type: string
1188
+ is_connected: boolean
1189
+ } | null
1184
1190
  visionline_metadata: {
1185
1191
  door_name: string
1186
1192
  door_category:
@@ -1227,6 +1233,12 @@ export interface Routes {
1227
1233
  display_name: string
1228
1234
  acs_system_id: string
1229
1235
  created_at: string
1236
+ latch_metadata: {
1237
+ accessibility_type: string
1238
+ name: string
1239
+ type: string
1240
+ is_connected: boolean
1241
+ } | null
1230
1242
  visionline_metadata: {
1231
1243
  door_name: string
1232
1244
  door_category:
@@ -1567,6 +1579,12 @@ export interface Routes {
1567
1579
  display_name: string
1568
1580
  acs_system_id: string
1569
1581
  created_at: string
1582
+ latch_metadata: {
1583
+ accessibility_type: string
1584
+ name: string
1585
+ type: string
1586
+ is_connected: boolean
1587
+ } | null
1570
1588
  visionline_metadata: {
1571
1589
  door_name: string
1572
1590
  door_category:
@@ -1,10 +1,18 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ export const acs_entrance_latch_metadata = z.object({
4
+ accessibility_type: z.string(),
5
+ name: z.string(),
6
+ type: z.string(),
7
+ is_connected: z.boolean(),
8
+ })
9
+
3
10
  export const acs_entrance = z.object({
4
11
  acs_entrance_id: z.string().uuid(),
5
12
  display_name: z.string(),
6
13
  acs_system_id: z.string().uuid(),
7
14
  created_at: z.string().datetime(),
15
+ latch_metadata: acs_entrance_latch_metadata.nullable(),
8
16
  visionline_metadata: z
9
17
  .object({
10
18
  door_name: z.string(),
@@ -30,5 +38,8 @@ export const acs_entrance = z.object({
30
38
  })
31
39
  .nullable(),
32
40
  })
41
+ export type AcsEntranceLatchMetadata = z.infer<
42
+ typeof acs_entrance_latch_metadata
43
+ >
33
44
 
34
45
  export type AcsEntrance = z.infer<typeof acs_entrance>