@seamapi/types 1.828.0 → 1.829.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 +109 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +321 -30
- package/dist/index.cjs +109 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +43 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +1 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.d.ts +27 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js +17 -0
- package/lib/seam/connect/models/acs/metadata/avigilon-alta.js.map +1 -0
- package/lib/seam/connect/models/batch.d.ts +71 -10
- package/lib/seam/connect/models/phones/phone-session.d.ts +176 -0
- package/lib/seam/connect/openapi.js +94 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +201 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/models/acs/metadata/avigilon-alta.ts +21 -0
- package/src/lib/seam/connect/openapi.ts +104 -2
- package/src/lib/seam/connect/route-types.ts +223 -14
package/dist/index.cjs
CHANGED
|
@@ -3673,6 +3673,17 @@ var acs_encoder = zod.z.object({
|
|
|
3673
3673
|
|
|
3674
3674
|
To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides#access-control-systems).
|
|
3675
3675
|
`);
|
|
3676
|
+
var acs_entrance_avigilon_alta_metadata = zod.z.object({
|
|
3677
|
+
entry_name: zod.z.string().describe("Entry name for an Avigilon Alta system."),
|
|
3678
|
+
org_name: zod.z.string().describe("Organization name for an Avigilon Alta system."),
|
|
3679
|
+
zone_id: zod.z.number().describe("Zone ID for an Avigilon Alta system."),
|
|
3680
|
+
zone_name: zod.z.string().describe("Zone name for an Avigilon Alta system."),
|
|
3681
|
+
site_id: zod.z.number().describe("Site ID for an Avigilon Alta system."),
|
|
3682
|
+
site_name: zod.z.string().describe("Site name for an Avigilon Alta system."),
|
|
3683
|
+
entry_relays_total_count: zod.z.number().describe("Total count of entry relays for an Avigilon Alta system.")
|
|
3684
|
+
}).describe("Avigilon Alta-specific metadata associated with the entrance.");
|
|
3685
|
+
|
|
3686
|
+
// src/lib/seam/connect/models/acs/acs-entrance.ts
|
|
3676
3687
|
var acs_entrance_capability_flags = zod.z.object({
|
|
3677
3688
|
can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
|
|
3678
3689
|
"Indicates whether the ACS entrance can be unlocked with mobile key credentials."
|
|
@@ -3745,6 +3756,9 @@ var acs_entrance = zod.z.object({
|
|
|
3745
3756
|
),
|
|
3746
3757
|
brivo_metadata: acs_entrance_brivo_metadata.optional().describe(
|
|
3747
3758
|
"Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3759
|
+
),
|
|
3760
|
+
avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata.optional().describe(
|
|
3761
|
+
"Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3748
3762
|
)
|
|
3749
3763
|
}).merge(acs_entrance_capability_flags).describe(`
|
|
3750
3764
|
---
|
|
@@ -3765,7 +3779,7 @@ var acs_location = zod.z.object({
|
|
|
3765
3779
|
});
|
|
3766
3780
|
var acs_system_external_type = zod.z.enum([
|
|
3767
3781
|
"pti_site",
|
|
3768
|
-
"
|
|
3782
|
+
"avigilon_alta_org",
|
|
3769
3783
|
"salto_ks_site",
|
|
3770
3784
|
"salto_space_system",
|
|
3771
3785
|
"brivo_account",
|
|
@@ -10695,6 +10709,52 @@ var openapi = {
|
|
|
10695
10709
|
required: ["door_type", "door_name"],
|
|
10696
10710
|
type: "object"
|
|
10697
10711
|
},
|
|
10712
|
+
avigilon_alta_metadata: {
|
|
10713
|
+
description: "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
10714
|
+
properties: {
|
|
10715
|
+
entry_name: {
|
|
10716
|
+
description: "Entry name for an Avigilon Alta system.",
|
|
10717
|
+
type: "string"
|
|
10718
|
+
},
|
|
10719
|
+
entry_relays_total_count: {
|
|
10720
|
+
description: "Total count of entry relays for an Avigilon Alta system.",
|
|
10721
|
+
format: "float",
|
|
10722
|
+
type: "number"
|
|
10723
|
+
},
|
|
10724
|
+
org_name: {
|
|
10725
|
+
description: "Organization name for an Avigilon Alta system.",
|
|
10726
|
+
type: "string"
|
|
10727
|
+
},
|
|
10728
|
+
site_id: {
|
|
10729
|
+
description: "Site ID for an Avigilon Alta system.",
|
|
10730
|
+
format: "float",
|
|
10731
|
+
type: "number"
|
|
10732
|
+
},
|
|
10733
|
+
site_name: {
|
|
10734
|
+
description: "Site name for an Avigilon Alta system.",
|
|
10735
|
+
type: "string"
|
|
10736
|
+
},
|
|
10737
|
+
zone_id: {
|
|
10738
|
+
description: "Zone ID for an Avigilon Alta system.",
|
|
10739
|
+
format: "float",
|
|
10740
|
+
type: "number"
|
|
10741
|
+
},
|
|
10742
|
+
zone_name: {
|
|
10743
|
+
description: "Zone name for an Avigilon Alta system.",
|
|
10744
|
+
type: "string"
|
|
10745
|
+
}
|
|
10746
|
+
},
|
|
10747
|
+
required: [
|
|
10748
|
+
"entry_name",
|
|
10749
|
+
"org_name",
|
|
10750
|
+
"zone_id",
|
|
10751
|
+
"zone_name",
|
|
10752
|
+
"site_id",
|
|
10753
|
+
"site_name",
|
|
10754
|
+
"entry_relays_total_count"
|
|
10755
|
+
],
|
|
10756
|
+
type: "object"
|
|
10757
|
+
},
|
|
10698
10758
|
brivo_metadata: {
|
|
10699
10759
|
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
10700
10760
|
properties: {
|
|
@@ -11166,7 +11226,7 @@ var openapi = {
|
|
|
11166
11226
|
description: "Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type.",
|
|
11167
11227
|
enum: [
|
|
11168
11228
|
"pti_site",
|
|
11169
|
-
"
|
|
11229
|
+
"avigilon_alta_org",
|
|
11170
11230
|
"salto_ks_site",
|
|
11171
11231
|
"salto_space_system",
|
|
11172
11232
|
"brivo_account",
|
|
@@ -11218,7 +11278,7 @@ var openapi = {
|
|
|
11218
11278
|
deprecated: true,
|
|
11219
11279
|
enum: [
|
|
11220
11280
|
"pti_site",
|
|
11221
|
-
"
|
|
11281
|
+
"avigilon_alta_org",
|
|
11222
11282
|
"salto_ks_site",
|
|
11223
11283
|
"salto_space_system",
|
|
11224
11284
|
"brivo_account",
|
|
@@ -29302,6 +29362,52 @@ var openapi = {
|
|
|
29302
29362
|
required: ["door_type", "door_name"],
|
|
29303
29363
|
type: "object"
|
|
29304
29364
|
},
|
|
29365
|
+
avigilon_alta_metadata: {
|
|
29366
|
+
description: "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
29367
|
+
properties: {
|
|
29368
|
+
entry_name: {
|
|
29369
|
+
description: "Entry name for an Avigilon Alta system.",
|
|
29370
|
+
type: "string"
|
|
29371
|
+
},
|
|
29372
|
+
entry_relays_total_count: {
|
|
29373
|
+
description: "Total count of entry relays for an Avigilon Alta system.",
|
|
29374
|
+
format: "float",
|
|
29375
|
+
type: "number"
|
|
29376
|
+
},
|
|
29377
|
+
org_name: {
|
|
29378
|
+
description: "Organization name for an Avigilon Alta system.",
|
|
29379
|
+
type: "string"
|
|
29380
|
+
},
|
|
29381
|
+
site_id: {
|
|
29382
|
+
description: "Site ID for an Avigilon Alta system.",
|
|
29383
|
+
format: "float",
|
|
29384
|
+
type: "number"
|
|
29385
|
+
},
|
|
29386
|
+
site_name: {
|
|
29387
|
+
description: "Site name for an Avigilon Alta system.",
|
|
29388
|
+
type: "string"
|
|
29389
|
+
},
|
|
29390
|
+
zone_id: {
|
|
29391
|
+
description: "Zone ID for an Avigilon Alta system.",
|
|
29392
|
+
format: "float",
|
|
29393
|
+
type: "number"
|
|
29394
|
+
},
|
|
29395
|
+
zone_name: {
|
|
29396
|
+
description: "Zone name for an Avigilon Alta system.",
|
|
29397
|
+
type: "string"
|
|
29398
|
+
}
|
|
29399
|
+
},
|
|
29400
|
+
required: [
|
|
29401
|
+
"entry_name",
|
|
29402
|
+
"org_name",
|
|
29403
|
+
"zone_id",
|
|
29404
|
+
"zone_name",
|
|
29405
|
+
"site_id",
|
|
29406
|
+
"site_name",
|
|
29407
|
+
"entry_relays_total_count"
|
|
29408
|
+
],
|
|
29409
|
+
type: "object"
|
|
29410
|
+
},
|
|
29305
29411
|
brivo_metadata: {
|
|
29306
29412
|
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
29307
29413
|
properties: {
|