@seamapi/types 1.391.0 → 1.392.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 +8 -47
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +212 -166
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -58
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -11
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -21
- package/lib/seam/connect/models/acs/acs-credential.d.ts +18 -8
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +3 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +1 -0
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +60 -28
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +26 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +34 -16
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +7 -42
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +119 -75
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
- package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +7 -48
- package/src/lib/seam/connect/route-types.ts +119 -72
package/dist/connect.cjs
CHANGED
|
@@ -1581,9 +1581,6 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
|
|
|
1581
1581
|
var schlage_detected_duplicate = common_access_code_warning.extend({
|
|
1582
1582
|
warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
|
|
1583
1583
|
}).describe("Duplicate access code detected.");
|
|
1584
|
-
var schlage_detected_duplicate_code_name = common_access_code_warning.extend({
|
|
1585
|
-
warning_code: zod.z.literal("schlage_detected_duplicate_code_name").describe(warning_code_description3)
|
|
1586
|
-
}).describe("Duplicate access code name detected.");
|
|
1587
1584
|
var schlage_creation_outage = common_access_code_warning.extend({
|
|
1588
1585
|
warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
|
|
1589
1586
|
}).describe("Received an error when attempting to create this code.");
|
|
@@ -1610,7 +1607,6 @@ var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
|
|
|
1610
1607
|
var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1611
1608
|
smartthings_failed_to_set_access_code_warning,
|
|
1612
1609
|
schlage_detected_duplicate,
|
|
1613
|
-
schlage_detected_duplicate_code_name,
|
|
1614
1610
|
schlage_creation_outage,
|
|
1615
1611
|
code_modified_external_to_seam_warning,
|
|
1616
1612
|
delay_in_setting_on_device,
|
|
@@ -1627,7 +1623,6 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1627
1623
|
zod.z.object({
|
|
1628
1624
|
smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
|
|
1629
1625
|
schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
|
|
1630
|
-
schlage_duplicate_code_name: schlage_detected_duplicate_code_name.optional().nullable(),
|
|
1631
1626
|
schlage_creation_outage: schlage_creation_outage.optional().nullable(),
|
|
1632
1627
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
|
|
1633
1628
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
@@ -1843,6 +1838,7 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1843
1838
|
pms_id: zod.z.string().optional()
|
|
1844
1839
|
});
|
|
1845
1840
|
var acs_credential_vostio_metadata = zod.z.object({
|
|
1841
|
+
auto_join: zod.z.boolean().optional(),
|
|
1846
1842
|
override_guest_acs_entrance_ids: zod.z.string().array().optional(),
|
|
1847
1843
|
key_id: zod.z.string().optional(),
|
|
1848
1844
|
key_issuing_request_id: zod.z.string().optional(),
|
|
@@ -5638,27 +5634,6 @@ var openapi_default = {
|
|
|
5638
5634
|
required: ["message", "warning_code"],
|
|
5639
5635
|
type: "object"
|
|
5640
5636
|
},
|
|
5641
|
-
{
|
|
5642
|
-
description: "Duplicate access code name detected.",
|
|
5643
|
-
properties: {
|
|
5644
|
-
created_at: {
|
|
5645
|
-
description: "Date and time at which Seam created the warning.",
|
|
5646
|
-
format: "date-time",
|
|
5647
|
-
type: "string"
|
|
5648
|
-
},
|
|
5649
|
-
message: {
|
|
5650
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
5651
|
-
type: "string"
|
|
5652
|
-
},
|
|
5653
|
-
warning_code: {
|
|
5654
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5655
|
-
enum: ["schlage_detected_duplicate_code_name"],
|
|
5656
|
-
type: "string"
|
|
5657
|
-
}
|
|
5658
|
-
},
|
|
5659
|
-
required: ["message", "warning_code"],
|
|
5660
|
-
type: "object"
|
|
5661
|
-
},
|
|
5662
5637
|
{
|
|
5663
5638
|
description: "Received an error when attempting to create this code.",
|
|
5664
5639
|
properties: {
|
|
@@ -6024,6 +5999,7 @@ var openapi_default = {
|
|
|
6024
5999
|
assa_abloy_vostio_metadata: {
|
|
6025
6000
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
6026
6001
|
properties: {
|
|
6002
|
+
auto_join: { type: "boolean" },
|
|
6027
6003
|
door_names: { items: { type: "string" }, type: "array" },
|
|
6028
6004
|
endpoint_id: { type: "string" },
|
|
6029
6005
|
key_id: { type: "string" },
|
|
@@ -7866,6 +7842,7 @@ var openapi_default = {
|
|
|
7866
7842
|
assa_abloy_vostio_metadata: {
|
|
7867
7843
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
7868
7844
|
properties: {
|
|
7845
|
+
auto_join: { type: "boolean" },
|
|
7869
7846
|
door_names: {
|
|
7870
7847
|
items: { type: "string" },
|
|
7871
7848
|
type: "array"
|
|
@@ -8212,6 +8189,7 @@ var openapi_default = {
|
|
|
8212
8189
|
assa_abloy_vostio_metadata: {
|
|
8213
8190
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
8214
8191
|
properties: {
|
|
8192
|
+
auto_join: { type: "boolean" },
|
|
8215
8193
|
door_names: {
|
|
8216
8194
|
items: { type: "string" },
|
|
8217
8195
|
type: "array"
|
|
@@ -8927,6 +8905,7 @@ var openapi_default = {
|
|
|
8927
8905
|
assa_abloy_vostio_metadata: {
|
|
8928
8906
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
8929
8907
|
properties: {
|
|
8908
|
+
auto_join: { type: "boolean" },
|
|
8930
8909
|
door_names: {
|
|
8931
8910
|
items: { type: "string" },
|
|
8932
8911
|
type: "array"
|
|
@@ -9271,6 +9250,7 @@ var openapi_default = {
|
|
|
9271
9250
|
assa_abloy_vostio_metadata: {
|
|
9272
9251
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
9273
9252
|
properties: {
|
|
9253
|
+
auto_join: { type: "boolean" },
|
|
9274
9254
|
door_names: {
|
|
9275
9255
|
items: { type: "string" },
|
|
9276
9256
|
type: "array"
|
|
@@ -19465,27 +19445,6 @@ var openapi_default = {
|
|
|
19465
19445
|
required: ["message", "warning_code"],
|
|
19466
19446
|
type: "object"
|
|
19467
19447
|
},
|
|
19468
|
-
{
|
|
19469
|
-
description: "Duplicate access code name detected.",
|
|
19470
|
-
properties: {
|
|
19471
|
-
created_at: {
|
|
19472
|
-
description: "Date and time at which Seam created the warning.",
|
|
19473
|
-
format: "date-time",
|
|
19474
|
-
type: "string"
|
|
19475
|
-
},
|
|
19476
|
-
message: {
|
|
19477
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
19478
|
-
type: "string"
|
|
19479
|
-
},
|
|
19480
|
-
warning_code: {
|
|
19481
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
19482
|
-
enum: ["schlage_detected_duplicate_code_name"],
|
|
19483
|
-
type: "string"
|
|
19484
|
-
}
|
|
19485
|
-
},
|
|
19486
|
-
required: ["message", "warning_code"],
|
|
19487
|
-
type: "object"
|
|
19488
|
-
},
|
|
19489
19448
|
{
|
|
19490
19449
|
description: "Received an error when attempting to create this code.",
|
|
19491
19450
|
properties: {
|
|
@@ -19845,6 +19804,7 @@ var openapi_default = {
|
|
|
19845
19804
|
assa_abloy_vostio_metadata: {
|
|
19846
19805
|
description: "Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|
|
19847
19806
|
properties: {
|
|
19807
|
+
auto_join: { type: "boolean" },
|
|
19848
19808
|
door_names: { items: { type: "string" }, type: "array" },
|
|
19849
19809
|
endpoint_id: { type: "string" },
|
|
19850
19810
|
key_id: { type: "string" },
|
|
@@ -24242,6 +24202,7 @@ var openapi_default = {
|
|
|
24242
24202
|
assa_abloy_vostio_metadata: {
|
|
24243
24203
|
description: "Vostio-specific metadata for the new credential.",
|
|
24244
24204
|
properties: {
|
|
24205
|
+
auto_join: { type: "boolean" },
|
|
24245
24206
|
join_all_guest_acs_entrances: { type: "boolean" },
|
|
24246
24207
|
override_all_guest_acs_entrances: { type: "boolean" },
|
|
24247
24208
|
override_guest_acs_entrance_ids: {
|