@seamapi/types 1.1008.0 → 1.1009.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.1008.0",
3
+ "version": "1.1009.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -235,13 +235,17 @@ const delay_in_setting_on_device = common_access_code_warning
235
235
  })
236
236
  .describe('Delay in setting code on device.')
237
237
 
238
- const delay_in_removing_from_device = common_access_code_warning
239
- .extend({
240
- warning_code: z
241
- .literal('delay_in_removing_from_device')
242
- .describe(warning_code_description),
243
- })
244
- .describe('Delay in removing code from device.')
238
+ /** @deprecated Seam no longer sets this warning. */
239
+ const delay_in_removing_from_device = common_access_code_warning.extend({
240
+ warning_code: z
241
+ .literal('delay_in_removing_from_device')
242
+ .describe(warning_code_description),
243
+ }).describe(`
244
+ ---
245
+ deprecated: Seam no longer sets this warning. Use the \`failed_to_remove_from_device\` error instead.
246
+ ---
247
+ Delay in removing code from device.
248
+ `)
245
249
 
246
250
  const third_party_integration_detected = common_access_code_warning
247
251
  .extend({
@@ -312,17 +312,20 @@ export const access_code_deleted_event = access_code_event.extend({
312
312
 
313
313
  export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>
314
314
 
315
+ /** @deprecated Seam no longer emits this event. */
315
316
  export const access_code_delay_in_removing_from_device_event = access_code_event
316
317
  .extend({
317
318
  event_type: z.literal('access_code.delay_in_removing_from_device'),
318
319
  })
319
320
  .extend(access_code_event_issue_properties).describe(`
320
321
  ---
322
+ deprecated: Seam no longer emits this event. Use \`access_code.failed_to_remove_from_device\` instead.
321
323
  route_path: /access_codes
322
324
  ---
323
325
  There was an unusually long delay in removing an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) from a device.
324
326
  `)
325
327
 
328
+ /** @deprecated Seam no longer emits this event. */
326
329
  export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<
327
330
  typeof access_code_delay_in_removing_from_device_event
328
331
  >
@@ -1406,6 +1406,7 @@ const openapi: OpenAPISpec = {
1406
1406
  type: 'object',
1407
1407
  },
1408
1408
  {
1409
+ deprecated: true,
1409
1410
  description: 'Delay in removing code from device.',
1410
1411
  properties: {
1411
1412
  created_at: {
@@ -1428,6 +1429,8 @@ const openapi: OpenAPISpec = {
1428
1429
  },
1429
1430
  required: ['message', 'warning_code'],
1430
1431
  type: 'object',
1432
+ 'x-deprecated':
1433
+ 'Seam no longer sets this warning. Use the `failed_to_remove_from_device` error instead.',
1431
1434
  },
1432
1435
  {
1433
1436
  description:
@@ -19458,6 +19461,7 @@ const openapi: OpenAPISpec = {
19458
19461
  'x-route-path': '/access_codes',
19459
19462
  },
19460
19463
  {
19464
+ deprecated: true,
19461
19465
  description:
19462
19466
  'There was an unusually long delay in removing an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) from a device.',
19463
19467
  properties: {
@@ -19709,6 +19713,8 @@ const openapi: OpenAPISpec = {
19709
19713
  'access_code_warnings',
19710
19714
  ],
19711
19715
  type: 'object',
19716
+ 'x-deprecated':
19717
+ 'Seam no longer emits this event. Use `access_code.failed_to_remove_from_device` instead.',
19712
19718
  'x-route-path': '/access_codes',
19713
19719
  },
19714
19720
  {
@@ -31198,6 +31204,7 @@ const openapi: OpenAPISpec = {
31198
31204
  type: 'object',
31199
31205
  },
31200
31206
  {
31207
+ deprecated: true,
31201
31208
  description: 'Delay in removing code from device.',
31202
31209
  properties: {
31203
31210
  created_at: {
@@ -31220,6 +31227,8 @@ const openapi: OpenAPISpec = {
31220
31227
  },
31221
31228
  required: ['message', 'warning_code'],
31222
31229
  type: 'object',
31230
+ 'x-deprecated':
31231
+ 'Seam no longer sets this warning. Use the `failed_to_remove_from_device` error instead.',
31223
31232
  },
31224
31233
  {
31225
31234
  description: