controlresell 2.4.5 → 2.4.6
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 +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +0 -10
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +11 -11
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +16 -30
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +15 -15
- package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +7 -7
- package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +11 -11
- package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +3 -3
- package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +15 -15
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +20 -38
- package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +5 -5
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +30 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typescript": "^5.9.2"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"controlresell-connector": "^0.6.
|
|
20
|
+
"controlresell-connector": "^0.6.3",
|
|
21
21
|
"zod": "^3.25.76",
|
|
22
22
|
"zodable-idschema": "^1.0.0",
|
|
23
23
|
"zodable-kotlin-primitives": "^1.0.0"
|
|
@@ -3,7 +3,6 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
3
3
|
item: z.ZodObject<{
|
|
4
4
|
platformId: z.ZodString;
|
|
5
5
|
platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
-
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
6
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
7
|
post: z.ZodObject<{
|
|
9
8
|
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -75,7 +74,6 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
75
74
|
manufacturerLabelling?: string | null | undefined;
|
|
76
75
|
labels?: string[] | null | undefined;
|
|
77
76
|
}>;
|
|
78
|
-
data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
77
|
}, "strip", z.ZodTypeAny, {
|
|
80
78
|
platformId: string;
|
|
81
79
|
post: {
|
|
@@ -102,9 +100,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
102
100
|
manufacturerLabelling?: string | null | undefined;
|
|
103
101
|
labels?: string[] | null | undefined;
|
|
104
102
|
};
|
|
105
|
-
data?: string | null | undefined;
|
|
106
103
|
createdAt?: Date | null | undefined;
|
|
107
|
-
sold?: boolean | null | undefined;
|
|
108
104
|
platformUrl?: string | null | undefined;
|
|
109
105
|
}, {
|
|
110
106
|
platformId: string;
|
|
@@ -132,9 +128,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
132
128
|
manufacturerLabelling?: string | null | undefined;
|
|
133
129
|
labels?: string[] | null | undefined;
|
|
134
130
|
};
|
|
135
|
-
data?: string | null | undefined;
|
|
136
131
|
createdAt?: Date | null | undefined;
|
|
137
|
-
sold?: boolean | null | undefined;
|
|
138
132
|
platformUrl?: string | null | undefined;
|
|
139
133
|
}>;
|
|
140
134
|
account: z.ZodObject<{
|
|
@@ -194,9 +188,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
194
188
|
manufacturerLabelling?: string | null | undefined;
|
|
195
189
|
labels?: string[] | null | undefined;
|
|
196
190
|
};
|
|
197
|
-
data?: string | null | undefined;
|
|
198
191
|
createdAt?: Date | null | undefined;
|
|
199
|
-
sold?: boolean | null | undefined;
|
|
200
192
|
platformUrl?: string | null | undefined;
|
|
201
193
|
};
|
|
202
194
|
}, {
|
|
@@ -234,9 +226,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
234
226
|
manufacturerLabelling?: string | null | undefined;
|
|
235
227
|
labels?: string[] | null | undefined;
|
|
236
228
|
};
|
|
237
|
-
data?: string | null | undefined;
|
|
238
229
|
createdAt?: Date | null | undefined;
|
|
239
|
-
sold?: boolean | null | undefined;
|
|
240
230
|
platformUrl?: string | null | undefined;
|
|
241
231
|
};
|
|
242
232
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
|
|
@@ -43,9 +43,9 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
43
43
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
price: z.ZodNumber;
|
|
45
45
|
originalPrice: z.ZodNumber;
|
|
46
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
46
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
48
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
49
49
|
id: string;
|
|
50
50
|
price: number;
|
|
51
51
|
messageId: string;
|
|
@@ -53,7 +53,7 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
53
53
|
transactionId?: string | null | undefined;
|
|
54
54
|
platformOfferId?: string | null | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
56
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
57
57
|
id: string;
|
|
58
58
|
price: number;
|
|
59
59
|
messageId: string;
|
|
@@ -122,13 +122,13 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
122
122
|
}>, "many">>>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
124
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
125
|
-
status: "
|
|
125
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
126
126
|
id: string;
|
|
127
127
|
createdAt: Date;
|
|
128
128
|
conversationId: string;
|
|
129
129
|
body?: string | null | undefined;
|
|
130
130
|
offer?: {
|
|
131
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
131
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
132
132
|
id: string;
|
|
133
133
|
price: number;
|
|
134
134
|
messageId: string;
|
|
@@ -158,13 +158,13 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
158
158
|
} | null | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
161
|
-
status: "
|
|
161
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
162
162
|
id: string;
|
|
163
163
|
createdAt: Date;
|
|
164
164
|
conversationId: string;
|
|
165
165
|
body?: string | null | undefined;
|
|
166
166
|
offer?: {
|
|
167
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
167
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
168
168
|
id: string;
|
|
169
169
|
price: number;
|
|
170
170
|
messageId: string;
|
|
@@ -286,13 +286,13 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
286
286
|
}[] | null | undefined;
|
|
287
287
|
lastMessage?: {
|
|
288
288
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
289
|
-
status: "
|
|
289
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
290
290
|
id: string;
|
|
291
291
|
createdAt: Date;
|
|
292
292
|
conversationId: string;
|
|
293
293
|
body?: string | null | undefined;
|
|
294
294
|
offer?: {
|
|
295
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
295
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
296
296
|
id: string;
|
|
297
297
|
price: number;
|
|
298
298
|
messageId: string;
|
|
@@ -353,13 +353,13 @@ export declare const ConversationSchema: z.ZodObject<{
|
|
|
353
353
|
}[] | null | undefined;
|
|
354
354
|
lastMessage?: {
|
|
355
355
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
356
|
-
status: "
|
|
356
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
357
357
|
id: string;
|
|
358
358
|
createdAt: Date;
|
|
359
359
|
conversationId: string;
|
|
360
360
|
body?: string | null | undefined;
|
|
361
361
|
offer?: {
|
|
362
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
362
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
363
363
|
id: string;
|
|
364
364
|
price: number;
|
|
365
365
|
messageId: string;
|
|
@@ -17,15 +17,15 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
17
17
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
price: z.ZodNumber;
|
|
19
19
|
originalPrice: z.ZodNumber;
|
|
20
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
20
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
22
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
23
23
|
id: string;
|
|
24
24
|
price: number;
|
|
25
25
|
originalPrice: number;
|
|
26
26
|
transactionId?: string | null | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
28
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
29
29
|
id: string;
|
|
30
30
|
price: number;
|
|
31
31
|
originalPrice: number;
|
|
@@ -41,7 +41,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
41
41
|
photos?: string[] | null | undefined;
|
|
42
42
|
isHidden?: boolean | null | undefined;
|
|
43
43
|
offer?: {
|
|
44
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
44
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
45
45
|
id: string;
|
|
46
46
|
price: number;
|
|
47
47
|
originalPrice: number;
|
|
@@ -56,7 +56,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
56
56
|
photos?: string[] | null | undefined;
|
|
57
57
|
isHidden?: boolean | null | undefined;
|
|
58
58
|
offer?: {
|
|
59
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
59
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
60
60
|
id: string;
|
|
61
61
|
price: number;
|
|
62
62
|
originalPrice: number;
|
|
@@ -158,7 +158,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
158
158
|
posts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
159
159
|
platformId: z.ZodString;
|
|
160
160
|
platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
-
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
162
161
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
163
162
|
post: z.ZodObject<{
|
|
164
163
|
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -230,7 +229,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
230
229
|
manufacturerLabelling?: string | null | undefined;
|
|
231
230
|
labels?: string[] | null | undefined;
|
|
232
231
|
}>;
|
|
233
|
-
data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
232
|
}, "strip", z.ZodTypeAny, {
|
|
235
233
|
platformId: string;
|
|
236
234
|
post: {
|
|
@@ -257,9 +255,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
257
255
|
manufacturerLabelling?: string | null | undefined;
|
|
258
256
|
labels?: string[] | null | undefined;
|
|
259
257
|
};
|
|
260
|
-
data?: string | null | undefined;
|
|
261
258
|
createdAt?: Date | null | undefined;
|
|
262
|
-
sold?: boolean | null | undefined;
|
|
263
259
|
platformUrl?: string | null | undefined;
|
|
264
260
|
}, {
|
|
265
261
|
platformId: string;
|
|
@@ -287,9 +283,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
287
283
|
manufacturerLabelling?: string | null | undefined;
|
|
288
284
|
labels?: string[] | null | undefined;
|
|
289
285
|
};
|
|
290
|
-
data?: string | null | undefined;
|
|
291
286
|
createdAt?: Date | null | undefined;
|
|
292
|
-
sold?: boolean | null | undefined;
|
|
293
287
|
platformUrl?: string | null | undefined;
|
|
294
288
|
}>, "many">>>;
|
|
295
289
|
orders: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -298,10 +292,10 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
298
292
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
299
293
|
price: z.ZodNumber;
|
|
300
294
|
currencyCode: z.ZodString;
|
|
301
|
-
status: z.ZodEnum<["PAYMENT_VALIDATED", "
|
|
295
|
+
status: z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "UNKNOWN"]>;
|
|
302
296
|
date: z.ZodDate;
|
|
303
297
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
status: "PAYMENT_VALIDATED" | "
|
|
298
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
305
299
|
id: string;
|
|
306
300
|
date: Date;
|
|
307
301
|
price: number;
|
|
@@ -309,7 +303,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
309
303
|
conversationId?: string | null | undefined;
|
|
310
304
|
transactionId?: string | null | undefined;
|
|
311
305
|
}, {
|
|
312
|
-
status: "PAYMENT_VALIDATED" | "
|
|
306
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
313
307
|
id: string;
|
|
314
308
|
date: Date;
|
|
315
309
|
price: number;
|
|
@@ -378,7 +372,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
378
372
|
photos?: string[] | null | undefined;
|
|
379
373
|
isHidden?: boolean | null | undefined;
|
|
380
374
|
offer?: {
|
|
381
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
375
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
382
376
|
id: string;
|
|
383
377
|
price: number;
|
|
384
378
|
originalPrice: number;
|
|
@@ -452,13 +446,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
452
446
|
manufacturerLabelling?: string | null | undefined;
|
|
453
447
|
labels?: string[] | null | undefined;
|
|
454
448
|
};
|
|
455
|
-
data?: string | null | undefined;
|
|
456
449
|
createdAt?: Date | null | undefined;
|
|
457
|
-
sold?: boolean | null | undefined;
|
|
458
450
|
platformUrl?: string | null | undefined;
|
|
459
451
|
}[] | null | undefined;
|
|
460
452
|
orders?: {
|
|
461
|
-
status: "PAYMENT_VALIDATED" | "
|
|
453
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
462
454
|
id: string;
|
|
463
455
|
date: Date;
|
|
464
456
|
price: number;
|
|
@@ -489,7 +481,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
489
481
|
photos?: string[] | null | undefined;
|
|
490
482
|
isHidden?: boolean | null | undefined;
|
|
491
483
|
offer?: {
|
|
492
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
484
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
493
485
|
id: string;
|
|
494
486
|
price: number;
|
|
495
487
|
originalPrice: number;
|
|
@@ -563,13 +555,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
563
555
|
manufacturerLabelling?: string | null | undefined;
|
|
564
556
|
labels?: string[] | null | undefined;
|
|
565
557
|
};
|
|
566
|
-
data?: string | null | undefined;
|
|
567
558
|
createdAt?: Date | null | undefined;
|
|
568
|
-
sold?: boolean | null | undefined;
|
|
569
559
|
platformUrl?: string | null | undefined;
|
|
570
560
|
}[] | null | undefined;
|
|
571
561
|
orders?: {
|
|
572
|
-
status: "PAYMENT_VALIDATED" | "
|
|
562
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
573
563
|
id: string;
|
|
574
564
|
date: Date;
|
|
575
565
|
price: number;
|
|
@@ -632,7 +622,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
632
622
|
photos?: string[] | null | undefined;
|
|
633
623
|
isHidden?: boolean | null | undefined;
|
|
634
624
|
offer?: {
|
|
635
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
625
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
636
626
|
id: string;
|
|
637
627
|
price: number;
|
|
638
628
|
originalPrice: number;
|
|
@@ -706,13 +696,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
706
696
|
manufacturerLabelling?: string | null | undefined;
|
|
707
697
|
labels?: string[] | null | undefined;
|
|
708
698
|
};
|
|
709
|
-
data?: string | null | undefined;
|
|
710
699
|
createdAt?: Date | null | undefined;
|
|
711
|
-
sold?: boolean | null | undefined;
|
|
712
700
|
platformUrl?: string | null | undefined;
|
|
713
701
|
}[] | null | undefined;
|
|
714
702
|
orders?: {
|
|
715
|
-
status: "PAYMENT_VALIDATED" | "
|
|
703
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
716
704
|
id: string;
|
|
717
705
|
date: Date;
|
|
718
706
|
price: number;
|
|
@@ -753,7 +741,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
753
741
|
photos?: string[] | null | undefined;
|
|
754
742
|
isHidden?: boolean | null | undefined;
|
|
755
743
|
offer?: {
|
|
756
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
744
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
757
745
|
id: string;
|
|
758
746
|
price: number;
|
|
759
747
|
originalPrice: number;
|
|
@@ -827,13 +815,11 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
827
815
|
manufacturerLabelling?: string | null | undefined;
|
|
828
816
|
labels?: string[] | null | undefined;
|
|
829
817
|
};
|
|
830
|
-
data?: string | null | undefined;
|
|
831
818
|
createdAt?: Date | null | undefined;
|
|
832
|
-
sold?: boolean | null | undefined;
|
|
833
819
|
platformUrl?: string | null | undefined;
|
|
834
820
|
}[] | null | undefined;
|
|
835
821
|
orders?: {
|
|
836
|
-
status: "PAYMENT_VALIDATED" | "
|
|
822
|
+
status: "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
837
823
|
id: string;
|
|
838
824
|
date: Date;
|
|
839
825
|
price: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ConversationOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"ConversationOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ConversationOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpD,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA"}
|
|
@@ -46,9 +46,9 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
46
46
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
price: z.ZodNumber;
|
|
48
48
|
originalPrice: z.ZodNumber;
|
|
49
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
49
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
51
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
52
52
|
id: string;
|
|
53
53
|
price: number;
|
|
54
54
|
messageId: string;
|
|
@@ -56,7 +56,7 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
56
56
|
transactionId?: string | null | undefined;
|
|
57
57
|
platformOfferId?: string | null | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
59
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
60
60
|
id: string;
|
|
61
61
|
price: number;
|
|
62
62
|
messageId: string;
|
|
@@ -125,13 +125,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
125
125
|
}>, "many">>>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
127
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
128
|
-
status: "
|
|
128
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
129
129
|
id: string;
|
|
130
130
|
createdAt: Date;
|
|
131
131
|
conversationId: string;
|
|
132
132
|
body?: string | null | undefined;
|
|
133
133
|
offer?: {
|
|
134
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
134
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
135
135
|
id: string;
|
|
136
136
|
price: number;
|
|
137
137
|
messageId: string;
|
|
@@ -161,13 +161,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
161
161
|
} | null | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
164
|
-
status: "
|
|
164
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
165
165
|
id: string;
|
|
166
166
|
createdAt: Date;
|
|
167
167
|
conversationId: string;
|
|
168
168
|
body?: string | null | undefined;
|
|
169
169
|
offer?: {
|
|
170
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
170
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
171
171
|
id: string;
|
|
172
172
|
price: number;
|
|
173
173
|
messageId: string;
|
|
@@ -289,13 +289,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
289
289
|
}[] | null | undefined;
|
|
290
290
|
lastMessage?: {
|
|
291
291
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
292
|
-
status: "
|
|
292
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
293
293
|
id: string;
|
|
294
294
|
createdAt: Date;
|
|
295
295
|
conversationId: string;
|
|
296
296
|
body?: string | null | undefined;
|
|
297
297
|
offer?: {
|
|
298
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
298
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
299
299
|
id: string;
|
|
300
300
|
price: number;
|
|
301
301
|
messageId: string;
|
|
@@ -356,13 +356,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
356
356
|
}[] | null | undefined;
|
|
357
357
|
lastMessage?: {
|
|
358
358
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
359
|
-
status: "
|
|
359
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
360
360
|
id: string;
|
|
361
361
|
createdAt: Date;
|
|
362
362
|
conversationId: string;
|
|
363
363
|
body?: string | null | undefined;
|
|
364
364
|
offer?: {
|
|
365
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
365
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
366
366
|
id: string;
|
|
367
367
|
price: number;
|
|
368
368
|
messageId: string;
|
|
@@ -428,13 +428,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
428
428
|
}[] | null | undefined;
|
|
429
429
|
lastMessage?: {
|
|
430
430
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
431
|
-
status: "
|
|
431
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
432
432
|
id: string;
|
|
433
433
|
createdAt: Date;
|
|
434
434
|
conversationId: string;
|
|
435
435
|
body?: string | null | undefined;
|
|
436
436
|
offer?: {
|
|
437
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
437
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
438
438
|
id: string;
|
|
439
439
|
price: number;
|
|
440
440
|
messageId: string;
|
|
@@ -501,13 +501,13 @@ export declare const UserConversationsSchema: z.ZodObject<{
|
|
|
501
501
|
}[] | null | undefined;
|
|
502
502
|
lastMessage?: {
|
|
503
503
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
504
|
-
status: "
|
|
504
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
505
505
|
id: string;
|
|
506
506
|
createdAt: Date;
|
|
507
507
|
conversationId: string;
|
|
508
508
|
body?: string | null | undefined;
|
|
509
509
|
offer?: {
|
|
510
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
510
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
511
511
|
id: string;
|
|
512
512
|
price: number;
|
|
513
513
|
messageId: string;
|
package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
16
16
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
price: z.ZodNumber;
|
|
18
18
|
originalPrice: z.ZodNumber;
|
|
19
|
-
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "
|
|
19
|
+
status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
21
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
22
22
|
id: string;
|
|
23
23
|
price: number;
|
|
24
24
|
messageId: string;
|
|
@@ -26,7 +26,7 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
26
26
|
transactionId?: string | null | undefined;
|
|
27
27
|
platformOfferId?: string | null | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
29
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
30
30
|
id: string;
|
|
31
31
|
price: number;
|
|
32
32
|
messageId: string;
|
|
@@ -95,13 +95,13 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
95
95
|
}>, "many">>>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
98
|
-
status: "
|
|
98
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
99
99
|
id: string;
|
|
100
100
|
createdAt: Date;
|
|
101
101
|
conversationId: string;
|
|
102
102
|
body?: string | null | undefined;
|
|
103
103
|
offer?: {
|
|
104
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
104
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
105
105
|
id: string;
|
|
106
106
|
price: number;
|
|
107
107
|
messageId: string;
|
|
@@ -131,13 +131,13 @@ export declare const ConversationMessageSchema: z.ZodObject<{
|
|
|
131
131
|
} | null | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
134
|
-
status: "
|
|
134
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
135
135
|
id: string;
|
|
136
136
|
createdAt: Date;
|
|
137
137
|
conversationId: string;
|
|
138
138
|
body?: string | null | undefined;
|
|
139
139
|
offer?: {
|
|
140
|
-
status: "PENDING" | "ACCEPTED" | "REJECTED" | "
|
|
140
|
+
status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
|
|
141
141
|
id: string;
|
|
142
142
|
price: number;
|
|
143
143
|
messageId: string;
|
|
@@ -9,7 +9,7 @@ export declare const CreateConversationMessagePayloadSchema: z.ZodObject<{
|
|
|
9
9
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
12
|
-
status: "
|
|
12
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
13
13
|
createdAt?: Date | null | undefined;
|
|
14
14
|
body?: string | null | undefined;
|
|
15
15
|
conversationUserId?: string | null | undefined;
|
|
@@ -17,7 +17,7 @@ export declare const CreateConversationMessagePayloadSchema: z.ZodObject<{
|
|
|
17
17
|
associatedPreferenceType?: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE" | null | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
|
|
20
|
-
status: "
|
|
20
|
+
status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
|
|
21
21
|
createdAt?: Date | null | undefined;
|
|
22
22
|
body?: string | null | undefined;
|
|
23
23
|
conversationUserId?: string | null | undefined;
|