@seamapi/types 1.859.0 → 1.860.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.
@@ -1595,15 +1595,6 @@ export type Routes = {
1595
1595
  created_at?: string | undefined;
1596
1596
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1597
1597
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
1598
- } | {
1599
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1600
- message: string;
1601
- /** Indicates that this is an access code error. */
1602
- is_access_code_error: true;
1603
- /** Date and time at which Seam created the error. */
1604
- created_at?: string | undefined;
1605
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1606
- error_code: 'smartthings_no_free_slots_available';
1607
1598
  } | {
1608
1599
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1609
1600
  message: string;
@@ -2220,15 +2211,6 @@ export type Routes = {
2220
2211
  created_at?: string | undefined;
2221
2212
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2222
2213
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
2223
- } | {
2224
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2225
- message: string;
2226
- /** Indicates that this is an access code error. */
2227
- is_access_code_error: true;
2228
- /** Date and time at which Seam created the error. */
2229
- created_at?: string | undefined;
2230
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2231
- error_code: 'smartthings_no_free_slots_available';
2232
2214
  } | {
2233
2215
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2234
2216
  message: string;
@@ -4365,15 +4347,6 @@ export type Routes = {
4365
4347
  created_at?: string | undefined;
4366
4348
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4367
4349
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
4368
- } | {
4369
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4370
- message: string;
4371
- /** Indicates that this is an access code error. */
4372
- is_access_code_error: true;
4373
- /** Date and time at which Seam created the error. */
4374
- created_at?: string | undefined;
4375
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4376
- error_code: 'smartthings_no_free_slots_available';
4377
4350
  } | {
4378
4351
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4379
4352
  message: string;
@@ -5036,15 +5009,6 @@ export type Routes = {
5036
5009
  created_at?: string | undefined;
5037
5010
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5038
5011
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
5039
- } | {
5040
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5041
- message: string;
5042
- /** Indicates that this is an access code error. */
5043
- is_access_code_error: true;
5044
- /** Date and time at which Seam created the error. */
5045
- created_at?: string | undefined;
5046
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5047
- error_code: 'smartthings_no_free_slots_available';
5048
5012
  } | {
5049
5013
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5050
5014
  message: string;
@@ -5650,15 +5614,6 @@ export type Routes = {
5650
5614
  created_at?: string | undefined;
5651
5615
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5652
5616
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
5653
- } | {
5654
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5655
- message: string;
5656
- /** Indicates that this is an access code error. */
5657
- is_access_code_error: true;
5658
- /** Date and time at which Seam created the error. */
5659
- created_at?: string | undefined;
5660
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5661
- error_code: 'smartthings_no_free_slots_available';
5662
5617
  } | {
5663
5618
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5664
5619
  message: string;
@@ -6241,15 +6196,6 @@ export type Routes = {
6241
6196
  created_at?: string | undefined;
6242
6197
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6243
6198
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
6244
- } | {
6245
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6246
- message: string;
6247
- /** Indicates that this is an access code error. */
6248
- is_access_code_error: true;
6249
- /** Date and time at which Seam created the error. */
6250
- created_at?: string | undefined;
6251
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6252
- error_code: 'smartthings_no_free_slots_available';
6253
6199
  } | {
6254
6200
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6255
6201
  message: string;
@@ -6867,15 +6813,6 @@ export type Routes = {
6867
6813
  created_at?: string | undefined;
6868
6814
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6869
6815
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
6870
- } | {
6871
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6872
- message: string;
6873
- /** Indicates that this is an access code error. */
6874
- is_access_code_error: true;
6875
- /** Date and time at which Seam created the error. */
6876
- created_at?: string | undefined;
6877
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6878
- error_code: 'smartthings_no_free_slots_available';
6879
6816
  } | {
6880
6817
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6881
6818
  message: string;
@@ -8923,15 +8860,6 @@ export type Routes = {
8923
8860
  created_at?: string | undefined;
8924
8861
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8925
8862
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
8926
- } | {
8927
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8928
- message: string;
8929
- /** Indicates that this is an access code error. */
8930
- is_access_code_error: true;
8931
- /** Date and time at which Seam created the error. */
8932
- created_at?: string | undefined;
8933
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8934
- error_code: 'smartthings_no_free_slots_available';
8935
8863
  } | {
8936
8864
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8937
8865
  message: string;
@@ -9435,15 +9363,6 @@ export type Routes = {
9435
9363
  created_at?: string | undefined;
9436
9364
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9437
9365
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
9438
- } | {
9439
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9440
- message: string;
9441
- /** Indicates that this is an access code error. */
9442
- is_access_code_error: true;
9443
- /** Date and time at which Seam created the error. */
9444
- created_at?: string | undefined;
9445
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9446
- error_code: 'smartthings_no_free_slots_available';
9447
9366
  } | {
9448
9367
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9449
9368
  message: string;
@@ -107303,15 +107222,6 @@ export type Routes = {
107303
107222
  created_at?: string | undefined;
107304
107223
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107305
107224
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
107306
- } | {
107307
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107308
- message: string;
107309
- /** Indicates that this is an access code error. */
107310
- is_access_code_error: true;
107311
- /** Date and time at which Seam created the error. */
107312
- created_at?: string | undefined;
107313
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107314
- error_code: 'smartthings_no_free_slots_available';
107315
107225
  } | {
107316
107226
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107317
107227
  message: string;
@@ -107799,15 +107709,6 @@ export type Routes = {
107799
107709
  created_at?: string | undefined;
107800
107710
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107801
107711
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
107802
- } | {
107803
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107804
- message: string;
107805
- /** Indicates that this is an access code error. */
107806
- is_access_code_error: true;
107807
- /** Date and time at which Seam created the error. */
107808
- created_at?: string | undefined;
107809
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107810
- error_code: 'smartthings_no_free_slots_available';
107811
107712
  } | {
107812
107713
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107813
107714
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.859.0",
3
+ "version": "1.860.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -163,14 +163,6 @@ const salto_ks_user_not_subscribed = common_access_code_error
163
163
  })
164
164
  .describe('Salto site user is not subscribed.')
165
165
 
166
- const smartthings_no_free_slots_available = common_access_code_error
167
- .extend({
168
- error_code: z
169
- .literal('smartthings_no_free_slots_available')
170
- .describe(error_code_description),
171
- })
172
- .describe('No free slots available on the device.')
173
-
174
166
  const wyze_duplicate_code_name = common_access_code_error
175
167
  .extend({
176
168
  error_code: z
@@ -219,7 +211,6 @@ const access_code_error = z
219
211
  .discriminatedUnion('error_code', [
220
212
  smartthings_failed_to_set_access_code_error,
221
213
  smartthings_failed_to_set_after_multiple_retries,
222
- smartthings_no_free_slots_available,
223
214
  failed_to_set_on_device,
224
215
  failed_to_remove_from_device,
225
216
  duplicate_code_on_device,
@@ -251,9 +242,6 @@ const _access_code_error_map = z.object({
251
242
  smartthings_failed_to_set_access_code_error.optional().nullable(),
252
243
  smartthings_failed_to_set_after_multiple_retries:
253
244
  smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
254
- smartthings_no_free_slots_available: smartthings_no_free_slots_available
255
- .optional()
256
- .nullable(),
257
245
  failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
258
246
  failed_to_remove_from_device: failed_to_remove_from_device
259
247
  .optional()
@@ -166,36 +166,6 @@ const openapi: OpenAPISpec = {
166
166
  required: ['message', 'is_access_code_error', 'error_code'],
167
167
  type: 'object',
168
168
  },
169
- {
170
- description: 'No free slots available on the device.',
171
- properties: {
172
- created_at: {
173
- description:
174
- 'Date and time at which Seam created the error.',
175
- format: 'date-time',
176
- type: 'string',
177
- },
178
- error_code: {
179
- description:
180
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
181
- enum: ['smartthings_no_free_slots_available'],
182
- type: 'string',
183
- },
184
- is_access_code_error: {
185
- description:
186
- 'Indicates that this is an access code error.',
187
- enum: [true],
188
- type: 'boolean',
189
- },
190
- message: {
191
- description:
192
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
193
- type: 'string',
194
- },
195
- },
196
- required: ['message', 'is_access_code_error', 'error_code'],
197
- type: 'object',
198
- },
199
169
  {
200
170
  description: 'Failed to set code on device.',
201
171
  properties: {
@@ -27404,36 +27374,6 @@ const openapi: OpenAPISpec = {
27404
27374
  required: ['message', 'is_access_code_error', 'error_code'],
27405
27375
  type: 'object',
27406
27376
  },
27407
- {
27408
- description: 'No free slots available on the device.',
27409
- properties: {
27410
- created_at: {
27411
- description:
27412
- 'Date and time at which Seam created the error.',
27413
- format: 'date-time',
27414
- type: 'string',
27415
- },
27416
- error_code: {
27417
- description:
27418
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
27419
- enum: ['smartthings_no_free_slots_available'],
27420
- type: 'string',
27421
- },
27422
- is_access_code_error: {
27423
- description:
27424
- 'Indicates that this is an access code error.',
27425
- enum: [true],
27426
- type: 'boolean',
27427
- },
27428
- message: {
27429
- description:
27430
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
27431
- type: 'string',
27432
- },
27433
- },
27434
- required: ['message', 'is_access_code_error', 'error_code'],
27435
- type: 'object',
27436
- },
27437
27377
  {
27438
27378
  description: 'Failed to set code on device.',
27439
27379
  properties: {
@@ -1850,16 +1850,6 @@ export type Routes = {
1850
1850
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1851
1851
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
1852
1852
  }
1853
- | {
1854
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1855
- message: string
1856
- /** Indicates that this is an access code error. */
1857
- is_access_code_error: true
1858
- /** Date and time at which Seam created the error. */
1859
- created_at?: string | undefined
1860
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1861
- error_code: 'smartthings_no_free_slots_available'
1862
- }
1863
1853
  | {
1864
1854
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1865
1855
  message: string
@@ -2537,16 +2527,6 @@ export type Routes = {
2537
2527
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2538
2528
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
2539
2529
  }
2540
- | {
2541
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2542
- message: string
2543
- /** Indicates that this is an access code error. */
2544
- is_access_code_error: true
2545
- /** Date and time at which Seam created the error. */
2546
- created_at?: string | undefined
2547
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2548
- error_code: 'smartthings_no_free_slots_available'
2549
- }
2550
2530
  | {
2551
2531
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2552
2532
  message: string
@@ -4996,16 +4976,6 @@ export type Routes = {
4996
4976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4997
4977
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
4998
4978
  }
4999
- | {
5000
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5001
- message: string
5002
- /** Indicates that this is an access code error. */
5003
- is_access_code_error: true
5004
- /** Date and time at which Seam created the error. */
5005
- created_at?: string | undefined
5006
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5007
- error_code: 'smartthings_no_free_slots_available'
5008
- }
5009
4979
  | {
5010
4980
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5011
4981
  message: string
@@ -5770,16 +5740,6 @@ export type Routes = {
5770
5740
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5771
5741
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
5772
5742
  }
5773
- | {
5774
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5775
- message: string
5776
- /** Indicates that this is an access code error. */
5777
- is_access_code_error: true
5778
- /** Date and time at which Seam created the error. */
5779
- created_at?: string | undefined
5780
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5781
- error_code: 'smartthings_no_free_slots_available'
5782
- }
5783
5743
  | {
5784
5744
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5785
5745
  message: string
@@ -6446,16 +6406,6 @@ export type Routes = {
6446
6406
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6447
6407
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
6448
6408
  }
6449
- | {
6450
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6451
- message: string
6452
- /** Indicates that this is an access code error. */
6453
- is_access_code_error: true
6454
- /** Date and time at which Seam created the error. */
6455
- created_at?: string | undefined
6456
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6457
- error_code: 'smartthings_no_free_slots_available'
6458
- }
6459
6409
  | {
6460
6410
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6461
6411
  message: string
@@ -7099,16 +7049,6 @@ export type Routes = {
7099
7049
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7100
7050
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
7101
7051
  }
7102
- | {
7103
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7104
- message: string
7105
- /** Indicates that this is an access code error. */
7106
- is_access_code_error: true
7107
- /** Date and time at which Seam created the error. */
7108
- created_at?: string | undefined
7109
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7110
- error_code: 'smartthings_no_free_slots_available'
7111
- }
7112
7052
  | {
7113
7053
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7114
7054
  message: string
@@ -7787,16 +7727,6 @@ export type Routes = {
7787
7727
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7788
7728
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
7789
7729
  }
7790
- | {
7791
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7792
- message: string
7793
- /** Indicates that this is an access code error. */
7794
- is_access_code_error: true
7795
- /** Date and time at which Seam created the error. */
7796
- created_at?: string | undefined
7797
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7798
- error_code: 'smartthings_no_free_slots_available'
7799
- }
7800
7730
  | {
7801
7731
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7802
7732
  message: string
@@ -10150,16 +10080,6 @@ export type Routes = {
10150
10080
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10151
10081
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
10152
10082
  }
10153
- | {
10154
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10155
- message: string
10156
- /** Indicates that this is an access code error. */
10157
- is_access_code_error: true
10158
- /** Date and time at which Seam created the error. */
10159
- created_at?: string | undefined
10160
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10161
- error_code: 'smartthings_no_free_slots_available'
10162
- }
10163
10083
  | {
10164
10084
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10165
10085
  message: string
@@ -10717,16 +10637,6 @@ export type Routes = {
10717
10637
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10718
10638
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
10719
10639
  }
10720
- | {
10721
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10722
- message: string
10723
- /** Indicates that this is an access code error. */
10724
- is_access_code_error: true
10725
- /** Date and time at which Seam created the error. */
10726
- created_at?: string | undefined
10727
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10728
- error_code: 'smartthings_no_free_slots_available'
10729
- }
10730
10640
  | {
10731
10641
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10732
10642
  message: string
@@ -128357,16 +128267,6 @@ export type Routes = {
128357
128267
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128358
128268
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
128359
128269
  }
128360
- | {
128361
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128362
- message: string
128363
- /** Indicates that this is an access code error. */
128364
- is_access_code_error: true
128365
- /** Date and time at which Seam created the error. */
128366
- created_at?: string | undefined
128367
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128368
- error_code: 'smartthings_no_free_slots_available'
128369
- }
128370
128270
  | {
128371
128271
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128372
128272
  message: string
@@ -128910,16 +128810,6 @@ export type Routes = {
128910
128810
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128911
128811
  error_code: 'smartthings_failed_to_set_after_multiple_retries'
128912
128812
  }
128913
- | {
128914
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128915
- message: string
128916
- /** Indicates that this is an access code error. */
128917
- is_access_code_error: true
128918
- /** Date and time at which Seam created the error. */
128919
- created_at?: string | undefined
128920
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128921
- error_code: 'smartthings_no_free_slots_available'
128922
- }
128923
128813
  | {
128924
128814
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128925
128815
  message: string