controlresell 2.22.1 → 2.22.2

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 (82) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
  3. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +19 -12
  4. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
  5. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +4 -4
  6. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +17 -8
  7. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  8. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +13 -6
  9. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  10. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +4 -4
  11. package/src/com/controlresell/models/conversations/Conversation.d.ts +29 -24
  12. package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
  13. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +96 -0
  14. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
  15. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +43 -36
  16. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
  17. package/src/com/controlresell/models/conversations/UserConversations.d.ts +43 -36
  18. package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
  19. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -0
  20. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
  21. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -0
  22. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
  23. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -0
  24. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
  25. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +12 -12
  26. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  27. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
  28. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -0
  29. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts.map +1 -1
  30. package/src/com/controlresell/models/invoices/Invoice.d.ts +2 -2
  31. package/src/com/controlresell/models/items/CreatedItems.d.ts +26 -8
  32. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  33. package/src/com/controlresell/models/items/Item.d.ts +7 -0
  34. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  35. package/src/com/controlresell/models/items/ItemUpdate.d.ts +17 -8
  36. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  37. package/src/com/controlresell/models/items/UpdatedItem.d.ts +26 -8
  38. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  39. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -0
  40. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
  41. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
  42. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
  43. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +9 -0
  44. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
  45. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +30 -0
  46. package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts.map +1 -1
  47. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +30 -0
  48. package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts.map +1 -1
  49. package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +4 -4
  50. package/src/com/controlresell/models/platforms/orders/Order.d.ts +25 -16
  51. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  52. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +35 -0
  53. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
  54. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +2 -2
  55. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +78 -54
  56. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  57. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -0
  58. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  59. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +58 -38
  60. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  61. package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -0
  62. package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
  63. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -0
  64. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
  65. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +28 -8
  66. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  67. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
  68. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
  69. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
  70. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
  71. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
  72. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -1
  73. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +2 -1
  74. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
  75. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +2 -1
  76. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -0
  77. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
  78. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +2 -1
  79. package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
  80. package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +2 -1
  81. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +120 -88
  82. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
@@ -355,6 +355,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
355
355
  issueDate: Date;
356
356
  subtotal: number;
357
357
  fileId?: string | null | undefined;
358
+ vatAmount?: number | null | undefined;
358
359
  file?: {
359
360
  path: string;
360
361
  id: string;
@@ -363,7 +364,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
363
364
  signedUrl: string;
364
365
  status?: "PENDING" | "CONFIRMED" | null | undefined;
365
366
  } | null | undefined;
366
- vatAmount?: number | null | undefined;
367
367
  vatRate?: number | null | undefined;
