@seamapi/types 1.422.1 → 1.423.1
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 +18 -175
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +78 -233
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +9 -4
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +8 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +6 -3
- package/lib/seam/connect/openapi.d.ts +10 -212
- package/lib/seam/connect/openapi.js +9 -173
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -15
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +9 -4
- package/src/lib/seam/connect/openapi.ts +11 -190
- package/src/lib/seam/connect/route-types.ts +54 -15
package/dist/connect.cjs
CHANGED
|
@@ -373,18 +373,25 @@ var thermostat_capability_properties = zod.z.object({
|
|
|
373
373
|
---
|
|
374
374
|
Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.
|
|
375
375
|
`),
|
|
376
|
-
fallback_climate_preset_key: zod.z.string().min(1).nullable().
|
|
376
|
+
fallback_climate_preset_key: zod.z.string().min(1).nullable().describe(`
|
|
377
377
|
---
|
|
378
378
|
property_group_key: thermostats
|
|
379
379
|
---
|
|
380
380
|
Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.
|
|
381
381
|
`),
|
|
382
|
-
active_thermostat_schedule: thermostat_schedule.nullable().
|
|
382
|
+
active_thermostat_schedule: thermostat_schedule.nullable().describe(`
|
|
383
383
|
---
|
|
384
384
|
property_group_key: thermostats
|
|
385
|
+
deprecated: Use \`active_thermostat_schedule_id\` with \`/thermostats/schedules/get\` instead.
|
|
385
386
|
---
|
|
386
387
|
Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
387
388
|
`),
|
|
389
|
+
active_thermostat_schedule_id: zod.z.string().uuid().nullable().describe(`
|
|
390
|
+
---
|
|
391
|
+
property_group_key: thermostats
|
|
392
|
+
---
|
|
393
|
+
ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
394
|
+
`),
|
|
388
395
|
thermostat_daily_programs: zod.z.array(thermostat_daily_program).optional().describe(`
|
|
389
396
|
---
|
|
390
397
|
property_group_key: thermostats
|
|
@@ -15698,7 +15705,7 @@ var openapi_default = {
|
|
|
15698
15705
|
{
|
|
15699
15706
|
properties: {
|
|
15700
15707
|
active_thermostat_schedule: {
|
|
15701
|
-
|
|
15708
|
+
deprecated: true,
|
|
15702
15709
|
description: "Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
15703
15710
|
nullable: true,
|
|
15704
15711
|
properties: {
|
|
@@ -15783,9 +15790,17 @@ var openapi_default = {
|
|
|
15783
15790
|
"errors"
|
|
15784
15791
|
],
|
|
15785
15792
|
type: "object",
|
|
15793
|
+
"x-deprecated": "Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead.",
|
|
15786
15794
|
"x-property-group-key": "thermostats",
|
|
15787
15795
|
"x-route-path": "/thermostats/schedules"
|
|
15788
15796
|
},
|
|
15797
|
+
active_thermostat_schedule_id: {
|
|
15798
|
+
description: "ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
15799
|
+
format: "uuid",
|
|
15800
|
+
nullable: true,
|
|
15801
|
+
type: "string",
|
|
15802
|
+
"x-property-group-key": "thermostats"
|
|
15803
|
+
},
|
|
15789
15804
|
available_climate_presets: {
|
|
15790
15805
|
description: "Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.",
|
|
15791
15806
|
items: {
|
|
@@ -16024,7 +16039,6 @@ var openapi_default = {
|
|
|
16024
16039
|
"x-property-group-key": "thermostats"
|
|
16025
16040
|
},
|
|
16026
16041
|
fallback_climate_preset_key: {
|
|
16027
|
-
default: null,
|
|
16028
16042
|
description: "Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.",
|
|
16029
16043
|
minLength: 1,
|
|
16030
16044
|
nullable: true,
|
|
@@ -40535,55 +40549,6 @@ var openapi_default = {
|
|
|
40535
40549
|
}
|
|
40536
40550
|
},
|
|
40537
40551
|
"/devices/simulate/remove": {
|
|
40538
|
-
delete: {
|
|
40539
|
-
description: "Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).",
|
|
40540
|
-
operationId: "devicesSimulateRemoveDelete",
|
|
40541
|
-
requestBody: {
|
|
40542
|
-
content: {
|
|
40543
|
-
"application/json": {
|
|
40544
|
-
schema: {
|
|
40545
|
-
properties: {
|
|
40546
|
-
device_id: {
|
|
40547
|
-
description: "ID of the device that you want to simulate removing from Seam.",
|
|
40548
|
-
format: "uuid",
|
|
40549
|
-
type: "string"
|
|
40550
|
-
}
|
|
40551
|
-
},
|
|
40552
|
-
required: ["device_id"],
|
|
40553
|
-
type: "object"
|
|
40554
|
-
}
|
|
40555
|
-
}
|
|
40556
|
-
}
|
|
40557
|
-
},
|
|
40558
|
-
responses: {
|
|
40559
|
-
200: {
|
|
40560
|
-
content: {
|
|
40561
|
-
"application/json": {
|
|
40562
|
-
schema: {
|
|
40563
|
-
properties: { ok: { type: "boolean" } },
|
|
40564
|
-
required: ["ok"],
|
|
40565
|
-
type: "object"
|
|
40566
|
-
}
|
|
40567
|
-
}
|
|
40568
|
-
},
|
|
40569
|
-
description: "OK"
|
|
40570
|
-
},
|
|
40571
|
-
400: { description: "Bad Request" },
|
|
40572
|
-
401: { description: "Unauthorized" }
|
|
40573
|
-
},
|
|
40574
|
-
security: [
|
|
40575
|
-
{ api_key: [] },
|
|
40576
|
-
{ pat_with_workspace: [] },
|
|
40577
|
-
{ console_session_with_workspace: [] },
|
|
40578
|
-
{ client_session_with_customer: [] }
|
|
40579
|
-
],
|
|
40580
|
-
summary: "/devices/simulate/remove",
|
|
40581
|
-
tags: ["/devices"],
|
|
40582
|
-
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
40583
|
-
"x-fern-sdk-method-name": "remove",
|
|
40584
|
-
"x-response-key": null,
|
|
40585
|
-
"x-title": "Simulate Device Removal"
|
|
40586
|
-
},
|
|
40587
40552
|
post: {
|
|
40588
40553
|
description: "Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).",
|
|
40589
40554
|
operationId: "devicesSimulateRemovePost",
|
|
@@ -45223,128 +45188,6 @@ var openapi_default = {
|
|
|
45223
45188
|
}
|
|
45224
45189
|
},
|
|
45225
45190
|
"/phones/simulate/create_sandbox_phone": {
|
|
45226
|
-
get: {
|
|
45227
|
-
description: "Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Creating a Simulated Phone for a User Identity](https://docs.seam.co/latest/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).",
|
|
45228
|
-
operationId: "phonesSimulateCreateSandboxPhoneGet",
|
|
45229
|
-
requestBody: {
|
|
45230
|
-
content: {
|
|
45231
|
-
"application/json": {
|
|
45232
|
-
schema: {
|
|
45233
|
-
properties: {
|
|
45234
|
-
assa_abloy_metadata: {
|
|
45235
|
-
default: {},
|
|
45236
|
-
description: "ASSA ABLOY metadata that you want to associate with the simulated phone.",
|
|
45237
|
-
properties: {
|
|
45238
|
-
application_version: {
|
|
45239
|
-
default: "1.0.0",
|
|
45240
|
-
description: "Application version that you want to use for the simulated phone.",
|
|
45241
|
-
type: "string"
|
|
45242
|
-
},
|
|
45243
|
-
ble_capability: {
|
|
45244
|
-
default: true,
|
|
45245
|
-
description: "Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.",
|
|
45246
|
-
type: "boolean"
|
|
45247
|
-
},
|
|
45248
|
-
hce_capability: {
|
|
45249
|
-
default: false,
|
|
45250
|
-
description: "Indicates whether the simulated phone should have host card emulation (HCE) capability.",
|
|
45251
|
-
type: "boolean"
|
|
45252
|
-
},
|
|
45253
|
-
nfc_capability: {
|
|
45254
|
-
default: false,
|
|
45255
|
-
description: "Indicates whether the simulated phone should have near-field communication (NFC) capability.",
|
|
45256
|
-
type: "boolean"
|
|
45257
|
-
},
|
|
45258
|
-
seos_applet_version: {
|
|
45259
|
-
default: "1.0.0",
|
|
45260
|
-
description: "SEOS applet version that you want to use for the simulated phone.",
|
|
45261
|
-
type: "string"
|
|
45262
|
-
},
|
|
45263
|
-
seos_tsm_endpoint_id: {
|
|
45264
|
-
default: 1,
|
|
45265
|
-
description: "ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.",
|
|
45266
|
-
format: "float",
|
|
45267
|
-
type: "number"
|
|
45268
|
-
}
|
|
45269
|
-
},
|
|
45270
|
-
type: "object"
|
|
45271
|
-
},
|
|
45272
|
-
custom_sdk_installation_id: {
|
|
45273
|
-
description: "ID of the custom SDK installation that you want to use for the simulated phone.",
|
|
45274
|
-
type: "string"
|
|
45275
|
-
},
|
|
45276
|
-
phone_metadata: {
|
|
45277
|
-
default: {},
|
|
45278
|
-
description: "Metadata that you want to associate with the simulated phone.",
|
|
45279
|
-
properties: {
|
|
45280
|
-
device_manufacturer: {
|
|
45281
|
-
default: "Samsung",
|
|
45282
|
-
description: "Manufacturer that you want to use for the simulated phone.",
|
|
45283
|
-
type: "string"
|
|
45284
|
-
},
|
|
45285
|
-
device_model: {
|
|
45286
|
-
default: "Samsung Galaxy S10",
|
|
45287
|
-
description: "Device model that you want to use for the simulated phone.",
|
|
45288
|
-
type: "string"
|
|
45289
|
-
},
|
|
45290
|
-
operating_system: {
|
|
45291
|
-
default: "android",
|
|
45292
|
-
description: "Mobile operating system that you want to use for the simulated phone.",
|
|
45293
|
-
enum: ["android", "ios"],
|
|
45294
|
-
type: "string"
|
|
45295
|
-
},
|
|
45296
|
-
os_version: {
|
|
45297
|
-
default: "10",
|
|
45298
|
-
description: "Mobile operating system version that you want to use for the simulated phone.",
|
|
45299
|
-
type: "string"
|
|
45300
|
-
}
|
|
45301
|
-
},
|
|
45302
|
-
type: "object"
|
|
45303
|
-
},
|
|
45304
|
-
user_identity_id: {
|
|
45305
|
-
description: "ID of the user identity that you want to associate with the simulated phone.",
|
|
45306
|
-
format: "uuid",
|
|
45307
|
-
type: "string"
|
|
45308
|
-
}
|
|
45309
|
-
},
|
|
45310
|
-
required: ["user_identity_id"],
|
|
45311
|
-
type: "object"
|
|
45312
|
-
}
|
|
45313
|
-
}
|
|
45314
|
-
}
|
|
45315
|
-
},
|
|
45316
|
-
responses: {
|
|
45317
|
-
200: {
|
|
45318
|
-
content: {
|
|
45319
|
-
"application/json": {
|
|
45320
|
-
schema: {
|
|
45321
|
-
properties: {
|
|
45322
|
-
ok: { type: "boolean" },
|
|
45323
|
-
phone: { $ref: "#/components/schemas/phone" }
|
|
45324
|
-
},
|
|
45325
|
-
required: ["phone", "ok"],
|
|
45326
|
-
type: "object"
|
|
45327
|
-
}
|
|
45328
|
-
}
|
|
45329
|
-
},
|
|
45330
|
-
description: "OK"
|
|
45331
|
-
},
|
|
45332
|
-
400: { description: "Bad Request" },
|
|
45333
|
-
401: { description: "Unauthorized" }
|
|
45334
|
-
},
|
|
45335
|
-
security: [
|
|
45336
|
-
{ api_key: [] },
|
|
45337
|
-
{ pat_with_workspace: [] },
|
|
45338
|
-
{ console_session_with_workspace: [] }
|
|
45339
|
-
],
|
|
45340
|
-
summary: "/phones/simulate/create_sandbox_phone",
|
|
45341
|
-
tags: ["/phones"],
|
|
45342
|
-
"x-fern-sdk-group-name": ["phones", "simulate"],
|
|
45343
|
-
"x-fern-sdk-method-name": "create_sandbox_phone",
|
|
45344
|
-
"x-fern-sdk-return-value": "phone",
|
|
45345
|
-
"x-response-key": "phone",
|
|
45346
|
-
"x-title": "Create a Sandbox Phone"
|
|
45347
|
-
},
|
|
45348
45191
|
post: {
|
|
45349
45192
|
description: "Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Creating a Simulated Phone for a User Identity](https://docs.seam.co/latest/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).",
|
|
45350
45193
|
operationId: "phonesSimulateCreateSandboxPhonePost",
|