@lyxa.ai/core 1.4.333 → 1.4.334-alpha-11
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/libraries/mongo/models/embedded/live-activity-token-info.model.d.ts +4 -0
- package/dist/libraries/mongo/models/embedded/live-activity-token-info.model.js +27 -0
- package/dist/libraries/mongo/models/embedded/live-activity-token-info.model.js.map +1 -0
- package/dist/libraries/mongo/models/order.model.d.ts +2 -1
- package/dist/libraries/mongo/models/order.model.js +5 -4
- package/dist/libraries/mongo/models/order.model.js.map +1 -1
- package/dist/libraries/mongo/models/payment-intent.model.d.ts +1 -2
- package/dist/libraries/mongo/models/payment-intent.model.js +0 -5
- package/dist/libraries/mongo/models/payment-intent.model.js.map +1 -1
- package/dist/libraries/notification/firebase-message.builder.d.ts +5 -1
- package/dist/libraries/notification/firebase-message.builder.js +34 -1
- package/dist/libraries/notification/firebase-message.builder.js.map +1 -1
- package/dist/libraries/notification/index.d.ts +2 -0
- package/dist/libraries/notification/index.js.map +1 -1
- package/dist/libraries/notification/lyxa-fcm-sender.js +9 -0
- package/dist/libraries/notification/lyxa-fcm-sender.js.map +1 -1
- package/dist/libraries/notification/lyxa-fcm.service.d.ts +1 -0
- package/dist/libraries/notification/lyxa-fcm.service.js +21 -0
- package/dist/libraries/notification/lyxa-fcm.service.js.map +1 -1
- package/dist/libraries/socket/events/chatroom-message-send.socket.event.d.ts +29 -29
- package/dist/libraries/socket/events/order-actions.socket.event.d.ts +32 -32
- package/dist/libraries/socket/events/rider-location-update.socket.event.d.ts +8 -8
- package/dist/libraries/socket/events/ticket-actions.socket.event.d.ts +8 -8
- package/dist/libraries/socket/events/ticket-assign.socket.event.d.ts +28 -28
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -13,14 +13,14 @@ export declare const TicketAssignSocketOutputSchema: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
14
14
|
profilePhoto: z.ZodNullable<z.ZodString> | z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
type: UserRef;
|
|
17
|
-
_id: import("mongoose").Types.ObjectId;
|
|
18
16
|
name: string;
|
|
17
|
+
_id: import("mongoose").Types.ObjectId;
|
|
18
|
+
type: UserRef;
|
|
19
19
|
profilePhoto: string | null;
|
|
20
20
|
}, {
|
|
21
|
-
type: UserRef;
|
|
22
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
23
21
|
name: string;
|
|
22
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
23
|
+
type: UserRef;
|
|
24
24
|
profilePhoto: string | null;
|
|
25
25
|
}>;
|
|
26
26
|
createdAt: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
@@ -40,40 +40,40 @@ export declare const TicketAssignSocketOutputSchema: z.ZodObject<{
|
|
|
40
40
|
unreadCount: z.ZodNumber;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
status: TicketStatus;
|
|
43
|
-
type: TicketType;
|
|
44
|
-
_id: import("mongoose").Types.ObjectId;
|
|
45
43
|
createdAt: Date;
|
|
46
44
|
updatedAt: Date;
|
|
45
|
+
_id: import("mongoose").Types.ObjectId;
|
|
46
|
+
type: TicketType;
|
|
47
47
|
lastMessage: {
|
|
48
48
|
createdAt: Date;
|
|
49
49
|
content: string;
|
|
50
50
|
};
|
|
51
|
-
unreadCount: number;
|
|
52
51
|
client: {
|
|
53
|
-
type: UserRef;
|
|
54
|
-
_id: import("mongoose").Types.ObjectId;
|
|
55
52
|
name: string;
|
|
53
|
+
_id: import("mongoose").Types.ObjectId;
|
|
54
|
+
type: UserRef;
|
|
56
55
|
profilePhoto: string | null;
|
|
57
56
|
};
|
|
57
|
+
unreadCount: number;
|
|
58
58
|
chatroomId: import("mongoose").Types.ObjectId;
|
|
59
59
|
orderId?: import("mongoose").Types.ObjectId | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
status: TicketStatus;
|
|
62
|
-
type: TicketType;
|
|
63
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
64
62
|
createdAt: string | Date;
|
|
65
63
|
updatedAt: string | Date;
|
|
64
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
65
|
+
type: TicketType;
|
|
66
66
|
lastMessage: {
|
|
67
67
|
createdAt: string | Date;
|
|
68
68
|
content: string;
|
|
69
69
|
};
|
|
70
|
-
unreadCount: number;
|
|
71
70
|
client: {
|
|
72
|
-
type: UserRef;
|
|
73
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
74
71
|
name: string;
|
|
72
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
73
|
+
type: UserRef;
|
|
75
74
|
profilePhoto: string | null;
|
|
76
75
|
};
|
|
76
|
+
unreadCount: number;
|
|
77
77
|
chatroomId: string | import("mongoose").Types.ObjectId;
|
|
78
78
|
orderId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
79
79
|
}>;
|
|
@@ -91,14 +91,14 @@ export declare class TicketAssignEvent extends BaseSocketEvent<typeof TicketAssi
|
|
|
91
91
|
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
92
92
|
profilePhoto: z.ZodNullable<z.ZodString> | z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
type: UserRef;
|
|
95
|
-
_id: import("mongoose").Types.ObjectId;
|
|
96
94
|
name: string;
|
|
95
|
+
_id: import("mongoose").Types.ObjectId;
|
|
96
|
+
type: UserRef;
|
|
97
97
|
profilePhoto: string | null;
|
|
98
98
|
}, {
|
|
99
|
-
type: UserRef;
|
|
100
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
101
99
|
name: string;
|
|
100
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
101
|
+
type: UserRef;
|
|
102
102
|
profilePhoto: string | null;
|
|
103
103
|
}>;
|
|
104
104
|
createdAt: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
@@ -118,40 +118,40 @@ export declare class TicketAssignEvent extends BaseSocketEvent<typeof TicketAssi
|
|
|
118
118
|
unreadCount: z.ZodNumber;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
120
|
status: TicketStatus;
|
|
121
|
-
type: TicketType;
|
|
122
|
-
_id: import("mongoose").Types.ObjectId;
|
|
123
121
|
createdAt: Date;
|
|
124
122
|
updatedAt: Date;
|
|
123
|
+
_id: import("mongoose").Types.ObjectId;
|
|
124
|
+
type: TicketType;
|
|
125
125
|
lastMessage: {
|
|
126
126
|
createdAt: Date;
|
|
127
127
|
content: string;
|
|
128
128
|
};
|
|
129
|
-
unreadCount: number;
|
|
130
129
|
client: {
|
|
131
|
-
type: UserRef;
|
|
132
|
-
_id: import("mongoose").Types.ObjectId;
|
|
133
130
|
name: string;
|
|
131
|
+
_id: import("mongoose").Types.ObjectId;
|
|
132
|
+
type: UserRef;
|
|
134
133
|
profilePhoto: string | null;
|
|
135
134
|
};
|
|
135
|
+
unreadCount: number;
|
|
136
136
|
chatroomId: import("mongoose").Types.ObjectId;
|
|
137
137
|
orderId?: import("mongoose").Types.ObjectId | undefined;
|
|
138
138
|
}, {
|
|
139
139
|
status: TicketStatus;
|
|
140
|
-
type: TicketType;
|
|
141
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
142
140
|
createdAt: string | Date;
|
|
143
141
|
updatedAt: string | Date;
|
|
142
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
143
|
+
type: TicketType;
|
|
144
144
|
lastMessage: {
|
|
145
145
|
createdAt: string | Date;
|
|
146
146
|
content: string;
|
|
147
147
|
};
|
|
148
|
-
unreadCount: number;
|
|
149
148
|
client: {
|
|
150
|
-
type: UserRef;
|
|
151
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
152
149
|
name: string;
|
|
150
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
151
|
+
type: UserRef;
|
|
153
152
|
profilePhoto: string | null;
|
|
154
153
|
};
|
|
154
|
+
unreadCount: number;
|
|
155
155
|
chatroomId: string | import("mongoose").Types.ObjectId;
|
|
156
156
|
orderId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
157
157
|
}>;
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lyxa.ai/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.334-alpha-11",
|
|
4
4
|
"description": "Lyxa type definitions and validation schemas for both frontend and backend",
|
|
5
5
|
"author": "elie <42282499+Internalizable@users.noreply.github.com>",
|
|
6
6
|
"license": "MIT",
|