368
368
  businessProfile?: {
369
369
  id: string;
@@ -434,6 +434,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
434
434
  issueDate: Date;
435
435
  subtotal: number;
436
436
  fileId?: string | null | undefined;
437
+ vatAmount?: number | null | undefined;
437
438
  file?: {
438
439
  path: string;
439
440
  id: string;
@@ -442,7 +443,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
442
443
  signedUrl: string;
443
444
  status?: "PENDING" | "CONFIRMED" | null | undefined;
444
445
  } | null | undefined;
445
- vatAmount?: number | null | undefined;
446
446
  vatRate?: number | null | undefined;
447
447
  businessProfile?: {
448
448
  id: string;
@@ -548,6 +548,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
548
548
  issueDate: Date;
549
549
  subtotal: number;
550
550
  fileId?: string | null | undefined;
551
+ vatAmount?: number | null | undefined;
551
552
  file?: {
552
553
  path: string;
553
554
  id: string;
@@ -556,7 +557,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
556
557
  signedUrl: string;
557
558
  status?: "PENDING" | "CONFIRMED" | null | undefined;
558
559
  } | null | undefined;
559
- vatAmount?: number | null | undefined;
560
560
  vatRate?: number | null | undefined;
561
561
  businessProfile?: {
562
562
  id: string;
@@ -662,6 +662,7 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
662
662
  issueDate: Date;
663
663
  subtotal: number;
664
664
  fileId?: string | null | undefined;
665
+ vatAmount?: number | null | undefined;
665
666
  file?: {
666
667
  path: string;
667
668
  id: string;
@@ -670,7 +671,6 @@ export declare const ListedItemOrderSchema: z.ZodObject<{
670
671
  signedUrl: string;
671
672
  status?: "PENDING" | "CONFIRMED" | null | undefined;
672
673
  } | null | undefined;
673
- vatAmount?: number | null | undefined;
674
674
  vatRate?: number | null | undefined;
675
675
  businessProfile?: {
676
676
  id: string;
@@ -52,6 +52,7 @@ export declare const ConversationSchema: z.ZodObject<{
52
52
  status?: "PENDING" | "CONFIRMED" | null | undefined;
53
53
  }>>>;
54
54
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
55
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
55
56
  }, "strip", z.ZodTypeAny, {
56
57
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
57
58
  name: string;
@@ -79,6 +80,7 @@ export declare const ConversationSchema: z.ZodObject<{
79
80
  signedUrl: string;
80
81
  status?: "PENDING" | "CONFIRMED" | null | undefined;
81
82
  } | null | undefined;
83
+ cooldownEndsAt?: Date | null | undefined;
82
84
  }, {
83
85
  name: string;
84
86
  userId: number;
@@ -106,6 +108,7 @@ export declare const ConversationSchema: z.ZodObject<{
106
108
  signedUrl: string;
107
109
  status?: "PENDING" | "CONFIRMED" | null | undefined;
108
110
  } | null | undefined;
111
+ cooldownEndsAt?: Date | null | undefined;
109
112
  }>>>;
110
113
  lastMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
111
114
  id: z.ZodString;
@@ -370,6 +373,12 @@ export declare const ConversationSchema: z.ZodObject<{
370
373
  reviewCount?: number | null | undefined;
371
374
  reviewValue?: number | null | undefined;
372
375
  location?: string | null | undefined;
376
+ billingName?: string | null | undefined;
377
+ billingAddressLine1?: string | null | undefined;
378
+ billingAddressLine2?: string | null | undefined;
379
+ billingPostalCode?: string | null | undefined;
380
+ billingCity?: string | null | undefined;
381
+ billingCountryCode?: string | null | undefined;
373
382
  photoFileId?: string | null | undefined;
374
383
  photoFile?: {
375
384
  path: string;
@@ -379,12 +388,6 @@ export declare const ConversationSchema: z.ZodObject<{
379
388
  signedUrl: string;
380
389
  status?: "PENDING" | "CONFIRMED" | null | undefined;
381
390
  } | null | undefined;
382
- billingName?: string | null | undefined;
383
- billingAddressLine1?: string | null | undefined;
384
- billingAddressLine2?: string | null | undefined;
385
- billingPostalCode?: string | null | undefined;
386
- billingCity?: string | null | undefined;
387
- billingCountryCode?: string | null | undefined;
388
391
  }, {
389
392
  id: string;
390
393
  conversationId: string;
@@ -394,6 +397,12 @@ export declare const ConversationSchema: z.ZodObject<{
394
397
  reviewCount?: number | null | undefined;
395
398
  reviewValue?: number | null | undefined;
396
399
  location?: string | null | undefined;
400
+ billingName?: string | null | undefined;
401
+ billingAddressLine1?: string | null | undefined;
402
+ billingAddressLine2?: string | null | undefined;
403
+ billingPostalCode?: string | null | undefined;
404
+ billingCity?: string | null | undefined;
405
+ billingCountryCode?: string | null | undefined;
397
406
  photoFileId?: string | null | undefined;
398
407
  photoFile?: {
399
408
  path: string;
@@ -403,12 +412,6 @@ export declare const ConversationSchema: z.ZodObject<{
403
412
  signedUrl: string;
404
413
  status?: "PENDING" | "CONFIRMED" | null | undefined;
405
414
  } | null | undefined;
406
- billingName?: string | null | undefined;
407
- billingAddressLine1?: string | null | undefined;
408
- billingAddressLine2?: string | null | undefined;
409
- billingPostalCode?: string | null | undefined;
410
- billingCity?: string | null | undefined;
411
- billingCountryCode?: string | null | undefined;
412
415
  }>, "many">>>;
413
416
  lastRead: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
414
417
  isPinned: z.ZodBoolean;
@@ -428,6 +431,12 @@ export declare const ConversationSchema: z.ZodObject<{
428
431
  reviewCount?: number | null | undefined;
429
432
  reviewValue?: number | null | undefined;
430
433
  location?: string | null | undefined;
434
+ billingName?: string | null | undefined;
435
+ billingAddressLine1?: string | null | undefined;
436
+ billingAddressLine2?: string | null | undefined;
437
+ billingPostalCode?: string | null | undefined;
438
+ billingCity?: string | null | undefined;
439
+ billingCountryCode?: string | null | undefined;
431
440
  photoFileId?: string | null | undefined;
432
441
  photoFile?: {
433
442
  path: string;
@@ -437,12 +446,6 @@ export declare const ConversationSchema: z.ZodObject<{
437
446
  signedUrl: string;
438
447
  status?: "PENDING" | "CONFIRMED" | null | undefined;
439
448
  } | null | undefined;
440
- billingName?: string | null | undefined;
441
- billingAddressLine1?: string | null | undefined;
442
- billingAddressLine2?: string | null | undefined;
443
- billingPostalCode?: string | null | undefined;
444
- billingCity?: string | null | undefined;
445
- billingCountryCode?: string | null | undefined;
446
449
  }[] | null | undefined;
447
450
  account?: {
448
451
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
@@ -471,6 +474,7 @@ export declare const ConversationSchema: z.ZodObject<{
471
474
  signedUrl: string;
472
475
  status?: "PENDING" | "CONFIRMED" | null | undefined;
473
476
  } | null | undefined;
477
+ cooldownEndsAt?: Date | null | undefined;
474
478
  } | null | undefined;
475
479
  lastRead?: Date | null | undefined;
476
480
  lastMessage?: {
@@ -537,6 +541,12 @@ export declare const ConversationSchema: z.ZodObject<{
537
541
  reviewCount?: number | null | undefined;
538
542
  reviewValue?: number | null | undefined;
539
543
  location?: string | null | undefined;
544
+ billingName?: string | null | undefined;
545
+ billingAddressLine1?: string | null | undefined;
546
+ billingAddressLine2?: string | null | undefined;
547
+ billingPostalCode?: string | null | undefined;
548
+ billingCity?: string | null | undefined;
549
+ billingCountryCode?: string | null | undefined;
540
550
  photoFileId?: string | null | undefined;
541
551
  photoFile?: {
542
552
  path: string;
@@ -546,12 +556,6 @@ export declare const ConversationSchema: z.ZodObject<{
546
556
  signedUrl: string;
547
557
  status?: "PENDING" | "CONFIRMED" | null | undefined;
548
558
  } | null | undefined;
549
- billingName?: string | null | undefined;
550
- billingAddressLine1?: string | null | undefined;
551
- billingAddressLine2?: string | null | undefined;
552
- billingPostalCode?: string | null | undefined;
553
- billingCity?: string | null | undefined;
554
- billingCountryCode?: string | null | undefined;
555
559
  }[] | null | undefined;
556
560
  account?: {
557
561
  name: string;
@@ -580,6 +584,7 @@ export declare const ConversationSchema: z.ZodObject<{
580
584
  signedUrl: string;
581
585
  status?: "PENDING" | "CONFIRMED" | null | undefined;
582
586
  } | null | undefined;
587
+ cooldownEndsAt?: Date | null | undefined;
583
588
  } | null | undefined;
584
589
  lastRead?: Date | null | undefined;
585
590
  lastMessage?: {
@@ -1 +1 @@
1
- {"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["Conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -74,9 +74,17 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
74
74
  isModerator: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
75
75
  photo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
76
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ billingName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ billingAddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ billingAddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ billingPostalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ billingCity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ billingCountryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
84
  }, "strip", z.ZodTypeAny, {
78
85
  id: string;
79
86
  login: string;
87
+ email?: string | null | undefined;
80
88
  lastLoggedInAt?: Date | null | undefined;
81
89
  isSystem?: boolean | null | undefined;
82
90
  reviewCount?: number | null | undefined;
@@ -85,9 +93,16 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
85
93
  isModerator?: boolean | null | undefined;
86
94
  photo?: string | null | undefined;
87
95
  location?: string | null | undefined;
96
+ billingName?: string | null | undefined;
97
+ billingAddressLine1?: string | null | undefined;
98
+ billingAddressLine2?: string | null | undefined;
99
+ billingPostalCode?: string | null | undefined;
100
+ billingCity?: string | null | undefined;
101
+ billingCountryCode?: string | null | undefined;
88
102
  }, {
89
103
  id: string;
90
104
  login: string;
105
+ email?: string | null | undefined;
91
106
  lastLoggedInAt?: Date | null | undefined;
92
107
  isSystem?: boolean | null | undefined;
93
108
  reviewCount?: number | null | undefined;
@@ -96,6 +111,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
96
111
  isModerator?: boolean | null | undefined;
97
112
  photo?: string | null | undefined;
98
113
  location?: string | null | undefined;
114
+ billingName?: string | null | undefined;
115
+ billingAddressLine1?: string | null | undefined;
116
+ billingAddressLine2?: string | null | undefined;
117
+ billingPostalCode?: string | null | undefined;
118
+ billingCity?: string | null | undefined;
119
+ billingCountryCode?: string | null | undefined;
99
120
  }>, "many">>>;
100
121
  transactions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
101
122
  id: z.ZodString;
@@ -410,6 +431,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
410
431
  currencyCode: z.ZodString;
411
432
  status: z.ZodCatch<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_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>;
412
433
  date: z.ZodDate;
434
+ platformFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
435
+ shippingFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
436
+ shippingVat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
438
+ totalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
+ refundAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
440
  }, "strip", z.ZodTypeAny, {
414
441
  type: "SALE" | "PURCHASE";
415
442
  status: "UNKNOWN" | "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_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED";
@@ -419,6 +446,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
419
446
  currencyCode: string;
420
447
  conversationId?: string | null | undefined;
421
448
  transactionId?: string | null | undefined;
449
+ platformFee?: number | null | undefined;
450
+ shippingFee?: number | null | undefined;
451
+ shippingVat?: number | null | undefined;
452
+ vatAmount?: number | null | undefined;
453
+ totalAmount?: number | null | undefined;
454
+ refundAmount?: number | null | undefined;
422
455
  }, {
423
456
  type: "SALE" | "PURCHASE";
424
457
  date: Date;
@@ -428,6 +461,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
428
461
  status?: unknown;
429
462
  conversationId?: string | null | undefined;
430
463
  transactionId?: string | null | undefined;
464
+ platformFee?: number | null | undefined;
465
+ shippingFee?: number | null | undefined;
466
+ shippingVat?: number | null | undefined;
467
+ vatAmount?: number | null | undefined;
468
+ totalAmount?: number | null | undefined;
469
+ refundAmount?: number | null | undefined;
431
470
  }>, "many">>>;
432
471
  labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
433
472
  orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -559,6 +598,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
559
598
  users?: {
560
599
  id: string;
561
600
  login: string;
601
+ email?: string | null | undefined;
562
602
  lastLoggedInAt?: Date | null | undefined;
563
603
  isSystem?: boolean | null | undefined;
564
604
  reviewCount?: number | null | undefined;
@@ -567,6 +607,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
567
607
  isModerator?: boolean | null | undefined;
568
608
  photo?: string | null | undefined;
569
609
  location?: string | null | undefined;
610
+ billingName?: string | null | undefined;
611
+ billingAddressLine1?: string | null | undefined;
612
+ billingAddressLine2?: string | null | undefined;
613
+ billingPostalCode?: string | null | undefined;
614
+ billingCity?: string | null | undefined;
615
+ billingCountryCode?: string | null | undefined;
570
616
  }[] | null | undefined;
571
617
  transactions?: {
572
618
  id: string;
@@ -597,6 +643,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
597
643
  currencyCode: string;
598
644
  conversationId?: string | null | undefined;
599
645
  transactionId?: string | null | undefined;
646
+ platformFee?: number | null | undefined;
647
+ shippingFee?: number | null | undefined;
648
+ shippingVat?: number | null | undefined;
649
+ vatAmount?: number | null | undefined;
650
+ totalAmount?: number | null | undefined;
651
+ refundAmount?: number | null | undefined;
600
652
  }[] | null | undefined;
601
653
  pickupPoints?: {
602
654
  code: string;
@@ -690,6 +742,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
690
742
  users?: {
691
743
  id: string;
692
744
  login: string;
745
+ email?: string | null | undefined;
693
746
  lastLoggedInAt?: Date | null | undefined;
694
747
  isSystem?: boolean | null | undefined;
695
748
  reviewCount?: number | null | undefined;
@@ -698,6 +751,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
698
751
  isModerator?: boolean | null | undefined;
699
752
  photo?: string | null | undefined;
700
753
  location?: string | null | undefined;
754
+ billingName?: string | null | undefined;
755
+ billingAddressLine1?: string | null | undefined;
756
+ billingAddressLine2?: string | null | undefined;
757
+ billingPostalCode?: string | null | undefined;
758
+ billingCity?: string | null | undefined;
759
+ billingCountryCode?: string | null | undefined;
701
760
  }[] | null | undefined;
702
761
  transactions?: {
703
762
  id: string;
@@ -728,6 +787,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
728
787
  status?: unknown;
729
788
  conversationId?: string | null | undefined;
730
789
  transactionId?: string | null | undefined;
790
+ platformFee?: number | null | undefined;
791
+ shippingFee?: number | null | undefined;
792
+ shippingVat?: number | null | undefined;
793
+ vatAmount?: number | null | undefined;
794
+ totalAmount?: number | null | undefined;
795
+ refundAmount?: number | null | undefined;
731
796
  }[] | null | undefined;
732
797
  pickupPoints?: {
733
798
  code: string;
@@ -789,6 +854,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
789
854
  status?: "PENDING" | "CONFIRMED" | null | undefined;
790
855
  }>>>;
791
856
  lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
857
+ cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
792
858
  }, "strip", z.ZodTypeAny, {
793
859
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
794
860
  name: string;
@@ -816,6 +882,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
816
882
  signedUrl: string;
817
883
  status?: "PENDING" | "CONFIRMED" | null | undefined;
818
884
  } | null | undefined;
885
+ cooldownEndsAt?: Date | null | undefined;
819
886
  }, {
820
887
  name: string;
821
888
  userId: number;
@@ -843,6 +910,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
843
910
  signedUrl: string;
844
911
  status?: "PENDING" | "CONFIRMED" | null | undefined;
845
912
  } | null | undefined;
913
+ cooldownEndsAt?: Date | null | undefined;
846
914
  }>;
847
915
  }, "strip", z.ZodTypeAny, {
848
916
  conversation: {
@@ -925,6 +993,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
925
993
  users?: {
926
994
  id: string;
927
995
  login: string;
996
+ email?: string | null | undefined;
928
997
  lastLoggedInAt?: Date | null | undefined;
929
998
  isSystem?: boolean | null | undefined;
930
999
  reviewCount?: number | null | undefined;
@@ -933,6 +1002,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
933
1002
  isModerator?: boolean | null | undefined;
934
1003
  photo?: string | null | undefined;
935
1004
  location?: string | null | undefined;
1005
+ billingName?: string | null | undefined;
1006
+ billingAddressLine1?: string | null | undefined;
1007
+ billingAddressLine2?: string | null | undefined;
1008
+ billingPostalCode?: string | null | undefined;
1009
+ billingCity?: string | null | undefined;
1010
+ billingCountryCode?: string | null | undefined;
936
1011
  }[] | null | undefined;
937
1012
  transactions?: {
938
1013
  id: string;
@@ -963,6 +1038,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
963
1038
  currencyCode: string;
964
1039
  conversationId?: string | null | undefined;
965
1040
  transactionId?: string | null | undefined;
1041
+ platformFee?: number | null | undefined;
1042
+ shippingFee?: number | null | undefined;
1043
+ shippingVat?: number | null | undefined;
1044
+ vatAmount?: number | null | undefined;
1045
+ totalAmount?: number | null | undefined;
1046
+ refundAmount?: number | null | undefined;
966
1047
  }[] | null | undefined;
967
1048
  pickupPoints?: {
968
1049
  code: string;
@@ -1004,6 +1085,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1004
1085
  signedUrl: string;
1005
1086
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1006
1087
  } | null | undefined;
1088
+ cooldownEndsAt?: Date | null | undefined;
1007
1089
  };
1008
1090
  }, {
1009
1091
  conversation: {
@@ -1086,6 +1168,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1086
1168
  users?: {
1087
1169
  id: string;
1088
1170
  login: string;
1171
+ email?: string | null | undefined;
1089
1172
  lastLoggedInAt?: Date | null | undefined;
1090
1173
  isSystem?: boolean | null | undefined;
1091
1174
  reviewCount?: number | null | undefined;
@@ -1094,6 +1177,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1094
1177
  isModerator?: boolean | null | undefined;
1095
1178
  photo?: string | null | undefined;
1096
1179
  location?: string | null | undefined;
1180
+ billingName?: string | null | undefined;
1181
+ billingAddressLine1?: string | null | undefined;
1182
+ billingAddressLine2?: string | null | undefined;
1183
+ billingPostalCode?: string | null | undefined;
1184
+ billingCity?: string | null | undefined;
1185
+ billingCountryCode?: string | null | undefined;
1097
1186
  }[] | null | undefined;
1098
1187
  transactions?: {
1099
1188
  id: string;
@@ -1124,6 +1213,12 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1124
1213
  status?: unknown;
1125
1214
  conversationId?: string | null | undefined;
1126
1215
  transactionId?: string | null | undefined;
1216
+ platformFee?: number | null | undefined;
1217
+ shippingFee?: number | null | undefined;
1218
+ shippingVat?: number | null | undefined;
1219
+ vatAmount?: number | null | undefined;
1220
+ totalAmount?: number | null | undefined;
1221
+ refundAmount?: number | null | undefined;
1127
1222
  }[] | null | undefined;
1128
1223
  pickupPoints?: {
1129
1224
  code: string;
@@ -1165,6 +1260,7 @@ export declare const ConversationOnPlatformUpdateRequestSchema: z.ZodObject<{
1165
1260
  signedUrl: string;
1166
1261
  status?: "PENDING" | "CONFIRMED" | null | undefined;
1167
1262
  } | null | undefined;
1263
+ cooldownEndsAt?: Date | null | undefined;
1168
1264
  };
1169
1265
  }>;
1170
1266
  export type ConversationOnPlatformUpdateRequest = z.infer<typeof ConversationOnPlatformUpdateRequestSchema>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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