@seamapi/types 1.499.0 → 1.501.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 +71 -133
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +140 -183
- package/dist/index.cjs +71 -133
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/batch.d.ts +98 -12
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
- package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
- package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
- package/lib/seam/connect/models/customization-profiles/index.js +2 -0
- package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
- package/lib/seam/connect/models/index.d.ts +1 -1
- package/lib/seam/connect/models/index.js +1 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +65 -170
- package/lib/seam/connect/openapi.js +51 -115
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +51 -115
- package/src/lib/seam/connect/route-types.ts +22 -0
- package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
- /package/src/lib/seam/connect/models/{customization_profiles/customization_profile.ts → customization-profiles/customization-profile.ts} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -4020,6 +4020,22 @@ var connect_webview = zod.z.object({
|
|
|
4020
4020
|
|
|
4021
4021
|
To list all providers within a category, use \`/devices/list_device_providers\` with the desired \`provider_category\` filter. To list all provider keys, use \`/devices/list_device_providers\` with no filters.
|
|
4022
4022
|
`);
|
|
4023
|
+
var customization_profile = zod.z.object({
|
|
4024
|
+
workspace_id: zod.z.string().uuid(),
|
|
4025
|
+
name: zod.z.string().nullable(),
|
|
4026
|
+
customization_profile_id: zod.z.string().uuid(),
|
|
4027
|
+
created_at: zod.z.string().datetime(),
|
|
4028
|
+
logo_url: zod.z.string().url().optional(),
|
|
4029
|
+
primary_color: zod.z.string().optional(),
|
|
4030
|
+
secondary_color: zod.z.string().optional()
|
|
4031
|
+
}).describe(`
|
|
4032
|
+
---
|
|
4033
|
+
title: Customization Profile
|
|
4034
|
+
undocumented: Unreleased.
|
|
4035
|
+
route_path: /workspaces/customization_profiles
|
|
4036
|
+
---
|
|
4037
|
+
A customization profile.
|
|
4038
|
+
`);
|
|
4023
4039
|
var common_event = zod.z.object({
|
|
4024
4040
|
event_id: zod.z.string().uuid().describe("ID of the event."),
|
|
4025
4041
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -5364,7 +5380,8 @@ zod.z.object({
|
|
|
5364
5380
|
unmanaged_access_codes: unmanaged_access_code.array().optional(),
|
|
5365
5381
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
5366
5382
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
5367
|
-
noise_thresholds: noise_threshold.array().optional()
|
|
5383
|
+
noise_thresholds: noise_threshold.array().optional(),
|
|
5384
|
+
customization_profiles: customization_profile.array().optional()
|
|
5368
5385
|
}).describe("A batch of workspace resources.");
|
|
5369
5386
|
var batch = zod.z.object({
|
|
5370
5387
|
batch_type: zod.z.enum([
|
|
@@ -5398,7 +5415,8 @@ var batch = zod.z.object({
|
|
|
5398
5415
|
unmanaged_access_codes: unmanaged_access_code.array().optional(),
|
|
5399
5416
|
thermostat_daily_programs: thermostat_daily_program.array().optional(),
|
|
5400
5417
|
thermostat_schedules: thermostat_schedule.array().optional(),
|
|
5401
|
-
noise_thresholds: noise_threshold.array().optional()
|
|
5418
|
+
noise_thresholds: noise_threshold.array().optional(),
|
|
5419
|
+
customization_profiles: customization_profile.array().optional()
|
|
5402
5420
|
}).describe("A batch of workspace resources.");
|
|
5403
5421
|
var bridge = zod.z.object({
|
|
5404
5422
|
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
@@ -5477,22 +5495,6 @@ var bridge_client_session = zod.z.object({
|
|
|
5477
5495
|
---
|
|
5478
5496
|
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
5479
5497
|
`);
|
|
5480
|
-
var customization_profile = zod.z.object({
|
|
5481
|
-
workspace_id: zod.z.string().uuid(),
|
|
5482
|
-
name: zod.z.string().nullable(),
|
|
5483
|
-
customization_profile_id: zod.z.string().uuid(),
|
|
5484
|
-
created_at: zod.z.string().datetime(),
|
|
5485
|
-
logo_url: zod.z.string().url().optional(),
|
|
5486
|
-
primary_color: zod.z.string().optional(),
|
|
5487
|
-
secondary_color: zod.z.string().optional()
|
|
5488
|
-
}).describe(`
|
|
5489
|
-
---
|
|
5490
|
-
title: Customization Profile
|
|
5491
|
-
undocumented: Unreleased.
|
|
5492
|
-
route_path: /workspaces/customization_profiles
|
|
5493
|
-
---
|
|
5494
|
-
A customization profile.
|
|
5495
|
-
`);
|
|
5496
5498
|
var pagination = zod.z.object({
|
|
5497
5499
|
next_page_cursor: zod.z.string().base64().nullable().describe(
|
|
5498
5500
|
"Opaque value that can be used to select the next page of results via the `page_cursor` parameter."
|
|
@@ -13670,6 +13672,28 @@ var openapi_default = {
|
|
|
13670
13672
|
type: "object",
|
|
13671
13673
|
"x-route-path": "/connected_accounts"
|
|
13672
13674
|
},
|
|
13675
|
+
customization_profile: {
|
|
13676
|
+
description: "A customization profile.",
|
|
13677
|
+
properties: {
|
|
13678
|
+
created_at: { format: "date-time", type: "string" },
|
|
13679
|
+
customization_profile_id: { format: "uuid", type: "string" },
|
|
13680
|
+
logo_url: { format: "uri", type: "string" },
|
|
13681
|
+
name: { nullable: true, type: "string" },
|
|
13682
|
+
primary_color: { type: "string" },
|
|
13683
|
+
secondary_color: { type: "string" },
|
|
13684
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
13685
|
+
},
|
|
13686
|
+
required: [
|
|
13687
|
+
"workspace_id",
|
|
13688
|
+
"name",
|
|
13689
|
+
"customization_profile_id",
|
|
13690
|
+
"created_at"
|
|
13691
|
+
],
|
|
13692
|
+
type: "object",
|
|
13693
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
13694
|
+
"x-title": "Customization Profile",
|
|
13695
|
+
"x-undocumented": "Unreleased."
|
|
13696
|
+
},
|
|
13673
13697
|
device: {
|
|
13674
13698
|
description: "Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam.",
|
|
13675
13699
|
properties: {
|
|
@@ -31930,6 +31954,12 @@ var openapi_default = {
|
|
|
31930
31954
|
},
|
|
31931
31955
|
type: "array"
|
|
31932
31956
|
},
|
|
31957
|
+
customization_profiles: {
|
|
31958
|
+
items: {
|
|
31959
|
+
$ref: "#/components/schemas/customization_profile"
|
|
31960
|
+
},
|
|
31961
|
+
type: "array"
|
|
31962
|
+
},
|
|
31933
31963
|
devices: {
|
|
31934
31964
|
items: { $ref: "#/components/schemas/device" },
|
|
31935
31965
|
type: "array"
|
|
@@ -32143,6 +32173,12 @@ var openapi_default = {
|
|
|
32143
32173
|
},
|
|
32144
32174
|
type: "array"
|
|
32145
32175
|
},
|
|
32176
|
+
customization_profiles: {
|
|
32177
|
+
items: {
|
|
32178
|
+
$ref: "#/components/schemas/customization_profile"
|
|
32179
|
+
},
|
|
32180
|
+
type: "array"
|
|
32181
|
+
},
|
|
32146
32182
|
devices: {
|
|
32147
32183
|
items: { $ref: "#/components/schemas/device" },
|
|
32148
32184
|
type: "array"
|
|
@@ -57611,29 +57647,7 @@ var openapi_default = {
|
|
|
57611
57647
|
schema: {
|
|
57612
57648
|
properties: {
|
|
57613
57649
|
customization_profile: {
|
|
57614
|
-
|
|
57615
|
-
properties: {
|
|
57616
|
-
created_at: { format: "date-time", type: "string" },
|
|
57617
|
-
customization_profile_id: {
|
|
57618
|
-
format: "uuid",
|
|
57619
|
-
type: "string"
|
|
57620
|
-
},
|
|
57621
|
-
logo_url: { format: "uri", type: "string" },
|
|
57622
|
-
name: { nullable: true, type: "string" },
|
|
57623
|
-
primary_color: { type: "string" },
|
|
57624
|
-
secondary_color: { type: "string" },
|
|
57625
|
-
workspace_id: { format: "uuid", type: "string" }
|
|
57626
|
-
},
|
|
57627
|
-
required: [
|
|
57628
|
-
"workspace_id",
|
|
57629
|
-
"name",
|
|
57630
|
-
"customization_profile_id",
|
|
57631
|
-
"created_at"
|
|
57632
|
-
],
|
|
57633
|
-
type: "object",
|
|
57634
|
-
"x-route-path": "/workspaces/customization_profiles",
|
|
57635
|
-
"x-title": "Customization Profile",
|
|
57636
|
-
"x-undocumented": "Unreleased."
|
|
57650
|
+
$ref: "#/components/schemas/customization_profile"
|
|
57637
57651
|
},
|
|
57638
57652
|
ok: { type: "boolean" }
|
|
57639
57653
|
},
|
|
@@ -57682,29 +57696,7 @@ var openapi_default = {
|
|
|
57682
57696
|
schema: {
|
|
57683
57697
|
properties: {
|
|
57684
57698
|
customization_profile: {
|
|
57685
|
-
|
|
57686
|
-
properties: {
|
|
57687
|
-
created_at: { format: "date-time", type: "string" },
|
|
57688
|
-
customization_profile_id: {
|
|
57689
|
-
format: "uuid",
|
|
57690
|
-
type: "string"
|
|
57691
|
-
},
|
|
57692
|
-
logo_url: { format: "uri", type: "string" },
|
|
57693
|
-
name: { nullable: true, type: "string" },
|
|
57694
|
-
primary_color: { type: "string" },
|
|
57695
|
-
secondary_color: { type: "string" },
|
|
57696
|
-
workspace_id: { format: "uuid", type: "string" }
|
|
57697
|
-
},
|
|
57698
|
-
required: [
|
|
57699
|
-
"workspace_id",
|
|
57700
|
-
"name",
|
|
57701
|
-
"customization_profile_id",
|
|
57702
|
-
"created_at"
|
|
57703
|
-
],
|
|
57704
|
-
type: "object",
|
|
57705
|
-
"x-route-path": "/workspaces/customization_profiles",
|
|
57706
|
-
"x-title": "Customization Profile",
|
|
57707
|
-
"x-undocumented": "Unreleased."
|
|
57699
|
+
$ref: "#/components/schemas/customization_profile"
|
|
57708
57700
|
},
|
|
57709
57701
|
ok: { type: "boolean" }
|
|
57710
57702
|
},
|
|
@@ -57756,29 +57748,7 @@ var openapi_default = {
|
|
|
57756
57748
|
schema: {
|
|
57757
57749
|
properties: {
|
|
57758
57750
|
customization_profile: {
|
|
57759
|
-
|
|
57760
|
-
properties: {
|
|
57761
|
-
created_at: { format: "date-time", type: "string" },
|
|
57762
|
-
customization_profile_id: {
|
|
57763
|
-
format: "uuid",
|
|
57764
|
-
type: "string"
|
|
57765
|
-
},
|
|
57766
|
-
logo_url: { format: "uri", type: "string" },
|
|
57767
|
-
name: { nullable: true, type: "string" },
|
|
57768
|
-
primary_color: { type: "string" },
|
|
57769
|
-
secondary_color: { type: "string" },
|
|
57770
|
-
workspace_id: { format: "uuid", type: "string" }
|
|
57771
|
-
},
|
|
57772
|
-
required: [
|
|
57773
|
-
"workspace_id",
|
|
57774
|
-
"name",
|
|
57775
|
-
"customization_profile_id",
|
|
57776
|
-
"created_at"
|
|
57777
|
-
],
|
|
57778
|
-
type: "object",
|
|
57779
|
-
"x-route-path": "/workspaces/customization_profiles",
|
|
57780
|
-
"x-title": "Customization Profile",
|
|
57781
|
-
"x-undocumented": "Unreleased."
|
|
57751
|
+
$ref: "#/components/schemas/customization_profile"
|
|
57782
57752
|
},
|
|
57783
57753
|
ok: { type: "boolean" }
|
|
57784
57754
|
},
|
|
@@ -57820,29 +57790,7 @@ var openapi_default = {
|
|
|
57820
57790
|
properties: {
|
|
57821
57791
|
customization_profiles: {
|
|
57822
57792
|
items: {
|
|
57823
|
-
|
|
57824
|
-
properties: {
|
|
57825
|
-
created_at: { format: "date-time", type: "string" },
|
|
57826
|
-
customization_profile_id: {
|
|
57827
|
-
format: "uuid",
|
|
57828
|
-
type: "string"
|
|
57829
|
-
},
|
|
57830
|
-
logo_url: { format: "uri", type: "string" },
|
|
57831
|
-
name: { nullable: true, type: "string" },
|
|
57832
|
-
primary_color: { type: "string" },
|
|
57833
|
-
secondary_color: { type: "string" },
|
|
57834
|
-
workspace_id: { format: "uuid", type: "string" }
|
|
57835
|
-
},
|
|
57836
|
-
required: [
|
|
57837
|
-
"workspace_id",
|
|
57838
|
-
"name",
|
|
57839
|
-
"customization_profile_id",
|
|
57840
|
-
"created_at"
|
|
57841
|
-
],
|
|
57842
|
-
type: "object",
|
|
57843
|
-
"x-route-path": "/workspaces/customization_profiles",
|
|
57844
|
-
"x-title": "Customization Profile",
|
|
57845
|
-
"x-undocumented": "Unreleased."
|
|
57793
|
+
$ref: "#/components/schemas/customization_profile"
|
|
57846
57794
|
},
|
|
57847
57795
|
type: "array"
|
|
57848
57796
|
},
|
|
@@ -57884,29 +57832,7 @@ var openapi_default = {
|
|
|
57884
57832
|
properties: {
|
|
57885
57833
|
customization_profiles: {
|
|
57886
57834
|
items: {
|
|
57887
|
-
|
|
57888
|
-
properties: {
|
|
57889
|
-
created_at: { format: "date-time", type: "string" },
|
|
57890
|
-
customization_profile_id: {
|
|
57891
|
-
format: "uuid",
|
|
57892
|
-
type: "string"
|
|
57893
|
-
},
|
|
57894
|
-
logo_url: { format: "uri", type: "string" },
|
|
57895
|
-
name: { nullable: true, type: "string" },
|
|
57896
|
-
primary_color: { type: "string" },
|
|
57897
|
-
secondary_color: { type: "string" },
|
|
57898
|
-
workspace_id: { format: "uuid", type: "string" }
|
|
57899
|
-
},
|
|
57900
|
-
required: [
|
|
57901
|
-
"workspace_id",
|
|
57902
|
-
"name",
|
|
57903
|
-
"customization_profile_id",
|
|
57904
|
-
"created_at"
|
|
57905
|
-
],
|
|
57906
|
-
type: "object",
|
|
57907
|
-
"x-route-path": "/workspaces/customization_profiles",
|
|
57908
|
-
"x-title": "Customization Profile",
|
|
57909
|
-
"x-undocumented": "Unreleased."
|
|
57835
|
+
$ref: "#/components/schemas/customization_profile"
|
|
57910
57836
|
},
|
|
57911
57837
|
type: "array"
|
|
57912
57838
|
},
|
|
@@ -58161,6 +58087,12 @@ var openapi_default = {
|
|
|
58161
58087
|
},
|
|
58162
58088
|
type: "array"
|
|
58163
58089
|
},
|
|
58090
|
+
customization_profiles: {
|
|
58091
|
+
items: {
|
|
58092
|
+
$ref: "#/components/schemas/customization_profile"
|
|
58093
|
+
},
|
|
58094
|
+
type: "array"
|
|
58095
|
+
},
|
|
58164
58096
|
devices: {
|
|
58165
58097
|
items: { $ref: "#/components/schemas/device" },
|
|
58166
58098
|
type: "array"
|
|
@@ -58354,6 +58286,12 @@ var openapi_default = {
|
|
|
58354
58286
|
},
|
|
58355
58287
|
type: "array"
|
|
58356
58288
|
},
|
|
58289
|
+
customization_profiles: {
|
|
58290
|
+
items: {
|
|
58291
|
+
$ref: "#/components/schemas/customization_profile"
|
|
58292
|
+
},
|
|
58293
|
+
type: "array"
|
|
58294
|
+
},
|
|
58357
58295
|
devices: {
|
|
58358
58296
|
items: { $ref: "#/components/schemas/device" },
|
|
58359
58297
|
type: "array"
|