@seamapi/types 1.906.0 → 1.907.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/dist/connect.cjs +9 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +11 -0
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +6 -0
- package/lib/seam/connect/models/events/devices.js +5 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.js +5 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +8 -0
|
@@ -48032,6 +48032,8 @@ export type Routes = {
|
|
|
48032
48032
|
[x: string]: string | boolean;
|
|
48033
48033
|
} | undefined;
|
|
48034
48034
|
event_type: 'device.deleted';
|
|
48035
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
48036
|
+
device_name?: (string | null) | undefined;
|
|
48035
48037
|
} | {
|
|
48036
48038
|
/** ID of the event. */
|
|
48037
48039
|
event_id: string;
|
|
@@ -50889,6 +50891,8 @@ export type Routes = {
|
|
|
50889
50891
|
[x: string]: string | boolean;
|
|
50890
50892
|
} | undefined;
|
|
50891
50893
|
event_type: 'device.deleted';
|
|
50894
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
50895
|
+
device_name?: (string | null) | undefined;
|
|
50892
50896
|
} | {
|
|
50893
50897
|
/** ID of the event. */
|
|
50894
50898
|
event_id: string;
|
|
@@ -79378,6 +79382,8 @@ export type Routes = {
|
|
|
79378
79382
|
[x: string]: string | boolean;
|
|
79379
79383
|
} | undefined;
|
|
79380
79384
|
event_type: 'device.deleted';
|
|
79385
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
79386
|
+
device_name?: (string | null) | undefined;
|
|
79381
79387
|
} | {
|
|
79382
79388
|
/** ID of the event. */
|
|
79383
79389
|
event_id: string;
|
|
@@ -116043,6 +116049,8 @@ export type Routes = {
|
|
|
116043
116049
|
[x: string]: string | boolean;
|
|
116044
116050
|
} | undefined;
|
|
116045
116051
|
event_type: 'device.deleted';
|
|
116052
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
116053
|
+
device_name?: (string | null) | undefined;
|
|
116046
116054
|
} | {
|
|
116047
116055
|
/** ID of the event. */
|
|
116048
116056
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -214,6 +214,13 @@ export type DeviceRemovedEvent = z.infer<typeof device_removed_event>
|
|
|
214
214
|
|
|
215
215
|
export const device_deleted_event = device_event.extend({
|
|
216
216
|
event_type: z.literal('device.deleted'),
|
|
217
|
+
device_name: z
|
|
218
|
+
.string()
|
|
219
|
+
.nullable()
|
|
220
|
+
.optional()
|
|
221
|
+
.describe(
|
|
222
|
+
'Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.',
|
|
223
|
+
),
|
|
217
224
|
}).describe(`
|
|
218
225
|
---
|
|
219
226
|
route_path: /devices
|
|
@@ -23709,6 +23709,12 @@ const openapi: OpenAPISpec = {
|
|
|
23709
23709
|
format: 'uuid',
|
|
23710
23710
|
type: 'string',
|
|
23711
23711
|
},
|
|
23712
|
+
device_name: {
|
|
23713
|
+
description:
|
|
23714
|
+
'Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.',
|
|
23715
|
+
nullable: true,
|
|
23716
|
+
type: 'string',
|
|
23717
|
+
},
|
|
23712
23718
|
event_id: {
|
|
23713
23719
|
description: 'ID of the event.',
|
|
23714
23720
|
format: 'uuid',
|
|
@@ -57544,6 +57544,8 @@ export type Routes = {
|
|
|
57544
57544
|
}
|
|
57545
57545
|
| undefined
|
|
57546
57546
|
event_type: 'device.deleted'
|
|
57547
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
57548
|
+
device_name?: (string | null) | undefined
|
|
57547
57549
|
}
|
|
57548
57550
|
| {
|
|
57549
57551
|
/** ID of the event. */
|
|
@@ -60977,6 +60979,8 @@ export type Routes = {
|
|
|
60977
60979
|
}
|
|
60978
60980
|
| undefined
|
|
60979
60981
|
event_type: 'device.deleted'
|
|
60982
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
60983
|
+
device_name?: (string | null) | undefined
|
|
60980
60984
|
}
|
|
60981
60985
|
| {
|
|
60982
60986
|
/** ID of the event. */
|
|
@@ -94866,6 +94870,8 @@ export type Routes = {
|
|
|
94866
94870
|
}
|
|
94867
94871
|
| undefined
|
|
94868
94872
|
event_type: 'device.deleted'
|
|
94873
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
94874
|
+
device_name?: (string | null) | undefined
|
|
94869
94875
|
}
|
|
94870
94876
|
| {
|
|
94871
94877
|
/** ID of the event. */
|
|
@@ -138119,6 +138125,8 @@ export type Routes = {
|
|
|
138119
138125
|
}
|
|
138120
138126
|
| undefined
|
|
138121
138127
|
event_type: 'device.deleted'
|
|
138128
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
138129
|
+
device_name?: (string | null) | undefined
|
|
138122
138130
|
}
|
|
138123
138131
|
| {
|
|
138124
138132
|
/** ID of the event. */
|