@seamapi/types 1.867.0 → 1.869.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.867.0",
3
+ "version": "1.869.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -169,7 +169,14 @@ const wyze_duplicate_code_name = common_access_code_error
169
169
  .literal('wyze_duplicate_code_name')
170
170
  .describe(error_code_description),
171
171
  })
172
- .describe('Duplicate access code name detected.')
172
+ .describe(
173
+ `
174
+ ---
175
+ deprecated: Use \`duplicate_code_on_device\` instead.
176
+ ---
177
+ Duplicate access code name detected.
178
+ `,
179
+ )
173
180
 
174
181
  const wyze_potential_duplicate_code = common_access_code_error
175
182
  .extend({
@@ -177,7 +184,14 @@ const wyze_potential_duplicate_code = common_access_code_error
177
184
  .literal('wyze_potential_duplicate_code')
178
185
  .describe(error_code_description),
179
186
  })
180
- .describe('Potential duplicate access code detected.')
187
+ .describe(
188
+ `
189
+ ---
190
+ deprecated: Use \`duplicate_code_on_device\` instead.
191
+ ---
192
+ Potential duplicate access code detected.
193
+ `,
194
+ )
181
195
 
182
196
  const dormakaba_oracode_invalid_time_range = common_access_code_error
183
197
  .extend({
@@ -340,7 +354,14 @@ const schlage_detected_duplicate = common_access_code_warning
340
354
  .literal('schlage_detected_duplicate')
341
355
  .describe(warning_code_description),
342
356
  })
343
- .describe('Duplicate access code detected.')
357
+ .describe(
358
+ `
359
+ ---
360
+ deprecated: Use \`duplicate_code_on_device\` error instead.
361
+ ---
362
+ Duplicate access code detected.
363
+ `,
364
+ )
344
365
 
345
366
  const schlage_creation_outage = common_access_code_warning
