@lyxa.ai/core 1.4.295 → 1.4.297-test-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.
@@ -11,11 +11,11 @@ export declare const ChatlistMessageSendSocketOutputSchema: z.ZodObject<{
11
11
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
12
12
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- content: string;
15
14
  createdAt: Date;
16
- }, {
17
15
  content: string;
16
+ }, {
18
17
  createdAt: Date;
18
+ content: string;
19
19
  }>>;
20
20
  unreadCount: z.ZodNumber;
21
21
  status: z.ZodOptional<z.ZodNativeEnum<typeof TicketStatus>>;
@@ -25,8 +25,8 @@ export declare const ChatlistMessageSendSocketOutputSchema: z.ZodObject<{
25
25
  status?: TicketStatus | undefined;
26
26
  orderId?: import("mongoose").Types.ObjectId | undefined;
27
27
  lastMessage?: {
28
- content: string;
29
28
  createdAt: Date;
29
+ content: string;
30
30
  } | undefined;
31
31
  }, {
32
32
  unreadCount: number;
@@ -34,8 +34,8 @@ export declare const ChatlistMessageSendSocketOutputSchema: z.ZodObject<{
34
34
  status?: TicketStatus | undefined;
35
35
  orderId?: import("mongoose").Types.ObjectId | undefined;
36
36
  lastMessage?: {
37
- content: string;
38
37
  createdAt: Date;
38
+ content: string;
39
39
  } | undefined;
40
40
  }>;
41
41
  export declare const ChatlistMessageSendPushOutputSchema: z.ZodObject<{
@@ -45,11 +45,11 @@ export declare const ChatlistMessageSendPushOutputSchema: z.ZodObject<{
45
45
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
46
46
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- content: string;
49
48
  createdAt: Date;
50
- }, {
51
49
  content: string;
50
+ }, {
52
51
  createdAt: Date;
52
+ content: string;
53
53
  }>>;
54
54
  unreadCount: z.ZodNumber;
55
55
  status: z.ZodOptional<z.ZodNativeEnum<typeof TicketStatus>>;
@@ -59,8 +59,8 @@ export declare const ChatlistMessageSendPushOutputSchema: z.ZodObject<{
59
59
  status?: TicketStatus | undefined;
60
60
  orderId?: import("mongoose").Types.ObjectId | undefined;
61
61
  lastMessage?: {
62
- content: string;
63
62
  createdAt: Date;
63
+ content: string;
64
64
  } | undefined;
65
65
  }, {
66
66
  unreadCount: number;
@@ -68,8 +68,8 @@ export declare const ChatlistMessageSendPushOutputSchema: z.ZodObject<{
68
68
  status?: TicketStatus | undefined;
69
69
  orderId?: import("mongoose").Types.ObjectId | undefined;
70
70
  lastMessage?: {
71
- content: string;
72
71
  createdAt: Date;
72
+ content: string;
73
73
  } | undefined;
74
74
  }>;
75
75
  export type ChatlistMessageSendPushOutputDTO = DTO<typeof ChatlistMessageSendPushOutputSchema>;
@@ -85,11 +85,11 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
85
85
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
86
86
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- content: string;
89
88
  createdAt: Date;
90
- }, {
91
89
  content: string;
90
+ }, {
92
91
  createdAt: Date;
92
+ content: string;
93
93
  }>>;
94
94
  unreadCount: z.ZodNumber;
95
95
  status: z.ZodOptional<z.ZodNativeEnum<typeof TicketStatus>>;
@@ -99,8 +99,8 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
99
99
  status?: TicketStatus | undefined;
100
100
  orderId?: import("mongoose").Types.ObjectId | undefined;
101
101
  lastMessage?: {
102
- content: string;
103
102
  createdAt: Date;
103
+ content: string;
104
104
  } | undefined;
105
105
  }, {
106
106
  unreadCount: number;
@@ -108,8 +108,8 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
108
108
  status?: TicketStatus | undefined;
109
109
  orderId?: import("mongoose").Types.ObjectId | undefined;
110
110
  lastMessage?: {
111
- content: string;
112
111
  createdAt: Date;
112
+ content: string;
113
113
  } | undefined;
114
114
  }>;
115
115
  pushNotificationOutput: z.ZodObject<{
@@ -119,11 +119,11 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
119
119
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
120
120
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
121
121
  }, "strip", z.ZodTypeAny, {
122
- content: string;
123
122
  createdAt: Date;
124
- }, {
125
123
  content: string;
124
+ }, {
126
125
  createdAt: Date;
126
+ content: string;
127
127
  }>>;
128
128
  unreadCount: z.ZodNumber;
129
129
  status: z.ZodOptional<z.ZodNativeEnum<typeof TicketStatus>>;
@@ -133,8 +133,8 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
133
133
  status?: TicketStatus | undefined;
134
134
  orderId?: import("mongoose").Types.ObjectId | undefined;
135
135
  lastMessage?: {
136
- content: string;
137
136
  createdAt: Date;
137
+ content: string;
138
138
  } | undefined;
139
139
  }, {
140
140
  unreadCount: number;
@@ -142,8 +142,8 @@ export declare class ChatlistMessageSendSocketEvent extends BaseSocketEvent<type
142
142
  status?: TicketStatus | undefined;
143
143
  orderId?: import("mongoose").Types.ObjectId | undefined;
144
144
  lastMessage?: {
145
- content: string;
146
145
  createdAt: Date;
146
+ content: string;
147
147
  } | undefined;
148
148
  }>;
