controlresell 2.26.1 → 2.26.4

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 (306) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/requests/activity/ActivityDismissalRequest.d.ts +10 -0
  3. package/src/com/controlresell/api/requests/activity/ActivityDismissalRequest.d.ts.map +1 -0
  4. package/src/com/controlresell/api/requests/activity/ActivityDismissalRequest.js +5 -0
  5. package/src/com/controlresell/api/requests/activity/ActivityDismissalRequest.js.map +1 -0
  6. package/src/com/controlresell/api/requests/activity/ActivityDismissalRequest.ts +6 -0
  7. package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
  8. package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
  9. package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
  10. package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
  11. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
  12. package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
  13. package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
  14. package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
  15. package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
  16. package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
  17. package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
  18. package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
  19. package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
  20. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
  21. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
  22. package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
  23. package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
  24. package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
  25. package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +66 -0
  26. package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts.map +1 -0
  27. package/src/com/controlresell/api/responses/activation/ActivationResponse.js +9 -0
  28. package/src/com/controlresell/api/responses/activation/ActivationResponse.js.map +1 -0
  29. package/src/com/controlresell/api/responses/activation/ActivationResponse.ts +10 -0
  30. package/src/com/controlresell/api/responses/activation/ActivationStep.d.ts +19 -0
  31. package/src/com/controlresell/api/responses/activation/ActivationStep.d.ts.map +1 -0
  32. package/src/com/controlresell/api/responses/activation/ActivationStep.js +9 -0
  33. package/src/com/controlresell/api/responses/activation/ActivationStep.js.map +1 -0
  34. package/src/com/controlresell/api/responses/activation/ActivationStep.ts +10 -0
  35. package/src/com/controlresell/api/responses/activation/ActivationStepType.d.ts +4 -0
  36. package/src/com/controlresell/api/responses/activation/ActivationStepType.d.ts.map +1 -0
  37. package/src/com/controlresell/api/responses/activation/ActivationStepType.js +5 -0
  38. package/src/com/controlresell/api/responses/activation/ActivationStepType.js.map +1 -0
  39. package/src/com/controlresell/api/responses/activation/ActivationStepType.ts +6 -0
  40. package/src/com/controlresell/api/responses/activity/ActivityAutomation.d.ts +4 -0
  41. package/src/com/controlresell/api/responses/activity/ActivityAutomation.d.ts.map +1 -0
  42. package/src/com/controlresell/api/responses/activity/ActivityAutomation.js +5 -0
  43. package/src/com/controlresell/api/responses/activity/ActivityAutomation.js.map +1 -0
  44. package/src/com/controlresell/api/responses/activity/ActivityAutomation.ts +6 -0
  45. package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
  46. package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +26 -15
  47. package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts.map +1 -1
  48. package/src/com/controlresell/api/responses/activity/ActivityEvent.js +4 -1
  49. package/src/com/controlresell/api/responses/activity/ActivityEvent.js.map +1 -1
  50. package/src/com/controlresell/api/responses/activity/ActivityEvent.ts +4 -1
  51. package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +42 -25
  52. package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts.map +1 -1
  53. package/src/com/controlresell/api/responses/activity/ActivityFailure.d.ts +2 -2
  54. package/src/com/controlresell/api/responses/activity/ActivityFailureCode.d.ts +1 -1
  55. package/src/com/controlresell/api/responses/activity/ActivityFailureCode.d.ts.map +1 -1
  56. package/src/com/controlresell/api/responses/activity/ActivityFailureCode.js +1 -1
  57. package/src/com/controlresell/api/responses/activity/ActivityFailureCode.js.map +1 -1
  58. package/src/com/controlresell/api/responses/activity/ActivityFailureCode.ts +1 -1
  59. package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
  60. package/src/com/controlresell/api/responses/activity/ActivityLateReason.d.ts +4 -0
  61. package/src/com/controlresell/api/responses/activity/ActivityLateReason.d.ts.map +1 -0
  62. package/src/com/controlresell/api/responses/activity/ActivityLateReason.js +5 -0
  63. package/src/com/controlresell/api/responses/activity/ActivityLateReason.js.map +1 -0
  64. package/src/com/controlresell/api/responses/activity/ActivityLateReason.ts +6 -0
  65. package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +3 -0
  66. package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts.map +1 -1
  67. package/src/com/controlresell/api/responses/activity/ActivityMessage.js +3 -1
  68. package/src/com/controlresell/api/responses/activity/ActivityMessage.js.map +1 -1
  69. package/src/com/controlresell/api/responses/activity/ActivityMessage.ts +3 -1
  70. package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +46 -29
  71. package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts.map +1 -1
  72. package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +2 -2
  73. package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
  74. package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
  75. package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
  76. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
  77. package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
  78. package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
  79. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
  80. package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
  81. package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
  82. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +742 -735
  83. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  84. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +498 -493
  85. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  86. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
  87. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
  88. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
  89. package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
  90. package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
  91. package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
  92. package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
  93. package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
  94. package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
  95. package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
  96. package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
  97. package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
  98. package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
  99. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
  100. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
  101. package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
  102. package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
  103. package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
  104. package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
  105. package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
  106. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
  107. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
  108. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
  109. package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
  110. package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
  111. package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
  112. package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
  113. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
  114. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
  115. package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
  116. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
  117. package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
  118. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
  119. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
  120. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
  121. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
  122. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
  123. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
  124. package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
  125. package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
  126. package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
  127. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
  128. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
  129. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
  130. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
  131. package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
  132. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
  133. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
  134. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
  135. package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
  136. package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
  137. package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
  138. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
  139. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  140. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
  141. package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
  142. package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
  143. package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
  144. package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
  145. package/src/com/controlresell/models/files/File.d.ts +2 -2
  146. package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
  147. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
  148. package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
  149. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
  150. package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
  151. package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
  152. package/src/com/controlresell/models/items/CreatedItems.d.ts +1431 -1417
  153. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  154. package/src/com/controlresell/models/items/Item.d.ts +469 -464
  155. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  156. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
  157. package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
  158. package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
  159. package/src/com/controlresell/models/items/ItemUpdate.d.ts +740 -733
  160. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  161. package/src/com/controlresell/models/items/UpdatedItem.d.ts +1431 -1417
  162. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  163. package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
  164. package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
  165. package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +740 -733
  166. package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
  167. package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
  168. package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
  169. package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
  170. package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
  171. package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
  172. package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
  173. package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
  174. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +106 -106
  175. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +108 -108
  176. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +160 -160
  177. package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
  178. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
  179. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
  180. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
  181. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
  182. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
  183. package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
  184. package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
  185. package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
  186. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
  187. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
  188. package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
  189. package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
  190. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +19 -16
  191. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
  192. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +2 -1
  193. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
  194. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +2 -1
  195. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
  196. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -0
  197. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -1
  198. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js +2 -1
  199. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
  200. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.ts +2 -1
  201. package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
  202. package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
  203. package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
  204. package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
  205. package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
  206. package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
  207. package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
  208. package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
  209. package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
  210. package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
  211. package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
  212. package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
  213. package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
  214. package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
  215. package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
  216. package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
  217. package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
  218. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
  219. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
  220. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
  221. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
  222. package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
  223. package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
  224. package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
  225. package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
  226. package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
  227. package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
  228. package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
  229. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +774 -767
  230. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
  231. package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
  232. package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
  233. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts +16 -0
  234. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts.map +1 -0
  235. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js +7 -0
  236. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js.map +1 -0
  237. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.ts +8 -0
  238. package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
  239. package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
  240. package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
  241. package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
  242. package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
  243. package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
  244. package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
  245. package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
  246. package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
  247. package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
  248. package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
  249. package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
  250. package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
  251. package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +2 -2
  252. package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +2 -2
  253. package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
  254. package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
  255. package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
  256. package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
  257. package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
  258. package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +2 -2
  259. package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
  260. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
  261. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
  262. package/src/com/controlresell/models/platforms/orders/Order.d.ts +277 -270
  263. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  264. package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
  265. package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
  266. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
  267. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1661 -1641
  268. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  269. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +29 -24
  270. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  271. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1244 -1228
  272. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  273. package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
  274. package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
  275. package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
  276. package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
  277. package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
  278. package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
  279. package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
  280. package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
  281. package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
  282. package/src/com/controlresell/models/transactions/Transaction.d.ts +43 -36
  283. package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
  284. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +29 -24
  285. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
  286. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +791 -775
  287. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  288. package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
  289. package/src/com/controlresell/models/users/User.d.ts +30 -30
  290. package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
  291. package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
  292. package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
  293. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
  294. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
  295. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
  296. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
  297. package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
  298. package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
  299. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3759 -3731
  300. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  301. package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
  302. package/src/index.d.ts +384 -377
  303. package/src/index.d.ts.map +1 -1
  304. package/src/index.js +384 -377
  305. package/src/index.js.map +1 -1
  306. package/src/index.ts +384 -377
@@ -20,38 +20,38 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  path: string;
22
22
  id: string;
23
- createdAt: Date;
24
23
  userId: number;
24
+ createdAt: Date;
25
25
  signedUrl: string;
26
26
  status?: "PENDING" | "CONFIRMED" | null | undefined;
27
27
  }, {
28
28
  path: string;
29
29
  id: string;
30
- createdAt: Date;
31
30
  userId: number;
31
+ createdAt: Date;
32
32
  signedUrl: string;
33
33
  status?: "PENDING" | "CONFIRMED" | null | undefined;
34
34
  }>>>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- fileId: string;
37
36
  itemId: number;
37
+ fileId: string;
38
38
  file?: {
39
39
  path: string;
40
40
  id: string;
41
- createdAt: Date;
42
41
  userId: number;
42
+ createdAt: Date;
43
43
  signedUrl: string;
44
44
  status?: "PENDING" | "CONFIRMED" | null | undefined;
45
45
  } | null | undefined;
46
46
  index?: number | null | undefined;
47
47
  }, {
48
- fileId: string;
49
48
  itemId: number;
49
+ fileId: string;
50
50
  file?: {
51
51
  path: string;
52
52
  id: string;
53
- createdAt: Date;
54
53
  userId: number;
54
+ createdAt: Date;
55
55
  signedUrl: string;
56
56
  status?: "PENDING" | "CONFIRMED" | null | undefined;
57
57
  } | null | undefined;
@@ -89,12 +89,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
89
89
  }, "strip", z.ZodTypeAny, {
90
90
  value: number;
91
91
  type: string;
92
- name: string;
93
92
  id: number;
94
- createdAt: Date;
95
93
  userId: number;
94
+ name: string;
95
+ createdAt: Date;
96
96
  updatedAt: Date;
97
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
97
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
98
98
  startDate: Date;
99
99
  active: boolean;
100
100
  description?: string | null | undefined;
@@ -104,12 +104,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
104
104
  }, {
105
105
  value: number;
106
106
  type: string;
107
- name: string;
108
107
  id: number;
109
- createdAt: Date;
110
108
  userId: number;
109
+ name: string;
110
+ createdAt: Date;
111
111
  updatedAt: Date;
112
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
112
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
113
113
  startDate: Date;
114
114
  active: boolean;
115
115
  description?: string | null | undefined;
@@ -130,16 +130,16 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
130
130
  itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
131
131
  parentId: z.ZodUnknown;
132
132
  }, "strip", z.ZodTypeAny, {
133
- name: string;
134
133
  id: number;
134
+ name: string;
135
135
  createdAt: Date;
136
136
  isUserLabel: boolean;
137
137
  itemCount?: number | null | undefined;
138
138
  userId?: number | null | undefined;
139
139
  parentId?: unknown;
140
140
  }, {
141
- name: string;
142
141
  id: number;
142
+ name: string;
143
143
  createdAt: Date;
144
144
  isUserLabel: boolean;
145
145
  itemCount?: number | null | undefined;
@@ -150,8 +150,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
150
150
  itemId: number;
151
151
  labelId: number;
152
152
  label?: {
153
- name: string;
154
153
  id: number;
154
+ name: string;
155
155
  createdAt: Date;
156
156
  isUserLabel: boolean;
157
157
  itemCount?: number | null | undefined;
@@ -162,8 +162,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
162
162
  itemId: number;
163
163
  labelId: number;
164
164
  label?: {
165
- name: string;
166
165
  id: number;
166
+ name: string;
167
167
  createdAt: Date;
168
168
  isUserLabel: boolean;
169
169
  itemCount?: number | null | undefined;
@@ -228,11 +228,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
228
228
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
229
229
  data: z.ZodObject<{
230
230
  targetItemHistoryId: z.ZodString;
231
- reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
231
+ reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "LISTING_BOOSTED", "LISTING_SOLD_ON_PLATFORM", "UNKNOWN"]>>>>;
232
232
  details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
233
  }, "strip", z.ZodTypeAny, {
234
234
  targetItemHistoryId: string;
235
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
235
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
236
236
  details?: string | null | undefined;
237
237
  }, {
238
238
  targetItemHistoryId: string;
@@ -244,7 +244,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
244
244
  type: "ACTION_CANCELED";
245
245
  data: {
246
246
  targetItemHistoryId: string;
247
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
247
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
248
248
  details?: string | null | undefined;
249
249
  };
250
250
  }, {
@@ -347,7 +347,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
347
347
  autoFixable: z.ZodBoolean;
348
348
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
349
  }, "strip", z.ZodTypeAny, {
350
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
350
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
351
351
  autoFixable: boolean;
352
352
  error?: string | null | undefined;
353
353
  }, {
@@ -362,7 +362,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
362
362
  accountId?: string | null | undefined;
363
363
  reason?: string | null | undefined;
364
364
  fields?: {
365
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
365
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
366
366
  autoFixable: boolean;
367
367
  error?: string | null | undefined;
368
368
  }[] | null | undefined;
@@ -388,7 +388,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
388
388
  accountId?: string | null | undefined;
389
389
  reason?: string | null | undefined;
390
390
  fields?: {
391
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
391
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
392
392
  autoFixable: boolean;
393
393
  error?: string | null | undefined;
394
394
  }[] | null | undefined;
@@ -572,23 +572,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
572
572
  boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
573
573
  boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
574
574
  }, "strip", z.ZodTypeAny, {
575
+ size?: string | null | undefined;
575
576
  status?: string | null | undefined;
576
577
  title?: string | null | undefined;
577
578
  description?: string | null | undefined;
578
- brand?: string | null | undefined;
579
- statusId?: number | null | undefined;
580
- sizeId?: number | null | undefined;
581
- colorIds?: number[] | null | undefined;
582
- packageSizeId?: number | null | undefined;
583
579
  price?: number | null | undefined;
584
580
  currency?: string | null | undefined;
581
+ brand?: string | null | undefined;
585
582
  catalog?: string | null | undefined;
586
583
  catalogId?: number | null | undefined;
587
584
  colors?: string[] | null | undefined;
585
+ colorIds?: number[] | null | undefined;
588
586
  measurementLength?: number | null | undefined;
589
587
  measurementWidth?: number | null | undefined;
588
+ packageSizeId?: number | null | undefined;
590
589
  photoUrls?: string[] | null | undefined;
591
- size?: string | null | undefined;
590
+ sizeId?: number | null | undefined;
591
+ statusId?: number | null | undefined;
592
592
  isDraft?: boolean | null | undefined;
593
593
  isArchived?: boolean | null | undefined;
594
594
  isUnisex?: boolean | null | undefined;
@@ -617,23 +617,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
617
617
  isHidden?: boolean | null | undefined;
618
618
  isDeleted?: boolean | null | undefined;
619
619
  }, {
620
+ size?: string | null | undefined;
620
621
  status?: string | null | undefined;
621
622
  title?: string | null | undefined;
622
623
  description?: string | null | undefined;
623
- brand?: string | null | undefined;
624
- statusId?: number | null | undefined;
625
- sizeId?: number | null | undefined;
626
- colorIds?: number[] | null | undefined;
627
- packageSizeId?: number | null | undefined;
628
624
  price?: number | null | undefined;
629
625
  currency?: string | null | undefined;
626
+ brand?: string | null | undefined;
630
627
  catalog?: string | null | undefined;
631
628
  catalogId?: number | null | undefined;
632
629
  colors?: string[] | null | undefined;
630
+ colorIds?: number[] | null | undefined;
633
631
  measurementLength?: number | null | undefined;
634
632
  measurementWidth?: number | null | undefined;
633
+ packageSizeId?: number | null | undefined;
635
634
  photoUrls?: string[] | null | undefined;
636
- size?: string | null | undefined;
635
+ sizeId?: number | null | undefined;
636
+ statusId?: number | null | undefined;
637
637
  isDraft?: boolean | null | undefined;
638
638
  isArchived?: boolean | null | undefined;
639
639
  isUnisex?: boolean | null | undefined;
@@ -667,23 +667,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
667
667
  }, "strip", z.ZodTypeAny, {
668
668
  platformId: string;
669
669
  post: {
670
+ size?: string | null | undefined;
670
671
  status?: string | null | undefined;
671
672
  title?: string | null | undefined;
672
673
  description?: string | null | undefined;
673
- brand?: string | null | undefined;
674
- statusId?: number | null | undefined;
675
- sizeId?: number | null | undefined;
676
- colorIds?: number[] | null | undefined;
677
- packageSizeId?: number | null | undefined;
678
674
  price?: number | null | undefined;
679
675
  currency?: string | null | undefined;
676
+ brand?: string | null | undefined;
680
677
  catalog?: string | null | undefined;
681
678
  catalogId?: number | null | undefined;
682
679
  colors?: string[] | null | undefined;
680
+ colorIds?: number[] | null | undefined;
683
681
  measurementLength?: number | null | undefined;
684
682
  measurementWidth?: number | null | undefined;
683
+ packageSizeId?: number | null | undefined;
685
684
  photoUrls?: string[] | null | undefined;
686
- size?: string | null | undefined;
685
+ sizeId?: number | null | undefined;
686
+ statusId?: number | null | undefined;
687
687
  isDraft?: boolean | null | undefined;
688
688
  isArchived?: boolean | null | undefined;
689
689
  isUnisex?: boolean | null | undefined;
@@ -719,23 +719,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
719
719
  }, {
720
720
  platformId: string;
721
721
  post: {
722
+ size?: string | null | undefined;
722
723
  status?: string | null | undefined;
723
724
  title?: string | null | undefined;
724
725
  description?: string | null | undefined;
725
- brand?: string | null | undefined;
726
- statusId?: number | null | undefined;
727
- sizeId?: number | null | undefined;
728
- colorIds?: number[] | null | undefined;
729
- packageSizeId?: number | null | undefined;
730
726
  price?: number | null | undefined;
731
727
  currency?: string | null | undefined;
728
+ brand?: string | null | undefined;
732
729
  catalog?: string | null | undefined;
733
730
  catalogId?: number | null | undefined;
734
731
  colors?: string[] | null | undefined;
732
+ colorIds?: number[] | null | undefined;
735
733
  measurementLength?: number | null | undefined;
736
734
  measurementWidth?: number | null | undefined;
735
+ packageSizeId?: number | null | undefined;
737
736
  photoUrls?: string[] | null | undefined;
738
- size?: string | null | undefined;
737
+ sizeId?: number | null | undefined;
738
+ statusId?: number | null | undefined;
739
739
  isDraft?: boolean | null | undefined;
740
740
  isArchived?: boolean | null | undefined;
741
741
  isUnisex?: boolean | null | undefined;
@@ -773,23 +773,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
773
773
  post: {
774
774
  platformId: string;
775
775
  post: {
776
+ size?: string | null | undefined;
776
777
  status?: string | null | undefined;
777
778
  title?: string | null | undefined;
778
779
  description?: string | null | undefined;
779
- brand?: string | null | undefined;
780
- statusId?: number | null | undefined;
781
- sizeId?: number | null | undefined;
782
- colorIds?: number[] | null | undefined;
783
- packageSizeId?: number | null | undefined;
784
780
  price?: number | null | undefined;
785
781
  currency?: string | null | undefined;
782
+ brand?: string | null | undefined;
786
783
  catalog?: string | null | undefined;
787
784
  catalogId?: number | null | undefined;
788
785
  colors?: string[] | null | undefined;
786
+ colorIds?: number[] | null | undefined;
789
787
  measurementLength?: number | null | undefined;
790
788
  measurementWidth?: number | null | undefined;
789
+ packageSizeId?: number | null | undefined;
791
790
  photoUrls?: string[] | null | undefined;
792
- size?: string | null | undefined;
791
+ sizeId?: number | null | undefined;
792
+ statusId?: number | null | undefined;
793
793
  isDraft?: boolean | null | undefined;
794
794
  isArchived?: boolean | null | undefined;
795
795
  isUnisex?: boolean | null | undefined;
@@ -827,23 +827,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
827
827
  post: {
828
828
  platformId: string;
829
829
  post: {
830
+ size?: string | null | undefined;
830
831
  status?: string | null | undefined;
831
832
  title?: string | null | undefined;
832
833
  description?: string | null | undefined;
833
- brand?: string | null | undefined;
834
- statusId?: number | null | undefined;
835
- sizeId?: number | null | undefined;
836
- colorIds?: number[] | null | undefined;
837
- packageSizeId?: number | null | undefined;
838
834
  price?: number | null | undefined;
839
835
  currency?: string | null | undefined;
836
+ brand?: string | null | undefined;
840
837
  catalog?: string | null | undefined;
841
838
  catalogId?: number | null | undefined;
842
839
  colors?: string[] | null | undefined;
840
+ colorIds?: number[] | null | undefined;
843
841
  measurementLength?: number | null | undefined;
844
842
  measurementWidth?: number | null | undefined;
843
+ packageSizeId?: number | null | undefined;
845
844
  photoUrls?: string[] | null | undefined;
846
- size?: string | null | undefined;
845
+ sizeId?: number | null | undefined;
846
+ statusId?: number | null | undefined;
847
847
  isDraft?: boolean | null | undefined;
848
848
  isArchived?: boolean | null | undefined;
849
849
  isUnisex?: boolean | null | undefined;
@@ -885,23 +885,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
885
885
  post: {
886
886
  platformId: string;
887
887
  post: {
888
+ size?: string | null | undefined;
888
889
  status?: string | null | undefined;
889
890
  title?: string | null | undefined;
890
891
  description?: string | null | undefined;
891
- brand?: string | null | undefined;
892
- statusId?: number | null | undefined;
893
- sizeId?: number | null | undefined;
894
- colorIds?: number[] | null | undefined;
895
- packageSizeId?: number | null | undefined;
896
892
  price?: number | null | undefined;
897
893
  currency?: string | null | undefined;
894
+ brand?: string | null | undefined;
898
895
  catalog?: string | null | undefined;
899
896
  catalogId?: number | null | undefined;
900
897
  colors?: string[] | null | undefined;
898
+ colorIds?: number[] | null | undefined;
901
899
  measurementLength?: number | null | undefined;
902
900
  measurementWidth?: number | null | undefined;
901
+ packageSizeId?: number | null | undefined;
903
902
  photoUrls?: string[] | null | undefined;
904
- size?: string | null | undefined;
903
+ sizeId?: number | null | undefined;
904
+ statusId?: number | null | undefined;
905
905
  isDraft?: boolean | null | undefined;
906
906
  isArchived?: boolean | null | undefined;
907
907
  isUnisex?: boolean | null | undefined;
@@ -942,23 +942,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
942
942
  post: {
943
943
  platformId: string;
944
944
  post: {
945
+ size?: string | null | undefined;
945
946
  status?: string | null | undefined;
946
947
  title?: string | null | undefined;
947
948
  description?: string | null | undefined;
948
- brand?: string | null | undefined;
949
- statusId?: number | null | undefined;
950
- sizeId?: number | null | undefined;
951
- colorIds?: number[] | null | undefined;
952
- packageSizeId?: number | null | undefined;
953
949
  price?: number | null | undefined;
954
950
  currency?: string | null | undefined;
951
+ brand?: string | null | undefined;
955
952
  catalog?: string | null | undefined;
956
953
  catalogId?: number | null | undefined;
957
954
  colors?: string[] | null | undefined;
955
+ colorIds?: number[] | null | undefined;
958
956
  measurementLength?: number | null | undefined;
959
957
  measurementWidth?: number | null | undefined;
958
+ packageSizeId?: number | null | undefined;
960
959
  photoUrls?: string[] | null | undefined;
961
- size?: string | null | undefined;
960
+ sizeId?: number | null | undefined;
961
+ statusId?: number | null | undefined;
962
962
  isDraft?: boolean | null | undefined;
963
963
  isArchived?: boolean | null | undefined;
964
964
  isUnisex?: boolean | null | undefined;
@@ -1018,27 +1018,27 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1018
1018
  caseId: z.ZodString;
1019
1019
  isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1020
1020
  }, "strip", z.ZodTypeAny, {
1021
- caseId: string;
1022
1021
  accountId: string;
1022
+ caseId: string;
1023
1023
  isRepeat?: boolean | null | undefined;
1024
1024
  }, {
1025
- caseId: string;
1026
1025
  accountId: string;
1026
+ caseId: string;
1027
1027
  isRepeat?: boolean | null | undefined;
1028
1028
  }>;
1029
1029
  type: z.ZodLiteral<"LIFECYCLE_STARTED">;
1030
1030
  }, "strip", z.ZodTypeAny, {
1031
1031
  type: "LIFECYCLE_STARTED";
1032
1032
  data: {
1033
- caseId: string;
1034
1033
  accountId: string;
1034
+ caseId: string;
1035
1035
  isRepeat?: boolean | null | undefined;
1036
1036
  };
1037
1037
  }, {
1038
1038
  type: "LIFECYCLE_STARTED";
1039
1039
  data: {
1040
- caseId: string;
1041
1040
  accountId: string;
1041
+ caseId: string;
1042
1042
  isRepeat?: boolean | null | undefined;
1043
1043
  };
1044
1044
  }>, z.ZodObject<{
@@ -1214,10 +1214,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1214
1214
  elasticWarpEnabled?: boolean | null | undefined;
1215
1215
  } | null | undefined;
1216
1216
  } | null | undefined;
1217
- publishingDate?: Date | null | undefined;
1218
- isTransfer?: boolean | null | undefined;
1219
1217
  targetAccountId?: string | null | undefined;
1220
1218
  allowIfDeleted?: boolean | null | undefined;
1219
+ publishingDate?: Date | null | undefined;
1220
+ isTransfer?: boolean | null | undefined;
1221
1221
  }, {
1222
1222
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1223
1223
  payload?: {
@@ -1244,10 +1244,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1244
1244
  elasticWarpEnabled?: boolean | null | undefined;
1245
1245
  } | null | undefined;
1246
1246
  } | null | undefined;
1247
- publishingDate?: Date | null | undefined;
1248
- isTransfer?: boolean | null | undefined;
1249
1247
  targetAccountId?: string | null | undefined;
1250
1248
  allowIfDeleted?: boolean | null | undefined;
1249
+ publishingDate?: Date | null | undefined;
1250
+ isTransfer?: boolean | null | undefined;
1251
1251
  }>;
1252
1252
  type: z.ZodLiteral<"REPUBLISHING">;
1253
1253
  }, "strip", z.ZodTypeAny, {
@@ -1278,10 +1278,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1278
1278
  elasticWarpEnabled?: boolean | null | undefined;
1279
1279
  } | null | undefined;
1280
1280
  } | null | undefined;
1281
- publishingDate?: Date | null | undefined;
1282
- isTransfer?: boolean | null | undefined;
1283
1281
  targetAccountId?: string | null | undefined;
1284
1282
  allowIfDeleted?: boolean | null | undefined;
1283
+ publishingDate?: Date | null | undefined;
1284
+ isTransfer?: boolean | null | undefined;
1285
1285
  };
1286
1286
  }, {
1287
1287
  type: "REPUBLISHING";
@@ -1311,10 +1311,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1311
1311
  elasticWarpEnabled?: boolean | null | undefined;
1312
1312
  } | null | undefined;
1313
1313
  } | null | undefined;
1314
- publishingDate?: Date | null | undefined;
1315
- isTransfer?: boolean | null | undefined;
1316
1314
  targetAccountId?: string | null | undefined;
1317
1315
  allowIfDeleted?: boolean | null | undefined;
1316
+ publishingDate?: Date | null | undefined;
1317
+ isTransfer?: boolean | null | undefined;
1318
1318
  };
1319
1319
  }>, z.ZodObject<{
1320
1320
  data: z.ZodObject<{
@@ -1328,7 +1328,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1328
1328
  autoFixable: z.ZodBoolean;
1329
1329
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1330
1330
  }, "strip", z.ZodTypeAny, {
1331
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1331
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1332
1332
  autoFixable: boolean;
1333
1333
  error?: string | null | undefined;
1334
1334
  }, {
@@ -1443,9 +1443,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1443
1443
  } | null | undefined;
1444
1444
  }>>>;
1445
1445
  }, "strip", z.ZodTypeAny, {
1446
- maxAttempts: number;
1447
1446
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1448
1447
  attemptNumber: number;
1448
+ maxAttempts: number;
1449
1449
  previousHistoryId: string;
1450
1450
  originalFailureDate: Date;
1451
1451
  payload?: {
@@ -1473,14 +1473,14 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1473
1473
  } | null | undefined;
1474
1474
  } | null | undefined;
