@seamapi/types 1.977.0 → 1.979.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 (38) hide show
  1. package/dist/connect.cjs +185 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +722 -57
  4. package/dist/index.cjs +185 -22
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +49 -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 -0
  11. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  12. package/lib/seam/connect/models/acs/metadata/akiles.d.ts +33 -0
  13. package/lib/seam/connect/models/acs/metadata/akiles.js +25 -0
  14. package/lib/seam/connect/models/acs/metadata/akiles.js.map +1 -0
  15. package/lib/seam/connect/models/devices/device-metadata.d.ts +48 -0
  16. package/lib/seam/connect/models/devices/device-metadata.js +40 -0
  17. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  19. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  20. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  21. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  22. package/lib/seam/connect/models/devices/device-type.js +1 -0
  23. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +71 -3
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +51 -3
  26. package/lib/seam/connect/models/phones/phone-session.d.ts +188 -0
  27. package/lib/seam/connect/openapi.js +136 -0
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +544 -45
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  32. package/src/lib/seam/connect/models/acs/acs-system.ts +1 -0
  33. package/src/lib/seam/connect/models/acs/metadata/akiles.ts +31 -0
  34. package/src/lib/seam/connect/models/devices/device-metadata.ts +41 -0
  35. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  36. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  37. package/src/lib/seam/connect/openapi.ts +147 -0
  38. package/src/lib/seam/connect/route-types.ts +663 -0
package/dist/connect.cjs CHANGED
@@ -1259,7 +1259,17 @@ var device_metadata = zod.z.object({
1259
1259
  lock_name: zod.z.string().optional().describe(`Lock name for a Kisi device.`),
1260
1260
  place_name: zod.z.string().nullable().optional().describe(`Place name for a Kisi device.`),
1261
1261
  description: zod.z.string().nullable().optional().describe(`Description for a Kisi device.`)
1262
- }).partial().describe(`Metadata for a Kisi device.`)
1262
+ }).partial().describe(`Metadata for a Kisi device.`),
1263
+ aqara_metadata: zod.z.object({
1264
+ did: zod.z.string().optional().describe(`Device ID (did) for an Aqara device.`),
1265
+ parent_did: zod.z.string().optional().describe(`Parent gateway device ID for an Aqara device.`),
1266
+ device_name: zod.z.string().optional().describe(`Device name for an Aqara device.`),
1267
+ model: zod.z.string().optional().describe(`Model identifier for an Aqara device.`),
1268
+ model_type: zod.z.number().optional().describe(`Model type for an Aqara device.`),
1269
+ time_zone: zod.z.string().nullable().optional().describe(`Time zone reported for an Aqara device (e.g. GMT-07:00).`),
1270
+ position_id: zod.z.string().nullable().optional().describe(`Position (room) ID for an Aqara device.`),
1271
+ firmware_version: zod.z.string().nullable().optional().describe(`Firmware version for an Aqara device.`)
1272
+ }).partial().describe(`Metadata for an Aqara device.`)
1263
1273
  }).partial().describe(`
1264
1274
  ---
1265
1275
  property_group_key: provider_metadata
@@ -1295,7 +1305,8 @@ var LOCK_DEVICE_TYPE = {
1295
1305
  ULTRALOQ_LOCK: "ultraloq_lock",
1296
1306
  KEYINCODE_LOCK: "keyincode_lock",
1297
1307
  OMNITEC_LOCK: "omnitec_lock",
1298
- KISI_LOCK: "kisi_lock"
1308
+ KISI_LOCK: "kisi_lock",
1309
+ AQARA_LOCK: "aqara_lock"
1299
1310
  };
1300
1311
  var lock_device_type = zod.z.enum(
1301
1312
  Object.values(LOCK_DEVICE_TYPE)
@@ -2255,7 +2266,8 @@ var DEVICE_PROVIDERS = {
2255
2266
  GUESTY: "guesty",
2256
2267
  ACUITY_SCHEDULING: "acuity_scheduling",
2257
2268
  OMNITEC: "omnitec",
2258
- KISI: "kisi"
2269
+ KISI: "kisi",
2270
+ AQARA: "aqara"
2259
2271
  };
2260
2272
  var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
2261
2273
  var PROVIDER_CATEGORY_MAP = {
@@ -2323,7 +2335,7 @@ var PROVIDER_CATEGORY_MAP = {
2323
2335
  "sifely",
2324
2336
  "thirty_three_lock"
2325
2337
  ],
2326
- beta: ["salto_ks_accept"],
2338
+ beta: ["salto_ks_accept", "aqara"],
2327
2339
  thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
2328
2340
  noise_sensors: ["minut", "noiseaware"],
2329
2341
  access_control_systems: [
@@ -3981,6 +3993,17 @@ var acs_encoder = zod.z.object({
3981
3993
 
3982
3994
  To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/device-and-system-integration-guides#access-control-systems).
3983
3995
  `);
