@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
|
@@ -180,6 +180,7 @@ export declare const batch: z.ZodObject<{
|
|
|
180
180
|
created_at: z.ZodString;
|
|
181
181
|
device_count: z.ZodNumber;
|
|
182
182
|
acs_entrance_count: z.ZodNumber;
|
|
183
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
183
184
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
184
185
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
185
186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -190,6 +191,7 @@ export declare const batch: z.ZodObject<{
|
|
|
190
191
|
device_count: number;
|
|
191
192
|
space_id: string;
|
|
192
193
|
acs_entrance_count: number;
|
|
194
|
+
customer_key?: string | undefined;
|
|
193
195
|
space_key?: string | undefined;
|
|
194
196
|
parent_space_id?: string | undefined;
|
|
195
197
|
parent_space_key?: string | undefined;
|
|
@@ -201,6 +203,7 @@ export declare const batch: z.ZodObject<{
|
|
|
201
203
|
device_count: number;
|
|
202
204
|
space_id: string;
|
|
203
205
|
acs_entrance_count: number;
|
|
206
|
+
customer_key?: string | undefined;
|
|
204
207
|
space_key?: string | undefined;
|
|
205
208
|
parent_space_id?: string | undefined;
|
|
206
209
|
parent_space_key?: string | undefined;
|
|
@@ -25506,6 +25509,7 @@ export declare const batch: z.ZodObject<{
|
|
|
25506
25509
|
device_count: number;
|
|
25507
25510
|
space_id: string;
|
|
25508
25511
|
acs_entrance_count: number;
|
|
25512
|
+
customer_key?: string | undefined;
|
|
25509
25513
|
space_key?: string | undefined;
|
|
25510
25514
|
parent_space_id?: string | undefined;
|
|
25511
25515
|
parent_space_key?: string | undefined;
|
|
@@ -30379,6 +30383,7 @@ export declare const batch: z.ZodObject<{
|
|
|
30379
30383
|
device_count: number;
|
|
30380
30384
|
space_id: string;
|
|
30381
30385
|
acs_entrance_count: number;
|
|
30386
|
+
customer_key?: string | undefined;
|
|
30382
30387
|
space_key?: string | undefined;
|
|
30383
30388
|
parent_space_id?: string | undefined;
|
|
30384
30389
|
parent_space_key?: string | undefined;
|
|
@@ -8,6 +8,7 @@ export declare const space: z.ZodObject<{
|
|
|
8
8
|
created_at: z.ZodString;
|
|
9
9
|
device_count: z.ZodNumber;
|
|
10
10
|
acs_entrance_count: z.ZodNumber;
|
|
11
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
11
12
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
12
13
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18,6 +19,7 @@ export declare const space: z.ZodObject<{
|
|
|
18
19
|
device_count: number;
|
|
19
20
|
space_id: string;
|
|
20
21
|
acs_entrance_count: number;
|
|
22
|
+
customer_key?: string | undefined;
|
|
21
23
|
space_key?: string | undefined;
|
|
22
24
|
parent_space_id?: string | undefined;
|
|
23
25
|
parent_space_key?: string | undefined;
|
|
@@ -29,6 +31,7 @@ export declare const space: z.ZodObject<{
|
|
|
29
31
|
device_count: number;
|
|
30
32
|
space_id: string;
|
|
31
33
|
acs_entrance_count: number;
|
|
34
|
+
customer_key?: string | undefined;
|
|
32
35
|
space_key?: string | undefined;
|
|
33
36
|
parent_space_id?: string | undefined;
|
|
34
37
|
parent_space_key?: string | undefined;
|
|
@@ -17,6 +17,10 @@ export const space = z.object({
|
|
|
17
17
|
.describe('Date and time at which the space was created.'),
|
|
18
18
|
device_count: z.number().describe('Number of devices in the space.'),
|
|
19
19
|
acs_entrance_count: z.number().describe('Number of entrances in the space.'),
|
|
20
|
+
customer_key: z
|
|
21
|
+
.string()
|
|
22
|
+
.optional()
|
|
23
|
+
.describe('Customer key associated with the space.'),
|
|
20
24
|
parent_space_id: z.string().uuid().optional().describe(`
|
|
21
25
|
---
|
|
22
26
|
undocumented: Only used internally.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAA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CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACtD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAIpD,CAAC;IACJ,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAI9C,CAAC;CACL,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -16324,6 +16324,10 @@ declare const _default: {
|
|
|
16324
16324
|
format: string;
|
|
16325
16325
|
type: string;
|
|
16326
16326
|
};
|
|
16327
|
+
customer_key: {
|
|
16328
|
+
description: string;
|
|
16329
|
+
type: string;
|
|
16330
|
+
};
|
|
16327
16331
|
device_count: {
|
|
16328
16332
|
description: string;
|
|
16329
16333
|
format: string;
|
|
@@ -23702,6 +23706,11 @@ declare const _default: {
|
|
|
23702
23706
|
'application/json': {
|
|
23703
23707
|
schema: {
|
|
23704
23708
|
properties: {
|
|
23709
|
+
access_code_id: {
|
|
23710
|
+
description: string;
|
|
23711
|
+
format: string;
|
|
23712
|
+
type: string;
|
|
23713
|
+
};
|
|
23705
23714
|
access_grant_ids: {
|
|
23706
23715
|
description: string;
|
|
23707
23716
|
items: {
|
|
@@ -27055,6 +27064,11 @@ declare const _default: {
|
|
|
27055
27064
|
'application/json': {
|
|
27056
27065
|
schema: {
|
|
27057
27066
|
properties: {
|
|
27067
|
+
access_code_id: {
|
|
27068
|
+
description: string;
|
|
27069
|
+
format: string;
|
|
27070
|
+
type: string;
|
|
27071
|
+
};
|
|
27058
27072
|
access_grant_id: {
|
|
27059
27073
|
description: string;
|
|
27060
27074
|
format: string;
|
|
@@ -22819,6 +22819,10 @@ export default {
|
|
|
22819
22819
|
format: 'date-time',
|
|
22820
22820
|
type: 'string',
|
|
22821
22821
|
},
|
|
22822
|
+
customer_key: {
|
|
22823
|
+
description: 'Customer key associated with the space.',
|
|
22824
|
+
type: 'string',
|
|
22825
|
+
},
|
|
22822
22826
|
device_count: {
|
|
22823
22827
|
description: 'Number of devices in the space.',
|
|
22824
22828
|
format: 'float',
|
|
@@ -31472,6 +31476,15 @@ export default {
|
|
|
31472
31476
|
type: 'string',
|
|
31473
31477
|
},
|
|
31474
31478
|
},
|
|
31479
|
+
{
|
|
31480
|
+
in: 'query',
|
|
31481
|
+
name: 'access_code_id',
|
|
31482
|
+
schema: {
|
|
31483
|
+
description: 'ID of the access code by which you want to filter the list of Access Grants.',
|
|
31484
|
+
format: 'uuid',
|
|
31485
|
+
type: 'string',
|
|
31486
|
+
},
|
|
31487
|
+
},
|
|
31475
31488
|
{
|
|
31476
31489
|
in: 'query',
|
|
31477
31490
|
name: 'access_grant_key',
|
|
@@ -31536,6 +31549,11 @@ export default {
|
|
|
31536
31549
|
'application/json': {
|
|
31537
31550
|
schema: {
|
|
31538
31551
|
properties: {
|
|
31552
|
+
access_code_id: {
|
|
31553
|
+
description: 'ID of the access code by which you want to filter the list of Access Grants.',
|
|
31554
|
+
format: 'uuid',
|
|
31555
|
+
type: 'string',
|
|
31556
|
+
},
|
|
31539
31557
|
access_grant_ids: {
|
|
31540
31558
|
description: 'IDs of the access grants to retrieve.',
|
|
31541
31559
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -34876,6 +34894,15 @@ export default {
|
|
|
34876
34894
|
type: 'string',
|
|
34877
34895
|
},
|
|
34878
34896
|
},
|
|
34897
|
+
{
|
|
34898
|
+
in: 'query',
|
|
34899
|
+
name: 'access_code_id',
|
|
34900
|
+
schema: {
|
|
34901
|
+
description: 'ID of the access code for which you want to retrieve all access methods.',
|
|
34902
|
+
format: 'uuid',
|
|
34903
|
+
type: 'string',
|
|
34904
|
+
},
|
|
34905
|
+
},
|
|
34879
34906
|
],
|
|
34880
34907
|
responses: {
|
|
34881
34908
|
200: {
|
|
@@ -34922,6 +34949,11 @@ export default {
|
|
|
34922
34949
|
'application/json': {
|
|
34923
34950
|
schema: {
|
|
34924
34951
|
properties: {
|
|
34952
|
+
access_code_id: {
|
|
34953
|
+
description: 'ID of the access code for which you want to retrieve all access methods.',
|
|
34954
|
+
format: 'uuid',
|
|
34955
|
+
type: 'string',
|
|
34956
|
+
},
|
|
34925
34957
|
access_grant_id: {
|
|
34926
34958
|
description: 'ID of Access Grant to list access methods for.',
|
|
34927
34959
|
format: 'uuid',
|
|
@@ -67348,7 +67380,7 @@ export default {
|
|
|
67348
67380
|
in: 'query',
|
|
67349
67381
|
name: 'search',
|
|
67350
67382
|
schema: {
|
|
67351
|
-
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
67383
|
+
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`.',
|
|
67352
67384
|
minLength: 1,
|
|
67353
67385
|
type: 'string',
|
|
67354
67386
|
},
|
|
@@ -67461,7 +67493,7 @@ export default {
|
|
|
67461
67493
|
type: 'string',
|
|
67462
67494
|
},
|
|
67463
67495
|
search: {
|
|
67464
|
-
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
67496
|
+
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`.',
|
|
67465
67497
|
minLength: 1,
|
|
67466
67498
|
type: 'string',
|
|
67467
67499
|
},
|