1475
1475
  fields?: {
1476
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1476
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1477
1477
  autoFixable: boolean;
1478
1478
  error?: string | null | undefined;
1479
1479
  }[] | null | undefined;
1480
1480
  }, {
1481
- maxAttempts: number;
1482
1481
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1483
1482
  attemptNumber: number;
1483
+ maxAttempts: number;
1484
1484
  previousHistoryId: string;
1485
1485
  originalFailureDate: Date;
1486
1486
  payload?: {
@@ -1517,9 +1517,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1517
1517
  }, "strip", z.ZodTypeAny, {
1518
1518
  type: "REPUBLISHING_RETRY";
1519
1519
  data: {
1520
- maxAttempts: number;
1521
1520
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1522
1521
  attemptNumber: number;
1522
+ maxAttempts: number;
1523
1523
  previousHistoryId: string;
1524
1524
  originalFailureDate: Date;
1525
1525
  payload?: {
@@ -1547,7 +1547,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1547
1547
  } | null | undefined;
1548
1548
  } | null | undefined;
1549
1549
  fields?: {
1550
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1550
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1551
1551
  autoFixable: boolean;
1552
1552
  error?: string | null | undefined;
1553
1553
  }[] | null | undefined;
@@ -1555,9 +1555,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1555
1555
  }, {
1556
1556
  type: "REPUBLISHING_RETRY";
1557
1557
  data: {
1558
- maxAttempts: number;
1559
1558
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1560
1559
  attemptNumber: number;
1560
+ maxAttempts: number;
1561
1561
  previousHistoryId: string;
1562
1562
  originalFailureDate: Date;
1563
1563
  payload?: {
@@ -1626,7 +1626,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1626
1626
  autoFixable: z.ZodBoolean;
1627
1627
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
1628
  }, "strip", z.ZodTypeAny, {
1629
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1629
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1630
1630
  autoFixable: boolean;
1631
1631
  error?: string | null | undefined;
1632
1632
  }, {
@@ -1635,20 +1635,20 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1635
1635
  error?: string | null | undefined;
1636
1636
  }>, "many">>>;
1637
1637
  }, "strip", z.ZodTypeAny, {
1638
- maxAttempts: number;
1639
1638
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1640
1639
  attemptNumber: number;
1640
+ maxAttempts: number;
1641
1641
  previousHistoryId: string;
1642
1642
  originalFailureDate: Date;
1643
1643
  fields?: {
1644
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1644
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1645
1645
  autoFixable: boolean;
1646
1646
  error?: string | null | undefined;
1647
1647
  }[] | null | undefined;
1648
1648
  }, {
1649
- maxAttempts: number;
1650
1649
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1651
1650
  attemptNumber: number;
1651
+ maxAttempts: number;
1652
1652
  previousHistoryId: string;
1653
1653
  originalFailureDate: Date;
1654
1654
  fields?: {
@@ -1661,13 +1661,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1661
1661
  }, "strip", z.ZodTypeAny, {
1662
1662
  type: "SCHEDULED_RETRY";
1663
1663
  data: {
1664
- maxAttempts: number;
1665
1664
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1666
1665
  attemptNumber: number;
1666
+ maxAttempts: number;
1667
1667
  previousHistoryId: string;
1668
1668
  originalFailureDate: Date;
1669
1669
  fields?: {
1670
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1670
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1671
1671
  autoFixable: boolean;
1672
1672
  error?: string | null | undefined;
1673
1673
  }[] | null | undefined;
@@ -1675,9 +1675,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1675
1675
  }, {
1676
1676
  type: "SCHEDULED_RETRY";
1677
1677
  data: {
1678
- maxAttempts: number;
1679
1678
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1680
1679
  attemptNumber: number;
1680
+ maxAttempts: number;
1681
1681
  previousHistoryId: string;
1682
1682
  originalFailureDate: Date;
1683
1683
  fields?: {
@@ -1834,11 +1834,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1834
1834
  id: string;
1835
1835
  createdAt: Date;
1836
1836
  itemId: number;
1837
+ accountId?: string | null | undefined;
1837
1838
  data?: {
1838
1839
  type: "ACTION_CANCELED";
1839
1840
  data: {
1840
1841
  targetItemHistoryId: string;
1841
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
1842
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
1842
1843
  details?: string | null | undefined;
1843
1844
  };
1844
1845
  } | {
@@ -1869,7 +1870,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1869
1870
  accountId?: string | null | undefined;
1870
1871
  reason?: string | null | undefined;
1871
1872
  fields?: {
1872
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1873
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1873
1874
  autoFixable: boolean;
1874
1875
  error?: string | null | undefined;
1875
1876
  }[] | null | undefined;
@@ -1899,23 +1900,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1899
1900
  post: {
1900
1901
  platformId: string;
1901
1902
  post: {
1903
+ size?: string | null | undefined;
1902
1904
  status?: string | null | undefined;
1903
1905
  title?: string | null | undefined;
1904
1906
  description?: string | null | undefined;
1905
- brand?: string | null | undefined;
1906
- statusId?: number | null | undefined;
1907
- sizeId?: number | null | undefined;
1908
- colorIds?: number[] | null | undefined;
1909
- packageSizeId?: number | null | undefined;
1910
1907
  price?: number | null | undefined;
1911
1908
  currency?: string | null | undefined;
1909
+ brand?: string | null | undefined;
1912
1910
  catalog?: string | null | undefined;
1913
1911
  catalogId?: number | null | undefined;
1914
1912
  colors?: string[] | null | undefined;
1913
+ colorIds?: number[] | null | undefined;
1915
1914
  measurementLength?: number | null | undefined;
1916
1915
  measurementWidth?: number | null | undefined;
1916
+ packageSizeId?: number | null | undefined;
1917
1917
  photoUrls?: string[] | null | undefined;
1918
- size?: string | null | undefined;
1918
+ sizeId?: number | null | undefined;
1919
+ statusId?: number | null | undefined;
1919
1920
  isDraft?: boolean | null | undefined;
1920
1921
  isArchived?: boolean | null | undefined;
1921
1922
  isUnisex?: boolean | null | undefined;
@@ -1958,8 +1959,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1958
1959
  } | {
1959
1960
  type: "LIFECYCLE_STARTED";
1960
1961
  data: {
1961
- caseId: string;
1962
1962
  accountId: string;
1963
+ caseId: string;
1963
1964
  isRepeat?: boolean | null | undefined;
1964
1965
  };
1965
1966
  } | {
@@ -1998,17 +1999,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
1998
1999
  elasticWarpEnabled?: boolean | null | undefined;
1999
2000
  } | null | undefined;
2000
2001
  } | null | undefined;
2001
- publishingDate?: Date | null | undefined;
2002
- isTransfer?: boolean | null | undefined;
2003
2002
  targetAccountId?: string | null | undefined;
2004
2003
  allowIfDeleted?: boolean | null | undefined;
2004
+ publishingDate?: Date | null | undefined;
2005
+ isTransfer?: boolean | null | undefined;
2005
2006
  };
2006
2007
  } | {
2007
2008
  type: "REPUBLISHING_RETRY";
2008
2009
  data: {
2009
- maxAttempts: number;
2010
2010
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2011
2011
  attemptNumber: number;
2012
+ maxAttempts: number;
2012
2013
  previousHistoryId: string;
2013
2014
  originalFailureDate: Date;
2014
2015
  payload?: {
@@ -2036,7 +2037,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2036
2037
  } | null | undefined;
2037
2038
  } | null | undefined;
2038
2039
  fields?: {
2039
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2040
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2040
2041
  autoFixable: boolean;
2041
2042
  error?: string | null | undefined;
2042
2043
  }[] | null | undefined;
@@ -2050,13 +2051,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2050
2051
  } | {
2051
2052
  type: "SCHEDULED_RETRY";
2052
2053
  data: {
2053
- maxAttempts: number;
2054
2054
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2055
2055
  attemptNumber: number;
2056
+ maxAttempts: number;
2056
2057
  previousHistoryId: string;
2057
2058
  originalFailureDate: Date;
2058
2059
  fields?: {
2059
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2060
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2060
2061
  autoFixable: boolean;
2061
2062
  error?: string | null | undefined;
2062
2063
  }[] | null | undefined;
@@ -2085,7 +2086,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2085
2086
  targetDate?: Date | null | undefined;
2086
2087
  };
2087
2088
  } | null | undefined;
2088
- accountId?: string | null | undefined;
2089
2089
  targetDate?: Date | null | undefined;
2090
2090
  requestId?: string | null | undefined;
2091
2091
  targetHistoryId?: string | null | undefined;
@@ -2094,6 +2094,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2094
2094
  createdAt: Date;
2095
2095
  itemId: number;
2096
2096
  type?: unknown;
2097
+ accountId?: string | null | undefined;
2097
2098
  data?: {
2098
2099
  type: "ACTION_CANCELED";
2099
2100
  data: {
@@ -2159,23 +2160,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2159
2160
  post: {
2160
2161
  platformId: string;
2161
2162
  post: {
2163
+ size?: string | null | undefined;
2162
2164
  status?: string | null | undefined;
2163
2165
  title?: string | null | undefined;
2164
2166
  description?: string | null | undefined;
2165
- brand?: string | null | undefined;
2166
- statusId?: number | null | undefined;
2167
- sizeId?: number | null | undefined;
2168
- colorIds?: number[] | null | undefined;
2169
- packageSizeId?: number | null | undefined;
2170
2167
  price?: number | null | undefined;
2171
2168
  currency?: string | null | undefined;
2169
+ brand?: string | null | undefined;
2172
2170
  catalog?: string | null | undefined;
2173
2171
  catalogId?: number | null | undefined;
2174
2172
  colors?: string[] | null | undefined;
2173
+ colorIds?: number[] | null | undefined;
2175
2174
  measurementLength?: number | null | undefined;
2176
2175
  measurementWidth?: number | null | undefined;
2176
+ packageSizeId?: number | null | undefined;
2177
2177
  photoUrls?: string[] | null | undefined;
2178
- size?: string | null | undefined;
2178
+ sizeId?: number | null | undefined;
2179
+ statusId?: number | null | undefined;
2179
2180
  isDraft?: boolean | null | undefined;
2180
2181
  isArchived?: boolean | null | undefined;
2181
2182
  isUnisex?: boolean | null | undefined;
@@ -2218,8 +2219,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2218
2219
  } | {
2219
2220
  type: "LIFECYCLE_STARTED";
2220
2221
  data: {
2221
- caseId: string;
2222
2222
  accountId: string;
2223
+ caseId: string;
2223
2224
  isRepeat?: boolean | null | undefined;
2224
2225
  };
2225
2226
  } | {
@@ -2258,17 +2259,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2258
2259
  elasticWarpEnabled?: boolean | null | undefined;
2259
2260
  } | null | undefined;
2260
2261
  } | null | undefined;
2261
- publishingDate?: Date | null | undefined;
2262
- isTransfer?: boolean | null | undefined;
2263
2262
  targetAccountId?: string | null | undefined;
2264
2263
  allowIfDeleted?: boolean | null | undefined;
2264
+ publishingDate?: Date | null | undefined;
2265
+ isTransfer?: boolean | null | undefined;
2265
2266
  };
2266
2267
  } | {
2267
2268
  type: "REPUBLISHING_RETRY";
2268
2269
  data: {
2269
- maxAttempts: number;
2270
2270
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2271
2271
  attemptNumber: number;
2272
+ maxAttempts: number;
2272
2273
  previousHistoryId: string;
2273
2274
  originalFailureDate: Date;
2274
2275
  payload?: {
@@ -2310,9 +2311,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2310
2311
  } | {
2311
2312
  type: "SCHEDULED_RETRY";
2312
2313
  data: {
2313
- maxAttempts: number;
2314
2314
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2315
2315
  attemptNumber: number;
2316
+ maxAttempts: number;
2316
2317
  previousHistoryId: string;
2317
2318
  originalFailureDate: Date;
2318
2319
  fields?: {
@@ -2345,7 +2346,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2345
2346
  targetDate?: Date | null | undefined;
2346
2347
  };
2347
2348
  } | null | undefined;
2348
- accountId?: string | null | undefined;
2349
2349
  targetDate?: Date | null | undefined;
2350
2350
  requestId?: string | null | undefined;
2351
2351
  targetHistoryId?: string | null | undefined;
@@ -2395,15 +2395,15 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2395
2395
  }, "strip", z.ZodTypeAny, {
2396
2396
  path: string;
2397
2397
  id: string;
2398
- createdAt: Date;
2399
2398
  userId: number;
2399
+ createdAt: Date;
2400
2400
  signedUrl: string;
2401
2401
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2402
2402
  }, {
2403
2403
  path: string;
2404
2404
  id: string;
2405
- createdAt: Date;
2406
2405
  userId: number;
2406
+ createdAt: Date;
2407
2407
  signedUrl: string;
2408
2408
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2409
2409
  }>>>;
@@ -2414,9 +2414,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2414
2414
  phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2415
2415
  }, "strip", z.ZodTypeAny, {
2416
2416
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2417
- name: string;
2418
- userId: number;
2419
2417
  accountId: string;
2418
+ userId: number;
2419
+ name: string;
2420
2420
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2421
2421
  locale?: string | null | undefined;
2422
2422
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
@@ -2435,8 +2435,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2435
2435
  profilePicture?: {
2436
2436
  path: string;
2437
2437
  id: string;
2438
- createdAt: Date;
2439
2438
  userId: number;
2439
+ createdAt: Date;
2440
2440
  signedUrl: string;
2441
2441
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2442
2442
  } | null | undefined;
@@ -2444,9 +2444,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2444
2444
  walletActivationRequiredAt?: Date | null | undefined;
2445
2445
  phoneNumberRequiredAt?: Date | null | undefined;
2446
2446
  }, {
2447
- name: string;
2448
- userId: number;
2449
2447
  accountId: string;
2448
+ userId: number;
2449
+ name: string;
2450
2450
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2451
2451
  status?: unknown;
2452
2452
  locale?: string | null | undefined;
@@ -2466,8 +2466,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2466
2466
  profilePicture?: {
2467
2467
  path: string;
2468
2468
  id: string;
2469
- createdAt: Date;
2470
2469
  userId: number;
2470
+ createdAt: Date;
2471
2471
  signedUrl: string;
2472
2472
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2473
2473
  } | null | undefined;
@@ -2482,11 +2482,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2482
2482
  boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2483
2483
  orderStatus: z.ZodOptional<z.ZodNullable<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"]>>>>;
2484
2484
  orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
2485
+ isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2485
2486
  }, "strip", z.ZodTypeAny, {
2486
2487
  status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
2487
2488
  id: string;
2488
- createdAt: Date;
2489
2489
  accountId: string;
2490
+ createdAt: Date;
2490
2491
  itemId: number;
2491
2492
  platformId: string;
2492
2493
  platformUrl: string;
@@ -2500,9 +2501,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2500
2501
  favoritesCount?: number | null | undefined;
2501
2502
  account?: {
2502
2503
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2503
- name: string;
2504
- userId: number;
2505
2504
  accountId: string;
2505
+ userId: number;
2506
+ name: string;
2506
2507
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2507
2508
  locale?: string | null | undefined;
2508
2509
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
@@ -2521,8 +2522,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2521
2522
  profilePicture?: {
2522
2523
  path: string;
2523
2524
  id: string;
2524
- createdAt: Date;
2525
2525
  userId: number;
2526
+ createdAt: Date;
2526
2527
  signedUrl: string;
2527
2528
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2528
2529
  } | null | undefined;
@@ -2532,10 +2533,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2532
2533
  } | null | undefined;
2533
2534
  orderStatus?: "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" | null | undefined;
2534
2535
  orderType?: "SALE" | "PURCHASE" | null | undefined;
2536
+ isBoosted?: boolean | null | undefined;
2535
2537
  }, {
2536
2538
  id: string;
2537
- createdAt: Date;
2538
2539
  accountId: string;
2540
+ createdAt: Date;
2539
2541
  itemId: number;
2540
2542
  platformId: string;
2541
2543
  platformUrl: string;
@@ -2549,9 +2551,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2549
2551
  viewsCount?: number | null | undefined;
2550
2552
  favoritesCount?: number | null | undefined;
2551
2553
  account?: {
2552
- name: string;
2553
- userId: number;
2554
2554
  accountId: string;
2555
+ userId: number;
2556
+ name: string;
2555
2557
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2556
2558
  status?: unknown;
2557
2559
  locale?: string | null | undefined;
@@ -2571,8 +2573,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2571
2573
  profilePicture?: {
2572
2574
  path: string;
2573
2575
  id: string;
2574
- createdAt: Date;
2575
2576
  userId: number;
2577
+ createdAt: Date;
2576
2578
  signedUrl: string;
2577
2579
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2578
2580
  } | null | undefined;
@@ -2582,6 +2584,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2582
2584
  } | null | undefined;
2583
2585
  orderStatus?: unknown;
2584
2586
  orderType?: "SALE" | "PURCHASE" | null | undefined;
2587
+ isBoosted?: boolean | null | undefined;
2585
2588
  }>, "many">>>;
2586
2589
  history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2587
2590
  id: z.ZodString;
@@ -2590,11 +2593,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2590
2593
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2591
2594
  data: z.ZodObject<{
2592
2595
  targetItemHistoryId: z.ZodString;
2593
- reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "UNKNOWN"]>>>>;
2596
+ reason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["REQUESTED_BY_USER", "REPLACED_BY_NEW_SCHEDULE", "ITEM_SOLD_OR_ARCHIVED", "ACCOUNT_BLOCKED", "ACTIVE_SCHEDULE", "ALREADY_PUBLISHED", "NEVER_PUBLISHED", "ACCOUNT_DELETED", "LISTING_NOT_FOUND_ON_PLATFORM", "LISTING_DELETED", "LISTING_BOOSTED", "LISTING_SOLD_ON_PLATFORM", "UNKNOWN"]>>>>;
2594
2597
  details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2595
2598
  }, "strip", z.ZodTypeAny, {
2596
2599
  targetItemHistoryId: string;
2597
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
2600
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
2598
2601
  details?: string | null | undefined;
2599
2602
  }, {
2600
2603
  targetItemHistoryId: string;
@@ -2606,7 +2609,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2606
2609
  type: "ACTION_CANCELED";
2607
2610
  data: {
2608
2611
  targetItemHistoryId: string;
2609
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
2612
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
2610
2613
  details?: string | null | undefined;
2611
2614
  };
2612
2615
  }, {
@@ -2709,7 +2712,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2709
2712
  autoFixable: z.ZodBoolean;
2710
2713
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
2714
  }, "strip", z.ZodTypeAny, {
2712
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2715
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2713
2716
  autoFixable: boolean;
2714
2717
  error?: string | null | undefined;
2715
2718
  }, {
@@ -2724,7 +2727,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2724
2727
  accountId?: string | null | undefined;
2725
2728
  reason?: string | null | undefined;
2726
2729
  fields?: {
2727
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2730
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2728
2731
  autoFixable: boolean;
2729
2732
  error?: string | null | undefined;
2730
2733
  }[] | null | undefined;
@@ -2750,7 +2753,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2750
2753
  accountId?: string | null | undefined;
2751
2754
  reason?: string | null | undefined;
2752
2755
  fields?: {
2753
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2756
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2754
2757
  autoFixable: boolean;
2755
2758
  error?: string | null | undefined;
2756
2759
  }[] | null | undefined;
@@ -2934,23 +2937,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2934
2937
  boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2935
2938
  boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2936
2939
  }, "strip", z.ZodTypeAny, {
2940
+ size?: string | null | undefined;
2937
2941
  status?: string | null | undefined;
2938
2942
  title?: string | null | undefined;
2939
2943
  description?: string | null | undefined;
2940
- brand?: string | null | undefined;
2941
- statusId?: number | null | undefined;
2942
- sizeId?: number | null | undefined;
2943
- colorIds?: number[] | null | undefined;
2944
- packageSizeId?: number | null | undefined;
2945
2944
  price?: number | null | undefined;
2946
2945
  currency?: string | null | undefined;
2946
+ brand?: string | null | undefined;
2947
2947
  catalog?: string | null | undefined;
2948
2948
  catalogId?: number | null | undefined;
2949
2949
  colors?: string[] | null | undefined;
2950
+ colorIds?: number[] | null | undefined;
2950
2951
  measurementLength?: number | null | undefined;
2951
2952
  measurementWidth?: number | null | undefined;
2953
+ packageSizeId?: number | null | undefined;
2952
2954
  photoUrls?: string[] | null | undefined;
2953
- size?: string | null | undefined;
2955
+ sizeId?: number | null | undefined;
2956
+ statusId?: number | null | undefined;
2954
2957
  isDraft?: boolean | null | undefined;
2955
2958
  isArchived?: boolean | null | undefined;
2956
2959
  isUnisex?: boolean | null | undefined;
@@ -2979,23 +2982,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
2979
2982
  isHidden?: boolean | null | undefined;
2980
2983
  isDeleted?: boolean | null | undefined;
2981
2984
  }, {
2985
+ size?: string | null | undefined;
2982
2986
  status?: string | null | undefined;
2983
2987
  title?: string | null | undefined;
2984
2988
  description?: string | null | undefined;
2985
- brand?: string | null | undefined;
2986
- statusId?: number | null | undefined;
2987
- sizeId?: number | null | undefined;
2988
- colorIds?: number[] | null | undefined;
2989
- packageSizeId?: number | null | undefined;
2990
2989
  price?: number | null | undefined;
2991
2990
  currency?: string | null | undefined;
2991
+ brand?: string | null | undefined;
2992
2992
  catalog?: string | null | undefined;
2993
2993
  catalogId?: number | null | undefined;
2994
2994
  colors?: string[] | null | undefined;
2995
+ colorIds?: number[] | null | undefined;
2995
2996
  measurementLength?: number | null | undefined;
2996
2997
  measurementWidth?: number | null | undefined;
2998
+ packageSizeId?: number | null | undefined;
2997
2999
  photoUrls?: string[] | null | undefined;
2998
- size?: string | null | undefined;
3000
+ sizeId?: number | null | undefined;
3001
+ statusId?: number | null | undefined;
2999
3002
  isDraft?: boolean | null | undefined;
3000
3003
  isArchived?: boolean | null | undefined;
3001
3004
  isUnisex?: boolean | null | undefined;
@@ -3029,23 +3032,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3029
3032
  }, "strip", z.ZodTypeAny, {
3030
3033
  platformId: string;
3031
3034
  post: {
3035
+ size?: string | null | undefined;
3032
3036
  status?: string | null | undefined;
3033
3037
  title?: string | null | undefined;
3034
3038
  description?: string | null | undefined;
3035
- brand?: string | null | undefined;
3036
- statusId?: number | null | undefined;
3037
- sizeId?: number | null | undefined;
3038
- colorIds?: number[] | null | undefined;
3039
- packageSizeId?: number | null | undefined;
3040
3039
  price?: number | null | undefined;
3041
3040
  currency?: string | null | undefined;
3041
+ brand?: string | null | undefined;
3042
3042
  catalog?: string | null | undefined;
3043
3043
  catalogId?: number | null | undefined;
3044
3044
  colors?: string[] | null | undefined;
3045
+ colorIds?: number[] | null | undefined;
3045
3046
  measurementLength?: number | null | undefined;
3046
3047
  measurementWidth?: number | null | undefined;
3048
+ packageSizeId?: number | null | undefined;
3047
3049
  photoUrls?: string[] | null | undefined;
3048
- size?: string | null | undefined;
3050
+ sizeId?: number | null | undefined;
3051
+ statusId?: number | null | undefined;
3049
3052
  isDraft?: boolean | null | undefined;
3050
3053
  isArchived?: boolean | null | undefined;
3051
3054
  isUnisex?: boolean | null | undefined;
@@ -3081,23 +3084,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3081
3084
  }, {
3082
3085
  platformId: string;
3083
3086
  post: {
3087
+ size?: string | null | undefined;
3084
3088
  status?: string | null | undefined;
3085
3089
  title?: string | null | undefined;
3086
3090
  description?: string | null | undefined;
3087
- brand?: string | null | undefined;
3088
- statusId?: number | null | undefined;
3089
- sizeId?: number | null | undefined;
3090
- colorIds?: number[] | null | undefined;
3091
- packageSizeId?: number | null | undefined;
3092
3091
  price?: number | null | undefined;
3093
3092
  currency?: string | null | undefined;
3093
+ brand?: string | null | undefined;
3094
3094
  catalog?: string | null | undefined;
3095
3095
  catalogId?: number | null | undefined;
3096
3096
  colors?: string[] | null | undefined;
3097
+ colorIds?: number[] | null | undefined;
3097
3098
  measurementLength?: number | null | undefined;
3098
3099
  measurementWidth?: number | null | undefined;
3100
+ packageSizeId?: number | null | undefined;
3099
3101
  photoUrls?: string[] | null | undefined;
3100
- size?: string | null | undefined;
3102
+ sizeId?: number | null | undefined;
3103
+ statusId?: number | null | undefined;
3101
3104
  isDraft?: boolean | null | undefined;
3102
3105
  isArchived?: boolean | null | undefined;
3103
3106
  isUnisex?: boolean | null | undefined;
@@ -3135,23 +3138,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3135
3138
  post: {
3136
3139
  platformId: string;
3137
3140
  post: {
3141
+ size?: string | null | undefined;
3138
3142
  status?: string | null | undefined;
3139
3143
  title?: string | null | undefined;
3140
3144
  description?: string | null | undefined;
3141
- brand?: string | null | undefined;
3142
- statusId?: number | null | undefined;
3143
- sizeId?: number | null | undefined;
3144
- colorIds?: number[] | null | undefined;
3145
- packageSizeId?: number | null | undefined;
3146
3145
  price?: number | null | undefined;
3147
3146
  currency?: string | null | undefined;
3147
+ brand?: string | null | undefined;
3148
3148
  catalog?: string | null | undefined;
3149
3149
  catalogId?: number | null | undefined;
3150
3150
  colors?: string[] | null | undefined;
3151
+ colorIds?: number[] | null | undefined;
3151
3152
  measurementLength?: number | null | undefined;
3152
3153
  measurementWidth?: number | null | undefined;
3154
+ packageSizeId?: number | null | undefined;
3153
3155
  photoUrls?: string[] | null | undefined;
3154
- size?: string | null | undefined;
3156
+ sizeId?: number | null | undefined;
3157
+ statusId?: number | null | undefined;
3155
3158
  isDraft?: boolean | null | undefined;
3156
3159
  isArchived?: boolean | null | undefined;
3157
3160
  isUnisex?: boolean | null | undefined;
@@ -3189,23 +3192,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3189
3192
  post: {
3190
3193
  platformId: string;
3191
3194
  post: {
3195
+ size?: string | null | undefined;
3192
3196
  status?: string | null | undefined;
3193
3197
  title?: string | null | undefined;
3194
3198
  description?: string | null | undefined;
3195
- brand?: string | null | undefined;
3196
- statusId?: number | null | undefined;
3197
- sizeId?: number | null | undefined;
3198
- colorIds?: number[] | null | undefined;
3199
- packageSizeId?: number | null | undefined;
3200
3199
  price?: number | null | undefined;
3201
3200
  currency?: string | null | undefined;
3201
+ brand?: string | null | undefined;
3202
3202
  catalog?: string | null | undefined;
3203
3203
  catalogId?: number | null | undefined;
3204
3204
  colors?: string[] | null | undefined;
3205
+ colorIds?: number[] | null | undefined;
3205
3206
  measurementLength?: number | null | undefined;
3206
3207
  measurementWidth?: number | null | undefined;
3208
+ packageSizeId?: number | null | undefined;
3207
3209
  photoUrls?: string[] | null | undefined;
3208
- size?: string | null | undefined;
3210
+ sizeId?: number | null | undefined;
3211
+ statusId?: number | null | undefined;
3209
3212
  isDraft?: boolean | null | undefined;
3210
3213
  isArchived?: boolean | null | undefined;
3211
3214
  isUnisex?: boolean | null | undefined;
@@ -3247,23 +3250,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3247
3250
  post: {
3248
3251
  platformId: string;
3249
3252
  post: {
3253
+ size?: string | null | undefined;
3250
3254
  status?: string | null | undefined;
3251
3255
  title?: string | null | undefined;
3252
3256
  description?: string | null | undefined;
3253
- brand?: string | null | undefined;
3254
- statusId?: number | null | undefined;
3255
- sizeId?: number | null | undefined;
3256
- colorIds?: number[] | null | undefined;
3257
- packageSizeId?: number | null | undefined;
3258
3257
  price?: number | null | undefined;
3259
3258
  currency?: string | null | undefined;
3259
+ brand?: string | null | undefined;
3260
3260
  catalog?: string | null | undefined;
3261
3261
  catalogId?: number | null | undefined;
3262
3262
  colors?: string[] | null | undefined;
3263
+ colorIds?: number[] | null | undefined;
3263
3264
  measurementLength?: number | null | undefined;
3264
3265
  measurementWidth?: number | null | undefined;
3266
+ packageSizeId?: number | null | undefined;
3265
3267
  photoUrls?: string[] | null | undefined;
3266
- size?: string | null | undefined;
3268
+ sizeId?: number | null | undefined;
3269
+ statusId?: number | null | undefined;
3267
3270
  isDraft?: boolean | null | undefined;
3268
3271
  isArchived?: boolean | null | undefined;
3269
3272
  isUnisex?: boolean | null | undefined;
@@ -3304,23 +3307,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3304
3307
  post: {
3305
3308
  platformId: string;
3306
3309
  post: {
3310
+ size?: string | null | undefined;
3307
3311
  status?: string | null | undefined;
3308
3312
  title?: string | null | undefined;
3309
3313
  description?: string | null | undefined;
3310
- brand?: string | null | undefined;
3311
- statusId?: number | null | undefined;
3312
- sizeId?: number | null | undefined;
3313
- colorIds?: number[] | null | undefined;
3314
- packageSizeId?: number | null | undefined;
3315
3314
  price?: number | null | undefined;
3316
3315
  currency?: string | null | undefined;
3316
+ brand?: string | null | undefined;
3317
3317
  catalog?: string | null | undefined;
3318
3318
  catalogId?: number | null | undefined;
3319
3319
  colors?: string[] | null | undefined;
3320
+ colorIds?: number[] | null | undefined;
3320
3321
  measurementLength?: number | null | undefined;
3321
3322
  measurementWidth?: number | null | undefined;
3323
+ packageSizeId?: number | null | undefined;
3322
3324
  photoUrls?: string[] | null | undefined;
3323
- size?: string | null | undefined;
3325
+ sizeId?: number | null | undefined;
3326
+ statusId?: number | null | undefined;
3324
3327
  isDraft?: boolean | null | undefined;
3325
3328
  isArchived?: boolean | null | undefined;
3326
3329
  isUnisex?: boolean | null | undefined;
@@ -3380,27 +3383,27 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3380
3383
  caseId: z.ZodString;
3381
3384
  isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3382
3385
  }, "strip", z.ZodTypeAny, {
3383
- caseId: string;
3384
3386
  accountId: string;
3387
+ caseId: string;
3385
3388
  isRepeat?: boolean | null | undefined;
3386
3389
  }, {
3387
- caseId: string;
3388
3390
  accountId: string;
3391
+ caseId: string;
3389
3392
  isRepeat?: boolean | null | undefined;
3390
3393
  }>;
3391
3394
  type: z.ZodLiteral<"LIFECYCLE_STARTED">;
3392
3395
  }, "strip", z.ZodTypeAny, {
3393
3396
  type: "LIFECYCLE_STARTED";
3394
3397
  data: {
3395
- caseId: string;
3396
3398
  accountId: string;
3399
+ caseId: string;
3397
3400
  isRepeat?: boolean | null | undefined;
3398
3401
  };
3399
3402
  }, {
3400
3403
  type: "LIFECYCLE_STARTED";
3401
3404
  data: {
3402
- caseId: string;
3403
3405
  accountId: string;
3406
+ caseId: string;
3404
3407
  isRepeat?: boolean | null | undefined;
3405
3408
  };
3406
3409
  }>, z.ZodObject<{
@@ -3576,10 +3579,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3576
3579
  elasticWarpEnabled?: boolean | null | undefined;
3577
3580
  } | null | undefined;
3578
3581
  } | null | undefined;
3579
- publishingDate?: Date | null | undefined;
3580
- isTransfer?: boolean | null | undefined;
3581
3582
  targetAccountId?: string | null | undefined;
3582
3583
  allowIfDeleted?: boolean | null | undefined;
3584
+ publishingDate?: Date | null | undefined;
3585
+ isTransfer?: boolean | null | undefined;
3583
3586
  }, {
3584
3587
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3585
3588
  payload?: {
@@ -3606,10 +3609,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3606
3609
  elasticWarpEnabled?: boolean | null | undefined;
3607
3610
  } | null | undefined;
3608
3611
  } | null | undefined;
3609
- publishingDate?: Date | null | undefined;
3610
- isTransfer?: boolean | null | undefined;
3611
3612
  targetAccountId?: string | null | undefined;
3612
3613
  allowIfDeleted?: boolean | null | undefined;
3614
+ publishingDate?: Date | null | undefined;
3615
+ isTransfer?: boolean | null | undefined;
3613
3616
  }>;
3614
3617
  type: z.ZodLiteral<"REPUBLISHING">;
3615
3618
  }, "strip", z.ZodTypeAny, {
@@ -3640,10 +3643,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3640
3643
  elasticWarpEnabled?: boolean | null | undefined;
3641
3644
  } | null | undefined;
3642
3645
  } | null | undefined;
3643
- publishingDate?: Date | null | undefined;
3644
- isTransfer?: boolean | null | undefined;
3645
3646
  targetAccountId?: string | null | undefined;
3646
3647
  allowIfDeleted?: boolean | null | undefined;
3648
+ publishingDate?: Date | null | undefined;
3649
+ isTransfer?: boolean | null | undefined;
3647
3650
  };
3648
3651
  }, {
3649
3652
  type: "REPUBLISHING";
@@ -3673,10 +3676,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3673
3676
  elasticWarpEnabled?: boolean | null | undefined;
3674
3677
  } | null | undefined;
3675
3678
  } | null | undefined;
3676
- publishingDate?: Date | null | undefined;
3677
- isTransfer?: boolean | null | undefined;
3678
3679
  targetAccountId?: string | null | undefined;
3679
3680
  allowIfDeleted?: boolean | null | undefined;
3681
+ publishingDate?: Date | null | undefined;
3682
+ isTransfer?: boolean | null | undefined;
3680
3683
  };
3681
3684
  }>, z.ZodObject<{
3682
3685
  data: z.ZodObject<{
@@ -3690,7 +3693,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3690
3693
  autoFixable: z.ZodBoolean;
3691
3694
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3692
3695
  }, "strip", z.ZodTypeAny, {
3693
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3696
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3694
3697
  autoFixable: boolean;
3695
3698
  error?: string | null | undefined;
3696
3699
  }, {
@@ -3805,9 +3808,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3805
3808
  } | null | undefined;
3806
3809
  }>>>;
3807
3810
  }, "strip", z.ZodTypeAny, {
3808
- maxAttempts: number;
3809
3811
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3810
3812
  attemptNumber: number;
3813
+ maxAttempts: number;
3811
3814
  previousHistoryId: string;
3812
3815
  originalFailureDate: Date;
3813
3816
  payload?: {
@@ -3835,14 +3838,14 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3835
3838
  } | null | undefined;
3836
3839
  } | null | undefined;
3837
3840
  fields?: {
3838
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3841
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3839
3842
  autoFixable: boolean;
3840
3843
  error?: string | null | undefined;
3841
3844
  }[] | null | undefined;
3842
3845
  }, {
3843
- maxAttempts: number;
3844
3846
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3845
3847
  attemptNumber: number;
3848
+ maxAttempts: number;
3846
3849
  previousHistoryId: string;
3847
3850
  originalFailureDate: Date;
3848
3851
  payload?: {
@@ -3879,9 +3882,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3879
3882
  }, "strip", z.ZodTypeAny, {
3880
3883
  type: "REPUBLISHING_RETRY";
3881
3884
  data: {
3882
- maxAttempts: number;
3883
3885
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3884
3886
  attemptNumber: number;
3887
+ maxAttempts: number;
3885
3888
  previousHistoryId: string;
3886
3889
  originalFailureDate: Date;
3887
3890
  payload?: {
@@ -3909,7 +3912,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3909
3912
  } | null | undefined;
3910
3913
  } | null | undefined;
3911
3914
  fields?: {
3912
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3915
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3913
3916
  autoFixable: boolean;
3914
3917
  error?: string | null | undefined;
3915
3918
  }[] | null | undefined;
@@ -3917,9 +3920,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3917
3920
  }, {
3918
3921
  type: "REPUBLISHING_RETRY";
3919
3922
  data: {
3920
- maxAttempts: number;
3921
3923
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3922
3924
  attemptNumber: number;
3925
+ maxAttempts: number;
3923
3926
  previousHistoryId: string;
3924
3927
  originalFailureDate: Date;
3925
3928
  payload?: {
@@ -3988,7 +3991,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3988
3991
  autoFixable: z.ZodBoolean;
3989
3992
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3990
3993
  }, "strip", z.ZodTypeAny, {
3991
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3994
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3992
3995
  autoFixable: boolean;
3993
3996
  error?: string | null | undefined;
3994
3997
  }, {
@@ -3997,20 +4000,20 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
3997
4000
  error?: string | null | undefined;
3998
4001
  }>, "many">>>;
3999
4002
  }, "strip", z.ZodTypeAny, {
4000
- maxAttempts: number;
4001
4003
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4002
4004
  attemptNumber: number;
4005
+ maxAttempts: number;
4003
4006
  previousHistoryId: string;
4004
4007
  originalFailureDate: Date;
4005
4008
  fields?: {
4006
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4009
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4007
4010
  autoFixable: boolean;
4008
4011
  error?: string | null | undefined;
4009
4012
  }[] | null | undefined;
4010
4013
  }, {
4011
- maxAttempts: number;
4012
4014
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4013
4015
  attemptNumber: number;
4016
+ maxAttempts: number;
4014
4017
  previousHistoryId: string;
4015
4018
  originalFailureDate: Date;
4016
4019
  fields?: {
@@ -4023,13 +4026,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4023
4026
  }, "strip", z.ZodTypeAny, {
4024
4027
  type: "SCHEDULED_RETRY";
4025
4028
  data: {
4026
- maxAttempts: number;
4027
4029
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4028
4030
  attemptNumber: number;
4031
+ maxAttempts: number;
4029
4032
  previousHistoryId: string;
4030
4033
  originalFailureDate: Date;
4031
4034
  fields?: {
4032
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4035
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4033
4036
  autoFixable: boolean;
4034
4037
  error?: string | null | undefined;
4035
4038
  }[] | null | undefined;
@@ -4037,9 +4040,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4037
4040
  }, {
4038
4041
  type: "SCHEDULED_RETRY";
4039
4042
  data: {
4040
- maxAttempts: number;
4041
4043
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4042
4044
  attemptNumber: number;
4045
+ maxAttempts: number;
4043
4046
  previousHistoryId: string;
4044
4047
  originalFailureDate: Date;
4045
4048
  fields?: {
@@ -4196,11 +4199,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4196
4199
  id: string;
4197
4200
  createdAt: Date;
4198
4201
  itemId: number;
4202
+ accountId?: string | null | undefined;
4199
4203
  data?: {
4200
4204
  type: "ACTION_CANCELED";
4201
4205
  data: {
4202
4206
  targetItemHistoryId: string;
4203
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
4207
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
4204
4208
  details?: string | null | undefined;
4205
4209
  };
4206
4210
  } | {
@@ -4231,7 +4235,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4231
4235
  accountId?: string | null | undefined;
4232
4236
  reason?: string | null | undefined;
4233
4237
  fields?: {
4234
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4238
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4235
4239
  autoFixable: boolean;
4236
4240
  error?: string | null | undefined;
4237
4241
  }[] | null | undefined;
@@ -4261,23 +4265,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4261
4265
  post: {
4262
4266
  platformId: string;
4263
4267
  post: {
4268
+ size?: string | null | undefined;
4264
4269
  status?: string | null | undefined;
4265
4270
  title?: string | null | undefined;
4266
4271
  description?: string | null | undefined;
4267
- brand?: string | null | undefined;
4268
- statusId?: number | null | undefined;
4269
- sizeId?: number | null | undefined;
4270
- colorIds?: number[] | null | undefined;
4271
- packageSizeId?: number | null | undefined;
4272
4272
  price?: number | null | undefined;
4273
4273
  currency?: string | null | undefined;
4274
+ brand?: string | null | undefined;
4274
4275
  catalog?: string | null | undefined;
4275
4276
  catalogId?: number | null | undefined;
4276
4277
  colors?: string[] | null | undefined;
4278
+ colorIds?: number[] | null | undefined;
4277
4279
  measurementLength?: number | null | undefined;
4278
4280
  measurementWidth?: number | null | undefined;
4281
+ packageSizeId?: number | null | undefined;
4279
4282
  photoUrls?: string[] | null | undefined;
4280
- size?: string | null | undefined;
4283
+ sizeId?: number | null | undefined;
4284
+ statusId?: number | null | undefined;
4281
4285
  isDraft?: boolean | null | undefined;
4282
4286
  isArchived?: boolean | null | undefined;
4283
4287
  isUnisex?: boolean | null | undefined;
@@ -4320,8 +4324,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4320
4324
  } | {
4321
4325
  type: "LIFECYCLE_STARTED";
4322
4326
  data: {
4323
- caseId: string;
4324
4327
  accountId: string;
4328
+ caseId: string;
4325
4329
  isRepeat?: boolean | null | undefined;
4326
4330
  };
4327
4331
  } | {
@@ -4360,17 +4364,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4360
4364
  elasticWarpEnabled?: boolean | null | undefined;
4361
4365
  } | null | undefined;
4362
4366
  } | null | undefined;
4363
- publishingDate?: Date | null | undefined;
4364
- isTransfer?: boolean | null | undefined;
4365
4367
  targetAccountId?: string | null | undefined;
4366
4368
  allowIfDeleted?: boolean | null | undefined;
4369
+ publishingDate?: Date | null | undefined;
4370
+ isTransfer?: boolean | null | undefined;
4367
4371
  };
4368
4372
  } | {
4369
4373
  type: "REPUBLISHING_RETRY";
4370
4374
  data: {
4371
- maxAttempts: number;
4372
4375
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4373
4376
  attemptNumber: number;
4377
+ maxAttempts: number;
4374
4378
  previousHistoryId: string;
4375
4379
  originalFailureDate: Date;
4376
4380
  payload?: {
@@ -4398,7 +4402,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4398
4402
  } | null | undefined;
4399
4403
  } | null | undefined;
4400
4404
  fields?: {
4401
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4405
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4402
4406
  autoFixable: boolean;
4403
4407
  error?: string | null | undefined;
4404
4408
  }[] | null | undefined;
@@ -4412,13 +4416,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4412
4416
  } | {
4413
4417
  type: "SCHEDULED_RETRY";
4414
4418
  data: {
4415
- maxAttempts: number;
4416
4419
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4417
4420
  attemptNumber: number;
4421
+ maxAttempts: number;
4418
4422
  previousHistoryId: string;
4419
4423
  originalFailureDate: Date;
4420
4424
  fields?: {
4421
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4425
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4422
4426
  autoFixable: boolean;
4423
4427
  error?: string | null | undefined;
4424
4428
  }[] | null | undefined;
@@ -4447,7 +4451,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4447
4451
  targetDate?: Date | null | undefined;
4448
4452
  };
4449
4453
  } | null | undefined;
4450
- accountId?: string | null | undefined;
4451
4454
  targetDate?: Date | null | undefined;
4452
4455
  requestId?: string | null | undefined;
4453
4456
  targetHistoryId?: string | null | undefined;
@@ -4456,6 +4459,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4456
4459
  createdAt: Date;
4457
4460
  itemId: number;
4458
4461
  type?: unknown;
4462
+ accountId?: string | null | undefined;
4459
4463
  data?: {
4460
4464
  type: "ACTION_CANCELED";
4461
4465
  data: {
@@ -4521,23 +4525,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4521
4525
  post: {
4522
4526
  platformId: string;
4523
4527
  post: {
4528
+ size?: string | null | undefined;
4524
4529
  status?: string | null | undefined;
4525
4530
  title?: string | null | undefined;
4526
4531
  description?: string | null | undefined;
4527
- brand?: string | null | undefined;
4528
- statusId?: number | null | undefined;
4529
- sizeId?: number | null | undefined;
4530
- colorIds?: number[] | null | undefined;
4531
- packageSizeId?: number | null | undefined;
4532
4532
  price?: number | null | undefined;
4533
4533
  currency?: string | null | undefined;
4534
+ brand?: string | null | undefined;
4534
4535
  catalog?: string | null | undefined;
4535
4536
  catalogId?: number | null | undefined;
4536
4537
  colors?: string[] | null | undefined;
4538
+ colorIds?: number[] | null | undefined;
4537
4539
  measurementLength?: number | null | undefined;
4538
4540
  measurementWidth?: number | null | undefined;
4541
+ packageSizeId?: number | null | undefined;
4539
4542
  photoUrls?: string[] | null | undefined;
4540
- size?: string | null | undefined;
4543
+ sizeId?: number | null | undefined;
4544
+ statusId?: number | null | undefined;
4541
4545
  isDraft?: boolean | null | undefined;
4542
4546
  isArchived?: boolean | null | undefined;
4543
4547
  isUnisex?: boolean | null | undefined;
@@ -4580,8 +4584,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4580
4584
  } | {
4581
4585
  type: "LIFECYCLE_STARTED";
4582
4586
  data: {
4583
- caseId: string;
4584
4587
  accountId: string;
4588
+ caseId: string;
4585
4589
  isRepeat?: boolean | null | undefined;
4586
4590
  };
4587
4591
  } | {
@@ -4620,17 +4624,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4620
4624
  elasticWarpEnabled?: boolean | null | undefined;
4621
4625
  } | null | undefined;
4622
4626
  } | null | undefined;
4623
- publishingDate?: Date | null | undefined;
4624
- isTransfer?: boolean | null | undefined;
4625
4627
  targetAccountId?: string | null | undefined;
4626
4628
  allowIfDeleted?: boolean | null | undefined;
4629
+ publishingDate?: Date | null | undefined;
4630
+ isTransfer?: boolean | null | undefined;
4627
4631
  };
4628
4632
  } | {
4629
4633
  type: "REPUBLISHING_RETRY";
4630
4634
  data: {
4631
- maxAttempts: number;
4632
4635
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4633
4636
  attemptNumber: number;
4637
+ maxAttempts: number;
4634
4638
  previousHistoryId: string;
4635
4639
  originalFailureDate: Date;
4636
4640
  payload?: {
@@ -4672,9 +4676,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4672
4676
  } | {
4673
4677
  type: "SCHEDULED_RETRY";
4674
4678
  data: {
4675
- maxAttempts: number;
4676
4679
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4677
4680
  attemptNumber: number;
4681
+ maxAttempts: number;
4678
4682
  previousHistoryId: string;
4679
4683
  originalFailureDate: Date;
4680
4684
  fields?: {
@@ -4707,7 +4711,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4707
4711
  targetDate?: Date | null | undefined;
4708
4712
  };
4709
4713
  } | null | undefined;
4710
- accountId?: string | null | undefined;
4711
4714
  targetDate?: Date | null | undefined;
4712
4715
  requestId?: string | null | undefined;
4713
4716
  targetHistoryId?: string | null | undefined;
@@ -4717,42 +4720,26 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4717
4720
  analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
4718
4721
  analysisRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4719
4722
  }, "strip", z.ZodTypeAny, {
4720
- name: string;
4721
4723
  id: number;
4722
- createdAt: Date;
4723
4724
  userId: number;
4725
+ name: string;
4726
+ createdAt: Date;
4724
4727
  updatedAt: Date;
4725
4728
  sold: boolean;
4726
- fees?: {
4727
- value: number;
4728
- type: string;
4729
- name: string;
4730
- id: number;
4731
- createdAt: Date;
4732
- userId: number;
4733
- updatedAt: Date;
4734
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
4735
- startDate: Date;
4736
- active: boolean;
4737
- description?: string | null | undefined;
4738
- itemId?: number | null | undefined;
4739
- endDate?: Date | null | undefined;
4740
- parentFeeId?: number | null | undefined;
4741
- }[] | null | undefined;
4742
4729
  description?: string | null | undefined;
4743
4730
  categoryId?: number | null | undefined;
4744
- sizeId?: number | null | undefined;
4745
- colorIds?: number[] | null | undefined;
4746
- packageSizeId?: number | null | undefined;
4747
4731
  state?: number | null | undefined;
4732
+ colorIds?: number[] | null | undefined;
4748
4733
  measurementLength?: number | null | undefined;
4749
4734
  measurementWidth?: number | null | undefined;
4735
+ packageSizeId?: number | null | undefined;
4736
+ sizeId?: number | null | undefined;
4750
4737
  labels?: {
4751
4738
  itemId: number;
4752
4739
  labelId: number;
4753
4740
  label?: {
4754
- name: string;
4755
4741
  id: number;
4742
+ name: string;
4756
4743
  createdAt: Date;
4757
4744
  isUserLabel: boolean;
4758
4745
  itemCount?: number | null | undefined;
@@ -4765,85 +4752,50 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4765
4752
  fieldKey: string;
4766
4753
  }[] | null | undefined;
4767
4754
  sku?: string | null | undefined;
4768
- sex?: string | null | undefined;
4769
- platforms?: {
4770
- status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
4771
- id: string;
4772
- createdAt: Date;
4773
- accountId: string;
4774
- itemId: number;
4775
- platformId: string;
4776
- platformUrl: string;
4777
- platformPrice: number;
4778
- updatedAt: Date;
4779
- publishedAt: Date;
4780
- conversationId?: string | null | undefined;
4781
- boostedAt?: Date | null | undefined;
4782
- boostedUntil?: Date | null | undefined;
4783
- viewsCount?: number | null | undefined;
4784
- favoritesCount?: number | null | undefined;
4785
- account?: {
4786
- status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4787
- name: string;
4788
- userId: number;
4789
- accountId: string;
4790
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4791
- locale?: string | null | undefined;
4792
- lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
4793
- restrictedUntil?: Date | null | undefined;
4794
- night?: {
4795
- startsAt: Date;
4796
- endsAt: Date;
4797
- } | null | undefined;
4798
- favoritesMaxDelay?: number | null | undefined;
4799
- ordersMaxDelay?: number | null | undefined;
4800
- conversationsMaxDelay?: number | null | undefined;
4801
- walletMaxDelay?: number | null | undefined;
4802
- availableBalance?: number | null | undefined;
4803
- pendingBalance?: number | null | undefined;
4804
- profilePictureFileId?: string | null | undefined;
4805
- profilePicture?: {
4806
- path: string;
4807
- id: string;
4808
- createdAt: Date;
4809
- userId: number;
4810
- signedUrl: string;
4811
- status?: "PENDING" | "CONFIRMED" | null | undefined;
4812
- } | null | undefined;
4813
- cooldownEndsAt?: Date | null | undefined;
4814
- walletActivationRequiredAt?: Date | null | undefined;
4815
- phoneNumberRequiredAt?: Date | null | undefined;
4816
- } | null | undefined;
4817
- orderStatus?: "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" | null | undefined;
4818
- orderType?: "SALE" | "PURCHASE" | null | undefined;
4819
- }[] | null | undefined;
4820
- brandId?: number | null | undefined;
4821
- estimatedPrice?: number | null | undefined;
4822
- purchaseDate?: Date | null | undefined;
4823
- sellingDate?: Date | null | undefined;
4824
4755
  fields?: {
4825
4756
  value: string;
4826
4757
  itemId: number;
4827
4758
  fieldId: number;
4828
4759
  }[] | null | undefined;
4829
4760
  files?: {
4830
- fileId: string;
4831
4761
  itemId: number;
4762
+ fileId: string;
4832
4763
  file?: {
4833
4764
  path: string;
4834
4765
  id: string;
4835
- createdAt: Date;
4836
4766
  userId: number;
4767
+ createdAt: Date;
4837
4768
  signedUrl: string;
4838
4769
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4839
4770
  } | null | undefined;
4840
4771
  index?: number | null | undefined;
4841
4772
  }[] | null | undefined;
4773
+ brandId?: number | null | undefined;
4774
+ sex?: string | null | undefined;
4842
4775
  purchasePrice?: number | null | undefined;
4776
+ purchaseDate?: Date | null | undefined;
4843
4777
  purchasePlaceId?: number | null | undefined;
4844
4778
  purchased?: boolean | null | undefined;
4845
4779
  sellingPrice?: number | null | undefined;
4780
+ sellingDate?: Date | null | undefined;
4846
4781
  sellingPlaceId?: number | null | undefined;
4782
+ estimatedPrice?: number | null | undefined;
4783
+ fees?: {
4784
+ value: number;
4785
+ type: string;
4786
+ id: number;
4787
+ userId: number;
4788
+ name: string;
4789
+ createdAt: Date;
4790
+ updatedAt: Date;
4791
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
4792
+ startDate: Date;
4793
+ active: boolean;
4794
+ description?: string | null | undefined;
4795
+ itemId?: number | null | undefined;
4796
+ endDate?: Date | null | undefined;
4797
+ parentFeeId?: number | null | undefined;
4798
+ }[] | null | undefined;
4847
4799
  feesSum?: number | null | undefined;
4848
4800
  materialIds?: number[] | null | undefined;
4849
4801
  enumValues?: {
@@ -4859,11 +4811,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4859
4811
  id: string;
4860
4812
  createdAt: Date;
4861
4813
  itemId: number;
4814
+ accountId?: string | null | undefined;
4862
4815
  data?: {
4863
4816
  type: "ACTION_CANCELED";
4864
4817
  data: {
4865
4818
  targetItemHistoryId: string;
4866
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
4819
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
4867
4820
  details?: string | null | undefined;
4868
4821
  };
4869
4822
  } | {
@@ -4894,7 +4847,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4894
4847
  accountId?: string | null | undefined;
4895
4848
  reason?: string | null | undefined;
4896
4849
  fields?: {
4897
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4850
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4898
4851
  autoFixable: boolean;
4899
4852
  error?: string | null | undefined;
4900
4853
  }[] | null | undefined;
@@ -4924,23 +4877,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4924
4877
  post: {
4925
4878
  platformId: string;
4926
4879
  post: {
4880
+ size?: string | null | undefined;
4927
4881
  status?: string | null | undefined;
4928
4882
  title?: string | null | undefined;
4929
4883
  description?: string | null | undefined;
4930
- brand?: string | null | undefined;
4931
- statusId?: number | null | undefined;
4932
- sizeId?: number | null | undefined;
4933
- colorIds?: number[] | null | undefined;
4934
- packageSizeId?: number | null | undefined;
4935
4884
  price?: number | null | undefined;
4936
4885
  currency?: string | null | undefined;
4886
+ brand?: string | null | undefined;
4937
4887
  catalog?: string | null | undefined;
4938
4888
  catalogId?: number | null | undefined;
4939
4889
  colors?: string[] | null | undefined;
4890
+ colorIds?: number[] | null | undefined;
4940
4891
  measurementLength?: number | null | undefined;
4941
4892
  measurementWidth?: number | null | undefined;
4893
+ packageSizeId?: number | null | undefined;
4942
4894
  photoUrls?: string[] | null | undefined;
4943
- size?: string | null | undefined;
4895
+ sizeId?: number | null | undefined;
4896
+ statusId?: number | null | undefined;
4944
4897
  isDraft?: boolean | null | undefined;
4945
4898
  isArchived?: boolean | null | undefined;
4946
4899
  isUnisex?: boolean | null | undefined;
@@ -4983,8 +4936,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
4983
4936
  } | {
4984
4937
  type: "LIFECYCLE_STARTED";
4985
4938
  data: {
4986
- caseId: string;
4987
4939
  accountId: string;
4940
+ caseId: string;
4988
4941
  isRepeat?: boolean | null | undefined;
4989
4942
  };
4990
4943
  } | {
@@ -5023,17 +4976,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5023
4976
  elasticWarpEnabled?: boolean | null | undefined;
5024
4977
  } | null | undefined;
5025
4978
  } | null | undefined;
5026
- publishingDate?: Date | null | undefined;
5027
- isTransfer?: boolean | null | undefined;
5028
4979
  targetAccountId?: string | null | undefined;
5029
4980
  allowIfDeleted?: boolean | null | undefined;
4981
+ publishingDate?: Date | null | undefined;
4982
+ isTransfer?: boolean | null | undefined;
5030
4983
  };
5031
4984
  } | {
5032
4985
  type: "REPUBLISHING_RETRY";
5033
4986
  data: {
5034
- maxAttempts: number;
5035
4987
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5036
4988
  attemptNumber: number;
4989
+ maxAttempts: number;
5037
4990
  previousHistoryId: string;
5038
4991
  originalFailureDate: Date;
5039
4992
  payload?: {
@@ -5061,7 +5014,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5061
5014
  } | null | undefined;
5062
5015
  } | null | undefined;
5063
5016
  fields?: {
5064
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5017
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5065
5018
  autoFixable: boolean;
5066
5019
  error?: string | null | undefined;
5067
5020
  }[] | null | undefined;
@@ -5075,13 +5028,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5075
5028
  } | {
5076
5029
  type: "SCHEDULED_RETRY";
5077
5030
  data: {
5078
- maxAttempts: number;
5079
5031
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5080
5032
  attemptNumber: number;
5033
+ maxAttempts: number;
5081
5034
  previousHistoryId: string;
5082
5035
  originalFailureDate: Date;
5083
5036
  fields?: {
5084
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5037
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5085
5038
  autoFixable: boolean;
5086
5039
  error?: string | null | undefined;
5087
5040
  }[] | null | undefined;
@@ -5110,22 +5063,74 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5110
5063
  targetDate?: Date | null | undefined;
5111
5064
  };
5112
5065
  } | null | undefined;
5113
- accountId?: string | null | undefined;
5114
5066
  targetDate?: Date | null | undefined;
5115
5067
  requestId?: string | null | undefined;
5116
5068
  targetHistoryId?: string | null | undefined;
5117
5069
  } | null | undefined;
5070
+ platforms?: {
5071
+ status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
5072
+ id: string;
5073
+ accountId: string;
5074
+ createdAt: Date;
5075
+ itemId: number;
5076
+ platformId: string;
5077
+ platformUrl: string;
5078
+ platformPrice: number;
5079
+ updatedAt: Date;
5080
+ publishedAt: Date;
5081
+ conversationId?: string | null | undefined;
5082
+ boostedAt?: Date | null | undefined;
5083
+ boostedUntil?: Date | null | undefined;
5084
+ viewsCount?: number | null | undefined;
5085
+ favoritesCount?: number | null | undefined;
5086
+ account?: {
5087
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
5088
+ accountId: string;
5089
+ userId: number;
5090
+ name: string;
5091
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5092
+ locale?: string | null | undefined;
5093
+ lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
5094
+ restrictedUntil?: Date | null | undefined;
5095
+ night?: {
5096
+ startsAt: Date;
5097
+ endsAt: Date;
5098
+ } | null | undefined;
5099
+ favoritesMaxDelay?: number | null | undefined;
5100
+ ordersMaxDelay?: number | null | undefined;
5101
+ conversationsMaxDelay?: number | null | undefined;
5102
+ walletMaxDelay?: number | null | undefined;
5103
+ availableBalance?: number | null | undefined;
5104
+ pendingBalance?: number | null | undefined;
5105
+ profilePictureFileId?: string | null | undefined;
5106
+ profilePicture?: {
5107
+ path: string;
5108
+ id: string;
5109
+ userId: number;
5110
+ createdAt: Date;
5111
+ signedUrl: string;
5112
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5113
+ } | null | undefined;
5114
+ cooldownEndsAt?: Date | null | undefined;
5115
+ walletActivationRequiredAt?: Date | null | undefined;
5116
+ phoneNumberRequiredAt?: Date | null | undefined;
5117
+ } | null | undefined;
5118
+ orderStatus?: "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" | null | undefined;
5119
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
5120
+ isBoosted?: boolean | null | undefined;
5121
+ }[] | null | undefined;
5118
5122
  analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
5119
5123
  history?: {
5120
5124
  type: "UNKNOWN" | "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DISPUTE_RESOLVED" | "PARCEL_LOST" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "BOOSTING" | "BOOSTED" | "BOOST_CANCELED" | "FAILED_TO_BOOST" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
5121
5125
  id: string;
5122
5126
  createdAt: Date;
5123
5127
  itemId: number;
5128
+ accountId?: string | null | undefined;
5124
5129
  data?: {
5125
5130
  type: "ACTION_CANCELED";
5126
5131
  data: {
5127
5132
  targetItemHistoryId: string;
5128
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
5133
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
5129
5134
  details?: string | null | undefined;
5130
5135
  };
5131
5136
  } | {
@@ -5156,7 +5161,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5156
5161
  accountId?: string | null | undefined;
5157
5162
  reason?: string | null | undefined;
5158
5163
  fields?: {
5159
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5164
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5160
5165
  autoFixable: boolean;
5161
5166
  error?: string | null | undefined;
5162
5167
  }[] | null | undefined;
@@ -5186,23 +5191,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5186
5191
  post: {
5187
5192
  platformId: string;
5188
5193
  post: {
5194
+ size?: string | null | undefined;
5189
5195
  status?: string | null | undefined;
5190
5196
  title?: string | null | undefined;
5191
5197
  description?: string | null | undefined;
5192
- brand?: string | null | undefined;
5193
- statusId?: number | null | undefined;
5194
- sizeId?: number | null | undefined;
5195
- colorIds?: number[] | null | undefined;
5196
- packageSizeId?: number | null | undefined;
5197
5198
  price?: number | null | undefined;
5198
5199
  currency?: string | null | undefined;
5200
+ brand?: string | null | undefined;
5199
5201
  catalog?: string | null | undefined;
5200
5202
  catalogId?: number | null | undefined;
5201
5203
  colors?: string[] | null | undefined;
5204
+ colorIds?: number[] | null | undefined;
5202
5205
  measurementLength?: number | null | undefined;
5203
5206
  measurementWidth?: number | null | undefined;
5207
+ packageSizeId?: number | null | undefined;
5204
5208
  photoUrls?: string[] | null | undefined;
5205
- size?: string | null | undefined;
5209
+ sizeId?: number | null | undefined;
5210
+ statusId?: number | null | undefined;
5206
5211
  isDraft?: boolean | null | undefined;
5207
5212
  isArchived?: boolean | null | undefined;
5208
5213
  isUnisex?: boolean | null | undefined;
@@ -5245,8 +5250,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5245
5250
  } | {
5246
5251
  type: "LIFECYCLE_STARTED";
5247
5252
  data: {
5248
- caseId: string;
5249
5253
  accountId: string;
5254
+ caseId: string;
5250
5255
  isRepeat?: boolean | null | undefined;
5251
5256
  };
5252
5257
  } | {
@@ -5285,17 +5290,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5285
5290
  elasticWarpEnabled?: boolean | null | undefined;
5286
5291
  } | null | undefined;
5287
5292
  } | null | undefined;
5288
- publishingDate?: Date | null | undefined;
5289
- isTransfer?: boolean | null | undefined;
5290
5293
  targetAccountId?: string | null | undefined;
5291
5294
  allowIfDeleted?: boolean | null | undefined;
5295
+ publishingDate?: Date | null | undefined;
5296
+ isTransfer?: boolean | null | undefined;
5292
5297
  };
5293
5298
  } | {
5294
5299
  type: "REPUBLISHING_RETRY";
5295
5300
  data: {
5296
- maxAttempts: number;
5297
5301
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5298
5302
  attemptNumber: number;
5303
+ maxAttempts: number;
5299
5304
  previousHistoryId: string;
5300
5305
  originalFailureDate: Date;
5301
5306
  payload?: {
@@ -5323,7 +5328,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5323
5328
  } | null | undefined;
5324
5329
  } | null | undefined;
5325
5330
  fields?: {
5326
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5331
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5327
5332
  autoFixable: boolean;
5328
5333
  error?: string | null | undefined;
5329
5334
  }[] | null | undefined;
@@ -5337,13 +5342,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5337
5342
  } | {
5338
5343
  type: "SCHEDULED_RETRY";
5339
5344
  data: {
5340
- maxAttempts: number;
5341
5345
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5342
5346
  attemptNumber: number;
5347
+ maxAttempts: number;
5343
5348
  previousHistoryId: string;
5344
5349
  originalFailureDate: Date;
5345
5350
  fields?: {
5346
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5351
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
5347
5352
  autoFixable: boolean;
5348
5353
  error?: string | null | undefined;
5349
5354
  }[] | null | undefined;
@@ -5372,49 +5377,32 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5372
5377
  targetDate?: Date | null | undefined;
5373
5378
  };
5374
5379
  } | null | undefined;
5375
- accountId?: string | null | undefined;
5376
5380
  targetDate?: Date | null | undefined;
5377
5381
  requestId?: string | null | undefined;
5378
5382
  targetHistoryId?: string | null | undefined;
5379
5383
  }[] | null | undefined;
5380
5384
  analysisRunId?: string | null | undefined;
5381
5385
  }, {
5382
- name: string;
5383
5386
  id: number;
5384
- createdAt: Date;
5385
5387
  userId: number;
5388
+ name: string;
5389
+ createdAt: Date;
5386
5390
  updatedAt: Date;
5387
5391
  sold: boolean;
5388
- fees?: {
5389
- value: number;
5390
- type: string;
5391
- name: string;
5392
- id: number;
5393
- createdAt: Date;
5394
- userId: number;
5395
- updatedAt: Date;
5396
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
5397
- startDate: Date;
5398
- active: boolean;
5399
- description?: string | null | undefined;
5400
- itemId?: number | null | undefined;
5401
- endDate?: Date | null | undefined;
5402
- parentFeeId?: number | null | undefined;
5403
- }[] | null | undefined;
5404
5392
  description?: string | null | undefined;
5405
5393
  categoryId?: number | null | undefined;
5406
- sizeId?: number | null | undefined;
5407
- colorIds?: number[] | null | undefined;
5408
- packageSizeId?: number | null | undefined;
5409
5394
  state?: number | null | undefined;
5395
+ colorIds?: number[] | null | undefined;
5410
5396
  measurementLength?: number | null | undefined;
5411
5397
  measurementWidth?: number | null | undefined;
5398
+ packageSizeId?: number | null | undefined;
5399
+ sizeId?: number | null | undefined;
5412
5400
  labels?: {
5413
5401
  itemId: number;
5414
5402
  labelId: number;
5415
5403
  label?: {
5416
- name: string;
5417
5404
  id: number;
5405
+ name: string;
5418
5406
  createdAt: Date;
5419
5407
  isUserLabel: boolean;
5420
5408
  itemCount?: number | null | undefined;
@@ -5427,85 +5415,50 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5427
5415
  fieldKey: string;
5428
5416
  }[] | null | undefined;
5429
5417
  sku?: string | null | undefined;
5430
- sex?: string | null | undefined;
5431
- platforms?: {
5432
- id: string;
5433
- createdAt: Date;
5434
- accountId: string;
5435
- itemId: number;
5436
- platformId: string;
5437
- platformUrl: string;
5438
- platformPrice: number;
5439
- updatedAt: Date;
5440
- publishedAt: Date;
5441
- status?: unknown;
5442
- conversationId?: string | null | undefined;
5443
- boostedAt?: Date | null | undefined;
5444
- boostedUntil?: Date | null | undefined;
5445
- viewsCount?: number | null | undefined;
5446
- favoritesCount?: number | null | undefined;
5447
- account?: {
5448
- name: string;
5449
- userId: number;
5450
- accountId: string;
5451
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5452
- status?: unknown;
5453
- locale?: string | null | undefined;
5454
- lockReason?: unknown;
5455
- restrictedUntil?: Date | null | undefined;
5456
- night?: {
5457
- startsAt: Date;
5458
- endsAt: Date;
5459
- } | null | undefined;
5460
- favoritesMaxDelay?: number | null | undefined;
5461
- ordersMaxDelay?: number | null | undefined;
5462
- conversationsMaxDelay?: number | null | undefined;
5463
- walletMaxDelay?: number | null | undefined;
5464
- availableBalance?: number | null | undefined;
5465
- pendingBalance?: number | null | undefined;
5466
- profilePictureFileId?: string | null | undefined;
5467
- profilePicture?: {
5468
- path: string;
5469
- id: string;
5470
- createdAt: Date;
5471
- userId: number;
5472
- signedUrl: string;
5473
- status?: "PENDING" | "CONFIRMED" | null | undefined;
5474
- } | null | undefined;
5475
- cooldownEndsAt?: Date | null | undefined;
5476
- walletActivationRequiredAt?: Date | null | undefined;
5477
- phoneNumberRequiredAt?: Date | null | undefined;
5478
- } | null | undefined;
5479
- orderStatus?: unknown;
5480
- orderType?: "SALE" | "PURCHASE" | null | undefined;
5481
- }[] | null | undefined;
5482
- brandId?: number | null | undefined;
5483
- estimatedPrice?: number | null | undefined;
5484
- purchaseDate?: Date | null | undefined;
5485
- sellingDate?: Date | null | undefined;
5486
5418
  fields?: {
5487
5419
  value: string;
5488
5420
  itemId: number;
5489
5421
  fieldId: number;
5490
5422
  }[] | null | undefined;
5491
5423
  files?: {
5492
- fileId: string;
5493
5424
  itemId: number;
5425
+ fileId: string;
5494
5426
  file?: {
5495
5427
  path: string;
5496
5428
  id: string;
5497
- createdAt: Date;
5498
5429
  userId: number;
5430
+ createdAt: Date;
5499
5431
  signedUrl: string;
5500
5432
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5501
5433
  } | null | undefined;
5502
5434
  index?: number | null | undefined;
5503
5435
  }[] | null | undefined;
5436
+ brandId?: number | null | undefined;
5437
+ sex?: string | null | undefined;
5504
5438
  purchasePrice?: number | null | undefined;
5439
+ purchaseDate?: Date | null | undefined;
5505
5440
  purchasePlaceId?: number | null | undefined;
5506
5441
  purchased?: boolean | null | undefined;
5507
5442
  sellingPrice?: number | null | undefined;
5443
+ sellingDate?: Date | null | undefined;
5508
5444
  sellingPlaceId?: number | null | undefined;
5445
+ estimatedPrice?: number | null | undefined;
5446
+ fees?: {
5447
+ value: number;
5448
+ type: string;
5449
+ id: number;
5450
+ userId: number;
5451
+ name: string;
5452
+ createdAt: Date;
5453
+ updatedAt: Date;
5454
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
5455
+ startDate: Date;
5456
+ active: boolean;
5457
+ description?: string | null | undefined;
5458
+ itemId?: number | null | undefined;
5459
+ endDate?: Date | null | undefined;
5460
+ parentFeeId?: number | null | undefined;
5461
+ }[] | null | undefined;
5509
5462
  feesSum?: number | null | undefined;
5510
5463
  materialIds?: number[] | null | undefined;
5511
5464
  enumValues?: {
@@ -5521,6 +5474,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5521
5474
  createdAt: Date;
5522
5475
  itemId: number;
5523
5476
  type?: unknown;
5477
+ accountId?: string | null | undefined;
5524
5478
  data?: {
5525
5479
  type: "ACTION_CANCELED";
5526
5480
  data: {
@@ -5586,23 +5540,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5586
5540
  post: {
5587
5541
  platformId: string;
5588
5542
  post: {
5543
+ size?: string | null | undefined;
5589
5544
  status?: string | null | undefined;
5590
5545
  title?: string | null | undefined;
5591
5546
  description?: string | null | undefined;
5592
- brand?: string | null | undefined;
5593
- statusId?: number | null | undefined;
5594
- sizeId?: number | null | undefined;
5595
- colorIds?: number[] | null | undefined;
5596
- packageSizeId?: number | null | undefined;
5597
5547
  price?: number | null | undefined;
5598
5548
  currency?: string | null | undefined;
5549
+ brand?: string | null | undefined;
5599
5550
  catalog?: string | null | undefined;
5600
5551
  catalogId?: number | null | undefined;
5601
5552
  colors?: string[] | null | undefined;
5553
+ colorIds?: number[] | null | undefined;
5602
5554
  measurementLength?: number | null | undefined;
5603
5555
  measurementWidth?: number | null | undefined;
5556
+ packageSizeId?: number | null | undefined;
5604
5557
  photoUrls?: string[] | null | undefined;
5605
- size?: string | null | undefined;
5558
+ sizeId?: number | null | undefined;
5559
+ statusId?: number | null | undefined;
5606
5560
  isDraft?: boolean | null | undefined;
5607
5561
  isArchived?: boolean | null | undefined;
5608
5562
  isUnisex?: boolean | null | undefined;
@@ -5645,8 +5599,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5645
5599
  } | {
5646
5600
  type: "LIFECYCLE_STARTED";
5647
5601
  data: {
5648
- caseId: string;
5649
5602
  accountId: string;
5603
+ caseId: string;
5650
5604
  isRepeat?: boolean | null | undefined;
5651
5605
  };
5652
5606
  } | {
@@ -5685,17 +5639,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5685
5639
  elasticWarpEnabled?: boolean | null | undefined;
5686
5640
  } | null | undefined;
5687
5641
  } | null | undefined;
5688
- publishingDate?: Date | null | undefined;
5689
- isTransfer?: boolean | null | undefined;
5690
5642
  targetAccountId?: string | null | undefined;
5691
5643
  allowIfDeleted?: boolean | null | undefined;
5644
+ publishingDate?: Date | null | undefined;
5645
+ isTransfer?: boolean | null | undefined;
5692
5646
  };
5693
5647
  } | {
5694
5648
  type: "REPUBLISHING_RETRY";
5695
5649
  data: {
5696
- maxAttempts: number;
5697
5650
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5698
5651
  attemptNumber: number;
5652
+ maxAttempts: number;
5699
5653
  previousHistoryId: string;
5700
5654
  originalFailureDate: Date;
5701
5655
  payload?: {
@@ -5737,9 +5691,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5737
5691
  } | {
5738
5692
  type: "SCHEDULED_RETRY";
5739
5693
  data: {
5740
- maxAttempts: number;
5741
5694
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5742
5695
  attemptNumber: number;
5696
+ maxAttempts: number;
5743
5697
  previousHistoryId: string;
5744
5698
  originalFailureDate: Date;
5745
5699
  fields?: {
@@ -5772,17 +5726,69 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5772
5726
  targetDate?: Date | null | undefined;
5773
5727
  };
5774
5728
  } | null | undefined;
5775
- accountId?: string | null | undefined;
5776
5729
  targetDate?: Date | null | undefined;
5777
5730
  requestId?: string | null | undefined;
5778
5731
  targetHistoryId?: string | null | undefined;
5779
5732
  } | null | undefined;
5780
- analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
5781
- history?: {
5733
+ platforms?: {
5734
+ id: string;
5735
+ accountId: string;
5736
+ createdAt: Date;
5737
+ itemId: number;
5738
+ platformId: string;
5739
+ platformUrl: string;
5740
+ platformPrice: number;
5741
+ updatedAt: Date;
5742
+ publishedAt: Date;
5743
+ status?: unknown;
5744
+ conversationId?: string | null | undefined;
5745
+ boostedAt?: Date | null | undefined;
5746
+ boostedUntil?: Date | null | undefined;
5747
+ viewsCount?: number | null | undefined;
5748
+ favoritesCount?: number | null | undefined;
5749
+ account?: {
5750
+ accountId: string;
5751
+ userId: number;
5752
+ name: string;
5753
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5754
+ status?: unknown;
5755
+ locale?: string | null | undefined;
5756
+ lockReason?: unknown;
5757
+ restrictedUntil?: Date | null | undefined;
5758
+ night?: {
5759
+ startsAt: Date;
5760
+ endsAt: Date;
5761
+ } | null | undefined;
5762
+ favoritesMaxDelay?: number | null | undefined;
5763
+ ordersMaxDelay?: number | null | undefined;
5764
+ conversationsMaxDelay?: number | null | undefined;
5765
+ walletMaxDelay?: number | null | undefined;
5766
+ availableBalance?: number | null | undefined;
5767
+ pendingBalance?: number | null | undefined;
5768
+ profilePictureFileId?: string | null | undefined;
5769
+ profilePicture?: {
5770
+ path: string;
5771
+ id: string;
5772
+ userId: number;
5773
+ createdAt: Date;
5774
+ signedUrl: string;
5775
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5776
+ } | null | undefined;
5777
+ cooldownEndsAt?: Date | null | undefined;
5778
+ walletActivationRequiredAt?: Date | null | undefined;
5779
+ phoneNumberRequiredAt?: Date | null | undefined;
5780
+ } | null | undefined;
5781
+ orderStatus?: unknown;
5782
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
5783
+ isBoosted?: boolean | null | undefined;
5784
+ }[] | null | undefined;
5785
+ analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
5786
+ history?: {
5782
5787
  id: string;
5783
5788
  createdAt: Date;
5784
5789
  itemId: number;
5785
5790
  type?: unknown;
5791
+ accountId?: string | null | undefined;
5786
5792
  data?: {
5787
5793
  type: "ACTION_CANCELED";
5788
5794
  data: {
@@ -5848,23 +5854,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5848
5854
  post: {
5849
5855
  platformId: string;
5850
5856
  post: {
5857
+ size?: string | null | undefined;
5851
5858
  status?: string | null | undefined;
5852
5859
  title?: string | null | undefined;
5853
5860
  description?: string | null | undefined;
5854
- brand?: string | null | undefined;
5855
- statusId?: number | null | undefined;
5856
- sizeId?: number | null | undefined;
5857
- colorIds?: number[] | null | undefined;
5858
- packageSizeId?: number | null | undefined;
5859
5861
  price?: number | null | undefined;
5860
5862
  currency?: string | null | undefined;
5863
+ brand?: string | null | undefined;
5861
5864
  catalog?: string | null | undefined;
5862
5865
  catalogId?: number | null | undefined;
5863
5866
  colors?: string[] | null | undefined;
5867
+ colorIds?: number[] | null | undefined;
5864
5868
  measurementLength?: number | null | undefined;
5865
5869
  measurementWidth?: number | null | undefined;
5870
+ packageSizeId?: number | null | undefined;
5866
5871
  photoUrls?: string[] | null | undefined;
5867
- size?: string | null | undefined;
5872
+ sizeId?: number | null | undefined;
5873
+ statusId?: number | null | undefined;
5868
5874
  isDraft?: boolean | null | undefined;
5869
5875
  isArchived?: boolean | null | undefined;
5870
5876
  isUnisex?: boolean | null | undefined;
@@ -5907,8 +5913,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5907
5913
  } | {
5908
5914
  type: "LIFECYCLE_STARTED";
5909
5915
  data: {
5910
- caseId: string;
5911
5916
  accountId: string;
5917
+ caseId: string;
5912
5918
  isRepeat?: boolean | null | undefined;
5913
5919
  };
5914
5920
  } | {
@@ -5947,17 +5953,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5947
5953
  elasticWarpEnabled?: boolean | null | undefined;
5948
5954
  } | null | undefined;
5949
5955
  } | null | undefined;
5950
- publishingDate?: Date | null | undefined;
5951
- isTransfer?: boolean | null | undefined;
5952
5956
  targetAccountId?: string | null | undefined;
5953
5957
  allowIfDeleted?: boolean | null | undefined;
5958
+ publishingDate?: Date | null | undefined;
5959
+ isTransfer?: boolean | null | undefined;
5954
5960
  };
5955
5961
  } | {
5956
5962
  type: "REPUBLISHING_RETRY";
5957
5963
  data: {
5958
- maxAttempts: number;
5959
5964
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5960
5965
  attemptNumber: number;
5966
+ maxAttempts: number;
5961
5967
  previousHistoryId: string;
5962
5968
  originalFailureDate: Date;
5963
5969
  payload?: {
@@ -5999,9 +6005,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
5999
6005
  } | {
6000
6006
  type: "SCHEDULED_RETRY";
6001
6007
  data: {
6002
- maxAttempts: number;
6003
6008
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6004
6009
  attemptNumber: number;
6010
+ maxAttempts: number;
6005
6011
  previousHistoryId: string;
6006
6012
  originalFailureDate: Date;
6007
6013
  fields?: {
@@ -6034,7 +6040,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6034
6040
  targetDate?: Date | null | undefined;
6035
6041
  };
6036
6042
  } | null | undefined;
6037
- accountId?: string | null | undefined;
6038
6043
  targetDate?: Date | null | undefined;
6039
6044
  requestId?: string | null | undefined;
6040
6045
  targetHistoryId?: string | null | undefined;
@@ -6192,23 +6197,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6192
6197
  status: string;
6193
6198
  title: string;
6194
6199
  description: string;
6195
- brand: string;
6196
- statusId: number;
6197
- packageSizeId: number;
6198
6200
  price: number;
6201
+ brand: string;
6199
6202
  catalog: string;
6200
6203
  catalogId: number;
6204
+ packageSizeId: number;
6201
6205
  photoUrls: string[];
6206
+ statusId: number;
6202
6207
  isDraft: boolean;
6203
6208
  isArchived: boolean;
6204
6209
  availableQuantity: number;
6205
- sizeId?: number | null | undefined;
6206
- colorIds?: number[] | null | undefined;
6210
+ size?: string | null | undefined;
6207
6211
  currency?: string | null | undefined;
6208
6212
  colors?: string[] | null | undefined;
6213
+ colorIds?: number[] | null | undefined;
6209
6214
  measurementLength?: number | null | undefined;
6210
6215
  measurementWidth?: number | null | undefined;
6211
- size?: string | null | undefined;
6216
+ sizeId?: number | null | undefined;
6212
6217
  isUnisex?: boolean | null | undefined;
6213
6218
  material?: number[] | null | undefined;
6214
6219
  manufacturerLabelling?: string | null | undefined;
@@ -6235,23 +6240,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6235
6240
  status: string;
6236
6241
  title: string;
6237
6242
  description: string;
6238
- brand: string;
6239
- statusId: number;
6240
- packageSizeId: number;
6241
6243
  price: number;
6244
+ brand: string;
6242
6245
  catalog: string;
6243
6246
  catalogId: number;
6247
+ packageSizeId: number;
6244
6248
  photoUrls: string[];
6249
+ statusId: number;
6245
6250
  isDraft: boolean;
6246
6251
  isArchived: boolean;
6247
6252
  availableQuantity: number;
6248
- sizeId?: number | null | undefined;
6249
- colorIds?: number[] | null | undefined;
6253
+ size?: string | null | undefined;
6250
6254
  currency?: string | null | undefined;
6251
6255
  colors?: string[] | null | undefined;
6256
+ colorIds?: number[] | null | undefined;
6252
6257
  measurementLength?: number | null | undefined;
6253
6258
  measurementWidth?: number | null | undefined;
6254
- size?: string | null | undefined;
6259
+ sizeId?: number | null | undefined;
6255
6260
  isUnisex?: boolean | null | undefined;
6256
6261
  material?: number[] | null | undefined;
6257
6262
  manufacturerLabelling?: string | null | undefined;
@@ -6292,10 +6297,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6292
6297
  createdAt: Date;
6293
6298
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6294
6299
  platformCategoryId: string;
6295
- internalCategoryId: number;
6296
6300
  confidence: number;
6297
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6298
6301
  verified: boolean;
6302
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6303
+ internalCategoryId: number;
6299
6304
  verifiedBy?: number | null | undefined;
6300
6305
  verifiedAt?: Date | null | undefined;
6301
6306
  }, {
@@ -6303,10 +6308,10 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6303
6308
  createdAt: Date;
6304
6309
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6305
6310
  platformCategoryId: string;
6306
- internalCategoryId: number;
6307
6311
  confidence: number;
6308
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6309
6312
  verified: boolean;
6313
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6314
+ internalCategoryId: number;
6310
6315
  verifiedBy?: number | null | undefined;
6311
6316
  verifiedAt?: Date | null | undefined;
6312
6317
  }>>>;
@@ -6327,9 +6332,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6327
6332
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6328
6333
  platformBrandId: string;
6329
6334
  confidence: number;
6330
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6331
6335
  verified: boolean;
6332
6336
  internalBrandId: number;
6337
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6333
6338
  verifiedBy?: number | null | undefined;
6334
6339
  verifiedAt?: Date | null | undefined;
6335
6340
  }, {
@@ -6338,9 +6343,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6338
6343
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6339
6344
  platformBrandId: string;
6340
6345
  confidence: number;
6341
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6342
6346
  verified: boolean;
6343
6347
  internalBrandId: number;
6348
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6344
6349
  verifiedBy?: number | null | undefined;
6345
6350
  verifiedAt?: Date | null | undefined;
6346
6351
  }>>>;
@@ -6361,11 +6366,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6361
6366
  createdAt: Date;
6362
6367
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6363
6368
  platformSizeId: string;
6364
- internalSizeId: number;
6365
- internalCategoryId: number;
6366
6369
  confidence: number;
6367
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6368
6370
  verified: boolean;
6371
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6372
+ internalCategoryId: number;
6373
+ internalSizeId: number;
6369
6374
  verifiedBy?: number | null | undefined;
6370
6375
  verifiedAt?: Date | null | undefined;
6371
6376
  }, {
@@ -6373,93 +6378,93 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6373
6378
  createdAt: Date;
6374
6379
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6375
6380
  platformSizeId: string;
6376
- internalSizeId: number;
6377
- internalCategoryId: number;
6378
6381
  confidence: number;
6379
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6380
6382
  verified: boolean;
6383
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6384
+ internalCategoryId: number;
6385
+ internalSizeId: number;
6381
6386
  verifiedBy?: number | null | undefined;
6382
6387
  verifiedAt?: Date | null | undefined;
6383
6388
  }>>>;
6384
6389
  condition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6385
6390
  colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
6386
6391
  }, "strip", z.ZodTypeAny, {
6387
- brand?: {
6392
+ size?: {
6388
6393
  id: string;
6389
6394
  createdAt: Date;
6390
6395
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6391
- platformBrandId: string;
6396
+ platformSizeId: string;
6392
6397
  confidence: number;
6393
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6394
6398
  verified: boolean;
6395
- internalBrandId: number;
6399
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6400
+ internalCategoryId: number;
6401
+ internalSizeId: number;
6396
6402
  verifiedBy?: number | null | undefined;
6397
6403
  verifiedAt?: Date | null | undefined;
6398
6404
  } | null | undefined;
6399
- colors?: string[] | null | undefined;
6400
- size?: {
6405
+ brand?: {
6401
6406
  id: string;
6402
6407
  createdAt: Date;
6403
6408
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6404
- platformSizeId: string;
6405
- internalSizeId: number;
6406
- internalCategoryId: number;
6409
+ platformBrandId: string;
6407
6410
  confidence: number;
6408
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6409
6411
  verified: boolean;
6412
+ internalBrandId: number;
6413
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6410
6414
  verifiedBy?: number | null | undefined;
6411
6415
  verifiedAt?: Date | null | undefined;
6412
6416
  } | null | undefined;
6417
+ colors?: string[] | null | undefined;
6413
6418
  condition?: string | null | undefined;
6414
6419
  category?: {
6415
6420
  id: string;
6416
6421
  createdAt: Date;
6417
6422
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6418
6423
  platformCategoryId: string;
6419
- internalCategoryId: number;
6420
6424
  confidence: number;
6421
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6422
6425
  verified: boolean;
6426
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6427
+ internalCategoryId: number;
6423
6428
  verifiedBy?: number | null | undefined;
6424
6429
  verifiedAt?: Date | null | undefined;
6425
6430
  } | null | undefined;
6426
6431
  }, {
6427
- brand?: {
6432
+ size?: {
6428
6433
  id: string;
6429
6434
  createdAt: Date;
6430
6435
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6431
- platformBrandId: string;
6436
+ platformSizeId: string;
6432
6437
  confidence: number;
6433
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6434
6438
  verified: boolean;
6435
- internalBrandId: number;
6439
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6440
+ internalCategoryId: number;
6441
+ internalSizeId: number;
6436
6442
  verifiedBy?: number | null | undefined;
6437
6443
  verifiedAt?: Date | null | undefined;
6438
6444
  } | null | undefined;
6439
- colors?: string[] | null | undefined;
6440
- size?: {
6445
+ brand?: {
6441
6446
  id: string;
6442
6447
  createdAt: Date;
6443
6448
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6444
- platformSizeId: string;
6445
- internalSizeId: number;
6446
- internalCategoryId: number;
6449
+ platformBrandId: string;
6447
6450
  confidence: number;
6448
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6449
6451
  verified: boolean;
6452
+ internalBrandId: number;
6453
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6450
6454
  verifiedBy?: number | null | undefined;
6451
6455
  verifiedAt?: Date | null | undefined;
6452
6456
  } | null | undefined;
6457
+ colors?: string[] | null | undefined;
6453
6458
  condition?: string | null | undefined;
6454
6459
  category?: {
6455
6460
  id: string;
6456
6461
  createdAt: Date;
6457
6462
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6458
6463
  platformCategoryId: string;
6459
- internalCategoryId: number;
6460
6464
  confidence: number;
6461
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6462
6465
  verified: boolean;
6466
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
6467
+ internalCategoryId: number;
6463
6468
  verifiedBy?: number | null | undefined;
6464
6469
  verifiedAt?: Date | null | undefined;
6465
6470
  } | null | undefined;
@@ -6482,42 +6487,26 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6482
6487
  }>, "many">;
6483
6488
  }, "strip", z.ZodTypeAny, {
6484
6489
  item: {
6485
- name: string;
6486
6490
  id: number;
6487
- createdAt: Date;
6488
6491
  userId: number;
6492
+ name: string;
6493
+ createdAt: Date;
6489
6494
  updatedAt: Date;
6490
6495
  sold: boolean;
6491
- fees?: {
6492
- value: number;
6493
- type: string;
6494
- name: string;
6495
- id: number;
6496
- createdAt: Date;
6497
- userId: number;
6498
- updatedAt: Date;
6499
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
6500
- startDate: Date;
6501
- active: boolean;
6502
- description?: string | null | undefined;
6503
- itemId?: number | null | undefined;
6504
- endDate?: Date | null | undefined;
6505
- parentFeeId?: number | null | undefined;
6506
- }[] | null | undefined;
6507
6496
  description?: string | null | undefined;
6508
6497
  categoryId?: number | null | undefined;
6509
- sizeId?: number | null | undefined;
6510
- colorIds?: number[] | null | undefined;
6511
- packageSizeId?: number | null | undefined;
6512
6498
  state?: number | null | undefined;
6499
+ colorIds?: number[] | null | undefined;
6513
6500
  measurementLength?: number | null | undefined;
6514
6501
  measurementWidth?: number | null | undefined;
6502
+ packageSizeId?: number | null | undefined;
6503
+ sizeId?: number | null | undefined;
6515
6504
  labels?: {
6516
6505
  itemId: number;
6517
6506
  labelId: number;
6518
6507
  label?: {
6519
- name: string;
6520
6508
  id: number;
6509
+ name: string;
6521
6510
  createdAt: Date;
6522
6511
  isUserLabel: boolean;
6523
6512
  itemCount?: number | null | undefined;
@@ -6530,85 +6519,50 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6530
6519
  fieldKey: string;
6531
6520
  }[] | null | undefined;
6532
6521
  sku?: string | null | undefined;
6533
- sex?: string | null | undefined;
6534
- platforms?: {
6535
- status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
6536
- id: string;
6537
- createdAt: Date;
6538
- accountId: string;
6539
- itemId: number;
6540
- platformId: string;
6541
- platformUrl: string;
6542
- platformPrice: number;
6543
- updatedAt: Date;
6544
- publishedAt: Date;
6545
- conversationId?: string | null | undefined;
6546
- boostedAt?: Date | null | undefined;
6547
- boostedUntil?: Date | null | undefined;
6548
- viewsCount?: number | null | undefined;
6549
- favoritesCount?: number | null | undefined;
6550
- account?: {
6551
- status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
6552
- name: string;
6553
- userId: number;
6554
- accountId: string;
6555
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6556
- locale?: string | null | undefined;
6557
- lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
6558
- restrictedUntil?: Date | null | undefined;
6559
- night?: {
6560
- startsAt: Date;
6561
- endsAt: Date;
6562
- } | null | undefined;
6563
- favoritesMaxDelay?: number | null | undefined;
6564
- ordersMaxDelay?: number | null | undefined;
6565
- conversationsMaxDelay?: number | null | undefined;
6566
- walletMaxDelay?: number | null | undefined;
6567
- availableBalance?: number | null | undefined;
6568
- pendingBalance?: number | null | undefined;
6569
- profilePictureFileId?: string | null | undefined;
6570
- profilePicture?: {
6571
- path: string;
6572
- id: string;
6573
- createdAt: Date;
6574
- userId: number;
6575
- signedUrl: string;
6576
- status?: "PENDING" | "CONFIRMED" | null | undefined;
6577
- } | null | undefined;
6578
- cooldownEndsAt?: Date | null | undefined;
6579
- walletActivationRequiredAt?: Date | null | undefined;
6580
- phoneNumberRequiredAt?: Date | null | undefined;
6581
- } | null | undefined;
6582
- orderStatus?: "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" | null | undefined;
6583
- orderType?: "SALE" | "PURCHASE" | null | undefined;
6584
- }[] | null | undefined;
6585
- brandId?: number | null | undefined;
6586
- estimatedPrice?: number | null | undefined;
6587
- purchaseDate?: Date | null | undefined;
6588
- sellingDate?: Date | null | undefined;
6589
6522
  fields?: {
6590
6523
  value: string;
6591
6524
  itemId: number;
6592
6525
  fieldId: number;
6593
6526
  }[] | null | undefined;
6594
6527
  files?: {
6595
- fileId: string;
6596
6528
  itemId: number;
6529
+ fileId: string;
6597
6530
  file?: {
6598
6531
  path: string;
6599
6532
  id: string;
6600
- createdAt: Date;
6601
6533
  userId: number;
6534
+ createdAt: Date;
6602
6535
  signedUrl: string;
6603
6536
  status?: "PENDING" | "CONFIRMED" | null | undefined;
6604
6537
  } | null | undefined;
6605
6538
  index?: number | null | undefined;
6606
6539
  }[] | null | undefined;
6540
+ brandId?: number | null | undefined;
6541
+ sex?: string | null | undefined;
6607
6542
  purchasePrice?: number | null | undefined;
6543
+ purchaseDate?: Date | null | undefined;
6608
6544
  purchasePlaceId?: number | null | undefined;
6609
6545
  purchased?: boolean | null | undefined;
6610
6546
  sellingPrice?: number | null | undefined;
6547
+ sellingDate?: Date | null | undefined;
6611
6548
  sellingPlaceId?: number | null | undefined;
6549
+ estimatedPrice?: number | null | undefined;
6550
+ fees?: {
6551
+ value: number;
6552
+ type: string;
6553
+ id: number;
6554
+ userId: number;
6555
+ name: string;
6556
+ createdAt: Date;
6557
+ updatedAt: Date;
6558
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
6559
+ startDate: Date;
6560
+ active: boolean;
6561
+ description?: string | null | undefined;
6562
+ itemId?: number | null | undefined;
6563
+ endDate?: Date | null | undefined;
6564
+ parentFeeId?: number | null | undefined;
6565
+ }[] | null | undefined;
6612
6566
  feesSum?: number | null | undefined;
6613
6567
  materialIds?: number[] | null | undefined;
6614
6568
  enumValues?: {
@@ -6624,11 +6578,12 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6624
6578
  id: string;
6625
6579
  createdAt: Date;
6626
6580
  itemId: number;
6581
+ accountId?: string | null | undefined;
6627
6582
  data?: {
6628
6583
  type: "ACTION_CANCELED";
6629
6584
  data: {
6630
6585
  targetItemHistoryId: string;
6631
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
6586
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
6632
6587
  details?: string | null | undefined;
6633
6588
  };
6634
6589
  } | {
@@ -6659,7 +6614,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6659
6614
  accountId?: string | null | undefined;
6660
6615
  reason?: string | null | undefined;
6661
6616
  fields?: {
6662
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6617
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6663
6618
  autoFixable: boolean;
6664
6619
  error?: string | null | undefined;
6665
6620
  }[] | null | undefined;
@@ -6689,23 +6644,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6689
6644
  post: {
6690
6645
  platformId: string;
6691
6646
  post: {
6647
+ size?: string | null | undefined;
6692
6648
  status?: string | null | undefined;
6693
6649
  title?: string | null | undefined;
6694
6650
  description?: string | null | undefined;
6695
- brand?: string | null | undefined;
6696
- statusId?: number | null | undefined;
6697
- sizeId?: number | null | undefined;
6698
- colorIds?: number[] | null | undefined;
6699
- packageSizeId?: number | null | undefined;
6700
6651
  price?: number | null | undefined;
6701
6652
  currency?: string | null | undefined;
6653
+ brand?: string | null | undefined;
6702
6654
  catalog?: string | null | undefined;
6703
6655
  catalogId?: number | null | undefined;
6704
6656
  colors?: string[] | null | undefined;
6657
+ colorIds?: number[] | null | undefined;
6705
6658
  measurementLength?: number | null | undefined;
6706
6659
  measurementWidth?: number | null | undefined;
6660
+ packageSizeId?: number | null | undefined;
6707
6661
  photoUrls?: string[] | null | undefined;
6708
- size?: string | null | undefined;
6662
+ sizeId?: number | null | undefined;
6663
+ statusId?: number | null | undefined;
6709
6664
  isDraft?: boolean | null | undefined;
6710
6665
  isArchived?: boolean | null | undefined;
6711
6666
  isUnisex?: boolean | null | undefined;
@@ -6748,8 +6703,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6748
6703
  } | {
6749
6704
  type: "LIFECYCLE_STARTED";
6750
6705
  data: {
6751
- caseId: string;
6752
6706
  accountId: string;
6707
+ caseId: string;
6753
6708
  isRepeat?: boolean | null | undefined;
6754
6709
  };
6755
6710
  } | {
@@ -6788,17 +6743,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6788
6743
  elasticWarpEnabled?: boolean | null | undefined;
6789
6744
  } | null | undefined;
6790
6745
  } | null | undefined;
6791
- publishingDate?: Date | null | undefined;
6792
- isTransfer?: boolean | null | undefined;
6793
6746
  targetAccountId?: string | null | undefined;
6794
6747
  allowIfDeleted?: boolean | null | undefined;
6748
+ publishingDate?: Date | null | undefined;
6749
+ isTransfer?: boolean | null | undefined;
6795
6750
  };
6796
6751
  } | {
6797
6752
  type: "REPUBLISHING_RETRY";
6798
6753
  data: {
6799
- maxAttempts: number;
6800
6754
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6801
6755
  attemptNumber: number;
6756
+ maxAttempts: number;
6802
6757
  previousHistoryId: string;
6803
6758
  originalFailureDate: Date;
6804
6759
  payload?: {
@@ -6826,7 +6781,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6826
6781
  } | null | undefined;
6827
6782
  } | null | undefined;
6828
6783
  fields?: {
6829
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6784
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6830
6785
  autoFixable: boolean;
6831
6786
  error?: string | null | undefined;
6832
6787
  }[] | null | undefined;
@@ -6840,13 +6795,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6840
6795
  } | {
6841
6796
  type: "SCHEDULED_RETRY";
6842
6797
  data: {
6843
- maxAttempts: number;
6844
6798
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6845
6799
  attemptNumber: number;
6800
+ maxAttempts: number;
6846
6801
  previousHistoryId: string;
6847
6802
  originalFailureDate: Date;
6848
6803
  fields?: {
6849
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6804
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6850
6805
  autoFixable: boolean;
6851
6806
  error?: string | null | undefined;
6852
6807
  }[] | null | undefined;
@@ -6875,22 +6830,74 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6875
6830
  targetDate?: Date | null | undefined;
6876
6831
  };
6877
6832
  } | null | undefined;
6878
- accountId?: string | null | undefined;
6879
6833
  targetDate?: Date | null | undefined;
6880
6834
  requestId?: string | null | undefined;
6881
6835
  targetHistoryId?: string | null | undefined;
6882
6836
  } | null | undefined;
6837
+ platforms?: {
6838
+ status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
6839
+ id: string;
6840
+ accountId: string;
6841
+ createdAt: Date;
6842
+ itemId: number;
6843
+ platformId: string;
6844
+ platformUrl: string;
6845
+ platformPrice: number;
6846
+ updatedAt: Date;
6847
+ publishedAt: Date;
6848
+ conversationId?: string | null | undefined;
6849
+ boostedAt?: Date | null | undefined;
6850
+ boostedUntil?: Date | null | undefined;
6851
+ viewsCount?: number | null | undefined;
6852
+ favoritesCount?: number | null | undefined;
6853
+ account?: {
6854
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
6855
+ accountId: string;
6856
+ userId: number;
6857
+ name: string;
6858
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
6859
+ locale?: string | null | undefined;
6860
+ lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
6861
+ restrictedUntil?: Date | null | undefined;
6862
+ night?: {
6863
+ startsAt: Date;
6864
+ endsAt: Date;
6865
+ } | null | undefined;
6866
+ favoritesMaxDelay?: number | null | undefined;
6867
+ ordersMaxDelay?: number | null | undefined;
6868
+ conversationsMaxDelay?: number | null | undefined;
6869
+ walletMaxDelay?: number | null | undefined;
6870
+ availableBalance?: number | null | undefined;
6871
+ pendingBalance?: number | null | undefined;
6872
+ profilePictureFileId?: string | null | undefined;
6873
+ profilePicture?: {
6874
+ path: string;
6875
+ id: string;
6876
+ userId: number;
6877
+ createdAt: Date;
6878
+ signedUrl: string;
6879
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
6880
+ } | null | undefined;
6881
+ cooldownEndsAt?: Date | null | undefined;
6882
+ walletActivationRequiredAt?: Date | null | undefined;
6883
+ phoneNumberRequiredAt?: Date | null | undefined;
6884
+ } | null | undefined;
6885
+ orderStatus?: "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" | null | undefined;
6886
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
6887
+ isBoosted?: boolean | null | undefined;
6888
+ }[] | null | undefined;
6883
6889
  analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
6884
6890
  history?: {
6885
6891
  type: "UNKNOWN" | "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DISPUTE_RESOLVED" | "PARCEL_LOST" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "BOOSTING" | "BOOSTED" | "BOOST_CANCELED" | "FAILED_TO_BOOST" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
6886
6892
  id: string;
6887
6893
  createdAt: Date;
6888
6894
  itemId: number;
6895
+ accountId?: string | null | undefined;
6889
6896
  data?: {
6890
6897
  type: "ACTION_CANCELED";
6891
6898
  data: {
6892
6899
  targetItemHistoryId: string;
6893
- reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | null | undefined;
6900
+ reason?: "UNKNOWN" | "REQUESTED_BY_USER" | "REPLACED_BY_NEW_SCHEDULE" | "ITEM_SOLD_OR_ARCHIVED" | "ACCOUNT_BLOCKED" | "ACTIVE_SCHEDULE" | "ALREADY_PUBLISHED" | "NEVER_PUBLISHED" | "ACCOUNT_DELETED" | "LISTING_NOT_FOUND_ON_PLATFORM" | "LISTING_DELETED" | "LISTING_BOOSTED" | "LISTING_SOLD_ON_PLATFORM" | null | undefined;
6894
6901
  details?: string | null | undefined;
6895
6902
  };
6896
6903
  } | {
@@ -6921,7 +6928,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6921
6928
  accountId?: string | null | undefined;
6922
6929
  reason?: string | null | undefined;
6923
6930
  fields?: {
6924
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6931
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
6925
6932
  autoFixable: boolean;
6926
6933
  error?: string | null | undefined;
6927
6934
  }[] | null | undefined;
@@ -6951,23 +6958,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
6951
6958
  post: {
6952
6959
  platformId: string;
6953
6960
  post: {
6961
+ size?: string | null | undefined;
6954
6962
  status?: string | null | undefined;
6955
6963
  title?: string | null | undefined;
6956
6964
  description?: string | null | undefined;
6957
- brand?: string | null | undefined;
6958
- statusId?: number | null | undefined;
6959
- sizeId?: number | null | undefined;
6960
- colorIds?: number[] | null | undefined;
6961
- packageSizeId?: number | null | undefined;
6962
6965
  price?: number | null | undefined;
6963
6966
  currency?: string | null | undefined;
6967
+ brand?: string | null | undefined;
6964
6968
  catalog?: string | null | undefined;
6965
6969
  catalogId?: number | null | undefined;
6966
6970
  colors?: string[] | null | undefined;
6971
+ colorIds?: number[] | null | undefined;
6967
6972
  measurementLength?: number | null | undefined;
6968
6973
  measurementWidth?: number | null | undefined;
6974
+ packageSizeId?: number | null | undefined;
6969
6975
  photoUrls?: string[] | null | undefined;
6970
- size?: string | null | undefined;
6976
+ sizeId?: number | null | undefined;
6977
+ statusId?: number | null | undefined;
6971
6978
  isDraft?: boolean | null | undefined;
6972
6979
  isArchived?: boolean | null | undefined;
6973
6980
  isUnisex?: boolean | null | undefined;
@@ -7010,8 +7017,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7010
7017
  } | {
7011
7018
  type: "LIFECYCLE_STARTED";
7012
7019
  data: {
7013
- caseId: string;
7014
7020
  accountId: string;
7021
+ caseId: string;
7015
7022
  isRepeat?: boolean | null | undefined;
7016
7023
  };
7017
7024
  } | {
@@ -7050,17 +7057,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7050
7057
  elasticWarpEnabled?: boolean | null | undefined;
7051
7058
  } | null | undefined;
7052
7059
  } | null | undefined;
7053
- publishingDate?: Date | null | undefined;
7054
- isTransfer?: boolean | null | undefined;
7055
7060
  targetAccountId?: string | null | undefined;
7056
7061
  allowIfDeleted?: boolean | null | undefined;
7062
+ publishingDate?: Date | null | undefined;
7063
+ isTransfer?: boolean | null | undefined;
7057
7064
  };
7058
7065
  } | {
7059
7066
  type: "REPUBLISHING_RETRY";
7060
7067
  data: {
7061
- maxAttempts: number;
7062
7068
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7063
7069
  attemptNumber: number;
7070
+ maxAttempts: number;
7064
7071
  previousHistoryId: string;
7065
7072
  originalFailureDate: Date;
7066
7073
  payload?: {
@@ -7088,7 +7095,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7088
7095
  } | null | undefined;
7089
7096
  } | null | undefined;
7090
7097
  fields?: {
7091
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
7098
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
7092
7099
  autoFixable: boolean;
7093
7100
  error?: string | null | undefined;
7094
7101
  }[] | null | undefined;
@@ -7102,13 +7109,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7102
7109
  } | {
7103
7110
  type: "SCHEDULED_RETRY";
7104
7111
  data: {
7105
- maxAttempts: number;
7106
7112
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7107
7113
  attemptNumber: number;
7114
+ maxAttempts: number;
7108
7115
  previousHistoryId: string;
7109
7116
  originalFailureDate: Date;
7110
7117
  fields?: {
7111
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
7118
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
7112
7119
  autoFixable: boolean;
7113
7120
  error?: string | null | undefined;
7114
7121
  }[] | null | undefined;
@@ -7137,7 +7144,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7137
7144
  targetDate?: Date | null | undefined;
7138
7145
  };
7139
7146
  } | null | undefined;
7140
- accountId?: string | null | undefined;
7141
7147
  targetDate?: Date | null | undefined;
7142
7148
  requestId?: string | null | undefined;
7143
7149
  targetHistoryId?: string | null | undefined;
@@ -7148,23 +7154,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7148
7154
  status: string;
7149
7155
  title: string;
7150
7156
  description: string;
7151
- brand: string;
7152
- statusId: number;
7153
- packageSizeId: number;
7154
7157
  price: number;
7158
+ brand: string;
7155
7159
  catalog: string;
7156
7160
  catalogId: number;
7161
+ packageSizeId: number;
7157
7162
  photoUrls: string[];
7163
+ statusId: number;
7158
7164
  isDraft: boolean;
7159
7165
  isArchived: boolean;
7160
7166
  availableQuantity: number;
7161
- sizeId?: number | null | undefined;
7162
- colorIds?: number[] | null | undefined;
7167
+ size?: string | null | undefined;
7163
7168
  currency?: string | null | undefined;
7164
7169
  colors?: string[] | null | undefined;
7170
+ colorIds?: number[] | null | undefined;
7165
7171
  measurementLength?: number | null | undefined;
7166
7172
  measurementWidth?: number | null | undefined;
7167
- size?: string | null | undefined;
7173
+ sizeId?: number | null | undefined;
7168
7174
  isUnisex?: boolean | null | undefined;
7169
7175
  material?: number[] | null | undefined;
7170
7176
  manufacturerLabelling?: string | null | undefined;
@@ -7189,42 +7195,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7189
7195
  boostedUntil?: Date | null | undefined;
7190
7196
  };
7191
7197
  mappings: {
7192
- brand?: {
7198
+ size?: {
7193
7199
  id: string;
7194
7200
  createdAt: Date;
7195
7201
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7196
- platformBrandId: string;
7202
+ platformSizeId: string;
7197
7203
  confidence: number;
7198
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7199
7204
  verified: boolean;
7200
- internalBrandId: number;
7205
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7206
+ internalCategoryId: number;
7207
+ internalSizeId: number;
7201
7208
  verifiedBy?: number | null | undefined;
7202
7209
  verifiedAt?: Date | null | undefined;
7203
- } | null | undefined;
7204
- colors?: string[] | null | undefined;
7205
- size?: {
7210
+ } | null | undefined;
7211
+ brand?: {
7206
7212
  id: string;
7207
7213
  createdAt: Date;
7208
7214
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7209
- platformSizeId: string;
7210
- internalSizeId: number;
7211
- internalCategoryId: number;
7215
+ platformBrandId: string;
7212
7216
  confidence: number;
7213
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7214
7217
  verified: boolean;
7218
+ internalBrandId: number;
7219
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7215
7220
  verifiedBy?: number | null | undefined;
7216
7221
  verifiedAt?: Date | null | undefined;
7217
7222
  } | null | undefined;
7223
+ colors?: string[] | null | undefined;
7218
7224
  condition?: string | null | undefined;
7219
7225
  category?: {
7220
7226
  id: string;
7221
7227
  createdAt: Date;
7222
7228
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7223
7229
  platformCategoryId: string;
7224
- internalCategoryId: number;
7225
7230
  confidence: number;
7226
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7227
7231
  verified: boolean;
7232
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7233
+ internalCategoryId: number;
7228
7234
  verifiedBy?: number | null | undefined;
7229
7235
  verifiedAt?: Date | null | undefined;
7230
7236
  } | null | undefined;
@@ -7263,42 +7269,26 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7263
7269
  } | null | undefined;
7264
7270
  }, {
7265
7271
  item: {
7266
- name: string;
7267
7272
  id: number;
7268
- createdAt: Date;
7269
7273
  userId: number;
7274
+ name: string;
7275
+ createdAt: Date;
7270
7276
  updatedAt: Date;
7271
7277
  sold: boolean;
7272
- fees?: {
7273
- value: number;
7274
- type: string;
7275
- name: string;
7276
- id: number;
7277
- createdAt: Date;
7278
- userId: number;
7279
- updatedAt: Date;
7280
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
7281
- startDate: Date;
7282
- active: boolean;
7283
- description?: string | null | undefined;
7284
- itemId?: number | null | undefined;
7285
- endDate?: Date | null | undefined;
7286
- parentFeeId?: number | null | undefined;
7287
- }[] | null | undefined;
7288
7278
  description?: string | null | undefined;
7289
7279
  categoryId?: number | null | undefined;
7290
- sizeId?: number | null | undefined;
7291
- colorIds?: number[] | null | undefined;
7292
- packageSizeId?: number | null | undefined;
7293
7280
  state?: number | null | undefined;
7281
+ colorIds?: number[] | null | undefined;
7294
7282
  measurementLength?: number | null | undefined;
7295
7283
  measurementWidth?: number | null | undefined;
7284
+ packageSizeId?: number | null | undefined;
7285
+ sizeId?: number | null | undefined;
7296
7286
  labels?: {
7297
7287
  itemId: number;
7298
7288
  labelId: number;
7299
7289
  label?: {
7300
- name: string;
7301
7290
  id: number;
7291
+ name: string;
7302
7292
  createdAt: Date;
7303
7293
  isUserLabel: boolean;
7304
7294
  itemCount?: number | null | undefined;
@@ -7311,85 +7301,50 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7311
7301
  fieldKey: string;
7312
7302
  }[] | null | undefined;
7313
7303
  sku?: string | null | undefined;
7314
- sex?: string | null | undefined;
7315
- platforms?: {
7316
- id: string;
7317
- createdAt: Date;
7318
- accountId: string;
7319
- itemId: number;
7320
- platformId: string;
7321
- platformUrl: string;
7322
- platformPrice: number;
7323
- updatedAt: Date;
7324
- publishedAt: Date;
7325
- status?: unknown;
7326
- conversationId?: string | null | undefined;
7327
- boostedAt?: Date | null | undefined;
7328
- boostedUntil?: Date | null | undefined;
7329
- viewsCount?: number | null | undefined;
7330
- favoritesCount?: number | null | undefined;
7331
- account?: {
7332
- name: string;
7333
- userId: number;
7334
- accountId: string;
7335
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7336
- status?: unknown;
7337
- locale?: string | null | undefined;
7338
- lockReason?: unknown;
7339
- restrictedUntil?: Date | null | undefined;
7340
- night?: {
7341
- startsAt: Date;
7342
- endsAt: Date;
7343
- } | null | undefined;
7344
- favoritesMaxDelay?: number | null | undefined;
7345
- ordersMaxDelay?: number | null | undefined;
7346
- conversationsMaxDelay?: number | null | undefined;
7347
- walletMaxDelay?: number | null | undefined;
7348
- availableBalance?: number | null | undefined;
7349
- pendingBalance?: number | null | undefined;
7350
- profilePictureFileId?: string | null | undefined;
7351
- profilePicture?: {
7352
- path: string;
7353
- id: string;
7354
- createdAt: Date;
7355
- userId: number;
7356
- signedUrl: string;
7357
- status?: "PENDING" | "CONFIRMED" | null | undefined;
7358
- } | null | undefined;
7359
- cooldownEndsAt?: Date | null | undefined;
7360
- walletActivationRequiredAt?: Date | null | undefined;
7361
- phoneNumberRequiredAt?: Date | null | undefined;
7362
- } | null | undefined;
7363
- orderStatus?: unknown;
7364
- orderType?: "SALE" | "PURCHASE" | null | undefined;
7365
- }[] | null | undefined;
7366
- brandId?: number | null | undefined;
7367
- estimatedPrice?: number | null | undefined;
7368
- purchaseDate?: Date | null | undefined;
7369
- sellingDate?: Date | null | undefined;
7370
7304
  fields?: {
7371
7305
  value: string;
7372
7306
  itemId: number;
7373
7307
  fieldId: number;
7374
7308
  }[] | null | undefined;
7375
7309
  files?: {
7376
- fileId: string;
7377
7310
  itemId: number;
7311
+ fileId: string;
7378
7312
  file?: {
7379
7313
  path: string;
7380
7314
  id: string;
7381
- createdAt: Date;
7382
7315
  userId: number;
7316
+ createdAt: Date;
7383
7317
  signedUrl: string;
7384
7318
  status?: "PENDING" | "CONFIRMED" | null | undefined;
7385
7319
  } | null | undefined;
7386
7320
  index?: number | null | undefined;
7387
7321
  }[] | null | undefined;
7322
+ brandId?: number | null | undefined;
7323
+ sex?: string | null | undefined;
7388
7324
  purchasePrice?: number | null | undefined;
7325
+ purchaseDate?: Date | null | undefined;
7389
7326
  purchasePlaceId?: number | null | undefined;
7390
7327
  purchased?: boolean | null | undefined;
7391
7328
  sellingPrice?: number | null | undefined;
7329
+ sellingDate?: Date | null | undefined;
7392
7330
  sellingPlaceId?: number | null | undefined;
7331
+ estimatedPrice?: number | null | undefined;
7332
+ fees?: {
7333
+ value: number;
7334
+ type: string;
7335
+ id: number;
7336
+ userId: number;
7337
+ name: string;
7338
+ createdAt: Date;
7339
+ updatedAt: Date;
7340
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
7341
+ startDate: Date;
7342
+ active: boolean;
7343
+ description?: string | null | undefined;
7344
+ itemId?: number | null | undefined;
7345
+ endDate?: Date | null | undefined;
7346
+ parentFeeId?: number | null | undefined;
7347
+ }[] | null | undefined;
7393
7348
  feesSum?: number | null | undefined;
7394
7349
  materialIds?: number[] | null | undefined;
7395
7350
  enumValues?: {
@@ -7405,6 +7360,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7405
7360
  createdAt: Date;
7406
7361
  itemId: number;
7407
7362
  type?: unknown;
7363
+ accountId?: string | null | undefined;
7408
7364
  data?: {
7409
7365
  type: "ACTION_CANCELED";
7410
7366
  data: {
@@ -7470,23 +7426,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7470
7426
  post: {
7471
7427
  platformId: string;
7472
7428
  post: {
7429
+ size?: string | null | undefined;
7473
7430
  status?: string | null | undefined;
7474
7431
  title?: string | null | undefined;
7475
7432
  description?: string | null | undefined;
7476
- brand?: string | null | undefined;
7477
- statusId?: number | null | undefined;
7478
- sizeId?: number | null | undefined;
7479
- colorIds?: number[] | null | undefined;
7480
- packageSizeId?: number | null | undefined;
7481
7433
  price?: number | null | undefined;
7482
7434
  currency?: string | null | undefined;
7435
+ brand?: string | null | undefined;
7483
7436
  catalog?: string | null | undefined;
7484
7437
  catalogId?: number | null | undefined;
7485
7438
  colors?: string[] | null | undefined;
7439
+ colorIds?: number[] | null | undefined;
7486
7440
  measurementLength?: number | null | undefined;
7487
7441
  measurementWidth?: number | null | undefined;
7442
+ packageSizeId?: number | null | undefined;
7488
7443
  photoUrls?: string[] | null | undefined;
7489
- size?: string | null | undefined;
7444
+ sizeId?: number | null | undefined;
7445
+ statusId?: number | null | undefined;
7490
7446
  isDraft?: boolean | null | undefined;
7491
7447
  isArchived?: boolean | null | undefined;
7492
7448
  isUnisex?: boolean | null | undefined;
@@ -7529,8 +7485,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7529
7485
  } | {
7530
7486
  type: "LIFECYCLE_STARTED";
7531
7487
  data: {
7532
- caseId: string;
7533
7488
  accountId: string;
7489
+ caseId: string;
7534
7490
  isRepeat?: boolean | null | undefined;
7535
7491
  };
7536
7492
  } | {
@@ -7569,17 +7525,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7569
7525
  elasticWarpEnabled?: boolean | null | undefined;
7570
7526
  } | null | undefined;
7571
7527
  } | null | undefined;
7572
- publishingDate?: Date | null | undefined;
7573
- isTransfer?: boolean | null | undefined;
7574
7528
  targetAccountId?: string | null | undefined;
7575
7529
  allowIfDeleted?: boolean | null | undefined;
7530
+ publishingDate?: Date | null | undefined;
7531
+ isTransfer?: boolean | null | undefined;
7576
7532
  };
7577
7533
  } | {
7578
7534
  type: "REPUBLISHING_RETRY";
7579
7535
  data: {
7580
- maxAttempts: number;
7581
7536
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7582
7537
  attemptNumber: number;
7538
+ maxAttempts: number;
7583
7539
  previousHistoryId: string;
7584
7540
  originalFailureDate: Date;
7585
7541
  payload?: {
@@ -7621,9 +7577,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7621
7577
  } | {
7622
7578
  type: "SCHEDULED_RETRY";
7623
7579
  data: {
7624
- maxAttempts: number;
7625
7580
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7626
7581
  attemptNumber: number;
7582
+ maxAttempts: number;
7627
7583
  previousHistoryId: string;
7628
7584
  originalFailureDate: Date;
7629
7585
  fields?: {
@@ -7656,17 +7612,69 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7656
7612
  targetDate?: Date | null | undefined;
7657
7613
  };
7658
7614
  } | null | undefined;
7659
- accountId?: string | null | undefined;
7660
7615
  targetDate?: Date | null | undefined;
7661
7616
  requestId?: string | null | undefined;
7662
7617
  targetHistoryId?: string | null | undefined;
7663
7618
  } | null | undefined;
7619
+ platforms?: {
7620
+ id: string;
7621
+ accountId: string;
7622
+ createdAt: Date;
7623
+ itemId: number;
7624
+ platformId: string;
7625
+ platformUrl: string;
7626
+ platformPrice: number;
7627
+ updatedAt: Date;
7628
+ publishedAt: Date;
7629
+ status?: unknown;
7630
+ conversationId?: string | null | undefined;
7631
+ boostedAt?: Date | null | undefined;
7632
+ boostedUntil?: Date | null | undefined;
7633
+ viewsCount?: number | null | undefined;
7634
+ favoritesCount?: number | null | undefined;
7635
+ account?: {
7636
+ accountId: string;
7637
+ userId: number;
7638
+ name: string;
7639
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7640
+ status?: unknown;
7641
+ locale?: string | null | undefined;
7642
+ lockReason?: unknown;
7643
+ restrictedUntil?: Date | null | undefined;
7644
+ night?: {
7645
+ startsAt: Date;
7646
+ endsAt: Date;
7647
+ } | null | undefined;
7648
+ favoritesMaxDelay?: number | null | undefined;
7649
+ ordersMaxDelay?: number | null | undefined;
7650
+ conversationsMaxDelay?: number | null | undefined;
7651
+ walletMaxDelay?: number | null | undefined;
7652
+ availableBalance?: number | null | undefined;
7653
+ pendingBalance?: number | null | undefined;
7654
+ profilePictureFileId?: string | null | undefined;
7655
+ profilePicture?: {
7656
+ path: string;
7657
+ id: string;
7658
+ userId: number;
7659
+ createdAt: Date;
7660
+ signedUrl: string;
7661
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
7662
+ } | null | undefined;
7663
+ cooldownEndsAt?: Date | null | undefined;
7664
+ walletActivationRequiredAt?: Date | null | undefined;
7665
+ phoneNumberRequiredAt?: Date | null | undefined;
7666
+ } | null | undefined;
7667
+ orderStatus?: unknown;
7668
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
7669
+ isBoosted?: boolean | null | undefined;
7670
+ }[] | null | undefined;
7664
7671
  analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
7665
7672
  history?: {
7666
7673
  id: string;
7667
7674
  createdAt: Date;
7668
7675
  itemId: number;
7669
7676
  type?: unknown;
7677
+ accountId?: string | null | undefined;
7670
7678
  data?: {
7671
7679
  type: "ACTION_CANCELED";
7672
7680
  data: {
@@ -7732,23 +7740,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7732
7740
  post: {
7733
7741
  platformId: string;
7734
7742
  post: {
7743
+ size?: string | null | undefined;
7735
7744
  status?: string | null | undefined;
7736
7745
  title?: string | null | undefined;
7737
7746
  description?: string | null | undefined;
7738
- brand?: string | null | undefined;
7739
- statusId?: number | null | undefined;
7740
- sizeId?: number | null | undefined;
7741
- colorIds?: number[] | null | undefined;
7742
- packageSizeId?: number | null | undefined;
7743
7747
  price?: number | null | undefined;
7744
7748
  currency?: string | null | undefined;
7749
+ brand?: string | null | undefined;
7745
7750
  catalog?: string | null | undefined;
7746
7751
  catalogId?: number | null | undefined;
7747
7752
  colors?: string[] | null | undefined;
7753
+ colorIds?: number[] | null | undefined;
7748
7754
  measurementLength?: number | null | undefined;
7749
7755
  measurementWidth?: number | null | undefined;
7756
+ packageSizeId?: number | null | undefined;
7750
7757
  photoUrls?: string[] | null | undefined;
7751
- size?: string | null | undefined;
7758
+ sizeId?: number | null | undefined;
7759
+ statusId?: number | null | undefined;
7752
7760
  isDraft?: boolean | null | undefined;
7753
7761
  isArchived?: boolean | null | undefined;
7754
7762
  isUnisex?: boolean | null | undefined;
@@ -7791,8 +7799,8 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7791
7799
  } | {
7792
7800
  type: "LIFECYCLE_STARTED";
7793
7801
  data: {
7794
- caseId: string;
7795
7802
  accountId: string;
7803
+ caseId: string;
7796
7804
  isRepeat?: boolean | null | undefined;
7797
7805
  };
7798
7806
  } | {
@@ -7831,17 +7839,17 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7831
7839
  elasticWarpEnabled?: boolean | null | undefined;
7832
7840
  } | null | undefined;
7833
7841
  } | null | undefined;
7834
- publishingDate?: Date | null | undefined;
7835
- isTransfer?: boolean | null | undefined;
7836
7842
  targetAccountId?: string | null | undefined;
7837
7843
  allowIfDeleted?: boolean | null | undefined;
7844
+ publishingDate?: Date | null | undefined;
7845
+ isTransfer?: boolean | null | undefined;
7838
7846
  };
7839
7847
  } | {
7840
7848
  type: "REPUBLISHING_RETRY";
7841
7849
  data: {
7842
- maxAttempts: number;
7843
7850
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7844
7851
  attemptNumber: number;
7852
+ maxAttempts: number;
7845
7853
  previousHistoryId: string;
7846
7854
  originalFailureDate: Date;
7847
7855
  payload?: {
@@ -7883,9 +7891,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7883
7891
  } | {
7884
7892
  type: "SCHEDULED_RETRY";
7885
7893
  data: {
7886
- maxAttempts: number;
7887
7894
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7888
7895
  attemptNumber: number;
7896
+ maxAttempts: number;
7889
7897
  previousHistoryId: string;
7890
7898
  originalFailureDate: Date;
7891
7899
  fields?: {
@@ -7918,7 +7926,6 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7918
7926
  targetDate?: Date | null | undefined;
7919
7927
  };
7920
7928
  } | null | undefined;
7921
- accountId?: string | null | undefined;
7922
7929
  targetDate?: Date | null | undefined;
7923
7930
  requestId?: string | null | undefined;
7924
7931
  targetHistoryId?: string | null | undefined;
@@ -7929,23 +7936,23 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7929
7936
  status: string;
7930
7937
  title: string;
7931
7938
  description: string;
7932
- brand: string;
7933
- statusId: number;
7934
- packageSizeId: number;
7935
7939
  price: number;
7940
+ brand: string;
7936
7941
  catalog: string;
7937
7942
  catalogId: number;
7943
+ packageSizeId: number;
7938
7944
  photoUrls: string[];
7945
+ statusId: number;
7939
7946
  isDraft: boolean;
7940
7947
  isArchived: boolean;
7941
7948
  availableQuantity: number;
7942
- sizeId?: number | null | undefined;
7943
- colorIds?: number[] | null | undefined;
7949
+ size?: string | null | undefined;
7944
7950
  currency?: string | null | undefined;
7945
7951
  colors?: string[] | null | undefined;
7952
+ colorIds?: number[] | null | undefined;
7946
7953
  measurementLength?: number | null | undefined;
7947
7954
  measurementWidth?: number | null | undefined;
7948
- size?: string | null | undefined;
7955
+ sizeId?: number | null | undefined;
7949
7956
  isUnisex?: boolean | null | undefined;
7950
7957
  material?: number[] | null | undefined;
7951
7958
  manufacturerLabelling?: string | null | undefined;
@@ -7970,42 +7977,42 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
7970
7977
  boostedUntil?: Date | null | undefined;
7971
7978
  };
7972
7979
  mappings: {
7973
- brand?: {
7980
+ size?: {
7974
7981
  id: string;
7975
7982
  createdAt: Date;
7976
7983
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7977
- platformBrandId: string;
7984
+ platformSizeId: string;
7978
7985
  confidence: number;
7979
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7980
7986
  verified: boolean;
7981
- internalBrandId: number;
7987
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7988
+ internalCategoryId: number;
7989
+ internalSizeId: number;
7982
7990
  verifiedBy?: number | null | undefined;
7983
7991
  verifiedAt?: Date | null | undefined;
7984
7992
  } | null | undefined;
7985
- colors?: string[] | null | undefined;
7986
- size?: {
7993
+ brand?: {
7987
7994
  id: string;
7988
7995
  createdAt: Date;
7989
7996
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
7990
- platformSizeId: string;
7991
- internalSizeId: number;
7992
- internalCategoryId: number;
7997
+ platformBrandId: string;
7993
7998
  confidence: number;
7994
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7995
7999
  verified: boolean;
8000
+ internalBrandId: number;
8001
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
7996
8002
  verifiedBy?: number | null | undefined;
7997
8003
  verifiedAt?: Date | null | undefined;
7998
8004
  } | null | undefined;
8005
+ colors?: string[] | null | undefined;
7999
8006
  condition?: string | null | undefined;
8000
8007
  category?: {
8001
8008
  id: string;
8002
8009
  createdAt: Date;
8003
8010
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
8004
8011
  platformCategoryId: string;
8005
- internalCategoryId: number;
8006
8012
  confidence: number;
8007
- mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
8008
8013
  verified: boolean;
8014
+ mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
8015
+ internalCategoryId: number;
8009
8016
  verifiedBy?: number | null | undefined;
8010
8017
  verifiedAt?: Date | null | undefined;
8011
8018
  } | null | undefined;