@seamapi/types 1.475.0 → 1.477.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 +91 -28
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +107 -47
- package/dist/index.cjs +91 -28
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +55 -55
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +4 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +11 -3
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +1 -0
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +7 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/openapi.d.ts +52 -0
- package/lib/seam/connect/openapi.js +64 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +25 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -3
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +65 -11
- package/src/lib/seam/connect/route-types.ts +25 -3
package/dist/connect.cjs
CHANGED
|
@@ -80,8 +80,10 @@ var access_code_code_constraint = zod.z.object({
|
|
|
80
80
|
// Tedee
|
|
81
81
|
"cannot_contain_089",
|
|
82
82
|
// TTLock
|
|
83
|
-
"cannot_contain_0789"
|
|
83
|
+
"cannot_contain_0789",
|
|
84
84
|
// TTLock (for some cylinder devices only)
|
|
85
|
+
"unique_first_four_digits"
|
|
86
|
+
// Schlage
|
|
85
87
|
]).describe(`Code constraint type for access codes.`)
|
|
86
88
|
}).describe(`Code constraint for access codes.`);
|
|
87
89
|
var access_code_name_constraint = zod.z.object({
|
|
@@ -4263,12 +4265,20 @@ var bridge_client_session = zod.z.object({
|
|
|
4263
4265
|
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
4264
4266
|
`);
|
|
4265
4267
|
var customization_profile = zod.z.object({
|
|
4266
|
-
workspace_id: zod.z.string().uuid(),
|
|
4267
4268
|
customization_profile_id: zod.z.string().uuid(),
|
|
4268
|
-
|
|
4269
|
+
workspace_id: zod.z.string().uuid(),
|
|
4270
|
+
created_at: zod.z.string().datetime(),
|
|
4271
|
+
logo_url: zod.z.string().url().optional(),
|
|
4269
4272
|
primary_color: zod.z.string().optional(),
|
|
4270
4273
|
secondary_color: zod.z.string().optional()
|
|
4271
|
-
})
|
|
4274
|
+
}).describe(`
|
|
4275
|
+
---
|
|
4276
|
+
title: Customization Profile
|
|
4277
|
+
undocumented: Unreleased.
|
|
4278
|
+
route_path: /workspaces/customization_profiles
|
|
4279
|
+
---
|
|
4280
|
+
A customization profile.
|
|
4281
|
+
`);
|
|
4272
4282
|
var common_event = zod.z.object({
|
|
4273
4283
|
event_id: zod.z.string().uuid().describe("ID of the event."),
|
|
4274
4284
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -15667,7 +15677,8 @@ var openapi_default = {
|
|
|
15667
15677
|
"no_ascending_or_descending_sequence",
|
|
15668
15678
|
"at_least_three_unique_digits",
|
|
15669
15679
|
"cannot_contain_089",
|
|
15670
|
-
"cannot_contain_0789"
|
|
15680
|
+
"cannot_contain_0789",
|
|
15681
|
+
"unique_first_four_digits"
|
|
15671
15682
|
],
|
|
15672
15683
|
type: "string"
|
|
15673
15684
|
}
|
|
@@ -57261,18 +57272,27 @@ var openapi_default = {
|
|
|
57261
57272
|
schema: {
|
|
57262
57273
|
properties: {
|
|
57263
57274
|
customization_profile: {
|
|
57275
|
+
description: "A customization profile.",
|
|
57264
57276
|
properties: {
|
|
57277
|
+
created_at: { format: "date-time", type: "string" },
|
|
57265
57278
|
customization_profile_id: {
|
|
57266
57279
|
format: "uuid",
|
|
57267
57280
|
type: "string"
|
|
57268
57281
|
},
|
|
57269
|
-
logo_url: { type: "string" },
|
|
57282
|
+
logo_url: { format: "uri", type: "string" },
|
|
57270
57283
|
primary_color: { type: "string" },
|
|
57271
57284
|
secondary_color: { type: "string" },
|
|
57272
57285
|
workspace_id: { format: "uuid", type: "string" }
|
|
57273
57286
|
},
|
|
57274
|
-
required: [
|
|
57275
|
-
|
|
57287
|
+
required: [
|
|
57288
|
+
"customization_profile_id",
|
|
57289
|
+
"workspace_id",
|
|
57290
|
+
"created_at"
|
|
57291
|
+
],
|
|
57292
|
+
type: "object",
|
|
57293
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
57294
|
+
"x-title": "Customization Profile",
|
|
57295
|
+
"x-undocumented": "Unreleased."
|
|
57276
57296
|
},
|
|
57277
57297
|
ok: { type: "boolean" }
|
|
57278
57298
|
},
|
|
@@ -57293,7 +57313,8 @@ var openapi_default = {
|
|
|
57293
57313
|
"x-fern-sdk-method-name": "create",
|
|
57294
57314
|
"x-fern-sdk-return-value": "customization_profile",
|
|
57295
57315
|
"x-response-key": "customization_profile",
|
|
57296
|
-
"x-title": "Update Customization Profile"
|
|
57316
|
+
"x-title": "Update Customization Profile",
|
|
57317
|
+
"x-undocumented": "Unreleased."
|
|
57297
57318
|
}
|
|
57298
57319
|
},
|
|
57299
57320
|
"/workspaces/customization_profiles/get": {
|
|
@@ -57315,18 +57336,27 @@ var openapi_default = {
|
|
|
57315
57336
|
schema: {
|
|
57316
57337
|
properties: {
|
|
57317
57338
|
customization_profile: {
|
|
57339
|
+
description: "A customization profile.",
|
|
57318
57340
|
properties: {
|
|
57341
|
+
created_at: { format: "date-time", type: "string" },
|
|
57319
57342
|
customization_profile_id: {
|
|
57320
57343
|
format: "uuid",
|
|
57321
57344
|
type: "string"
|
|
57322
57345
|
},
|
|
57323
|
-
logo_url: { type: "string" },
|
|
57346
|
+
logo_url: { format: "uri", type: "string" },
|
|
57324
57347
|
primary_color: { type: "string" },
|
|
57325
57348
|
secondary_color: { type: "string" },
|
|
57326
57349
|
workspace_id: { format: "uuid", type: "string" }
|
|
57327
57350
|
},
|
|
57328
|
-
required: [
|
|
57329
|
-
|
|
57351
|
+
required: [
|
|
57352
|
+
"customization_profile_id",
|
|
57353
|
+
"workspace_id",
|
|
57354
|
+
"created_at"
|
|
57355
|
+
],
|
|
57356
|
+
type: "object",
|
|
57357
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
57358
|
+
"x-title": "Customization Profile",
|
|
57359
|
+
"x-undocumented": "Unreleased."
|
|
57330
57360
|
},
|
|
57331
57361
|
ok: { type: "boolean" }
|
|
57332
57362
|
},
|
|
@@ -57347,7 +57377,8 @@ var openapi_default = {
|
|
|
57347
57377
|
"x-fern-sdk-method-name": "get",
|
|
57348
57378
|
"x-fern-sdk-return-value": "customization_profile",
|
|
57349
57379
|
"x-response-key": "customization_profile",
|
|
57350
|
-
"x-title": "Get Customization Profile"
|
|
57380
|
+
"x-title": "Get Customization Profile",
|
|
57381
|
+
"x-undocumented": "Unreleased."
|
|
57351
57382
|
},
|
|
57352
57383
|
post: {
|
|
57353
57384
|
description: "Retrieves the customization profile for the workspace.",
|
|
@@ -57372,18 +57403,27 @@ var openapi_default = {
|
|
|
57372
57403
|
schema: {
|
|
57373
57404
|
properties: {
|
|
57374
57405
|
customization_profile: {
|
|
57406
|
+
description: "A customization profile.",
|
|
57375
57407
|
properties: {
|
|
57408
|
+
created_at: { format: "date-time", type: "string" },
|
|
57376
57409
|
customization_profile_id: {
|
|
57377
57410
|
format: "uuid",
|
|
57378
57411
|
type: "string"
|
|
57379
57412
|
},
|
|
57380
|
-
logo_url: { type: "string" },
|
|
57413
|
+
logo_url: { format: "uri", type: "string" },
|
|
57381
57414
|
primary_color: { type: "string" },
|
|
57382
57415
|
secondary_color: { type: "string" },
|
|
57383
57416
|
workspace_id: { format: "uuid", type: "string" }
|
|
57384
57417
|
},
|
|
57385
|
-
required: [
|
|
57386
|
-
|
|
57418
|
+
required: [
|
|
57419
|
+
"customization_profile_id",
|
|
57420
|
+
"workspace_id",
|
|
57421
|
+
"created_at"
|
|
57422
|
+
],
|
|
57423
|
+
type: "object",
|
|
57424
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
57425
|
+
"x-title": "Customization Profile",
|
|
57426
|
+
"x-undocumented": "Unreleased."
|
|
57387
57427
|
},
|
|
57388
57428
|
ok: { type: "boolean" }
|
|
57389
57429
|
},
|
|
@@ -57404,7 +57444,8 @@ var openapi_default = {
|
|
|
57404
57444
|
"x-fern-sdk-method-name": "get",
|
|
57405
57445
|
"x-fern-sdk-return-value": "customization_profile",
|
|
57406
57446
|
"x-response-key": "customization_profile",
|
|
57407
|
-
"x-title": "Get Customization Profile"
|
|
57447
|
+
"x-title": "Get Customization Profile",
|
|
57448
|
+
"x-undocumented": "Unreleased."
|
|
57408
57449
|
}
|
|
57409
57450
|
},
|
|
57410
57451
|
"/workspaces/customization_profiles/list": {
|
|
@@ -57419,18 +57460,27 @@ var openapi_default = {
|
|
|
57419
57460
|
properties: {
|
|
57420
57461
|
customization_profiles: {
|
|
57421
57462
|
items: {
|
|
57463
|
+
description: "A customization profile.",
|
|
57422
57464
|
properties: {
|
|
57465
|
+
created_at: { format: "date-time", type: "string" },
|
|
57423
57466
|
customization_profile_id: {
|
|
57424
57467
|
format: "uuid",
|
|
57425
57468
|
type: "string"
|
|
57426
57469
|
},
|
|
57427
|
-
logo_url: { type: "string" },
|
|
57470
|
+
logo_url: { format: "uri", type: "string" },
|
|
57428
57471
|
primary_color: { type: "string" },
|
|
57429
57472
|
secondary_color: { type: "string" },
|
|
57430
57473
|
workspace_id: { format: "uuid", type: "string" }
|
|
57431
57474
|
},
|
|
57432
|
-
required: [
|
|
57433
|
-
|
|
57475
|
+
required: [
|
|
57476
|
+
"customization_profile_id",
|
|
57477
|
+
"workspace_id",
|
|
57478
|
+
"created_at"
|
|
57479
|
+
],
|
|
57480
|
+
type: "object",
|
|
57481
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
57482
|
+
"x-title": "Customization Profile",
|
|
57483
|
+
"x-undocumented": "Unreleased."
|
|
57434
57484
|
},
|
|
57435
57485
|
type: "array"
|
|
57436
57486
|
},
|
|
@@ -57453,7 +57503,8 @@ var openapi_default = {
|
|
|
57453
57503
|
"x-fern-sdk-method-name": "list",
|
|
57454
57504
|
"x-fern-sdk-return-value": "customization_profiles",
|
|
57455
57505
|
"x-response-key": "customization_profiles",
|
|
57456
|
-
"x-title": "Get Customization Profile"
|
|
57506
|
+
"x-title": "Get Customization Profile",
|
|
57507
|
+
"x-undocumented": "Unreleased."
|
|
57457
57508
|
},
|
|
57458
57509
|
post: {
|
|
57459
57510
|
description: "Retrieves the customization profile for the workspace.",
|
|
@@ -57466,18 +57517,27 @@ var openapi_default = {
|
|
|
57466
57517
|
properties: {
|
|
57467
57518
|
customization_profiles: {
|
|
57468
57519
|
items: {
|
|
57520
|
+
description: "A customization profile.",
|
|
57469
57521
|
properties: {
|
|
57522
|
+
created_at: { format: "date-time", type: "string" },
|
|
57470
57523
|
customization_profile_id: {
|
|
57471
57524
|
format: "uuid",
|
|
57472
57525
|
type: "string"
|
|
57473
57526
|
},
|
|
57474
|
-
logo_url: { type: "string" },
|
|
57527
|
+
logo_url: { format: "uri", type: "string" },
|
|
57475
57528
|
primary_color: { type: "string" },
|
|
57476
57529
|
secondary_color: { type: "string" },
|
|
57477
57530
|
workspace_id: { format: "uuid", type: "string" }
|
|
57478
57531
|
},
|
|
57479
|
-
required: [
|
|
57480
|
-
|
|
57532
|
+
required: [
|
|
57533
|
+
"customization_profile_id",
|
|
57534
|
+
"workspace_id",
|
|
57535
|
+
"created_at"
|
|
57536
|
+
],
|
|
57537
|
+
type: "object",
|
|
57538
|
+
"x-route-path": "/workspaces/customization_profiles",
|
|
57539
|
+
"x-title": "Customization Profile",
|
|
57540
|
+
"x-undocumented": "Unreleased."
|
|
57481
57541
|
},
|
|
57482
57542
|
type: "array"
|
|
57483
57543
|
},
|
|
@@ -57500,7 +57560,8 @@ var openapi_default = {
|
|
|
57500
57560
|
"x-fern-sdk-method-name": "list",
|
|
57501
57561
|
"x-fern-sdk-return-value": "customization_profiles",
|
|
57502
57562
|
"x-response-key": "customization_profiles",
|
|
57503
|
-
"x-title": "Get Customization Profile"
|
|
57563
|
+
"x-title": "Get Customization Profile",
|
|
57564
|
+
"x-undocumented": "Unreleased."
|
|
57504
57565
|
}
|
|
57505
57566
|
},
|
|
57506
57567
|
"/workspaces/customization_profiles/update": {
|
|
@@ -57544,7 +57605,8 @@ var openapi_default = {
|
|
|
57544
57605
|
"x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
|
|
57545
57606
|
"x-fern-sdk-method-name": "update",
|
|
57546
57607
|
"x-response-key": null,
|
|
57547
|
-
"x-title": "Update Customization Profile"
|
|
57608
|
+
"x-title": "Update Customization Profile",
|
|
57609
|
+
"x-undocumented": "Unreleased."
|
|
57548
57610
|
},
|
|
57549
57611
|
post: {
|
|
57550
57612
|
description: "Updates the customization profile for the workspace.",
|
|
@@ -57586,7 +57648,8 @@ var openapi_default = {
|
|
|
57586
57648
|
"x-fern-sdk-group-name": ["workspaces", "customization_profiles"],
|
|
57587
57649
|
"x-fern-sdk-method-name": "update",
|
|
57588
57650
|
"x-response-key": null,
|
|
57589
|
-
"x-title": "Update Customization Profile"
|
|
57651
|
+
"x-title": "Update Customization Profile",
|
|
57652
|
+
"x-undocumented": "Unreleased."
|
|
57590
57653
|
}
|
|
57591
57654
|
},
|
|
57592
57655
|
"/workspaces/customization_profiles/upload_images": {
|
|
@@ -57616,7 +57679,7 @@ var openapi_default = {
|
|
|
57616
57679
|
"x-fern-sdk-method-name": "upload_images",
|
|
57617
57680
|
"x-response-key": null,
|
|
57618
57681
|
"x-title": "Upload Customization Profile Logo",
|
|
57619
|
-
"x-undocumented": "Internal endpoint for
|
|
57682
|
+
"x-undocumented": "Internal form-data endpoint for Console and Customer Portal."
|
|
57620
57683
|
}
|
|
57621
57684
|
},
|
|
57622
57685
|
"/workspaces/find_resources": {
|