@nomalism-com/types 0.45.17 → 0.45.19
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/index.cjs
CHANGED
|
@@ -4971,7 +4971,7 @@ var findProductSheetByReferenceQuery = joi93.object().keys({
|
|
|
4971
4971
|
selector: joi93.string().required()
|
|
4972
4972
|
}).messages(messages);
|
|
4973
4973
|
var productLocationBody = joi93.object().keys({
|
|
4974
|
-
|
|
4974
|
+
location_id: joi93.string().required(),
|
|
4975
4975
|
product_id: joi93.array().items(joi93.string().uuid()).required()
|
|
4976
4976
|
}).messages(messages);
|
|
4977
4977
|
|
package/dist/index.js
CHANGED
|
@@ -4971,7 +4971,7 @@ var findProductSheetByReferenceQuery = joi93.object().keys({
|
|
|
4971
4971
|
selector: joi93.string().required()
|
|
4972
4972
|
}).messages(messages);
|
|
4973
4973
|
var productLocationBody = joi93.object().keys({
|
|
4974
|
-
|
|
4974
|
+
location_id: joi93.string().required(),
|
|
4975
4975
|
product_id: joi93.array().items(joi93.string().uuid()).required()
|
|
4976
4976
|
}).messages(messages);
|
|
4977
4977
|
|
|
@@ -61,6 +61,12 @@ export interface ITicketsChanged extends IEvent {
|
|
|
61
61
|
remaining_today_tickets_to_call: IRemainingTodayTickets[];
|
|
62
62
|
}
|
|
63
63
|
export type TicketsSocketEvent = ITicketsChanged | IPing | IPong;
|
|
64
|
+
export interface IPushNotificationEvent extends IEvent {
|
|
65
|
+
type: 'push_notification';
|
|
66
|
+
counts: Record<string, number>;
|
|
67
|
+
timestamp?: string;
|
|
68
|
+
}
|
|
69
|
+
export type SideMenuSocketEvent = IPushNotificationEvent | IPing | IPong;
|
|
64
70
|
export interface SocketOptions<T extends IEvent> {
|
|
65
71
|
token: string;
|
|
66
72
|
onEvent: (evt: T) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.19",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|