@flipdish/events 1.26027.0 → 1.26035.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
|
@@ -13,14 +13,6 @@ export const PublicGetSnoozedItemsSchema = z
|
|
|
13
13
|
description: 'The type of the item to un-snooze',
|
|
14
14
|
example: SnoozeTypes.MenuItem,
|
|
15
15
|
}),
|
|
16
|
-
itemName: z.string().openapi({
|
|
17
|
-
description: 'The name of the item to un-snooze',
|
|
18
|
-
example: 'Item 1',
|
|
19
|
-
}),
|
|
20
|
-
isSnoozed: z.boolean().openapi({
|
|
21
|
-
description: 'Whether the item is snoozed',
|
|
22
|
-
example: true,
|
|
23
|
-
}),
|
|
24
16
|
snoozeStart: z.string().datetime().nullable().optional().openapi({
|
|
25
17
|
description: 'The start date of the snooze',
|
|
26
18
|
example: '2025-06-01T16:00:00Z',
|
|
@@ -30,6 +22,18 @@ export const PublicGetSnoozedItemsSchema = z
|
|
|
30
22
|
description: 'Time period of the snooze in seconds',
|
|
31
23
|
example: 3600,
|
|
32
24
|
}),
|
|
25
|
+
propertyIds: z
|
|
26
|
+
.array(propertyIdSchema)
|
|
27
|
+
.nullable()
|
|
28
|
+
.optional()
|
|
29
|
+
.openapi({
|
|
30
|
+
description: 'List of property IDs the snooze applies to. If omitted, the snooze applies to all properties using the menu.',
|
|
31
|
+
example: ['p001', 'p002'],
|
|
32
|
+
}),
|
|
33
|
+
isSnoozed: z.boolean().openapi({
|
|
34
|
+
description: 'Whether the item is snoozed',
|
|
35
|
+
example: true,
|
|
36
|
+
}),
|
|
33
37
|
})
|
|
34
38
|
.openapi('PublicGetSnoozedItemsSchema', {
|
|
35
39
|
description: 'Response schema describing snooze status for menu items and options.',
|
|
@@ -15,14 +15,6 @@ export const PublicGetSnoozedItemsSchema = z
|
|
|
15
15
|
description: 'The type of the item to un-snooze',
|
|
16
16
|
example: SnoozeTypes.MenuItem,
|
|
17
17
|
}),
|
|
18
|
-
itemName: z.string().openapi({
|
|
19
|
-
description: 'The name of the item to un-snooze',
|
|
20
|
-
example: 'Item 1',
|
|
21
|
-
}),
|
|
22
|
-
isSnoozed: z.boolean().openapi({
|
|
23
|
-
description: 'Whether the item is snoozed',
|
|
24
|
-
example: true,
|
|
25
|
-
}),
|
|
26
18
|
snoozeStart: z.string().datetime().nullable().optional().openapi({
|
|
27
19
|
description: 'The start date of the snooze',
|
|
28
20
|
example: '2025-06-01T16:00:00Z',
|
|
@@ -32,6 +24,19 @@ export const PublicGetSnoozedItemsSchema = z
|
|
|
32
24
|
description: 'Time period of the snooze in seconds',
|
|
33
25
|
example: 3600,
|
|
34
26
|
}),
|
|
27
|
+
propertyIds: z
|
|
28
|
+
.array(propertyIdSchema)
|
|
29
|
+
.nullable()
|
|
30
|
+
.optional()
|
|
31
|
+
.openapi({
|
|
32
|
+
description:
|
|
33
|
+
'List of property IDs the snooze applies to. If omitted, the snooze applies to all properties using the menu.',
|
|
34
|
+
example: ['p001', 'p002'],
|
|
35
|
+
}),
|
|
36
|
+
isSnoozed: z.boolean().openapi({
|
|
37
|
+
description: 'Whether the item is snoozed',
|
|
38
|
+
example: true,
|
|
39
|
+
}),
|
|
35
40
|
})
|
|
36
41
|
.openapi('PublicGetSnoozedItemsSchema', {
|
|
37
42
|
description: 'Response schema describing snooze status for menu items and options.',
|