@seamapi/types 1.1090.0 → 1.1092.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1090.0",
3
+ "version": "1.1092.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -155,7 +155,7 @@ const insufficient_permissions = common_acs_system_error.extend({
155
155
  ---
156
156
  resource_type: acs_system
157
157
  ---
158
- Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.
158
+ Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider.
159
159
  `)
160
160
 
161
161
  const acs_system_error = z
@@ -1168,6 +1168,25 @@ export const device_metadata = z
1168
1168
  .optional()
1169
1169
  .describe('Metadata for a Tapo camera.'),
1170
1170
 
1171
+ reolink_metadata: z
1172
+ .object({
1173
+ model: z
1174
+ .string()
1175
+ .optional()
1176
+ .describe('Model reported by the Reolink camera.'),
1177
+ firmware_version: z
1178
+ .string()
1179
+ .optional()
1180
+ .describe('Firmware version reported by the camera.'),
1181
+ hardware_version: z
1182
+ .string()
1183
+ .optional()
1184
+ .describe('Hardware version reported by the camera.'),
1185
+ })
1186
+ .partial()
1187
+ .optional()
1188
+ .describe('Metadata for a Reolink camera.'),
1189
+
1171
1190
  arlo_metadata: z
1172
1191
  .object({
1173
1192
  device_id: z
@@ -63,6 +63,7 @@ export const DEVICE_PROVIDERS = {
63
63
  RING: 'ring',
64
64
  TAPO: 'tapo',
65
65
  ARLO: 'arlo',
66
+ REOLINK: 'reolink',
66
67
  ICAL: 'ical',
67
68
  LODGIFY: 'lodgify',
68
69
  HOSTAWAY: 'hostaway',
@@ -170,7 +171,7 @@ export const PROVIDER_CATEGORY_MAP = {
170
171
  'hotek',
171
172
  ],
172
173
 
173
- cameras: ['ring', 'tapo', 'arlo'],
174
+ cameras: ['ring', 'tapo', 'arlo', 'reolink'],
174
175
 
175
176
  connectors: ['ical', 'lodgify', 'hostaway', 'guesty', 'acuity_scheduling'],
176
177
 
@@ -129,6 +129,7 @@ export const CAMERA_DEVICE_TYPE = {
129
129
  RING_CAMERA: 'ring_camera',
130
130
  TAPO_CAMERA: 'tapo_camera',
131
131
  ARLO_CAMERA: 'arlo_camera',
132
+ REOLINK_CAMERA: 'reolink_camera',
132
133
  } as const
133
134
 
134
135
  type CameraDeviceTypeFromMapping =
@@ -311,7 +311,7 @@ const insufficient_permissions = common_device_error.extend({
311
311
  ---
312
312
  resource_type: connected_account
313
313
  ---
314
- Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.
314
+ Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.
315
315
  `)
316
316
 
317
317
  export const device_error = z
@@ -588,7 +588,7 @@ const openapi: OpenAPISpec = {
588
588
  },
