@seamapi/types 1.463.0 → 1.464.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 +57 -55
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +91 -279
- package/dist/index.cjs +57 -55
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
- package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +5 -4
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +0 -203
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
- package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
- package/lib/seam/connect/models/customer/customer-portal.js +18 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +4 -62
- package/lib/seam/connect/models/devices/device.js +2 -16
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -21
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
- package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +58 -0
- package/lib/seam/connect/openapi.js +56 -44
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +27 -160
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
- package/src/lib/seam/connect/models/devices/device.ts +4 -19
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +60 -52
- package/src/lib/seam/connect/route-types.ts +31 -181
package/dist/index.cjs
CHANGED
|
@@ -1324,14 +1324,6 @@ var functional_offline_device = common_device_warning.extend({
|
|
|
1324
1324
|
var third_party_integration_detected = common_device_warning.extend({
|
|
1325
1325
|
warning_code: zod.z.literal("third_party_integration_detected").describe(warning_code_description2)
|
|
1326
1326
|
}).describe("Indicates that a third-party integration has been detected.");
|
|
1327
|
-
var nest_thermostat_in_manual_eco_mode = common_device_warning.extend({
|
|
1328
|
-
warning_code: zod.z.literal("nest_thermostat_in_manual_eco_mode").describe(warning_code_description2)
|
|
1329
|
-
}).describe(`
|
|
1330
|
-
---
|
|
1331
|
-
variant_group_key: thermostats
|
|
1332
|
-
---
|
|
1333
|
-
Indicates that the Nest thermostat is in manual eco mode.
|
|
1334
|
-
`);
|
|
1335
1327
|
var ttlock_lock_gateway_unlocking_not_enabled = common_device_warning.extend({
|
|
1336
1328
|
warning_code: zod.z.literal("ttlock_lock_gateway_unlocking_not_enabled").describe(warning_code_description2)
|
|
1337
1329
|
}).describe(`
|
|
@@ -1389,7 +1381,6 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1389
1381
|
wyze_device_missing_gateway,
|
|
1390
1382
|
functional_offline_device,
|
|
1391
1383
|
third_party_integration_detected,
|
|
1392
|
-
nest_thermostat_in_manual_eco_mode,
|
|
1393
1384
|
ttlock_lock_gateway_unlocking_not_enabled,
|
|
1394
1385
|
ttlock_weak_gateway_signal,
|
|
1395
1386
|
power_saving_mode,
|
|
@@ -1413,7 +1404,6 @@ zod.z.object({
|
|
|
1413
1404
|
wyze_device_missing_gateway: wyze_device_missing_gateway.optional().nullable(),
|
|
1414
1405
|
functional_offline_device: functional_offline_device.optional().nullable(),
|
|
1415
1406
|
third_party_integration_detected: third_party_integration_detected.optional().nullable(),
|
|
1416
|
-
nest_thermostat_in_manual_eco_mode: nest_thermostat_in_manual_eco_mode.optional().nullable(),
|
|
1417
1407
|
ttlock_lock_gateway_unlocking_not_enabled: ttlock_lock_gateway_unlocking_not_enabled.optional().nullable(),
|
|
1418
1408
|
ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional().nullable(),
|
|
1419
1409
|
power_saving_mode: power_saving_mode.optional().nullable(),
|
|
@@ -7009,6 +6999,7 @@ var openapi_default = {
|
|
|
7009
6999
|
ends_at: {
|
|
7010
7000
|
description: "Date and time at which the Access Grant ends.",
|
|
7011
7001
|
format: "date-time",
|
|
7002
|
+
nullable: true,
|
|
7012
7003
|
type: "string"
|
|
7013
7004
|
},
|
|
7014
7005
|
instant_key_url: {
|
|
@@ -7092,7 +7083,9 @@ var openapi_default = {
|
|
|
7092
7083
|
"access_method_ids",
|
|
7093
7084
|
"name",
|
|
7094
7085
|
"display_name",
|
|
7095
|
-
"created_at"
|
|
7086
|
+
"created_at",
|
|
7087
|
+
"starts_at",
|
|
7088
|
+
"ends_at"
|
|
7096
7089
|
],
|
|
7097
7090
|
type: "object",
|
|
7098
7091
|
"x-draft": "Early access.",
|
|
@@ -16555,28 +16548,6 @@ var openapi_default = {
|
|
|
16555
16548
|
required: ["message", "created_at", "warning_code"],
|
|
16556
16549
|
type: "object"
|
|
16557
16550
|
},
|
|
16558
|
-
{
|
|
16559
|
-
description: "Indicates that the Nest thermostat is in manual eco mode.",
|
|
16560
|
-
properties: {
|
|
16561
|
-
created_at: {
|
|
16562
|
-
description: "Date and time at which Seam created the warning.",
|
|
16563
|
-
format: "date-time",
|
|
16564
|
-
type: "string"
|
|
16565
|
-
},
|
|
16566
|
-
message: {
|
|
16567
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
16568
|
-
type: "string"
|
|
16569
|
-
},
|
|
16570
|
-
warning_code: {
|
|
16571
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16572
|
-
enum: ["nest_thermostat_in_manual_eco_mode"],
|
|
16573
|
-
type: "string"
|
|
16574
|
-
}
|
|
16575
|
-
},
|
|
16576
|
-
required: ["message", "created_at", "warning_code"],
|
|
16577
|
-
type: "object",
|
|
16578
|
-
"x-variant-group-key": "thermostats"
|
|
16579
|
-
},
|
|
16580
16551
|
{
|
|
16581
16552
|
description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
|
|
16582
16553
|
properties: {
|
|
@@ -27481,28 +27452,6 @@ var openapi_default = {
|
|
|
27481
27452
|
required: ["message", "created_at", "warning_code"],
|
|
27482
27453
|
type: "object"
|
|
27483
27454
|
},
|
|
27484
|
-
{
|
|
27485
|
-
description: "Indicates that the Nest thermostat is in manual eco mode.",
|
|
27486
|
-
properties: {
|
|
27487
|
-
created_at: {
|
|
27488
|
-
description: "Date and time at which Seam created the warning.",
|
|
27489
|
-
format: "date-time",
|
|
27490
|
-
type: "string"
|
|
27491
|
-
},
|
|
27492
|
-
message: {
|
|
27493
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
27494
|
-
type: "string"
|
|
27495
|
-
},
|
|
27496
|
-
warning_code: {
|
|
27497
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
27498
|
-
enum: ["nest_thermostat_in_manual_eco_mode"],
|
|
27499
|
-
type: "string"
|
|
27500
|
-
}
|
|
27501
|
-
},
|
|
27502
|
-
required: ["message", "created_at", "warning_code"],
|
|
27503
|
-
type: "object",
|
|
27504
|
-
"x-variant-group-key": "thermostats"
|
|
27505
|
-
},
|
|
27506
27455
|
{
|
|
27507
27456
|
description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
|
|
27508
27457
|
properties: {
|
|
@@ -30549,7 +30498,9 @@ var openapi_default = {
|
|
|
30549
30498
|
type: "array"
|
|
30550
30499
|
},
|
|
30551
30500
|
ends_at: {
|
|
30501
|
+
default: null,
|
|
30552
30502
|
description: "Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.",
|
|
30503
|
+
nullable: true,
|
|
30553
30504
|
type: "string"
|
|
30554
30505
|
},
|
|
30555
30506
|
location: {
|
|
@@ -40115,6 +40066,11 @@ var openapi_default = {
|
|
|
40115
40066
|
{
|
|
40116
40067
|
default: {
|
|
40117
40068
|
features: {
|
|
40069
|
+
configure: {
|
|
40070
|
+
allow_access_automation_rule_customization: false,
|
|
40071
|
+
allow_instant_key_customization: false,
|
|
40072
|
+
exclude: false
|
|
40073
|
+
},
|
|
40118
40074
|
connect: { exclude: false },
|
|
40119
40075
|
manage_devices: { exclude: false },
|
|
40120
40076
|
organize: { exclude: false }
|
|
@@ -40126,6 +40082,28 @@ var openapi_default = {
|
|
|
40126
40082
|
features: {
|
|
40127
40083
|
default: {},
|
|
40128
40084
|
properties: {
|
|
40085
|
+
configure: {
|
|
40086
|
+
default: {},
|
|
40087
|
+
description: "Configuration for the configure feature.",
|
|
40088
|
+
properties: {
|
|
40089
|
+
allow_access_automation_rule_customization: {
|
|
40090
|
+
default: false,
|
|
40091
|
+
description: "Indicates whether the customer can customize the access automation rules for their properties.",
|
|
40092
|
+
type: "boolean"
|
|
40093
|
+
},
|
|
40094
|
+
allow_instant_key_customization: {
|
|
40095
|
+
default: false,
|
|
40096
|
+
description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
|
|
40097
|
+
type: "boolean"
|
|
40098
|
+
},
|
|
40099
|
+
exclude: {
|
|
40100
|
+
default: false,
|
|
40101
|
+
description: "Whether to exclude this feature from the portal.",
|
|
40102
|
+
type: "boolean"
|
|
40103
|
+
}
|
|
40104
|
+
},
|
|
40105
|
+
type: "object"
|
|
40106
|
+
},
|
|
40129
40107
|
connect: {
|
|
40130
40108
|
default: {},
|
|
40131
40109
|
description: "Configuration for the connect accounts feature.",
|
|
@@ -48807,6 +48785,18 @@ var openapi_default = {
|
|
|
48807
48785
|
},
|
|
48808
48786
|
features: {
|
|
48809
48787
|
properties: {
|
|
48788
|
+
configure: {
|
|
48789
|
+
properties: {
|
|
48790
|
+
allow_access_automation_rule_customization: {
|
|
48791
|
+
type: "boolean"
|
|
48792
|
+
},
|
|
48793
|
+
allow_instant_key_customization: {
|
|
48794
|
+
type: "boolean"
|
|
48795
|
+
},
|
|
48796
|
+
exclude: { type: "boolean" }
|
|
48797
|
+
},
|
|
48798
|
+
type: "object"
|
|
48799
|
+
},
|
|
48810
48800
|
connect: {
|
|
48811
48801
|
properties: { exclude: { type: "boolean" } },
|
|
48812
48802
|
type: "object"
|
|
@@ -48888,6 +48878,18 @@ var openapi_default = {
|
|
|
48888
48878
|
},
|
|
48889
48879
|
features: {
|
|
48890
48880
|
properties: {
|
|
48881
|
+
configure: {
|
|
48882
|
+
properties: {
|
|
48883
|
+
allow_access_automation_rule_customization: {
|
|
48884
|
+
type: "boolean"
|
|
48885
|
+
},
|
|
48886
|
+
allow_instant_key_customization: {
|
|
48887
|
+
type: "boolean"
|
|
48888
|
+
},
|
|
48889
|
+
exclude: { type: "boolean" }
|
|
48890
|
+
},
|
|
48891
|
+
type: "object"
|
|
48892
|
+
},
|
|
48891
48893
|
connect: {
|
|
48892
48894
|
properties: { exclude: { type: "boolean" } },
|
|
48893
48895
|
type: "object"
|