@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
package/dist/connect.d.cts
CHANGED
|
@@ -12181,6 +12181,7 @@ declare const batch: z.ZodObject<{
|
|
|
12181
12181
|
created_at: z.ZodString;
|
|
12182
12182
|
device_count: z.ZodNumber;
|
|
12183
12183
|
acs_entrance_count: z.ZodNumber;
|
|
12184
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
12184
12185
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
12185
12186
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
12186
12187
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12191,6 +12192,7 @@ declare const batch: z.ZodObject<{
|
|
|
12191
12192
|
device_count: number;
|
|
12192
12193
|
space_id: string;
|
|
12193
12194
|
acs_entrance_count: number;
|
|
12195
|
+
customer_key?: string | undefined;
|
|
12194
12196
|
space_key?: string | undefined;
|
|
12195
12197
|
parent_space_id?: string | undefined;
|
|
12196
12198
|
parent_space_key?: string | undefined;
|
|
@@ -12202,6 +12204,7 @@ declare const batch: z.ZodObject<{
|
|
|
12202
12204
|
device_count: number;
|
|
12203
12205
|
space_id: string;
|
|
12204
12206
|
acs_entrance_count: number;
|
|
12207
|
+
customer_key?: string | undefined;
|
|
12205
12208
|
space_key?: string | undefined;
|
|
12206
12209
|
parent_space_id?: string | undefined;
|
|
12207
12210
|
parent_space_key?: string | undefined;
|
|
@@ -37507,6 +37510,7 @@ declare const batch: z.ZodObject<{
|
|
|
37507
37510
|
device_count: number;
|
|
37508
37511
|
space_id: string;
|
|
37509
37512
|
acs_entrance_count: number;
|
|
37513
|
+
customer_key?: string | undefined;
|
|
37510
37514
|
space_key?: string | undefined;
|
|
37511
37515
|
parent_space_id?: string | undefined;
|
|
37512
37516
|
parent_space_key?: string | undefined;
|
|
@@ -42380,6 +42384,7 @@ declare const batch: z.ZodObject<{
|
|
|
42380
42384
|
device_count: number;
|
|
42381
42385
|
space_id: string;
|
|
42382
42386
|
acs_entrance_count: number;
|
|
42387
|
+
customer_key?: string | undefined;
|
|
42383
42388
|
space_key?: string | undefined;
|
|
42384
42389
|
parent_space_id?: string | undefined;
|
|
42385
42390
|
parent_space_key?: string | undefined;
|
|
@@ -62095,6 +62100,7 @@ declare const space: z.ZodObject<{
|
|
|
62095
62100
|
created_at: z.ZodString;
|
|
62096
62101
|
device_count: z.ZodNumber;
|
|
62097
62102
|
acs_entrance_count: z.ZodNumber;
|
|
62103
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
62098
62104
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
62099
62105
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
62100
62106
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -62105,6 +62111,7 @@ declare const space: z.ZodObject<{
|
|
|
62105
62111
|
device_count: number;
|
|
62106
62112
|
space_id: string;
|
|
62107
62113
|
acs_entrance_count: number;
|
|
62114
|
+
customer_key?: string | undefined;
|
|
62108
62115
|
space_key?: string | undefined;
|
|
62109
62116
|
parent_space_id?: string | undefined;
|
|
62110
62117
|
parent_space_key?: string | undefined;
|
|
@@ -62116,6 +62123,7 @@ declare const space: z.ZodObject<{
|
|
|
62116
62123
|
device_count: number;
|
|
62117
62124
|
space_id: string;
|
|
62118
62125
|
acs_entrance_count: number;
|
|
62126
|
+
customer_key?: string | undefined;
|
|
62119
62127
|
space_key?: string | undefined;
|
|
62120
62128
|
parent_space_id?: string | undefined;
|
|
62121
62129
|
parent_space_key?: string | undefined;
|
|
@@ -78876,6 +78884,10 @@ declare const _default: {
|
|
|
78876
78884
|
format: string;
|
|
78877
78885
|
type: string;
|
|
78878
78886
|
};
|
|
78887
|
+
customer_key: {
|
|
78888
|
+
description: string;
|
|
78889
|
+
type: string;
|
|
78890
|
+
};
|
|
78879
78891
|
device_count: {
|
|
78880
78892
|
description: string;
|
|
78881
78893
|
format: string;
|
|
@@ -86254,6 +86266,11 @@ declare const _default: {
|
|
|
86254
86266
|
'application/json': {
|
|
86255
86267
|
schema: {
|
|
86256
86268
|
properties: {
|
|
86269
|
+
access_code_id: {
|
|
86270
|
+
description: string;
|
|
86271
|
+
format: string;
|
|
86272
|
+
type: string;
|
|
86273
|
+
};
|
|
86257
86274
|
access_grant_ids: {
|
|
86258
86275
|
description: string;
|
|
86259
86276
|
items: {
|
|
@@ -89607,6 +89624,11 @@ declare const _default: {
|
|
|
89607
89624
|
'application/json': {
|
|
89608
89625
|
schema: {
|
|
89609
89626
|
properties: {
|
|
89627
|
+
access_code_id: {
|
|
89628
|
+
description: string;
|
|
89629
|
+
format: string;
|
|
89630
|
+
type: string;
|
|
89631
|
+
};
|
|
89610
89632
|
access_grant_id: {
|
|
89611
89633
|
description: string;
|
|
89612
89634
|
format: string;
|
|
@@ -146684,6 +146706,8 @@ type Routes = {
|
|
|
146684
146706
|
device_count: number;
|
|
146685
146707
|
/** Number of entrances in the space. */
|
|
146686
146708
|
acs_entrance_count: number;
|
|
146709
|
+
/** Customer key associated with the space. */
|
|
146710
|
+
customer_key?: string | undefined;
|
|
146687
146711
|
/** */
|
|
146688
146712
|
parent_space_id?: string | undefined;
|
|
146689
146713
|
/** */
|
|
@@ -148748,6 +148772,8 @@ type Routes = {
|
|
|
148748
148772
|
location_id?: string | undefined;
|
|
148749
148773
|
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
148750
148774
|
space_id?: string | undefined;
|
|
148775
|
+
/** ID of the access code by which you want to filter the list of Access Grants. */
|
|
148776
|
+
access_code_id?: string | undefined;
|
|
148751
148777
|
/** Filter Access Grants by access_grant_key. Use null to filter for Access Grants without an access_grant_key. */
|
|
148752
148778
|
access_grant_key?: (string | null) | undefined;
|
|
148753
148779
|
/** Filter Access Grants by reservation_key. */
|
|
@@ -151000,6 +151026,8 @@ type Routes = {
|
|
|
151000
151026
|
device_count: number;
|
|
151001
151027
|
/** Number of entrances in the space. */
|
|
151002
151028
|
acs_entrance_count: number;
|
|
151029
|
+
/** Customer key associated with the space. */
|
|
151030
|
+
customer_key?: string | undefined;
|
|
151003
151031
|
/** */
|
|
151004
151032
|
parent_space_id?: string | undefined;
|
|
151005
151033
|
/** */
|
|
@@ -152930,6 +152958,8 @@ type Routes = {
|
|
|
152930
152958
|
acs_entrance_id?: string | undefined;
|
|
152931
152959
|
/** ID of the space for which you want to retrieve all access methods. */
|
|
152932
152960
|
space_id?: string | undefined;
|
|
152961
|
+
/** ID of the access code for which you want to retrieve all access methods. */
|
|
152962
|
+
access_code_id?: string | undefined;
|
|
152933
152963
|
};
|
|
152934
152964
|
formData: {};
|
|
152935
152965
|
jsonResponse: {
|
|
@@ -202629,6 +202659,8 @@ type Routes = {
|
|
|
202629
202659
|
device_count: number;
|
|
202630
202660
|
/** Number of entrances in the space. */
|
|
202631
202661
|
acs_entrance_count: number;
|
|
202662
|
+
/** Customer key associated with the space. */
|
|
202663
|
+
customer_key?: string | undefined;
|
|
202632
202664
|
/** */
|
|
202633
202665
|
parent_space_id?: string | undefined;
|
|
202634
202666
|
/** */
|
|
@@ -202669,6 +202701,8 @@ type Routes = {
|
|
|
202669
202701
|
device_count: number;
|
|
202670
202702
|
/** Number of entrances in the space. */
|
|
202671
202703
|
acs_entrance_count: number;
|
|
202704
|
+
/** Customer key associated with the space. */
|
|
202705
|
+
customer_key?: string | undefined;
|
|
202672
202706
|
/** */
|
|
202673
202707
|
parent_space_id?: string | undefined;
|
|
202674
202708
|
/** */
|
|
@@ -203690,6 +203724,8 @@ type Routes = {
|
|
|
203690
203724
|
device_count: number;
|
|
203691
203725
|
/** Number of entrances in the space. */
|
|
203692
203726
|
acs_entrance_count: number;
|
|
203727
|
+
/** Customer key associated with the space. */
|
|
203728
|
+
customer_key?: string | undefined;
|
|
203693
203729
|
/** */
|
|
203694
203730
|
parent_space_id?: string | undefined;
|
|
203695
203731
|
/** */
|
|
@@ -203743,6 +203779,8 @@ type Routes = {
|
|
|
203743
203779
|
device_count: number;
|
|
203744
203780
|
/** Number of entrances in the space. */
|
|
203745
203781
|
acs_entrance_count: number;
|
|
203782
|
+
/** Customer key associated with the space. */
|
|
203783
|
+
customer_key?: string | undefined;
|
|
203746
203784
|
/** */
|
|
203747
203785
|
parent_space_id?: string | undefined;
|
|
203748
203786
|
/** */
|
|
@@ -203785,6 +203823,8 @@ type Routes = {
|
|
|
203785
203823
|
device_count: number;
|
|
203786
203824
|
/** Number of entrances in the space. */
|
|
203787
203825
|
acs_entrance_count: number;
|
|
203826
|
+
/** Customer key associated with the space. */
|
|
203827
|
+
customer_key?: string | undefined;
|
|
203788
203828
|
/** */
|
|
203789
203829
|
parent_space_id?: string | undefined;
|
|
203790
203830
|
/** */
|
|
@@ -205621,7 +205661,7 @@ type Routes = {
|
|
|
205621
205661
|
commonParams: {
|
|
205622
205662
|
/** Customer key for which you want to list spaces. */
|
|
205623
205663
|
customer_key?: string | undefined;
|
|
205624
|
-
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
205664
|
+
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`. */
|
|
205625
205665
|
search?: string | undefined;
|
|
205626
205666
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
205627
205667
|
connected_account_id?: string | undefined;
|
|
@@ -205651,6 +205691,8 @@ type Routes = {
|
|
|
205651
205691
|
device_count: number;
|
|
205652
205692
|
/** Number of entrances in the space. */
|
|
205653
205693
|
acs_entrance_count: number;
|
|
205694
|
+
/** Customer key associated with the space. */
|
|
205695
|
+
customer_key?: string | undefined;
|
|
205654
205696
|
/** */
|
|
205655
205697
|
parent_space_id?: string | undefined;
|
|
205656
205698
|
/** */
|
|
@@ -205737,6 +205779,8 @@ type Routes = {
|
|
|
205737
205779
|
device_count: number;
|
|
205738
205780
|
/** Number of entrances in the space. */
|
|
205739
205781
|
acs_entrance_count: number;
|
|
205782
|
+
/** Customer key associated with the space. */
|
|
205783
|
+
customer_key?: string | undefined;
|
|
205740
205784
|
/** */
|
|
205741
205785
|
parent_space_id?: string | undefined;
|
|
205742
205786
|
/** */
|
|
@@ -230895,6 +230939,8 @@ type Routes = {
|
|
|
230895
230939
|
device_count: number;
|
|
230896
230940
|
/** Number of entrances in the space. */
|
|
230897
230941
|
acs_entrance_count: number;
|
|
230942
|
+
/** Customer key associated with the space. */
|
|
230943
|
+
customer_key?: string | undefined;
|
|
230898
230944
|
/** */
|
|
230899
230945
|
parent_space_id?: string | undefined;
|
|
230900
230946
|
/** */
|
package/dist/index.cjs
CHANGED
|
@@ -6291,6 +6291,7 @@ var space = zod.z.object({
|
|
|
6291
6291
|
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
6292
6292
|
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
6293
6293
|
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
6294
|
+
customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
|
|
6294
6295
|
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
6295
6296
|
---
|
|
6296
6297
|
undocumented: Only used internally.
|
|
@@ -29514,6 +29515,10 @@ var openapi_default = {
|
|
|
29514
29515
|
format: "date-time",
|
|
29515
29516
|
type: "string"
|
|
29516
29517
|
},
|
|
29518
|
+
customer_key: {
|
|
29519
|
+
description: "Customer key associated with the space.",
|
|
29520
|
+
type: "string"
|
|
29521
|
+
},
|
|
29517
29522
|
device_count: {
|
|
29518
29523
|
description: "Number of devices in the space.",
|
|
29519
29524
|
format: "float",
|
|
@@ -38167,6 +38172,15 @@ var openapi_default = {
|
|
|
38167
38172
|
type: "string"
|
|
38168
38173
|
}
|
|
38169
38174
|
},
|
|
38175
|
+
{
|
|
38176
|
+
in: "query",
|
|
38177
|
+
name: "access_code_id",
|
|
38178
|
+
schema: {
|
|
38179
|
+
description: "ID of the access code by which you want to filter the list of Access Grants.",
|
|
38180
|
+
format: "uuid",
|
|
38181
|
+
type: "string"
|
|
38182
|
+
}
|
|
38183
|
+
},
|
|
38170
38184
|
{
|
|
38171
38185
|
in: "query",
|
|
38172
38186
|
name: "access_grant_key",
|
|
@@ -38231,6 +38245,11 @@ var openapi_default = {
|
|
|
38231
38245
|
"application/json": {
|
|
38232
38246
|
schema: {
|
|
38233
38247
|
properties: {
|
|
38248
|
+
access_code_id: {
|
|
38249
|
+
description: "ID of the access code by which you want to filter the list of Access Grants.",
|
|
38250
|
+
format: "uuid",
|
|
38251
|
+
type: "string"
|
|
38252
|
+
},
|
|
38234
38253
|
access_grant_ids: {
|
|
38235
38254
|
description: "IDs of the access grants to retrieve.",
|
|
38236
38255
|
items: { format: "uuid", type: "string" },
|
|
@@ -41570,6 +41589,15 @@ var openapi_default = {
|
|
|
41570
41589
|
format: "uuid",
|
|
41571
41590
|
type: "string"
|
|
41572
41591
|
}
|
|
41592
|
+
},
|
|
41593
|
+
{
|
|
41594
|
+
in: "query",
|
|
41595
|
+
name: "access_code_id",
|
|
41596
|
+
schema: {
|
|
41597
|
+
description: "ID of the access code for which you want to retrieve all access methods.",
|
|
41598
|
+
format: "uuid",
|
|
41599
|
+
type: "string"
|
|
41600
|
+
}
|
|
41573
41601
|
}
|
|
41574
41602
|
],
|
|
41575
41603
|
responses: {
|
|
@@ -41617,6 +41645,11 @@ var openapi_default = {
|
|
|
41617
41645
|
"application/json": {
|
|
41618
41646
|
schema: {
|
|
41619
41647
|
properties: {
|
|
41648
|
+
access_code_id: {
|
|
41649
|
+
description: "ID of the access code for which you want to retrieve all access methods.",
|
|
41650
|
+
format: "uuid",
|
|
41651
|
+
type: "string"
|
|
41652
|
+
},
|
|
41620
41653
|
access_grant_id: {
|
|
41621
41654
|
description: "ID of Access Grant to list access methods for.",
|
|
41622
41655
|
format: "uuid",
|
|
@@ -74043,7 +74076,7 @@ var openapi_default = {
|
|
|
74043
74076
|
in: "query",
|
|
74044
74077
|
name: "search",
|
|
74045
74078
|
schema: {
|
|
74046
|
-
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
74079
|
+
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
|
|
74047
74080
|
minLength: 1,
|
|
74048
74081
|
type: "string"
|
|
74049
74082
|
}
|
|
@@ -74156,7 +74189,7 @@ var openapi_default = {
|
|
|
74156
74189
|
type: "string"
|
|
74157
74190
|
},
|
|
74158
74191
|
search: {
|
|
74159
|
-
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
74192
|
+
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
|
|
74160
74193
|
minLength: 1,
|
|
74161
74194
|
type: "string"
|
|
74162
74195
|
},
|