589
589
  {
590
590
  description:
591
- "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
591
+ "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
592
592
  properties: {
593
593
  created_at: {
594
594
  description:
@@ -4856,7 +4856,7 @@ const openapi: OpenAPISpec = {
4856
4856
  },
4857
4857
  {
4858
4858
  description:
4859
- "Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
4859
+ "Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider.",
4860
4860
  properties: {
4861
4861
  created_at: {
4862
4862
  description:
@@ -13932,7 +13932,12 @@ const openapi: OpenAPISpec = {
13932
13932
  },
13933
13933
  {
13934
13934
  description: 'Device type for cameras.',
13935
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
13935
+ enum: [
13936
+ 'ring_camera',
13937
+ 'tapo_camera',
13938
+ 'arlo_camera',
13939
+ 'reolink_camera',
13940
+ ],
13936
13941
  type: 'string',
13937
13942
  },
13938
13943
  ],
@@ -14038,7 +14043,7 @@ const openapi: OpenAPISpec = {
14038
14043
  },
14039
14044
  {
14040
14045
  description:
14041
- "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
14046
+ "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
14042
14047
  properties: {
14043
14048
  created_at: {
14044
14049
  description:
@@ -15767,6 +15772,27 @@ const openapi: OpenAPISpec = {
15767
15772
  },
15768
15773
  type: 'object',
15769
15774
  },
15775
+ reolink_metadata: {
15776
+ description: 'Metadata for a Reolink camera.',
15777
+ properties: {
15778
+ firmware_version: {
15779
+ description:
15780
+ 'Firmware version reported by the camera.',
15781
+ type: 'string',
15782
+ },
15783
+ hardware_version: {
15784
+ description:
15785
+ 'Hardware version reported by the camera.',
15786
+ type: 'string',
15787
+ },
15788
+ model: {
15789
+ description:
15790
+ 'Model reported by the Reolink camera.',
15791
+ type: 'string',
15792
+ },
15793
+ },
15794
+ type: 'object',
15795
+ },
15770
15796
  ring_metadata: {
15771
15797
  description: 'Metadata for a Ring device.',
15772
15798
  properties: {
@@ -18410,6 +18436,7 @@ const openapi: OpenAPISpec = {
18410
18436
  'ring',
18411
18437
  'tapo',
18412
18438
  'arlo',
18439
+ 'reolink',
18413
18440
  'ical',
18414
18441
  'lodgify',
18415
18442
  'hostaway',
@@ -32462,7 +32489,7 @@ const openapi: OpenAPISpec = {
32462
32489
  },
32463
32490
  {
32464
32491
  description:
32465
- "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
32492
+ "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
32466
32493
  properties: {
32467
32494
  created_at: {
32468
32495
  description:
@@ -36620,7 +36647,12 @@ const openapi: OpenAPISpec = {
36620
36647
  },
36621
36648
  {
36622
36649
  description: 'Device type for cameras.',
36623
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
36650
+ enum: [
36651
+ 'ring_camera',
36652
+ 'tapo_camera',
36653
+ 'arlo_camera',
36654
+ 'reolink_camera',
36655
+ ],
36624
36656
  type: 'string',
36625
36657
  },
36626
36658
  ],
@@ -36726,7 +36758,7 @@ const openapi: OpenAPISpec = {
36726
36758
  },
36727
36759
  {
36728
36760
  description:
36729
- "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
36761
+ "Indicates that the provider's system to which this device belongs is not letting Seam act on it, so Seam cannot manage access codes or unlock the device. The error message says which of three causes applies. Seam's integration user may not have sufficient permissions on the provider's system, or may have been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. The provider account or site may not have a valid subscription with the provider: set up or renew that subscription with the provider. Or the provider may have rejected the credential Seam uses to operate the device's hub: contact Seam support to re-activate it.",
36730
36762
  properties: {
36731
36763
  created_at: {
36732
36764
  description:
@@ -47458,6 +47490,7 @@ const openapi: OpenAPISpec = {
47458
47490
  'ring',
47459
47491
  'tapo',
47460
47492
  'arlo',
47493
+ 'reolink',
47461
47494
  'ical',
47462
47495
  'lodgify',
47463
47496
  'hostaway',
@@ -51129,7 +51162,12 @@ const openapi: OpenAPISpec = {
51129
51162
  },
51130
51163
  {
51131
51164
  description: 'Device type for cameras.',
51132
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
51165
+ enum: [
51166
+ 'ring_camera',
51167
+ 'tapo_camera',
51168
+ 'arlo_camera',
51169
+ 'reolink_camera',
51170
+ ],
51133
51171
  type: 'string',
51134
51172
  },
51135
51173
  ],
@@ -51209,7 +51247,12 @@ const openapi: OpenAPISpec = {
51209
51247
  },
51210
51248
  {
51211
51249
  description: 'Device type for cameras.',
51212
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
51250
+ enum: [
51251
+ 'ring_camera',
51252
+ 'tapo_camera',
51253
+ 'arlo_camera',
51254
+ 'reolink_camera',
51255
+ ],
51213
51256
  type: 'string',
51214
51257
  },
51215
51258
  ],
@@ -51270,6 +51313,7 @@ const openapi: OpenAPISpec = {
51270
51313
  'ring',
51271
51314
  'tapo',
51272
51315
  'arlo',
51316
+ 'reolink',
51273
51317
  'ical',
51274
51318
  'lodgify',
51275
51319
  'hostaway',
@@ -53436,7 +53480,12 @@ const openapi: OpenAPISpec = {
53436
53480
  },
53437
53481
  {
53438
53482
  description: 'Device type for cameras.',
53439
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
53483
+ enum: [
53484
+ 'ring_camera',
53485
+ 'tapo_camera',
53486
+ 'arlo_camera',
53487
+ 'reolink_camera',
53488
+ ],
53440
53489
  type: 'string',
53441
53490
  },
53442
53491
  ],
@@ -53516,7 +53565,12 @@ const openapi: OpenAPISpec = {
53516
53565
  },
53517
53566
  {
53518
53567
  description: 'Device type for cameras.',
53519
- enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
53568
+ enum: [
53569
+ 'ring_camera',
53570
+ 'tapo_camera',
53571
+ 'arlo_camera',
53572
+ 'reolink_camera',
53573
+ ],
53520
53574
  type: 'string',
53521
53575
  },
53522
53576
  ],
@@ -53577,6 +53631,7 @@ const openapi: OpenAPISpec = {
53577
53631
  'ring',
53578
53632
  'tapo',
53579
53633
  'arlo',
53634
+ 'reolink',
53580
53635
  'ical',
53581
53636
  'lodgify',
53582
53637
  'hostaway',