@seamapi/types 1.828.0 → 1.830.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.
Files changed (29) hide show
  1. package/dist/connect.cjs +114 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +324 -32
  4. package/dist/index.cjs +114 -5
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +43 -0
  7. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  10. package/lib/seam/connect/models/acs/acs-system.js +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  12. package/lib/seam/connect/models/acs/metadata/avigilon-alta.d.ts +27 -0
  13. package/lib/seam/connect/models/acs/metadata/avigilon-alta.js +17 -0
  14. package/lib/seam/connect/models/acs/metadata/avigilon-alta.js.map +1 -0
  15. package/lib/seam/connect/models/batch.d.ts +71 -10
  16. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -2
  17. package/lib/seam/connect/models/devices/device-provider.js +3 -2
  18. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  19. package/lib/seam/connect/models/phones/phone-session.d.ts +176 -0
  20. package/lib/seam/connect/openapi.js +96 -2
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +203 -16
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
  26. package/src/lib/seam/connect/models/acs/metadata/avigilon-alta.ts +21 -0
  27. package/src/lib/seam/connect/models/devices/device-provider.ts +3 -2
  28. package/src/lib/seam/connect/openapi.ts +106 -2
  29. package/src/lib/seam/connect/route-types.ts +225 -14
package/dist/connect.cjs CHANGED
@@ -1976,6 +1976,7 @@ var DEVICE_PROVIDERS = {
1976
1976
  ASSA_ABLOY_CREDENTIAL_SERVICE: "assa_abloy_credential_service",
1977
1977
  TEDEE: "tedee",
1978
1978
  HONEYWELL_RESIDEO: "honeywell_resideo",
1979
+ FIRST_ALERT: "first_alert",
1979
1980
  LATCH: "latch",
1980
1981
  AKILES: "akiles",
1981
1982
  VOSTIO: "assa_abloy_vostio",
@@ -2043,8 +2044,8 @@ var PROVIDER_CATEGORY_MAP = {
2043
2044
  "ultraloq",
2044
2045
  "dormakaba_oracode"
2045
2046
  ],
2046
- beta: ["korelock"],
2047
- thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
2047
+ beta: ["korelock", "first_alert"],
2048
+ thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
2048
2049
  noise_sensors: ["minut", "noiseaware"],
2049
2050
  access_control_systems: [
2050
2051
  "brivo",
@@ -3673,6 +3674,17 @@ var acs_encoder = zod.z.object({
3673
3674
 
3674
3675
  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
3676
  `);
3677
+ var acs_entrance_avigilon_alta_metadata = zod.z.object({
3678
+ entry_name: zod.z.string().describe("Entry name for an Avigilon Alta system."),
3679
+ org_name: zod.z.string().describe("Organization name for an Avigilon Alta system."),
3680
+ zone_id: zod.z.number().describe("Zone ID for an Avigilon Alta system."),
3681
+ zone_name: zod.z.string().describe("Zone name for an Avigilon Alta system."),
3682
+ site_id: zod.z.number().describe("Site ID for an Avigilon Alta system."),
3683
+ site_name: zod.z.string().describe("Site name for an Avigilon Alta system."),
3684
+ entry_relays_total_count: zod.z.number().describe("Total count of entry relays for an Avigilon Alta system.")
3685
+ }).describe("Avigilon Alta-specific metadata associated with the entrance.");
3686
+
3687
+ // src/lib/seam/connect/models/acs/acs-entrance.ts
3676
3688
  var acs_entrance_capability_flags = zod.z.object({
3677
3689
  can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
3678
3690
  "Indicates whether the ACS entrance can be unlocked with mobile key credentials."
@@ -3745,6 +3757,9 @@ var acs_entrance = zod.z.object({
3745
3757
  ),
3746
3758
  brivo_metadata: acs_entrance_brivo_metadata.optional().describe(
3747
3759
  "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3760
+ ),
3761
+ avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata.optional().describe(
3762
+ "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3748
3763
  )
3749
3764
  }).merge(acs_entrance_capability_flags).describe(`
3750
3765
  ---
@@ -3765,7 +3780,7 @@ var acs_location = zod.z.object({
3765
3780
  });
3766
3781
  var acs_system_external_type = zod.z.enum([
3767
3782
  "pti_site",
3768
- "alta_org",
3783
+ "avigilon_alta_org",
3769
3784
  "salto_ks_site",
3770
3785
  "salto_space_system",
3771
3786
  "brivo_account",
@@ -10695,6 +10710,52 @@ var openapi = {
10695
10710
  required: ["door_type", "door_name"],
10696
10711
  type: "object"
10697
10712
  },
10713
+ avigilon_alta_metadata: {
10714
+ description: "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
10715
+ properties: {
10716
+ entry_name: {
10717
+ description: "Entry name for an Avigilon Alta system.",
10718
+ type: "string"
10719
+ },
10720
+ entry_relays_total_count: {
10721
+ description: "Total count of entry relays for an Avigilon Alta system.",
10722
+ format: "float",
10723
+ type: "number"
10724
+ },
10725
+ org_name: {
10726
+ description: "Organization name for an Avigilon Alta system.",
10727
+ type: "string"
10728
+ },
10729
+ site_id: {
10730
+ description: "Site ID for an Avigilon Alta system.",
10731
+ format: "float",
10732
+ type: "number"
10733
+ },
10734
+ site_name: {
10735
+ description: "Site name for an Avigilon Alta system.",
10736
+ type: "string"
10737
+ },
10738
+ zone_id: {
10739
+ description: "Zone ID for an Avigilon Alta system.",
10740
+ format: "float",
10741
+ type: "number"
10742
+ },
10743
+ zone_name: {
10744
+ description: "Zone name for an Avigilon Alta system.",
10745
+ type: "string"
10746
+ }
10747
+ },
10748
+ required: [
10749
+ "entry_name",
10750
+ "org_name",
10751
+ "zone_id",
10752
+ "zone_name",
10753
+ "site_id",
10754
+ "site_name",
10755
+ "entry_relays_total_count"
10756
+ ],
10757
+ type: "object"
10758
+ },
10698
10759
  brivo_metadata: {
10699
10760
  description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
10700
10761
  properties: {
@@ -11166,7 +11227,7 @@ var openapi = {
11166
11227
  description: "Brand-specific terminology for the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) type.",
11167
11228
  enum: [
11168
11229
  "pti_site",
11169
- "alta_org",
11230
+ "avigilon_alta_org",
11170
11231
  "salto_ks_site",
11171
11232
  "salto_space_system",
11172
11233
  "brivo_account",
@@ -11218,7 +11279,7 @@ var openapi = {
11218
11279
  deprecated: true,
11219
11280
  enum: [
11220
11281
  "pti_site",
11221
- "alta_org",
11282
+ "avigilon_alta_org",
11222
11283
  "salto_ks_site",
11223
11284
  "salto_space_system",
11224
11285
  "brivo_account",
@@ -20798,6 +20859,7 @@ var openapi = {
20798
20859
  "assa_abloy_credential_service",
20799
20860
  "tedee",
20800
20861
  "honeywell_resideo",
20862
+ "first_alert",
20801
20863
  "latch",
20802
20864
  "akiles",
20803
20865
  "assa_abloy_vostio",
@@ -29302,6 +29364,52 @@ var openapi = {
29302
29364
  required: ["door_type", "door_name"],
29303
29365
  type: "object"
29304
29366
  },
29367
+ avigilon_alta_metadata: {
29368
+ description: "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
29369
+ properties: {
29370
+ entry_name: {
29371
+ description: "Entry name for an Avigilon Alta system.",
29372
+ type: "string"
29373
+ },
29374
+ entry_relays_total_count: {
29375
+ description: "Total count of entry relays for an Avigilon Alta system.",
29376
+ format: "float",
29377
+ type: "number"
29378
+ },
29379
+ org_name: {
29380
+ description: "Organization name for an Avigilon Alta system.",
29381
+ type: "string"
29382
+ },
29383
+ site_id: {
29384
+ description: "Site ID for an Avigilon Alta system.",
29385
+ format: "float",
29386
+ type: "number"
29387
+ },
29388
+ site_name: {
29389
+ description: "Site name for an Avigilon Alta system.",
29390
+ type: "string"
29391
+ },
29392
+ zone_id: {
29393
+ description: "Zone ID for an Avigilon Alta system.",
29394
+ format: "float",
29395
+ type: "number"
29396
+ },
29397
+ zone_name: {
29398
+ description: "Zone name for an Avigilon Alta system.",
29399
+ type: "string"
29400
+ }
29401
+ },
29402
+ required: [
29403
+ "entry_name",
29404
+ "org_name",
29405
+ "zone_id",
29406
+ "zone_name",
29407
+ "site_id",
29408
+ "site_name",
29409
+ "entry_relays_total_count"
29410
+ ],
29411
+ type: "object"
29412
+ },
29305
29413
  brivo_metadata: {
29306
29414
  description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
29307
29415
  properties: {
@@ -51772,6 +51880,7 @@ var openapi = {
51772
51880
  "assa_abloy_credential_service",
51773
51881
  "tedee",
51774
51882
  "honeywell_resideo",
51883
+ "first_alert",
51775
51884
  "latch",
51776
51885
  "akiles",
51777
51886
  "assa_abloy_vostio",