controlresell 2.4.5 → 2.4.8

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.
Files changed (32) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
  3. package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
  5. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
  6. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -0
  7. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts.map +1 -1
  8. package/src/com/controlresell/models/items/ItemFiltersContext.js +2 -1
  9. package/src/com/controlresell/models/items/ItemFiltersContext.js.map +1 -1
  10. package/src/com/controlresell/models/items/ItemFiltersContext.ts +2 -1
  11. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +6 -16
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
  13. package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +11 -11
  14. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +24 -38
  15. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
  16. package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +15 -15
  17. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +7 -7
  18. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +2 -2
  19. package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +11 -11
  20. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +2 -2
  21. package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +3 -3
  22. package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +3 -3
  23. package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +3 -3
  24. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +15 -15
  25. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +30 -48
  26. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
  27. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
  28. package/src/com/controlresell/models/platforms/orders/Order.d.ts +3 -3
  29. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  30. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
  31. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +5 -5
  32. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +30 -30
@@ -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", "CANCELLED"]>;
20
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
21
21
  }, "strip", z.ZodTypeAny, {
22
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
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" | "CANCELLED";
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" | "CANCELLED";
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" | "CANCELLED";
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>>;
@@ -189,6 +188,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
189
188
  colors?: string[] | null | undefined;
190
189
  description?: string | null | undefined;
191
190
  price?: number | null | undefined;
191
+ isDraft?: boolean | null | undefined;
192
192
  brand?: string | null | undefined;
193
193
  catalog?: string | null | undefined;
194
194
  catalogId?: number | null | undefined;
@@ -200,7 +200,6 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
200
200
  size?: string | null | undefined;
201
201
  sizeId?: number | null | undefined;
202
202
  statusId?: number | null | undefined;
203
- isDraft?: boolean | null | undefined;
204
203
  isArchived?: boolean | null | undefined;
205
204
  availableQuantity?: number | null | undefined;
206
205
  material?: number[] | null | undefined;
@@ -212,6 +211,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
212
211
  colors?: string[] | null | undefined;
213
212
  description?: string | null | undefined;
214
213
  price?: number | null | undefined;
214
+ isDraft?: boolean | null | undefined;
215
215
  brand?: string | null | undefined;
216
216
  catalog?: string | null | undefined;
217
217
  catalogId?: number | null | undefined;
@@ -223,14 +223,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
223
223
  size?: string | null | undefined;
224
224
  sizeId?: number | null | undefined;
225
225
  statusId?: number | null | undefined;
226
- isDraft?: boolean | null | undefined;
227
226
  isArchived?: boolean | null | undefined;
228
227
  availableQuantity?: number | null | undefined;
229
228
  material?: number[] | null | undefined;
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: {
@@ -239,6 +237,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
239
237
  colors?: string[] | null | undefined;
240
238
  description?: string | null | undefined;
241
239
  price?: number | null | undefined;
240
+ isDraft?: boolean | null | undefined;
242
241
  brand?: string | null | undefined;
243
242
  catalog?: string | null | undefined;
244
243
  catalogId?: number | null | undefined;
@@ -250,16 +249,13 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
250
249
  size?: string | null | undefined;
251
250
  sizeId?: number | null | undefined;
252
251
  statusId?: number | null | undefined;
253
- isDraft?: boolean | null | undefined;
254
252
  isArchived?: boolean | null | undefined;
255
253
  availableQuantity?: number | null | undefined;
256
254
  material?: number[] | null | undefined;
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;
@@ -269,6 +265,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
269
265
  colors?: string[] | null | undefined;
270
266
  description?: string | null | undefined;
271
267
  price?: number | null | undefined;
268
+ isDraft?: boolean | null | undefined;
272
269
  brand?: string | null | undefined;
273
270
  catalog?: string | null | undefined;
274
271
  catalogId?: number | null | undefined;
@@ -280,16 +277,13 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
280
277
  size?: string | null | undefined;
281
278
  sizeId?: number | null | undefined;
282
279
  statusId?: number | null | undefined;
283
- isDraft?: boolean | null | undefined;
284
280
  isArchived?: boolean | null | undefined;
285
281
  availableQuantity?: number | null | undefined;
286
282
  material?: number[] | null | undefined;
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", "ORDER_CANCELLED", "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_CANCELLED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "UNKNOWN"]>;
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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" | "CANCELLED";
375
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
382
376
  id: string;
383
377
  price: number;
384
378
  originalPrice: number;
@@ -434,6 +428,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
434
428
  colors?: string[] | null | undefined;
435
429
  description?: string | null | undefined;
436
430
  price?: number | null | undefined;
431
+ isDraft?: boolean | null | undefined;
437
432
  brand?: string | null | undefined;
438
433
  catalog?: string | null | undefined;
439
434
  catalogId?: number | null | undefined;
@@ -445,20 +440,17 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
445
440
  size?: string | null | undefined;
446
441
  sizeId?: number | null | undefined;
447
442
  statusId?: number | null | undefined;
448
- isDraft?: boolean | null | undefined;
449
443
  isArchived?: boolean | null | undefined;
450
444
  availableQuantity?: number | null | undefined;
451
445
  material?: number[] | null | undefined;
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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" | "CANCELLED";
484
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
493
485
  id: string;
494
486
  price: number;
495
487
  originalPrice: number;
@@ -545,6 +537,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
545
537
  colors?: string[] | null | undefined;
546
538
  description?: string | null | undefined;
547
539
  price?: number | null | undefined;
540
+ isDraft?: boolean | null | undefined;
548
541
  brand?: string | null | undefined;
549
542
  catalog?: string | null | undefined;
550
543
  catalogId?: number | null | undefined;
@@ -556,20 +549,17 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
556
549
  size?: string | null | undefined;
557
550
  sizeId?: number | null | undefined;
558
551
  statusId?: number | null | undefined;
559
- isDraft?: boolean | null | undefined;
560
552
  isArchived?: boolean | null | undefined;
561
553
  availableQuantity?: number | null | undefined;
562
554
  material?: number[] | null | undefined;
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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" | "CANCELLED";
625
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
636
626
  id: string;
637
627
  price: number;
638
628
  originalPrice: number;
@@ -688,6 +678,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
688
678
  colors?: string[] | null | undefined;
689
679
  description?: string | null | undefined;
690
680
  price?: number | null | undefined;
681
+ isDraft?: boolean | null | undefined;
691
682
  brand?: string | null | undefined;
692
683
  catalog?: string | null | undefined;
693
684
  catalogId?: number | null | undefined;
@@ -699,20 +690,17 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
699
690
  size?: string | null | undefined;
700
691
  sizeId?: number | null | undefined;
701
692
  statusId?: number | null | undefined;
702
- isDraft?: boolean | null | undefined;
703
693
  isArchived?: boolean | null | undefined;
704
694
  availableQuantity?: number | null | undefined;
705
695
  material?: number[] | null | undefined;
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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" | "CANCELLED";
744
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
757
745
  id: string;
758
746
  price: number;
759
747
  originalPrice: number;
@@ -809,6 +797,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
809
797
  colors?: string[] | null | undefined;
810
798
  description?: string | null | undefined;
811
799
  price?: number | null | undefined;
800
+ isDraft?: boolean | null | undefined;
812
801
  brand?: string | null | undefined;
813
802
  catalog?: string | null | undefined;
814
803
  catalogId?: number | null | undefined;
@@ -820,20 +809,17 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
820
809
  size?: string | null | undefined;
821
810
  sizeId?: number | null | undefined;
822
811
  statusId?: number | null | undefined;
823
- isDraft?: boolean | null | undefined;
824
812
  isArchived?: boolean | null | undefined;
825
813
  availableQuantity?: number | null | undefined;
826
814
  material?: number[] | null | undefined;
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" | "ORDER_CANCELLED" | "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_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpD,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA"}
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", "CANCELLED"]>;
49
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
510
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
511
511
  id: string;
512
512
  price: number;
513
513
  messageId: string;
@@ -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", "CANCELLED"]>;
19
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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" | "CANCELLED";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
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;
@@ -18,9 +18,9 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
18
18
  transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  price: z.ZodNumber;
20
20
  originalPrice: z.ZodNumber;
21
- status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED"]>;
21
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
22
22
  }, "strip", z.ZodTypeAny, {
23
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
23
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
24
24
  id: string;
25
25
  price: number;
26
26
  messageId: string;
@@ -28,7 +28,7 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
28
28
  transactionId?: string | null | undefined;
29
29
  platformOfferId?: string | null | undefined;
30
30
  }, {
31
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
31
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
32
32
  id: string;
33
33
  price: number;
34
34
  messageId: string;
@@ -97,13 +97,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
97
97
  }>, "many">>>;
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
100
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
100
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
101
101
  id: string;