346
367
  .extend({
@@ -61,7 +61,14 @@ const device_offline = common_device_error
61
61
  .extend({
62
62
  error_code: z.literal('device_offline').describe(error_code_description),
63
63
  })
64
- .describe('Indicates that the device is offline.')
64
+ .describe(
65
+ `
66
+ ---
67
+ deprecated: Use \`device_disconnected\` instead.
68
+ ---
69
+ Indicates that the device is offline.
70
+ `,
71
+ )
65
72
 
66
73
  const device_removed = common_device_error
67
74
  .extend({
@@ -127,6 +134,7 @@ const august_lock_missing_bridge = common_device_error.extend({
127
134
  .describe(error_code_description),
128
135
  }).describe(`
129
136
  ---
137
+ deprecated: Use \`hub_disconnected\` instead.
130
138
  variant_group_key: locks
131
139
  ---
132
140
  Indicates that the lock is not connected to a bridge.
@@ -156,6 +164,9 @@ const ttlock_lock_not_paired_to_gateway = common_device_error.extend({
156
164
  .literal('ttlock_lock_not_paired_to_gateway')
157
165
  .describe(error_code_description),
158
166
  }).describe(`
167
+ ---
168
+ deprecated: Use \`hub_disconnected\` instead.
169
+ ---
159
170
  Indicates that the lock is not paired with a gateway.
160
171
  `)
161
172
 
@@ -191,6 +202,9 @@ const lockly_missing_wifi_bridge = common_device_error.extend({
191
202
  .literal('lockly_missing_wifi_bridge')
192
203
  .describe(error_code_description),
193
204
  }).describe(`
205
+ ---
206
+ deprecated: Use \`hub_disconnected\` instead.
207
+ ---
194
208
  Indicates that the Lockly lock is not connected to a Wi-Fi bridge.
195
209
  `)
196
210
 
@@ -325,6 +339,9 @@ const wyze_device_missing_gateway = common_device_warning.extend({
325
339
  .literal('wyze_device_missing_gateway')
326
340
  .describe(warning_code_description),
327
341
  }).describe(`
342
+ ---
343
+ deprecated: Use \`hub_disconnected\` device error instead.
344
+ ---
328
345
  Indicates that the Wyze Lock is not connected to a gateway.
329
346
  `)
330
347
 
@@ -543,6 +543,7 @@ const openapi: OpenAPISpec = {
543
543
  type: 'object',
544
544
  },
545
545
  {
546
+ deprecated: true,
546
547
  description: 'Duplicate access code name detected.',
547
548
  properties: {
548
549
  created_at: {
@@ -571,8 +572,10 @@ const openapi: OpenAPISpec = {
571
572
  },
572
573
  required: ['message', 'is_access_code_error', 'error_code'],
573
574
  type: 'object',
575
+ 'x-deprecated': 'Use `duplicate_code_on_device` instead.',
574
576
  },
575
577
  {
578
+ deprecated: true,
576
579
  description: 'Potential duplicate access code detected.',
577
580
  properties: {
578
581
  created_at: {
@@ -601,6 +604,7 @@ const openapi: OpenAPISpec = {
601
604
  },
602
605
  required: ['message', 'is_access_code_error', 'error_code'],
603
606
  type: 'object',
607
+ 'x-deprecated': 'Use `duplicate_code_on_device` instead.',
604
608
  },
605
609
  {
606
610
  description:
@@ -812,6 +816,7 @@ const openapi: OpenAPISpec = {
812
816
  'x-variant-group-key': 'locks',
813
817
  },
814
818
  {
819
+ deprecated: true,
815
820
  description: 'Indicates that the device is offline.',
816
821
  properties: {
817
822
  created_at: {
@@ -845,6 +850,7 @@ const openapi: OpenAPISpec = {
845
850
  'error_code',
846
851
  ],
847
852
  type: 'object',
853
+ 'x-deprecated': 'Use `device_disconnected` instead.',
848
854
  },
849
855
  {
850
856
  description: 'Indicates that the device has been removed.',
@@ -1026,6 +1032,7 @@ const openapi: OpenAPISpec = {
1026
1032
  'x-variant-group-key': 'locks',
1027
1033
  },
1028
1034
  {
1035
+ deprecated: true,
1029
1036
  description:
1030
1037
  'Indicates that the lock is not connected to a bridge.',
1031
1038
  properties: {
@@ -1060,11 +1067,13 @@ const openapi: OpenAPISpec = {
1060
1067
  'error_code',
1061
1068
  ],
1062
1069
  type: 'object',
1070
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
1063
1071
  'x-variant-group-key': 'locks',
1064
1072
  },
1065
1073
  {
1074
+ deprecated: true,
1066
1075
  description:
1067
- '\n Indicates that the lock is not paired with a gateway.\n ',
1076
+ 'Indicates that the lock is not paired with a gateway.',
1068
1077
  properties: {
1069
1078
  created_at: {
1070
1079
  description:
@@ -1097,6 +1106,7 @@ const openapi: OpenAPISpec = {
1097
1106
  'error_code',
1098
1107
  ],
1099
1108
  type: 'object',
1109
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
1100
1110
  },
1101
1111
  {
1102
1112
  description: 'Indicates that device credentials are missing.',
@@ -1206,8 +1216,9 @@ const openapi: OpenAPISpec = {
1206
1216
  type: 'object',
1207
1217
  },
1208
1218
  {
1219
+ deprecated: true,
1209
1220
  description:
1210
- '\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ',
1221
+ 'Indicates that the Lockly lock is not connected to a Wi-Fi bridge.',
1211
1222
  properties: {
1212
1223
  created_at: {
1213
1224
  description:
@@ -1240,6 +1251,7 @@ const openapi: OpenAPISpec = {
1240
1251
  'error_code',
1241
1252
  ],
1242
1253
  type: 'object',
1254
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
1243
1255
  },
1244
1256
  {
1245
1257
  description:
@@ -1663,6 +1675,7 @@ const openapi: OpenAPISpec = {
1663
1675
  type: 'object',
1664
1676
  },
1665
1677
  {
1678
+ deprecated: true,
1666
1679
  description: 'Duplicate access code detected.',
1667
1680
  properties: {
1668
1681
  created_at: {
@@ -1685,6 +1698,8 @@ const openapi: OpenAPISpec = {
1685
1698
  },
1686
1699
  required: ['message', 'warning_code'],
1687
1700
  type: 'object',
1701
+ 'x-deprecated':
1702
+ 'Use `duplicate_code_on_device` error instead.',
1688
1703
  },
1689
1704
  {
1690
1705
  description:
@@ -12520,6 +12535,7 @@ const openapi: OpenAPISpec = {
12520
12535
  'x-variant-group-key': 'locks',
12521
12536
  },
12522
12537
  {
12538
+ deprecated: true,
12523
12539
  description: 'Indicates that the device is offline.',
12524
12540
  properties: {
12525
12541
  created_at: {
@@ -12553,6 +12569,7 @@ const openapi: OpenAPISpec = {
12553
12569
  'error_code',
12554
12570
  ],
12555
12571
  type: 'object',
12572
+ 'x-deprecated': 'Use `device_disconnected` instead.',
12556
12573
  },
12557
12574
  {
12558
12575
  description: 'Indicates that the device has been removed.',
@@ -12734,6 +12751,7 @@ const openapi: OpenAPISpec = {
12734
12751
  'x-variant-group-key': 'locks',
12735
12752
  },
12736
12753
  {
12754
+ deprecated: true,
12737
12755
  description:
12738
12756
  'Indicates that the lock is not connected to a bridge.',
12739
12757
  properties: {
@@ -12768,11 +12786,13 @@ const openapi: OpenAPISpec = {
12768
12786
  'error_code',
12769
12787
  ],
12770
12788
  type: 'object',
12789
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
12771
12790
  'x-variant-group-key': 'locks',
12772
12791
  },
12773
12792
  {
12793
+ deprecated: true,
12774
12794
  description:
12775
- '\n Indicates that the lock is not paired with a gateway.\n ',
12795
+ 'Indicates that the lock is not paired with a gateway.',
12776
12796
  properties: {
12777
12797
  created_at: {
12778
12798
  description:
@@ -12805,6 +12825,7 @@ const openapi: OpenAPISpec = {
12805
12825
  'error_code',
12806
12826
  ],
12807
12827
  type: 'object',
12828
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
12808
12829
  },
12809
12830
  {
12810
12831
  description: 'Indicates that device credentials are missing.',
@@ -12914,8 +12935,9 @@ const openapi: OpenAPISpec = {
12914
12935
  type: 'object',
12915
12936
  },
12916
12937
  {
12938
+ deprecated: true,
12917
12939
  description:
12918
- '\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ',
12940
+ 'Indicates that the Lockly lock is not connected to a Wi-Fi bridge.',
12919
12941
  properties: {
12920
12942
  created_at: {
12921
12943
  description:
@@ -12948,6 +12970,7 @@ const openapi: OpenAPISpec = {
12948
12970
  'error_code',
12949
12971
  ],
12950
12972
  type: 'object',
12973
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
12951
12974
  },
12952
12975
  {
12953
12976
  description:
@@ -15784,8 +15807,9 @@ const openapi: OpenAPISpec = {
15784
15807
  'x-variant-group-key': 'access_codes',
15785
15808
  },
15786
15809
  {
15810
+ deprecated: true,
15787
15811
  description:
15788
- '\n Indicates that the Wyze Lock is not connected to a gateway.\n ',
15812
+ 'Indicates that the Wyze Lock is not connected to a gateway.',
15789
15813
  properties: {
15790
15814
  created_at: {
15791
15815
  description:
@@ -15807,6 +15831,8 @@ const openapi: OpenAPISpec = {
15807
15831
  },
15808
15832
  required: ['message', 'created_at', 'warning_code'],
15809
15833
  type: 'object',
15834
+ 'x-deprecated':
15835
+ 'Use `hub_disconnected` device error instead.',
15810
15836
  },
15811
15837
  {
15812
15838
  description:
@@ -27762,6 +27788,7 @@ const openapi: OpenAPISpec = {
27762
27788
  type: 'object',
27763
27789
  },
27764
27790
  {
27791
+ deprecated: true,
27765
27792
  description: 'Duplicate access code name detected.',
27766
27793
  properties: {
27767
27794
  created_at: {
@@ -27790,8 +27817,10 @@ const openapi: OpenAPISpec = {
27790
27817
  },
27791
27818
  required: ['message', 'is_access_code_error', 'error_code'],
27792
27819
  type: 'object',
27820
+ 'x-deprecated': 'Use `duplicate_code_on_device` instead.',
27793
27821
  },
27794
27822
  {
27823
+ deprecated: true,
27795
27824
  description: 'Potential duplicate access code detected.',
27796
27825
  properties: {
27797
27826
  created_at: {
@@ -27820,6 +27849,7 @@ const openapi: OpenAPISpec = {
27820
27849
  },
27821
27850
  required: ['message', 'is_access_code_error', 'error_code'],
27822
27851
  type: 'object',
27852
+ 'x-deprecated': 'Use `duplicate_code_on_device` instead.',
27823
27853
  },
27824
27854
  {
27825
27855
  description:
@@ -28031,6 +28061,7 @@ const openapi: OpenAPISpec = {
28031
28061
  'x-variant-group-key': 'locks',
28032
28062
  },
28033
28063
  {
28064
+ deprecated: true,
28034
28065
  description: 'Indicates that the device is offline.',
28035
28066
  properties: {
28036
28067
  created_at: {
@@ -28064,6 +28095,7 @@ const openapi: OpenAPISpec = {
28064
28095
  'error_code',
28065
28096
  ],
28066
28097
  type: 'object',
28098
+ 'x-deprecated': 'Use `device_disconnected` instead.',
28067
28099
  },
28068
28100
  {
28069
28101
  description: 'Indicates that the device has been removed.',
@@ -28245,6 +28277,7 @@ const openapi: OpenAPISpec = {
28245
28277
  'x-variant-group-key': 'locks',
28246
28278
  },
28247
28279
  {
28280
+ deprecated: true,
28248
28281
  description:
28249
28282
  'Indicates that the lock is not connected to a bridge.',
28250
28283
  properties: {
@@ -28279,11 +28312,13 @@ const openapi: OpenAPISpec = {
28279
28312
  'error_code',
28280
28313
  ],
28281
28314
  type: 'object',
28315
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
28282
28316
  'x-variant-group-key': 'locks',
28283
28317
  },
28284
28318
  {
28319
+ deprecated: true,
28285
28320
  description:
28286
- '\n Indicates that the lock is not paired with a gateway.\n ',
28321
+ 'Indicates that the lock is not paired with a gateway.',
28287
28322
  properties: {
28288
28323
  created_at: {
28289
28324
  description:
@@ -28316,6 +28351,7 @@ const openapi: OpenAPISpec = {
28316
28351
  'error_code',
28317
28352
  ],
28318
28353
  type: 'object',
28354
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
28319
28355
  },
28320
28356
  {
28321
28357
  description: 'Indicates that device credentials are missing.',
@@ -28425,8 +28461,9 @@ const openapi: OpenAPISpec = {
28425
28461
  type: 'object',
28426
28462
  },
28427
28463
  {
28464
+ deprecated: true,
28428
28465
  description:
28429
- '\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ',
28466
+ 'Indicates that the Lockly lock is not connected to a Wi-Fi bridge.',
28430
28467
  properties: {
28431
28468
  created_at: {
28432
28469
  description:
@@ -28459,6 +28496,7 @@ const openapi: OpenAPISpec = {
28459
28496
  'error_code',
28460
28497
  ],
28461
28498
  type: 'object',
28499
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
28462
28500
  },
28463
28501
  {
28464
28502
  description:
@@ -28571,6 +28609,7 @@ const openapi: OpenAPISpec = {
28571
28609
  type: 'object',
28572
28610
  },
28573
28611
  {
28612
+ deprecated: true,
28574
28613
  description: 'Duplicate access code detected.',
28575
28614
  properties: {
28576
28615
  created_at: {
@@ -28593,6 +28632,8 @@ const openapi: OpenAPISpec = {
28593
28632
  },
28594
28633
  required: ['message', 'warning_code'],
28595
28634
  type: 'object',
28635
+ 'x-deprecated':
28636
+ 'Use `duplicate_code_on_device` error instead.',
28596
28637
  },
28597
28638
  {
28598
28639
  description:
@@ -31031,6 +31072,7 @@ const openapi: OpenAPISpec = {
31031
31072
  'x-variant-group-key': 'locks',
31032
31073
  },
31033
31074
  {
31075
+ deprecated: true,
31034
31076
  description: 'Indicates that the device is offline.',
31035
31077
  properties: {
31036
31078
  created_at: {
@@ -31064,6 +31106,7 @@ const openapi: OpenAPISpec = {
31064
31106
  'error_code',
31065
31107
  ],
31066
31108
  type: 'object',
31109
+ 'x-deprecated': 'Use `device_disconnected` instead.',
31067
31110
  },
31068
31111
  {
31069
31112
  description: 'Indicates that the device has been removed.',
@@ -31245,6 +31288,7 @@ const openapi: OpenAPISpec = {
31245
31288
  'x-variant-group-key': 'locks',
31246
31289
  },
31247
31290
  {
31291
+ deprecated: true,
31248
31292
  description:
31249
31293
  'Indicates that the lock is not connected to a bridge.',
31250
31294
  properties: {
@@ -31279,11 +31323,13 @@ const openapi: OpenAPISpec = {
31279
31323
  'error_code',
31280
31324
  ],
31281
31325
  type: 'object',
31326
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
31282
31327
  'x-variant-group-key': 'locks',
31283
31328
  },
31284
31329
  {
31330
+ deprecated: true,
31285
31331
  description:
31286
- '\n Indicates that the lock is not paired with a gateway.\n ',
31332
+ 'Indicates that the lock is not paired with a gateway.',
31287
31333
  properties: {
31288
31334
  created_at: {
31289
31335
  description:
@@ -31316,6 +31362,7 @@ const openapi: OpenAPISpec = {
31316
31362
  'error_code',
31317
31363
  ],
31318
31364
  type: 'object',
31365
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
31319
31366
  },
31320
31367
  {
31321
31368
  description: 'Indicates that device credentials are missing.',
@@ -31425,8 +31472,9 @@ const openapi: OpenAPISpec = {
31425
31472
  type: 'object',
31426
31473
  },
31427
31474
  {
31475
+ deprecated: true,
31428
31476
  description:
31429
- '\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ',
31477
+ 'Indicates that the Lockly lock is not connected to a Wi-Fi bridge.',
31430
31478
  properties: {
31431
31479
  created_at: {
31432
31480
  description:
@@ -31459,6 +31507,7 @@ const openapi: OpenAPISpec = {
31459
31507
  'error_code',
31460
31508
  ],
31461
31509
  type: 'object',
31510
+ 'x-deprecated': 'Use `hub_disconnected` instead.',
31462
31511
  },
31463
31512
  {
31464
31513
  description:
@@ -31751,8 +31800,9 @@ const openapi: OpenAPISpec = {
31751
31800
  'x-variant-group-key': 'access_codes',
31752
31801
  },
31753
31802
  {
31803
+ deprecated: true,
31754
31804
  description:
31755
- '\n Indicates that the Wyze Lock is not connected to a gateway.\n ',
31805
+ 'Indicates that the Wyze Lock is not connected to a gateway.',
31756
31806
  properties: {
31757
31807
  created_at: {
31758
31808
  description:
@@ -31774,6 +31824,8 @@ const openapi: OpenAPISpec = {
31774
31824
  },
31775
31825
  required: ['message', 'created_at', 'warning_code'],
31776
31826
  type: 'object',
31827
+ 'x-deprecated':
31828
+ 'Use `hub_disconnected` device error instead.',
31777
31829
  },
31778
31830
  {
31779
31831
  description:
@@ -57109,7 +57161,7 @@ const openapi: OpenAPISpec = {
57109
57161
  '/devices/simulate/connect_to_hub': {
57110
57162
  post: {
57111
57163
  description:
57112
- 'Simulates bringing the Wi‑Fi hub (bridge) back online for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August and TTLock locks.\nThis will clear the corresponding `hub_disconnected` or\n`ttlock_lock_not_paired_to_gateway` error on the device.',
57164
+ 'Simulates bringing the Wi‑Fi hub (bridge) back online for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August and TTLock locks.\nThis will clear the `hub_disconnected` error on the device.',
57113
57165
  operationId: 'devicesSimulateConnectToHubPost',
57114
57166
  requestBody: {
57115
57167
  content: {
@@ -57215,7 +57267,7 @@ const openapi: OpenAPISpec = {
57215
57267
  '/devices/simulate/disconnect_from_hub': {
57216
57268
  post: {
57217
57269
  description:
57218
- 'Simulates taking the Wi‑Fi hub (bridge) offline for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August, TTLock, and IglooHome devices.\nThis will set the corresponding `hub_disconnected` or\n`ttlock_lock_not_paired_to_gateway` error on the device, or mark the\nIglooHome bridge offline in sandbox.',
57270
+ 'Simulates taking the Wi‑Fi hub (bridge) offline for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August, TTLock, and IglooHome devices.\nThis will set the `hub_disconnected` error on the device, or mark the\nIglooHome bridge offline in sandbox.',
57219
57271
  operationId: 'devicesSimulateDisconnectFromHubPost',
57220
57272
  requestBody: {
57221
57273
  content: {