@managesome/knotr-toolkit 0.8.18 → 0.8.20
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/backend/index.d.ts +2 -2
- package/dist/backend/index.d.ts.map +1 -1
- package/dist/backend/index.js +1 -1
- package/dist/backend/index.js.map +1 -1
- package/dist/backend/worker-queue.d.ts +203 -13
- package/dist/backend/worker-queue.d.ts.map +1 -1
- package/dist/backend/worker-queue.js +67 -12
- package/dist/backend/worker-queue.js.map +1 -1
- package/dist/constants/worker.d.ts +8 -0
- package/dist/constants/worker.d.ts.map +1 -1
- package/dist/constants/worker.js +8 -0
- package/dist/constants/worker.js.map +1 -1
- package/dist/schemas/account.schema.d.ts +66 -66
- package/dist/schemas/chat.schema.d.ts +49 -49
- package/dist/schemas/chat.schema.d.ts.map +1 -1
- package/dist/schemas/collaboration-request.schema.d.ts +84 -84
- package/dist/schemas/collaboration-request.schema.d.ts.map +1 -1
- package/dist/schemas/company-review.schema.d.ts +83 -83
- package/dist/schemas/company-review.schema.d.ts.map +1 -1
- package/dist/schemas/company.schema.d.ts +88 -88
- package/dist/schemas/company.schema.d.ts.map +1 -1
- package/dist/schemas/contract.schema.d.ts +120 -120
- package/dist/schemas/contract.schema.d.ts.map +1 -1
- package/dist/schemas/dispute.schema.d.ts +84 -84
- package/dist/schemas/dispute.schema.d.ts.map +1 -1
- package/dist/schemas/donation.schema.d.ts +49 -49
- package/dist/schemas/donation.schema.d.ts.map +1 -1
- package/dist/schemas/escrow.schema.d.ts +84 -84
- package/dist/schemas/escrow.schema.d.ts.map +1 -1
- package/dist/schemas/interest.schema.d.ts +87 -87
- package/dist/schemas/interest.schema.d.ts.map +1 -1
- package/dist/schemas/match.schema.d.ts +87 -87
- package/dist/schemas/match.schema.d.ts.map +1 -1
- package/dist/schemas/message.schema.d.ts +53 -53
- package/dist/schemas/message.schema.d.ts.map +1 -1
- package/dist/schemas/milestone.schema.d.ts +48 -48
- package/dist/schemas/notification.schema.d.ts +155 -155
- package/dist/schemas/notification.schema.d.ts.map +1 -1
- package/dist/schemas/profile.schema.d.ts +87 -87
- package/dist/schemas/profile.schema.d.ts.map +1 -1
- package/dist/schemas/profit-share-agreement.schema.d.ts +48 -48
- package/dist/schemas/profit-share.schema.d.ts +48 -48
- package/dist/schemas/proposal.schema.d.ts +48 -48
- package/dist/schemas/purchase.schema.d.ts +49 -49
- package/dist/schemas/purchase.schema.d.ts.map +1 -1
- package/dist/schemas/requirement-post.schema.d.ts +84 -84
- package/dist/schemas/requirement-post.schema.d.ts.map +1 -1
- package/dist/schemas/service-listing.schema.d.ts +48 -48
- package/dist/schemas/subscription.schema.d.ts +83 -83
- package/dist/schemas/subscription.schema.d.ts.map +1 -1
- package/dist/schemas/tmc-application.schema.d.ts +48 -48
- package/dist/schemas/tmc-membership.schema.d.ts +48 -48
- package/dist/schemas/trust-badge.schema.d.ts +48 -48
- package/dist/schemas/verification.schema.d.ts +87 -87
- package/dist/schemas/verification.schema.d.ts.map +1 -1
- package/dist/schemas/webhook-event.schema.d.ts +48 -48
- package/dist/types/worker.d.ts +9 -2
- package/dist/types/worker.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1179,7 +1179,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1179
1179
|
id: string;
|
|
1180
1180
|
}> | undefined;
|
|
1181
1181
|
get?: import("mongoose").SchemaDefinitionProperty<{
|
|
1182
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1182
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T, type?: any, options?: any): (Omit<IMessage, "id"> & {
|
|
1183
1183
|
_id: string;
|
|
1184
1184
|
})[T];
|
|
1185
1185
|
(path: string, type?: any, options?: any): any;
|
|
@@ -1338,7 +1338,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1338
1338
|
id: string;
|
|
1339
1339
|
}> | undefined;
|
|
1340
1340
|
invalidate?: import("mongoose").SchemaDefinitionProperty<{
|
|
1341
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1341
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1342
1342
|
(path: string, errorMsg: string | NativeError, value?: any, kind?: string): NativeError | null;
|
|
1343
1343
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1344
1344
|
_id: string;
|
|
@@ -1372,7 +1372,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1372
1372
|
id: string;
|
|
1373
1373
|
}> | undefined;
|
|
1374
1374
|
isDirectModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1375
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1375
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T | T[]): boolean;
|
|
1376
1376
|
(path: string | Array<string>): boolean;
|
|
1377
1377
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1378
1378
|
_id: string;
|
|
@@ -1406,7 +1406,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1406
1406
|
id: string;
|
|
1407
1407
|
}> | undefined;
|
|
1408
1408
|
isDirectSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1409
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1409
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T): boolean;
|
|
1410
1410
|
(path: string): boolean;
|
|
1411
1411
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1412
1412
|
_id: string;
|
|
@@ -1440,7 +1440,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1440
1440
|
id: string;
|
|
1441
1441
|
}> | undefined;
|
|
1442
1442
|
isInit?: import("mongoose").SchemaDefinitionProperty<{
|
|
1443
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1443
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T): boolean;
|
|
1444
1444
|
(path: string): boolean;
|
|
1445
1445
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1446
1446
|
_id: string;
|
|
@@ -1474,7 +1474,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1474
1474
|
id: string;
|
|
1475
1475
|
}> | undefined;
|
|
1476
1476
|
isModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1477
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1477
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path?: T | T[] | undefined, options?: {
|
|
1478
1478
|
ignoreAtomics?: boolean;
|
|
1479
1479
|
} | null): boolean;
|
|
1480
1480
|
(path?: string | Array<string>, options?: {
|
|
@@ -1543,7 +1543,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1543
1543
|
id: string;
|
|
1544
1544
|
}> | undefined;
|
|
1545
1545
|
isSelected?: import("mongoose").SchemaDefinitionProperty<{
|
|
1546
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1546
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T): boolean;
|
|
1547
1547
|
(path: string): boolean;
|
|
1548
1548
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1549
1549
|
_id: string;
|
|
@@ -1577,7 +1577,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
1577
1577
|
id: string;
|
|
1578
1578
|
}> | undefined;
|
|
1579
1579
|
markModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
1580
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
1580
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T, scope?: any): void;
|
|
1581
1581
|
(path: string, scope?: any): void;
|
|
1582
1582
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
1583
1583
|
_id: string;
|
|
@@ -2016,7 +2016,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2016
2016
|
id: string;
|
|
2017
2017
|
}> | undefined;
|
|
2018
2018
|
set?: import("mongoose").SchemaDefinitionProperty<{
|
|
2019
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
2019
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T, val: (Omit<IMessage, "id"> & {
|
|
2020
2020
|
_id: string;
|
|
2021
2021
|
})[T], type: any, options?: import("mongoose").DocumentSetOptions): import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
2022
2022
|
_id: string;
|
|
@@ -2103,6 +2103,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2103
2103
|
status: import("../index.js").MessageStatus;
|
|
2104
2104
|
type: import("../index.js").MessageType;
|
|
2105
2105
|
content: string;
|
|
2106
|
+
imageUrl?: string | undefined;
|
|
2106
2107
|
createdAt: Date;
|
|
2107
2108
|
updatedAt: Date;
|
|
2108
2109
|
_id: string;
|
|
@@ -2110,7 +2111,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2110
2111
|
chatId: string;
|
|
2111
2112
|
senderProfileId: string;
|
|
2112
2113
|
senderAccountId: string;
|
|
2113
|
-
imageUrl?: string | undefined;
|
|
2114
2114
|
deliveredAt?: Date | undefined;
|
|
2115
2115
|
readAt?: Date | undefined;
|
|
2116
2116
|
isFlagged: boolean;
|
|
@@ -2130,13 +2130,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2130
2130
|
status: import("../index.js").MessageStatus;
|
|
2131
2131
|
type: import("../index.js").MessageType;
|
|
2132
2132
|
content: string;
|
|
2133
|
+
imageUrl?: string | undefined;
|
|
2133
2134
|
createdAt: Date;
|
|
2134
2135
|
updatedAt: Date;
|
|
2135
2136
|
flaggedAt?: Date | undefined;
|
|
2136
2137
|
chatId: string;
|
|
2137
2138
|
senderProfileId: string;
|
|
2138
2139
|
senderAccountId: string;
|
|
2139
|
-
imageUrl?: string | undefined;
|
|
2140
2140
|
deliveredAt?: Date | undefined;
|
|
2141
2141
|
readAt?: Date | undefined;
|
|
2142
2142
|
isFlagged: boolean;
|
|
@@ -2177,6 +2177,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2177
2177
|
status: import("../index.js").MessageStatus;
|
|
2178
2178
|
type: import("../index.js").MessageType;
|
|
2179
2179
|
content: string;
|
|
2180
|
+
imageUrl?: string | undefined;
|
|
2180
2181
|
createdAt: Date;
|
|
2181
2182
|
updatedAt: Date;
|
|
2182
2183
|
_id: string;
|
|
@@ -2184,7 +2185,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2184
2185
|
chatId: string;
|
|
2185
2186
|
senderProfileId: string;
|
|
2186
2187
|
senderAccountId: string;
|
|
2187
|
-
imageUrl?: string | undefined;
|
|
2188
2188
|
deliveredAt?: Date | undefined;
|
|
2189
2189
|
readAt?: Date | undefined;
|
|
2190
2190
|
isFlagged: boolean;
|
|
@@ -2204,13 +2204,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2204
2204
|
status: import("../index.js").MessageStatus;
|
|
2205
2205
|
type: import("../index.js").MessageType;
|
|
2206
2206
|
content: string;
|
|
2207
|
+
imageUrl?: string | undefined;
|
|
2207
2208
|
createdAt: Date;
|
|
2208
2209
|
updatedAt: Date;
|
|
2209
2210
|
flaggedAt?: Date | undefined;
|
|
2210
2211
|
chatId: string;
|
|
2211
2212
|
senderProfileId: string;
|
|
2212
2213
|
senderAccountId: string;
|
|
2213
|
-
imageUrl?: string | undefined;
|
|
2214
2214
|
deliveredAt?: Date | undefined;
|
|
2215
2215
|
readAt?: Date | undefined;
|
|
2216
2216
|
isFlagged: boolean;
|
|
@@ -2251,6 +2251,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2251
2251
|
status: import("../index.js").MessageStatus;
|
|
2252
2252
|
type: import("../index.js").MessageType;
|
|
2253
2253
|
content: string;
|
|
2254
|
+
imageUrl?: string | undefined;
|
|
2254
2255
|
createdAt: Date;
|
|
2255
2256
|
updatedAt: Date;
|
|
2256
2257
|
_id: string;
|
|
@@ -2258,7 +2259,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2258
2259
|
chatId: string;
|
|
2259
2260
|
senderProfileId: string;
|
|
2260
2261
|
senderAccountId: string;
|
|
2261
|
-
imageUrl?: string | undefined;
|
|
2262
2262
|
deliveredAt?: Date | undefined;
|
|
2263
2263
|
readAt?: Date | undefined;
|
|
2264
2264
|
isFlagged: boolean;
|
|
@@ -2278,13 +2278,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2278
2278
|
status: import("../index.js").MessageStatus;
|
|
2279
2279
|
type: import("../index.js").MessageType;
|
|
2280
2280
|
content: string;
|
|
2281
|
+
imageUrl?: string | undefined;
|
|
2281
2282
|
createdAt: Date;
|
|
2282
2283
|
updatedAt: Date;
|
|
2283
2284
|
flaggedAt?: Date | undefined;
|
|
2284
2285
|
chatId: string;
|
|
2285
2286
|
senderProfileId: string;
|
|
2286
2287
|
senderAccountId: string;
|
|
2287
|
-
imageUrl?: string | undefined;
|
|
2288
2288
|
deliveredAt?: Date | undefined;
|
|
2289
2289
|
readAt?: Date | undefined;
|
|
2290
2290
|
isFlagged: boolean;
|
|
@@ -2325,6 +2325,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2325
2325
|
status: import("../index.js").MessageStatus;
|
|
2326
2326
|
type: import("../index.js").MessageType;
|
|
2327
2327
|
content: string;
|
|
2328
|
+
imageUrl?: string | undefined;
|
|
2328
2329
|
createdAt: Date;
|
|
2329
2330
|
updatedAt: Date;
|
|
2330
2331
|
_id: string;
|
|
@@ -2332,7 +2333,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2332
2333
|
chatId: string;
|
|
2333
2334
|
senderProfileId: string;
|
|
2334
2335
|
senderAccountId: string;
|
|
2335
|
-
imageUrl?: string | undefined;
|
|
2336
2336
|
deliveredAt?: Date | undefined;
|
|
2337
2337
|
readAt?: Date | undefined;
|
|
2338
2338
|
isFlagged: boolean;
|
|
@@ -2352,13 +2352,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2352
2352
|
status: import("../index.js").MessageStatus;
|
|
2353
2353
|
type: import("../index.js").MessageType;
|
|
2354
2354
|
content: string;
|
|
2355
|
+
imageUrl?: string | undefined;
|
|
2355
2356
|
createdAt: Date;
|
|
2356
2357
|
updatedAt: Date;
|
|
2357
2358
|
flaggedAt?: Date | undefined;
|
|
2358
2359
|
chatId: string;
|
|
2359
2360
|
senderProfileId: string;
|
|
2360
2361
|
senderAccountId: string;
|
|
2361
|
-
imageUrl?: string | undefined;
|
|
2362
2362
|
deliveredAt?: Date | undefined;
|
|
2363
2363
|
readAt?: Date | undefined;
|
|
2364
2364
|
isFlagged: boolean;
|
|
@@ -2398,13 +2398,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2398
2398
|
status: import("../index.js").MessageStatus;
|
|
2399
2399
|
type: import("../index.js").MessageType;
|
|
2400
2400
|
content: string;
|
|
2401
|
+
imageUrl?: string | undefined;
|
|
2401
2402
|
createdAt: Date;
|
|
2402
2403
|
updatedAt: Date;
|
|
2403
2404
|
flaggedAt?: Date | undefined;
|
|
2404
2405
|
chatId: string;
|
|
2405
2406
|
senderProfileId: string;
|
|
2406
2407
|
senderAccountId: string;
|
|
2407
|
-
imageUrl?: string | undefined;
|
|
2408
2408
|
deliveredAt?: Date | undefined;
|
|
2409
2409
|
readAt?: Date | undefined;
|
|
2410
2410
|
isFlagged: boolean;
|
|
@@ -2424,13 +2424,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2424
2424
|
status: import("../index.js").MessageStatus;
|
|
2425
2425
|
type: import("../index.js").MessageType;
|
|
2426
2426
|
content: string;
|
|
2427
|
+
imageUrl?: string | undefined;
|
|
2427
2428
|
createdAt: Date;
|
|
2428
2429
|
updatedAt: Date;
|
|
2429
2430
|
flaggedAt?: Date | undefined;
|
|
2430
2431
|
chatId: string;
|
|
2431
2432
|
senderProfileId: string;
|
|
2432
2433
|
senderAccountId: string;
|
|
2433
|
-
imageUrl?: string | undefined;
|
|
2434
2434
|
deliveredAt?: Date | undefined;
|
|
2435
2435
|
readAt?: Date | undefined;
|
|
2436
2436
|
isFlagged: boolean;
|
|
@@ -2450,13 +2450,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2450
2450
|
status: import("../index.js").MessageStatus;
|
|
2451
2451
|
type: import("../index.js").MessageType;
|
|
2452
2452
|
content: string;
|
|
2453
|
+
imageUrl?: string | undefined;
|
|
2453
2454
|
createdAt: Date;
|
|
2454
2455
|
updatedAt: Date;
|
|
2455
2456
|
flaggedAt?: Date | undefined;
|
|
2456
2457
|
chatId: string;
|
|
2457
2458
|
senderProfileId: string;
|
|
2458
2459
|
senderAccountId: string;
|
|
2459
|
-
imageUrl?: string | undefined;
|
|
2460
2460
|
deliveredAt?: Date | undefined;
|
|
2461
2461
|
readAt?: Date | undefined;
|
|
2462
2462
|
isFlagged: boolean;
|
|
@@ -2475,13 +2475,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2475
2475
|
status: import("../index.js").MessageStatus;
|
|
2476
2476
|
type: import("../index.js").MessageType;
|
|
2477
2477
|
content: string;
|
|
2478
|
+
imageUrl?: string | undefined;
|
|
2478
2479
|
createdAt: Date;
|
|
2479
2480
|
updatedAt: Date;
|
|
2480
2481
|
flaggedAt?: Date | undefined;
|
|
2481
2482
|
chatId: string;
|
|
2482
2483
|
senderProfileId: string;
|
|
2483
2484
|
senderAccountId: string;
|
|
2484
|
-
imageUrl?: string | undefined;
|
|
2485
2485
|
deliveredAt?: Date | undefined;
|
|
2486
2486
|
readAt?: Date | undefined;
|
|
2487
2487
|
isFlagged: boolean;
|
|
@@ -2518,6 +2518,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2518
2518
|
status: import("../index.js").MessageStatus;
|
|
2519
2519
|
type: import("../index.js").MessageType;
|
|
2520
2520
|
content: string;
|
|
2521
|
+
imageUrl?: string | undefined;
|
|
2521
2522
|
createdAt: Date;
|
|
2522
2523
|
updatedAt: Date;
|
|
2523
2524
|
_id: string;
|
|
@@ -2525,7 +2526,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2525
2526
|
chatId: string;
|
|
2526
2527
|
senderProfileId: string;
|
|
2527
2528
|
senderAccountId: string;
|
|
2528
|
-
imageUrl?: string | undefined;
|
|
2529
2529
|
deliveredAt?: Date | undefined;
|
|
2530
2530
|
readAt?: Date | undefined;
|
|
2531
2531
|
isFlagged: boolean;
|
|
@@ -2546,6 +2546,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2546
2546
|
status: import("../index.js").MessageStatus;
|
|
2547
2547
|
type: import("../index.js").MessageType;
|
|
2548
2548
|
content: string;
|
|
2549
|
+
imageUrl?: string | undefined;
|
|
2549
2550
|
createdAt: Date;
|
|
2550
2551
|
updatedAt: Date;
|
|
2551
2552
|
_id: string;
|
|
@@ -2553,7 +2554,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2553
2554
|
chatId: string;
|
|
2554
2555
|
senderProfileId: string;
|
|
2555
2556
|
senderAccountId: string;
|
|
2556
|
-
imageUrl?: string | undefined;
|
|
2557
2557
|
deliveredAt?: Date | undefined;
|
|
2558
2558
|
readAt?: Date | undefined;
|
|
2559
2559
|
isFlagged: boolean;
|
|
@@ -2582,6 +2582,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2582
2582
|
status: import("../index.js").MessageStatus;
|
|
2583
2583
|
type: import("../index.js").MessageType;
|
|
2584
2584
|
content: string;
|
|
2585
|
+
imageUrl?: string | undefined;
|
|
2585
2586
|
createdAt: Date;
|
|
2586
2587
|
updatedAt: Date;
|
|
2587
2588
|
_id: string;
|
|
@@ -2589,7 +2590,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2589
2590
|
chatId: string;
|
|
2590
2591
|
senderProfileId: string;
|
|
2591
2592
|
senderAccountId: string;
|
|
2592
|
-
imageUrl?: string | undefined;
|
|
2593
2593
|
deliveredAt?: Date | undefined;
|
|
2594
2594
|
readAt?: Date | undefined;
|
|
2595
2595
|
isFlagged: boolean;
|
|
@@ -2617,6 +2617,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2617
2617
|
status: import("../index.js").MessageStatus;
|
|
2618
2618
|
type: import("../index.js").MessageType;
|
|
2619
2619
|
content: string;
|
|
2620
|
+
imageUrl?: string | undefined;
|
|
2620
2621
|
createdAt: Date;
|
|
2621
2622
|
updatedAt: Date;
|
|
2622
2623
|
_id: string;
|
|
@@ -2624,7 +2625,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2624
2625
|
chatId: string;
|
|
2625
2626
|
senderProfileId: string;
|
|
2626
2627
|
senderAccountId: string;
|
|
2627
|
-
imageUrl?: string | undefined;
|
|
2628
2628
|
deliveredAt?: Date | undefined;
|
|
2629
2629
|
readAt?: Date | undefined;
|
|
2630
2630
|
isFlagged: boolean;
|
|
@@ -2643,6 +2643,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2643
2643
|
status: import("../index.js").MessageStatus;
|
|
2644
2644
|
type: import("../index.js").MessageType;
|
|
2645
2645
|
content: string;
|
|
2646
|
+
imageUrl?: string | undefined;
|
|
2646
2647
|
createdAt: Date;
|
|
2647
2648
|
updatedAt: Date;
|
|
2648
2649
|
_id: string;
|
|
@@ -2650,7 +2651,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2650
2651
|
chatId: string;
|
|
2651
2652
|
senderProfileId: string;
|
|
2652
2653
|
senderAccountId: string;
|
|
2653
|
-
imageUrl?: string | undefined;
|
|
2654
2654
|
deliveredAt?: Date | undefined;
|
|
2655
2655
|
readAt?: Date | undefined;
|
|
2656
2656
|
isFlagged: boolean;
|
|
@@ -2735,6 +2735,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2735
2735
|
status: import("../index.js").MessageStatus;
|
|
2736
2736
|
type: import("../index.js").MessageType;
|
|
2737
2737
|
content: string;
|
|
2738
|
+
imageUrl?: string | undefined;
|
|
2738
2739
|
createdAt: Date;
|
|
2739
2740
|
updatedAt: Date;
|
|
2740
2741
|
_id: string;
|
|
@@ -2742,7 +2743,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2742
2743
|
chatId: string;
|
|
2743
2744
|
senderProfileId: string;
|
|
2744
2745
|
senderAccountId: string;
|
|
2745
|
-
imageUrl?: string | undefined;
|
|
2746
2746
|
deliveredAt?: Date | undefined;
|
|
2747
2747
|
readAt?: Date | undefined;
|
|
2748
2748
|
isFlagged: boolean;
|
|
@@ -2762,13 +2762,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2762
2762
|
status: import("../index.js").MessageStatus;
|
|
2763
2763
|
type: import("../index.js").MessageType;
|
|
2764
2764
|
content: string;
|
|
2765
|
+
imageUrl?: string | undefined;
|
|
2765
2766
|
createdAt: Date;
|
|
2766
2767
|
updatedAt: Date;
|
|
2767
2768
|
flaggedAt?: Date | undefined;
|
|
2768
2769
|
chatId: string;
|
|
2769
2770
|
senderProfileId: string;
|
|
2770
2771
|
senderAccountId: string;
|
|
2771
|
-
imageUrl?: string | undefined;
|
|
2772
2772
|
deliveredAt?: Date | undefined;
|
|
2773
2773
|
readAt?: Date | undefined;
|
|
2774
2774
|
isFlagged: boolean;
|
|
@@ -2809,6 +2809,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2809
2809
|
status: import("../index.js").MessageStatus;
|
|
2810
2810
|
type: import("../index.js").MessageType;
|
|
2811
2811
|
content: string;
|
|
2812
|
+
imageUrl?: string | undefined;
|
|
2812
2813
|
createdAt: Date;
|
|
2813
2814
|
updatedAt: Date;
|
|
2814
2815
|
_id: string;
|
|
@@ -2816,7 +2817,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2816
2817
|
chatId: string;
|
|
2817
2818
|
senderProfileId: string;
|
|
2818
2819
|
senderAccountId: string;
|
|
2819
|
-
imageUrl?: string | undefined;
|
|
2820
2820
|
deliveredAt?: Date | undefined;
|
|
2821
2821
|
readAt?: Date | undefined;
|
|
2822
2822
|
isFlagged: boolean;
|
|
@@ -2836,13 +2836,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2836
2836
|
status: import("../index.js").MessageStatus;
|
|
2837
2837
|
type: import("../index.js").MessageType;
|
|
2838
2838
|
content: string;
|
|
2839
|
+
imageUrl?: string | undefined;
|
|
2839
2840
|
createdAt: Date;
|
|
2840
2841
|
updatedAt: Date;
|
|
2841
2842
|
flaggedAt?: Date | undefined;
|
|
2842
2843
|
chatId: string;
|
|
2843
2844
|
senderProfileId: string;
|
|
2844
2845
|
senderAccountId: string;
|
|
2845
|
-
imageUrl?: string | undefined;
|
|
2846
2846
|
deliveredAt?: Date | undefined;
|
|
2847
2847
|
readAt?: Date | undefined;
|
|
2848
2848
|
isFlagged: boolean;
|
|
@@ -2883,6 +2883,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2883
2883
|
status: import("../index.js").MessageStatus;
|
|
2884
2884
|
type: import("../index.js").MessageType;
|
|
2885
2885
|
content: string;
|
|
2886
|
+
imageUrl?: string | undefined;
|
|
2886
2887
|
createdAt: Date;
|
|
2887
2888
|
updatedAt: Date;
|
|
2888
2889
|
_id: string;
|
|
@@ -2890,7 +2891,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2890
2891
|
chatId: string;
|
|
2891
2892
|
senderProfileId: string;
|
|
2892
2893
|
senderAccountId: string;
|
|
2893
|
-
imageUrl?: string | undefined;
|
|
2894
2894
|
deliveredAt?: Date | undefined;
|
|
2895
2895
|
readAt?: Date | undefined;
|
|
2896
2896
|
isFlagged: boolean;
|
|
@@ -2910,13 +2910,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2910
2910
|
status: import("../index.js").MessageStatus;
|
|
2911
2911
|
type: import("../index.js").MessageType;
|
|
2912
2912
|
content: string;
|
|
2913
|
+
imageUrl?: string | undefined;
|
|
2913
2914
|
createdAt: Date;
|
|
2914
2915
|
updatedAt: Date;
|
|
2915
2916
|
flaggedAt?: Date | undefined;
|
|
2916
2917
|
chatId: string;
|
|
2917
2918
|
senderProfileId: string;
|
|
2918
2919
|
senderAccountId: string;
|
|
2919
|
-
imageUrl?: string | undefined;
|
|
2920
2920
|
deliveredAt?: Date | undefined;
|
|
2921
2921
|
readAt?: Date | undefined;
|
|
2922
2922
|
isFlagged: boolean;
|
|
@@ -2957,6 +2957,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2957
2957
|
status: import("../index.js").MessageStatus;
|
|
2958
2958
|
type: import("../index.js").MessageType;
|
|
2959
2959
|
content: string;
|
|
2960
|
+
imageUrl?: string | undefined;
|
|
2960
2961
|
createdAt: Date;
|
|
2961
2962
|
updatedAt: Date;
|
|
2962
2963
|
_id: string;
|
|
@@ -2964,7 +2965,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2964
2965
|
chatId: string;
|
|
2965
2966
|
senderProfileId: string;
|
|
2966
2967
|
senderAccountId: string;
|
|
2967
|
-
imageUrl?: string | undefined;
|
|
2968
2968
|
deliveredAt?: Date | undefined;
|
|
2969
2969
|
readAt?: Date | undefined;
|
|
2970
2970
|
isFlagged: boolean;
|
|
@@ -2984,13 +2984,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
2984
2984
|
status: import("../index.js").MessageStatus;
|
|
2985
2985
|
type: import("../index.js").MessageType;
|
|
2986
2986
|
content: string;
|
|
2987
|
+
imageUrl?: string | undefined;
|
|
2987
2988
|
createdAt: Date;
|
|
2988
2989
|
updatedAt: Date;
|
|
2989
2990
|
flaggedAt?: Date | undefined;
|
|
2990
2991
|
chatId: string;
|
|
2991
2992
|
senderProfileId: string;
|
|
2992
2993
|
senderAccountId: string;
|
|
2993
|
-
imageUrl?: string | undefined;
|
|
2994
2994
|
deliveredAt?: Date | undefined;
|
|
2995
2995
|
readAt?: Date | undefined;
|
|
2996
2996
|
isFlagged: boolean;
|
|
@@ -3030,13 +3030,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3030
3030
|
status: import("../index.js").MessageStatus;
|
|
3031
3031
|
type: import("../index.js").MessageType;
|
|
3032
3032
|
content: string;
|
|
3033
|
+
imageUrl?: string | undefined;
|
|
3033
3034
|
createdAt: Date;
|
|
3034
3035
|
updatedAt: Date;
|
|
3035
3036
|
flaggedAt?: Date | undefined;
|
|
3036
3037
|
chatId: string;
|
|
3037
3038
|
senderProfileId: string;
|
|
3038
3039
|
senderAccountId: string;
|
|
3039
|
-
imageUrl?: string | undefined;
|
|
3040
3040
|
deliveredAt?: Date | undefined;
|
|
3041
3041
|
readAt?: Date | undefined;
|
|
3042
3042
|
isFlagged: boolean;
|
|
@@ -3056,13 +3056,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3056
3056
|
status: import("../index.js").MessageStatus;
|
|
3057
3057
|
type: import("../index.js").MessageType;
|
|
3058
3058
|
content: string;
|
|
3059
|
+
imageUrl?: string | undefined;
|
|
3059
3060
|
createdAt: Date;
|
|
3060
3061
|
updatedAt: Date;
|
|
3061
3062
|
flaggedAt?: Date | undefined;
|
|
3062
3063
|
chatId: string;
|
|
3063
3064
|
senderProfileId: string;
|
|
3064
3065
|
senderAccountId: string;
|
|
3065
|
-
imageUrl?: string | undefined;
|
|
3066
3066
|
deliveredAt?: Date | undefined;
|
|
3067
3067
|
readAt?: Date | undefined;
|
|
3068
3068
|
isFlagged: boolean;
|
|
@@ -3082,13 +3082,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3082
3082
|
status: import("../index.js").MessageStatus;
|
|
3083
3083
|
type: import("../index.js").MessageType;
|
|
3084
3084
|
content: string;
|
|
3085
|
+
imageUrl?: string | undefined;
|
|
3085
3086
|
createdAt: Date;
|
|
3086
3087
|
updatedAt: Date;
|
|
3087
3088
|
flaggedAt?: Date | undefined;
|
|
3088
3089
|
chatId: string;
|
|
3089
3090
|
senderProfileId: string;
|
|
3090
3091
|
senderAccountId: string;
|
|
3091
|
-
imageUrl?: string | undefined;
|
|
3092
3092
|
deliveredAt?: Date | undefined;
|
|
3093
3093
|
readAt?: Date | undefined;
|
|
3094
3094
|
isFlagged: boolean;
|
|
@@ -3107,13 +3107,13 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3107
3107
|
status: import("../index.js").MessageStatus;
|
|
3108
3108
|
type: import("../index.js").MessageType;
|
|
3109
3109
|
content: string;
|
|
3110
|
+
imageUrl?: string | undefined;
|
|
3110
3111
|
createdAt: Date;
|
|
3111
3112
|
updatedAt: Date;
|
|
3112
3113
|
flaggedAt?: Date | undefined;
|
|
3113
3114
|
chatId: string;
|
|
3114
3115
|
senderProfileId: string;
|
|
3115
3116
|
senderAccountId: string;
|
|
3116
|
-
imageUrl?: string | undefined;
|
|
3117
3117
|
deliveredAt?: Date | undefined;
|
|
3118
3118
|
readAt?: Date | undefined;
|
|
3119
3119
|
isFlagged: boolean;
|
|
@@ -3150,6 +3150,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3150
3150
|
status: import("../index.js").MessageStatus;
|
|
3151
3151
|
type: import("../index.js").MessageType;
|
|
3152
3152
|
content: string;
|
|
3153
|
+
imageUrl?: string | undefined;
|
|
3153
3154
|
createdAt: Date;
|
|
3154
3155
|
updatedAt: Date;
|
|
3155
3156
|
_id: string;
|
|
@@ -3157,7 +3158,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3157
3158
|
chatId: string;
|
|
3158
3159
|
senderProfileId: string;
|
|
3159
3160
|
senderAccountId: string;
|
|
3160
|
-
imageUrl?: string | undefined;
|
|
3161
3161
|
deliveredAt?: Date | undefined;
|
|
3162
3162
|
readAt?: Date | undefined;
|
|
3163
3163
|
isFlagged: boolean;
|
|
@@ -3178,6 +3178,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3178
3178
|
status: import("../index.js").MessageStatus;
|
|
3179
3179
|
type: import("../index.js").MessageType;
|
|
3180
3180
|
content: string;
|
|
3181
|
+
imageUrl?: string | undefined;
|
|
3181
3182
|
createdAt: Date;
|
|
3182
3183
|
updatedAt: Date;
|
|
3183
3184
|
_id: string;
|
|
@@ -3185,7 +3186,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3185
3186
|
chatId: string;
|
|
3186
3187
|
senderProfileId: string;
|
|
3187
3188
|
senderAccountId: string;
|
|
3188
|
-
imageUrl?: string | undefined;
|
|
3189
3189
|
deliveredAt?: Date | undefined;
|
|
3190
3190
|
readAt?: Date | undefined;
|
|
3191
3191
|
isFlagged: boolean;
|
|
@@ -3214,6 +3214,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3214
3214
|
status: import("../index.js").MessageStatus;
|
|
3215
3215
|
type: import("../index.js").MessageType;
|
|
3216
3216
|
content: string;
|
|
3217
|
+
imageUrl?: string | undefined;
|
|
3217
3218
|
createdAt: Date;
|
|
3218
3219
|
updatedAt: Date;
|
|
3219
3220
|
_id: string;
|
|
@@ -3221,7 +3222,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3221
3222
|
chatId: string;
|
|
3222
3223
|
senderProfileId: string;
|
|
3223
3224
|
senderAccountId: string;
|
|
3224
|
-
imageUrl?: string | undefined;
|
|
3225
3225
|
deliveredAt?: Date | undefined;
|
|
3226
3226
|
readAt?: Date | undefined;
|
|
3227
3227
|
isFlagged: boolean;
|
|
@@ -3249,6 +3249,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3249
3249
|
status: import("../index.js").MessageStatus;
|
|
3250
3250
|
type: import("../index.js").MessageType;
|
|
3251
3251
|
content: string;
|
|
3252
|
+
imageUrl?: string | undefined;
|
|
3252
3253
|
createdAt: Date;
|
|
3253
3254
|
updatedAt: Date;
|
|
3254
3255
|
_id: string;
|
|
@@ -3256,7 +3257,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3256
3257
|
chatId: string;
|
|
3257
3258
|
senderProfileId: string;
|
|
3258
3259
|
senderAccountId: string;
|
|
3259
|
-
imageUrl?: string | undefined;
|
|
3260
3260
|
deliveredAt?: Date | undefined;
|
|
3261
3261
|
readAt?: Date | undefined;
|
|
3262
3262
|
isFlagged: boolean;
|
|
@@ -3275,6 +3275,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3275
3275
|
status: import("../index.js").MessageStatus;
|
|
3276
3276
|
type: import("../index.js").MessageType;
|
|
3277
3277
|
content: string;
|
|
3278
|
+
imageUrl?: string | undefined;
|
|
3278
3279
|
createdAt: Date;
|
|
3279
3280
|
updatedAt: Date;
|
|
3280
3281
|
_id: string;
|
|
@@ -3282,7 +3283,6 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3282
3283
|
chatId: string;
|
|
3283
3284
|
senderProfileId: string;
|
|
3284
3285
|
senderAccountId: string;
|
|
3285
|
-
imageUrl?: string | undefined;
|
|
3286
3286
|
deliveredAt?: Date | undefined;
|
|
3287
3287
|
readAt?: Date | undefined;
|
|
3288
3288
|
isFlagged: boolean;
|
|
@@ -3358,7 +3358,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3358
3358
|
id: string;
|
|
3359
3359
|
}> | undefined;
|
|
3360
3360
|
unmarkModified?: import("mongoose").SchemaDefinitionProperty<{
|
|
3361
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
3361
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(path: T): void;
|
|
3362
3362
|
(path: string): void;
|
|
3363
3363
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3364
3364
|
_id: string;
|
|
@@ -3443,7 +3443,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3443
3443
|
id: string;
|
|
3444
3444
|
}> | undefined;
|
|
3445
3445
|
validate?: import("mongoose").SchemaDefinitionProperty<{
|
|
3446
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
3446
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3447
3447
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): Promise<void>;
|
|
3448
3448
|
(options: {
|
|
3449
3449
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
@@ -3484,7 +3484,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3484
3484
|
pathsToSkip?: import("mongoose").pathsToSkip;
|
|
3485
3485
|
[k: string]: any;
|
|
3486
3486
|
}): import("mongoose").Error.ValidationError | null;
|
|
3487
|
-
<T extends "status" | "type" | "content" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "
|
|
3487
|
+
<T extends "status" | "type" | "content" | "imageUrl" | "createdAt" | "updatedAt" | "_id" | "flaggedAt" | "chatId" | "senderProfileId" | "senderAccountId" | "deliveredAt" | "readAt" | "isFlagged" | "flagReason" | "isEdited" | "editedAt" | "isDeleted" | "deletedAt" | "deletedBy" | "replyToMessageId">(pathsToValidate?: T | T[] | undefined, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3488
3488
|
(pathsToValidate?: import("mongoose").pathsToValidate, options?: import("mongoose").AnyObject): import("mongoose").Error.ValidationError | null;
|
|
3489
3489
|
}, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3490
3490
|
_id: string;
|
|
@@ -3610,7 +3610,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3610
3610
|
} & {
|
|
3611
3611
|
id: string;
|
|
3612
3612
|
}> | undefined;
|
|
3613
|
-
|
|
3613
|
+
imageUrl?: import("mongoose").SchemaDefinitionProperty<string | undefined, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3614
3614
|
_id: string;
|
|
3615
3615
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3616
3616
|
_id: string;
|
|
@@ -3641,7 +3641,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3641
3641
|
} & {
|
|
3642
3642
|
id: string;
|
|
3643
3643
|
}> | undefined;
|
|
3644
|
-
|
|
3644
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3645
3645
|
_id: string;
|
|
3646
3646
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3647
3647
|
_id: string;
|
|
@@ -3672,7 +3672,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3672
3672
|
} & {
|
|
3673
3673
|
id: string;
|
|
3674
3674
|
}> | undefined;
|
|
3675
|
-
|
|
3675
|
+
updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3676
3676
|
_id: string;
|
|
3677
3677
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3678
3678
|
_id: string;
|
|
@@ -3703,7 +3703,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3703
3703
|
} & {
|
|
3704
3704
|
id: string;
|
|
3705
3705
|
}> | undefined;
|
|
3706
|
-
|
|
3706
|
+
flaggedAt?: import("mongoose").SchemaDefinitionProperty<Date | undefined, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3707
3707
|
_id: string;
|
|
3708
3708
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3709
3709
|
_id: string;
|
|
@@ -3734,7 +3734,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3734
3734
|
} & {
|
|
3735
3735
|
id: string;
|
|
3736
3736
|
}> | undefined;
|
|
3737
|
-
|
|
3737
|
+
chatId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3738
3738
|
_id: string;
|
|
3739
3739
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3740
3740
|
_id: string;
|
|
@@ -3765,7 +3765,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3765
3765
|
} & {
|
|
3766
3766
|
id: string;
|
|
3767
3767
|
}> | undefined;
|
|
3768
|
-
|
|
3768
|
+
senderProfileId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3769
3769
|
_id: string;
|
|
3770
3770
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3771
3771
|
_id: string;
|
|
@@ -3796,7 +3796,7 @@ export declare const MessageSchema: Schema<import("mongoose").Document<unknown,
|
|
|
3796
3796
|
} & {
|
|
3797
3797
|
id: string;
|
|
3798
3798
|
}> | undefined;
|
|
3799
|
-
|
|
3799
|
+
senderAccountId?: import("mongoose").SchemaDefinitionProperty<string, import("mongoose").Document<unknown, {}, Omit<IMessage, "id"> & {
|
|
3800
3800
|
_id: string;
|
|
3801
3801
|
}, {}, import("mongoose").DefaultSchemaOptions> & Omit<IMessage, "id"> & {
|
|
3802
3802
|
_id: string;
|