@seamapi/types 1.603.0 → 1.605.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 +144 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +300 -94
- package/dist/index.cjs +144 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
- package/lib/seam/connect/models/acs/metadata/hotek.d.ts +9 -9
- package/lib/seam/connect/models/acs/metadata/hotek.js +3 -2
- package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +150 -135
- package/lib/seam/connect/models/phones/phone-session.d.ts +78 -78
- package/lib/seam/connect/openapi.d.ts +154 -8
- package/lib/seam/connect/openapi.js +140 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
- package/src/lib/seam/connect/models/acs/metadata/hotek.ts +3 -2
- package/src/lib/seam/connect/openapi.ts +145 -14
- package/src/lib/seam/connect/route-types.ts +96 -40
|
@@ -9912,6 +9912,8 @@ export type Routes = {
|
|
|
9912
9912
|
name?: (string | undefined) | null;
|
|
9913
9913
|
/** Unique key for the access grant within the workspace. */
|
|
9914
9914
|
access_grant_key?: string | undefined;
|
|
9915
|
+
/** Reservation key for the access grant. */
|
|
9916
|
+
reservation_key?: string | undefined;
|
|
9915
9917
|
/**
|
|
9916
9918
|
* @deprecated Use `space_ids`.*/
|
|
9917
9919
|
location_ids?: string[] | undefined;
|
|
@@ -9957,6 +9959,8 @@ export type Routes = {
|
|
|
9957
9959
|
access_grant_id: string;
|
|
9958
9960
|
/** Unique key for the access grant within the workspace. */
|
|
9959
9961
|
access_grant_key?: string | undefined;
|
|
9962
|
+
/** Reservation key for the access grant. */
|
|
9963
|
+
reservation_key?: string | undefined;
|
|
9960
9964
|
/** ID of user identity to which the Access Grant gives access. */
|
|
9961
9965
|
user_identity_id: string;
|
|
9962
9966
|
/**
|
|
@@ -10041,6 +10045,8 @@ export type Routes = {
|
|
|
10041
10045
|
access_grant_id: string;
|
|
10042
10046
|
/** Unique key for the access grant within the workspace. */
|
|
10043
10047
|
access_grant_key?: string | undefined;
|
|
10048
|
+
/** Reservation key for the access grant. */
|
|
10049
|
+
reservation_key?: string | undefined;
|
|
10044
10050
|
/** ID of user identity to which the Access Grant gives access. */
|
|
10045
10051
|
user_identity_id: string;
|
|
10046
10052
|
/**
|
|
@@ -11375,11 +11381,11 @@ export type Routes = {
|
|
|
11375
11381
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
11376
11382
|
hotek_metadata?: {
|
|
11377
11383
|
/** Room number of the entrance. */
|
|
11378
|
-
room_number
|
|
11384
|
+
room_number?: string | undefined;
|
|
11379
11385
|
/** Display name of the entrance. */
|
|
11380
|
-
|
|
11381
|
-
/**
|
|
11382
|
-
|
|
11386
|
+
common_area_number?: string | undefined;
|
|
11387
|
+
/** Display name of the entrance. */
|
|
11388
|
+
common_area_name?: string | undefined;
|
|
11383
11389
|
} | undefined;
|
|
11384
11390
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
11385
11391
|
visionline_metadata?: {
|
|
@@ -11820,6 +11826,8 @@ export type Routes = {
|
|
|
11820
11826
|
access_grant_id: string;
|
|
11821
11827
|
/** Unique key for the access grant within the workspace. */
|
|
11822
11828
|
access_grant_key?: string | undefined;
|
|
11829
|
+
/** Reservation key for the access grant. */
|
|
11830
|
+
reservation_key?: string | undefined;
|
|
11823
11831
|
/** ID of user identity to which the Access Grant gives access. */
|
|
11824
11832
|
user_identity_id: string;
|
|
11825
11833
|
/**
|
|
@@ -11896,6 +11904,8 @@ export type Routes = {
|
|
|
11896
11904
|
access_grant_id: string;
|
|
11897
11905
|
/** Unique key for the access grant within the workspace. */
|
|
11898
11906
|
access_grant_key?: string | undefined;
|
|
11907
|
+
/** Reservation key for the access grant. */
|
|
11908
|
+
reservation_key?: string | undefined;
|
|
11899
11909
|
/** ID of user identity to which the Access Grant gives access. */
|
|
11900
11910
|
user_identity_id: string;
|
|
11901
11911
|
/**
|
|
@@ -11963,6 +11973,8 @@ export type Routes = {
|
|
|
11963
11973
|
workspace_id: string;
|
|
11964
11974
|
/** ID of the Access Grant. */
|
|
11965
11975
|
access_grant_id: string;
|
|
11976
|
+
/** Reservation key for the access grant. */
|
|
11977
|
+
reservation_key?: string | undefined;
|
|
11966
11978
|
/** ID of user identity to which the Access Grant gives access. */
|
|
11967
11979
|
user_identity_id: string;
|
|
11968
11980
|
/**
|
|
@@ -12027,6 +12039,8 @@ export type Routes = {
|
|
|
12027
12039
|
workspace_id: string;
|
|
12028
12040
|
/** ID of the Access Grant. */
|
|
12029
12041
|
access_grant_id: string;
|
|
12042
|
+
/** Reservation key for the access grant. */
|
|
12043
|
+
reservation_key?: string | undefined;
|
|
12030
12044
|
/** ID of user identity to which the Access Grant gives access. */
|
|
12031
12045
|
user_identity_id: string;
|
|
12032
12046
|
/**
|
|
@@ -14799,11 +14813,11 @@ export type Routes = {
|
|
|
14799
14813
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
14800
14814
|
hotek_metadata?: {
|
|
14801
14815
|
/** Room number of the entrance. */
|
|
14802
|
-
room_number
|
|
14816
|
+
room_number?: string | undefined;
|
|
14803
14817
|
/** Display name of the entrance. */
|
|
14804
|
-
|
|
14805
|
-
/**
|
|
14806
|
-
|
|
14818
|
+
common_area_number?: string | undefined;
|
|
14819
|
+
/** Display name of the entrance. */
|
|
14820
|
+
common_area_name?: string | undefined;
|
|
14807
14821
|
} | undefined;
|
|
14808
14822
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
14809
14823
|
visionline_metadata?: {
|
|
@@ -17522,6 +17536,8 @@ export type Routes = {
|
|
|
17522
17536
|
access_grant_id: string;
|
|
17523
17537
|
/** Unique key for the access grant within the workspace. */
|
|
17524
17538
|
access_grant_key?: string | undefined;
|
|
17539
|
+
/** Reservation key for the access grant. */
|
|
17540
|
+
reservation_key?: string | undefined;
|
|
17525
17541
|
/** ID of user identity to which the Access Grant gives access. */
|
|
17526
17542
|
user_identity_id: string;
|
|
17527
17543
|
/**
|
|
@@ -20854,11 +20870,11 @@ export type Routes = {
|
|
|
20854
20870
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20855
20871
|
hotek_metadata?: {
|
|
20856
20872
|
/** Room number of the entrance. */
|
|
20857
|
-
room_number
|
|
20873
|
+
room_number?: string | undefined;
|
|
20858
20874
|
/** Display name of the entrance. */
|
|
20859
|
-
|
|
20860
|
-
/**
|
|
20861
|
-
|
|
20875
|
+
common_area_number?: string | undefined;
|
|
20876
|
+
/** Display name of the entrance. */
|
|
20877
|
+
common_area_name?: string | undefined;
|
|
20862
20878
|
} | undefined;
|
|
20863
20879
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20864
20880
|
visionline_metadata?: {
|
|
@@ -22220,11 +22236,11 @@ export type Routes = {
|
|
|
22220
22236
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
22221
22237
|
hotek_metadata?: {
|
|
22222
22238
|
/** Room number of the entrance. */
|
|
22223
|
-
room_number
|
|
22239
|
+
room_number?: string | undefined;
|
|
22224
22240
|
/** Display name of the entrance. */
|
|
22225
|
-
|
|
22226
|
-
/**
|
|
22227
|
-
|
|
22241
|
+
common_area_number?: string | undefined;
|
|
22242
|
+
/** Display name of the entrance. */
|
|
22243
|
+
common_area_name?: string | undefined;
|
|
22228
22244
|
} | undefined;
|
|
22229
22245
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
22230
22246
|
visionline_metadata?: {
|
|
@@ -25686,11 +25702,11 @@ export type Routes = {
|
|
|
25686
25702
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25687
25703
|
hotek_metadata?: {
|
|
25688
25704
|
/** Room number of the entrance. */
|
|
25689
|
-
room_number
|
|
25705
|
+
room_number?: string | undefined;
|
|
25690
25706
|
/** Display name of the entrance. */
|
|
25691
|
-
|
|
25692
|
-
/**
|
|
25693
|
-
|
|
25707
|
+
common_area_number?: string | undefined;
|
|
25708
|
+
/** Display name of the entrance. */
|
|
25709
|
+
common_area_name?: string | undefined;
|
|
25694
25710
|
} | undefined;
|
|
25695
25711
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25696
25712
|
visionline_metadata?: {
|
|
@@ -25853,11 +25869,11 @@ export type Routes = {
|
|
|
25853
25869
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25854
25870
|
hotek_metadata?: {
|
|
25855
25871
|
/** Room number of the entrance. */
|
|
25856
|
-
room_number
|
|
25872
|
+
room_number?: string | undefined;
|
|
25857
25873
|
/** Display name of the entrance. */
|
|
25858
|
-
|
|
25859
|
-
/**
|
|
25860
|
-
|
|
25874
|
+
common_area_number?: string | undefined;
|
|
25875
|
+
/** Display name of the entrance. */
|
|
25876
|
+
common_area_name?: string | undefined;
|
|
25861
25877
|
} | undefined;
|
|
25862
25878
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25863
25879
|
visionline_metadata?: {
|
|
@@ -26495,6 +26511,40 @@ export type Routes = {
|
|
|
26495
26511
|
}[];
|
|
26496
26512
|
};
|
|
26497
26513
|
};
|
|
26514
|
+
'/acs/systems/report_devices': {
|
|
26515
|
+
route: '/acs/systems/report_devices';
|
|
26516
|
+
method: 'POST';
|
|
26517
|
+
queryParams: {};
|
|
26518
|
+
jsonBody: {};
|
|
26519
|
+
commonParams: {
|
|
26520
|
+
/** ID of the ACS system to report resources for */
|
|
26521
|
+
acs_system_id: string;
|
|
26522
|
+
/** Array of ACS encoders to report */
|
|
26523
|
+
acs_encoders?: {
|
|
26524
|
+
/** Whether the encoder is removed */
|
|
26525
|
+
is_removed?: boolean | undefined;
|
|
26526
|
+
hotek_metadata: {
|
|
26527
|
+
/** The encoder number determined by the USB port connection. */
|
|
26528
|
+
encoder_number: string;
|
|
26529
|
+
};
|
|
26530
|
+
}[] | undefined;
|
|
26531
|
+
/** Array of ACS entrances to report */
|
|
26532
|
+
acs_entrances?: {
|
|
26533
|
+
/** Whether the entrance is removed */
|
|
26534
|
+
is_removed?: boolean | undefined;
|
|
26535
|
+
/** Hotek-specific metadata associated with the entrance. */
|
|
26536
|
+
hotek_metadata: {
|
|
26537
|
+
/** The room number identifier */
|
|
26538
|
+
room_number?: string | undefined;
|
|
26539
|
+
/** The common area name */
|
|
26540
|
+
common_area_name?: string | undefined;
|
|
26541
|
+
common_area_number?: string | undefined;
|
|
26542
|
+
};
|
|
26543
|
+
}[] | undefined;
|
|
26544
|
+
};
|
|
26545
|
+
formData: {};
|
|
26546
|
+
jsonResponse: {};
|
|
26547
|
+
};
|
|
26498
26548
|
'/acs/users/add_to_access_group': {
|
|
26499
26549
|
route: '/acs/users/add_to_access_group';
|
|
26500
26550
|
method: 'PUT' | 'POST';
|
|
@@ -27294,11 +27344,11 @@ export type Routes = {
|
|
|
27294
27344
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27295
27345
|
hotek_metadata?: {
|
|
27296
27346
|
/** Room number of the entrance. */
|
|
27297
|
-
room_number
|
|
27347
|
+
room_number?: string | undefined;
|
|
27298
27348
|
/** Display name of the entrance. */
|
|
27299
|
-
|
|
27300
|
-
/**
|
|
27301
|
-
|
|
27349
|
+
common_area_number?: string | undefined;
|
|
27350
|
+
/** Display name of the entrance. */
|
|
27351
|
+
common_area_name?: string | undefined;
|
|
27302
27352
|
} | undefined;
|
|
27303
27353
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27304
27354
|
visionline_metadata?: {
|
|
@@ -59556,11 +59606,11 @@ export type Routes = {
|
|
|
59556
59606
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
59557
59607
|
hotek_metadata?: {
|
|
59558
59608
|
/** Room number of the entrance. */
|
|
59559
|
-
room_number
|
|
59609
|
+
room_number?: string | undefined;
|
|
59610
|
+
/** Display name of the entrance. */
|
|
59611
|
+
common_area_number?: string | undefined;
|
|
59560
59612
|
/** Display name of the entrance. */
|
|
59561
|
-
|
|
59562
|
-
/** Type of door. */
|
|
59563
|
-
door_type: 'common_area' | 'guest';
|
|
59613
|
+
common_area_name?: string | undefined;
|
|
59564
59614
|
} | undefined;
|
|
59565
59615
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
59566
59616
|
visionline_metadata?: {
|
|
@@ -61135,11 +61185,11 @@ export type Routes = {
|
|
|
61135
61185
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
61136
61186
|
hotek_metadata?: {
|
|
61137
61187
|
/** Room number of the entrance. */
|
|
61138
|
-
room_number
|
|
61188
|
+
room_number?: string | undefined;
|
|
61139
61189
|
/** Display name of the entrance. */
|
|
61140
|
-
|
|
61141
|
-
/**
|
|
61142
|
-
|
|
61190
|
+
common_area_number?: string | undefined;
|
|
61191
|
+
/** Display name of the entrance. */
|
|
61192
|
+
common_area_name?: string | undefined;
|
|
61143
61193
|
} | undefined;
|
|
61144
61194
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
61145
61195
|
visionline_metadata?: {
|
|
@@ -82369,11 +82419,11 @@ export type Routes = {
|
|
|
82369
82419
|
/** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
82370
82420
|
hotek_metadata?: {
|
|
82371
82421
|
/** Room number of the entrance. */
|
|
82372
|
-
room_number
|
|
82422
|
+
room_number?: string | undefined;
|
|
82373
82423
|
/** Display name of the entrance. */
|
|
82374
|
-
|
|
82375
|
-
/**
|
|
82376
|
-
|
|
82424
|
+
common_area_number?: string | undefined;
|
|
82425
|
+
/** Display name of the entrance. */
|
|
82426
|
+
common_area_name?: string | undefined;
|
|
82377
82427
|
} | undefined;
|
|
82378
82428
|
/** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
82379
82429
|
visionline_metadata?: {
|
|
@@ -85092,6 +85142,8 @@ export type Routes = {
|
|
|
85092
85142
|
access_grant_id: string;
|
|
85093
85143
|
/** Unique key for the access grant within the workspace. */
|
|
85094
85144
|
access_grant_key?: string | undefined;
|
|
85145
|
+
/** Reservation key for the access grant. */
|
|
85146
|
+
reservation_key?: string | undefined;
|
|
85095
85147
|
/** ID of user identity to which the Access Grant gives access. */
|
|
85096
85148
|
user_identity_id: string;
|
|
85097
85149
|
/**
|
package/package.json
CHANGED
|
@@ -47,6 +47,10 @@ export const access_grant = z.object({
|
|
|
47
47
|
.string()
|
|
48
48
|
.optional()
|
|
49
49
|
.describe('Unique key for the access grant within the workspace.'),
|
|
50
|
+
reservation_key: z
|
|
51
|
+
.string()
|
|
52
|
+
.optional()
|
|
53
|
+
.describe('Reservation key for the access grant.'),
|
|
50
54
|
user_identity_id: z
|
|
51
55
|
.string()
|
|
52
56
|
.uuid()
|
|
@@ -3,9 +3,10 @@ import { z } from 'zod'
|
|
|
3
3
|
export const acs_entrance_hotek_metadata = z
|
|
4
4
|
.object({
|
|
5
5
|
room_number: z.string().describe('Room number of the entrance.'),
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
common_area_number: z.string().describe('Display name of the entrance.'),
|
|
7
|
+
common_area_name: z.string().describe('Display name of the entrance.'),
|
|
8
8
|
})
|
|
9
|
+
.partial()
|
|
9
10
|
.describe('Hotek-specific metadata associated with the entrance.')
|
|
10
11
|
|
|
11
12
|
export type AcsEntranceHotekMetadata = z.infer<
|
|
@@ -1896,6 +1896,10 @@ export default {
|
|
|
1896
1896
|
},
|
|
1897
1897
|
type: 'array',
|
|
1898
1898
|
},
|
|
1899
|
+
reservation_key: {
|
|
1900
|
+
description: 'Reservation key for the access grant.',
|
|
1901
|
+
type: 'string',
|
|
1902
|
+
},
|
|
1899
1903
|
space_ids: {
|
|
1900
1904
|
description:
|
|
1901
1905
|
'IDs of the spaces to which the Access Grant gives access.',
|
|
@@ -2899,13 +2903,12 @@ export default {
|
|
|
2899
2903
|
description:
|
|
2900
2904
|
'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2901
2905
|
properties: {
|
|
2902
|
-
|
|
2906
|
+
common_area_name: {
|
|
2903
2907
|
description: 'Display name of the entrance.',
|
|
2904
2908
|
type: 'string',
|
|
2905
2909
|
},
|
|
2906
|
-
|
|
2907
|
-
description: '
|
|
2908
|
-
enum: ['common_area', 'guest'],
|
|
2910
|
+
common_area_number: {
|
|
2911
|
+
description: 'Display name of the entrance.',
|
|
2909
2912
|
type: 'string',
|
|
2910
2913
|
},
|
|
2911
2914
|
room_number: {
|
|
@@ -2913,7 +2916,6 @@ export default {
|
|
|
2913
2916
|
type: 'string',
|
|
2914
2917
|
},
|
|
2915
2918
|
},
|
|
2916
|
-
required: ['room_number', 'display_name', 'door_type'],
|
|
2917
2919
|
type: 'object',
|
|
2918
2920
|
},
|
|
2919
2921
|
latch_metadata: {
|
|
@@ -19933,13 +19935,12 @@ export default {
|
|
|
19933
19935
|
description:
|
|
19934
19936
|
'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
19935
19937
|
properties: {
|
|
19936
|
-
|
|
19938
|
+
common_area_name: {
|
|
19937
19939
|
description: 'Display name of the entrance.',
|
|
19938
19940
|
type: 'string',
|
|
19939
19941
|
},
|
|
19940
|
-
|
|
19941
|
-
description: '
|
|
19942
|
-
enum: ['common_area', 'guest'],
|
|
19942
|
+
common_area_number: {
|
|
19943
|
+
description: 'Display name of the entrance.',
|
|
19943
19944
|
type: 'string',
|
|
19944
19945
|
},
|
|
19945
19946
|
room_number: {
|
|
@@ -19947,11 +19948,6 @@ export default {
|
|
|
19947
19948
|
type: 'string',
|
|
19948
19949
|
},
|
|
19949
19950
|
},
|
|
19950
|
-
required: [
|
|
19951
|
-
'room_number',
|
|
19952
|
-
'display_name',
|
|
19953
|
-
'door_type',
|
|
19954
|
-
],
|
|
19955
19951
|
type: 'object',
|
|
19956
19952
|
},
|
|
19957
19953
|
latch_metadata: {
|
|
@@ -28450,6 +28446,10 @@ export default {
|
|
|
28450
28446
|
},
|
|
28451
28447
|
type: 'array',
|
|
28452
28448
|
},
|
|
28449
|
+
reservation_key: {
|
|
28450
|
+
description: 'Reservation key for the access grant.',
|
|
28451
|
+
type: 'string',
|
|
28452
|
+
},
|
|
28453
28453
|
space_ids: {
|
|
28454
28454
|
description:
|
|
28455
28455
|
'Set of IDs of existing spaces to which access is being granted.',
|
|
@@ -29369,6 +29369,10 @@ export default {
|
|
|
29369
29369
|
},
|
|
29370
29370
|
type: 'array',
|
|
29371
29371
|
},
|
|
29372
|
+
reservation_key: {
|
|
29373
|
+
description: 'Reservation key for the access grant.',
|
|
29374
|
+
type: 'string',
|
|
29375
|
+
},
|
|
29372
29376
|
space_ids: {
|
|
29373
29377
|
description:
|
|
29374
29378
|
'IDs of the spaces to which the Access Grant gives access.',
|
|
@@ -29599,6 +29603,10 @@ export default {
|
|
|
29599
29603
|
},
|
|
29600
29604
|
type: 'array',
|
|
29601
29605
|
},
|
|
29606
|
+
reservation_key: {
|
|
29607
|
+
description: 'Reservation key for the access grant.',
|
|
29608
|
+
type: 'string',
|
|
29609
|
+
},
|
|
29602
29610
|
space_ids: {
|
|
29603
29611
|
description:
|
|
29604
29612
|
'IDs of the spaces to which the Access Grant gives access.',
|
|
@@ -29846,6 +29854,11 @@ export default {
|
|
|
29846
29854
|
},
|
|
29847
29855
|
type: 'array',
|
|
29848
29856
|
},
|
|
29857
|
+
reservation_key: {
|
|
29858
|
+
description:
|
|
29859
|
+
'Reservation key for the access grant.',
|
|
29860
|
+
type: 'string',
|
|
29861
|
+
},
|
|
29849
29862
|
space_ids: {
|
|
29850
29863
|
description:
|
|
29851
29864
|
'IDs of the spaces to which the Access Grant gives access.',
|
|
@@ -30090,6 +30103,11 @@ export default {
|
|
|
30090
30103
|
},
|
|
30091
30104
|
type: 'array',
|
|
30092
30105
|
},
|
|
30106
|
+
reservation_key: {
|
|
30107
|
+
description:
|
|
30108
|
+
'Reservation key for the access grant.',
|
|
30109
|
+
type: 'string',
|
|
30110
|
+
},
|
|
30093
30111
|
space_ids: {
|
|
30094
30112
|
description:
|
|
30095
30113
|
'IDs of the spaces to which the Access Grant gives access.',
|
|
@@ -36339,6 +36357,119 @@ export default {
|
|
|
36339
36357
|
'x-title': 'List Compatible Credential Manager ACS Systems',
|
|
36340
36358
|
},
|
|
36341
36359
|
},
|
|
36360
|
+
'/acs/systems/report_devices': {
|
|
36361
|
+
post: {
|
|
36362
|
+
description:
|
|
36363
|
+
'Reports ACS system resources including encoders and entrances with their metadata.\n\nThis endpoint allows reporting of:\n- ACS encoders with removal status and encoder port metadata\n- ACS entrances with room number metadata',
|
|
36364
|
+
operationId: 'acsSystemsReportDevicesPost',
|
|
36365
|
+
requestBody: {
|
|
36366
|
+
content: {
|
|
36367
|
+
'application/json': {
|
|
36368
|
+
schema: {
|
|
36369
|
+
properties: {
|
|
36370
|
+
acs_encoders: {
|
|
36371
|
+
default: [],
|
|
36372
|
+
description: 'Array of ACS encoders to report',
|
|
36373
|
+
items: {
|
|
36374
|
+
properties: {
|
|
36375
|
+
hotek_metadata: {
|
|
36376
|
+
properties: {
|
|
36377
|
+
encoder_number: {
|
|
36378
|
+
description:
|
|
36379
|
+
'The encoder number determined by the USB port connection.',
|
|
36380
|
+
type: 'string',
|
|
36381
|
+
},
|
|
36382
|
+
},
|
|
36383
|
+
required: ['encoder_number'],
|
|
36384
|
+
type: 'object',
|
|
36385
|
+
},
|
|
36386
|
+
is_removed: {
|
|
36387
|
+
default: false,
|
|
36388
|
+
description: 'Whether the encoder is removed',
|
|
36389
|
+
type: 'boolean',
|
|
36390
|
+
},
|
|
36391
|
+
},
|
|
36392
|
+
required: ['hotek_metadata'],
|
|
36393
|
+
type: 'object',
|
|
36394
|
+
},
|
|
36395
|
+
type: 'array',
|
|
36396
|
+
},
|
|
36397
|
+
acs_entrances: {
|
|
36398
|
+
default: [],
|
|
36399
|
+
description: 'Array of ACS entrances to report',
|
|
36400
|
+
items: {
|
|
36401
|
+
properties: {
|
|
36402
|
+
hotek_metadata: {
|
|
36403
|
+
description:
|
|
36404
|
+
'Hotek-specific metadata associated with the entrance.',
|
|
36405
|
+
properties: {
|
|
36406
|
+
common_area_name: {
|
|
36407
|
+
description: 'The common area name',
|
|
36408
|
+
type: 'string',
|
|
36409
|
+
},
|
|
36410
|
+
common_area_number: {
|
|
36411
|
+
description: 'The room number identifier',
|
|
36412
|
+
type: 'string',
|
|
36413
|
+
},
|
|
36414
|
+
room_number: {
|
|
36415
|
+
description: 'The room number identifier',
|
|
36416
|
+
type: 'string',
|
|
36417
|
+
},
|
|
36418
|
+
},
|
|
36419
|
+
type: 'object',
|
|
36420
|
+
},
|
|
36421
|
+
is_removed: {
|
|
36422
|
+
default: false,
|
|
36423
|
+
description: 'Whether the entrance is removed',
|
|
36424
|
+
type: 'boolean',
|
|
36425
|
+
},
|
|
36426
|
+
},
|
|
36427
|
+
required: ['hotek_metadata'],
|
|
36428
|
+
type: 'object',
|
|
36429
|
+
},
|
|
36430
|
+
type: 'array',
|
|
36431
|
+
},
|
|
36432
|
+
acs_system_id: {
|
|
36433
|
+
description: 'ID of the ACS system to report resources for',
|
|
36434
|
+
format: 'uuid',
|
|
36435
|
+
type: 'string',
|
|
36436
|
+
},
|
|
36437
|
+
},
|
|
36438
|
+
required: ['acs_system_id'],
|
|
36439
|
+
type: 'object',
|
|
36440
|
+
},
|
|
36441
|
+
},
|
|
36442
|
+
},
|
|
36443
|
+
},
|
|
36444
|
+
responses: {
|
|
36445
|
+
200: {
|
|
36446
|
+
content: {
|
|
36447
|
+
'application/json': {
|
|
36448
|
+
schema: {
|
|
36449
|
+
properties: { ok: { type: 'boolean' } },
|
|
36450
|
+
required: ['ok'],
|
|
36451
|
+
type: 'object',
|
|
36452
|
+
},
|
|
36453
|
+
},
|
|
36454
|
+
},
|
|
36455
|
+
description: 'OK',
|
|
36456
|
+
},
|
|
36457
|
+
400: { description: 'Bad Request' },
|
|
36458
|
+
401: { description: 'Unauthorized' },
|
|
36459
|
+
},
|
|
36460
|
+
security: [
|
|
36461
|
+
{ pat_with_workspace: [] },
|
|
36462
|
+
{ console_session_with_workspace: [] },
|
|
36463
|
+
{ api_key: [] },
|
|
36464
|
+
],
|
|
36465
|
+
summary: '/acs/systems/report_devices',
|
|
36466
|
+
tags: ['/acs'],
|
|
36467
|
+
'x-fern-sdk-group-name': ['acs', 'systems'],
|
|
36468
|
+
'x-fern-sdk-method-name': 'report_devices',
|
|
36469
|
+
'x-response-key': null,
|
|
36470
|
+
'x-title': 'Report ACS Resources',
|
|
36471
|
+
},
|
|
36472
|
+
},
|
|
36342
36473
|
'/acs/users/add_to_access_group': {
|
|
36343
36474
|
post: {
|
|
36344
36475
|
description:
|