@seamapi/types 1.698.0 → 1.700.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.
@@ -1413,24 +1413,6 @@ export type Routes = {
1413
1413
  created_at?: string | undefined;
1414
1414
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1415
1415
  error_code: 'igloohome_bridge_too_many_pending_jobs';
1416
- } | {
1417
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1418
- message: string;
1419
- /** Indicates that this is an access code error. */
1420
- is_access_code_error: true;
1421
- /** Date and time at which Seam created the error. */
1422
- created_at?: string | undefined;
1423
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1424
- error_code: 'igloohome_bridge_offline';
1425
- } | {
1426
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1427
- message: string;
1428
- /** Indicates that this is an access code error. */
1429
- is_access_code_error: true;
1430
- /** Date and time at which Seam created the error. */
1431
- created_at?: string | undefined;
1432
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1433
- error_code: 'igloohome_offline_access_code_no_variance_available';
1434
1416
  } | {
1435
1417
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1436
1418
  message: string;
@@ -1975,24 +1957,6 @@ export type Routes = {
1975
1957
  created_at?: string | undefined;
1976
1958
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1977
1959
  error_code: 'igloohome_bridge_too_many_pending_jobs';
1978
- } | {
1979
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1980
- message: string;
1981
- /** Indicates that this is an access code error. */
1982
- is_access_code_error: true;
1983
- /** Date and time at which Seam created the error. */
1984
- created_at?: string | undefined;
1985
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1986
- error_code: 'igloohome_bridge_offline';
1987
- } | {
1988
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1989
- message: string;
1990
- /** Indicates that this is an access code error. */
1991
- is_access_code_error: true;
1992
- /** Date and time at which Seam created the error. */
1993
- created_at?: string | undefined;
1994
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1995
- error_code: 'igloohome_offline_access_code_no_variance_available';
1996
1960
  } | {
1997
1961
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1998
1962
  message: string;
@@ -3803,24 +3767,6 @@ export type Routes = {
3803
3767
  created_at?: string | undefined;
3804
3768
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3805
3769
  error_code: 'igloohome_bridge_too_many_pending_jobs';
3806
- } | {
3807
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3808
- message: string;
3809
- /** Indicates that this is an access code error. */
3810
- is_access_code_error: true;
3811
- /** Date and time at which Seam created the error. */
3812
- created_at?: string | undefined;
3813
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3814
- error_code: 'igloohome_bridge_offline';
3815
- } | {
3816
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3817
- message: string;
3818
- /** Indicates that this is an access code error. */
3819
- is_access_code_error: true;
3820
- /** Date and time at which Seam created the error. */
3821
- created_at?: string | undefined;
3822
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3823
- error_code: 'igloohome_offline_access_code_no_variance_available';
3824
3770
  } | {
3825
3771
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3826
3772
  message: string;
@@ -4339,24 +4285,6 @@ export type Routes = {
4339
4285
  created_at?: string | undefined;
4340
4286
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4341
4287
  error_code: 'igloohome_bridge_too_many_pending_jobs';
4342
- } | {
4343
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4344
- message: string;
4345
- /** Indicates that this is an access code error. */
4346
- is_access_code_error: true;
4347
- /** Date and time at which Seam created the error. */
4348
- created_at?: string | undefined;
4349
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4350
- error_code: 'igloohome_bridge_offline';
4351
- } | {
4352
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4353
- message: string;
4354
- /** Indicates that this is an access code error. */
4355
- is_access_code_error: true;
4356
- /** Date and time at which Seam created the error. */
4357
- created_at?: string | undefined;
4358
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4359
- error_code: 'igloohome_offline_access_code_no_variance_available';
4360
4288
  } | {
4361
4289
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4362
4290
  message: string;
@@ -4881,24 +4809,6 @@ export type Routes = {
4881
4809
  created_at?: string | undefined;
4882
4810
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4883
4811
  error_code: 'igloohome_bridge_too_many_pending_jobs';
4884
- } | {
4885
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4886
- message: string;
4887
- /** Indicates that this is an access code error. */
4888
- is_access_code_error: true;
4889
- /** Date and time at which Seam created the error. */
4890
- created_at?: string | undefined;
4891
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4892
- error_code: 'igloohome_bridge_offline';
4893
- } | {
4894
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4895
- message: string;
4896
- /** Indicates that this is an access code error. */
4897
- is_access_code_error: true;
4898
- /** Date and time at which Seam created the error. */
4899
- created_at?: string | undefined;
4900
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4901
- error_code: 'igloohome_offline_access_code_no_variance_available';
4902
4812
  } | {
4903
4813
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4904
4814
  message: string;
@@ -5400,24 +5310,6 @@ export type Routes = {
5400
5310
  created_at?: string | undefined;
5401
5311
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5402
5312
  error_code: 'igloohome_bridge_too_many_pending_jobs';
5403
- } | {
5404
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5405
- message: string;
5406
- /** Indicates that this is an access code error. */
5407
- is_access_code_error: true;
5408
- /** Date and time at which Seam created the error. */
5409
- created_at?: string | undefined;
5410
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5411
- error_code: 'igloohome_bridge_offline';
5412
- } | {
5413
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5414
- message: string;
5415
- /** Indicates that this is an access code error. */
5416
- is_access_code_error: true;
5417
- /** Date and time at which Seam created the error. */
5418
- created_at?: string | undefined;
5419
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5420
- error_code: 'igloohome_offline_access_code_no_variance_available';
5421
5313
  } | {
5422
5314
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5423
5315
  message: string;
@@ -5954,24 +5846,6 @@ export type Routes = {
5954
5846
  created_at?: string | undefined;
5955
5847
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5956
5848
  error_code: 'igloohome_bridge_too_many_pending_jobs';
5957
- } | {
5958
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5959
- message: string;
5960
- /** Indicates that this is an access code error. */
5961
- is_access_code_error: true;
5962
- /** Date and time at which Seam created the error. */
5963
- created_at?: string | undefined;
5964
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5965
- error_code: 'igloohome_bridge_offline';
5966
- } | {
5967
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5968
- message: string;
5969
- /** Indicates that this is an access code error. */
5970
- is_access_code_error: true;
5971
- /** Date and time at which Seam created the error. */
5972
- created_at?: string | undefined;
5973
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5974
- error_code: 'igloohome_offline_access_code_no_variance_available';
5975
5849
  } | {
5976
5850
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5977
5851
  message: string;
@@ -7769,24 +7643,6 @@ export type Routes = {
7769
7643
  created_at?: string | undefined;
7770
7644
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7771
7645
  error_code: 'igloohome_bridge_too_many_pending_jobs';
7772
- } | {
7773
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7774
- message: string;
7775
- /** Indicates that this is an access code error. */
7776
- is_access_code_error: true;
7777
- /** Date and time at which Seam created the error. */
7778
- created_at?: string | undefined;
7779
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7780
- error_code: 'igloohome_bridge_offline';
7781
- } | {
7782
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7783
- message: string;
7784
- /** Indicates that this is an access code error. */
7785
- is_access_code_error: true;
7786
- /** Date and time at which Seam created the error. */
7787
- created_at?: string | undefined;
7788
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7789
- error_code: 'igloohome_offline_access_code_no_variance_available';
7790
7646
  } | {
7791
7647
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7792
7648
  message: string;
@@ -8283,24 +8139,6 @@ export type Routes = {
8283
8139
  created_at?: string | undefined;
8284
8140
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8285
8141
  error_code: 'igloohome_bridge_too_many_pending_jobs';
8286
- } | {
8287
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8288
- message: string;
8289
- /** Indicates that this is an access code error. */
8290
- is_access_code_error: true;
8291
- /** Date and time at which Seam created the error. */
8292
- created_at?: string | undefined;
8293
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8294
- error_code: 'igloohome_bridge_offline';
8295
- } | {
8296
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8297
- message: string;
8298
- /** Indicates that this is an access code error. */
8299
- is_access_code_error: true;
8300
- /** Date and time at which Seam created the error. */
8301
- created_at?: string | undefined;
8302
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8303
- error_code: 'igloohome_offline_access_code_no_variance_available';
8304
8142
  } | {
8305
8143
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8306
8144
  message: string;
@@ -84258,24 +84096,6 @@ export type Routes = {
84258
84096
  created_at?: string | undefined;
84259
84097
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84260
84098
  error_code: 'igloohome_bridge_too_many_pending_jobs';
84261
- } | {
84262
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84263
- message: string;
84264
- /** Indicates that this is an access code error. */
84265
- is_access_code_error: true;
84266
- /** Date and time at which Seam created the error. */
84267
- created_at?: string | undefined;
84268
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84269
- error_code: 'igloohome_bridge_offline';
84270
- } | {
84271
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84272
- message: string;
84273
- /** Indicates that this is an access code error. */
84274
- is_access_code_error: true;
84275
- /** Date and time at which Seam created the error. */
84276
- created_at?: string | undefined;
84277
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84278
- error_code: 'igloohome_offline_access_code_no_variance_available';
84279
84099
  } | {
84280
84100
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84281
84101
  message: string;
@@ -84758,24 +84578,6 @@ export type Routes = {
84758
84578
  created_at?: string | undefined;
84759
84579
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84760
84580
  error_code: 'igloohome_bridge_too_many_pending_jobs';
84761
- } | {
84762
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84763
- message: string;
84764
- /** Indicates that this is an access code error. */
84765
- is_access_code_error: true;
84766
- /** Date and time at which Seam created the error. */
84767
- created_at?: string | undefined;
84768
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84769
- error_code: 'igloohome_bridge_offline';
84770
- } | {
84771
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84772
- message: string;
84773
- /** Indicates that this is an access code error. */
84774
- is_access_code_error: true;
84775
- /** Date and time at which Seam created the error. */
84776
- created_at?: string | undefined;
84777
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84778
- error_code: 'igloohome_offline_access_code_no_variance_available';
84779
84581
  } | {
84780
84582
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84781
84583
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.698.0",
3
+ "version": "1.700.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -96,14 +96,6 @@ const igloohome_bridge_too_many_pending_jobs = common_access_code_error
96
96
  })
97
97
  .describe('Igloohome bridge has too many pending jobs in the queue.')
98
98
 
99
- const igloohome_bridge_offline = common_access_code_error
100
- .extend({
101
- error_code: z
102
- .literal('igloohome_bridge_offline')
103
- .describe(error_code_description),
104
- })
105
- .describe('Igloohome bridge is offline.')
106
-
107
99
  const kwikset_unable_to_confirm_code = common_access_code_error
108
100
  .extend({
109
101
  error_code: z
@@ -132,15 +124,6 @@ const kwikset_insufficient_permissions = common_access_code_error
132
124
  'Admin role required—insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.',
133
125
  )
134
126
 
135
- const igloohome_offline_access_code_no_variance_available =
136
- common_access_code_error
137
- .extend({
138
- error_code: z
139
- .literal('igloohome_offline_access_code_no_variance_available')
140
- .describe(error_code_description),
141
- })
142
- .describe('Lock has reached maximum amount of codes.')
143
-
144
127
  const august_lock_invalid_code_length = common_access_code_error
145
128
  .extend({
146
129
  error_code: z
@@ -250,9 +233,8 @@ const access_code_error = z
250
233
  duplicate_code_attempt_prevented,
251
234
  no_space_for_access_code_on_device,
252
235
  igloohome_bridge_too_many_pending_jobs,
253
- igloohome_bridge_offline,
254
- igloohome_offline_access_code_no_variance_available,
255
236
  kwikset_unable_to_confirm_code,
237
+
256
238
  kwikset_unable_to_confirm_deletion,
257
239
  code_modified_external_to_seam_error,
258
240
  august_lock_invalid_code_length,
@@ -296,9 +278,6 @@ const _access_code_error_map = z.object({
296
278
  igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs
297
279
  .optional()
298
280
  .nullable(),
299
- igloohome_bridge_offline: igloohome_bridge_offline.optional().nullable(),
300
- igloohome_offline_access_code_no_variance_available:
301
- igloohome_offline_access_code_no_variance_available.optional().nullable(),
302
281
  kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code
303
282
  .optional()
304
283
  .nullable(),
@@ -320,68 +320,6 @@ export default {
320
320
  required: ['message', 'is_access_code_error', 'error_code'],
321
321
  type: 'object',
322
322
  },
323
- {
324
- description: 'Igloohome bridge is offline.',
325
- properties: {
326
- created_at: {
327
- description:
328
- 'Date and time at which Seam created the error.',
329
- format: 'date-time',
330
- type: 'string',
331
- },
332
- error_code: {
333
- description:
334
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
335
- enum: ['igloohome_bridge_offline'],
336
- type: 'string',
337
- },
338
- is_access_code_error: {
339
- description:
340
- 'Indicates that this is an access code error.',
341
- enum: [true],
342
- type: 'boolean',
343
- },
344
- message: {
345
- description:
346
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
347
- type: 'string',
348
- },
349
- },
350
- required: ['message', 'is_access_code_error', 'error_code'],
351
- type: 'object',
352
- },
353
- {
354
- description: 'Lock has reached maximum amount of codes.',
355
- properties: {
356
- created_at: {
357
- description:
358
- 'Date and time at which Seam created the error.',
359
- format: 'date-time',
360
- type: 'string',
361
- },
362
- error_code: {
363
- description:
364
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
365
- enum: [
366
- 'igloohome_offline_access_code_no_variance_available',
367
- ],
368
- type: 'string',
369
- },
370
- is_access_code_error: {
371
- description:
372
- 'Indicates that this is an access code error.',
373
- enum: [true],
374
- type: 'boolean',
375
- },
376
- message: {
377
- description:
378
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
379
- type: 'string',
380
- },
381
- },
382
- required: ['message', 'is_access_code_error', 'error_code'],
383
- type: 'object',
384
- },
385
323
  {
386
324
  description:
387
325
  'Unable to confirm that the access code is set on Kwikset device.',
@@ -22112,68 +22050,6 @@ export default {
22112
22050
  required: ['message', 'is_access_code_error', 'error_code'],
22113
22051
  type: 'object',
22114
22052
  },
22115
- {
22116
- description: 'Igloohome bridge is offline.',
22117
- properties: {
22118
- created_at: {
22119
- description:
22120
- 'Date and time at which Seam created the error.',
22121
- format: 'date-time',
22122
- type: 'string',
22123
- },
22124
- error_code: {
22125
- description:
22126
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
22127
- enum: ['igloohome_bridge_offline'],
22128
- type: 'string',
22129
- },
22130
- is_access_code_error: {
22131
- description:
22132
- 'Indicates that this is an access code error.',
22133
- enum: [true],
22134
- type: 'boolean',
22135
- },
22136
- message: {
22137
- description:
22138
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22139
- type: 'string',
22140
- },
22141
- },
22142
- required: ['message', 'is_access_code_error', 'error_code'],
22143
- type: 'object',
22144
- },
22145
- {
22146
- description: 'Lock has reached maximum amount of codes.',
22147
- properties: {
22148
- created_at: {
22149
- description:
22150
- 'Date and time at which Seam created the error.',
22151
- format: 'date-time',
22152
- type: 'string',
22153
- },
22154
- error_code: {
22155
- description:
22156
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
22157
- enum: [
22158
- 'igloohome_offline_access_code_no_variance_available',
22159
- ],
22160
- type: 'string',
22161
- },
22162
- is_access_code_error: {
22163
- description:
22164
- 'Indicates that this is an access code error.',
22165
- enum: [true],
22166
- type: 'boolean',
22167
- },
22168
- message: {
22169
- description:
22170
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22171
- type: 'string',
22172
- },
22173
- },
22174
- required: ['message', 'is_access_code_error', 'error_code'],
22175
- type: 'object',
22176
- },
22177
22053
  {
22178
22054
  description:
22179
22055
  'Unable to confirm that the access code is set on Kwikset device.',