102
102
  createdAt: Date;
103
103
  conversationId: string;
104
104
  body?: string | null | undefined;
105
105
  offer?: {
106
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
106
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
107
107
  id: string;
108
108
  price: number;
109
109
  messageId: string;
@@ -133,13 +133,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
133
133
  } | null | undefined;
134
134
  }, {
135
135
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
136
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
136
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
137
137
  id: string;
138
138
  createdAt: Date;
139
139
  conversationId: string;
140
140
  body?: string | null | undefined;
141
141
  offer?: {
142
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
142
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
143
143
  id: string;
144
144
  price: number;
145
145
  messageId: string;
@@ -174,13 +174,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
174
174
  count: number;
175
175
  rows: {
176
176
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
177
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
177
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
178
178
  id: string;
179
179
  createdAt: Date;
180
180
  conversationId: string;
181
181
  body?: string | null | undefined;
182
182
  offer?: {
183
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
183
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
184
184
  id: string;
185
185
  price: number;
186
186
  messageId: string;
@@ -215,13 +215,13 @@ export declare const PaginatedConversationMessagesSchema: z.ZodObject<{
215
215
  count: number;
216
216
  rows: {
217
217
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
218
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
218
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
219
219
  id: string;
220
220
  createdAt: Date;
221
221
  conversationId: string;
222
222
  body?: string | null | undefined;
223
223
  offer?: {
224
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
224
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
225
225
  id: string;
226
226
  price: number;
227
227
  messageId: string;
@@ -5,12 +5,12 @@ export declare const UpdateConversationMessagePayloadSchema: z.ZodObject<{
5
5
  associatedPreferenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEGOTIATION", "REPUBLISH", "VISION", "TITLE", "DESCRIPTION", "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"]>>>;
6
6
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- status?: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT" | null | undefined;
8
+ status?: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | null | undefined;
9
9
  body?: string | null | undefined;
10
10
  platformMessageId?: string | null | undefined;
11
11
  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;
12
12
  }, {
13
- status?: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT" | null | undefined;
13
+ status?: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT" | null | undefined;
14
14
  body?: string | null | undefined;
15
15
  platformMessageId?: string | null | undefined;
16
16
  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;
@@ -6,9 +6,9 @@ export declare const ConversationMessageOfferSchema: z.ZodObject<{
6
6
  transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  price: z.ZodNumber;
8
8
  originalPrice: z.ZodNumber;
9
- status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED"]>;
9
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
11
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
12
12
  id: string;
13
13
  price: number;
14
14
  messageId: string;
@@ -16,7 +16,7 @@ export declare const ConversationMessageOfferSchema: z.ZodObject<{
16
16
  transactionId?: string | null | undefined;
17
17
  platformOfferId?: string | null | undefined;
18
18
  }, {
19
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
19
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
20
20
  id: string;
21
21
  price: number;
22
22
  messageId: string;