@seamapi/types 1.847.0 → 1.849.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 +95 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +306 -80
- package/dist/index.cjs +95 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -4
- package/lib/seam/connect/models/acs/acs-entrance.js +9 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +11 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +86 -28
- package/lib/seam/connect/models/phones/phone-session.d.ts +110 -28
- package/lib/seam/connect/openapi.js +71 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +162 -36
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +12 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +83 -0
- package/src/lib/seam/connect/route-types.ts +268 -88
package/dist/connect.cjs
CHANGED
|
@@ -3193,7 +3193,8 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
3193
3193
|
"brivo_group",
|
|
3194
3194
|
"salto_space_group",
|
|
3195
3195
|
"dormakaba_community_access_group",
|
|
3196
|
-
"dormakaba_ambiance_access_group"
|
|
3196
|
+
"dormakaba_ambiance_access_group",
|
|
3197
|
+
"avigilon_alta_group"
|
|
3197
3198
|
]);
|
|
3198
3199
|
var common_acs_access_group_error = zod.z.object({
|
|
3199
3200
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -3727,13 +3728,20 @@ var salto_ks_entrance_access_code_support_removed = common_acs_entrance_warning.
|
|
|
3727
3728
|
}).describe(
|
|
3728
3729
|
"Indicates that a change in the reported device model has been detected for this Salto KS entrance, 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."
|
|
3729
3730
|
);
|
|
3731
|
+
var entrance_shares_zone = common_acs_entrance_warning.extend({
|
|
3732
|
+
warning_code: zod.z.literal("entrance_shares_zone").describe(warning_code_description8)
|
|
3733
|
+
}).describe(
|
|
3734
|
+
"Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually."
|
|
3735
|
+
);
|
|
3730
3736
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3731
|
-
salto_ks_entrance_access_code_support_removed
|
|
3737
|
+
salto_ks_entrance_access_code_support_removed,
|
|
3738
|
+
entrance_shares_zone
|
|
3732
3739
|
]).describe(
|
|
3733
3740
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3734
3741
|
);
|
|
3735
3742
|
zod.z.object({
|
|
3736
|
-
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable()
|
|
3743
|
+
salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
3744
|
+
entrance_shares_zone: entrance_shares_zone.optional().nullable()
|
|
3737
3745
|
});
|
|
3738
3746
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3739
3747
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -3891,6 +3899,11 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
|
|
|
3891
3899
|
}).describe(
|
|
3892
3900
|
"Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
|
|
3893
3901
|
);
|
|
3902
|
+
var provider_service_unavailable2 = common_acs_system_error.extend({
|
|
3903
|
+
error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description7)
|
|
3904
|
+
}).describe(
|
|
3905
|
+
"Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
|
|
3906
|
+
);
|
|
3894
3907
|
var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
3895
3908
|
seam_bridge_disconnected,
|
|
3896
3909
|
bridge_disconnected2,
|
|
@@ -3898,7 +3911,8 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
|
3898
3911
|
salto_ks_subscription_limit_exceeded3,
|
|
3899
3912
|
acs_system_disconnected,
|
|
3900
3913
|
account_disconnected3,
|
|
3901
|
-
salto_ks_certification_expired
|
|
3914
|
+
salto_ks_certification_expired,
|
|
3915
|
+
provider_service_unavailable2
|
|
3902
3916
|
]).describe(
|
|
3903
3917
|
"Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
3904
3918
|
);
|
|
@@ -3909,7 +3923,8 @@ zod.z.object({
|
|
|
3909
3923
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded3.optional().nullable(),
|
|
3910
3924
|
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
3911
3925
|
account_disconnected: account_disconnected3.optional().nullable(),
|
|
3912
|
-
salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
|
|
3926
|
+
salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable(),
|
|
3927
|
+
provider_service_unavailable: provider_service_unavailable2.optional().nullable()
|
|
3913
3928
|
});
|
|
3914
3929
|
var common_acs_system_warning = zod.z.object({
|
|
3915
3930
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -9752,7 +9767,8 @@ var openapi = {
|
|
|
9752
9767
|
"brivo_group",
|
|
9753
9768
|
"salto_space_group",
|
|
9754
9769
|
"dormakaba_community_access_group",
|
|
9755
|
-
"dormakaba_ambiance_access_group"
|
|
9770
|
+
"dormakaba_ambiance_access_group",
|
|
9771
|
+
"avigilon_alta_group"
|
|
9756
9772
|
],
|
|
9757
9773
|
type: "string",
|
|
9758
9774
|
"x-deprecated": "Use `external_type`."
|
|
@@ -9841,7 +9857,8 @@ var openapi = {
|
|
|
9841
9857
|
"brivo_group",
|
|
9842
9858
|
"salto_space_group",
|
|
9843
9859
|
"dormakaba_community_access_group",
|
|
9844
|
-
"dormakaba_ambiance_access_group"
|
|
9860
|
+
"dormakaba_ambiance_access_group",
|
|
9861
|
+
"avigilon_alta_group"
|
|
9845
9862
|
],
|
|
9846
9863
|
type: "string"
|
|
9847
9864
|
},
|
|
@@ -11116,6 +11133,27 @@ var openapi = {
|
|
|
11116
11133
|
},
|
|
11117
11134
|
required: ["created_at", "message", "warning_code"],
|
|
11118
11135
|
type: "object"
|
|
11136
|
+
},
|
|
11137
|
+
{
|
|
11138
|
+
description: "Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.",
|
|
11139
|
+
properties: {
|
|
11140
|
+
created_at: {
|
|
11141
|
+
description: "Date and time at which Seam created the warning.",
|
|
11142
|
+
format: "date-time",
|
|
11143
|
+
type: "string"
|
|
11144
|
+
},
|
|
11145
|
+
message: {
|
|
11146
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11147
|
+
type: "string"
|
|
11148
|
+
},
|
|
11149
|
+
warning_code: {
|
|
11150
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11151
|
+
enum: ["entrance_shares_zone"],
|
|
11152
|
+
type: "string"
|
|
11153
|
+
}
|
|
11154
|
+
},
|
|
11155
|
+
required: ["created_at", "message", "warning_code"],
|
|
11156
|
+
type: "object"
|
|
11119
11157
|
}
|
|
11120
11158
|
]
|
|
11121
11159
|
},
|
|
@@ -11321,6 +11359,27 @@ var openapi = {
|
|
|
11321
11359
|
},
|
|
11322
11360
|
required: ["created_at", "message", "error_code"],
|
|
11323
11361
|
type: "object"
|
|
11362
|
+
},
|
|
11363
|
+
{
|
|
11364
|
+
description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
11365
|
+
properties: {
|
|
11366
|
+
created_at: {
|
|
11367
|
+
description: "Date and time at which Seam created the error.",
|
|
11368
|
+
format: "date-time",
|
|
11369
|
+
type: "string"
|
|
11370
|
+
},
|
|
11371
|
+
error_code: {
|
|
11372
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
11373
|
+
enum: ["provider_service_unavailable"],
|
|
11374
|
+
type: "string"
|
|
11375
|
+
},
|
|
11376
|
+
message: {
|
|
11377
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
11378
|
+
type: "string"
|
|
11379
|
+
}
|
|
11380
|
+
},
|
|
11381
|
+
required: ["created_at", "message", "error_code"],
|
|
11382
|
+
type: "object"
|
|
11324
11383
|
}
|
|
11325
11384
|
]
|
|
11326
11385
|
},
|
|
@@ -29915,6 +29974,31 @@ var openapi = {
|
|
|
29915
29974
|
"warning_code"
|
|
29916
29975
|
],
|
|
29917
29976
|
type: "object"
|
|
29977
|
+
},
|
|
29978
|
+
{
|
|
29979
|
+
description: "Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.",
|
|
29980
|
+
properties: {
|
|
29981
|
+
created_at: {
|
|
29982
|
+
description: "Date and time at which Seam created the warning.",
|
|
29983
|
+
format: "date-time",
|
|
29984
|
+
type: "string"
|
|
29985
|
+
},
|
|
29986
|
+
message: {
|
|
29987
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
29988
|
+
type: "string"
|
|
29989
|
+
},
|
|
29990
|
+
warning_code: {
|
|
29991
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
29992
|
+
enum: ["entrance_shares_zone"],
|
|
29993
|
+
type: "string"
|
|
29994
|
+
}
|
|
29995
|
+
},
|
|
29996
|
+
required: [
|
|
29997
|
+
"created_at",
|
|
29998
|
+
"message",
|
|
29999
|
+
"warning_code"
|
|
30000
|
+
],
|
|
30001
|
+
type: "object"
|
|
29918
30002
|
}
|
|
29919
30003
|
]
|
|
29920
30004
|
},
|
|
@@ -32403,7 +32487,8 @@ var openapi = {
|
|
|
32403
32487
|
"brivo_group",
|
|
32404
32488
|
"salto_space_group",
|
|
32405
32489
|
"dormakaba_community_access_group",
|
|
32406
|
-
"dormakaba_ambiance_access_group"
|
|
32490
|
+
"dormakaba_ambiance_access_group",
|
|
32491
|
+
"avigilon_alta_group"
|
|
32407
32492
|
],
|
|
32408
32493
|
type: "string",
|
|
32409
32494
|
"x-deprecated": "Use `external_type`."
|
|
@@ -32492,7 +32577,8 @@ var openapi = {
|
|
|
32492
32577
|
"brivo_group",
|
|
32493
32578
|
"salto_space_group",
|
|
32494
32579
|
"dormakaba_community_access_group",
|
|
32495
|
-
"dormakaba_ambiance_access_group"
|
|
32580
|
+
"dormakaba_ambiance_access_group",
|
|
32581
|
+
"avigilon_alta_group"
|
|
32496
32582
|
],
|
|
32497
32583
|
type: "string"
|
|
32498
32584
|
},
|