3996
+ var acs_entrance_akiles_metadata = zod.z.object({
3997
+ gadget_id: zod.z.string().optional().describe("ID of the Akiles gadget."),
3998
+ site_id: zod.z.string().optional().describe("ID of the Akiles site the gadget belongs to."),
3999
+ site_name: zod.z.string().optional().describe("Name of the Akiles site the gadget belongs to."),
4000
+ actions: zod.z.array(
4001
+ zod.z.object({
4002
+ id: zod.z.string().optional().describe("ID of the gadget action."),
4003
+ name: zod.z.string().optional().describe("Name of the gadget action.")
4004
+ }).partial()
4005
+ ).optional().describe("Actions the gadget exposes (for example, open).")
4006
+ }).partial().describe("Akiles-specific metadata for the entrance.");
3984
4007
  var acs_entrance_avigilon_alta_metadata = zod.z.object({
3985
4008
  entry_name: zod.z.string().optional().describe("Entry name for an Avigilon Alta system."),
3986
4009
  org_name: zod.z.string().optional().describe("Organization name for an Avigilon Alta system."),
@@ -4120,6 +4143,9 @@ var acs_entrance = zod.z.object({
4120
4143
  avigilon_alta_metadata: acs_entrance_avigilon_alta_metadata.optional().describe(
4121
4144
  "Avigilon Alta-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details)."
4122
4145
  ),
4146
+ akiles_metadata: acs_entrance_akiles_metadata.optional().describe(
4147
+ "Akiles-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details)."
4148
+ ),
4123
4149
  is_locked: zod.z.boolean().optional().describe(
4124
4150
  "Indicates whether the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) is currently locked."
4125
4151
  )
@@ -4156,7 +4182,8 @@ var acs_system_external_type = zod.z.enum([
4156
4182
  "assa_abloy_vostio",
4157
4183
  "assa_abloy_vostio_credential_service",
4158
4184
  "hotek_site",
4159
- "kisi_organization"
4185
+ "kisi_organization",
4186
+ "akiles_organization"
4160
4187
  ]);
4161
4188
  var common_acs_system_error = zod.z.object({
4162
4189
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
@@ -11039,6 +11066,41 @@ var openapi = {
11039
11066
  format: "uuid",
11040
11067
  type: "string"
11041
11068
  },
11069
+ akiles_metadata: {
11070
+ description: "Akiles-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
11071
+ properties: {
11072
+ actions: {
11073
+ description: "Actions the gadget exposes (for example, open).",
11074
+ items: {
11075
+ properties: {
11076
+ id: {
11077
+ description: "ID of the gadget action.",
11078
+ type: "string"
11079
+ },
11080
+ name: {
11081
+ description: "Name of the gadget action.",
11082
+ type: "string"
11083
+ }
11084
+ },
11085
+ type: "object"
11086
+ },
11087
+ type: "array"
11088
+ },
11089
+ gadget_id: {
11090
+ description: "ID of the Akiles gadget.",
11091
+ type: "string"
11092
+ },
11093
+ site_id: {
11094
+ description: "ID of the Akiles site the gadget belongs to.",
11095
+ type: "string"
11096
+ },
11097
+ site_name: {
11098
+ description: "Name of the Akiles site the gadget belongs to.",
11099
+ type: "string"
11100
+ }
11101
+ },
11102
+ type: "object"
11103
+ },
11042
11104
  assa_abloy_vostio_metadata: {
11043
11105
  description: "ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
11044
11106
  properties: {
@@ -11734,7 +11796,8 @@ var openapi = {
11734
11796
  "assa_abloy_vostio",
11735
11797
  "assa_abloy_vostio_credential_service",
11736
11798
  "hotek_site",
11737
- "kisi_organization"
11799
+ "kisi_organization",
11800
+ "akiles_organization"
11738
11801
  ],
11739
11802
  type: "string"
11740
11803
  },
@@ -11788,7 +11851,8 @@ var openapi = {
11788
11851
  "assa_abloy_vostio",
11789
11852
  "assa_abloy_vostio_credential_service",
11790
11853
  "hotek_site",
11791
- "kisi_organization"
11854
+ "kisi_organization",
11855
+ "akiles_organization"
11792
11856
  ],
11793
11857
  type: "string",
11794
11858
  "x-deprecated": "Use `external_type`."
@@ -19135,7 +19199,8 @@ var openapi = {
19135
19199
  "ultraloq_lock",
19136
19200
  "keyincode_lock",
19137
19201
  "omnitec_lock",
19138
- "kisi_lock"
19202
+ "kisi_lock",
19203
+ "aqara_lock"
19139
19204
  ],
19140
19205
  type: "string"
19141
19206
  },
@@ -19926,6 +19991,48 @@ var openapi = {
19926
19991
  },
19927
19992
  type: "object"
19928
19993
  },
19994
+ aqara_metadata: {
19995
+ description: "Metadata for an Aqara device.",
19996
+ properties: {
19997
+ device_name: {
19998
+ description: "Device name for an Aqara device.",
19999
+ type: "string"
20000
+ },
20001
+ did: {
20002
+ description: "Device ID (did) for an Aqara device.",
20003
+ type: "string"
20004
+ },
20005
+ firmware_version: {
20006
+ description: "Firmware version for an Aqara device.",
20007
+ nullable: true,
20008
+ type: "string"
20009
+ },
20010
+ model: {
20011
+ description: "Model identifier for an Aqara device.",
20012
+ type: "string"
20013
+ },
20014
+ model_type: {
20015
+ description: "Model type for an Aqara device.",
20016
+ format: "float",
20017
+ type: "number"
20018
+ },
20019
+ parent_did: {
20020
+ description: "Parent gateway device ID for an Aqara device.",
20021
+ type: "string"
20022
+ },
20023
+ position_id: {
20024
+ description: "Position (room) ID for an Aqara device.",
20025
+ nullable: true,
20026
+ type: "string"
20027
+ },
20028
+ time_zone: {
20029
+ description: "Time zone reported for an Aqara device (e.g. GMT-07:00).",
20030
+ nullable: true,
20031
+ type: "string"
20032
+ }
20033
+ },
20034
+ type: "object"
20035
+ },
19929
20036
  assa_abloy_vostio_metadata: {
19930
20037
  description: "Metadata for an ASSA ABLOY Vostio system.",
19931
20038
  properties: {
@@ -22929,7 +23036,8 @@ var openapi = {
22929
23036
  "guesty",
22930
23037
  "acuity_scheduling",
22931
23038
  "omnitec",
22932
- "kisi"
23039
+ "kisi",
23040
+ "aqara"
22933
23041
  ],
22934
23042
  type: "string"
22935
23043
  },
@@ -32573,6 +32681,41 @@ var openapi = {
32573
32681
  format: "uuid",
32574
32682
  type: "string"
32575
32683
  },
32684
+ akiles_metadata: {
32685
+ description: "Akiles-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
32686
+ properties: {
32687
+ actions: {
32688
+ description: "Actions the gadget exposes (for example, open).",
32689
+ items: {
32690
+ properties: {
32691
+ id: {
32692
+ description: "ID of the gadget action.",
32693
+ type: "string"
32694
+ },
32695
+ name: {
32696
+ description: "Name of the gadget action.",
32697
+ type: "string"
32698
+ }
32699
+ },
32700
+ type: "object"
32701
+ },
32702
+ type: "array"
32703
+ },
32704
+ gadget_id: {
32705
+ description: "ID of the Akiles gadget.",
32706
+ type: "string"
32707
+ },
32708
+ site_id: {
32709
+ description: "ID of the Akiles site the gadget belongs to.",
32710
+ type: "string"
32711
+ },
32712
+ site_name: {
32713
+ description: "Name of the Akiles site the gadget belongs to.",
32714
+ type: "string"
32715
+ }
32716
+ },
32717
+ type: "object"
32718
+ },
32576
32719
  assa_abloy_vostio_metadata: {
32577
32720
  description: "ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).",
32578
32721
  properties: {
@@ -36966,7 +37109,8 @@ var openapi = {
36966
37109
  "ultraloq_lock",
36967
37110
  "keyincode_lock",
36968
37111
  "omnitec_lock",
36969
- "kisi_lock"
37112
+ "kisi_lock",
37113
+ "aqara_lock"
36970
37114
  ],
36971
37115
  type: "string"
36972
37116
  },
@@ -55810,6 +55954,7 @@ var openapi = {
55810
55954
  "acuity_scheduling",
55811
55955
  "omnitec",
55812
55956
  "kisi",
55957
+ "aqara",
55813
55958
  "yale_access",
55814
55959
  "hid_cm",
55815
55960
  "google_nest",
@@ -59811,7 +59956,8 @@ var openapi = {
59811
59956
  "ultraloq_lock",
59812
59957
  "keyincode_lock",
59813
59958
  "omnitec_lock",
59814
- "kisi_lock"
59959
+ "kisi_lock",
59960
+ "aqara_lock"
59815
59961
  ],
59816
59962
  type: "string"
59817
59963
  },
@@ -59888,7 +60034,8 @@ var openapi = {
59888
60034
  "ultraloq_lock",
59889
60035
  "keyincode_lock",
59890
60036
  "omnitec_lock",
59891
- "kisi_lock"
60037
+ "kisi_lock",
60038
+ "aqara_lock"
59892
60039
  ],
59893
60040
  type: "string"
59894
60041
  },
@@ -59965,6 +60112,7 @@ var openapi = {
59965
60112
  "tedee",
59966
60113
  "keyincode",
59967
60114
  "akiles",
60115
+ "aqara",
59968
60116
  "ecobee",
59969
60117
  "honeywell_resideo",
59970
60118
  "keynest",
@@ -60259,7 +60407,8 @@ var openapi = {
60259
60407
  "ultraloq_lock",
60260
60408
  "keyincode_lock",
60261
60409
  "omnitec_lock",
60262
- "kisi_lock"
60410
+ "kisi_lock",
60411
+ "aqara_lock"
60263
60412
  ],
60264
60413
  type: "string"
60265
60414
  },
@@ -60332,7 +60481,8 @@ var openapi = {
60332
60481
  "ultraloq_lock",
60333
60482
  "keyincode_lock",
60334
60483
  "omnitec_lock",
60335
- "kisi_lock"
60484
+ "kisi_lock",
60485
+ "aqara_lock"
60336
60486
  ],
60337
60487
  type: "string"
60338
60488
  },
@@ -60469,6 +60619,7 @@ var openapi = {
60469
60619
  "tedee",
60470
60620
  "keyincode",
60471
60621
  "akiles",
60622
+ "aqara",
60472
60623
  "ecobee",
60473
60624
  "honeywell_resideo",
60474
60625
  "keynest",
@@ -62574,7 +62725,8 @@ var openapi = {
62574
62725
  "ultraloq_lock",
62575
62726
  "keyincode_lock",
62576
62727
  "omnitec_lock",
62577
- "kisi_lock"
62728
+ "kisi_lock",
62729
+ "aqara_lock"
62578
62730
  ],
62579
62731
  type: "string"
62580
62732
  },
@@ -62651,7 +62803,8 @@ var openapi = {
62651
62803
  "ultraloq_lock",
62652
62804
  "keyincode_lock",
62653
62805
  "omnitec_lock",
62654
- "kisi_lock"
62806
+ "kisi_lock",
62807
+ "aqara_lock"
62655
62808
  ],
62656
62809
  type: "string"
62657
62810
  },
@@ -62728,6 +62881,7 @@ var openapi = {
62728
62881
  "tedee",
62729
62882
  "keyincode",
62730
62883
  "akiles",
62884
+ "aqara",
62731
62885
  "ecobee",
62732
62886
  "honeywell_resideo",
62733
62887
  "keynest",
@@ -63021,7 +63175,8 @@ var openapi = {
63021
63175
  "ultraloq_lock",
63022
63176
  "keyincode_lock",
63023
63177
  "omnitec_lock",
63024
- "kisi_lock"
63178
+ "kisi_lock",
63179
+ "aqara_lock"
63025
63180
  ],
63026
63181
  type: "string"
63027
63182
  },
@@ -63094,7 +63249,8 @@ var openapi = {
63094
63249
  "ultraloq_lock",
63095
63250
  "keyincode_lock",
63096
63251
  "omnitec_lock",
63097
- "kisi_lock"
63252
+ "kisi_lock",
63253
+ "aqara_lock"
63098
63254
  ],
63099
63255
  type: "string"
63100
63256
  },
@@ -63231,6 +63387,7 @@ var openapi = {
63231
63387
  "tedee",
63232
63388
  "keyincode",
63233
63389
  "akiles",
63390
+ "aqara",
63234
63391
  "ecobee",
63235
63392
  "honeywell_resideo",
63236
63393
  "keynest",
@@ -65295,7 +65452,8 @@ var openapi = {
65295
65452
  "ultraloq_lock",
65296
65453
  "keyincode_lock",
65297
65454
  "omnitec_lock",
65298
- "kisi_lock"
65455
+ "kisi_lock",
65456
+ "aqara_lock"
65299
65457
  ],
65300
65458
  type: "string"
65301
65459
  }
@@ -65336,7 +65494,8 @@ var openapi = {
65336
65494
  "ultraloq_lock",
65337
65495
  "keyincode_lock",
65338
65496
  "omnitec_lock",
65339
- "kisi_lock"
65497
+ "kisi_lock",
65498
+ "aqara_lock"
65340
65499
  ],
65341
65500
  type: "string"
65342
65501
  },
@@ -65375,6 +65534,7 @@ var openapi = {
65375
65534
  "tedee",
65376
65535
  "keyincode",
65377
65536
  "akiles",
65537
+ "aqara",
65378
65538
  "korelock",
65379
65539
  "smartthings",
65380
65540
  "ultraloq",
@@ -65652,7 +65812,8 @@ var openapi = {
65652
65812
  "ultraloq_lock",
65653
65813
  "keyincode_lock",
65654
65814
  "omnitec_lock",
65655
- "kisi_lock"
65815
+ "kisi_lock",
65816
+ "aqara_lock"
65656
65817
  ],
65657
65818
  type: "string"
65658
65819
  },
@@ -65689,7 +65850,8 @@ var openapi = {
65689
65850
  "ultraloq_lock",
65690
65851
  "keyincode_lock",
65691
65852
  "omnitec_lock",
65692
- "kisi_lock"
65853
+ "kisi_lock",
65854
+ "aqara_lock"
65693
65855
  ],
65694
65856
  type: "string"
65695
65857
  },
@@ -65788,6 +65950,7 @@ var openapi = {
65788
65950
  "tedee",
65789
65951
  "keyincode",
65790
65952
  "akiles",
65953
+ "aqara",
65791
65954
  "korelock",
65792
65955
  "smartthings",
65793
65956
  "ultraloq",