149
149
  };
@@ -20,12 +20,12 @@ export declare const ChatroomMessageSendOutputSchema: z.ZodObject<{
20
20
  name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
21
21
  type: z.ZodNativeEnum<typeof UserRef>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- name: string;
24
23
  type: UserRef;
24
+ name: string;
25
25
  id: import("mongoose").Types.ObjectId;
26
26
  }, {
27
- name: string;
28
27
  type: UserRef;
28
+ name: string;
29
29
  id: import("mongoose").Types.ObjectId;
30
30
  }>;
31
31
  content: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
@@ -63,56 +63,56 @@ export declare const ChatroomMessageSendOutputSchema: z.ZodObject<{
63
63
  orderId: z.ZodOptional<z.ZodEffects<z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>, import("mongoose").Types.ObjectId, import("mongoose").Types.ObjectId>>;
64
64
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- media: {
67
- mediaUrl: string;
68
- mediaType: MediaType;
69
- mimeType: string;
70
- name?: string | undefined;
71
- thumbnailUrl?: string | undefined;
72
- }[];
73
66
  _id: import("mongoose").Types.ObjectId;
74
67
  createdAt: Date;
75
68
  sender: {
76
- name: string;
77
69
  type: UserRef;
70
+ name: string;
78
71
  id: import("mongoose").Types.ObjectId;
79
72
  };
80
73
  senderType: UserRef;
74
+ media: {
75
+ mediaUrl: string;
76
+ mediaType: MediaType;
77
+ mimeType: string;
78
+ name?: string | undefined;
79
+ thumbnailUrl?: string | undefined;
80
+ }[];
81
81
  chatroomType: ChatroomType;
82
82
  senderId: import("mongoose").Types.ObjectId;
83
83
  location?: {
84
84
  latitude?: number | undefined;
85
85
  longitude?: number | undefined;
86
86
  } | undefined;
87
- content?: string | undefined;
88
87
  orderId?: import("mongoose").Types.ObjectId | undefined;
89
88
  ticketId?: import("mongoose").Types.ObjectId | undefined;
89
+ content?: string | undefined;
90
90
  chatroomId?: import("mongoose").Types.ObjectId | undefined;
91
91
  }, {
92
- media: {
93
- mediaUrl: string;
94
- mediaType: MediaType;
95
- mimeType: string;
96
- name?: string | undefined;
97
- thumbnailUrl?: string | undefined;
98
- }[];
99
92
  _id: import("mongoose").Types.ObjectId;
100
93
  createdAt: Date;
101
94
  sender: {
102
- name: string;
103
95
  type: UserRef;
96
+ name: string;
104
97
  id: import("mongoose").Types.ObjectId;
105
98
  };
106
99
  senderType: UserRef;
100
+ media: {
101
+ mediaUrl: string;
102
+ mediaType: MediaType;
103
+ mimeType: string;
104
+ name?: string | undefined;
105
+ thumbnailUrl?: string | undefined;
106
+ }[];
107
107
  chatroomType: ChatroomType;
108
108
  senderId: import("mongoose").Types.ObjectId;
109
109
  location?: {
110
110
  latitude?: number | undefined;
111
111
  longitude?: number | undefined;
112
112
  } | undefined;
113
- content?: string | undefined;
114
113
  orderId?: import("mongoose").Types.ObjectId | undefined;
115
114
  ticketId?: import("mongoose").Types.ObjectId | undefined;
115
+ content?: string | undefined;
116
116
  chatroomId?: import("mongoose").Types.ObjectId | undefined;
117
117
  }>;
