@seamapi/types 1.259.1 → 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 +23 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -0
- 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 +4 -0
- package/lib/seam/connect/openapi.js +19 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -4
- package/src/lib/seam/connect/openapi.ts +20 -4
- package/src/lib/seam/connect/route-types.ts +20 -0
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: {
|
|
@@ -30751,9 +30755,13 @@ interface Routes {
|
|
|
30751
30755
|
formData: {};
|
|
30752
30756
|
jsonResponse: {
|
|
30753
30757
|
acs_entrances: Array<{
|
|
30758
|
+
/** ID of the access control system that contains the entrance. */
|
|
30754
30759
|
acs_system_id: string;
|
|
30760
|
+
/** ID of the entrance. */
|
|
30755
30761
|
acs_entrance_id: string;
|
|
30762
|
+
/** Date and time at which the entrance was created. */
|
|
30756
30763
|
created_at: string;
|
|
30764
|
+
/** Display name for the entrance. */
|
|
30757
30765
|
display_name: string;
|
|
30758
30766
|
errors: Array<{
|
|
30759
30767
|
error_code: string;
|
|
@@ -31265,9 +31273,13 @@ interface Routes {
|
|
|
31265
31273
|
formData: {};
|
|
31266
31274
|
jsonResponse: {
|
|
31267
31275
|
acs_entrances: Array<{
|
|
31276
|
+
/** ID of the access control system that contains the entrance. */
|
|
31268
31277
|
acs_system_id: string;
|
|
31278
|
+
/** ID of the entrance. */
|
|
31269
31279
|
acs_entrance_id: string;
|
|
31280
|
+
/** Date and time at which the entrance was created. */
|
|
31270
31281
|
created_at: string;
|
|
31282
|
+
/** Display name for the entrance. */
|
|
31271
31283
|
display_name: string;
|
|
31272
31284
|
errors: Array<{
|
|
31273
31285
|
error_code: string;
|
|
@@ -32908,9 +32920,13 @@ interface Routes {
|
|
|
32908
32920
|
formData: {};
|
|
32909
32921
|
jsonResponse: {
|
|
32910
32922
|
acs_entrance: {
|
|
32923
|
+
/** ID of the access control system that contains the entrance. */
|
|
32911
32924
|
acs_system_id: string;
|
|
32925
|
+
/** ID of the entrance. */
|
|
32912
32926
|
acs_entrance_id: string;
|
|
32927
|
+
/** Date and time at which the entrance was created. */
|
|
32913
32928
|
created_at: string;
|
|
32929
|
+
/** Display name for the entrance. */
|
|
32914
32930
|
display_name: string;
|
|
32915
32931
|
errors: Array<{
|
|
32916
32932
|
error_code: string;
|
|
@@ -32967,9 +32983,13 @@ interface Routes {
|
|
|
32967
32983
|
formData: {};
|
|
32968
32984
|
jsonResponse: {
|
|
32969
32985
|
acs_entrances: Array<{
|
|
32986
|
+
/** ID of the access control system that contains the entrance. */
|
|
32970
32987
|
acs_system_id: string;
|
|
32988
|
+
/** ID of the entrance. */
|
|
32971
32989
|
acs_entrance_id: string;
|
|
32990
|
+
/** Date and time at which the entrance was created. */
|
|
32972
32991
|
created_at: string;
|
|
32992
|
+
/** Display name for the entrance. */
|
|
32973
32993
|
display_name: string;
|
|
32974
32994
|
errors: Array<{
|
|
32975
32995
|
error_code: string;
|
|
@@ -33727,9 +33747,13 @@ interface Routes {
|
|
|
33727
33747
|
formData: {};
|
|
33728
33748
|
jsonResponse: {
|
|
33729
33749
|
acs_entrances: Array<{
|
|
33750
|
+
/** ID of the access control system that contains the entrance. */
|
|
33730
33751
|
acs_system_id: string;
|
|
33752
|
+
/** ID of the entrance. */
|
|
33731
33753
|
acs_entrance_id: string;
|
|
33754
|
+
/** Date and time at which the entrance was created. */
|
|
33732
33755
|
created_at: string;
|
|
33756
|
+
/** Display name for the entrance. */
|
|
33733
33757
|
display_name: string;
|
|
33734
33758
|
errors: Array<{
|
|
33735
33759
|
error_code: string;
|
|
@@ -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: {
|
|
@@ -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: {
|