@seamapi/types 1.656.0 → 1.658.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 +148 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +500 -0
- package/dist/index.cjs +148 -11
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/batch.js +7 -4
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +1 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +187 -0
- package/lib/seam/connect/openapi.js +132 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +287 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/batch.ts +35 -32
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +132 -1
- package/src/lib/seam/connect/route-types.ts +287 -0
package/dist/connect.cjs
CHANGED
|
@@ -1062,7 +1062,8 @@ var device_metadata = zod.z.object({
|
|
|
1062
1062
|
}).partial().describe(`Metadata for a KeyNest device.`),
|
|
1063
1063
|
ultraloq_metadata: zod.z.object({
|
|
1064
1064
|
device_id: zod.z.string().describe(`Device ID for an Ultraloq device.`),
|
|
1065
|
-
device_name: zod.z.string().describe(`Device name for an Ultraloq device.`)
|
|
1065
|
+
device_name: zod.z.string().describe(`Device name for an Ultraloq device.`),
|
|
1066
|
+
device_type: zod.z.string().describe(`Device type for an Ultraloq device.`)
|
|
1066
1067
|
}).describe(`Metadata for an Ultraloq device.`)
|
|
1067
1068
|
}).partial().describe(`
|
|
1068
1069
|
---
|
|
@@ -5619,7 +5620,12 @@ var batch = zod.z.object({
|
|
|
5619
5620
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
5620
5621
|
noise_thresholds: noise_threshold.array().optional(),
|
|
5621
5622
|
customization_profiles: customization_profile.array().optional()
|
|
5622
|
-
}).describe(
|
|
5623
|
+
}).describe(`
|
|
5624
|
+
---
|
|
5625
|
+
route_path: /workspaces
|
|
5626
|
+
---
|
|
5627
|
+
A batch of workspace resources.
|
|
5628
|
+
`);
|
|
5623
5629
|
var bridge = zod.z.object({
|
|
5624
5630
|
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
5625
5631
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -13320,6 +13326,125 @@ var openapi_default = {
|
|
|
13320
13326
|
],
|
|
13321
13327
|
"x-route-path": "/action_attempts"
|
|
13322
13328
|
},
|
|
13329
|
+
batch: {
|
|
13330
|
+
description: "A batch of workspace resources.",
|
|
13331
|
+
properties: {
|
|
13332
|
+
access_codes: {
|
|
13333
|
+
items: { $ref: "#/components/schemas/access_code" },
|
|
13334
|
+
type: "array"
|
|
13335
|
+
},
|
|
13336
|
+
access_grants: {
|
|
13337
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
13338
|
+
type: "array"
|
|
13339
|
+
},
|
|
13340
|
+
access_methods: {
|
|
13341
|
+
items: { $ref: "#/components/schemas/access_method" },
|
|
13342
|
+
type: "array"
|
|
13343
|
+
},
|
|
13344
|
+
acs_access_groups: {
|
|
13345
|
+
items: { $ref: "#/components/schemas/acs_access_group" },
|
|
13346
|
+
type: "array"
|
|
13347
|
+
},
|
|
13348
|
+
acs_credentials: {
|
|
13349
|
+
items: { $ref: "#/components/schemas/acs_credential" },
|
|
13350
|
+
type: "array"
|
|
13351
|
+
},
|
|
13352
|
+
acs_encoders: {
|
|
13353
|
+
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
13354
|
+
type: "array"
|
|
13355
|
+
},
|
|
13356
|
+
acs_entrances: {
|
|
13357
|
+
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
13358
|
+
type: "array"
|
|
13359
|
+
},
|
|
13360
|
+
acs_systems: {
|
|
13361
|
+
items: { $ref: "#/components/schemas/acs_system" },
|
|
13362
|
+
type: "array"
|
|
13363
|
+
},
|
|
13364
|
+
acs_users: {
|
|
13365
|
+
items: { $ref: "#/components/schemas/acs_user" },
|
|
13366
|
+
type: "array"
|
|
13367
|
+
},
|
|
13368
|
+
action_attempts: {
|
|
13369
|
+
items: { $ref: "#/components/schemas/action_attempt" },
|
|
13370
|
+
type: "array"
|
|
13371
|
+
},
|
|
13372
|
+
client_sessions: {
|
|
13373
|
+
items: { $ref: "#/components/schemas/client_session" },
|
|
13374
|
+
type: "array"
|
|
13375
|
+
},
|
|
13376
|
+
connect_webviews: {
|
|
13377
|
+
items: { $ref: "#/components/schemas/connect_webview" },
|
|
13378
|
+
type: "array"
|
|
13379
|
+
},
|
|
13380
|
+
connected_accounts: {
|
|
13381
|
+
items: { $ref: "#/components/schemas/connected_account" },
|
|
13382
|
+
type: "array"
|
|
13383
|
+
},
|
|
13384
|
+
customization_profiles: {
|
|
13385
|
+
items: { $ref: "#/components/schemas/customization_profile" },
|
|
13386
|
+
type: "array"
|
|
13387
|
+
},
|
|
13388
|
+
devices: {
|
|
13389
|
+
items: { $ref: "#/components/schemas/device" },
|
|
13390
|
+
type: "array"
|
|
13391
|
+
},
|
|
13392
|
+
events: {
|
|
13393
|
+
items: { $ref: "#/components/schemas/event" },
|
|
13394
|
+
type: "array"
|
|
13395
|
+
},
|
|
13396
|
+
instant_keys: {
|
|
13397
|
+
items: { $ref: "#/components/schemas/instant_key" },
|
|
13398
|
+
type: "array"
|
|
13399
|
+
},
|
|
13400
|
+
noise_thresholds: {
|
|
13401
|
+
items: { $ref: "#/components/schemas/noise_threshold" },
|
|
13402
|
+
type: "array"
|
|
13403
|
+
},
|
|
13404
|
+
spaces: {
|
|
13405
|
+
items: { $ref: "#/components/schemas/space" },
|
|
13406
|
+
type: "array"
|
|
13407
|
+
},
|
|
13408
|
+
thermostat_daily_programs: {
|
|
13409
|
+
items: { $ref: "#/components/schemas/thermostat_daily_program" },
|
|
13410
|
+
type: "array"
|
|
13411
|
+
},
|
|
13412
|
+
thermostat_schedules: {
|
|
13413
|
+
items: { $ref: "#/components/schemas/thermostat_schedule" },
|
|
13414
|
+
type: "array"
|
|
13415
|
+
},
|
|
13416
|
+
unmanaged_access_codes: {
|
|
13417
|
+
items: { $ref: "#/components/schemas/unmanaged_access_code" },
|
|
13418
|
+
type: "array"
|
|
13419
|
+
},
|
|
13420
|
+
unmanaged_acs_access_groups: {
|
|
13421
|
+
items: { $ref: "#/components/schemas/unmanaged_acs_access_group" },
|
|
13422
|
+
type: "array"
|
|
13423
|
+
},
|
|
13424
|
+
unmanaged_acs_credentials: {
|
|
13425
|
+
items: { $ref: "#/components/schemas/unmanaged_acs_credential" },
|
|
13426
|
+
type: "array"
|
|
13427
|
+
},
|
|
13428
|
+
unmanaged_acs_users: {
|
|
13429
|
+
items: { $ref: "#/components/schemas/unmanaged_acs_user" },
|
|
13430
|
+
type: "array"
|
|
13431
|
+
},
|
|
13432
|
+
unmanaged_devices: {
|
|
13433
|
+
items: { $ref: "#/components/schemas/unmanaged_device" },
|
|
13434
|
+
type: "array"
|
|
13435
|
+
},
|
|
13436
|
+
user_identities: {
|
|
13437
|
+
items: { $ref: "#/components/schemas/user_identity" },
|
|
13438
|
+
type: "array"
|
|
13439
|
+
},
|
|
13440
|
+
workspaces: {
|
|
13441
|
+
items: { $ref: "#/components/schemas/workspace" },
|
|
13442
|
+
type: "array"
|
|
13443
|
+
}
|
|
13444
|
+
},
|
|
13445
|
+
type: "object",
|
|
13446
|
+
"x-route-path": "/workspaces"
|
|
13447
|
+
},
|
|
13323
13448
|
bridge_client_session: {
|
|
13324
13449
|
description: "Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.",
|
|
13325
13450
|
properties: {
|
|
@@ -16147,9 +16272,13 @@ var openapi_default = {
|
|
|
16147
16272
|
device_name: {
|
|
16148
16273
|
description: "Device name for an Ultraloq device.",
|
|
16149
16274
|
type: "string"
|
|
16275
|
+
},
|
|
16276
|
+
device_type: {
|
|
16277
|
+
description: "Device type for an Ultraloq device.",
|
|
16278
|
+
type: "string"
|
|
16150
16279
|
}
|
|
16151
16280
|
},
|
|
16152
|
-
required: ["device_id", "device_name"],
|
|
16281
|
+
required: ["device_id", "device_name", "device_type"],
|
|
16153
16282
|
type: "object"
|
|
16154
16283
|
},
|
|
16155
16284
|
visionline_metadata: {
|
|
@@ -32038,7 +32167,8 @@ var openapi_default = {
|
|
|
32038
32167
|
type: "array"
|
|
32039
32168
|
}
|
|
32040
32169
|
},
|
|
32041
|
-
type: "object"
|
|
32170
|
+
type: "object",
|
|
32171
|
+
"x-route-path": "/workspaces"
|
|
32042
32172
|
},
|
|
32043
32173
|
ok: { type: "boolean" }
|
|
32044
32174
|
},
|
|
@@ -32167,7 +32297,8 @@ var openapi_default = {
|
|
|
32167
32297
|
type: "array"
|
|
32168
32298
|
}
|
|
32169
32299
|
},
|
|
32170
|
-
type: "object"
|
|
32300
|
+
type: "object",
|
|
32301
|
+
"x-route-path": "/workspaces"
|
|
32171
32302
|
},
|
|
32172
32303
|
ok: { type: "boolean" }
|
|
32173
32304
|
},
|
|
@@ -33991,7 +34122,8 @@ var openapi_default = {
|
|
|
33991
34122
|
type: "array"
|
|
33992
34123
|
}
|
|
33993
34124
|
},
|
|
33994
|
-
type: "object"
|
|
34125
|
+
type: "object",
|
|
34126
|
+
"x-route-path": "/workspaces"
|
|
33995
34127
|
},
|
|
33996
34128
|
ok: { type: "boolean" }
|
|
33997
34129
|
},
|
|
@@ -34128,7 +34260,8 @@ var openapi_default = {
|
|
|
34128
34260
|
type: "array"
|
|
34129
34261
|
}
|
|
34130
34262
|
},
|
|
34131
|
-
type: "object"
|
|
34263
|
+
type: "object",
|
|
34264
|
+
"x-route-path": "/workspaces"
|
|
34132
34265
|
},
|
|
34133
34266
|
ok: { type: "boolean" }
|
|
34134
34267
|
},
|
|
@@ -58715,7 +58848,8 @@ var openapi_default = {
|
|
|
58715
58848
|
type: "array"
|
|
58716
58849
|
}
|
|
58717
58850
|
},
|
|
58718
|
-
type: "object"
|
|
58851
|
+
type: "object",
|
|
58852
|
+
"x-route-path": "/workspaces"
|
|
58719
58853
|
},
|
|
58720
58854
|
ok: { type: "boolean" }
|
|
58721
58855
|
},
|
|
@@ -58833,7 +58967,8 @@ var openapi_default = {
|
|
|
58833
58967
|
type: "array"
|
|
58834
58968
|
}
|
|
58835
58969
|
},
|
|
58836
|
-
type: "object"
|
|
58970
|
+
type: "object",
|
|
58971
|
+
"x-route-path": "/workspaces"
|
|
58837
58972
|
},
|
|
58838
58973
|
ok: { type: "boolean" }
|
|
58839
58974
|
},
|
|
@@ -66868,7 +67003,8 @@ var openapi_default = {
|
|
|
66868
67003
|
type: "array"
|
|
66869
67004
|
}
|
|
66870
67005
|
},
|
|
66871
|
-
type: "object"
|
|
67006
|
+
type: "object",
|
|
67007
|
+
"x-route-path": "/workspaces"
|
|
66872
67008
|
},
|
|
66873
67009
|
ok: { type: "boolean" }
|
|
66874
67010
|
},
|
|
@@ -67092,7 +67228,8 @@ var openapi_default = {
|
|
|
67092
67228
|
type: "array"
|
|
67093
67229
|
}
|
|
67094
67230
|
},
|
|
67095
|
-
type: "object"
|
|
67231
|
+
type: "object",
|
|
67232
|
+
"x-route-path": "/workspaces"
|
|
67096
67233
|
},
|
|
67097
67234
|
ok: { type: "boolean" }
|
|
67098
67235
|
},
|