118
118
  export declare const ChatroomMessageSendPushOutputSchema: z.ZodObject<{
@@ -156,12 +156,12 @@ export declare class ChatroomMessageSendSocketEvent extends BaseSocketEvent<type
156
156
  name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
157
157
  type: z.ZodNativeEnum<typeof UserRef>;
158
158
  }, "strip", z.ZodTypeAny, {
159
- name: string;
160
159
  type: UserRef;
160
+ name: string;
161
161
  id: import("mongoose").Types.ObjectId;
162
162
  }, {
163
- name: string;
164
163
  type: UserRef;
164
+ name: string;
165
165
  id: import("mongoose").Types.ObjectId;
166
166
  }>;
167
167
  content: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
@@ -199,56 +199,56 @@ export declare class ChatroomMessageSendSocketEvent extends BaseSocketEvent<type
199
199
  orderId: z.ZodOptional<z.ZodEffects<z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>, import("mongoose").Types.ObjectId, import("mongoose").Types.ObjectId>>;
200
200
  createdAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
201
201
  }, "strip", z.ZodTypeAny, {
202
- media: {
203
- mediaUrl: string;
204
- mediaType: MediaType;
205
- mimeType: string;
206
- name?: string | undefined;
207
- thumbnailUrl?: string | undefined;
208
- }[];
209
202
  _id: import("mongoose").Types.ObjectId;
210
203
  createdAt: Date;
211
204
  sender: {
212
- name: string;
213
205
  type: UserRef;
206
+ name: string;
214
207
  id: import("mongoose").Types.ObjectId;
215
208
  };
216
209
  senderType: UserRef;
210
+ media: {
211
+ mediaUrl: string;
212
+ mediaType: MediaType;
213
+ mimeType: string;
214
+ name?: string | undefined;
215
+ thumbnailUrl?: string | undefined;
216
+ }[];
217
217
  chatroomType: ChatroomType;
218
218
  senderId: import("mongoose").Types.ObjectId;
219
219
  location?: {
220
220
  latitude?: number | undefined;
221
221
  longitude?: number | undefined;
222
222
  } | undefined;
223
- content?: string | undefined;
224
223
  orderId?: import("mongoose").Types.ObjectId | undefined;
225
224
  ticketId?: import("mongoose").Types.ObjectId | undefined;
225
+ content?: string | undefined;
226
226
  chatroomId?: import("mongoose").Types.ObjectId | undefined;
227
227
  }, {
228
- media: {
229
- mediaUrl: string;
230
- mediaType: MediaType;
231
- mimeType: string;
232
- name?: string | undefined;
233
- thumbnailUrl?: string | undefined;
234
- }[];
235
228
  _id: import("mongoose").Types.ObjectId;
236
229
  createdAt: Date;
237
230
  sender: {
238
- name: string;
239
231
  type: UserRef;
232
+ name: string;
240
233
  id: import("mongoose").Types.ObjectId;
241
234
  };
242
235
  senderType: UserRef;
236
+ media: {
237
+ mediaUrl: string;
238
+ mediaType: MediaType;
239
+ mimeType: string;
240
+ name?: string | undefined;
241
+ thumbnailUrl?: string | undefined;
242
+ }[];
243
243
  chatroomType: ChatroomType;
244
244
  senderId: import("mongoose").Types.ObjectId;
245
245
  location?: {
246
246
  latitude?: number | undefined;
247
247
  longitude?: number | undefined;
248
248
  } | undefined;
249
- content?: string | undefined;
250
249
  orderId?: import("mongoose").Types.ObjectId | undefined;
251
250
  ticketId?: import("mongoose").Types.ObjectId | undefined;
251
+ content?: string | undefined;
252
252
  chatroomId?: import("mongoose").Types.ObjectId | undefined;
253
253
  }>;
