@seamapi/types 1.165.0 → 1.166.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.
@@ -1626,6 +1626,21 @@ declare const _default: {
1626
1626
  display_name: {
1627
1627
  type: string;
1628
1628
  };
1629
+ errors: {
1630
+ items: {
1631
+ properties: {
1632
+ error_code: {
1633
+ type: string;
1634
+ };
1635
+ message: {
1636
+ type: string;
1637
+ };
1638
+ };
1639
+ required: string[];
1640
+ type: string;
1641
+ };
1642
+ type: string;
1643
+ };
1629
1644
  latch_metadata: {
1630
1645
  nullable: boolean;
1631
1646
  properties: {
@@ -18105,6 +18120,10 @@ interface Routes {
18105
18120
  door_type: string;
18106
18121
  is_connected: boolean;
18107
18122
  } | null;
18123
+ errors: Array<{
18124
+ error_code: string;
18125
+ message: string;
18126
+ }>;
18108
18127
  visionline_metadata: {
18109
18128
  door_name: string;
18110
18129
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -18150,6 +18169,10 @@ interface Routes {
18150
18169
  door_type: string;
18151
18170
  is_connected: boolean;
18152
18171
  } | null;
18172
+ errors: Array<{
18173
+ error_code: string;
18174
+ message: string;
18175
+ }>;
18153
18176
  visionline_metadata: {
18154
18177
  door_name: string;
18155
18178
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -18465,6 +18488,10 @@ interface Routes {
18465
18488
  door_type: string;
18466
18489
  is_connected: boolean;
18467
18490
  } | null;
18491
+ errors: Array<{
18492
+ error_code: string;
18493
+ message: string;
18494
+ }>;
18468
18495
  visionline_metadata: {
18469
18496
  door_name: string;
18470
18497
  door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
@@ -36,6 +36,16 @@ export declare const acs_entrance: z.ZodObject<{
36
36
  door_type: string;
37
37
  is_connected: boolean;
38
38
  }>>;
39
+ errors: z.ZodArray<z.ZodObject<{
40
+ error_code: z.ZodString;
41
+ message: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ message: string;
44
+ error_code: string;
45
+ }, {
46
+ message: string;
47
+ error_code: string;
48
+ }>, "many">;
39
49
  visionline_metadata: z.ZodNullable<z.ZodObject<{
40
50
  door_name: z.ZodString;
41
51
  door_category: z.ZodEnum<["entrance", "guest", "elevator reader", "common", "common (PMS)"]>;
@@ -66,6 +76,10 @@ export declare const acs_entrance: z.ZodObject<{
66
76
  }>>;
67
77
  }, "strip", z.ZodTypeAny, {
68
78
  created_at: string;
79
+ errors: {
80
+ message: string;
81
+ error_code: string;
82
+ }[];
69
83
  acs_system_id: string;
70
84
  display_name: string;
71
85
  visionline_metadata: {
@@ -85,6 +99,10 @@ export declare const acs_entrance: z.ZodObject<{
85
99
  } | null;
86
100
  }, {
87
101
  created_at: string;
102
+ errors: {
103
+ message: string;
104
+ error_code: string;
105
+ }[];
88
106
  acs_system_id: string;
89
107
  display_name: string;
90
108
  visionline_metadata: {
@@ -11,6 +11,10 @@ export const acs_entrance = z.object({
11
11
  acs_system_id: z.string().uuid(),
12
12
  created_at: z.string().datetime(),
13
13
  latch_metadata: acs_entrance_latch_metadata.nullable(),
14
+ errors: z.array(z.object({
15
+ error_code: z.string(),
16
+ message: z.string(),
17
+ })),
14
18
  visionline_metadata: z
15
19
  .object({
16
20
  door_name: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/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,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAA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Y,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,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,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"}
@@ -346,6 +346,21 @@ declare const _default: {
346
346
  display_name: {
347
347
  type: string;
348
348
  };
349
+ errors: {
350
+ items: {
351
+ properties: {
352
+ error_code: {
353
+ type: string;
354
+ };
355
+ message: {
356
+ type: string;
357
+ };
358
+ };
359
+ required: string[];
360
+ type: string;
361
+ };
362
+ type: string;
363
+ };
349
364
  latch_metadata: {
350
365
  nullable: boolean;
351
366
  properties: {
@@ -294,6 +294,17 @@ export default {
294
294
  acs_system_id: { format: 'uuid', type: 'string' },
295
295
  created_at: { format: 'date-time', type: 'string' },
296
296
  display_name: { type: 'string' },
297
+ errors: {
298
+ items: {
299
+ properties: {
300
+ error_code: { type: 'string' },
301
+ message: { type: 'string' },
302
+ },
303
+ required: ['error_code', 'message'],
304
+ type: 'object',
305
+ },
306
+ type: 'array',
307
+ },
297
308
  latch_metadata: {
298
309
  nullable: true,
299
310
  properties: {
@@ -352,6 +363,7 @@ export default {
352
363
  'acs_system_id',
353
364
  'created_at',
354
365
  'latch_metadata',
366
+ 'errors',
355
367
  'visionline_metadata',
356
368
  ],
357
369
  type: 'object',