@seamapi/types 1.395.1 → 1.395.2
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 +57 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +578 -502
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +37 -30
- package/lib/seam/connect/models/devices/phone.d.ts +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
- package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
- package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
- package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
- package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
- package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
- package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
- package/lib/seam/connect/models/events/common.d.ts +2 -2
- package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +132 -132
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +35 -8
- package/lib/seam/connect/openapi.js +43 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -102
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +47 -10
- package/src/lib/seam/connect/route-types.ts +617 -505
package/dist/connect.cjs
CHANGED
|
@@ -165,14 +165,16 @@ var thermostat_daily_program_period = zod.z.object({
|
|
|
165
165
|
var thermostat_daily_program = zod.z.object({
|
|
166
166
|
thermostat_daily_program_id: zod.z.string().uuid().describe("ID of the thermostat daily program."),
|
|
167
167
|
device_id: zod.z.string().uuid().describe("ID of the desired thermostat device."),
|
|
168
|
-
name: zod.z.string().
|
|
168
|
+
name: zod.z.string().nullable().describe("User-friendly name to identify the thermostat daily program."),
|
|
169
169
|
periods: zod.z.array(thermostat_daily_program_period).describe("Array of thermostat daily program periods."),
|
|
170
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
171
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program."
|
|
172
|
+
),
|
|
170
173
|
created_at: zod.z.string().datetime().describe(
|
|
171
174
|
"Date and time at which the thermostat daily program was created."
|
|
172
175
|
)
|
|
173
176
|
});
|
|
174
177
|
var thermostat_weekly_program = zod.z.object({
|
|
175
|
-
device_id: zod.z.string().uuid().describe("ID of the thermostat device the weekly program is for."),
|
|
176
178
|
monday_program_id: zod.z.string().uuid().nullable().describe("ID of the thermostat daily program to run on Mondays."),
|
|
177
179
|
tuesday_program_id: zod.z.string().uuid().nullable().describe("ID of the thermostat daily program to run on Tuesdays."),
|
|
178
180
|
wednesday_program_id: zod.z.string().uuid().nullable().describe("ID of the thermostat daily program to run on Wednesdays."),
|
|
@@ -191,7 +193,7 @@ var thermostat_schedule = zod.z.object({
|
|
|
191
193
|
device_id: zod.z.string().uuid().describe(
|
|
192
194
|
"ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device."
|
|
193
195
|
),
|
|
194
|
-
name: zod.z.string().
|
|
196
|
+
name: zod.z.string().nullable().describe(
|
|
195
197
|
"User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules)."
|
|
196
198
|
),
|
|
197
199
|
climate_preset_key: zod.z.string().describe(
|
|
@@ -209,6 +211,9 @@ var thermostat_schedule = zod.z.object({
|
|
|
209
211
|
ends_at: zod.z.string().datetime().describe(
|
|
210
212
|
"Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
211
213
|
),
|
|
214
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
215
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule."
|
|
216
|
+
),
|
|
212
217
|
created_at: zod.z.string().datetime().describe(
|
|
213
218
|
"Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created."
|
|
214
219
|
),
|
|
@@ -262,8 +267,8 @@ var thermostat_capability_properties = zod.z.object({
|
|
|
262
267
|
available_climate_presets: zod.z.array(climate_preset),
|
|
263
268
|
fallback_climate_preset_key: zod.z.string().min(1).nullable().default(null),
|
|
264
269
|
active_thermostat_schedule: thermostat_schedule.nullable().default(null),
|
|
265
|
-
thermostat_daily_programs: zod.z.array(thermostat_daily_program).
|
|
266
|
-
thermostat_weekly_program: thermostat_weekly_program.nullable().
|
|
270
|
+
thermostat_daily_programs: zod.z.array(thermostat_daily_program).optional(),
|
|
271
|
+
thermostat_weekly_program: thermostat_weekly_program.nullable().optional(),
|
|
267
272
|
min_cooling_set_point_celsius: zod.z.number(),
|
|
268
273
|
min_cooling_set_point_fahrenheit: zod.z.number(),
|
|
269
274
|
max_cooling_set_point_celsius: zod.z.number(),
|
|
@@ -12667,6 +12672,7 @@ var openapi_default = {
|
|
|
12667
12672
|
},
|
|
12668
12673
|
name: {
|
|
12669
12674
|
description: "User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
12675
|
+
nullable: true,
|
|
12670
12676
|
type: "string"
|
|
12671
12677
|
},
|
|
12672
12678
|
starts_at: {
|
|
@@ -12678,14 +12684,21 @@ var openapi_default = {
|
|
|
12678
12684
|
description: "ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
12679
12685
|
format: "uuid",
|
|
12680
12686
|
type: "string"
|
|
12687
|
+
},
|
|
12688
|
+
workspace_id: {
|
|
12689
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule.",
|
|
12690
|
+
format: "uuid",
|
|
12691
|
+
type: "string"
|
|
12681
12692
|
}
|
|
12682
12693
|
},
|
|
12683
12694
|
required: [
|
|
12684
12695
|
"thermostat_schedule_id",
|
|
12685
12696
|
"device_id",
|
|
12697
|
+
"name",
|
|
12686
12698
|
"climate_preset_key",
|
|
12687
12699
|
"starts_at",
|
|
12688
12700
|
"ends_at",
|
|
12701
|
+
"workspace_id",
|
|
12689
12702
|
"created_at",
|
|
12690
12703
|
"errors"
|
|
12691
12704
|
],
|
|
@@ -13019,7 +13032,6 @@ var openapi_default = {
|
|
|
13019
13032
|
type: "object"
|
|
13020
13033
|
},
|
|
13021
13034
|
thermostat_daily_programs: {
|
|
13022
|
-
default: null,
|
|
13023
13035
|
items: {
|
|
13024
13036
|
properties: {
|
|
13025
13037
|
created_at: {
|
|
@@ -13034,6 +13046,7 @@ var openapi_default = {
|
|
|
13034
13046
|
},
|
|
13035
13047
|
name: {
|
|
13036
13048
|
description: "User-friendly name to identify the thermostat daily program.",
|
|
13049
|
+
nullable: true,
|
|
13037
13050
|
type: "string"
|
|
13038
13051
|
},
|
|
13039
13052
|
periods: {
|
|
@@ -13062,21 +13075,26 @@ var openapi_default = {
|
|
|
13062
13075
|
description: "ID of the thermostat daily program.",
|
|
13063
13076
|
format: "uuid",
|
|
13064
13077
|
type: "string"
|
|
13078
|
+
},
|
|
13079
|
+
workspace_id: {
|
|
13080
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.",
|
|
13081
|
+
format: "uuid",
|
|
13082
|
+
type: "string"
|
|
13065
13083
|
}
|
|
13066
13084
|
},
|
|
13067
13085
|
required: [
|
|
13068
13086
|
"thermostat_daily_program_id",
|
|
13069
13087
|
"device_id",
|
|
13088
|
+
"name",
|
|
13070
13089
|
"periods",
|
|
13090
|
+
"workspace_id",
|
|
13071
13091
|
"created_at"
|
|
13072
13092
|
],
|
|
13073
13093
|
type: "object"
|
|
13074
13094
|
},
|
|
13075
|
-
nullable: true,
|
|
13076
13095
|
type: "array"
|
|
13077
13096
|
},
|
|
13078
13097
|
thermostat_weekly_program: {
|
|
13079
|
-
default: null,
|
|
13080
13098
|
nullable: true,
|
|
13081
13099
|
properties: {
|
|
13082
13100
|
created_at: {
|
|
@@ -13084,11 +13102,6 @@ var openapi_default = {
|
|
|
13084
13102
|
format: "date-time",
|
|
13085
13103
|
type: "string"
|
|
13086
13104
|
},
|
|
13087
|
-
device_id: {
|
|
13088
|
-
description: "ID of the thermostat device the weekly program is for.",
|
|
13089
|
-
format: "uuid",
|
|
13090
|
-
type: "string"
|
|
13091
|
-
},
|
|
13092
13105
|
friday_program_id: {
|
|
13093
13106
|
description: "ID of the thermostat daily program to run on Fridays.",
|
|
13094
13107
|
format: "uuid",
|
|
@@ -13133,7 +13146,6 @@ var openapi_default = {
|
|
|
13133
13146
|
}
|
|
13134
13147
|
},
|
|
13135
13148
|
required: [
|
|
13136
|
-
"device_id",
|
|
13137
13149
|
"monday_program_id",
|
|
13138
13150
|
"tuesday_program_id",
|
|
13139
13151
|
"wednesday_program_id",
|
|
@@ -18443,6 +18455,7 @@ var openapi_default = {
|
|
|
18443
18455
|
},
|
|
18444
18456
|
name: {
|
|
18445
18457
|
description: "User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
18458
|
+
nullable: true,
|
|
18446
18459
|
type: "string"
|
|
18447
18460
|
},
|
|
18448
18461
|
starts_at: {
|
|
@@ -18454,14 +18467,21 @@ var openapi_default = {
|
|
|
18454
18467
|
description: "ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
18455
18468
|
format: "uuid",
|
|
18456
18469
|
type: "string"
|
|
18470
|
+
},
|
|
18471
|
+
workspace_id: {
|
|
18472
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule.",
|
|
18473
|
+
format: "uuid",
|
|
18474
|
+
type: "string"
|
|
18457
18475
|
}
|
|
18458
18476
|
},
|
|
18459
18477
|
required: [
|
|
18460
18478
|
"thermostat_schedule_id",
|
|
18461
18479
|
"device_id",
|
|
18480
|
+
"name",
|
|
18462
18481
|
"climate_preset_key",
|
|
18463
18482
|
"starts_at",
|
|
18464
18483
|
"ends_at",
|
|
18484
|
+
"workspace_id",
|
|
18465
18485
|
"created_at",
|
|
18466
18486
|
"errors"
|
|
18467
18487
|
],
|
|
@@ -28231,7 +28251,8 @@ var openapi_default = {
|
|
|
28231
28251
|
tags: ["/connected_accounts"],
|
|
28232
28252
|
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
28233
28253
|
"x-fern-sdk-method-name": "delete",
|
|
28234
|
-
"x-response-key": null
|
|
28254
|
+
"x-response-key": null,
|
|
28255
|
+
"x-title": "Delete a Connected Account"
|
|
28235
28256
|
}
|
|
28236
28257
|
},
|
|
28237
28258
|
"/connected_accounts/get": {
|
|
@@ -28291,7 +28312,8 @@ var openapi_default = {
|
|
|
28291
28312
|
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
28292
28313
|
"x-fern-sdk-method-name": "get",
|
|
28293
28314
|
"x-fern-sdk-return-value": "connected_account",
|
|
28294
|
-
"x-response-key": "connected_account"
|
|
28315
|
+
"x-response-key": "connected_account",
|
|
28316
|
+
"x-title": "Get a Connected Account"
|
|
28295
28317
|
}
|
|
28296
28318
|
},
|
|
28297
28319
|
"/connected_accounts/list": {
|
|
@@ -28364,7 +28386,8 @@ var openapi_default = {
|
|
|
28364
28386
|
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
28365
28387
|
"x-fern-sdk-method-name": "list",
|
|
28366
28388
|
"x-fern-sdk-return-value": "connected_accounts",
|
|
28367
|
-
"x-response-key": "connected_accounts"
|
|
28389
|
+
"x-response-key": "connected_accounts",
|
|
28390
|
+
"x-title": "List Connected Accounts"
|
|
28368
28391
|
}
|
|
28369
28392
|
},
|
|
28370
28393
|
"/connected_accounts/update": {
|
|
@@ -28424,7 +28447,8 @@ var openapi_default = {
|
|
|
28424
28447
|
tags: ["/connected_accounts"],
|
|
28425
28448
|
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
28426
28449
|
"x-fern-sdk-method-name": "update",
|
|
28427
|
-
"x-response-key": null
|
|
28450
|
+
"x-response-key": null,
|
|
28451
|
+
"x-title": "Update a Connected Account"
|
|
28428
28452
|
}
|
|
28429
28453
|
},
|
|
28430
28454
|
"/devices/delete": {
|
|
@@ -32602,36 +32626,43 @@ var openapi_default = {
|
|
|
32602
32626
|
friday_program_id: {
|
|
32603
32627
|
description: "ID of the thermostat daily program to run on Fridays.",
|
|
32604
32628
|
format: "uuid",
|
|
32629
|
+
nullable: true,
|
|
32605
32630
|
type: "string"
|
|
32606
32631
|
},
|
|
32607
32632
|
monday_program_id: {
|
|
32608
32633
|
description: "ID of the thermostat daily program to run on Mondays.",
|
|
32609
32634
|
format: "uuid",
|
|
32635
|
+
nullable: true,
|
|
32610
32636
|
type: "string"
|
|
32611
32637
|
},
|
|
32612
32638
|
saturday_program_id: {
|
|
32613
32639
|
description: "ID of the thermostat daily program to run on Saturdays.",
|
|
32614
32640
|
format: "uuid",
|
|
32641
|
+
nullable: true,
|
|
32615
32642
|
type: "string"
|
|
32616
32643
|
},
|
|
32617
32644
|
sunday_program_id: {
|
|
32618
32645
|
description: "ID of the thermostat daily program to run on Sundays.",
|
|
32619
32646
|
format: "uuid",
|
|
32647
|
+
nullable: true,
|
|
32620
32648
|
type: "string"
|
|
32621
32649
|
},
|
|
32622
32650
|
thursday_program_id: {
|
|
32623
32651
|
description: "ID of the thermostat daily program to run on Thursdays.",
|
|
32624
32652
|
format: "uuid",
|
|
32653
|
+
nullable: true,
|
|
32625
32654
|
type: "string"
|
|
32626
32655
|
},
|
|
32627
32656
|
tuesday_program_id: {
|
|
32628
32657
|
description: "ID of the thermostat daily program to run on Tuesdays.",
|
|
32629
32658
|
format: "uuid",
|
|
32659
|
+
nullable: true,
|
|
32630
32660
|
type: "string"
|
|
32631
32661
|
},
|
|
32632
32662
|
wednesday_program_id: {
|
|
32633
32663
|
description: "ID of the thermostat daily program to run on Wednesdays.",
|
|
32634
32664
|
format: "uuid",
|
|
32665
|
+
nullable: true,
|
|
32635
32666
|
type: "string"
|
|
32636
32667
|
}
|
|
32637
32668
|
},
|
|
@@ -32974,6 +33005,7 @@ var openapi_default = {
|
|
|
32974
33005
|
},
|
|
32975
33006
|
name: {
|
|
32976
33007
|
description: "User-friendly name to identify the thermostat daily program.",
|
|
33008
|
+
nullable: true,
|
|
32977
33009
|
type: "string"
|
|
32978
33010
|
},
|
|
32979
33011
|
periods: {
|
|
@@ -32999,12 +33031,19 @@ var openapi_default = {
|
|
|
32999
33031
|
description: "ID of the thermostat daily program.",
|
|
33000
33032
|
format: "uuid",
|
|
33001
33033
|
type: "string"
|
|
33034
|
+
},
|
|
33035
|
+
workspace_id: {
|
|
33036
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.",
|
|
33037
|
+
format: "uuid",
|
|
33038
|
+
type: "string"
|
|
33002
33039
|
}
|
|
33003
33040
|
},
|
|
33004
33041
|
required: [
|
|
33005
33042
|
"thermostat_daily_program_id",
|
|
33006
33043
|
"device_id",
|
|
33044
|
+
"name",
|
|
33007
33045
|
"periods",
|
|
33046
|
+
"workspace_id",
|
|
33008
33047
|
"created_at"
|
|
33009
33048
|
],
|
|
33010
33049
|
type: "object"
|