@seamapi/types 1.361.0 → 1.361.1
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/dist/connect.cjs +6 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +37 -37
- package/lib/seam/connect/models/events/devices.d.ts +6 -6
- package/lib/seam/connect/models/events/devices.js +1 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/openapi.d.ts +32 -32
- package/lib/seam/connect/openapi.js +5 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +5 -5
- package/src/lib/seam/connect/route-types.ts +2 -2
|
@@ -16976,7 +16976,7 @@ export interface Routes {
|
|
|
16976
16976
|
connected_account_id: string;
|
|
16977
16977
|
event_type: 'device.name_changed';
|
|
16978
16978
|
/** The new name of the device. */
|
|
16979
|
-
|
|
16979
|
+
device_name: string;
|
|
16980
16980
|
} | {
|
|
16981
16981
|
/** ID of the event. */
|
|
16982
16982
|
event_id: string;
|
|
@@ -18204,7 +18204,7 @@ export interface Routes {
|
|
|
18204
18204
|
connected_account_id: string;
|
|
18205
18205
|
event_type: 'device.name_changed';
|
|
18206
18206
|
/** The new name of the device. */
|
|
18207
|
-
|
|
18207
|
+
device_name: string;
|
|
18208
18208
|
} | {
|
|
18209
18209
|
/** ID of the event. */
|
|
18210
18210
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -653,7 +653,7 @@ export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>
|
|
|
653
653
|
|
|
654
654
|
export const device_name_changed_event = device_event.extend({
|
|
655
655
|
event_type: z.literal('device.name_changed'),
|
|
656
|
-
|
|
656
|
+
device_name: z.string().describe('The new name of the device.'),
|
|
657
657
|
}).describe(`
|
|
658
658
|
---
|
|
659
659
|
route_path: /devices
|
|
@@ -12259,16 +12259,16 @@ export default {
|
|
|
12259
12259
|
format: 'uuid',
|
|
12260
12260
|
type: 'string',
|
|
12261
12261
|
},
|
|
12262
|
+
device_name: {
|
|
12263
|
+
description: 'The new name of the device.',
|
|
12264
|
+
type: 'string',
|
|
12265
|
+
},
|
|
12262
12266
|
event_id: {
|
|
12263
12267
|
description: 'ID of the event.',
|
|
12264
12268
|
format: 'uuid',
|
|
12265
12269
|
type: 'string',
|
|
12266
12270
|
},
|
|
12267
12271
|
event_type: { enum: ['device.name_changed'], type: 'string' },
|
|
12268
|
-
new_name: {
|
|
12269
|
-
description: 'The new name of the device.',
|
|
12270
|
-
type: 'string',
|
|
12271
|
-
},
|
|
12272
12272
|
occurred_at: {
|
|
12273
12273
|
description: 'Date and time at which the event occurred.',
|
|
12274
12274
|
format: 'date-time',
|
|
@@ -12289,7 +12289,7 @@ export default {
|
|
|
12289
12289
|
'device_id',
|
|
12290
12290
|
'connected_account_id',
|
|
12291
12291
|
'event_type',
|
|
12292
|
-
'
|
|
12292
|
+
'device_name',
|
|
12293
12293
|
],
|
|
12294
12294
|
type: 'object',
|
|
12295
12295
|
'x-route-path': '/devices',
|
|
@@ -20622,7 +20622,7 @@ export interface Routes {
|
|
|
20622
20622
|
connected_account_id: string
|
|
20623
20623
|
event_type: 'device.name_changed'
|
|
20624
20624
|
/** The new name of the device. */
|
|
20625
|
-
|
|
20625
|
+
device_name: string
|
|
20626
20626
|
}
|
|
20627
20627
|
| {
|
|
20628
20628
|
/** ID of the event. */
|
|
@@ -22096,7 +22096,7 @@ export interface Routes {
|
|
|
22096
22096
|
connected_account_id: string
|
|
22097
22097
|
event_type: 'device.name_changed'
|
|
22098
22098
|
/** The new name of the device. */
|
|
22099
|
-
|
|
22099
|
+
device_name: string
|
|
22100
22100
|
}
|
|
22101
22101
|
| {
|
|
22102
22102
|
/** ID of the event. */
|