@seamapi/types 1.846.0 → 1.848.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 +81 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +239 -80
- package/dist/index.cjs +81 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +6 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +8 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.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/batch.d.ts +67 -28
- package/lib/seam/connect/models/phones/phone-session.d.ts +110 -28
- package/lib/seam/connect/openapi.js +60 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +129 -36
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +12 -0
- 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/openapi.ts +70 -0
- package/src/lib/seam/connect/route-types.ts +228 -88
package/dist/index.cjs
CHANGED
|
@@ -2656,6 +2656,12 @@ var unmanaged_access_code = access_code.pick({
|
|
|
2656
2656
|
status: zod.z.enum(["set", "unset"]).describe(
|
|
2657
2657
|
"Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device."
|
|
2658
2658
|
),
|
|
2659
|
+
cannot_be_managed: zod.z.literal(true).optional().describe(
|
|
2660
|
+
"Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations."
|
|
2661
|
+
),
|
|
2662
|
+
cannot_delete_unmanaged_access_code: zod.z.literal(true).optional().describe(
|
|
2663
|
+
"Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app."
|
|
2664
|
+
),
|
|
2659
2665
|
dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
|
|
2660
2666
|
"Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
|
|
2661
2667
|
)
|
|
@@ -3187,7 +3193,8 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
3187
3193
|
"brivo_group",
|
|
3188
3194
|
"salto_space_group",
|
|
3189
3195
|
"dormakaba_community_access_group",
|
|
3190
|
-
"dormakaba_ambiance_access_group"
|
|
3196
|
+
"dormakaba_ambiance_access_group",
|
|
3197
|
+
"avigilon_alta_group"
|
|
3191
3198
|
]);
|
|
3192
3199
|
var common_acs_access_group_error = zod.z.object({
|
|
3193
3200
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
@@ -3721,13 +3728,20 @@ var salto_ks_entrance_access_code_support_removed = common_acs_entrance_warning.
|
|
|
3721
3728
|
}).describe(
|
|
3722
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."
|
|
3723
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
|
+
);
|
|
3724
3736
|
var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
|
|
3725
|
-
salto_ks_entrance_access_code_support_removed
|
|
3737
|
+
salto_ks_entrance_access_code_support_removed,
|
|
3738
|
+
entrance_shares_zone
|
|
3726
3739
|
]).describe(
|
|
3727
3740
|
"Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3728
3741
|
);
|
|
3729
3742
|
zod.z.object({
|
|
3730
|
-
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()
|
|
3731
3745
|
});
|
|
3732
3746
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3733
3747
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
@@ -9746,7 +9760,8 @@ var openapi = {
|
|
|
9746
9760
|
"brivo_group",
|
|
9747
9761
|
"salto_space_group",
|
|
9748
9762
|
"dormakaba_community_access_group",
|
|
9749
|
-
"dormakaba_ambiance_access_group"
|
|
9763
|
+
"dormakaba_ambiance_access_group",
|
|
9764
|
+
"avigilon_alta_group"
|
|
9750
9765
|
],
|
|
9751
9766
|
type: "string",
|
|
9752
9767
|
"x-deprecated": "Use `external_type`."
|
|
@@ -9835,7 +9850,8 @@ var openapi = {
|
|
|
9835
9850
|
"brivo_group",
|
|
9836
9851
|
"salto_space_group",
|
|
9837
9852
|
"dormakaba_community_access_group",
|
|
9838
|
-
"dormakaba_ambiance_access_group"
|
|
9853
|
+
"dormakaba_ambiance_access_group",
|
|
9854
|
+
"avigilon_alta_group"
|
|
9839
9855
|
],
|
|
9840
9856
|
type: "string"
|
|
9841
9857
|
},
|
|
@@ -11110,6 +11126,27 @@ var openapi = {
|
|
|
11110
11126
|
},
|
|
11111
11127
|
required: ["created_at", "message", "warning_code"],
|
|
11112
11128
|
type: "object"
|
|
11129
|
+
},
|
|
11130
|
+
{
|
|
11131
|
+
description: "Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.",
|
|
11132
|
+
properties: {
|
|
11133
|
+
created_at: {
|
|
11134
|
+
description: "Date and time at which Seam created the warning.",
|
|
11135
|
+
format: "date-time",
|
|
11136
|
+
type: "string"
|
|
11137
|
+
},
|
|
11138
|
+
message: {
|
|
11139
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
11140
|
+
type: "string"
|
|
11141
|
+
},
|
|
11142
|
+
warning_code: {
|
|
11143
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
11144
|
+
enum: ["entrance_shares_zone"],
|
|
11145
|
+
type: "string"
|
|
11146
|
+
}
|
|
11147
|
+
},
|
|
11148
|
+
required: ["created_at", "message", "warning_code"],
|
|
11149
|
+
type: "object"
|
|
11113
11150
|
}
|
|
11114
11151
|
]
|
|
11115
11152
|
},
|
|
@@ -29909,6 +29946,31 @@ var openapi = {
|
|
|
29909
29946
|
"warning_code"
|
|
29910
29947
|
],
|
|
29911
29948
|
type: "object"
|
|
29949
|
+
},
|
|
29950
|
+
{
|
|
29951
|
+
description: "Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.",
|
|
29952
|
+
properties: {
|
|
29953
|
+
created_at: {
|
|
29954
|
+
description: "Date and time at which Seam created the warning.",
|
|
29955
|
+
format: "date-time",
|
|
29956
|
+
type: "string"
|
|
29957
|
+
},
|
|
29958
|
+
message: {
|
|
29959
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
29960
|
+
type: "string"
|
|
29961
|
+
},
|
|
29962
|
+
warning_code: {
|
|
29963
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
29964
|
+
enum: ["entrance_shares_zone"],
|
|
29965
|
+
type: "string"
|
|
29966
|
+
}
|
|
29967
|
+
},
|
|
29968
|
+
required: [
|
|
29969
|
+
"created_at",
|
|
29970
|
+
"message",
|
|
29971
|
+
"warning_code"
|
|
29972
|
+
],
|
|
29973
|
+
type: "object"
|
|
29912
29974
|
}
|
|
29913
29975
|
]
|
|
29914
29976
|
},
|
|
@@ -30828,6 +30890,16 @@ var openapi = {
|
|
|
30828
30890
|
format: "uuid",
|
|
30829
30891
|
type: "string"
|
|
30830
30892
|
},
|
|
30893
|
+
cannot_be_managed: {
|
|
30894
|
+
description: "Indicates that Seam cannot convert this unmanaged access code to a managed access code. Some providers do not support management of unmanaged access codes through API integrations.",
|
|
30895
|
+
enum: [true],
|
|
30896
|
+
type: "boolean"
|
|
30897
|
+
},
|
|
30898
|
+
cannot_delete_unmanaged_access_code: {
|
|
30899
|
+
description: "Indicates that Seam cannot delete this unmanaged access code through the provider. If this access code needs to be deleted, it will only be possible from the manufacturer app.",
|
|
30900
|
+
enum: [true],
|
|
30901
|
+
type: "boolean"
|
|
30902
|
+
},
|
|
30831
30903
|
code: {
|
|
30832
30904
|
description: "Code used for access. Typically, a numeric or alphanumeric string.",
|
|
30833
30905
|
nullable: true,
|
|
@@ -32387,7 +32459,8 @@ var openapi = {
|
|
|
32387
32459
|
"brivo_group",
|
|
32388
32460
|
"salto_space_group",
|
|
32389
32461
|
"dormakaba_community_access_group",
|
|
32390
|
-
"dormakaba_ambiance_access_group"
|
|
32462
|
+
"dormakaba_ambiance_access_group",
|
|
32463
|
+
"avigilon_alta_group"
|
|
32391
32464
|
],
|
|
32392
32465
|
type: "string",
|
|
32393
32466
|
"x-deprecated": "Use `external_type`."
|
|
@@ -32476,7 +32549,8 @@ var openapi = {
|
|
|
32476
32549
|
"brivo_group",
|
|
32477
32550
|
"salto_space_group",
|
|
32478
32551
|
"dormakaba_community_access_group",
|
|
32479
|
-
"dormakaba_ambiance_access_group"
|
|
32552
|
+
"dormakaba_ambiance_access_group",
|
|
32553
|
+
"avigilon_alta_group"
|
|
32480
32554
|
],
|
|
32481
32555
|
type: "string"
|
|
32482
32556
|
},
|