@seamapi/types 1.782.0 → 1.784.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 +35 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +47 -1
- package/dist/index.cjs +35 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/models/spaces/space.d.ts +3 -0
- package/lib/seam/connect/models/spaces/space.js +4 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +14 -0
- package/lib/seam/connect/openapi.js +34 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +38 -2
- package/src/lib/seam/connect/route-types.ts +25 -1
|
@@ -10785,6 +10785,8 @@ export type Routes = {
|
|
|
10785
10785
|
device_count: number;
|
|
10786
10786
|
/** Number of entrances in the space. */
|
|
10787
10787
|
acs_entrance_count: number;
|
|
10788
|
+
/** Customer key associated with the space. */
|
|
10789
|
+
customer_key?: string | undefined;
|
|
10788
10790
|
/** */
|
|
10789
10791
|
parent_space_id?: string | undefined;
|
|
10790
10792
|
/** */
|
|
@@ -12849,6 +12851,8 @@ export type Routes = {
|
|
|
12849
12851
|
location_id?: string | undefined;
|
|
12850
12852
|
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
12851
12853
|
space_id?: string | undefined;
|
|
12854
|
+
/** ID of the access code by which you want to filter the list of Access Grants. */
|
|
12855
|
+
access_code_id?: string | undefined;
|
|
12852
12856
|
/** Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key. */
|
|
12853
12857
|
access_grant_key?: (string | null) | undefined;
|
|
12854
12858
|
/** Filter Access Grants by reservation_key. */
|
|
@@ -15101,6 +15105,8 @@ export type Routes = {
|
|
|
15101
15105
|
device_count: number;
|
|
15102
15106
|
/** Number of entrances in the space. */
|
|
15103
15107
|
acs_entrance_count: number;
|
|
15108
|
+
/** Customer key associated with the space. */
|
|
15109
|
+
customer_key?: string | undefined;
|
|
15104
15110
|
/** */
|
|
15105
15111
|
parent_space_id?: string | undefined;
|
|
15106
15112
|
/** */
|
|
@@ -17031,6 +17037,8 @@ export type Routes = {
|
|
|
17031
17037
|
acs_entrance_id?: string | undefined;
|
|
17032
17038
|
/** ID of the space for which you want to retrieve all access methods. */
|
|
17033
17039
|
space_id?: string | undefined;
|
|
17040
|
+
/** ID of the access code for which you want to retrieve all access methods. */
|
|
17041
|
+
access_code_id?: string | undefined;
|
|
17034
17042
|
};
|
|
17035
17043
|
formData: {};
|
|
17036
17044
|
jsonResponse: {
|
|
@@ -66730,6 +66738,8 @@ export type Routes = {
|
|
|
66730
66738
|
device_count: number;
|
|
66731
66739
|
/** Number of entrances in the space. */
|
|
66732
66740
|
acs_entrance_count: number;
|
|
66741
|
+
/** Customer key associated with the space. */
|
|
66742
|
+
customer_key?: string | undefined;
|
|
66733
66743
|
/** */
|
|
66734
66744
|
parent_space_id?: string | undefined;
|
|
66735
66745
|
/** */
|
|
@@ -66770,6 +66780,8 @@ export type Routes = {
|
|
|
66770
66780
|
device_count: number;
|
|
66771
66781
|
/** Number of entrances in the space. */
|
|
66772
66782
|
acs_entrance_count: number;
|
|
66783
|
+
/** Customer key associated with the space. */
|
|
66784
|
+
customer_key?: string | undefined;
|
|
66773
66785
|
/** */
|
|
66774
66786
|
parent_space_id?: string | undefined;
|
|
66775
66787
|
/** */
|
|
@@ -67791,6 +67803,8 @@ export type Routes = {
|
|
|
67791
67803
|
device_count: number;
|
|
67792
67804
|
/** Number of entrances in the space. */
|
|
67793
67805
|
acs_entrance_count: number;
|
|
67806
|
+
/** Customer key associated with the space. */
|
|
67807
|
+
customer_key?: string | undefined;
|
|
67794
67808
|
/** */
|
|
67795
67809
|
parent_space_id?: string | undefined;
|
|
67796
67810
|
/** */
|
|
@@ -67844,6 +67858,8 @@ export type Routes = {
|
|
|
67844
67858
|
device_count: number;
|
|
67845
67859
|
/** Number of entrances in the space. */
|
|
67846
67860
|
acs_entrance_count: number;
|
|
67861
|
+
/** Customer key associated with the space. */
|
|
67862
|
+
customer_key?: string | undefined;
|
|
67847
67863
|
/** */
|
|
67848
67864
|
parent_space_id?: string | undefined;
|
|
67849
67865
|
/** */
|
|
@@ -67886,6 +67902,8 @@ export type Routes = {
|
|
|
67886
67902
|
device_count: number;
|
|
67887
67903
|
/** Number of entrances in the space. */
|
|
67888
67904
|
acs_entrance_count: number;
|
|
67905
|
+
/** Customer key associated with the space. */
|
|
67906
|
+
customer_key?: string | undefined;
|
|
67889
67907
|
/** */
|
|
67890
67908
|
parent_space_id?: string | undefined;
|
|
67891
67909
|
/** */
|
|
@@ -69722,7 +69740,7 @@ export type Routes = {
|
|
|
69722
69740
|
commonParams: {
|
|
69723
69741
|
/** Customer key for which you want to list spaces. */
|
|
69724
69742
|
customer_key?: string | undefined;
|
|
69725
|
-
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
69743
|
+
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`. */
|
|
69726
69744
|
search?: string | undefined;
|
|
69727
69745
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
69728
69746
|
connected_account_id?: string | undefined;
|
|
@@ -69752,6 +69770,8 @@ export type Routes = {
|
|
|
69752
69770
|
device_count: number;
|
|
69753
69771
|
/** Number of entrances in the space. */
|
|
69754
69772
|
acs_entrance_count: number;
|
|
69773
|
+
/** Customer key associated with the space. */
|
|
69774
|
+
customer_key?: string | undefined;
|
|
69755
69775
|
/** */
|
|
69756
69776
|
parent_space_id?: string | undefined;
|
|
69757
69777
|
/** */
|
|
@@ -69838,6 +69858,8 @@ export type Routes = {
|
|
|
69838
69858
|
device_count: number;
|
|
69839
69859
|
/** Number of entrances in the space. */
|
|
69840
69860
|
acs_entrance_count: number;
|
|
69861
|
+
/** Customer key associated with the space. */
|
|
69862
|
+
customer_key?: string | undefined;
|
|
69841
69863
|
/** */
|
|
69842
69864
|
parent_space_id?: string | undefined;
|
|
69843
69865
|
/** */
|
|
@@ -94996,6 +95018,8 @@ export type Routes = {
|
|
|
94996
95018
|
device_count: number;
|
|
94997
95019
|
/** Number of entrances in the space. */
|
|
94998
95020
|
acs_entrance_count: number;
|
|
95021
|
+
/** Customer key associated with the space. */
|
|
95022
|
+
customer_key?: string | undefined;
|
|
94999
95023
|
/** */
|
|
95000
95024
|
parent_space_id?: string | undefined;
|
|
95001
95025
|
/** */
|
package/package.json
CHANGED
|
@@ -20,6 +20,10 @@ export const space = z.object({
|
|
|
20
20
|
.describe('Date and time at which the space was created.'),
|
|
21
21
|
device_count: z.number().describe('Number of devices in the space.'),
|
|
22
22
|
acs_entrance_count: z.number().describe('Number of entrances in the space.'),
|
|
23
|
+
customer_key: z
|
|
24
|
+
.string()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('Customer key associated with the space.'),
|
|
23
27
|
parent_space_id: z.string().uuid().optional().describe(`
|
|
24
28
|
---
|
|
25
29
|
undocumented: Only used internally.
|
|
@@ -25394,6 +25394,10 @@ export default {
|
|
|
25394
25394
|
format: 'date-time',
|
|
25395
25395
|
type: 'string',
|
|
25396
25396
|
},
|
|
25397
|
+
customer_key: {
|
|
25398
|
+
description: 'Customer key associated with the space.',
|
|
25399
|
+
type: 'string',
|
|
25400
|
+
},
|
|
25397
25401
|
device_count: {
|
|
25398
25402
|
description: 'Number of devices in the space.',
|
|
25399
25403
|
format: 'float',
|
|
@@ -34988,6 +34992,16 @@ export default {
|
|
|
34988
34992
|
type: 'string',
|
|
34989
34993
|
},
|
|
34990
34994
|
},
|
|
34995
|
+
{
|
|
34996
|
+
in: 'query',
|
|
34997
|
+
name: 'access_code_id',
|
|
34998
|
+
schema: {
|
|
34999
|
+
description:
|
|
35000
|
+
'ID of the access code by which you want to filter the list of Access Grants.',
|
|
35001
|
+
format: 'uuid',
|
|
35002
|
+
type: 'string',
|
|
35003
|
+
},
|
|
35004
|
+
},
|
|
34991
35005
|
{
|
|
34992
35006
|
in: 'query',
|
|
34993
35007
|
name: 'access_grant_key',
|
|
@@ -35053,6 +35067,12 @@ export default {
|
|
|
35053
35067
|
'application/json': {
|
|
35054
35068
|
schema: {
|
|
35055
35069
|
properties: {
|
|
35070
|
+
access_code_id: {
|
|
35071
|
+
description:
|
|
35072
|
+
'ID of the access code by which you want to filter the list of Access Grants.',
|
|
35073
|
+
format: 'uuid',
|
|
35074
|
+
type: 'string',
|
|
35075
|
+
},
|
|
35056
35076
|
access_grant_ids: {
|
|
35057
35077
|
description: 'IDs of the access grants to retrieve.',
|
|
35058
35078
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -38729,6 +38749,16 @@ export default {
|
|
|
38729
38749
|
type: 'string',
|
|
38730
38750
|
},
|
|
38731
38751
|
},
|
|
38752
|
+
{
|
|
38753
|
+
in: 'query',
|
|
38754
|
+
name: 'access_code_id',
|
|
38755
|
+
schema: {
|
|
38756
|
+
description:
|
|
38757
|
+
'ID of the access code for which you want to retrieve all access methods.',
|
|
38758
|
+
format: 'uuid',
|
|
38759
|
+
type: 'string',
|
|
38760
|
+
},
|
|
38761
|
+
},
|
|
38732
38762
|
],
|
|
38733
38763
|
responses: {
|
|
38734
38764
|
200: {
|
|
@@ -38776,6 +38806,12 @@ export default {
|
|
|
38776
38806
|
'application/json': {
|
|
38777
38807
|
schema: {
|
|
38778
38808
|
properties: {
|
|
38809
|
+
access_code_id: {
|
|
38810
|
+
description:
|
|
38811
|
+
'ID of the access code for which you want to retrieve all access methods.',
|
|
38812
|
+
format: 'uuid',
|
|
38813
|
+
type: 'string',
|
|
38814
|
+
},
|
|
38779
38815
|
access_grant_id: {
|
|
38780
38816
|
description:
|
|
38781
38817
|
'ID of Access Grant to list access methods for.',
|
|
@@ -72936,7 +72972,7 @@ export default {
|
|
|
72936
72972
|
name: 'search',
|
|
72937
72973
|
schema: {
|
|
72938
72974
|
description:
|
|
72939
|
-
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
72975
|
+
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.',
|
|
72940
72976
|
minLength: 1,
|
|
72941
72977
|
type: 'string',
|
|
72942
72978
|
},
|
|
@@ -73056,7 +73092,7 @@ export default {
|
|
|
73056
73092
|
},
|
|
73057
73093
|
search: {
|
|
73058
73094
|
description:
|
|
73059
|
-
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
73095
|
+
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.',
|
|
73060
73096
|
minLength: 1,
|
|
73061
73097
|
type: 'string',
|
|
73062
73098
|
},
|
|
@@ -12224,6 +12224,8 @@ export type Routes = {
|
|
|
12224
12224
|
device_count: number
|
|
12225
12225
|
/** Number of entrances in the space. */
|
|
12226
12226
|
acs_entrance_count: number
|
|
12227
|
+
/** Customer key associated with the space. */
|
|
12228
|
+
customer_key?: string | undefined
|
|
12227
12229
|
/** */
|
|
12228
12230
|
parent_space_id?: string | undefined
|
|
12229
12231
|
/** */
|
|
@@ -14792,6 +14794,8 @@ export type Routes = {
|
|
|
14792
14794
|
location_id?: string | undefined
|
|
14793
14795
|
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
14794
14796
|
space_id?: string | undefined
|
|
14797
|
+
/** ID of the access code by which you want to filter the list of Access Grants. */
|
|
14798
|
+
access_code_id?: string | undefined
|
|
14795
14799
|
/** Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key. */
|
|
14796
14800
|
access_grant_key?: (string | null) | undefined
|
|
14797
14801
|
/** Filter Access Grants by reservation_key. */
|
|
@@ -17329,6 +17333,8 @@ export type Routes = {
|
|
|
17329
17333
|
device_count: number
|
|
17330
17334
|
/** Number of entrances in the space. */
|
|
17331
17335
|
acs_entrance_count: number
|
|
17336
|
+
/** Customer key associated with the space. */
|
|
17337
|
+
customer_key?: string | undefined
|
|
17332
17338
|
/** */
|
|
17333
17339
|
parent_space_id?: string | undefined
|
|
17334
17340
|
/** */
|
|
@@ -19704,6 +19710,8 @@ export type Routes = {
|
|
|
19704
19710
|
acs_entrance_id?: string | undefined
|
|
19705
19711
|
/** ID of the space for which you want to retrieve all access methods. */
|
|
19706
19712
|
space_id?: string | undefined
|
|
19713
|
+
/** ID of the access code for which you want to retrieve all access methods. */
|
|
19714
|
+
access_code_id?: string | undefined
|
|
19707
19715
|
}
|
|
19708
19716
|
formData: {}
|
|
19709
19717
|
jsonResponse: {
|
|
@@ -79317,6 +79325,8 @@ export type Routes = {
|
|
|
79317
79325
|
device_count: number
|
|
79318
79326
|
/** Number of entrances in the space. */
|
|
79319
79327
|
acs_entrance_count: number
|
|
79328
|
+
/** Customer key associated with the space. */
|
|
79329
|
+
customer_key?: string | undefined
|
|
79320
79330
|
/** */
|
|
79321
79331
|
parent_space_id?: string | undefined
|
|
79322
79332
|
/** */
|
|
@@ -79357,6 +79367,8 @@ export type Routes = {
|
|
|
79357
79367
|
device_count: number
|
|
79358
79368
|
/** Number of entrances in the space. */
|
|
79359
79369
|
acs_entrance_count: number
|
|
79370
|
+
/** Customer key associated with the space. */
|
|
79371
|
+
customer_key?: string | undefined
|
|
79360
79372
|
/** */
|
|
79361
79373
|
parent_space_id?: string | undefined
|
|
79362
79374
|
/** */
|
|
@@ -80487,6 +80499,8 @@ export type Routes = {
|
|
|
80487
80499
|
device_count: number
|
|
80488
80500
|
/** Number of entrances in the space. */
|
|
80489
80501
|
acs_entrance_count: number
|
|
80502
|
+
/** Customer key associated with the space. */
|
|
80503
|
+
customer_key?: string | undefined
|
|
80490
80504
|
/** */
|
|
80491
80505
|
parent_space_id?: string | undefined
|
|
80492
80506
|
/** */
|
|
@@ -80542,6 +80556,8 @@ export type Routes = {
|
|
|
80542
80556
|
device_count: number
|
|
80543
80557
|
/** Number of entrances in the space. */
|
|
80544
80558
|
acs_entrance_count: number
|
|
80559
|
+
/** Customer key associated with the space. */
|
|
80560
|
+
customer_key?: string | undefined
|
|
80545
80561
|
/** */
|
|
80546
80562
|
parent_space_id?: string | undefined
|
|
80547
80563
|
/** */
|
|
@@ -80603,6 +80619,8 @@ export type Routes = {
|
|
|
80603
80619
|
device_count: number
|
|
80604
80620
|
/** Number of entrances in the space. */
|
|
80605
80621
|
acs_entrance_count: number
|
|
80622
|
+
/** Customer key associated with the space. */
|
|
80623
|
+
customer_key?: string | undefined
|
|
80606
80624
|
/** */
|
|
80607
80625
|
parent_space_id?: string | undefined
|
|
80608
80626
|
/** */
|
|
@@ -82908,7 +82926,7 @@ export type Routes = {
|
|
|
82908
82926
|
commonParams: {
|
|
82909
82927
|
/** Customer key for which you want to list spaces. */
|
|
82910
82928
|
customer_key?: string | undefined
|
|
82911
|
-
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
82929
|
+
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`. */
|
|
82912
82930
|
search?: string | undefined
|
|
82913
82931
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
82914
82932
|
connected_account_id?: string | undefined
|
|
@@ -82938,6 +82956,8 @@ export type Routes = {
|
|
|
82938
82956
|
device_count: number
|
|
82939
82957
|
/** Number of entrances in the space. */
|
|
82940
82958
|
acs_entrance_count: number
|
|
82959
|
+
/** Customer key associated with the space. */
|
|
82960
|
+
customer_key?: string | undefined
|
|
82941
82961
|
/** */
|
|
82942
82962
|
parent_space_id?: string | undefined
|
|
82943
82963
|
/** */
|
|
@@ -83024,6 +83044,8 @@ export type Routes = {
|
|
|
83024
83044
|
device_count: number
|
|
83025
83045
|
/** Number of entrances in the space. */
|
|
83026
83046
|
acs_entrance_count: number
|
|
83047
|
+
/** Customer key associated with the space. */
|
|
83048
|
+
customer_key?: string | undefined
|
|
83027
83049
|
/** */
|
|
83028
83050
|
parent_space_id?: string | undefined
|
|
83029
83051
|
/** */
|
|
@@ -112909,6 +112931,8 @@ export type Routes = {
|
|
|
112909
112931
|
device_count: number
|
|
112910
112932
|
/** Number of entrances in the space. */
|
|
112911
112933
|
acs_entrance_count: number
|
|
112934
|
+
/** Customer key associated with the space. */
|
|
112935
|
+
customer_key?: string | undefined
|
|
112912
112936
|
/** */
|
|
112913
112937
|
parent_space_id?: string | undefined
|
|
112914
112938
|
/** */
|