@seamapi/types 1.271.0 → 1.272.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.
@@ -4065,11 +4065,6 @@ export interface Routes {
4065
4065
  queryParams: {};
4066
4066
  jsonBody: {};
4067
4067
  commonParams: {
4068
- acs_system_id: string;
4069
- device_name: string;
4070
- acs_credential_id: string;
4071
- } | {
4072
- acs_system_id: string;
4073
4068
  device_id: string;
4074
4069
  acs_credential_id: string;
4075
4070
  };
@@ -4960,6 +4955,7 @@ export interface Routes {
4960
4955
  nest_device_id: string;
4961
4956
  device_name: string;
4962
4957
  custom_name: string;
4958
+ display_name?: string | undefined;
4963
4959
  } | undefined;
4964
4960
  ecobee_metadata?: {
4965
4961
  ecobee_device_id: string;
@@ -5173,9 +5169,6 @@ export interface Routes {
5173
5169
  queryParams: {};
5174
5170
  jsonBody: {};
5175
5171
  commonParams: {
5176
- acs_system_id: string;
5177
- device_name: string;
5178
- } | {
5179
5172
  acs_system_id: string;
5180
5173
  device_id: string;
5181
5174
  };
@@ -8938,6 +8931,7 @@ export interface Routes {
8938
8931
  nest_device_id: string;
8939
8932
  device_name: string;
8940
8933
  custom_name: string;
8934
+ display_name?: string | undefined;
8941
8935
  } | undefined;
8942
8936
  ecobee_metadata?: {
8943
8937
  ecobee_device_id: string;
@@ -9403,6 +9397,7 @@ export interface Routes {
9403
9397
  nest_device_id: string;
9404
9398
  device_name: string;
9405
9399
  custom_name: string;
9400
+ display_name?: string | undefined;
9406
9401
  } | undefined;
9407
9402
  ecobee_metadata?: {
9408
9403
  ecobee_device_id: string;
@@ -10268,6 +10263,7 @@ export interface Routes {
10268
10263
  nest_device_id: string;
10269
10264
  device_name: string;
10270
10265
  custom_name: string;
10266
+ display_name?: string | undefined;
10271
10267
  } | undefined;
10272
10268
  ecobee_metadata?: {
10273
10269
  ecobee_device_id: string;
@@ -10708,6 +10704,7 @@ export interface Routes {
10708
10704
  nest_device_id: string;
10709
10705
  device_name: string;
10710
10706
  custom_name: string;
10707
+ display_name?: string | undefined;
10711
10708
  } | undefined;
10712
10709
  ecobee_metadata?: {
10713
10710
  ecobee_device_id: string;
@@ -11173,6 +11170,7 @@ export interface Routes {
11173
11170
  nest_device_id: string;
11174
11171
  device_name: string;
11175
11172
  custom_name: string;
11173
+ display_name?: string | undefined;
11176
11174
  } | undefined;
11177
11175
  ecobee_metadata?: {
11178
11176
  ecobee_device_id: string;
@@ -11613,6 +11611,7 @@ export interface Routes {
11613
11611
  nest_device_id: string;
11614
11612
  device_name: string;
11615
11613
  custom_name: string;
11614
+ display_name?: string | undefined;
11616
11615
  } | undefined;
11617
11616
  ecobee_metadata?: {
11618
11617
  ecobee_device_id: string;
@@ -13398,6 +13397,7 @@ export interface Routes {
13398
13397
  nest_device_id: string;
13399
13398
  device_name: string;
13400
13399
  custom_name: string;
13400
+ display_name?: string | undefined;
13401
13401
  } | undefined;
13402
13402
  ecobee_metadata?: {
13403
13403
  ecobee_device_id: string;
@@ -13838,6 +13838,7 @@ export interface Routes {
13838
13838
  nest_device_id: string;
13839
13839
  device_name: string;
13840
13840
  custom_name: string;
13841
+ display_name?: string | undefined;
13841
13842
  } | undefined;
13842
13843
  ecobee_metadata?: {
13843
13844
  ecobee_device_id: string;
@@ -17786,6 +17787,7 @@ export interface Routes {
17786
17787
  nest_device_id: string;
17787
17788
  device_name: string;
17788
17789
  custom_name: string;
17790
+ display_name?: string | undefined;
17789
17791
  } | undefined;
17790
17792
  ecobee_metadata?: {
17791
17793
  ecobee_device_id: string;
@@ -19543,6 +19545,7 @@ export interface Routes {
19543
19545
  nest_device_id: string;
19544
19546
  device_name: string;
19545
19547
  custom_name: string;
19548
+ display_name?: string | undefined;
19546
19549
  } | undefined;
19547
19550
  ecobee_metadata?: {
19548
19551
  ecobee_device_id: string;
@@ -19983,6 +19986,7 @@ export interface Routes {
19983
19986
  nest_device_id: string;
19984
19987
  device_name: string;
19985
19988
  custom_name: string;
19989
+ display_name?: string | undefined;
19986
19990
  } | undefined;
19987
19991
  ecobee_metadata?: {
19988
19992
  ecobee_device_id: string;
@@ -22041,6 +22045,7 @@ export interface Routes {
22041
22045
  nest_device_id: string;
22042
22046
  device_name: string;
22043
22047
  custom_name: string;
22048
+ display_name?: string | undefined;
22044
22049
  } | undefined;
22045
22050
  ecobee_metadata?: {
22046
22051
  ecobee_device_id: string;
@@ -22483,6 +22488,7 @@ export interface Routes {
22483
22488
  nest_device_id: string;
22484
22489
  device_name: string;
22485
22490
  custom_name: string;
22491
+ display_name?: string | undefined;
22486
22492
  } | undefined;
22487
22493
  ecobee_metadata?: {
22488
22494
  ecobee_device_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.271.0",
3
+ "version": "1.272.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -188,6 +188,7 @@ export const device_metadata = z
188
188
  nest_device_id: z.string(),
189
189
  device_name: z.string(), // set by Google
190
190
  custom_name: z.string(), // set by device owner
191
+ display_name: z.string().optional(),
191
192
  }),
192
193
 
193
194
  ecobee_metadata: z.object({
@@ -3826,6 +3826,7 @@ export default {
3826
3826
  properties: {
3827
3827
  custom_name: { type: 'string' },
3828
3828
  device_name: { type: 'string' },
3829
+ display_name: { type: 'string' },
3829
3830
  nest_device_id: { type: 'string' },
3830
3831
  },
3831
3832
  required: [
@@ -8214,34 +8215,12 @@ export default {
8214
8215
  content: {
8215
8216
  'application/json': {
8216
8217
  schema: {
8217
- oneOf: [
8218
- {
8219
- properties: {
8220
- acs_credential_id: { format: 'uuid', type: 'string' },
8221
- acs_system_id: { format: 'uuid', type: 'string' },
8222
- device_name: { type: 'string' },
8223
- },
8224
- required: [
8225
- 'acs_system_id',
8226
- 'device_name',
8227
- 'acs_credential_id',
8228
- ],
8229
- type: 'object',
8230
- },
8231
- {
8232
- properties: {
8233
- acs_credential_id: { format: 'uuid', type: 'string' },
8234
- acs_system_id: { format: 'uuid', type: 'string' },
8235
- device_id: { format: 'uuid', type: 'string' },
8236
- },
8237
- required: [
8238
- 'acs_system_id',
8239
- 'device_id',
8240
- 'acs_credential_id',
8241
- ],
8242
- type: 'object',
8243
- },
8244
- ],
8218
+ properties: {
8219
+ acs_credential_id: { format: 'uuid', type: 'string' },
8220
+ device_id: { format: 'uuid', type: 'string' },
8221
+ },
8222
+ required: ['device_id', 'acs_credential_id'],
8223
+ type: 'object',
8245
8224
  },
8246
8225
  },
8247
8226
  },
@@ -8374,24 +8353,12 @@ export default {
8374
8353
  content: {
8375
8354
  'application/json': {
8376
8355
  schema: {
8377
- oneOf: [
8378
- {
8379
- properties: {
8380
- acs_system_id: { format: 'uuid', type: 'string' },
8381
- device_name: { type: 'string' },
8382
- },
8383
- required: ['acs_system_id', 'device_name'],
8384
- type: 'object',
8385
- },
8386
- {
8387
- properties: {
8388
- acs_system_id: { format: 'uuid', type: 'string' },
8389
- device_id: { format: 'uuid', type: 'string' },
8390
- },
8391
- required: ['acs_system_id', 'device_id'],
8392
- type: 'object',
8393
- },
8394
- ],
8356
+ properties: {
8357
+ acs_system_id: { format: 'uuid', type: 'string' },
8358
+ device_id: { format: 'uuid', type: 'string' },
8359
+ },
8360
+ required: ['acs_system_id', 'device_id'],
8361
+ type: 'object',
8395
8362
  },
8396
8363
  },
8397
8364
  },
@@ -4742,17 +4742,10 @@ export interface Routes {
4742
4742
  method: 'POST'
4743
4743
  queryParams: {}
4744
4744
  jsonBody: {}
4745
- commonParams:
4746
- | {
4747
- acs_system_id: string
4748
- device_name: string
4749
- acs_credential_id: string
4750
- }
4751
- | {
4752
- acs_system_id: string
4753
- device_id: string
4754
- acs_credential_id: string
4755
- }
4745
+ commonParams: {
4746
+ device_id: string
4747
+ acs_credential_id: string
4748
+ }
4756
4749
  formData: {}
4757
4750
  jsonResponse: {
4758
4751
  action_attempt:
@@ -5858,6 +5851,7 @@ export interface Routes {
5858
5851
  nest_device_id: string
5859
5852
  device_name: string
5860
5853
  custom_name: string
5854
+ display_name?: string | undefined
5861
5855
  }
5862
5856
  | undefined
5863
5857
  ecobee_metadata?:
@@ -6148,15 +6142,10 @@ export interface Routes {
6148
6142
  method: 'POST'
6149
6143
  queryParams: {}
6150
6144
  jsonBody: {}
6151
- commonParams:
6152
- | {
6153
- acs_system_id: string
6154
- device_name: string
6155
- }
6156
- | {
6157
- acs_system_id: string
6158
- device_id: string
6159
- }
6145
+ commonParams: {
6146
+ acs_system_id: string
6147
+ device_id: string
6148
+ }
6160
6149
  formData: {}
6161
6150
  jsonResponse: {
6162
6151
  action_attempt:
@@ -10670,6 +10659,7 @@ export interface Routes {
10670
10659
  nest_device_id: string
10671
10660
  device_name: string
10672
10661
  custom_name: string
10662
+ display_name?: string | undefined
10673
10663
  }
10674
10664
  | undefined
10675
10665
  ecobee_metadata?:
@@ -11455,6 +11445,7 @@ export interface Routes {
11455
11445
  nest_device_id: string
11456
11446
  device_name: string
11457
11447
  custom_name: string
11448
+ display_name?: string | undefined
11458
11449
  }
11459
11450
  | undefined
11460
11451
  ecobee_metadata?:
@@ -12941,6 +12932,7 @@ export interface Routes {
12941
12932
  nest_device_id: string
12942
12933
  device_name: string
12943
12934
  custom_name: string
12935
+ display_name?: string | undefined
12944
12936
  }
12945
12937
  | undefined
12946
12938
  ecobee_metadata?:
@@ -13555,6 +13547,7 @@ export interface Routes {
13555
13547
  nest_device_id: string
13556
13548
  device_name: string
13557
13549
  custom_name: string
13550
+ display_name?: string | undefined
13558
13551
  }
13559
13552
  | undefined
13560
13553
  ecobee_metadata?:
@@ -14340,6 +14333,7 @@ export interface Routes {
14340
14333
  nest_device_id: string
14341
14334
  device_name: string
14342
14335
  custom_name: string
14336
+ display_name?: string | undefined
14343
14337
  }
14344
14338
  | undefined
14345
14339
  ecobee_metadata?:
@@ -14954,6 +14948,7 @@ export interface Routes {
14954
14948
  nest_device_id: string
14955
14949
  device_name: string
14956
14950
  custom_name: string
14951
+ display_name?: string | undefined
14957
14952
  }
14958
14953
  | undefined
14959
14954
  ecobee_metadata?:
@@ -17297,6 +17292,7 @@ export interface Routes {
17297
17292
  nest_device_id: string
17298
17293
  device_name: string
17299
17294
  custom_name: string
17295
+ display_name?: string | undefined
17300
17296
  }
17301
17297
  | undefined
17302
17298
  ecobee_metadata?:
@@ -17911,6 +17907,7 @@ export interface Routes {
17911
17907
  nest_device_id: string
17912
17908
  device_name: string
17913
17909
  custom_name: string
17910
+ display_name?: string | undefined
17914
17911
  }
17915
17912
  | undefined
17916
17913
  ecobee_metadata?:
@@ -22652,6 +22649,7 @@ export interface Routes {
22652
22649
  nest_device_id: string
22653
22650
  device_name: string
22654
22651
  custom_name: string
22652
+ display_name?: string | undefined
22655
22653
  }
22656
22654
  | undefined
22657
22655
  ecobee_metadata?:
@@ -24967,6 +24965,7 @@ export interface Routes {
24967
24965
  nest_device_id: string
24968
24966
  device_name: string
24969
24967
  custom_name: string
24968
+ display_name?: string | undefined
24970
24969
  }
24971
24970
  | undefined
24972
24971
  ecobee_metadata?:
@@ -25581,6 +25580,7 @@ export interface Routes {
25581
25580
  nest_device_id: string
25582
25581
  device_name: string
25583
25582
  custom_name: string
25583
+ display_name?: string | undefined
25584
25584
  }
25585
25585
  | undefined
25586
25586
  ecobee_metadata?:
@@ -28053,6 +28053,7 @@ export interface Routes {
28053
28053
  nest_device_id: string
28054
28054
  device_name: string
28055
28055
  custom_name: string
28056
+ display_name?: string | undefined
28056
28057
  }
28057
28058
  | undefined
28058
28059
  ecobee_metadata?:
@@ -28669,6 +28670,7 @@ export interface Routes {
28669
28670
  nest_device_id: string
28670
28671
  device_name: string
28671
28672
  custom_name: string
28673
+ display_name?: string | undefined
28672
28674
  }
28673
28675
  | undefined
28674
28676
  ecobee_metadata?: