@seamapi/types 1.129.0 → 1.130.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.
@@ -1946,6 +1946,12 @@ export interface Routes {
1946
1946
  online: boolean;
1947
1947
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
1948
1948
  name: string;
1949
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
1950
+ nickname?: string | undefined;
1951
+ appearance: {
1952
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
1953
+ name: string;
1954
+ };
1949
1955
  model: {
1950
1956
  /** Display name of the device model. */
1951
1957
  display_name: string;
@@ -2436,6 +2442,12 @@ export interface Routes {
2436
2442
  online: boolean;
2437
2443
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2438
2444
  name: string;
2445
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2446
+ nickname?: string | undefined;
2447
+ appearance: {
2448
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
2449
+ name: string;
2450
+ };
2439
2451
  model: {
2440
2452
  /** Display name of the device model. */
2441
2453
  display_name: string;
@@ -3249,6 +3261,12 @@ export interface Routes {
3249
3261
  online: boolean;
3250
3262
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3251
3263
  name: string;
3264
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3265
+ nickname?: string | undefined;
3266
+ appearance: {
3267
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
3268
+ name: string;
3269
+ };
3252
3270
  model: {
3253
3271
  /** Display name of the device model. */
3254
3272
  display_name: string;
@@ -3716,6 +3734,12 @@ export interface Routes {
3716
3734
  online: boolean;
3717
3735
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3718
3736
  name: string;
3737
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3738
+ nickname?: string | undefined;
3739
+ appearance: {
3740
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
3741
+ name: string;
3742
+ };
3719
3743
  model: {
3720
3744
  /** Display name of the device model. */
3721
3745
  display_name: string;
@@ -4206,6 +4230,12 @@ export interface Routes {
4206
4230
  online: boolean;
4207
4231
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4208
4232
  name: string;
4233
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4234
+ nickname?: string | undefined;
4235
+ appearance: {
4236
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
4237
+ name: string;
4238
+ };
4209
4239
  model: {
4210
4240
  /** Display name of the device model. */
4211
4241
  display_name: string;
@@ -4673,6 +4703,12 @@ export interface Routes {
4673
4703
  online: boolean;
4674
4704
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4675
4705
  name: string;
4706
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4707
+ nickname?: string | undefined;
4708
+ appearance: {
4709
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
4710
+ name: string;
4711
+ };
4676
4712
  model: {
4677
4713
  /** Display name of the device model. */
4678
4714
  display_name: string;
@@ -5769,6 +5805,12 @@ export interface Routes {
5769
5805
  online: boolean;
5770
5806
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5771
5807
  name: string;
5808
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5809
+ nickname?: string | undefined;
5810
+ appearance: {
5811
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
5812
+ name: string;
5813
+ };
5772
5814
  model: {
5773
5815
  /** Display name of the device model. */
5774
5816
  display_name: string;
@@ -6335,6 +6377,12 @@ export interface Routes {
6335
6377
  online: boolean;
6336
6378
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6337
6379
  name: string;
6380
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6381
+ nickname?: string | undefined;
6382
+ appearance: {
6383
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
6384
+ name: string;
6385
+ };
6338
6386
  model: {
6339
6387
  /** Display name of the device model. */
6340
6388
  display_name: string;
@@ -7086,6 +7134,12 @@ export interface Routes {
7086
7134
  online: boolean;
7087
7135
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7088
7136
  name: string;
7137
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7138
+ nickname?: string | undefined;
7139
+ appearance: {
7140
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
7141
+ name: string;
7142
+ };
7089
7143
  model: {
7090
7144
  /** Display name of the device model. */
7091
7145
  display_name: string;
@@ -6,6 +6,14 @@ export type BatteryStatus = z.infer<typeof battery_status>;
6
6
  export declare const common_device_properties: z.ZodObject<{
7
7
  online: z.ZodBoolean;
8
8
  name: z.ZodString;
9
+ nickname: z.ZodOptional<z.ZodString>;
10
+ appearance: z.ZodObject<{
11
+ name: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ name: string;
14
+ }, {
15
+ name: string;
16
+ }>;
9
17
  model: z.ZodObject<{
10
18
  display_name: z.ZodString;
11
19
  manufacturer_display_name: z.ZodString;
@@ -47,6 +55,9 @@ export declare const common_device_properties: z.ZodObject<{
47
55
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
48
56
  }, "strip", z.ZodTypeAny, {
49
57
  name: string;
58
+ appearance: {
59
+ name: string;
60
+ };
50
61
  online: boolean;
51
62
  model: {
52
63
  display_name: string;
@@ -55,6 +66,7 @@ export declare const common_device_properties: z.ZodObject<{
55
66
  online_access_codes_supported?: boolean | undefined;
56
67
  accessory_keypad_supported?: boolean | undefined;
57
68
  };
69
+ nickname?: string | undefined;
58
70
  has_direct_power?: boolean | undefined;
59
71
  battery_level?: number | undefined;
60
72
  battery?: {
@@ -71,6 +83,9 @@ export declare const common_device_properties: z.ZodObject<{
71
83
  supports_offline_access_codes?: boolean | undefined;
72
84
  }, {
73
85
  name: string;
86
+ appearance: {
87
+ name: string;
88
+ };
74
89
  online: boolean;
75
90
  model: {
76
91
  display_name: string;
@@ -79,6 +94,7 @@ export declare const common_device_properties: z.ZodObject<{
79
94
  online_access_codes_supported?: boolean | undefined;
80
95
  accessory_keypad_supported?: boolean | undefined;
81
96
  };
97
+ nickname?: string | undefined;
82
98
  has_direct_power?: boolean | undefined;
83
99
  battery_level?: number | undefined;
84
100
  battery?: {
@@ -114,6 +130,14 @@ export declare const managed_device: z.ZodObject<{
114
130
  properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
115
131
  online: z.ZodBoolean;
116
132
  name: z.ZodString;
133
+ nickname: z.ZodOptional<z.ZodString>;
134
+ appearance: z.ZodObject<{
135
+ name: z.ZodString;
136
+ }, "strip", z.ZodTypeAny, {
137
+ name: string;
138
+ }, {
139
+ name: string;
140
+ }>;
117
141
  model: z.ZodObject<{
118
142
  display_name: z.ZodString;
119
143
  manufacturer_display_name: z.ZodString;
@@ -155,6 +179,9 @@ export declare const managed_device: z.ZodObject<{
155
179
  supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
156
180
  }, "strip", z.ZodTypeAny, {
157
181
  name: string;
182
+ appearance: {
183
+ name: string;
184
+ };
158
185
  online: boolean;
159
186
  model: {
160
187
  display_name: string;
@@ -163,6 +190,7 @@ export declare const managed_device: z.ZodObject<{
163
190
  online_access_codes_supported?: boolean | undefined;
164
191
  accessory_keypad_supported?: boolean | undefined;
165
192
  };
193
+ nickname?: string | undefined;
166
194
  has_direct_power?: boolean | undefined;
167
195
  battery_level?: number | undefined;
168
196
  battery?: {
@@ -179,6 +207,9 @@ export declare const managed_device: z.ZodObject<{
179
207
  supports_offline_access_codes?: boolean | undefined;
180
208
  }, {
181
209
  name: string;
210
+ appearance: {
211
+ name: string;
212
+ };
182
213
  online: boolean;
183
214
  model: {
184
215
  display_name: string;
@@ -187,6 +218,7 @@ export declare const managed_device: z.ZodObject<{
187
218
  online_access_codes_supported?: boolean | undefined;
188
219
  accessory_keypad_supported?: boolean | undefined;
189
220
  };
221
+ nickname?: string | undefined;
190
222
  has_direct_power?: boolean | undefined;
191
223
  battery_level?: number | undefined;
192
224
  battery?: {
@@ -2037,6 +2069,9 @@ export declare const managed_device: z.ZodObject<{
2037
2069
  is_managed: true;
2038
2070
  properties: ({
2039
2071
  name: string;
2072
+ appearance: {
2073
+ name: string;
2074
+ };
2040
2075
  online: boolean;
2041
2076
  model: {
2042
2077
  display_name: string;
@@ -2045,6 +2080,7 @@ export declare const managed_device: z.ZodObject<{
2045
2080
  online_access_codes_supported?: boolean | undefined;
2046
2081
  accessory_keypad_supported?: boolean | undefined;
2047
2082
  };
2083
+ nickname?: string | undefined;
2048
2084
  has_direct_power?: boolean | undefined;
2049
2085
  battery_level?: number | undefined;
2050
2086
  battery?: {
@@ -2445,6 +2481,9 @@ export declare const managed_device: z.ZodObject<{
2445
2481
  is_cooling_available?: true | undefined;
2446
2482
  }))) & (({
2447
2483
  name: string;
2484
+ appearance: {
2485
+ name: string;
2486
+ };
2448
2487
  online: boolean;
2449
2488
  model: {
2450
2489
  display_name: string;
@@ -2453,6 +2492,7 @@ export declare const managed_device: z.ZodObject<{
2453
2492
  online_access_codes_supported?: boolean | undefined;
2454
2493
  accessory_keypad_supported?: boolean | undefined;
2455
2494
  };
2495
+ nickname?: string | undefined;
2456
2496
  has_direct_power?: boolean | undefined;
2457
2497
  battery_level?: number | undefined;
2458
2498
  battery?: {
@@ -2878,6 +2918,9 @@ export declare const managed_device: z.ZodObject<{
2878
2918
  is_managed: true;
2879
2919
  properties: ({
2880
2920
  name: string;
2921
+ appearance: {
2922
+ name: string;
2923
+ };
2881
2924
  online: boolean;
2882
2925
  model: {
2883
2926
  display_name: string;
@@ -2886,6 +2929,7 @@ export declare const managed_device: z.ZodObject<{
2886
2929
  online_access_codes_supported?: boolean | undefined;
2887
2930
  accessory_keypad_supported?: boolean | undefined;
2888
2931
  };
2932
+ nickname?: string | undefined;
2889
2933
  has_direct_power?: boolean | undefined;
2890
2934
  battery_level?: number | undefined;
2891
2935
  battery?: {
@@ -3286,6 +3330,9 @@ export declare const managed_device: z.ZodObject<{
3286
3330
  is_cooling_available?: true | undefined;
3287
3331
  }))) & (({
3288
3332
  name: string;
3333
+ appearance: {
3334
+ name: string;
3335
+ };
3289
3336
  online: boolean;
3290
3337
  model: {
3291
3338
  display_name: string;
@@ -3294,6 +3341,7 @@ export declare const managed_device: z.ZodObject<{
3294
3341
  online_access_codes_supported?: boolean | undefined;
3295
3342
  accessory_keypad_supported?: boolean | undefined;
3296
3343
  };
3344
+ nickname?: string | undefined;
3297
3345
  has_direct_power?: boolean | undefined;
3298
3346
  battery_level?: number | undefined;
3299
3347
  battery?: {
@@ -12,6 +12,15 @@ export const common_device_properties = z.object({
12
12
  name: z
13
13
  .string()
14
14
  .describe('Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
15
+ nickname: z
16
+ .string()
17
+ .optional()
18
+ .describe('Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
19
+ appearance: z.object({
20
+ name: z
21
+ .string()
22
+ .describe('Name of the device as seen from the provider API and application, not settable through Seam.'),
23
+ }),
15
24
  model: z.object({
16
25
  display_name: z.string().describe('Display name of the device model.'),
17
26
  manufacturer_display_name: z
@@ -1 +1 @@
1
- {"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;A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,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ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 export declare const unmanaged_device: z.ZodObject<{
8
8
  properties: z.ZodObject<Pick<{
9
9
  online: z.ZodBoolean;
10
10
  name: z.ZodString;
11
+ nickname: z.ZodOptional<z.ZodString>;
12
+ appearance: z.ZodObject<{
13
+ name: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ name: string;
16
+ }, {
17
+ name: string;
18
+ }>;
11
19
  model: z.ZodObject<{
12
20
  display_name: z.ZodString;
13
21
  manufacturer_display_name: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.129.0",
3
+ "version": "1.130.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -657,6 +657,17 @@ export default {
657
657
  allOf: [
658
658
  {
659
659
  properties: {
660
+ appearance: {
661
+ properties: {
662
+ name: {
663
+ description:
664
+ 'Name of the device as seen from the provider API and application, not settable through Seam.',
665
+ type: 'string',
666
+ },
667
+ },
668
+ required: ['name'],
669
+ type: 'object',
670
+ },
660
671
  battery: {
661
672
  description:
662
673
  'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
@@ -734,6 +745,11 @@ export default {
734
745
  'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
735
746
  type: 'string',
736
747
  },
748
+ nickname: {
749
+ description:
750
+ 'Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
751
+ type: 'string',
752
+ },
737
753
  offline_access_codes_enabled: {
738
754
  description:
739
755
  'Indicates whether it is currently possible to use offline access codes for the device.',
@@ -764,7 +780,7 @@ export default {
764
780
  type: 'boolean',
765
781
  },
766
782
  },
767
- required: ['online', 'name', 'model'],
783
+ required: ['online', 'name', 'appearance', 'model'],
768
784
  type: 'object',
769
785
  },
770
786
  {
@@ -9207,9 +9223,10 @@ export default {
9207
9223
  401: { description: 'Unauthorized' },
9208
9224
  },
9209
9225
  security: [
9210
- { access_token: [], seam_workspace: [] },
9211
- { seam_client_session_token: [] },
9212
- { client_session_token: [] },
9226
+ { client_session: [] },
9227
+ { pat_with_workspace: [] },
9228
+ { console_session: [] },
9229
+ { api_key: [] },
9213
9230
  ],
9214
9231
  summary: '/locks/unlock_door',
9215
9232
  tags: ['/locks'],
@@ -2239,6 +2239,12 @@ export interface Routes {
2239
2239
  online: boolean
2240
2240
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2241
2241
  name: string
2242
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2243
+ nickname?: string | undefined
2244
+ appearance: {
2245
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
2246
+ name: string
2247
+ }
2242
2248
  model: {
2243
2249
  /** Display name of the device model. */
2244
2250
  display_name: string
@@ -3045,6 +3051,12 @@ export interface Routes {
3045
3051
  online: boolean
3046
3052
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3047
3053
  name: string
3054
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3055
+ nickname?: string | undefined
3056
+ appearance: {
3057
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
3058
+ name: string
3059
+ }
3048
3060
  model: {
3049
3061
  /** Display name of the device model. */
3050
3062
  display_name: string
@@ -4414,6 +4426,12 @@ export interface Routes {
4414
4426
  online: boolean
4415
4427
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4416
4428
  name: string
4429
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4430
+ nickname?: string | undefined
4431
+ appearance: {
4432
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
4433
+ name: string
4434
+ }
4417
4435
  model: {
4418
4436
  /** Display name of the device model. */
4419
4437
  display_name: string
@@ -5092,6 +5110,12 @@ export interface Routes {
5092
5110
  online: boolean
5093
5111
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5094
5112
  name: string
5113
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5114
+ nickname?: string | undefined
5115
+ appearance: {
5116
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
5117
+ name: string
5118
+ }
5095
5119
  model: {
5096
5120
  /** Display name of the device model. */
5097
5121
  display_name: string
@@ -5898,6 +5922,12 @@ export interface Routes {
5898
5922
  online: boolean
5899
5923
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5900
5924
  name: string
5925
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5926
+ nickname?: string | undefined
5927
+ appearance: {
5928
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
5929
+ name: string
5930
+ }
5901
5931
  model: {
5902
5932
  /** Display name of the device model. */
5903
5933
  display_name: string
@@ -6576,6 +6606,12 @@ export interface Routes {
6576
6606
  online: boolean
6577
6607
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6578
6608
  name: string
6609
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6610
+ nickname?: string | undefined
6611
+ appearance: {
6612
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
6613
+ name: string
6614
+ }
6579
6615
  model: {
6580
6616
  /** Display name of the device model. */
6581
6617
  display_name: string
@@ -7919,6 +7955,12 @@ export interface Routes {
7919
7955
  online: boolean
7920
7956
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7921
7957
  name: string
7958
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7959
+ nickname?: string | undefined
7960
+ appearance: {
7961
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
7962
+ name: string
7963
+ }
7922
7964
  model: {
7923
7965
  /** Display name of the device model. */
7924
7966
  display_name: string
@@ -8807,6 +8849,12 @@ export interface Routes {
8807
8849
  online: boolean
8808
8850
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
8809
8851
  name: string
8852
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
8853
+ nickname?: string | undefined
8854
+ appearance: {
8855
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
8856
+ name: string
8857
+ }
8810
8858
  model: {
8811
8859
  /** Display name of the device model. */
8812
8860
  display_name: string
@@ -9777,6 +9825,12 @@ export interface Routes {
9777
9825
  online: boolean
9778
9826
  /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
9779
9827
  name: string
9828
+ /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
9829
+ nickname?: string | undefined
9830
+ appearance: {
9831
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
9832
+ name: string
9833
+ }
9780
9834
  model: {
9781
9835
  /** Display name of the device model. */
9782
9836
  display_name: string
@@ -21,6 +21,19 @@ export const common_device_properties = z.object({
21
21
  .describe(
22
22
  'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
23
23
  ),
24
+ nickname: z
25
+ .string()
26
+ .optional()
27
+ .describe(
28
+ 'Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
29
+ ),
30
+ appearance: z.object({
31
+ name: z
32
+ .string()
33
+ .describe(
34
+ 'Name of the device as seen from the provider API and application, not settable through Seam.',
35
+ ),
36
+ }),
24
37
  model: z.object({
25
38
  display_name: z.string().describe('Display name of the device model.'),
26
39
  manufacturer_display_name: z