254
254
  pushNotificationOutput: z.ZodObject<{
@@ -16,11 +16,11 @@ export declare const OrderActionsOutputSchema: z.ZodObject<{
16
16
  _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
17
17
  name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- name: string;
20
19
  _id: import("mongoose").Types.ObjectId;
21
- }, {
22
20
  name: string;
21
+ }, {
23
22
  _id: string | import("mongoose").Types.ObjectId;
23
+ name: string;
24
24
  }>;
25
25
  orderStatus: z.ZodNativeEnum<typeof RegularOrderStatus>;
26
26
  orderAction: z.ZodNativeEnum<typeof OrderAction>;
@@ -88,12 +88,12 @@ export declare const OrderActionsOutputSchema: z.ZodObject<{
88
88
  triggerAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
89
89
  orderActionType: z.ZodNativeEnum<typeof OrderAction>;
90
90
  }, "strip", z.ZodTypeAny, {
91
+ _id: import("mongoose").Types.ObjectId;
92
+ createdAt: Date;
91
93
  user: {
92
- name: string;
93
94
  _id: import("mongoose").Types.ObjectId;
95
+ name: string;
94
96
  };
95
- _id: import("mongoose").Types.ObjectId;
96
- createdAt: Date;
97
97
  orderId: string;
98
98
  shopId: import("mongoose").Types.ObjectId;
99
99
  paymentMethod: PaymentMethod;
@@ -117,12 +117,12 @@ export declare const OrderActionsOutputSchema: z.ZodObject<{
117
117
  orderAction: OrderAction;
118
118
  preparationTimeMinutes: number;
119
119
  }, {
120
+ _id: string | import("mongoose").Types.ObjectId;
121
+ createdAt: Date;
120
122
  user: {
121
- name: string;
122
123
  _id: string | import("mongoose").Types.ObjectId;
124
+ name: string;
123
125
  };
124
- _id: string | import("mongoose").Types.ObjectId;
125
- createdAt: Date;
126
126
  orderId: string;
127
127
  shopId: string | import("mongoose").Types.ObjectId;
128
128
  paymentMethod: PaymentMethod;
@@ -160,11 +160,11 @@ export declare class OrderActionsSocketEvent extends BaseSocketEvent<typeof Orde
160
160
  _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
161
161
  name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
162
162
  }, "strip", z.ZodTypeAny, {
163
- name: string;
164
163
  _id: import("mongoose").Types.ObjectId;
165
- }, {
166
164
  name: string;
165
+ }, {
167
166
  _id: string | import("mongoose").Types.ObjectId;
167
+ name: string;
168
168
  }>;
169
169
  orderStatus: z.ZodNativeEnum<typeof RegularOrderStatus>;
170
170
  orderAction: z.ZodNativeEnum<typeof OrderAction>;
@@ -232,12 +232,12 @@ export declare class OrderActionsSocketEvent extends BaseSocketEvent<typeof Orde
232
232
  triggerAt: z.ZodEffects<z.ZodEffects<z.ZodDate, Date, Date>, Date, Date>;
233
233
  orderActionType: z.ZodNativeEnum<typeof OrderAction>;
234
234
  }, "strip", z.ZodTypeAny, {
235
+ _id: import("mongoose").Types.ObjectId;
236
+ createdAt: Date;
235
237
  user: {
236
- name: string;
237
238
  _id: import("mongoose").Types.ObjectId;
239
+ name: string;
238
240
  };
239
- _id: import("mongoose").Types.ObjectId;
240
- createdAt: Date;
241
241
  orderId: string;
242
242
  shopId: import("mongoose").Types.ObjectId;
243
243
  paymentMethod: PaymentMethod;
@@ -261,12 +261,12 @@ export declare class OrderActionsSocketEvent extends BaseSocketEvent<typeof Orde
261
261
  orderAction: OrderAction;
262
262
  preparationTimeMinutes: number;
263
263
  }, {
264
+ _id: string | import("mongoose").Types.ObjectId;
265
+ createdAt: Date;
264
266
  user: {
265
- name: string;
266
267
  _id: string | import("mongoose").Types.ObjectId;
268
+ name: string;
267
269
  };
268
- _id: string | import("mongoose").Types.ObjectId;
269
- createdAt: Date;
270
270
  orderId: string;
271
271
  shopId: string | import("mongoose").Types.ObjectId;
272
272
  paymentMethod: PaymentMethod;
@@ -12,19 +12,19 @@ export declare const TicketActionsSocketOutputSchema: z.ZodObject<{
12
12
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
13
13
  silent: z.ZodOptional<z.ZodBoolean>;
14
14
  }, "strip", z.ZodTypeAny, {
15
- type: TicketType;
16
15
  status: TicketStatus;
16
+ type: TicketType;
17
17
  _id: import("mongoose").Types.ObjectId;
18
18
  silent?: boolean | undefined;
19
- content?: string | undefined;
20
19
  title?: string | undefined;
20
+ content?: string | undefined;
21
21
  }, {
22
- type: TicketType;
23
22
  status: TicketStatus;
23
+ type: TicketType;
24
24
  _id: import("mongoose").Types.ObjectId;
25
25
  silent?: boolean | undefined;
26
- content?: string | undefined;
27
26
  title?: string | undefined;
27
+ content?: string | undefined;
28
28
  }>;
29
29
  export declare const TicketActionsPushOutputSchema: z.ZodObject<{
30
30
  ticketId: z.ZodEffects<z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>, import("mongoose").Types.ObjectId, import("mongoose").Types.ObjectId>;
@@ -33,17 +33,17 @@ export declare const TicketActionsPushOutputSchema: z.ZodObject<{
33
33
  content: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
34
34
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- type: TicketType;
37
36
  status: TicketStatus;
37
+ type: TicketType;
38
38
  ticketId: import("mongoose").Types.ObjectId;
39
- content?: string | undefined;
40
39
  title?: string | undefined;
40
+ content?: string | undefined;
41
41
  }, {
42
- type: TicketType;
43
42
  status: TicketStatus;
43
+ type: TicketType;
44
44
  ticketId: import("mongoose").Types.ObjectId;
45
- content?: string | undefined;
46
45
  title?: string | undefined;
46
+ content?: string | undefined;
47
47
  }>;
48
48
  export type TicketActionsSocketOutputDTO = DTO<typeof TicketActionsSocketOutputSchema>;
49
49
  export type TicketActionsPushOutputDTO = DTO<typeof TicketActionsPushOutputSchema>;
@@ -59,19 +59,19 @@ export declare class TicketActionsSocketEvent extends BaseSocketEvent<typeof Tic
59
59
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
60
60
  silent: z.ZodOptional<z.ZodBoolean>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- type: TicketType;
63
62
  status: TicketStatus;
63
+ type: TicketType;
64
64
  _id: import("mongoose").Types.ObjectId;
65
65
  silent?: boolean | undefined;
66
- content?: string | undefined;
67
66
  title?: string | undefined;
67
+ content?: string | undefined;
68
68
  }, {
69
- type: TicketType;
70
69
  status: TicketStatus;
70
+ type: TicketType;
71
71
  _id: import("mongoose").Types.ObjectId;
72
72
  silent?: boolean | undefined;
73
- content?: string | undefined;
74
73
  title?: string | undefined;
74
+ content?: string | undefined;
75
75
  }>;
76
76
  pushNotificationOutput: z.ZodObject<{
77
77
  ticketId: z.ZodEffects<z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>, import("mongoose").Types.ObjectId, import("mongoose").Types.ObjectId>;
@@ -80,27 +80,27 @@ export declare class TicketActionsSocketEvent extends BaseSocketEvent<typeof Tic
80
80
  content: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
81
81
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
82
82
  }, "strip", z.ZodTypeAny, {
83
- type: TicketType;
84
83
  status: TicketStatus;
84
+ type: TicketType;
85
85
  ticketId: import("mongoose").Types.ObjectId;
86
- content?: string | undefined;
87
86
  title?: string | undefined;
87
+ content?: string | undefined;
88
88
  }, {
89
- type: TicketType;
90
89
  status: TicketStatus;
90
+ type: TicketType;
91
91
  ticketId: import("mongoose").Types.ObjectId;
92
- content?: string | undefined;
93
92
  title?: string | undefined;
93
+ content?: string | undefined;
94
94
  }>;
95
95
  };
96
96
  get notificationSettings(): NotificationSettings | undefined;
97
97
  constructor(payload: TicketActionsSocketOutputDTO);
98
98
  getPushNotificationPayload(): {
99
- type: TicketType;
100
99
  status: TicketStatus;
100
+ type: TicketType;
101
101
  ticketId: import("mongoose").Types.ObjectId;
102
- content?: string | undefined;
103
102
  title?: string | undefined;
103
+ content?: string | undefined;
104
104
  } | undefined;
105
105
  protected getIdentifier(): string;
106
106
  }
