@seamapi/types 1.782.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 +7 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -1
- package/dist/index.cjs +7 -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 +4 -0
- package/lib/seam/connect/openapi.js +6 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +6 -2
- package/src/lib/seam/connect/route-types.ts +21 -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;
|
|
@@ -146684,6 +146696,8 @@ type Routes = {
|
|
|
146684
146696
|
device_count: number;
|
|
146685
146697
|
/** Number of entrances in the space. */
|
|
146686
146698
|
acs_entrance_count: number;
|
|
146699
|
+
/** Customer key associated with the space. */
|
|
146700
|
+
customer_key?: string | undefined;
|
|
146687
146701
|
/** */
|
|
146688
146702
|
parent_space_id?: string | undefined;
|
|
146689
146703
|
/** */
|
|
@@ -151000,6 +151014,8 @@ type Routes = {
|
|
|
151000
151014
|
device_count: number;
|
|
151001
151015
|
/** Number of entrances in the space. */
|
|
151002
151016
|
acs_entrance_count: number;
|
|
151017
|
+
/** Customer key associated with the space. */
|
|
151018
|
+
customer_key?: string | undefined;
|
|
151003
151019
|
/** */
|
|
151004
151020
|
parent_space_id?: string | undefined;
|
|
151005
151021
|
/** */
|
|
@@ -202629,6 +202645,8 @@ type Routes = {
|
|
|
202629
202645
|
device_count: number;
|
|
202630
202646
|
/** Number of entrances in the space. */
|
|
202631
202647
|
acs_entrance_count: number;
|
|
202648
|
+
/** Customer key associated with the space. */
|
|
202649
|
+
customer_key?: string | undefined;
|
|
202632
202650
|
/** */
|
|
202633
202651
|
parent_space_id?: string | undefined;
|
|
202634
202652
|
/** */
|
|
@@ -202669,6 +202687,8 @@ type Routes = {
|
|
|
202669
202687
|
device_count: number;
|
|
202670
202688
|
/** Number of entrances in the space. */
|
|
202671
202689
|
acs_entrance_count: number;
|
|
202690
|
+
/** Customer key associated with the space. */
|
|
202691
|
+
customer_key?: string | undefined;
|
|
202672
202692
|
/** */
|
|
202673
202693
|
parent_space_id?: string | undefined;
|
|
202674
202694
|
/** */
|
|
@@ -203690,6 +203710,8 @@ type Routes = {
|
|
|
203690
203710
|
device_count: number;
|
|
203691
203711
|
/** Number of entrances in the space. */
|
|
203692
203712
|
acs_entrance_count: number;
|
|
203713
|
+
/** Customer key associated with the space. */
|
|
203714
|
+
customer_key?: string | undefined;
|
|
203693
203715
|
/** */
|
|
203694
203716
|
parent_space_id?: string | undefined;
|
|
203695
203717
|
/** */
|
|
@@ -203743,6 +203765,8 @@ type Routes = {
|
|
|
203743
203765
|
device_count: number;
|
|
203744
203766
|
/** Number of entrances in the space. */
|
|
203745
203767
|
acs_entrance_count: number;
|
|
203768
|
+
/** Customer key associated with the space. */
|
|
203769
|
+
customer_key?: string | undefined;
|
|
203746
203770
|
/** */
|
|
203747
203771
|
parent_space_id?: string | undefined;
|
|
203748
203772
|
/** */
|
|
@@ -203785,6 +203809,8 @@ type Routes = {
|
|
|
203785
203809
|
device_count: number;
|
|
203786
203810
|
/** Number of entrances in the space. */
|
|
203787
203811
|
acs_entrance_count: number;
|
|
203812
|
+
/** Customer key associated with the space. */
|
|
203813
|
+
customer_key?: string | undefined;
|
|
203788
203814
|
/** */
|
|
203789
203815
|
parent_space_id?: string | undefined;
|
|
203790
203816
|
/** */
|
|
@@ -205621,7 +205647,7 @@ type Routes = {
|
|
|
205621
205647
|
commonParams: {
|
|
205622
205648
|
/** Customer key for which you want to list spaces. */
|
|
205623
205649
|
customer_key?: string | undefined;
|
|
205624
|
-
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
205650
|
+
/** 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
205651
|
search?: string | undefined;
|
|
205626
205652
|
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
205627
205653
|
connected_account_id?: string | undefined;
|
|
@@ -205651,6 +205677,8 @@ type Routes = {
|
|
|
205651
205677
|
device_count: number;
|
|
205652
205678
|
/** Number of entrances in the space. */
|
|
205653
205679
|
acs_entrance_count: number;
|
|
205680
|
+
/** Customer key associated with the space. */
|
|
205681
|
+
customer_key?: string | undefined;
|
|
205654
205682
|
/** */
|
|
205655
205683
|
parent_space_id?: string | undefined;
|
|
205656
205684
|
/** */
|
|
@@ -205737,6 +205765,8 @@ type Routes = {
|
|
|
205737
205765
|
device_count: number;
|
|
205738
205766
|
/** Number of entrances in the space. */
|
|
205739
205767
|
acs_entrance_count: number;
|
|
205768
|
+
/** Customer key associated with the space. */
|
|
205769
|
+
customer_key?: string | undefined;
|
|
205740
205770
|
/** */
|
|
205741
205771
|
parent_space_id?: string | undefined;
|
|
205742
205772
|
/** */
|
|
@@ -230895,6 +230925,8 @@ type Routes = {
|
|
|
230895
230925
|
device_count: number;
|
|
230896
230926
|
/** Number of entrances in the space. */
|
|
230897
230927
|
acs_entrance_count: number;
|
|
230928
|
+
/** Customer key associated with the space. */
|
|
230929
|
+
customer_key?: string | undefined;
|
|
230898
230930
|
/** */
|
|
230899
230931
|
parent_space_id?: string | undefined;
|
|
230900
230932
|
/** */
|
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",
|
|
@@ -74043,7 +74048,7 @@ var openapi_default = {
|
|
|
74043
74048
|
in: "query",
|
|
74044
74049
|
name: "search",
|
|
74045
74050
|
schema: {
|
|
74046
|
-
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
74051
|
+
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
74052
|
minLength: 1,
|
|
74048
74053
|
type: "string"
|
|
74049
74054
|
}
|
|
@@ -74156,7 +74161,7 @@ var openapi_default = {
|
|
|
74156
74161
|
type: "string"
|
|
74157
74162
|
},
|
|
74158
74163
|
search: {
|
|
74159
|
-
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
74164
|
+
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
74165
|
minLength: 1,
|
|
74161
74166
|
type: "string"
|
|
74162
74167
|
},
|