Skip to content

Commit 5dcf583

Browse files
authored
feat: Sync with Seam API via b3def8463b4fbf4f485a023b5c7fc79387377d0a (#2752)
1 parent 5a946f4 commit 5dcf583

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

src/lib/seam/connect/models/spaces/space.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export const space = z.object({
2020
.describe('Date and time at which the space was created.'),
2121
device_count: z.number().describe('Number of devices in the space.'),
2222
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.'),
2327
parent_space_id: z.string().uuid().optional().describe(`
2428
---
2529
undocumented: Only used internally.

src/lib/seam/connect/openapi.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25394,6 +25394,10 @@ export default {
2539425394
format: 'date-time',
2539525395
type: 'string',
2539625396
},
25397+
customer_key: {
25398+
description: 'Customer key associated with the space.',
25399+
type: 'string',
25400+
},
2539725401
device_count: {
2539825402
description: 'Number of devices in the space.',
2539925403
format: 'float',
@@ -72936,7 +72940,7 @@ export default {
7293672940
name: 'search',
7293772941
schema: {
7293872942
description:
72939-
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
72943+
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.',
7294072944
minLength: 1,
7294172945
type: 'string',
7294272946
},
@@ -73056,7 +73060,7 @@ export default {
7305673060
},
7305773061
search: {
7305873062
description:
73059-
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
73063+
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.',
7306073064
minLength: 1,
7306173065
type: 'string',
7306273066
},

src/lib/seam/connect/route-types.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12224,6 +12224,8 @@ export type Routes = {
1222412224
device_count: number
1222512225
/** Number of entrances in the space. */
1222612226
acs_entrance_count: number
12227+
/** Customer key associated with the space. */
12228+
customer_key?: string | undefined
1222712229
/** */
1222812230
parent_space_id?: string | undefined
1222912231
/** */
@@ -17329,6 +17331,8 @@ export type Routes = {
1732917331
device_count: number
1733017332
/** Number of entrances in the space. */
1733117333
acs_entrance_count: number
17334+
/** Customer key associated with the space. */
17335+
customer_key?: string | undefined
1733217336
/** */
1733317337
parent_space_id?: string | undefined
1733417338
/** */
@@ -79317,6 +79321,8 @@ export type Routes = {
7931779321
device_count: number
7931879322
/** Number of entrances in the space. */
7931979323
acs_entrance_count: number
79324+
/** Customer key associated with the space. */
79325+
customer_key?: string | undefined
7932079326
/** */
7932179327
parent_space_id?: string | undefined
7932279328
/** */
@@ -79357,6 +79363,8 @@ export type Routes = {
7935779363
device_count: number
7935879364
/** Number of entrances in the space. */
7935979365
acs_entrance_count: number
79366+
/** Customer key associated with the space. */
79367+
customer_key?: string | undefined
7936079368
/** */
7936179369
parent_space_id?: string | undefined
7936279370
/** */
@@ -80487,6 +80495,8 @@ export type Routes = {
8048780495
device_count: number
8048880496
/** Number of entrances in the space. */
8048980497
acs_entrance_count: number
80498+
/** Customer key associated with the space. */
80499+
customer_key?: string | undefined
8049080500
/** */
8049180501
parent_space_id?: string | undefined
8049280502
/** */
@@ -80542,6 +80552,8 @@ export type Routes = {
8054280552
device_count: number
8054380553
/** Number of entrances in the space. */
8054480554
acs_entrance_count: number
80555+
/** Customer key associated with the space. */
80556+
customer_key?: string | undefined
8054580557
/** */
8054680558
parent_space_id?: string | undefined
8054780559
/** */
@@ -80603,6 +80615,8 @@ export type Routes = {
8060380615
device_count: number
8060480616
/** Number of entrances in the space. */
8060580617
acs_entrance_count: number
80618+
/** Customer key associated with the space. */
80619+
customer_key?: string | undefined
8060680620
/** */
8060780621
parent_space_id?: string | undefined
8060880622
/** */
@@ -82908,7 +82922,7 @@ export type Routes = {
8290882922
commonParams: {
8290982923
/** Customer key for which you want to list spaces. */
8291082924
customer_key?: string | undefined
82911-
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
82925+
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`. */
8291282926
search?: string | undefined
8291382927
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
8291482928
connected_account_id?: string | undefined
@@ -82938,6 +82952,8 @@ export type Routes = {
8293882952
device_count: number
8293982953
/** Number of entrances in the space. */
8294082954
acs_entrance_count: number
82955+
/** Customer key associated with the space. */
82956+
customer_key?: string | undefined
8294182957
/** */
8294282958
parent_space_id?: string | undefined
8294382959
/** */
@@ -83024,6 +83040,8 @@ export type Routes = {
8302483040
device_count: number
8302583041
/** Number of entrances in the space. */
8302683042
acs_entrance_count: number
83043+
/** Customer key associated with the space. */
83044+
customer_key?: string | undefined
8302783045
/** */
8302883046
parent_space_id?: string | undefined
8302983047
/** */
@@ -112909,6 +112927,8 @@ export type Routes = {
112909112927
device_count: number
112910112928
/** Number of entrances in the space. */
112911112929
acs_entrance_count: number
112930+
/** Customer key associated with the space. */
112931+
customer_key?: string | undefined
112912112932
/** */
112913112933
parent_space_id?: string | undefined
112914112934
/** */

0 commit comments

Comments
 (0)