@@ -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
- name: string;
17
16
  type: UserRef;
18
17
  _id: import("mongoose").Types.ObjectId;
18
+ name: string;
19
19
  profilePhoto: string | null;
20
20
  }, {
21
- name: string;
22
21
  type: UserRef;
23
22
  _id: string | import("mongoose").Types.ObjectId;
23
+ name: string;
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>;
@@ -31,49 +31,49 @@ export declare const TicketAssignSocketOutputSchema: z.ZodObject<{
31
31
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
32
  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>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- content: string;
35
34
  createdAt: Date;
36
- }, {
37
35
  content: string;
36
+ }, {
38
37
  createdAt: string | Date;
38
+ content: string;
39
39
  }>;
40
40
  unreadCount: z.ZodNumber;
41
41
  }, "strip", z.ZodTypeAny, {
42
- type: TicketType;
43
- client: {
44
- name: string;
45
- type: UserRef;
46
- _id: import("mongoose").Types.ObjectId;
47
- profilePhoto: string | null;
48
- };
49
42
  status: TicketStatus;
43
+ type: TicketType;
50
44
  _id: import("mongoose").Types.ObjectId;
51
45
  createdAt: Date;
52
46
  updatedAt: Date;
53
47
  lastMessage: {
54
- content: string;
55
48
  createdAt: Date;
49
+ content: string;
56
50
  };
57
51
  unreadCount: number;
58
- chatroomId: import("mongoose").Types.ObjectId;
59
- orderId?: import("mongoose").Types.ObjectId | undefined;
60
- }, {
61
- type: TicketType;
62
52
  client: {
63
- name: string;
64
53
  type: UserRef;
65
- _id: string | import("mongoose").Types.ObjectId;
54
+ _id: import("mongoose").Types.ObjectId;
55
+ name: string;
66
56
  profilePhoto: string | null;
67
57
  };
58
+ chatroomId: import("mongoose").Types.ObjectId;
59
+ orderId?: import("mongoose").Types.ObjectId | undefined;
60
+ }, {
68
61
  status: TicketStatus;
62
+ type: TicketType;
69
63
  _id: string | import("mongoose").Types.ObjectId;
70
64
  createdAt: string | Date;
71
65
  updatedAt: string | Date;
72
66
  lastMessage: {
73
- content: string;
74
67
  createdAt: string | Date;
68
+ content: string;
75
69
  };
76
70
  unreadCount: number;
71
+ client: {
72
+ type: UserRef;
73
+ _id: string | import("mongoose").Types.ObjectId;
74
+ name: string;
75
+ profilePhoto: string | null;
76
+ };
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
- name: string;
95
94
  type: UserRef;
96
95
  _id: import("mongoose").Types.ObjectId;
96
+ name: string;
97
97
  profilePhoto: string | null;
98
98
  }, {
99
- name: string;
100
99
  type: UserRef;
101
100
  _id: string | import("mongoose").Types.ObjectId;
101
+ name: string;
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>;
@@ -109,49 +109,49 @@ export declare class TicketAssignEvent extends BaseSocketEvent<typeof TicketAssi
109
109
  content: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
110
110
  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>;
111
111
  }, "strip", z.ZodTypeAny, {
112
- content: string;
113
112
  createdAt: Date;
114
- }, {
115
113
  content: string;
114
+ }, {
116
115
  createdAt: string | Date;
116
+ content: string;
117
117
  }>;
