@seamapi/types 1.816.0 → 1.818.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 +54 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +460 -207
- package/dist/index.cjs +54 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +0 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/batch.d.ts +100 -42
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/openapi.js +44 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +275 -135
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +0 -1
- package/src/lib/seam/connect/models/devices/device.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +52 -7
- package/src/lib/seam/connect/route-types.ts +160 -135
package/dist/connect.cjs
CHANGED
|
@@ -1429,6 +1429,14 @@ var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend({
|
|
|
1429
1429
|
}).describe(
|
|
1430
1430
|
"Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site."
|
|
1431
1431
|
);
|
|
1432
|
+
var salto_ks_lock_access_code_support_removed = common_device_warning.extend({
|
|
1433
|
+
warning_code: zod.z.literal("salto_ks_lock_access_code_support_removed").describe(warning_code_description2)
|
|
1434
|
+
}).describe(`
|
|
1435
|
+
---
|
|
1436
|
+
variant_group_key: access_codes
|
|
1437
|
+
---
|
|
1438
|
+
Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.
|
|
1439
|
+
`);
|
|
1432
1440
|
var wyze_device_missing_gateway = common_device_warning.extend({
|
|
1433
1441
|
warning_code: zod.z.literal("wyze_device_missing_gateway").describe(warning_code_description2)
|
|
1434
1442
|
}).describe(`
|
|
@@ -1557,6 +1565,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1557
1565
|
salto_ks_office_mode,
|
|
1558
1566
|
salto_ks_privacy_mode,
|
|
1559
1567
|
salto_ks_subscription_limit_almost_reached2,
|
|
1568
|
+
salto_ks_lock_access_code_support_removed,
|
|
1560
1569
|
unknown_issue_with_phone,
|
|
1561
1570
|
lockly_time_zone_not_configured,
|
|
1562
1571
|
ultraloq_time_zone_unknown,
|
|
@@ -1585,6 +1594,7 @@ zod.z.object({
|
|
|
1585
1594
|
salto_ks_office_mode: salto_ks_office_mode.optional().nullable(),
|
|
1586
1595
|
salto_ks_privacy_mode: salto_ks_privacy_mode.optional().nullable(),
|
|
1587
1596
|
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
|
|
1597
|
+
salto_ks_lock_access_code_support_removed: salto_ks_lock_access_code_support_removed.optional().nullable(),
|
|
1588
1598
|
unknown_issue_with_phone: unknown_issue_with_phone.optional().nullable(),
|
|
1589
1599
|
lockly_time_zone_not_configured: lockly_time_zone_not_configured.optional().nullable(),
|
|
1590
1600
|
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
@@ -3356,7 +3366,6 @@ var acs_credential_visionline_metadata = zod.z.object({
|
|
|
3356
3366
|
var acs_credential_external_type = zod.z.enum([
|
|
3357
3367
|
"pti_card",
|
|
3358
3368
|
"brivo_credential",
|
|
3359
|
-
"brivo_digital_credential",
|
|
3360
3369
|
"hid_credential",
|
|
3361
3370
|
"visionline_card",
|
|
3362
3371
|
"salto_ks_credential",
|
|
@@ -10228,7 +10237,6 @@ var openapi_default = {
|
|
|
10228
10237
|
enum: [
|
|
10229
10238
|
"pti_card",
|
|
10230
10239
|
"brivo_credential",
|
|
10231
|
-
"brivo_digital_credential",
|
|
10232
10240
|
"hid_credential",
|
|
10233
10241
|
"visionline_card",
|
|
10234
10242
|
"salto_ks_credential",
|
|
@@ -12492,7 +12500,6 @@ var openapi_default = {
|
|
|
12492
12500
|
enum: [
|
|
12493
12501
|
"pti_card",
|
|
12494
12502
|
"brivo_credential",
|
|
12495
|
-
"brivo_digital_credential",
|
|
12496
12503
|
"hid_credential",
|
|
12497
12504
|
"visionline_card",
|
|
12498
12505
|
"salto_ks_credential",
|
|
@@ -12883,7 +12890,6 @@ var openapi_default = {
|
|
|
12883
12890
|
enum: [
|
|
12884
12891
|
"pti_card",
|
|
12885
12892
|
"brivo_credential",
|
|
12886
|
-
"brivo_digital_credential",
|
|
12887
12893
|
"hid_credential",
|
|
12888
12894
|
"visionline_card",
|
|
12889
12895
|
"salto_ks_credential",
|
|
@@ -13500,7 +13506,6 @@ var openapi_default = {
|
|
|
13500
13506
|
enum: [
|
|
13501
13507
|
"pti_card",
|
|
13502
13508
|
"brivo_credential",
|
|
13503
|
-
"brivo_digital_credential",
|
|
13504
13509
|
"hid_credential",
|
|
13505
13510
|
"visionline_card",
|
|
13506
13511
|
"salto_ks_credential",
|
|
@@ -13889,7 +13894,6 @@ var openapi_default = {
|
|
|
13889
13894
|
enum: [
|
|
13890
13895
|
"pti_card",
|
|
13891
13896
|
"brivo_credential",
|
|
13892
|
-
"brivo_digital_credential",
|
|
13893
13897
|
"hid_credential",
|
|
13894
13898
|
"visionline_card",
|
|
13895
13899
|
"salto_ks_credential",
|
|
@@ -20414,6 +20418,28 @@ var openapi_default = {
|
|
|
20414
20418
|
required: ["message", "created_at", "warning_code"],
|
|
20415
20419
|
type: "object"
|
|
20416
20420
|
},
|
|
20421
|
+
{
|
|
20422
|
+
description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
|
|
20423
|
+
properties: {
|
|
20424
|
+
created_at: {
|
|
20425
|
+
description: "Date and time at which Seam created the warning.",
|
|
20426
|
+
format: "date-time",
|
|
20427
|
+
type: "string"
|
|
20428
|
+
},
|
|
20429
|
+
message: {
|
|
20430
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
20431
|
+
type: "string"
|
|
20432
|
+
},
|
|
20433
|
+
warning_code: {
|
|
20434
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
20435
|
+
enum: ["salto_ks_lock_access_code_support_removed"],
|
|
20436
|
+
type: "string"
|
|
20437
|
+
}
|
|
20438
|
+
},
|
|
20439
|
+
required: ["message", "created_at", "warning_code"],
|
|
20440
|
+
type: "object",
|
|
20441
|
+
"x-variant-group-key": "access_codes"
|
|
20442
|
+
},
|
|
20417
20443
|
{
|
|
20418
20444
|
description: "Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.",
|
|
20419
20445
|
properties: {
|
|
@@ -29595,7 +29621,6 @@ var openapi_default = {
|
|
|
29595
29621
|
enum: [
|
|
29596
29622
|
"pti_card",
|
|
29597
29623
|
"brivo_credential",
|
|
29598
|
-
"brivo_digital_credential",
|
|
29599
29624
|
"hid_credential",
|
|
29600
29625
|
"visionline_card",
|
|
29601
29626
|
"salto_ks_credential",
|
|
@@ -32561,7 +32586,6 @@ var openapi_default = {
|
|
|
32561
32586
|
enum: [
|
|
32562
32587
|
"pti_card",
|
|
32563
32588
|
"brivo_credential",
|
|
32564
|
-
"brivo_digital_credential",
|
|
32565
32589
|
"hid_credential",
|
|
32566
32590
|
"visionline_card",
|
|
32567
32591
|
"salto_ks_credential",
|
|
@@ -34639,6 +34663,28 @@ var openapi_default = {
|
|
|
34639
34663
|
required: ["message", "created_at", "warning_code"],
|
|
34640
34664
|
type: "object"
|
|
34641
34665
|
},
|
|
34666
|
+
{
|
|
34667
|
+
description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
|
|
34668
|
+
properties: {
|
|
34669
|
+
created_at: {
|
|
34670
|
+
description: "Date and time at which Seam created the warning.",
|
|
34671
|
+
format: "date-time",
|
|
34672
|
+
type: "string"
|
|
34673
|
+
},
|
|
34674
|
+
message: {
|
|
34675
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
34676
|
+
type: "string"
|
|
34677
|
+
},
|
|
34678
|
+
warning_code: {
|
|
34679
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
34680
|
+
enum: ["salto_ks_lock_access_code_support_removed"],
|
|
34681
|
+
type: "string"
|
|
34682
|
+
}
|
|
34683
|
+
},
|
|
34684
|
+
required: ["message", "created_at", "warning_code"],
|
|
34685
|
+
type: "object",
|
|
34686
|
+
"x-variant-group-key": "access_codes"
|
|
34687
|
+
},
|
|
34642
34688
|
{
|
|
34643
34689
|
description: "Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.",
|
|
34644
34690
|
properties: {
|