@seamapi/types 1.733.0 → 1.735.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 CHANGED
@@ -1096,6 +1096,10 @@ var device_metadata = zod.z.object({
1096
1096
  device_type: zod.z.string().describe(`Device type for an Ultraloq device.`),
1097
1097
  time_zone: zod.z.string().nullable().describe(`IANA timezone for the Ultraloq device.`)
1098
1098
  }).describe(`Metadata for an Ultraloq device.`),
1099
+ ring_metadata: zod.z.object({
1100
+ device_id: zod.z.string().describe(`Device ID for a Ring device.`),
1101
+ device_name: zod.z.string().describe(`Device name for a Ring device.`)
1102
+ }).describe(`Metadata for a Ring device.`),
1099
1103
  korelock_metadata: zod.z.object({
1100
1104
  device_id: zod.z.string().describe(`Device ID for a Korelock device.`),
1101
1105
  device_name: zod.z.string().describe(`Device name for a Korelock device.`),
@@ -1184,12 +1188,17 @@ var phone_device_type = zod.z.enum(
1184
1188
  Object.values(PHONE_DEVICE_TYPE_LIST)
1185
1189
  ).describe(`Device type for phones.
1186
1190
  `);
1191
+ var CAMERA_DEVICE_TYPE = {
1192
+ RING_CAMERA: "ring_camera"
1193
+ };
1194
+ var camera_device_type = zod.z.enum(Object.values(CAMERA_DEVICE_TYPE)).describe("Device type for cameras.");
1187
1195
  var any_device_type = zod.z.union([
1188
1196
  lock_device_type,
1189
1197
  key_device_type,
1190
1198
  noise_sensor_device_type,
1191
1199
  thermostat_device_type,
1192
- phone_device_type
1200
+ phone_device_type,
1201
+ camera_device_type
1193
1202
  ]);
1194
1203
  var phone_specific_properties = zod.z.object({
1195
1204
  assa_abloy_credential_service_metadata: zod.z.object({
@@ -15640,6 +15649,11 @@ var openapi_default = {
15640
15649
  description: "Device type for phones.\n ",
15641
15650
  enum: ["ios_phone", "android_phone"],
15642
15651
  type: "string"
15652
+ },
15653
+ {
15654
+ description: "Device type for cameras.",
15655
+ enum: ["ring_camera"],
15656
+ type: "string"
15643
15657
  }
15644
15658
  ]
15645
15659
  },
@@ -17183,6 +17197,21 @@ var openapi_default = {
17183
17197
  required: ["device_id", "device_name"],
17184
17198
  type: "object"
17185
17199
  },
17200
+ ring_metadata: {
17201
+ description: "Metadata for a Ring device.",
17202
+ properties: {
17203
+ device_id: {
17204
+ description: "Device ID for a Ring device.",
17205
+ type: "string"
17206
+ },
17207
+ device_name: {
17208
+ description: "Device name for a Ring device.",
17209
+ type: "string"
17210
+ }
17211
+ },
17212
+ required: ["device_id", "device_name"],
17213
+ type: "object"
17214
+ },
17186
17215
  salto_ks_metadata: {
17187
17216
  description: "Metadata for a Salto KS device.",
17188
17217
  properties: {
@@ -31393,6 +31422,11 @@ var openapi_default = {
31393
31422
  description: "Device type for phones.\n ",
31394
31423
  enum: ["ios_phone", "android_phone"],
31395
31424
  type: "string"
31425
+ },
31426
+ {
31427
+ description: "Device type for cameras.",
31428
+ enum: ["ring_camera"],
31429
+ type: "string"
31396
31430
  }
31397
31431
  ]
31398
31432
  },
@@ -39226,18 +39260,6 @@ var openapi_default = {
39226
39260
  delete: {
39227
39261
  description: "Deletes an access method.",
39228
39262
  operationId: "accessMethodsDeleteDelete",
39229
- parameters: [
39230
- {
39231
- in: "query",
39232
- name: "access_method_id",
39233
- required: true,
39234
- schema: {
39235
- description: "ID of access method to get.",
39236
- format: "uuid",
39237
- type: "string"
39238
- }
39239
- }
39240
- ],
39241
39263
  responses: {
39242
39264
  200: {
39243
39265
  content: {
@@ -39275,15 +39297,40 @@ var openapi_default = {
39275
39297
  content: {
39276
39298
  "application/json": {
39277
39299
  schema: {
39278
- properties: {
39279
- access_method_id: {
39280
- description: "ID of access method to get.",
39281
- format: "uuid",
39282
- type: "string"
39300
+ oneOf: [
39301
+ {
39302
+ properties: {
39303
+ access_method_id: {
39304
+ description: "ID of access method to delete.",
39305
+ format: "uuid",
39306
+ type: "string"
39307
+ }
39308
+ },
39309
+ required: ["access_method_id"],
39310
+ type: "object"
39311
+ },
39312
+ {
39313
+ properties: {
39314
+ access_grant_id: {
39315
+ description: "ID of access grant whose access methods should be deleted.",
39316
+ format: "uuid",
39317
+ type: "string"
39318
+ }
39319
+ },
39320
+ required: ["access_grant_id"],
39321
+ type: "object"
39322
+ },
39323
+ {
39324
+ properties: {
39325
+ reservation_key: {
39326
+ description: "Reservation key of the access grant whose access methods should be deleted.",
39327
+ type: "string"
39328
+ }
39329
+ },
39330
+ required: ["reservation_key"],
39331
+ type: "object"
39283
39332
  }
39284
- },
39285
- required: ["access_method_id"],
39286
- type: "object"
39333
+ ]
39287
39334
  }
39288
39335
  }
39289
39336
  }
@@ -52549,6 +52596,11 @@ var openapi_default = {
52549
52596
  description: "Device type for phones.\n ",
52550
52597
  enum: ["ios_phone", "android_phone"],
52551
52598
  type: "string"
52599
+ },
52600
+ {
52601
+ description: "Device type for cameras.",
52602
+ enum: ["ring_camera"],
52603
+ type: "string"
52552
52604
  }
52553
52605
  ]
52554
52606
  }
@@ -52619,6 +52671,11 @@ var openapi_default = {
52619
52671
  description: "Device type for phones.\n ",
52620
52672
  enum: ["ios_phone", "android_phone"],
52621
52673
  type: "string"
52674
+ },
52675
+ {
52676
+ description: "Device type for cameras.",
52677
+ enum: ["ring_camera"],
52678
+ type: "string"
52622
52679
  }
52623
52680
  ]
52624
52681
  },
@@ -52970,6 +53027,11 @@ var openapi_default = {
52970
53027
  description: "Device type for phones.\n ",
52971
53028
  enum: ["ios_phone", "android_phone"],
52972
53029
  type: "string"
53030
+ },
53031
+ {
53032
+ description: "Device type for cameras.",
53033
+ enum: ["ring_camera"],
53034
+ type: "string"
52973
53035
  }
52974
53036
  ]
52975
53037
  },
@@ -53036,6 +53098,11 @@ var openapi_default = {
53036
53098
  description: "Device type for phones.\n ",
53037
53099
  enum: ["ios_phone", "android_phone"],
53038
53100
  type: "string"
53101
+ },
53102
+ {
53103
+ description: "Device type for cameras.",
53104
+ enum: ["ring_camera"],
53105
+ type: "string"
53039
53106
  }
53040
53107
  ]
53041
53108
  },
@@ -54366,6 +54433,11 @@ var openapi_default = {
54366
54433
  description: "Device type for phones.\n ",
54367
54434
  enum: ["ios_phone", "android_phone"],
54368
54435
  type: "string"
54436
+ },
54437
+ {
54438
+ description: "Device type for cameras.",
54439
+ enum: ["ring_camera"],
54440
+ type: "string"
54369
54441
  }
54370
54442
  ]
54371
54443
  }
@@ -54436,6 +54508,11 @@ var openapi_default = {
54436
54508
  description: "Device type for phones.\n ",
54437
54509
  enum: ["ios_phone", "android_phone"],
54438
54510
  type: "string"
54511
+ },
54512
+ {
54513
+ description: "Device type for cameras.",
54514
+ enum: ["ring_camera"],
54515
+ type: "string"
54439
54516
  }
54440
54517
  ]
54441
54518
  },
@@ -54786,6 +54863,11 @@ var openapi_default = {
54786
54863
  description: "Device type for phones.\n ",
54787
54864
  enum: ["ios_phone", "android_phone"],
54788
54865
  type: "string"
54866
+ },
54867
+ {
54868
+ description: "Device type for cameras.",
54869
+ enum: ["ring_camera"],
54870
+ type: "string"
54789
54871
  }
54790
54872
  ]
54791
54873
  },
@@ -54852,6 +54934,11 @@ var openapi_default = {
54852
54934
  description: "Device type for phones.\n ",
54853
54935
  enum: ["ios_phone", "android_phone"],
54854
54936
  type: "string"
54937
+ },
54938
+ {
54939
+ description: "Device type for cameras.",
54940
+ enum: ["ring_camera"],
54941
+ type: "string"
54855
54942
  }
54856
54943
  ]
54857
54944
  },