118
118
  unreadCount: z.ZodNumber;
119
119
  }, "strip", z.ZodTypeAny, {
120
- type: TicketType;
121
- client: {
122
- name: string;
123
- type: UserRef;
124
- _id: import("mongoose").Types.ObjectId;
125
- profilePhoto: string | null;
126
- };
127
120
  status: TicketStatus;
121
+ type: TicketType;
128
122
  _id: import("mongoose").Types.ObjectId;
129
123
  createdAt: Date;
130
124
  updatedAt: Date;
131
125
  lastMessage: {
132
- content: string;
133
126
  createdAt: Date;
127
+ content: string;
134
128
  };
135
129
  unreadCount: number;
136
- chatroomId: import("mongoose").Types.ObjectId;
137
- orderId?: import("mongoose").Types.ObjectId | undefined;
138
- }, {
139
- type: TicketType;
140
130
  client: {
141
- name: string;
142
131
  type: UserRef;
143
- _id: string | import("mongoose").Types.ObjectId;
132
+ _id: import("mongoose").Types.ObjectId;
133
+ name: string;
144
134
  profilePhoto: string | null;
145
135
  };
136
+ chatroomId: import("mongoose").Types.ObjectId;
137
+ orderId?: import("mongoose").Types.ObjectId | undefined;
138
+ }, {
146
139
  status: TicketStatus;
140
+ type: TicketType;
147
141
  _id: string | import("mongoose").Types.ObjectId;
148
142
  createdAt: string | Date;
149
143
  updatedAt: string | Date;
150
144
  lastMessage: {
151
- content: string;
152
145
  createdAt: string | Date;
146
+ content: string;
153
147
  };
154
148
  unreadCount: number;
149
+ client: {
150
+ type: UserRef;
151
+ _id: string | import("mongoose").Types.ObjectId;
152
+ name: string;
153
+ profilePhoto: string | null;
154
+ };
155
155
  chatroomId: string | import("mongoose").Types.ObjectId;
156
156
  orderId?: string | import("mongoose").Types.ObjectId | undefined;
157
157
  }>;