@seamapi/types 1.781.0 → 1.783.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 +41 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +95 -1
- package/dist/index.cjs +41 -4
- 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 +53 -0
- package/lib/seam/connect/openapi.js +40 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +43 -4
- package/src/lib/seam/connect/route-types.ts +34 -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;
|
|
@@ -62408,6 +62412,8 @@ declare const _default: {
|
|
|
62408
62412
|
format?: never;
|
|
62409
62413
|
'x-draft'?: never;
|
|
62410
62414
|
'x-undocumented'?: never;
|
|
62415
|
+
default?: never;
|
|
62416
|
+
nullable?: never;
|
|
62411
62417
|
};
|
|
62412
62418
|
} | {
|
|
62413
62419
|
in: string;
|
|
@@ -62419,6 +62425,8 @@ declare const _default: {
|
|
|
62419
62425
|
format?: never;
|
|
62420
62426
|
'x-draft'?: never;
|
|
62421
62427
|
'x-undocumented'?: never;
|
|
62428
|
+
default?: never;
|
|
62429
|
+
nullable?: never;
|
|
62422
62430
|
};
|
|
62423
62431
|
} | {
|
|
62424
62432
|
in: string;
|
|
@@ -62430,6 +62438,34 @@ declare const _default: {
|
|
|
62430
62438
|
'x-draft': string;
|
|
62431
62439
|
'x-undocumented': string;
|
|
62432
62440
|
minLength?: never;
|
|
62441
|
+
default?: never;
|
|
62442
|
+
nullable?: never;
|
|
62443
|
+
};
|
|
62444
|
+
} | {
|
|
62445
|
+
in: string;
|
|
62446
|
+
name: string;
|
|
62447
|
+
schema: {
|
|
62448
|
+
default: number;
|
|
62449
|
+
description: string;
|
|
62450
|
+
format: string;
|
|
62451
|
+
type: string;
|
|
62452
|
+
minLength?: never;
|
|
62453
|
+
'x-draft'?: never;
|
|
62454
|
+
'x-undocumented'?: never;
|
|
62455
|
+
nullable?: never;
|
|
62456
|
+
};
|
|
62457
|
+
} | {
|
|
62458
|
+
in: string;
|
|
62459
|
+
name: string;
|
|
62460
|
+
schema: {
|
|
62461
|
+
description: string;
|
|
62462
|
+
nullable: boolean;
|
|
62463
|
+
type: string;
|
|
62464
|
+
minLength?: never;
|
|
62465
|
+
format?: never;
|
|
62466
|
+
'x-draft'?: never;
|
|
62467
|
+
'x-undocumented'?: never;
|
|
62468
|
+
default?: never;
|
|
62433
62469
|
};
|
|
62434
62470
|
})[];
|
|
62435
62471
|
responses: {
|
|
@@ -62441,6 +62477,9 @@ declare const _default: {
|
|
|
62441
62477
|
ok: {
|
|
62442
62478
|
type: string;
|
|
62443
62479
|
};
|
|
62480
|
+
pagination: {
|
|
62481
|
+
$ref: string;
|
|
62482
|
+
};
|
|
62444
62483
|
spaces: {
|
|
62445
62484
|
items: {
|
|
62446
62485
|
$ref: string;
|
|
@@ -62511,6 +62550,17 @@ declare const _default: {
|
|
|
62511
62550
|
description: string;
|
|
62512
62551
|
type: string;
|
|
62513
62552
|
};
|
|
62553
|
+
limit: {
|
|
62554
|
+
default: number;
|
|
62555
|
+
description: string;
|
|
62556
|
+
format: string;
|
|
62557
|
+
type: string;
|
|
62558
|
+
};
|
|
62559
|
+
page_cursor: {
|
|
62560
|
+
description: string;
|
|
62561
|
+
nullable: boolean;
|
|
62562
|
+
type: string;
|
|
62563
|
+
};
|
|
62514
62564
|
search: {
|
|
62515
62565
|
description: string;
|
|
62516
62566
|
minLength: number;
|
|
@@ -62535,6 +62585,9 @@ declare const _default: {
|
|
|
62535
62585
|
ok: {
|
|
62536
62586
|
type: string;
|
|
62537
62587
|
};
|
|
62588
|
+
pagination: {
|
|
62589
|
+
$ref: string;
|
|
62590
|
+
};
|
|
62538
62591
|
spaces: {
|
|
62539
62592
|
items: {
|
|
62540
62593
|
$ref: 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',
|
|
@@ -67348,7 +67352,7 @@ export default {
|
|
|
67348
67352
|
in: 'query',
|
|
67349
67353
|
name: 'search',
|
|
67350
67354
|
schema: {
|
|
67351
|
-
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
67355
|
+
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
67356
|
minLength: 1,
|
|
67353
67357
|
type: 'string',
|
|
67354
67358
|
},
|
|
@@ -67372,6 +67376,25 @@ export default {
|
|
|
67372
67376
|
type: 'string',
|
|
67373
67377
|
},
|
|
67374
67378
|
},
|
|
67379
|
+
{
|
|
67380
|
+
in: 'query',
|
|
67381
|
+
name: 'limit',
|
|
67382
|
+
schema: {
|
|
67383
|
+
default: 500,
|
|
67384
|
+
description: 'Maximum number of records to return per page.',
|
|
67385
|
+
format: 'float',
|
|
67386
|
+
type: 'number',
|
|
67387
|
+
},
|
|
67388
|
+
},
|
|
67389
|
+
{
|
|
67390
|
+
in: 'query',
|
|
67391
|
+
name: 'page_cursor',
|
|
67392
|
+
schema: {
|
|
67393
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
67394
|
+
nullable: true,
|
|
67395
|
+
type: 'string',
|
|
67396
|
+
},
|
|
67397
|
+
},
|
|
67375
67398
|
],
|
|
67376
67399
|
responses: {
|
|
67377
67400
|
200: {
|
|
@@ -67380,12 +67403,13 @@ export default {
|
|
|
67380
67403
|
schema: {
|
|
67381
67404
|
properties: {
|
|
67382
67405
|
ok: { type: 'boolean' },
|
|
67406
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
67383
67407
|
spaces: {
|
|
67384
67408
|
items: { $ref: '#/components/schemas/space' },
|
|
67385
67409
|
type: 'array',
|
|
67386
67410
|
},
|
|
67387
67411
|
},
|
|
67388
|
-
required: ['spaces', 'ok'],
|
|
67412
|
+
required: ['spaces', 'pagination', 'ok'],
|
|
67389
67413
|
type: 'object',
|
|
67390
67414
|
},
|
|
67391
67415
|
},
|
|
@@ -67429,8 +67453,19 @@ export default {
|
|
|
67429
67453
|
description: 'Customer key for which you want to list spaces.',
|
|
67430
67454
|
type: 'string',
|
|
67431
67455
|
},
|
|
67456
|
+
limit: {
|
|
67457
|
+
default: 500,
|
|
67458
|
+
description: 'Maximum number of records to return per page.',
|
|
67459
|
+
format: 'float',
|
|
67460
|
+
type: 'number',
|
|
67461
|
+
},
|
|
67462
|
+
page_cursor: {
|
|
67463
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
67464
|
+
nullable: true,
|
|
67465
|
+
type: 'string',
|
|
67466
|
+
},
|
|
67432
67467
|
search: {
|
|
67433
|
-
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
67468
|
+
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`.',
|
|
67434
67469
|
minLength: 1,
|
|
67435
67470
|
type: 'string',
|
|
67436
67471
|
},
|
|
@@ -67451,12 +67486,13 @@ export default {
|
|
|
67451
67486
|
schema: {
|
|
67452
67487
|
properties: {
|
|
67453
67488
|
ok: { type: 'boolean' },
|
|
67489
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
67454
67490
|
spaces: {
|
|
67455
67491
|
items: { $ref: '#/components/schemas/space' },
|
|
67456
67492
|
type: 'array',
|
|
67457
67493
|
},
|
|
67458
67494
|
},
|
|
67459
|
-
required: ['spaces', 'ok'],
|
|
67495
|
+
required: ['spaces', 'pagination', 'ok'],
|
|
67460
67496
|
type: 'object',
|
|
67461
67497
|
},
|
|
67462
67498
|
},
|