controlresell 2.26.2 → 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 (253) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
  3. package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
  4. package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
  5. package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
  6. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
  7. package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
  8. package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
  9. package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
  10. package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
  11. package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
  12. package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
  13. package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
  14. package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
  15. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
  16. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
  17. package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
  18. package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
  19. package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
  20. package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
  21. package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
  22. package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +14 -14
  23. package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +24 -24
  24. package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
  25. package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
  26. package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +28 -28
  27. package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
  28. package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
  29. package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
  30. package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
  31. package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
  32. package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
  33. package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
  34. package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +76 -76
  35. package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
  36. package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
  37. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +742 -735
  38. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  39. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +498 -493
  40. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  41. package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +114 -114
  42. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
  43. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
  44. package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
  45. package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
  46. package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
  47. package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
  48. package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
  49. package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
  50. package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
  51. package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
  52. package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
  53. package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
  54. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
  55. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
  56. package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
  57. package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
  58. package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
  59. package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
  60. package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
  61. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
  62. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
  63. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
  64. package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
  65. package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
  66. package/src/com/controlresell/models/business/BusinessProfile.d.ts +6 -6
  67. package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
  68. package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
  69. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
  70. package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
  71. package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
  72. package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
  73. package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
  74. package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
  75. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
  76. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
  77. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
  78. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
  79. package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
  80. package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
  81. package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
  82. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
  83. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
  84. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
  85. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
  86. package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
  87. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
  88. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
  89. package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
  90. package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
  91. package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
  92. package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
  93. package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
  94. package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
  95. package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
  96. package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
  97. package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
  98. package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
  99. package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
  100. package/src/com/controlresell/models/files/File.d.ts +2 -2
  101. package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
  102. package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
  103. package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
  104. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
  105. package/src/com/controlresell/models/invoices/Invoice.d.ts +50 -50
  106. package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
  107. package/src/com/controlresell/models/items/CreatedItems.d.ts +1431 -1417
  108. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  109. package/src/com/controlresell/models/items/Item.d.ts +469 -464
  110. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  111. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
  112. package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
  113. package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
  114. package/src/com/controlresell/models/items/ItemUpdate.d.ts +740 -733
  115. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  116. package/src/com/controlresell/models/items/UpdatedItem.d.ts +1431 -1417
  117. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  118. package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
  119. package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
  120. package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +740 -733
  121. package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
  122. package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
  123. package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
  124. package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
  125. package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
  126. package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
  127. package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
  128. package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
  129. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +106 -106
  130. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +108 -108
  131. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +160 -160
  132. package/src/com/controlresell/models/items/history/data/ItemHistoryActionCanceledPayload.d.ts +2 -2
  133. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts +1 -1
  134. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.d.ts.map +1 -1
  135. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js +1 -1
  136. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.js.map +1 -1
  137. package/src/com/controlresell/models/items/history/data/ItemHistoryCancelReason.ts +1 -1
  138. package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
  139. package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
  140. package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
  141. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
  142. package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
  143. package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
  144. package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
  145. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +19 -16
  146. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
  147. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js +2 -1
  148. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.js.map +1 -1
  149. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.ts +2 -1
  150. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
  151. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -0
  152. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts.map +1 -1
  153. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js +2 -1
  154. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
  155. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.ts +2 -1
  156. package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
  157. package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
  158. package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
  159. package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
  160. package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
  161. package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
  162. package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
  163. package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
  164. package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
  165. package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
  166. package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
  167. package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
  168. package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
  169. package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
  170. package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
  171. package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
  172. package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
  173. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
  174. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
  175. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
  176. package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
  177. package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
  178. package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
  179. package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
  180. package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
  181. package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
  182. package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
  183. package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
  184. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +774 -767
  185. package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
  186. package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
  187. package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
  188. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts +16 -0
  189. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.d.ts.map +1 -0
  190. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js +7 -0
  191. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.js.map +1 -0
  192. package/src/com/controlresell/models/metadata/platforms/PlatformCatalogInternalIds.ts +8 -0
  193. package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
  194. package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
  195. package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
  196. package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
  197. package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
  198. package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
  199. package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
  200. package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
  201. package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
  202. package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
  203. package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
  204. package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
  205. package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
  206. package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
  207. package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
  208. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
  209. package/src/com/controlresell/models/platforms/orders/Order.d.ts +277 -270
  210. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  211. package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
  212. package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
  213. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
  214. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1661 -1641
  215. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  216. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +29 -24
  217. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  218. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1244 -1228
  219. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  220. package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
  221. package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
  222. package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
  223. package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
  224. package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
  225. package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
  226. package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
  227. package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
  228. package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
  229. package/src/com/controlresell/models/transactions/Transaction.d.ts +43 -36
  230. package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
  231. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +29 -24
  232. package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
  233. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +791 -775
  234. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  235. package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
  236. package/src/com/controlresell/models/users/User.d.ts +30 -30
  237. package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
  238. package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
  239. package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
  240. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
  241. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
  242. package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
  243. package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
  244. package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
  245. package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
  246. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3759 -3731
  247. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  248. package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
  249. package/src/index.d.ts +384 -383
  250. package/src/index.d.ts.map +1 -1
  251. package/src/index.js +384 -383
  252. package/src/index.js.map +1 -1
  253. package/src/index.ts +384 -383
@@ -21,38 +21,38 @@ export declare const ItemUpdateSchema: z.ZodObject<{
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  path: string;
23
23
  id: string;
24
- createdAt: Date;
25
24
  userId: number;
25
+ createdAt: Date;
26
26
  signedUrl: string;
27
27
  status?: "PENDING" | "CONFIRMED" | null | undefined;
28
28
  }, {
29
29
  path: string;
30
30
  id: string;
31
- createdAt: Date;
32
31
  userId: number;
32
+ createdAt: Date;
33
33
  signedUrl: string;
34
34
  status?: "PENDING" | "CONFIRMED" | null | undefined;
35
35
  }>>>;
36
36
  }, "strip", z.ZodTypeAny, {
37
- fileId: string;
38
37
  itemId: number;
38
+ fileId: string;
39
39
  file?: {
40
40
  path: string;
41
41
  id: string;
42
- createdAt: Date;
43
42
  userId: number;
43
+ createdAt: Date;
44
44
  signedUrl: string;
45
45
  status?: "PENDING" | "CONFIRMED" | null | undefined;
46
46
  } | null | undefined;
47
47
  index?: number | null | undefined;
48
48
  }, {
49
- fileId: string;
50
49
  itemId: number;
50
+ fileId: string;
51
51
  file?: {
52
52
  path: string;
53
53
  id: string;
54
- createdAt: Date;
55
54
  userId: number;
55
+ createdAt: Date;
56
56
  signedUrl: string;
57
57
  status?: "PENDING" | "CONFIRMED" | null | undefined;
58
58
  } | null | undefined;
@@ -90,12 +90,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
90
90
  }, "strip", z.ZodTypeAny, {
91
91
  value: number;
92
92
  type: string;
93
- name: string;
94
93
  id: number;
95
- createdAt: Date;
96
94
  userId: number;
95
+ name: string;
96
+ createdAt: Date;
97
97
  updatedAt: Date;
98
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
98
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
99
99
  startDate: Date;
100
100
  active: boolean;
101
101
  description?: string | null | undefined;
@@ -105,12 +105,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
105
105
  }, {
106
106
  value: number;
107
107
  type: string;
108
- name: string;
109
108
  id: number;
110
- createdAt: Date;
111
109
  userId: number;
110
+ name: string;
111
+ createdAt: Date;
112
112
  updatedAt: Date;
113
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
113
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
114
114
  startDate: Date;
115
115
  active: boolean;
116
116
  description?: string | null | undefined;
@@ -131,16 +131,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
131
131
  itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
132
132
  parentId: z.ZodUnknown;
133
133
  }, "strip", z.ZodTypeAny, {
134
- name: string;
135
134
  id: number;
135
+ name: string;
136
136
  createdAt: Date;
137
137
  isUserLabel: boolean;
138
138
  itemCount?: number | null | undefined;
139
139
  userId?: number | null | undefined;
140
140
  parentId?: unknown;
141
141
  }, {
142
- name: string;
143
142
  id: number;
143
+ name: string;
144
144
  createdAt: Date;
145
145
  isUserLabel: boolean;
146
146
  itemCount?: number | null | undefined;
@@ -151,8 +151,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
151
151
  itemId: number;
152
152
  labelId: number;
153
153
  label?: {
154
- name: string;
155
154
  id: number;
155
+ name: string;
156
156
  createdAt: Date;
157
157
  isUserLabel: boolean;
158
158
  itemCount?: number | null | undefined;
@@ -163,8 +163,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
163
163
  itemId: number;
164
164
  labelId: number;
165
165
  label?: {
166
- name: string;
167
166
  id: number;
167
+ name: string;
168
168
  createdAt: Date;
169
169
  isUserLabel: boolean;
170
170
  itemCount?: number | null | undefined;
@@ -229,11 +229,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
229
229
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
230
230
  data: z.ZodObject<{
231
231
  targetItemHistoryId: z.ZodString;
232
- 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"]>>>>;
232
+ 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"]>>>>;
233
233
  details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
234
  }, "strip", z.ZodTypeAny, {
235
235
  targetItemHistoryId: string;
236
- 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;
236
+ 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;
237
237
  details?: string | null | undefined;
238
238
  }, {
239
239
  targetItemHistoryId: string;
@@ -245,7 +245,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
245
245
  type: "ACTION_CANCELED";
246
246
  data: {
247
247
  targetItemHistoryId: string;
248
- 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;
248
+ 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;
249
249
  details?: string | null | undefined;
250
250
  };
251
251
  }, {
@@ -348,7 +348,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
348
348
  autoFixable: z.ZodBoolean;
349
349
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
350
  }, "strip", z.ZodTypeAny, {
351
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
351
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
352
352
  autoFixable: boolean;
353
353
  error?: string | null | undefined;
354
354
  }, {
@@ -363,7 +363,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
363
363
  accountId?: string | null | undefined;
364
364
  reason?: string | null | undefined;
365
365
  fields?: {
366
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
366
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
367
367
  autoFixable: boolean;
368
368
  error?: string | null | undefined;
369
369
  }[] | null | undefined;
@@ -389,7 +389,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
389
389
  accountId?: string | null | undefined;
390
390
  reason?: string | null | undefined;
391
391
  fields?: {
392
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
392
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
393
393
  autoFixable: boolean;
394
394
  error?: string | null | undefined;
395
395
  }[] | null | undefined;
@@ -573,23 +573,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
573
573
  boostedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
574
574
  boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
575
575
  }, "strip", z.ZodTypeAny, {
576
+ size?: string | null | undefined;
576
577
  status?: string | null | undefined;
577
578
  title?: string | null | undefined;
578
579
  description?: string | null | undefined;
579
- brand?: string | null | undefined;
580
- statusId?: number | null | undefined;
581
- sizeId?: number | null | undefined;
582
- colorIds?: number[] | null | undefined;
583
- packageSizeId?: number | null | undefined;
584
580
  price?: number | null | undefined;
585
581
  currency?: string | null | undefined;
582
+ brand?: string | null | undefined;
586
583
  catalog?: string | null | undefined;
587
584
  catalogId?: number | null | undefined;
588
585
  colors?: string[] | null | undefined;
586
+ colorIds?: number[] | null | undefined;
589
587
  measurementLength?: number | null | undefined;
590
588
  measurementWidth?: number | null | undefined;
589
+ packageSizeId?: number | null | undefined;
591
590
  photoUrls?: string[] | null | undefined;
592
- size?: string | null | undefined;
591
+ sizeId?: number | null | undefined;
592
+ statusId?: number | null | undefined;
593
593
  isDraft?: boolean | null | undefined;
594
594
  isArchived?: boolean | null | undefined;
595
595
  isUnisex?: boolean | null | undefined;
@@ -618,23 +618,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
618
618
  isHidden?: boolean | null | undefined;
619
619
  isDeleted?: boolean | null | undefined;
620
620
  }, {
621
+ size?: string | null | undefined;
621
622
  status?: string | null | undefined;
622
623
  title?: string | null | undefined;
623
624
  description?: string | null | undefined;
624
- brand?: string | null | undefined;
625
- statusId?: number | null | undefined;
626
- sizeId?: number | null | undefined;
627
- colorIds?: number[] | null | undefined;
628
- packageSizeId?: number | null | undefined;
629
625
  price?: number | null | undefined;
630
626
  currency?: string | null | undefined;
627
+ brand?: string | null | undefined;
631
628
  catalog?: string | null | undefined;
632
629
  catalogId?: number | null | undefined;
633
630
  colors?: string[] | null | undefined;
631
+ colorIds?: number[] | null | undefined;
634
632
  measurementLength?: number | null | undefined;
635
633
  measurementWidth?: number | null | undefined;
634
+ packageSizeId?: number | null | undefined;
636
635
  photoUrls?: string[] | null | undefined;
637
- size?: string | null | undefined;
636
+ sizeId?: number | null | undefined;
637
+ statusId?: number | null | undefined;
638
638
  isDraft?: boolean | null | undefined;
639
639
  isArchived?: boolean | null | undefined;
640
640
  isUnisex?: boolean | null | undefined;
@@ -668,23 +668,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  platformId: string;
670
670
  post: {
671
+ size?: string | null | undefined;
671
672
  status?: string | null | undefined;
672
673
  title?: string | null | undefined;
673
674
  description?: string | null | undefined;
674
- brand?: string | null | undefined;
675
- statusId?: number | null | undefined;
676
- sizeId?: number | null | undefined;
677
- colorIds?: number[] | null | undefined;
678
- packageSizeId?: number | null | undefined;
679
675
  price?: number | null | undefined;
680
676
  currency?: string | null | undefined;
677
+ brand?: string | null | undefined;
681
678
  catalog?: string | null | undefined;
682
679
  catalogId?: number | null | undefined;
683
680
  colors?: string[] | null | undefined;
681
+ colorIds?: number[] | null | undefined;
684
682
  measurementLength?: number | null | undefined;
685
683
  measurementWidth?: number | null | undefined;
684
+ packageSizeId?: number | null | undefined;
686
685
  photoUrls?: string[] | null | undefined;
687
- size?: string | null | undefined;
686
+ sizeId?: number | null | undefined;
687
+ statusId?: number | null | undefined;
688
688
  isDraft?: boolean | null | undefined;
689
689
  isArchived?: boolean | null | undefined;
690
690
  isUnisex?: boolean | null | undefined;
@@ -720,23 +720,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
720
720
  }, {
721
721
  platformId: string;
722
722
  post: {
723
+ size?: string | null | undefined;
723
724
  status?: string | null | undefined;
724
725
  title?: string | null | undefined;
725
726
  description?: string | null | undefined;
726
- brand?: string | null | undefined;
727
- statusId?: number | null | undefined;
728
- sizeId?: number | null | undefined;
729
- colorIds?: number[] | null | undefined;
730
- packageSizeId?: number | null | undefined;
731
727
  price?: number | null | undefined;
732
728
  currency?: string | null | undefined;
729
+ brand?: string | null | undefined;
733
730
  catalog?: string | null | undefined;
734
731
  catalogId?: number | null | undefined;
735
732
  colors?: string[] | null | undefined;
733
+ colorIds?: number[] | null | undefined;
736
734
  measurementLength?: number | null | undefined;
737
735
  measurementWidth?: number | null | undefined;
736
+ packageSizeId?: number | null | undefined;
738
737
  photoUrls?: string[] | null | undefined;
739
- size?: string | null | undefined;
738
+ sizeId?: number | null | undefined;
739
+ statusId?: number | null | undefined;
740
740
  isDraft?: boolean | null | undefined;
741
741
  isArchived?: boolean | null | undefined;
742
742
  isUnisex?: boolean | null | undefined;
@@ -774,23 +774,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
774
774
  post: {
775
775
  platformId: string;
776
776
  post: {
777
+ size?: string | null | undefined;
777
778
  status?: string | null | undefined;
778
779
  title?: string | null | undefined;
779
780
  description?: string | null | undefined;
780
- brand?: string | null | undefined;
781
- statusId?: number | null | undefined;
782
- sizeId?: number | null | undefined;
783
- colorIds?: number[] | null | undefined;
784
- packageSizeId?: number | null | undefined;
785
781
  price?: number | null | undefined;
786
782
  currency?: string | null | undefined;
783
+ brand?: string | null | undefined;
787
784
  catalog?: string | null | undefined;
788
785
  catalogId?: number | null | undefined;
789
786
  colors?: string[] | null | undefined;
787
+ colorIds?: number[] | null | undefined;
790
788
  measurementLength?: number | null | undefined;
791
789
  measurementWidth?: number | null | undefined;
790
+ packageSizeId?: number | null | undefined;
792
791
  photoUrls?: string[] | null | undefined;
793
- size?: string | null | undefined;
792
+ sizeId?: number | null | undefined;
793
+ statusId?: number | null | undefined;
794
794
  isDraft?: boolean | null | undefined;
795
795
  isArchived?: boolean | null | undefined;
796
796
  isUnisex?: boolean | null | undefined;
@@ -828,23 +828,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
828
828
  post: {
829
829
  platformId: string;
830
830
  post: {
831
+ size?: string | null | undefined;
831
832
  status?: string | null | undefined;
832
833
  title?: string | null | undefined;
833
834
  description?: string | null | undefined;
834
- brand?: string | null | undefined;
835
- statusId?: number | null | undefined;
836
- sizeId?: number | null | undefined;
837
- colorIds?: number[] | null | undefined;
838
- packageSizeId?: number | null | undefined;
839
835
  price?: number | null | undefined;
840
836
  currency?: string | null | undefined;
837
+ brand?: string | null | undefined;
841
838
  catalog?: string | null | undefined;
842
839
  catalogId?: number | null | undefined;
843
840
  colors?: string[] | null | undefined;
841
+ colorIds?: number[] | null | undefined;
844
842
  measurementLength?: number | null | undefined;
845
843
  measurementWidth?: number | null | undefined;
844
+ packageSizeId?: number | null | undefined;
846
845
  photoUrls?: string[] | null | undefined;
847
- size?: string | null | undefined;
846
+ sizeId?: number | null | undefined;
847
+ statusId?: number | null | undefined;
848
848
  isDraft?: boolean | null | undefined;
849
849
  isArchived?: boolean | null | undefined;
850
850
  isUnisex?: boolean | null | undefined;
@@ -886,23 +886,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
886
886
  post: {
887
887
  platformId: string;
888
888
  post: {
889
+ size?: string | null | undefined;
889
890
  status?: string | null | undefined;
890
891
  title?: string | null | undefined;
891
892
  description?: string | null | undefined;
892
- brand?: string | null | undefined;
893
- statusId?: number | null | undefined;
894
- sizeId?: number | null | undefined;
895
- colorIds?: number[] | null | undefined;
896
- packageSizeId?: number | null | undefined;
897
893
  price?: number | null | undefined;
898
894
  currency?: string | null | undefined;
895
+ brand?: string | null | undefined;
899
896
  catalog?: string | null | undefined;
900
897
  catalogId?: number | null | undefined;
901
898
  colors?: string[] | null | undefined;
899
+ colorIds?: number[] | null | undefined;
902
900
  measurementLength?: number | null | undefined;
903
901
  measurementWidth?: number | null | undefined;
902
+ packageSizeId?: number | null | undefined;
904
903
  photoUrls?: string[] | null | undefined;
905
- size?: string | null | undefined;
904
+ sizeId?: number | null | undefined;
905
+ statusId?: number | null | undefined;
906
906
  isDraft?: boolean | null | undefined;
907
907
  isArchived?: boolean | null | undefined;
908
908
  isUnisex?: boolean | null | undefined;
@@ -943,23 +943,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
943
943
  post: {
944
944
  platformId: string;
945
945
  post: {
946
+ size?: string | null | undefined;
946
947
  status?: string | null | undefined;
947
948
  title?: string | null | undefined;
948
949
  description?: string | null | undefined;
949
- brand?: string | null | undefined;
950
- statusId?: number | null | undefined;
951
- sizeId?: number | null | undefined;
952
- colorIds?: number[] | null | undefined;
953
- packageSizeId?: number | null | undefined;
954
950
  price?: number | null | undefined;
955
951
  currency?: string | null | undefined;
952
+ brand?: string | null | undefined;
956
953
  catalog?: string | null | undefined;
957
954
  catalogId?: number | null | undefined;
958
955
  colors?: string[] | null | undefined;
956
+ colorIds?: number[] | null | undefined;
959
957
  measurementLength?: number | null | undefined;
960
958
  measurementWidth?: number | null | undefined;
959
+ packageSizeId?: number | null | undefined;
961
960
  photoUrls?: string[] | null | undefined;
962
- size?: string | null | undefined;
961
+ sizeId?: number | null | undefined;
962
+ statusId?: number | null | undefined;
963
963
  isDraft?: boolean | null | undefined;
964
964
  isArchived?: boolean | null | undefined;
965
965
  isUnisex?: boolean | null | undefined;
@@ -1019,27 +1019,27 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1019
1019
  caseId: z.ZodString;
1020
1020
  isRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1021
1021
  }, "strip", z.ZodTypeAny, {
1022
- caseId: string;
1023
1022
  accountId: string;
1023
+ caseId: string;
1024
1024
  isRepeat?: boolean | null | undefined;
1025
1025
  }, {
1026
- caseId: string;
1027
1026
  accountId: string;
1027
+ caseId: string;
1028
1028
  isRepeat?: boolean | null | undefined;
1029
1029
  }>;
1030
1030
  type: z.ZodLiteral<"LIFECYCLE_STARTED">;
1031
1031
  }, "strip", z.ZodTypeAny, {
1032
1032
  type: "LIFECYCLE_STARTED";
1033
1033
  data: {
1034
- caseId: string;
1035
1034
  accountId: string;
1035
+ caseId: string;
1036
1036
  isRepeat?: boolean | null | undefined;
1037
1037
  };
1038
1038
  }, {
1039
1039
  type: "LIFECYCLE_STARTED";
1040
1040
  data: {
1041
- caseId: string;
1042
1041
  accountId: string;
1042
+ caseId: string;
1043
1043
  isRepeat?: boolean | null | undefined;
1044
1044
  };
1045
1045
  }>, z.ZodObject<{
@@ -1215,10 +1215,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1215
1215
  elasticWarpEnabled?: boolean | null | undefined;
1216
1216
  } | null | undefined;
1217
1217
  } | null | undefined;
1218
- publishingDate?: Date | null | undefined;
1219
- isTransfer?: boolean | null | undefined;
1220
1218
  targetAccountId?: string | null | undefined;
1221
1219
  allowIfDeleted?: boolean | null | undefined;
1220
+ publishingDate?: Date | null | undefined;
1221
+ isTransfer?: boolean | null | undefined;
1222
1222
  }, {
1223
1223
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1224
1224
  payload?: {
@@ -1245,10 +1245,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1245
1245
  elasticWarpEnabled?: boolean | null | undefined;
1246
1246
  } | null | undefined;
1247
1247
  } | null | undefined;
1248
- publishingDate?: Date | null | undefined;
1249
- isTransfer?: boolean | null | undefined;
1250
1248
  targetAccountId?: string | null | undefined;
1251
1249
  allowIfDeleted?: boolean | null | undefined;
1250
+ publishingDate?: Date | null | undefined;
1251
+ isTransfer?: boolean | null | undefined;
1252
1252
  }>;
1253
1253
  type: z.ZodLiteral<"REPUBLISHING">;
1254
1254
  }, "strip", z.ZodTypeAny, {
@@ -1279,10 +1279,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1279
1279
  elasticWarpEnabled?: boolean | null | undefined;
1280
1280
  } | null | undefined;
1281
1281
  } | null | undefined;
1282
- publishingDate?: Date | null | undefined;
1283
- isTransfer?: boolean | null | undefined;
1284
1282
  targetAccountId?: string | null | undefined;
1285
1283
  allowIfDeleted?: boolean | null | undefined;
1284
+ publishingDate?: Date | null | undefined;
1285
+ isTransfer?: boolean | null | undefined;
1286
1286
  };
1287
1287
  }, {
1288
1288
  type: "REPUBLISHING";
@@ -1312,10 +1312,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1312
1312
  elasticWarpEnabled?: boolean | null | undefined;
1313
1313
  } | null | undefined;
1314
1314
  } | null | undefined;
1315
- publishingDate?: Date | null | undefined;
1316
- isTransfer?: boolean | null | undefined;
1317
1315
  targetAccountId?: string | null | undefined;
1318
1316
  allowIfDeleted?: boolean | null | undefined;
1317
+ publishingDate?: Date | null | undefined;
1318
+ isTransfer?: boolean | null | undefined;
1319
1319
  };
1320
1320
  }>, z.ZodObject<{
1321
1321
  data: z.ZodObject<{
@@ -1329,7 +1329,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1329
1329
  autoFixable: z.ZodBoolean;
1330
1330
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1331
1331
  }, "strip", z.ZodTypeAny, {
1332
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1332
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1333
1333
  autoFixable: boolean;
1334
1334
  error?: string | null | undefined;
1335
1335
  }, {
@@ -1444,9 +1444,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1444
1444
  } | null | undefined;
1445
1445
  }>>>;
1446
1446
  }, "strip", z.ZodTypeAny, {
1447
- maxAttempts: number;
1448
1447
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1449
1448
  attemptNumber: number;
1449
+ maxAttempts: number;
1450
1450
  previousHistoryId: string;
1451
1451
  originalFailureDate: Date;
1452
1452
  payload?: {
@@ -1474,14 +1474,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1474
1474
  } | null | undefined;
1475
1475
  } | null | undefined;
1476
1476
  fields?: {
1477
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1477
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1478
1478
  autoFixable: boolean;
1479
1479
  error?: string | null | undefined;
1480
1480
  }[] | null | undefined;
1481
1481
  }, {
1482
- maxAttempts: number;
1483
1482
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1484
1483
  attemptNumber: number;
1484
+ maxAttempts: number;
1485
1485
  previousHistoryId: string;
1486
1486
  originalFailureDate: Date;
1487
1487
  payload?: {
@@ -1518,9 +1518,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1518
1518
  }, "strip", z.ZodTypeAny, {
1519
1519
  type: "REPUBLISHING_RETRY";
1520
1520
  data: {
1521
- maxAttempts: number;
1522
1521
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1523
1522
  attemptNumber: number;
1523
+ maxAttempts: number;
1524
1524
  previousHistoryId: string;
1525
1525
  originalFailureDate: Date;
1526
1526
  payload?: {
@@ -1548,7 +1548,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1548
1548
  } | null | undefined;
1549
1549
  } | null | undefined;
1550
1550
  fields?: {
1551
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1551
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1552
1552
  autoFixable: boolean;
1553
1553
  error?: string | null | undefined;
1554
1554
  }[] | null | undefined;
@@ -1556,9 +1556,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1556
1556
  }, {
1557
1557
  type: "REPUBLISHING_RETRY";
1558
1558
  data: {
1559
- maxAttempts: number;
1560
1559
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1561
1560
  attemptNumber: number;
1561
+ maxAttempts: number;
1562
1562
  previousHistoryId: string;
1563
1563
  originalFailureDate: Date;
1564
1564
  payload?: {
@@ -1627,7 +1627,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1627
1627
  autoFixable: z.ZodBoolean;
1628
1628
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1629
1629
  }, "strip", z.ZodTypeAny, {
1630
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1630
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1631
1631
  autoFixable: boolean;
1632
1632
  error?: string | null | undefined;
1633
1633
  }, {
@@ -1636,20 +1636,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1636
1636
  error?: string | null | undefined;
1637
1637
  }>, "many">>>;
1638
1638
  }, "strip", z.ZodTypeAny, {
1639
- maxAttempts: number;
1640
1639
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1641
1640
  attemptNumber: number;
1641
+ maxAttempts: number;
1642
1642
  previousHistoryId: string;
1643
1643
  originalFailureDate: Date;
1644
1644
  fields?: {
1645
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1645
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1646
1646
  autoFixable: boolean;
1647
1647
  error?: string | null | undefined;
1648
1648
  }[] | null | undefined;
1649
1649
  }, {
1650
- maxAttempts: number;
1651
1650
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1652
1651
  attemptNumber: number;
1652
+ maxAttempts: number;
1653
1653
  previousHistoryId: string;
1654
1654
  originalFailureDate: Date;
1655
1655
  fields?: {
@@ -1662,13 +1662,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1662
1662
  }, "strip", z.ZodTypeAny, {
1663
1663
  type: "SCHEDULED_RETRY";
1664
1664
  data: {
1665
- maxAttempts: number;
1666
1665
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1667
1666
  attemptNumber: number;
1667
+ maxAttempts: number;
1668
1668
  previousHistoryId: string;
1669
1669
  originalFailureDate: Date;
1670
1670
  fields?: {
1671
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1671
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1672
1672
  autoFixable: boolean;
1673
1673
  error?: string | null | undefined;
1674
1674
  }[] | null | undefined;
@@ -1676,9 +1676,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1676
1676
  }, {
1677
1677
  type: "SCHEDULED_RETRY";
1678
1678
  data: {
1679
- maxAttempts: number;
1680
1679
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
1681
1680
  attemptNumber: number;
1681
+ maxAttempts: number;
1682
1682
  previousHistoryId: string;
1683
1683
  originalFailureDate: Date;
1684
1684
  fields?: {
@@ -1835,11 +1835,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1835
1835
  id: string;
1836
1836
  createdAt: Date;
1837
1837
  itemId: number;
1838
+ accountId?: string | null | undefined;
1838
1839
  data?: {
1839
1840
  type: "ACTION_CANCELED";
1840
1841
  data: {
1841
1842
  targetItemHistoryId: string;
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" | null | undefined;
1843
+ 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;
1843
1844
  details?: string | null | undefined;
1844
1845
  };
1845
1846
  } | {
@@ -1870,7 +1871,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1870
1871
  accountId?: string | null | undefined;
1871
1872
  reason?: string | null | undefined;
1872
1873
  fields?: {
1873
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1874
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
1874
1875
  autoFixable: boolean;
1875
1876
  error?: string | null | undefined;
1876
1877
  }[] | null | undefined;
@@ -1900,23 +1901,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1900
1901
  post: {
1901
1902
  platformId: string;
1902
1903
  post: {
1904
+ size?: string | null | undefined;
1903
1905
  status?: string | null | undefined;
1904
1906
  title?: string | null | undefined;
1905
1907
  description?: string | null | undefined;
1906
- brand?: string | null | undefined;
1907
- statusId?: number | null | undefined;
1908
- sizeId?: number | null | undefined;
1909
- colorIds?: number[] | null | undefined;
1910
- packageSizeId?: number | null | undefined;
1911
1908
  price?: number | null | undefined;
1912
1909
  currency?: string | null | undefined;
1910
+ brand?: string | null | undefined;
1913
1911
  catalog?: string | null | undefined;
1914
1912
  catalogId?: number | null | undefined;
1915
1913
  colors?: string[] | null | undefined;
1914
+ colorIds?: number[] | null | undefined;
1916
1915
  measurementLength?: number | null | undefined;
1917
1916
  measurementWidth?: number | null | undefined;
1917
+ packageSizeId?: number | null | undefined;
1918
1918
  photoUrls?: string[] | null | undefined;
1919
- size?: string | null | undefined;
1919
+ sizeId?: number | null | undefined;
1920
+ statusId?: number | null | undefined;
1920
1921
  isDraft?: boolean | null | undefined;
1921
1922
  isArchived?: boolean | null | undefined;
1922
1923
  isUnisex?: boolean | null | undefined;
@@ -1959,8 +1960,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1959
1960
  } | {
1960
1961
  type: "LIFECYCLE_STARTED";
1961
1962
  data: {
1962
- caseId: string;
1963
1963
  accountId: string;
1964
+ caseId: string;
1964
1965
  isRepeat?: boolean | null | undefined;
1965
1966
  };
1966
1967
  } | {
@@ -1999,17 +2000,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1999
2000
  elasticWarpEnabled?: boolean | null | undefined;
2000
2001
  } | null | undefined;
2001
2002
  } | null | undefined;
2002
- publishingDate?: Date | null | undefined;
2003
- isTransfer?: boolean | null | undefined;
2004
2003
  targetAccountId?: string | null | undefined;
2005
2004
  allowIfDeleted?: boolean | null | undefined;
2005
+ publishingDate?: Date | null | undefined;
2006
+ isTransfer?: boolean | null | undefined;
2006
2007
  };
2007
2008
  } | {
2008
2009
  type: "REPUBLISHING_RETRY";
2009
2010
  data: {
2010
- maxAttempts: number;
2011
2011
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2012
2012
  attemptNumber: number;
2013
+ maxAttempts: number;
2013
2014
  previousHistoryId: string;
2014
2015
  originalFailureDate: Date;
2015
2016
  payload?: {
@@ -2037,7 +2038,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2037
2038
  } | null | undefined;
2038
2039
  } | null | undefined;
2039
2040
  fields?: {
2040
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2041
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2041
2042
  autoFixable: boolean;
2042
2043
  error?: string | null | undefined;
2043
2044
  }[] | null | undefined;
@@ -2051,13 +2052,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2051
2052
  } | {
2052
2053
  type: "SCHEDULED_RETRY";
2053
2054
  data: {
2054
- maxAttempts: number;
2055
2055
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2056
2056
  attemptNumber: number;
2057
+ maxAttempts: number;
2057
2058
  previousHistoryId: string;
2058
2059
  originalFailureDate: Date;
2059
2060
  fields?: {
2060
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2061
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
2061
2062
  autoFixable: boolean;
2062
2063
  error?: string | null | undefined;
2063
2064
  }[] | null | undefined;
@@ -2086,7 +2087,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2086
2087
  targetDate?: Date | null | undefined;
2087
2088
  };
2088
2089
  } | null | undefined;
2089
- accountId?: string | null | undefined;
2090
2090
  targetDate?: Date | null | undefined;
2091
2091
  requestId?: string | null | undefined;
2092
2092
  targetHistoryId?: string | null | undefined;
@@ -2095,6 +2095,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2095
2095
  createdAt: Date;
2096
2096
  itemId: number;
2097
2097
  type?: unknown;
2098
+ accountId?: string | null | undefined;
2098
2099
  data?: {
2099
2100
  type: "ACTION_CANCELED";
2100
2101
  data: {
@@ -2160,23 +2161,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2160
2161
  post: {
2161
2162
  platformId: string;
2162
2163
  post: {
2164
+ size?: string | null | undefined;
2163
2165
  status?: string | null | undefined;
2164
2166
  title?: string | null | undefined;
2165
2167
  description?: string | null | undefined;
2166
- brand?: string | null | undefined;
2167
- statusId?: number | null | undefined;
2168
- sizeId?: number | null | undefined;
2169
- colorIds?: number[] | null | undefined;
2170
- packageSizeId?: number | null | undefined;
2171
2168
  price?: number | null | undefined;
2172
2169
  currency?: string | null | undefined;
2170
+ brand?: string | null | undefined;
2173
2171
  catalog?: string | null | undefined;
2174
2172
  catalogId?: number | null | undefined;
2175
2173
  colors?: string[] | null | undefined;
2174
+ colorIds?: number[] | null | undefined;
2176
2175
  measurementLength?: number | null | undefined;
2177
2176
  measurementWidth?: number | null | undefined;
2177
+ packageSizeId?: number | null | undefined;
2178
2178
  photoUrls?: string[] | null | undefined;
2179
- size?: string | null | undefined;
2179
+ sizeId?: number | null | undefined;
2180
+ statusId?: number | null | undefined;
2180
2181
  isDraft?: boolean | null | undefined;
2181
2182
  isArchived?: boolean | null | undefined;
2182
2183
  isUnisex?: boolean | null | undefined;
@@ -2219,8 +2220,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2219
2220
  } | {
2220
2221
  type: "LIFECYCLE_STARTED";
2221
2222
  data: {
2222
- caseId: string;
2223
2223
  accountId: string;
2224
+ caseId: string;
2224
2225
  isRepeat?: boolean | null | undefined;
2225
2226
  };
2226
2227
  } | {
@@ -2259,17 +2260,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2259
2260
  elasticWarpEnabled?: boolean | null | undefined;
2260
2261
  } | null | undefined;
2261
2262
  } | null | undefined;
2262
- publishingDate?: Date | null | undefined;
2263
- isTransfer?: boolean | null | undefined;
2264
2263
  targetAccountId?: string | null | undefined;
2265
2264
  allowIfDeleted?: boolean | null | undefined;
2265
+ publishingDate?: Date | null | undefined;
2266
+ isTransfer?: boolean | null | undefined;
2266
2267
  };
2267
2268
  } | {
2268
2269
  type: "REPUBLISHING_RETRY";
2269
2270
  data: {
2270
- maxAttempts: number;
2271
2271
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2272
2272
  attemptNumber: number;
2273
+ maxAttempts: number;
2273
2274
  previousHistoryId: string;
2274
2275
  originalFailureDate: Date;
2275
2276
  payload?: {
@@ -2311,9 +2312,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2311
2312
  } | {
2312
2313
  type: "SCHEDULED_RETRY";
2313
2314
  data: {
2314
- maxAttempts: number;
2315
2315
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2316
2316
  attemptNumber: number;
2317
+ maxAttempts: number;
2317
2318
  previousHistoryId: string;
2318
2319
  originalFailureDate: Date;
2319
2320
  fields?: {
@@ -2346,7 +2347,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2346
2347
  targetDate?: Date | null | undefined;
2347
2348
  };
2348
2349
  } | null | undefined;
2349
- accountId?: string | null | undefined;
2350
2350
  targetDate?: Date | null | undefined;
2351
2351
  requestId?: string | null | undefined;
2352
2352
  targetHistoryId?: string | null | undefined;
@@ -2396,15 +2396,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2396
2396
  }, "strip", z.ZodTypeAny, {
2397
2397
  path: string;
2398
2398
  id: string;
2399
- createdAt: Date;
2400
2399
  userId: number;
2400
+ createdAt: Date;
2401
2401
  signedUrl: string;
2402
2402
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2403
2403
  }, {
2404
2404
  path: string;
2405
2405
  id: string;
2406
- createdAt: Date;
2407
2406
  userId: number;
2407
+ createdAt: Date;
2408
2408
  signedUrl: string;
2409
2409
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2410
2410
  }>>>;
@@ -2415,9 +2415,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2415
2415
  phoneNumberRequiredAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2416
2416
  }, "strip", z.ZodTypeAny, {
2417
2417
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2418
- name: string;
2419
- userId: number;
2420
2418
  accountId: string;
2419
+ userId: number;
2420
+ name: string;
2421
2421
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2422
2422
  locale?: string | null | undefined;
2423
2423
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
@@ -2436,8 +2436,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2436
2436
  profilePicture?: {
2437
2437
  path: string;
2438
2438
  id: string;
2439
- createdAt: Date;
2440
2439
  userId: number;
2440
+ createdAt: Date;
2441
2441
  signedUrl: string;
2442
2442
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2443
2443
  } | null | undefined;
@@ -2445,9 +2445,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2445
2445
  walletActivationRequiredAt?: Date | null | undefined;
2446
2446
  phoneNumberRequiredAt?: Date | null | undefined;
2447
2447
  }, {
2448
- name: string;
2449
- userId: number;
2450
2448
  accountId: string;
2449
+ userId: number;
2450
+ name: string;
2451
2451
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2452
2452
  status?: unknown;
2453
2453
  locale?: string | null | undefined;
@@ -2467,8 +2467,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2467
2467
  profilePicture?: {
2468
2468
  path: string;
2469
2469
  id: string;
2470
- createdAt: Date;
2471
2470
  userId: number;
2471
+ createdAt: Date;
2472
2472
  signedUrl: string;
2473
2473
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2474
2474
  } | null | undefined;
@@ -2483,11 +2483,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2483
2483
  boostedUntil: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2484
2484
  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"]>>>>;
2485
2485
  orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PURCHASE", "SALE"]>>>;
2486
+ isBoosted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2486
2487
  }, "strip", z.ZodTypeAny, {
2487
2488
  status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
2488
2489
  id: string;
2489
- createdAt: Date;
2490
2490
  accountId: string;
2491
+ createdAt: Date;
2491
2492
  itemId: number;
2492
2493
  platformId: string;
2493
2494
  platformUrl: string;
@@ -2501,9 +2502,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2501
2502
  favoritesCount?: number | null | undefined;
2502
2503
  account?: {
2503
2504
  status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
2504
- name: string;
2505
- userId: number;
2506
2505
  accountId: string;
2506
+ userId: number;
2507
+ name: string;
2507
2508
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2508
2509
  locale?: string | null | undefined;
2509
2510
  lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
@@ -2522,8 +2523,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2522
2523
  profilePicture?: {
2523
2524
  path: string;
2524
2525
  id: string;
2525
- createdAt: Date;
2526
2526
  userId: number;
2527
+ createdAt: Date;
2527
2528
  signedUrl: string;
2528
2529
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2529
2530
  } | null | undefined;
@@ -2533,10 +2534,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2533
2534
  } | null | undefined;
2534
2535
  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;
2535
2536
  orderType?: "SALE" | "PURCHASE" | null | undefined;
2537
+ isBoosted?: boolean | null | undefined;
2536
2538
  }, {
2537
2539
  id: string;
2538
- createdAt: Date;
2539
2540
  accountId: string;
2541
+ createdAt: Date;
2540
2542
  itemId: number;
2541
2543
  platformId: string;
2542
2544
  platformUrl: string;
@@ -2550,9 +2552,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2550
2552
  viewsCount?: number | null | undefined;
2551
2553
  favoritesCount?: number | null | undefined;
2552
2554
  account?: {
2553
- name: string;
2554
- userId: number;
2555
2555
  accountId: string;
2556
+ userId: number;
2557
+ name: string;
2556
2558
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
2557
2559
  status?: unknown;
2558
2560
  locale?: string | null | undefined;
@@ -2572,8 +2574,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2572
2574
  profilePicture?: {
2573
2575
  path: string;
2574
2576
  id: string;
2575
- createdAt: Date;
2576
2577
  userId: number;
2578
+ createdAt: Date;
2577
2579
  signedUrl: string;
2578
2580
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2579
2581
  } | null | undefined;
@@ -2583,11 +2585,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2583
2585
  } | null | undefined;
2584
2586
  orderStatus?: unknown;
2585
2587
  orderType?: "SALE" | "PURCHASE" | null | undefined;
2588
+ isBoosted?: boolean | null | undefined;
2586
2589
  }>, "many">>>;
2587
2590
  actions: z.ZodObject<{
2588
2591
  perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodCatch<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE", "UPDATE_CANCEL", "BOOST", "UNKNOWN"]>>, "many">>;
2589
2592
  }, "strip", z.ZodTypeAny, {
2590
- perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
2593
+ perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
2591
2594
  }, {
2592
2595
  perAccount: Record<string, unknown[]>;
2593
2596
  }>;
@@ -2612,15 +2615,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2612
2615
  }, "strip", z.ZodTypeAny, {
2613
2616
  path: string;
2614
2617
  id: string;
2615
- createdAt: Date;
2616
2618
  userId: number;
2619
+ createdAt: Date;
2617
2620
  signedUrl: string;
2618
2621
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2619
2622
  }, {
2620
2623
  path: string;
2621
2624
  id: string;
2622
- createdAt: Date;
2623
2625
  userId: number;
2626
+ createdAt: Date;
2624
2627
  signedUrl: string;
2625
2628
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2626
2629
  }>>>;
@@ -2634,15 +2637,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2634
2637
  }, "strip", z.ZodTypeAny, {
2635
2638
  path: string;
2636
2639
  id: string;
2637
- createdAt: Date;
2638
2640
  userId: number;
2641
+ createdAt: Date;
2639
2642
  signedUrl: string;
2640
2643
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2641
2644
  }, {
2642
2645
  path: string;
2643
2646
  id: string;
2644
- createdAt: Date;
2645
2647
  userId: number;
2648
+ createdAt: Date;
2646
2649
  signedUrl: string;
2647
2650
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2648
2651
  }>>>;
@@ -2656,81 +2659,81 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2656
2659
  }, "strip", z.ZodTypeAny, {
2657
2660
  path: string;
2658
2661
  id: string;
2659
- createdAt: Date;
2660
2662
  userId: number;
2663
+ createdAt: Date;
2661
2664
  signedUrl: string;
2662
2665
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2663
2666
  }, {
2664
2667
  path: string;
2665
2668
  id: string;
2666
- createdAt: Date;
2667
2669
  userId: number;
2670
+ createdAt: Date;
2668
2671
  signedUrl: string;
2669
2672
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2670
2673
  }>>>;
2671
2674
  carrier: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["MONDIAL_RELAY", "MONDIAL_RELAY_2", "MONDIAL_RELAY_3", "MONDIAL_RELAY_4", "MONDIAL_RELAY_5", "UPS", "CHRONOPOST", "COLISSIMO", "RELAIS_COLIS", "VINTED_GO", "VINTED_GO_BE", "VINTED_VERIF", "B_POST", "VINTED_GO_IT", "DPD", "VINTED_GO_DIGITAL", "DHL", "DHL_ECONOMY", "UNKNOWN"]>>>>;
2672
2675
  }, "strip", z.ZodTypeAny, {
2673
2676
  id: string;
2674
- fileId: string;
2675
2677
  orderId: string;
2678
+ fileId: string;
2676
2679
  nonCroppedFileId: string;
2677
2680
  originalFileId: string;
2678
- originalFile?: {
2681
+ file?: {
2679
2682
  path: string;
2680
2683
  id: string;
2681
- createdAt: Date;
2682
2684
  userId: number;
2685
+ createdAt: Date;
2683
2686
  signedUrl: string;
2684
2687
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2685
2688
  } | null | undefined;
2686
- carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
2687
- file?: {
2689
+ nonCroppedFile?: {
2688
2690
  path: string;
2689
2691
  id: string;
2690
- createdAt: Date;
2691
2692
  userId: number;
2693
+ createdAt: Date;
2692
2694
  signedUrl: string;
2693
2695
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2694
2696
  } | null | undefined;
2695
- nonCroppedFile?: {
2697
+ originalFile?: {
2696
2698
  path: string;
2697
2699
  id: string;
2698
- createdAt: Date;
2699
2700
  userId: number;
2701
+ createdAt: Date;
2700
2702
  signedUrl: string;
2701
2703
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2702
2704
  } | null | undefined;
2705
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
2703
2706
  }, {
2704
2707
  id: string;
2705
- fileId: string;
2706
2708
  orderId: string;
2709
+ fileId: string;
2707
2710
  nonCroppedFileId: string;
2708
2711
  originalFileId: string;
2709
- originalFile?: {
2712
+ file?: {
2710
2713
  path: string;
2711
2714
  id: string;
2712
- createdAt: Date;
2713
2715
  userId: number;
2716
+ createdAt: Date;
2714
2717
  signedUrl: string;
2715
2718
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2716
2719
  } | null | undefined;
2717
- carrier?: unknown;
2718
- file?: {
2720
+ nonCroppedFile?: {
2719
2721
  path: string;
2720
2722
  id: string;
2721
- createdAt: Date;
2722
2723
  userId: number;
2724
+ createdAt: Date;
2723
2725
  signedUrl: string;
2724
2726
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2725
2727
  } | null | undefined;
2726
- nonCroppedFile?: {
2728
+ originalFile?: {
2727
2729
  path: string;
2728
2730
  id: string;
2729
- createdAt: Date;
2730
2731
  userId: number;
2732
+ createdAt: Date;
2731
2733
  signedUrl: string;
2732
2734
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2733
2735
  } | null | undefined;
2736
+ carrier?: unknown;
2734
2737
  }>, "many">>>;
2735
2738
  invoices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2736
2739
  id: z.ZodString;
@@ -2757,15 +2760,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2757
2760
  }, "strip", z.ZodTypeAny, {
2758
2761
  path: string;
2759
2762
  id: string;
2760
- createdAt: Date;
2761
2763
  userId: number;
2764
+ createdAt: Date;
2762
2765
  signedUrl: string;
2763
2766
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2764
2767
  }, {
2765
2768
  path: string;
2766
2769
  id: string;
2767
- createdAt: Date;
2768
2770
  userId: number;
2771
+ createdAt: Date;
2769
2772
  signedUrl: string;
2770
2773
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2771
2774
  }>>>;
@@ -2774,8 +2777,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2774
2777
  updatedAt: z.ZodDate;
2775
2778
  }, "strip", z.ZodTypeAny, {
2776
2779
  id: string;
2777
- createdAt: Date;
2778
2780
  userId: number;
2781
+ createdAt: Date;
2779
2782
  updatedAt: Date;
2780
2783
  businessName: string;
2781
2784
  address: string;
@@ -2788,15 +2791,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2788
2791
  logo?: {
2789
2792
  path: string;
2790
2793
  id: string;
2791
- createdAt: Date;
2792
2794
  userId: number;
2795
+ createdAt: Date;
2793
2796
  signedUrl: string;
2794
2797
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2795
2798
  } | null | undefined;
2796
2799
  }, {
2797
2800
  id: string;
2798
- createdAt: Date;
2799
2801
  userId: number;
2802
+ createdAt: Date;
2800
2803
  updatedAt: Date;
2801
2804
  businessName: string;
2802
2805
  address: string;
@@ -2809,8 +2812,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2809
2812
  logo?: {
2810
2813
  path: string;
2811
2814
  id: string;
2812
- createdAt: Date;
2813
2815
  userId: number;
2816
+ createdAt: Date;
2814
2817
  signedUrl: string;
2815
2818
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2816
2819
  } | null | undefined;
@@ -2839,34 +2842,34 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2839
2842
  firstName: string;
2840
2843
  lastName: string;
2841
2844
  phoneVerified: boolean;
2842
- birthDate?: Date | null | undefined;
2845
+ postalCode?: string | null | undefined;
2846
+ city?: string | null | undefined;
2847
+ country?: string | null | undefined;
2843
2848
  email?: string | null | undefined;
2849
+ addressLine1?: string | null | undefined;
2850
+ addressLine2?: string | null | undefined;
2851
+ birthDate?: Date | null | undefined;
2844
2852
  idNumber?: string | null | undefined;
2845
2853
  phone?: string | null | undefined;
2846
2854
  iban?: string | null | undefined;
2847
2855
  bic?: string | null | undefined;
2848
- addressLine1?: string | null | undefined;
2849
- addressLine2?: string | null | undefined;
2850
- city?: string | null | undefined;
2851
- postalCode?: string | null | undefined;
2852
- country?: string | null | undefined;
2853
2856
  }, {
2854
2857
  id: string;
2855
2858
  userId: number;
2856
2859
  firstName: string;
2857
2860
  lastName: string;
2858
2861
  phoneVerified: boolean;
2859
- birthDate?: Date | null | undefined;
2862
+ postalCode?: string | null | undefined;
2863
+ city?: string | null | undefined;
2864
+ country?: string | null | undefined;
2860
2865
  email?: string | null | undefined;
2866
+ addressLine1?: string | null | undefined;
2867
+ addressLine2?: string | null | undefined;
2868
+ birthDate?: Date | null | undefined;
2861
2869
  idNumber?: string | null | undefined;
2862
2870
  phone?: string | null | undefined;
2863
2871
  iban?: string | null | undefined;
2864
2872
  bic?: string | null | undefined;
2865
- addressLine1?: string | null | undefined;
2866
- addressLine2?: string | null | undefined;
2867
- city?: string | null | undefined;
2868
- postalCode?: string | null | undefined;
2869
- country?: string | null | undefined;
2870
2873
  }>>>;
2871
2874
  orderId: z.ZodString;
2872
2875
  fileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2880,15 +2883,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2880
2883
  }, "strip", z.ZodTypeAny, {
2881
2884
  path: string;
2882
2885
  id: string;
2883
- createdAt: Date;
2884
2886
  userId: number;
2887
+ createdAt: Date;
2885
2888
  signedUrl: string;
2886
2889
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2887
2890
  }, {
2888
2891
  path: string;
2889
2892
  id: string;
2890
- createdAt: Date;
2891
2893
  userId: number;
2894
+ createdAt: Date;
2892
2895
  signedUrl: string;
2893
2896
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2894
2897
  }>>>;
@@ -2913,21 +2916,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2913
2916
  total: z.ZodNumber;
2914
2917
  createdAt: z.ZodDate;
2915
2918
  }, "strip", z.ZodTypeAny, {
2916
- description: string;
2919
+ quantity: number;
2917
2920
  id: number;
2921
+ description: string;
2918
2922
  createdAt: Date;
2919
2923
  invoiceId: string;
2920
- quantity: number;
2921
2924
  unitPrice: number;
2922
2925
  total: number;
2923
2926
  itemOnPlatformId?: string | null | undefined;
2924
2927
  vatRate?: number | null | undefined;
2925
2928
  }, {
2926
- description: string;
2929
+ quantity: number;
2927
2930
  id: number;
2931
+ description: string;
2928
2932
  createdAt: Date;
2929
2933
  invoiceId: string;
2930
- quantity: number;
2931
2934
  unitPrice: number;
2932
2935
  total: number;
2933
2936
  itemOnPlatformId?: string | null | undefined;
@@ -2939,8 +2942,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2939
2942
  type: "SALE" | "PURCHASE";
2940
2943
  status: string;
2941
2944
  id: string;
2942
- createdAt: Date;
2943
2945
  userId: number;
2946
+ createdAt: Date;
2944
2947
  currency: string;
2945
2948
  orderId: string;
2946
2949
  updatedAt: Date;
@@ -2949,21 +2952,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2949
2952
  businessProfileId: string;
2950
2953
  issueDate: Date;
2951
2954
  subtotal: number;
2952
- fileId?: string | null | undefined;
2953
2955
  vatAmount?: number | null | undefined;
2956
+ fileId?: string | null | undefined;
2954
2957
  file?: {
2955
2958
  path: string;
2956
2959
  id: string;
2957
- createdAt: Date;
2958
2960
  userId: number;
2961
+ createdAt: Date;
2959
2962
  signedUrl: string;
2960
2963
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2961
2964
  } | null | undefined;
2962
2965
  vatRate?: number | null | undefined;
2963
2966
  businessProfile?: {
2964
2967
  id: string;
2965
- createdAt: Date;
2966
2968
  userId: number;
2969
+ createdAt: Date;
2967
2970
  updatedAt: Date;
2968
2971
  businessName: string;
2969
2972
  address: string;
@@ -2976,8 +2979,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2976
2979
  logo?: {
2977
2980
  path: string;
2978
2981
  id: string;
2979
- createdAt: Date;
2980
2982
  userId: number;
2983
+ createdAt: Date;
2981
2984
  signedUrl: string;
2982
2985
  status?: "PENDING" | "CONFIRMED" | null | undefined;
2983
2986
  } | null | undefined;
@@ -2989,26 +2992,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2989
2992
  firstName: string;
2990
2993
  lastName: string;
2991
2994
  phoneVerified: boolean;
2992
- birthDate?: Date | null | undefined;
2995
+ postalCode?: string | null | undefined;
2996
+ city?: string | null | undefined;
2997
+ country?: string | null | undefined;
2993
2998
  email?: string | null | undefined;
2999
+ addressLine1?: string | null | undefined;
3000
+ addressLine2?: string | null | undefined;
3001
+ birthDate?: Date | null | undefined;
2994
3002
  idNumber?: string | null | undefined;
2995
3003
  phone?: string | null | undefined;
2996
3004
  iban?: string | null | undefined;
2997
3005
  bic?: string | null | undefined;
2998
- addressLine1?: string | null | undefined;
2999
- addressLine2?: string | null | undefined;
3000
- city?: string | null | undefined;
3001
- postalCode?: string | null | undefined;
3002
- country?: string | null | undefined;
3003
3006
  } | null | undefined;
3004
3007
  dueDate?: Date | null | undefined;
3005
3008
  notes?: string | null | undefined;
3006
3009
  lineItems?: {
3007
- description: string;
3010
+ quantity: number;
3008
3011
  id: number;
3012
+ description: string;
3009
3013
  createdAt: Date;
3010
3014
  invoiceId: string;
3011
- quantity: number;
3012
3015
  unitPrice: number;
3013
3016
  total: number;
3014
3017
  itemOnPlatformId?: string | null | undefined;
@@ -3018,8 +3021,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3018
3021
  type: "SALE" | "PURCHASE";
3019
3022
  status: string;
3020
3023
  id: string;
3021
- createdAt: Date;
3022
3024
  userId: number;
3025
+ createdAt: Date;
3023
3026
  currency: string;
3024
3027
  orderId: string;
3025
3028
  updatedAt: Date;
@@ -3028,21 +3031,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3028
3031
  businessProfileId: string;
3029
3032
  issueDate: Date;
3030
3033
  subtotal: number;
3031
- fileId?: string | null | undefined;
3032
3034
  vatAmount?: number | null | undefined;
3035
+ fileId?: string | null | undefined;
3033
3036
  file?: {
3034
3037
  path: string;
3035
3038
  id: string;
3036
- createdAt: Date;
3037
3039
  userId: number;
3040
+ createdAt: Date;
3038
3041
  signedUrl: string;
3039
3042
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3040
3043
  } | null | undefined;
3041
3044
  vatRate?: number | null | undefined;
3042
3045
  businessProfile?: {
3043
3046
  id: string;
3044
- createdAt: Date;
3045
3047
  userId: number;
3048
+ createdAt: Date;
3046
3049
  updatedAt: Date;
3047
3050
  businessName: string;
3048
3051
  address: string;
@@ -3055,8 +3058,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3055
3058
  logo?: {
3056
3059
  path: string;
3057
3060
  id: string;
3058
- createdAt: Date;
3059
3061
  userId: number;
3062
+ createdAt: Date;
3060
3063
  signedUrl: string;
3061
3064
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3062
3065
  } | null | undefined;
@@ -3068,26 +3071,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3068
3071
  firstName: string;
3069
3072
  lastName: string;
3070
3073
  phoneVerified: boolean;
3071
- birthDate?: Date | null | undefined;
3074
+ postalCode?: string | null | undefined;
3075
+ city?: string | null | undefined;
3076
+ country?: string | null | undefined;
3072
3077
  email?: string | null | undefined;
3078
+ addressLine1?: string | null | undefined;
3079
+ addressLine2?: string | null | undefined;
3080
+ birthDate?: Date | null | undefined;
3073
3081
  idNumber?: string | null | undefined;
3074
3082
  phone?: string | null | undefined;
3075
3083
  iban?: string | null | undefined;
3076
3084
  bic?: string | null | undefined;
3077
- addressLine1?: string | null | undefined;
3078
- addressLine2?: string | null | undefined;
3079
- city?: string | null | undefined;
3080
- postalCode?: string | null | undefined;
3081
- country?: string | null | undefined;
3082
3085
  } | null | undefined;
3083
3086
  dueDate?: Date | null | undefined;
3084
3087
  notes?: string | null | undefined;
3085
3088
  lineItems?: {
3086
- description: string;
3089
+ quantity: number;
3087
3090
  id: number;
3091
+ description: string;
3088
3092
  createdAt: Date;
3089
3093
  invoiceId: string;
3090
- quantity: number;
3091
3094
  unitPrice: number;
3092
3095
  total: number;
3093
3096
  itemOnPlatformId?: string | null | undefined;
@@ -3098,42 +3101,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3098
3101
  transactionType: "SINGLE_ITEM" | "BUNDLE";
3099
3102
  labels?: {
3100
3103
  id: string;
3101
- fileId: string;
3102
3104
  orderId: string;
3105
+ fileId: string;
3103
3106
  nonCroppedFileId: string;
3104
3107
  originalFileId: string;
3105
- originalFile?: {
3108
+ file?: {
3106
3109
  path: string;
3107
3110
  id: string;
3108
- createdAt: Date;
3109
3111
  userId: number;
3112
+ createdAt: Date;
3110
3113
  signedUrl: string;
3111
3114
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3112
3115
  } | null | undefined;
3113
- carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
3114
- file?: {
3116
+ nonCroppedFile?: {
3115
3117
  path: string;
3116
3118
  id: string;
3117
- createdAt: Date;
3118
3119
  userId: number;
3120
+ createdAt: Date;
3119
3121
  signedUrl: string;
3120
3122
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3121
3123
  } | null | undefined;
3122
- nonCroppedFile?: {
3124
+ originalFile?: {
3123
3125
  path: string;
3124
3126
  id: string;
3125
- createdAt: Date;
3126
3127
  userId: number;
3128
+ createdAt: Date;
3127
3129
  signedUrl: string;
3128
3130
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3129
3131
  } | null | undefined;
3132
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
3130
3133
  }[] | null | undefined;
3131
3134
  invoices?: {
3132
3135
  type: "SALE" | "PURCHASE";
3133
3136
  status: string;
3134
3137
  id: string;
3135
- createdAt: Date;
3136
3138
  userId: number;
3139
+ createdAt: Date;
3137
3140
  currency: string;
3138
3141
  orderId: string;
3139
3142
  updatedAt: Date;
@@ -3142,21 +3145,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3142
3145
  businessProfileId: string;
3143
3146
  issueDate: Date;
3144
3147
  subtotal: number;
3145
- fileId?: string | null | undefined;
3146
3148
  vatAmount?: number | null | undefined;
3149
+ fileId?: string | null | undefined;
3147
3150
  file?: {
3148
3151
  path: string;
3149
3152
  id: string;
3150
- createdAt: Date;
3151
3153
  userId: number;
3154
+ createdAt: Date;
3152
3155
  signedUrl: string;
3153
3156
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3154
3157
  } | null | undefined;
3155
3158
  vatRate?: number | null | undefined;
3156
3159
  businessProfile?: {
3157
3160
  id: string;
3158
- createdAt: Date;
3159
3161
  userId: number;
3162
+ createdAt: Date;
3160
3163
  updatedAt: Date;
3161
3164
  businessName: string;
3162
3165
  address: string;
@@ -3169,8 +3172,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3169
3172
  logo?: {
3170
3173
  path: string;
3171
3174
  id: string;
3172
- createdAt: Date;
3173
3175
  userId: number;
3176
+ createdAt: Date;
3174
3177
  signedUrl: string;
3175
3178
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3176
3179
  } | null | undefined;
@@ -3182,26 +3185,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3182
3185
  firstName: string;
3183
3186
  lastName: string;
3184
3187
  phoneVerified: boolean;
3185
- birthDate?: Date | null | undefined;
3188
+ postalCode?: string | null | undefined;
3189
+ city?: string | null | undefined;
3190
+ country?: string | null | undefined;
3186
3191
  email?: string | null | undefined;
3192
+ addressLine1?: string | null | undefined;
3193
+ addressLine2?: string | null | undefined;
3194
+ birthDate?: Date | null | undefined;
3187
3195
  idNumber?: string | null | undefined;
3188
3196
  phone?: string | null | undefined;
3189
3197
  iban?: string | null | undefined;
3190
3198
  bic?: string | null | undefined;
3191
- addressLine1?: string | null | undefined;
3192
- addressLine2?: string | null | undefined;
3193
- city?: string | null | undefined;
3194
- postalCode?: string | null | undefined;
3195
- country?: string | null | undefined;
3196
3199
  } | null | undefined;
3197
3200
  dueDate?: Date | null | undefined;
3198
3201
  notes?: string | null | undefined;
3199
3202
  lineItems?: {
3200
- description: string;
3203
+ quantity: number;
3201
3204
  id: number;
3205
+ description: string;
3202
3206
  createdAt: Date;
3203
3207
  invoiceId: string;
3204
- quantity: number;
3205
3208
  unitPrice: number;
3206
3209
  total: number;
3207
3210
  itemOnPlatformId?: string | null | undefined;
@@ -3212,42 +3215,42 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3212
3215
  transactionType: "SINGLE_ITEM" | "BUNDLE";
3213
3216
  labels?: {
3214
3217
  id: string;
3215
- fileId: string;
3216
3218
  orderId: string;
3219
+ fileId: string;
3217
3220
  nonCroppedFileId: string;
3218
3221
  originalFileId: string;
3219
- originalFile?: {
3222
+ file?: {
3220
3223
  path: string;
3221
3224
  id: string;
3222
- createdAt: Date;
3223
3225
  userId: number;
3226
+ createdAt: Date;
3224
3227
  signedUrl: string;
3225
3228
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3226
3229
  } | null | undefined;
3227
- carrier?: unknown;
3228
- file?: {
3230
+ nonCroppedFile?: {
3229
3231
  path: string;
3230
3232
  id: string;
3231
- createdAt: Date;
3232
3233
  userId: number;
3234
+ createdAt: Date;
3233
3235
  signedUrl: string;
3234
3236
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3235
3237
  } | null | undefined;
3236
- nonCroppedFile?: {
3238
+ originalFile?: {
3237
3239
  path: string;
3238
3240
  id: string;
3239
- createdAt: Date;
3240
3241
  userId: number;
3242
+ createdAt: Date;
3241
3243
  signedUrl: string;
3242
3244
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3243
3245
  } | null | undefined;
3246
+ carrier?: unknown;
3244
3247
  }[] | null | undefined;
3245
3248
  invoices?: {
3246
3249
  type: "SALE" | "PURCHASE";
3247
3250
  status: string;
3248
3251
  id: string;
3249
- createdAt: Date;
3250
3252
  userId: number;
3253
+ createdAt: Date;
3251
3254
  currency: string;
3252
3255
  orderId: string;
3253
3256
  updatedAt: Date;
@@ -3256,21 +3259,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3256
3259
  businessProfileId: string;
3257
3260
  issueDate: Date;
3258
3261
  subtotal: number;
3259
- fileId?: string | null | undefined;
3260
3262
  vatAmount?: number | null | undefined;
3263
+ fileId?: string | null | undefined;
3261
3264
  file?: {
3262
3265
  path: string;
3263
3266
  id: string;
3264
- createdAt: Date;
3265
3267
  userId: number;
3268
+ createdAt: Date;
3266
3269
  signedUrl: string;
3267
3270
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3268
3271
  } | null | undefined;
3269
3272
  vatRate?: number | null | undefined;
3270
3273
  businessProfile?: {
3271
3274
  id: string;
3272
- createdAt: Date;
3273
3275
  userId: number;
3276
+ createdAt: Date;
3274
3277
  updatedAt: Date;
3275
3278
  businessName: string;
3276
3279
  address: string;
@@ -3283,8 +3286,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3283
3286
  logo?: {
3284
3287
  path: string;
3285
3288
  id: string;
3286
- createdAt: Date;
3287
3289
  userId: number;
3290
+ createdAt: Date;
3288
3291
  signedUrl: string;
3289
3292
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3290
3293
  } | null | undefined;
@@ -3296,26 +3299,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3296
3299
  firstName: string;
3297
3300
  lastName: string;
3298
3301
  phoneVerified: boolean;
3299
- birthDate?: Date | null | undefined;
3302
+ postalCode?: string | null | undefined;
3303
+ city?: string | null | undefined;
3304
+ country?: string | null | undefined;
3300
3305
  email?: string | null | undefined;
3306
+ addressLine1?: string | null | undefined;
3307
+ addressLine2?: string | null | undefined;
3308
+ birthDate?: Date | null | undefined;
3301
3309
  idNumber?: string | null | undefined;
3302
3310
  phone?: string | null | undefined;
3303
3311
  iban?: string | null | undefined;
3304
3312
  bic?: string | null | undefined;
3305
- addressLine1?: string | null | undefined;
3306
- addressLine2?: string | null | undefined;
3307
- city?: string | null | undefined;
3308
- postalCode?: string | null | undefined;
3309
- country?: string | null | undefined;
3310
3313
  } | null | undefined;
3311
3314
  dueDate?: Date | null | undefined;
3312
3315
  notes?: string | null | undefined;
3313
3316
  lineItems?: {
3314
- description: string;
3317
+ quantity: number;
3315
3318
  id: number;
3319
+ description: string;
3316
3320
  createdAt: Date;
3317
3321
  invoiceId: string;
3318
- quantity: number;
3319
3322
  unitPrice: number;
3320
3323
  total: number;
3321
3324
  itemOnPlatformId?: string | null | undefined;
@@ -3325,45 +3328,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3325
3328
  }>>>;
3326
3329
  analysisStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PENDING", "COMPLETED", "FAILED"]>>>;
3327
3330
  }, "strip", z.ZodTypeAny, {
3328
- actions: {
3329
- perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
3330
- };
3331
- name: string;
3332
3331
  id: number;
3333
- createdAt: Date;
3334
3332
  userId: number;
3333
+ name: string;
3334
+ createdAt: Date;
3335
3335
  updatedAt: Date;
3336
3336
  sold: boolean;
3337
- fees?: {
3338
- value: number;
3339
- type: string;
3340
- name: string;
3341
- id: number;
3342
- createdAt: Date;
3343
- userId: number;
3344
- updatedAt: Date;
3345
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
3346
- startDate: Date;
3347
- active: boolean;
3348
- description?: string | null | undefined;
3349
- itemId?: number | null | undefined;
3350
- endDate?: Date | null | undefined;
3351
- parentFeeId?: number | null | undefined;
3352
- }[] | null | undefined;
3337
+ actions: {
3338
+ perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
3339
+ };
3353
3340
  description?: string | null | undefined;
3354
3341
  categoryId?: number | null | undefined;
3355
- sizeId?: number | null | undefined;
3356
- colorIds?: number[] | null | undefined;
3357
- packageSizeId?: number | null | undefined;
3358
3342
  state?: number | null | undefined;
3343
+ colorIds?: number[] | null | undefined;
3359
3344
  measurementLength?: number | null | undefined;
3360
3345
  measurementWidth?: number | null | undefined;
3346
+ packageSizeId?: number | null | undefined;
3347
+ sizeId?: number | null | undefined;
3361
3348
  labels?: {
3362
3349
  itemId: number;
3363
3350
  labelId: number;
3364
3351
  label?: {
3365
- name: string;
3366
3352
  id: number;
3353
+ name: string;
3367
3354
  createdAt: Date;
3368
3355
  isUserLabel: boolean;
3369
3356
  itemCount?: number | null | undefined;
@@ -3376,85 +3363,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3376
3363
  fieldKey: string;
3377
3364
  }[] | null | undefined;
3378
3365
  sku?: string | null | undefined;
3379
- sex?: string | null | undefined;
3380
- platforms?: {
3381
- status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
3382
- id: string;
3383
- createdAt: Date;
3384
- accountId: string;
3385
- itemId: number;
3386
- platformId: string;
3387
- platformUrl: string;
3388
- platformPrice: number;
3389
- updatedAt: Date;
3390
- publishedAt: Date;
3391
- conversationId?: string | null | undefined;
3392
- boostedAt?: Date | null | undefined;
3393
- boostedUntil?: Date | null | undefined;
3394
- viewsCount?: number | null | undefined;
3395
- favoritesCount?: number | null | undefined;
3396
- account?: {
3397
- status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3398
- name: string;
3399
- userId: number;
3400
- accountId: string;
3401
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3402
- locale?: string | null | undefined;
3403
- lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
3404
- restrictedUntil?: Date | null | undefined;
3405
- night?: {
3406
- startsAt: Date;
3407
- endsAt: Date;
3408
- } | null | undefined;
3409
- favoritesMaxDelay?: number | null | undefined;
3410
- ordersMaxDelay?: number | null | undefined;
3411
- conversationsMaxDelay?: number | null | undefined;
3412
- walletMaxDelay?: number | null | undefined;
3413
- availableBalance?: number | null | undefined;
3414
- pendingBalance?: number | null | undefined;
3415
- profilePictureFileId?: string | null | undefined;
3416
- profilePicture?: {
3417
- path: string;
3418
- id: string;
3419
- createdAt: Date;
3420
- userId: number;
3421
- signedUrl: string;
3422
- status?: "PENDING" | "CONFIRMED" | null | undefined;
3423
- } | null | undefined;
3424
- cooldownEndsAt?: Date | null | undefined;
3425
- walletActivationRequiredAt?: Date | null | undefined;
3426
- phoneNumberRequiredAt?: Date | null | undefined;
3427
- } | null | undefined;
3428
- 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;
3429
- orderType?: "SALE" | "PURCHASE" | null | undefined;
3430
- }[] | null | undefined;
3431
- brandId?: number | null | undefined;
3432
- estimatedPrice?: number | null | undefined;
3433
- purchaseDate?: Date | null | undefined;
3434
- sellingDate?: Date | null | undefined;
3435
- fields?: {
3436
- value: string;
3366
+ fields?: {
3367
+ value: string;
3437
3368
  itemId: number;
3438
3369
  fieldId: number;
3439
3370
  }[] | null | undefined;
3440
3371
  files?: {
3441
- fileId: string;
3442
3372
  itemId: number;
3373
+ fileId: string;
3443
3374
  file?: {
3444
3375
  path: string;
3445
3376
  id: string;
3446
- createdAt: Date;
3447
3377
  userId: number;
3378
+ createdAt: Date;
3448
3379
  signedUrl: string;
3449
3380
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3450
3381
  } | null | undefined;
3451
3382
  index?: number | null | undefined;
3452
3383
  }[] | null | undefined;
3384
+ brandId?: number | null | undefined;
3385
+ sex?: string | null | undefined;
3453
3386
  purchasePrice?: number | null | undefined;
3387
+ purchaseDate?: Date | null | undefined;
3454
3388
  purchasePlaceId?: number | null | undefined;
3455
3389
  purchased?: boolean | null | undefined;
3456
3390
  sellingPrice?: number | null | undefined;
3391
+ sellingDate?: Date | null | undefined;
3457
3392
  sellingPlaceId?: number | null | undefined;
3393
+ estimatedPrice?: number | null | undefined;
3394
+ fees?: {
3395
+ value: number;
3396
+ type: string;
3397
+ id: number;
3398
+ userId: number;
3399
+ name: string;
3400
+ createdAt: Date;
3401
+ updatedAt: Date;
3402
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
3403
+ startDate: Date;
3404
+ active: boolean;
3405
+ description?: string | null | undefined;
3406
+ itemId?: number | null | undefined;
3407
+ endDate?: Date | null | undefined;
3408
+ parentFeeId?: number | null | undefined;
3409
+ }[] | null | undefined;
3458
3410
  feesSum?: number | null | undefined;
3459
3411
  materialIds?: number[] | null | undefined;
3460
3412
  enumValues?: {
@@ -3470,11 +3422,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3470
3422
  id: string;
3471
3423
  createdAt: Date;
3472
3424
  itemId: number;
3425
+ accountId?: string | null | undefined;
3473
3426
  data?: {
3474
3427
  type: "ACTION_CANCELED";
3475
3428
  data: {
3476
3429
  targetItemHistoryId: string;
3477
- 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;
3430
+ 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;
3478
3431
  details?: string | null | undefined;
3479
3432
  };
3480
3433
  } | {
@@ -3505,7 +3458,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3505
3458
  accountId?: string | null | undefined;
3506
3459
  reason?: string | null | undefined;
3507
3460
  fields?: {
3508
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3461
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3509
3462
  autoFixable: boolean;
3510
3463
  error?: string | null | undefined;
3511
3464
  }[] | null | undefined;
@@ -3535,23 +3488,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3535
3488
  post: {
3536
3489
  platformId: string;
3537
3490
  post: {
3491
+ size?: string | null | undefined;
3538
3492
  status?: string | null | undefined;
3539
3493
  title?: string | null | undefined;
3540
3494
  description?: string | null | undefined;
3541
- brand?: string | null | undefined;
3542
- statusId?: number | null | undefined;
3543
- sizeId?: number | null | undefined;
3544
- colorIds?: number[] | null | undefined;
3545
- packageSizeId?: number | null | undefined;
3546
3495
  price?: number | null | undefined;
3547
3496
  currency?: string | null | undefined;
3497
+ brand?: string | null | undefined;
3548
3498
  catalog?: string | null | undefined;
3549
3499
  catalogId?: number | null | undefined;
3550
3500
  colors?: string[] | null | undefined;
3501
+ colorIds?: number[] | null | undefined;
3551
3502
  measurementLength?: number | null | undefined;
3552
3503
  measurementWidth?: number | null | undefined;
3504
+ packageSizeId?: number | null | undefined;
3553
3505
  photoUrls?: string[] | null | undefined;
3554
- size?: string | null | undefined;
3506
+ sizeId?: number | null | undefined;
3507
+ statusId?: number | null | undefined;
3555
3508
  isDraft?: boolean | null | undefined;
3556
3509
  isArchived?: boolean | null | undefined;
3557
3510
  isUnisex?: boolean | null | undefined;
@@ -3594,8 +3547,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3594
3547
  } | {
3595
3548
  type: "LIFECYCLE_STARTED";
3596
3549
  data: {
3597
- caseId: string;
3598
3550
  accountId: string;
3551
+ caseId: string;
3599
3552
  isRepeat?: boolean | null | undefined;
3600
3553
  };
3601
3554
  } | {
@@ -3634,17 +3587,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3634
3587
  elasticWarpEnabled?: boolean | null | undefined;
3635
3588
  } | null | undefined;
3636
3589
  } | null | undefined;
3637
- publishingDate?: Date | null | undefined;
3638
- isTransfer?: boolean | null | undefined;
3639
3590
  targetAccountId?: string | null | undefined;
3640
3591
  allowIfDeleted?: boolean | null | undefined;
3592
+ publishingDate?: Date | null | undefined;
3593
+ isTransfer?: boolean | null | undefined;
3641
3594
  };
3642
3595
  } | {
3643
3596
  type: "REPUBLISHING_RETRY";
3644
3597
  data: {
3645
- maxAttempts: number;
3646
3598
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3647
3599
  attemptNumber: number;
3600
+ maxAttempts: number;
3648
3601
  previousHistoryId: string;
3649
3602
  originalFailureDate: Date;
3650
3603
  payload?: {
@@ -3672,7 +3625,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3672
3625
  } | null | undefined;
3673
3626
  } | null | undefined;
3674
3627
  fields?: {
3675
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3628
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3676
3629
  autoFixable: boolean;
3677
3630
  error?: string | null | undefined;
3678
3631
  }[] | null | undefined;
@@ -3686,13 +3639,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3686
3639
  } | {
3687
3640
  type: "SCHEDULED_RETRY";
3688
3641
  data: {
3689
- maxAttempts: number;
3690
3642
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3691
3643
  attemptNumber: number;
3644
+ maxAttempts: number;
3692
3645
  previousHistoryId: string;
3693
3646
  originalFailureDate: Date;
3694
3647
  fields?: {
3695
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3648
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
3696
3649
  autoFixable: boolean;
3697
3650
  error?: string | null | undefined;
3698
3651
  }[] | null | undefined;
@@ -3721,52 +3674,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3721
3674
  targetDate?: Date | null | undefined;
3722
3675
  };
3723
3676
  } | null | undefined;
3724
- accountId?: string | null | undefined;
3725
3677
  targetDate?: Date | null | undefined;
3726
3678
  requestId?: string | null | undefined;
3727
3679
  targetHistoryId?: string | null | undefined;
3728
3680
  } | null | undefined;
3681
+ platforms?: {
3682
+ status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
3683
+ id: string;
3684
+ accountId: string;
3685
+ createdAt: Date;
3686
+ itemId: number;
3687
+ platformId: string;
3688
+ platformUrl: string;
3689
+ platformPrice: number;
3690
+ updatedAt: Date;
3691
+ publishedAt: Date;
3692
+ conversationId?: string | null | undefined;
3693
+ boostedAt?: Date | null | undefined;
3694
+ boostedUntil?: Date | null | undefined;
3695
+ viewsCount?: number | null | undefined;
3696
+ favoritesCount?: number | null | undefined;
3697
+ account?: {
3698
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
3699
+ accountId: string;
3700
+ userId: number;
3701
+ name: string;
3702
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3703
+ locale?: string | null | undefined;
3704
+ lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
3705
+ restrictedUntil?: Date | null | undefined;
3706
+ night?: {
3707
+ startsAt: Date;
3708
+ endsAt: Date;
3709
+ } | null | undefined;
3710
+ favoritesMaxDelay?: number | null | undefined;
3711
+ ordersMaxDelay?: number | null | undefined;
3712
+ conversationsMaxDelay?: number | null | undefined;
3713
+ walletMaxDelay?: number | null | undefined;
3714
+ availableBalance?: number | null | undefined;
3715
+ pendingBalance?: number | null | undefined;
3716
+ profilePictureFileId?: string | null | undefined;
3717
+ profilePicture?: {
3718
+ path: string;
3719
+ id: string;
3720
+ userId: number;
3721
+ createdAt: Date;
3722
+ signedUrl: string;
3723
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
3724
+ } | null | undefined;
3725
+ cooldownEndsAt?: Date | null | undefined;
3726
+ walletActivationRequiredAt?: Date | null | undefined;
3727
+ phoneNumberRequiredAt?: Date | null | undefined;
3728
+ } | null | undefined;
3729
+ 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;
3730
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
3731
+ isBoosted?: boolean | null | undefined;
3732
+ }[] | null | undefined;
3729
3733
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
3730
3734
  order?: {
3731
3735
  transactionType: "SINGLE_ITEM" | "BUNDLE";
3732
3736
  labels?: {
3733
3737
  id: string;
3734
- fileId: string;
3735
3738
  orderId: string;
3739
+ fileId: string;
3736
3740
  nonCroppedFileId: string;
3737
3741
  originalFileId: string;
3738
- originalFile?: {
3742
+ file?: {
3739
3743
  path: string;
3740
3744
  id: string;
3741
- createdAt: Date;
3742
3745
  userId: number;
3746
+ createdAt: Date;
3743
3747
  signedUrl: string;
3744
3748
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3745
3749
  } | null | undefined;
3746
- carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
3747
- file?: {
3750
+ nonCroppedFile?: {
3748
3751
  path: string;
3749
3752
  id: string;
3750
- createdAt: Date;
3751
3753
  userId: number;
3754
+ createdAt: Date;
3752
3755
  signedUrl: string;
3753
3756
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3754
3757
  } | null | undefined;
3755
- nonCroppedFile?: {
3758
+ originalFile?: {
3756
3759
  path: string;
3757
3760
  id: string;
3758
- createdAt: Date;
3759
3761
  userId: number;
3762
+ createdAt: Date;
3760
3763
  signedUrl: string;
3761
3764
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3762
3765
  } | null | undefined;
3766
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
3763
3767
  }[] | null | undefined;
3764
3768
  invoices?: {
3765
3769
  type: "SALE" | "PURCHASE";
3766
3770
  status: string;
3767
3771
  id: string;
3768
- createdAt: Date;
3769
3772
  userId: number;
3773
+ createdAt: Date;
3770
3774
  currency: string;
3771
3775
  orderId: string;
3772
3776
  updatedAt: Date;
@@ -3775,21 +3779,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3775
3779
  businessProfileId: string;
3776
3780
  issueDate: Date;
3777
3781
  subtotal: number;
3778
- fileId?: string | null | undefined;
3779
3782
  vatAmount?: number | null | undefined;
3783
+ fileId?: string | null | undefined;
3780
3784
  file?: {
3781
3785
  path: string;
3782
3786
  id: string;
3783
- createdAt: Date;
3784
3787
  userId: number;
3788
+ createdAt: Date;
3785
3789
  signedUrl: string;
3786
3790
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3787
3791
  } | null | undefined;
3788
3792
  vatRate?: number | null | undefined;
3789
3793
  businessProfile?: {
3790
3794
  id: string;
3791
- createdAt: Date;
3792
3795
  userId: number;
3796
+ createdAt: Date;
3793
3797
  updatedAt: Date;
3794
3798
  businessName: string;
3795
3799
  address: string;
@@ -3802,8 +3806,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3802
3806
  logo?: {
3803
3807
  path: string;
3804
3808
  id: string;
3805
- createdAt: Date;
3806
3809
  userId: number;
3810
+ createdAt: Date;
3807
3811
  signedUrl: string;
3808
3812
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3809
3813
  } | null | undefined;
@@ -3815,26 +3819,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3815
3819
  firstName: string;
3816
3820
  lastName: string;
3817
3821
  phoneVerified: boolean;
3818
- birthDate?: Date | null | undefined;
3822
+ postalCode?: string | null | undefined;
3823
+ city?: string | null | undefined;
3824
+ country?: string | null | undefined;
3819
3825
  email?: string | null | undefined;
3826
+ addressLine1?: string | null | undefined;
3827
+ addressLine2?: string | null | undefined;
3828
+ birthDate?: Date | null | undefined;
3820
3829
  idNumber?: string | null | undefined;
3821
3830
  phone?: string | null | undefined;
3822
3831
  iban?: string | null | undefined;
3823
3832
  bic?: string | null | undefined;
3824
- addressLine1?: string | null | undefined;
3825
- addressLine2?: string | null | undefined;
3826
- city?: string | null | undefined;
3827
- postalCode?: string | null | undefined;
3828
- country?: string | null | undefined;
3829
3833
  } | null | undefined;
3830
3834
  dueDate?: Date | null | undefined;
3831
3835
  notes?: string | null | undefined;
3832
3836
  lineItems?: {
3833
- description: string;
3837
+ quantity: number;
3834
3838
  id: number;
3839
+ description: string;
3835
3840
  createdAt: Date;
3836
3841
  invoiceId: string;
3837
- quantity: number;
3838
3842
  unitPrice: number;
3839
3843
  total: number;
3840
3844
  itemOnPlatformId?: string | null | undefined;
@@ -3844,45 +3848,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3844
3848
  } | null | undefined;
3845
3849
  analysisStatus?: "PENDING" | "COMPLETED" | "FAILED" | null | undefined;
3846
3850
  }, {
3847
- actions: {
3848
- perAccount: Record<string, unknown[]>;
3849
- };
3850
- name: string;
3851
3851
  id: number;
3852
- createdAt: Date;
3853
3852
  userId: number;
3853
+ name: string;
3854
+ createdAt: Date;
3854
3855
  updatedAt: Date;
3855
3856
  sold: boolean;
3856
- fees?: {
3857
- value: number;
3858
- type: string;
3859
- name: string;
3860
- id: number;
3861
- createdAt: Date;
3862
- userId: number;
3863
- updatedAt: Date;
3864
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
3865
- startDate: Date;
3866
- active: boolean;
3867
- description?: string | null | undefined;
3868
- itemId?: number | null | undefined;
3869
- endDate?: Date | null | undefined;
3870
- parentFeeId?: number | null | undefined;
3871
- }[] | null | undefined;
3857
+ actions: {
3858
+ perAccount: Record<string, unknown[]>;
3859
+ };
3872
3860
  description?: string | null | undefined;
3873
3861
  categoryId?: number | null | undefined;
3874
- sizeId?: number | null | undefined;
3875
- colorIds?: number[] | null | undefined;
3876
- packageSizeId?: number | null | undefined;
3877
3862
  state?: number | null | undefined;
3863
+ colorIds?: number[] | null | undefined;
3878
3864
  measurementLength?: number | null | undefined;
3879
3865
  measurementWidth?: number | null | undefined;
3866
+ packageSizeId?: number | null | undefined;
3867
+ sizeId?: number | null | undefined;
3880
3868
  labels?: {
3881
3869
  itemId: number;
3882
3870
  labelId: number;
3883
3871
  label?: {
3884
- name: string;
3885
3872
  id: number;
3873
+ name: string;
3886
3874
  createdAt: Date;
3887
3875
  isUserLabel: boolean;
3888
3876
  itemCount?: number | null | undefined;
@@ -3895,85 +3883,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3895
3883
  fieldKey: string;
3896
3884
  }[] | null | undefined;
3897
3885
  sku?: string | null | undefined;
3898
- sex?: string | null | undefined;
3899
- platforms?: {
3900
- id: string;
3901
- createdAt: Date;
3902
- accountId: string;
3903
- itemId: number;
3904
- platformId: string;
3905
- platformUrl: string;
3906
- platformPrice: number;
3907
- updatedAt: Date;
3908
- publishedAt: Date;
3909
- status?: unknown;
3910
- conversationId?: string | null | undefined;
3911
- boostedAt?: Date | null | undefined;
3912
- boostedUntil?: Date | null | undefined;
3913
- viewsCount?: number | null | undefined;
3914
- favoritesCount?: number | null | undefined;
3915
- account?: {
3916
- name: string;
3917
- userId: number;
3918
- accountId: string;
3919
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
3920
- status?: unknown;
3921
- locale?: string | null | undefined;
3922
- lockReason?: unknown;
3923
- restrictedUntil?: Date | null | undefined;
3924
- night?: {
3925
- startsAt: Date;
3926
- endsAt: Date;
3927
- } | null | undefined;
3928
- favoritesMaxDelay?: number | null | undefined;
3929
- ordersMaxDelay?: number | null | undefined;
3930
- conversationsMaxDelay?: number | null | undefined;
3931
- walletMaxDelay?: number | null | undefined;
3932
- availableBalance?: number | null | undefined;
3933
- pendingBalance?: number | null | undefined;
3934
- profilePictureFileId?: string | null | undefined;
3935
- profilePicture?: {
3936
- path: string;
3937
- id: string;
3938
- createdAt: Date;
3939
- userId: number;
3940
- signedUrl: string;
3941
- status?: "PENDING" | "CONFIRMED" | null | undefined;
3942
- } | null | undefined;
3943
- cooldownEndsAt?: Date | null | undefined;
3944
- walletActivationRequiredAt?: Date | null | undefined;
3945
- phoneNumberRequiredAt?: Date | null | undefined;
3946
- } | null | undefined;
3947
- orderStatus?: unknown;
3948
- orderType?: "SALE" | "PURCHASE" | null | undefined;
3949
- }[] | null | undefined;
3950
- brandId?: number | null | undefined;
3951
- estimatedPrice?: number | null | undefined;
3952
- purchaseDate?: Date | null | undefined;
3953
- sellingDate?: Date | null | undefined;
3954
3886
  fields?: {
3955
3887
  value: string;
3956
3888
  itemId: number;
3957
3889
  fieldId: number;
3958
3890
  }[] | null | undefined;
3959
3891
  files?: {
3960
- fileId: string;
3961
3892
  itemId: number;
3893
+ fileId: string;
3962
3894
  file?: {
3963
3895
  path: string;
3964
3896
  id: string;
3965
- createdAt: Date;
3966
3897
  userId: number;
3898
+ createdAt: Date;
3967
3899
  signedUrl: string;
3968
3900
  status?: "PENDING" | "CONFIRMED" | null | undefined;
3969
3901
  } | null | undefined;
3970
3902
  index?: number | null | undefined;
3971
3903
  }[] | null | undefined;
3904
+ brandId?: number | null | undefined;
3905
+ sex?: string | null | undefined;
3972
3906
  purchasePrice?: number | null | undefined;
3907
+ purchaseDate?: Date | null | undefined;
3973
3908
  purchasePlaceId?: number | null | undefined;
3974
3909
  purchased?: boolean | null | undefined;
3975
3910
  sellingPrice?: number | null | undefined;
3911
+ sellingDate?: Date | null | undefined;
3976
3912
  sellingPlaceId?: number | null | undefined;
3913
+ estimatedPrice?: number | null | undefined;
3914
+ fees?: {
3915
+ value: number;
3916
+ type: string;
3917
+ id: number;
3918
+ userId: number;
3919
+ name: string;
3920
+ createdAt: Date;
3921
+ updatedAt: Date;
3922
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
3923
+ startDate: Date;
3924
+ active: boolean;
3925
+ description?: string | null | undefined;
3926
+ itemId?: number | null | undefined;
3927
+ endDate?: Date | null | undefined;
3928
+ parentFeeId?: number | null | undefined;
3929
+ }[] | null | undefined;
3977
3930
  feesSum?: number | null | undefined;
3978
3931
  materialIds?: number[] | null | undefined;
3979
3932
  enumValues?: {
@@ -3989,6 +3942,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
3989
3942
  createdAt: Date;
3990
3943
  itemId: number;
3991
3944
  type?: unknown;
3945
+ accountId?: string | null | undefined;
3992
3946
  data?: {
3993
3947
  type: "ACTION_CANCELED";
3994
3948
  data: {
@@ -4054,23 +4008,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4054
4008
  post: {
4055
4009
  platformId: string;
4056
4010
  post: {
4011
+ size?: string | null | undefined;
4057
4012
  status?: string | null | undefined;
4058
4013
  title?: string | null | undefined;
4059
4014
  description?: string | null | undefined;
4060
- brand?: string | null | undefined;
4061
- statusId?: number | null | undefined;
4062
- sizeId?: number | null | undefined;
4063
- colorIds?: number[] | null | undefined;
4064
- packageSizeId?: number | null | undefined;
4065
4015
  price?: number | null | undefined;
4066
4016
  currency?: string | null | undefined;
4017
+ brand?: string | null | undefined;
4067
4018
  catalog?: string | null | undefined;
4068
4019
  catalogId?: number | null | undefined;
4069
4020
  colors?: string[] | null | undefined;
4021
+ colorIds?: number[] | null | undefined;
4070
4022
  measurementLength?: number | null | undefined;
4071
4023
  measurementWidth?: number | null | undefined;
4024
+ packageSizeId?: number | null | undefined;
4072
4025
  photoUrls?: string[] | null | undefined;
4073
- size?: string | null | undefined;
4026
+ sizeId?: number | null | undefined;
4027
+ statusId?: number | null | undefined;
4074
4028
  isDraft?: boolean | null | undefined;
4075
4029
  isArchived?: boolean | null | undefined;
4076
4030
  isUnisex?: boolean | null | undefined;
@@ -4113,8 +4067,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4113
4067
  } | {
4114
4068
  type: "LIFECYCLE_STARTED";
4115
4069
  data: {
4116
- caseId: string;
4117
4070
  accountId: string;
4071
+ caseId: string;
4118
4072
  isRepeat?: boolean | null | undefined;
4119
4073
  };
4120
4074
  } | {
@@ -4153,17 +4107,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4153
4107
  elasticWarpEnabled?: boolean | null | undefined;
4154
4108
  } | null | undefined;
4155
4109
  } | null | undefined;
4156
- publishingDate?: Date | null | undefined;
4157
- isTransfer?: boolean | null | undefined;
4158
4110
  targetAccountId?: string | null | undefined;
4159
4111
  allowIfDeleted?: boolean | null | undefined;
4112
+ publishingDate?: Date | null | undefined;
4113
+ isTransfer?: boolean | null | undefined;
4160
4114
  };
4161
4115
  } | {
4162
4116
  type: "REPUBLISHING_RETRY";
4163
4117
  data: {
4164
- maxAttempts: number;
4165
4118
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4166
4119
  attemptNumber: number;
4120
+ maxAttempts: number;
4167
4121
  previousHistoryId: string;
4168
4122
  originalFailureDate: Date;
4169
4123
  payload?: {
@@ -4205,9 +4159,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4205
4159
  } | {
4206
4160
  type: "SCHEDULED_RETRY";
4207
4161
  data: {
4208
- maxAttempts: number;
4209
4162
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4210
4163
  attemptNumber: number;
4164
+ maxAttempts: number;
4211
4165
  previousHistoryId: string;
4212
4166
  originalFailureDate: Date;
4213
4167
  fields?: {
@@ -4240,52 +4194,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4240
4194
  targetDate?: Date | null | undefined;
4241
4195
  };
4242
4196
  } | null | undefined;
4243
- accountId?: string | null | undefined;
4244
- targetDate?: Date | null | undefined;
4245
- requestId?: string | null | undefined;
4246
- targetHistoryId?: string | null | undefined;
4247
- } | null | undefined;
4197
+ targetDate?: Date | null | undefined;
4198
+ requestId?: string | null | undefined;
4199
+ targetHistoryId?: string | null | undefined;
4200
+ } | null | undefined;
4201
+ platforms?: {
4202
+ id: string;
4203
+ accountId: string;
4204
+ createdAt: Date;
4205
+ itemId: number;
4206
+ platformId: string;
4207
+ platformUrl: string;
4208
+ platformPrice: number;
4209
+ updatedAt: Date;
4210
+ publishedAt: Date;
4211
+ status?: unknown;
4212
+ conversationId?: string | null | undefined;
4213
+ boostedAt?: Date | null | undefined;
4214
+ boostedUntil?: Date | null | undefined;
4215
+ viewsCount?: number | null | undefined;
4216
+ favoritesCount?: number | null | undefined;
4217
+ account?: {
4218
+ accountId: string;
4219
+ userId: number;
4220
+ name: string;
4221
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4222
+ status?: unknown;
4223
+ locale?: string | null | undefined;
4224
+ lockReason?: unknown;
4225
+ restrictedUntil?: Date | null | undefined;
4226
+ night?: {
4227
+ startsAt: Date;
4228
+ endsAt: Date;
4229
+ } | null | undefined;
4230
+ favoritesMaxDelay?: number | null | undefined;
4231
+ ordersMaxDelay?: number | null | undefined;
4232
+ conversationsMaxDelay?: number | null | undefined;
4233
+ walletMaxDelay?: number | null | undefined;
4234
+ availableBalance?: number | null | undefined;
4235
+ pendingBalance?: number | null | undefined;
4236
+ profilePictureFileId?: string | null | undefined;
4237
+ profilePicture?: {
4238
+ path: string;
4239
+ id: string;
4240
+ userId: number;
4241
+ createdAt: Date;
4242
+ signedUrl: string;
4243
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4244
+ } | null | undefined;
4245
+ cooldownEndsAt?: Date | null | undefined;
4246
+ walletActivationRequiredAt?: Date | null | undefined;
4247
+ phoneNumberRequiredAt?: Date | null | undefined;
4248
+ } | null | undefined;
4249
+ orderStatus?: unknown;
4250
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
4251
+ isBoosted?: boolean | null | undefined;
4252
+ }[] | null | undefined;
4248
4253
  sourceInConversation?: unknown;
4249
4254
  order?: {
4250
4255
  transactionType: "SINGLE_ITEM" | "BUNDLE";
4251
4256
  labels?: {
4252
4257
  id: string;
4253
- fileId: string;
4254
4258
  orderId: string;
4259
+ fileId: string;
4255
4260
  nonCroppedFileId: string;
4256
4261
  originalFileId: string;
4257
- originalFile?: {
4262
+ file?: {
4258
4263
  path: string;
4259
4264
  id: string;
4260
- createdAt: Date;
4261
4265
  userId: number;
4266
+ createdAt: Date;
4262
4267
  signedUrl: string;
4263
4268
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4264
4269
  } | null | undefined;
4265
- carrier?: unknown;
4266
- file?: {
4270
+ nonCroppedFile?: {
4267
4271
  path: string;
4268
4272
  id: string;
4269
- createdAt: Date;
4270
4273
  userId: number;
4274
+ createdAt: Date;
4271
4275
  signedUrl: string;
4272
4276
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4273
4277
  } | null | undefined;
4274
- nonCroppedFile?: {
4278
+ originalFile?: {
4275
4279
  path: string;
4276
4280
  id: string;
4277
- createdAt: Date;
4278
4281
  userId: number;
4282
+ createdAt: Date;
4279
4283
  signedUrl: string;
4280
4284
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4281
4285
  } | null | undefined;
4286
+ carrier?: unknown;
4282
4287
  }[] | null | undefined;
4283
4288
  invoices?: {
4284
4289
  type: "SALE" | "PURCHASE";
4285
4290
  status: string;
4286
4291
  id: string;
4287
- createdAt: Date;
4288
4292
  userId: number;
4293
+ createdAt: Date;
4289
4294
  currency: string;
4290
4295
  orderId: string;
4291
4296
  updatedAt: Date;
@@ -4294,21 +4299,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4294
4299
  businessProfileId: string;
4295
4300
  issueDate: Date;
4296
4301
  subtotal: number;
4297
- fileId?: string | null | undefined;
4298
4302
  vatAmount?: number | null | undefined;
4303
+ fileId?: string | null | undefined;
4299
4304
  file?: {
4300
4305
  path: string;
4301
4306
  id: string;
4302
- createdAt: Date;
4303
4307
  userId: number;
4308
+ createdAt: Date;
4304
4309
  signedUrl: string;
4305
4310
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4306
4311
  } | null | undefined;
4307
4312
  vatRate?: number | null | undefined;
4308
4313
  businessProfile?: {
4309
4314
  id: string;
4310
- createdAt: Date;
4311
4315
  userId: number;
4316
+ createdAt: Date;
4312
4317
  updatedAt: Date;
4313
4318
  businessName: string;
4314
4319
  address: string;
@@ -4321,8 +4326,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4321
4326
  logo?: {
4322
4327
  path: string;
4323
4328
  id: string;
4324
- createdAt: Date;
4325
4329
  userId: number;
4330
+ createdAt: Date;
4326
4331
  signedUrl: string;
4327
4332
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4328
4333
  } | null | undefined;
@@ -4334,26 +4339,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4334
4339
  firstName: string;
4335
4340
  lastName: string;
4336
4341
  phoneVerified: boolean;
4337
- birthDate?: Date | null | undefined;
4342
+ postalCode?: string | null | undefined;
4343
+ city?: string | null | undefined;
4344
+ country?: string | null | undefined;
4338
4345
  email?: string | null | undefined;
4346
+ addressLine1?: string | null | undefined;
4347
+ addressLine2?: string | null | undefined;
4348
+ birthDate?: Date | null | undefined;
4339
4349
  idNumber?: string | null | undefined;
4340
4350
  phone?: string | null | undefined;
4341
4351
  iban?: string | null | undefined;
4342
4352
  bic?: string | null | undefined;
4343
- addressLine1?: string | null | undefined;
4344
- addressLine2?: string | null | undefined;
4345
- city?: string | null | undefined;
4346
- postalCode?: string | null | undefined;
4347
- country?: string | null | undefined;
4348
4353
  } | null | undefined;
4349
4354
  dueDate?: Date | null | undefined;
4350
4355
  notes?: string | null | undefined;
4351
4356
  lineItems?: {
4352
- description: string;
4357
+ quantity: number;
4353
4358
  id: number;
4359
+ description: string;
4354
4360
  createdAt: Date;
4355
4361
  invoiceId: string;
4356
- quantity: number;
4357
4362
  unitPrice: number;
4358
4363
  total: number;
4359
4364
  itemOnPlatformId?: string | null | undefined;
@@ -4367,45 +4372,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4367
4372
  }, "strip", z.ZodTypeAny, {
4368
4373
  userId: number;
4369
4374
  item: {
4370
- actions: {
4371
- perAccount: Record<string, ("REPUBLISH" | "UNKNOWN" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE" | "UPDATE_CANCEL" | "BOOST")[]>;
4372
- };
4373
- name: string;
4374
4375
  id: number;
4375
- createdAt: Date;
4376
4376
  userId: number;
4377
+ name: string;
4378
+ createdAt: Date;
4377
4379
  updatedAt: Date;
4378
4380
  sold: boolean;
4379
- fees?: {
4380
- value: number;
4381
- type: string;
4382
- name: string;
4383
- id: number;
4384
- createdAt: Date;
4385
- userId: number;
4386
- updatedAt: Date;
4387
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
4388
- startDate: Date;
4389
- active: boolean;
4390
- description?: string | null | undefined;
4391
- itemId?: number | null | undefined;
4392
- endDate?: Date | null | undefined;
4393
- parentFeeId?: number | null | undefined;
4394
- }[] | null | undefined;
4381
+ actions: {
4382
+ perAccount: Record<string, ("PUBLISH" | "REPUBLISH" | "UPDATE" | "UNKNOWN" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE_CANCEL" | "BOOST")[]>;
4383
+ };
4395
4384
  description?: string | null | undefined;
4396
4385
  categoryId?: number | null | undefined;
4397
- sizeId?: number | null | undefined;
4398
- colorIds?: number[] | null | undefined;
4399
- packageSizeId?: number | null | undefined;
4400
4386
  state?: number | null | undefined;
4387
+ colorIds?: number[] | null | undefined;
4401
4388
  measurementLength?: number | null | undefined;
4402
4389
  measurementWidth?: number | null | undefined;
4390
+ packageSizeId?: number | null | undefined;
4391
+ sizeId?: number | null | undefined;
4403
4392
  labels?: {
4404
4393
  itemId: number;
4405
4394
  labelId: number;
4406
4395
  label?: {
4407
- name: string;
4408
4396
  id: number;
4397
+ name: string;
4409
4398
  createdAt: Date;
4410
4399
  isUserLabel: boolean;
4411
4400
  itemCount?: number | null | undefined;
@@ -4418,85 +4407,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4418
4407
  fieldKey: string;
4419
4408
  }[] | null | undefined;
4420
4409
  sku?: string | null | undefined;
4421
- sex?: string | null | undefined;
4422
- platforms?: {
4423
- status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
4424
- id: string;
4425
- createdAt: Date;
4426
- accountId: string;
4427
- itemId: number;
4428
- platformId: string;
4429
- platformUrl: string;
4430
- platformPrice: number;
4431
- updatedAt: Date;
4432
- publishedAt: Date;
4433
- conversationId?: string | null | undefined;
4434
- boostedAt?: Date | null | undefined;
4435
- boostedUntil?: Date | null | undefined;
4436
- viewsCount?: number | null | undefined;
4437
- favoritesCount?: number | null | undefined;
4438
- account?: {
4439
- status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4440
- name: string;
4441
- userId: number;
4442
- accountId: string;
4443
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4444
- locale?: string | null | undefined;
4445
- lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
4446
- restrictedUntil?: Date | null | undefined;
4447
- night?: {
4448
- startsAt: Date;
4449
- endsAt: Date;
4450
- } | null | undefined;
4451
- favoritesMaxDelay?: number | null | undefined;
4452
- ordersMaxDelay?: number | null | undefined;
4453
- conversationsMaxDelay?: number | null | undefined;
4454
- walletMaxDelay?: number | null | undefined;
4455
- availableBalance?: number | null | undefined;
4456
- pendingBalance?: number | null | undefined;
4457
- profilePictureFileId?: string | null | undefined;
4458
- profilePicture?: {
4459
- path: string;
4460
- id: string;
4461
- createdAt: Date;
4462
- userId: number;
4463
- signedUrl: string;
4464
- status?: "PENDING" | "CONFIRMED" | null | undefined;
4465
- } | null | undefined;
4466
- cooldownEndsAt?: Date | null | undefined;
4467
- walletActivationRequiredAt?: Date | null | undefined;
4468
- phoneNumberRequiredAt?: Date | null | undefined;
4469
- } | null | undefined;
4470
- 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;
4471
- orderType?: "SALE" | "PURCHASE" | null | undefined;
4472
- }[] | null | undefined;
4473
- brandId?: number | null | undefined;
4474
- estimatedPrice?: number | null | undefined;
4475
- purchaseDate?: Date | null | undefined;
4476
- sellingDate?: Date | null | undefined;
4477
4410
  fields?: {
4478
4411
  value: string;
4479
4412
  itemId: number;
4480
4413
  fieldId: number;
4481
4414
  }[] | null | undefined;
4482
4415
  files?: {
4483
- fileId: string;
4484
4416
  itemId: number;
4417
+ fileId: string;
4485
4418
  file?: {
4486
4419
  path: string;
4487
4420
  id: string;
4488
- createdAt: Date;
4489
4421
  userId: number;
4422
+ createdAt: Date;
4490
4423
  signedUrl: string;
4491
4424
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4492
4425
  } | null | undefined;
4493
4426
  index?: number | null | undefined;
4494
4427
  }[] | null | undefined;
4428
+ brandId?: number | null | undefined;
4429
+ sex?: string | null | undefined;
4495
4430
  purchasePrice?: number | null | undefined;
4431
+ purchaseDate?: Date | null | undefined;
4496
4432
  purchasePlaceId?: number | null | undefined;
4497
4433
  purchased?: boolean | null | undefined;
4498
4434
  sellingPrice?: number | null | undefined;
4435
+ sellingDate?: Date | null | undefined;
4499
4436
  sellingPlaceId?: number | null | undefined;
4437
+ estimatedPrice?: number | null | undefined;
4438
+ fees?: {
4439
+ value: number;
4440
+ type: string;
4441
+ id: number;
4442
+ userId: number;
4443
+ name: string;
4444
+ createdAt: Date;
4445
+ updatedAt: Date;
4446
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
4447
+ startDate: Date;
4448
+ active: boolean;
4449
+ description?: string | null | undefined;
4450
+ itemId?: number | null | undefined;
4451
+ endDate?: Date | null | undefined;
4452
+ parentFeeId?: number | null | undefined;
4453
+ }[] | null | undefined;
4500
4454
  feesSum?: number | null | undefined;
4501
4455
  materialIds?: number[] | null | undefined;
4502
4456
  enumValues?: {
@@ -4512,11 +4466,12 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4512
4466
  id: string;
4513
4467
  createdAt: Date;
4514
4468
  itemId: number;
4469
+ accountId?: string | null | undefined;
4515
4470
  data?: {
4516
4471
  type: "ACTION_CANCELED";
4517
4472
  data: {
4518
4473
  targetItemHistoryId: string;
4519
- 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;
4474
+ 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;
4520
4475
  details?: string | null | undefined;
4521
4476
  };
4522
4477
  } | {
@@ -4547,7 +4502,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4547
4502
  accountId?: string | null | undefined;
4548
4503
  reason?: string | null | undefined;
4549
4504
  fields?: {
4550
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4505
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4551
4506
  autoFixable: boolean;
4552
4507
  error?: string | null | undefined;
4553
4508
  }[] | null | undefined;
@@ -4577,23 +4532,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4577
4532
  post: {
4578
4533
  platformId: string;
4579
4534
  post: {
4535
+ size?: string | null | undefined;
4580
4536
  status?: string | null | undefined;
4581
4537
  title?: string | null | undefined;
4582
4538
  description?: string | null | undefined;
4583
- brand?: string | null | undefined;
4584
- statusId?: number | null | undefined;
4585
- sizeId?: number | null | undefined;
4586
- colorIds?: number[] | null | undefined;
4587
- packageSizeId?: number | null | undefined;
4588
4539
  price?: number | null | undefined;
4589
4540
  currency?: string | null | undefined;
4541
+ brand?: string | null | undefined;
4590
4542
  catalog?: string | null | undefined;
4591
4543
  catalogId?: number | null | undefined;
4592
4544
  colors?: string[] | null | undefined;
4545
+ colorIds?: number[] | null | undefined;
4593
4546
  measurementLength?: number | null | undefined;
4594
4547
  measurementWidth?: number | null | undefined;
4548
+ packageSizeId?: number | null | undefined;
4595
4549
  photoUrls?: string[] | null | undefined;
4596
- size?: string | null | undefined;
4550
+ sizeId?: number | null | undefined;
4551
+ statusId?: number | null | undefined;
4597
4552
  isDraft?: boolean | null | undefined;
4598
4553
  isArchived?: boolean | null | undefined;
4599
4554
  isUnisex?: boolean | null | undefined;
@@ -4636,8 +4591,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4636
4591
  } | {
4637
4592
  type: "LIFECYCLE_STARTED";
4638
4593
  data: {
4639
- caseId: string;
4640
4594
  accountId: string;
4595
+ caseId: string;
4641
4596
  isRepeat?: boolean | null | undefined;
4642
4597
  };
4643
4598
  } | {
@@ -4676,17 +4631,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4676
4631
  elasticWarpEnabled?: boolean | null | undefined;
4677
4632
  } | null | undefined;
4678
4633
  } | null | undefined;
4679
- publishingDate?: Date | null | undefined;
4680
- isTransfer?: boolean | null | undefined;
4681
4634
  targetAccountId?: string | null | undefined;
4682
4635
  allowIfDeleted?: boolean | null | undefined;
4636
+ publishingDate?: Date | null | undefined;
4637
+ isTransfer?: boolean | null | undefined;
4683
4638
  };
4684
4639
  } | {
4685
4640
  type: "REPUBLISHING_RETRY";
4686
4641
  data: {
4687
- maxAttempts: number;
4688
4642
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4689
4643
  attemptNumber: number;
4644
+ maxAttempts: number;
4690
4645
  previousHistoryId: string;
4691
4646
  originalFailureDate: Date;
4692
4647
  payload?: {
@@ -4714,7 +4669,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4714
4669
  } | null | undefined;
4715
4670
  } | null | undefined;
4716
4671
  fields?: {
4717
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4672
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4718
4673
  autoFixable: boolean;
4719
4674
  error?: string | null | undefined;
4720
4675
  }[] | null | undefined;
@@ -4728,13 +4683,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4728
4683
  } | {
4729
4684
  type: "SCHEDULED_RETRY";
4730
4685
  data: {
4731
- maxAttempts: number;
4732
4686
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4733
4687
  attemptNumber: number;
4688
+ maxAttempts: number;
4734
4689
  previousHistoryId: string;
4735
4690
  originalFailureDate: Date;
4736
4691
  fields?: {
4737
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS" | "MATERIAL" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4692
+ field: "SIZE" | "BRAND" | "COLOR" | "CATALOG" | "PACKAGE_SIZE" | "MATERIAL" | "UNKNOWN" | "TITLE" | "DESCRIPTION" | "STATUS" | "PRICE" | "PHOTOS" | "MEASUREMENT_LENGTH" | "MEASUREMENT_WIDTH" | "IS_UNISEX";
4738
4693
  autoFixable: boolean;
4739
4694
  error?: string | null | undefined;
4740
4695
  }[] | null | undefined;
@@ -4763,52 +4718,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4763
4718
  targetDate?: Date | null | undefined;
4764
4719
  };
4765
4720
  } | null | undefined;
4766
- accountId?: string | null | undefined;
4767
4721
  targetDate?: Date | null | undefined;
4768
4722
  requestId?: string | null | undefined;
4769
4723
  targetHistoryId?: string | null | undefined;
4770
4724
  } | null | undefined;
4725
+ platforms?: {
4726
+ status: "UNKNOWN" | "ERROR" | "PENDING" | "DRAFT" | "ARCHIVED" | "DISPUTE" | "DELETED" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
4727
+ id: string;
4728
+ accountId: string;
4729
+ createdAt: Date;
4730
+ itemId: number;
4731
+ platformId: string;
4732
+ platformUrl: string;
4733
+ platformPrice: number;
4734
+ updatedAt: Date;
4735
+ publishedAt: Date;
4736
+ conversationId?: string | null | undefined;
4737
+ boostedAt?: Date | null | undefined;
4738
+ boostedUntil?: Date | null | undefined;
4739
+ viewsCount?: number | null | undefined;
4740
+ favoritesCount?: number | null | undefined;
4741
+ account?: {
4742
+ status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
4743
+ accountId: string;
4744
+ userId: number;
4745
+ name: string;
4746
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4747
+ locale?: string | null | undefined;
4748
+ lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
4749
+ restrictedUntil?: Date | null | undefined;
4750
+ night?: {
4751
+ startsAt: Date;
4752
+ endsAt: Date;
4753
+ } | null | undefined;
4754
+ favoritesMaxDelay?: number | null | undefined;
4755
+ ordersMaxDelay?: number | null | undefined;
4756
+ conversationsMaxDelay?: number | null | undefined;
4757
+ walletMaxDelay?: number | null | undefined;
4758
+ availableBalance?: number | null | undefined;
4759
+ pendingBalance?: number | null | undefined;
4760
+ profilePictureFileId?: string | null | undefined;
4761
+ profilePicture?: {
4762
+ path: string;
4763
+ id: string;
4764
+ userId: number;
4765
+ createdAt: Date;
4766
+ signedUrl: string;
4767
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
4768
+ } | null | undefined;
4769
+ cooldownEndsAt?: Date | null | undefined;
4770
+ walletActivationRequiredAt?: Date | null | undefined;
4771
+ phoneNumberRequiredAt?: Date | null | undefined;
4772
+ } | null | undefined;
4773
+ 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;
4774
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
4775
+ isBoosted?: boolean | null | undefined;
4776
+ }[] | null | undefined;
4771
4777
  sourceInConversation?: "UNKNOWN" | "DELETED" | "ORDER" | "TRANSACTION" | null | undefined;
4772
4778
  order?: {
4773
4779
  transactionType: "SINGLE_ITEM" | "BUNDLE";
4774
4780
  labels?: {
4775
4781
  id: string;
4776
- fileId: string;
4777
4782
  orderId: string;
4783
+ fileId: string;
4778
4784
  nonCroppedFileId: string;
4779
4785
  originalFileId: string;
4780
- originalFile?: {
4786
+ file?: {
4781
4787
  path: string;
4782
4788
  id: string;
4783
- createdAt: Date;
4784
4789
  userId: number;
4790
+ createdAt: Date;
4785
4791
  signedUrl: string;
4786
4792
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4787
4793
  } | null | undefined;
4788
- carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
4789
- file?: {
4794
+ nonCroppedFile?: {
4790
4795
  path: string;
4791
4796
  id: string;
4792
- createdAt: Date;
4793
4797
  userId: number;
4798
+ createdAt: Date;
4794
4799
  signedUrl: string;
4795
4800
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4796
4801
  } | null | undefined;
4797
- nonCroppedFile?: {
4802
+ originalFile?: {
4798
4803
  path: string;
4799
4804
  id: string;
4800
- createdAt: Date;
4801
4805
  userId: number;
4806
+ createdAt: Date;
4802
4807
  signedUrl: string;
4803
4808
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4804
4809
  } | null | undefined;
4810
+ carrier?: "UNKNOWN" | "MONDIAL_RELAY" | "MONDIAL_RELAY_2" | "MONDIAL_RELAY_3" | "MONDIAL_RELAY_4" | "MONDIAL_RELAY_5" | "UPS" | "CHRONOPOST" | "COLISSIMO" | "RELAIS_COLIS" | "VINTED_GO" | "VINTED_GO_BE" | "VINTED_VERIF" | "B_POST" | "VINTED_GO_IT" | "DPD" | "VINTED_GO_DIGITAL" | "DHL" | "DHL_ECONOMY" | null | undefined;
4805
4811
  }[] | null | undefined;
4806
4812
  invoices?: {
4807
4813
  type: "SALE" | "PURCHASE";
4808
4814
  status: string;
4809
4815
  id: string;
4810
- createdAt: Date;
4811
4816
  userId: number;
4817
+ createdAt: Date;
4812
4818
  currency: string;
4813
4819
  orderId: string;
4814
4820
  updatedAt: Date;
@@ -4817,21 +4823,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4817
4823
  businessProfileId: string;
4818
4824
  issueDate: Date;
4819
4825
  subtotal: number;
4820
- fileId?: string | null | undefined;
4821
4826
  vatAmount?: number | null | undefined;
4827
+ fileId?: string | null | undefined;
4822
4828
  file?: {
4823
4829
  path: string;
4824
4830
  id: string;
4825
- createdAt: Date;
4826
4831
  userId: number;
4832
+ createdAt: Date;
4827
4833
  signedUrl: string;
4828
4834
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4829
4835
  } | null | undefined;
4830
4836
  vatRate?: number | null | undefined;
4831
4837
  businessProfile?: {
4832
4838
  id: string;
4833
- createdAt: Date;
4834
4839
  userId: number;
4840
+ createdAt: Date;
4835
4841
  updatedAt: Date;
4836
4842
  businessName: string;
4837
4843
  address: string;
@@ -4844,8 +4850,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4844
4850
  logo?: {
4845
4851
  path: string;
4846
4852
  id: string;
4847
- createdAt: Date;
4848
4853
  userId: number;
4854
+ createdAt: Date;
4849
4855
  signedUrl: string;
4850
4856
  status?: "PENDING" | "CONFIRMED" | null | undefined;
4851
4857
  } | null | undefined;
@@ -4857,26 +4863,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4857
4863
  firstName: string;
4858
4864
  lastName: string;
4859
4865
  phoneVerified: boolean;
4860
- birthDate?: Date | null | undefined;
4866
+ postalCode?: string | null | undefined;
4867
+ city?: string | null | undefined;
4868
+ country?: string | null | undefined;
4861
4869
  email?: string | null | undefined;
4870
+ addressLine1?: string | null | undefined;
4871
+ addressLine2?: string | null | undefined;
4872
+ birthDate?: Date | null | undefined;
4862
4873
  idNumber?: string | null | undefined;
4863
4874
  phone?: string | null | undefined;
4864
4875
  iban?: string | null | undefined;
4865
4876
  bic?: string | null | undefined;
4866
- addressLine1?: string | null | undefined;
4867
- addressLine2?: string | null | undefined;
4868
- city?: string | null | undefined;
4869
- postalCode?: string | null | undefined;
4870
- country?: string | null | undefined;
4871
4877
  } | null | undefined;
4872
4878
  dueDate?: Date | null | undefined;
4873
4879
  notes?: string | null | undefined;
4874
4880
  lineItems?: {
4875
- description: string;
4881
+ quantity: number;
4876
4882
  id: number;
4883
+ description: string;
4877
4884
  createdAt: Date;
4878
4885
  invoiceId: string;
4879
- quantity: number;
4880
4886
  unitPrice: number;
4881
4887
  total: number;
4882
4888
  itemOnPlatformId?: string | null | undefined;
@@ -4890,45 +4896,29 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4890
4896
  }, {
4891
4897
  userId: number;
4892
4898
  item: {
4893
- actions: {
4894
- perAccount: Record<string, unknown[]>;
4895
- };
4896
- name: string;
4897
4899
  id: number;
4898
- createdAt: Date;
4899
4900
  userId: number;
4901
+ name: string;
4902
+ createdAt: Date;
4900
4903
  updatedAt: Date;
4901
4904
  sold: boolean;
4902
- fees?: {
4903
- value: number;
4904
- type: string;
4905
- name: string;
4906
- id: number;
4907
- createdAt: Date;
4908
- userId: number;
4909
- updatedAt: Date;
4910
- recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
4911
- startDate: Date;
4912
- active: boolean;
4913
- description?: string | null | undefined;
4914
- itemId?: number | null | undefined;
4915
- endDate?: Date | null | undefined;
4916
- parentFeeId?: number | null | undefined;
4917
- }[] | null | undefined;
4905
+ actions: {
4906
+ perAccount: Record<string, unknown[]>;
4907
+ };
4918
4908
  description?: string | null | undefined;
4919
4909
  categoryId?: number | null | undefined;
4920
- sizeId?: number | null | undefined;
4921
- colorIds?: number[] | null | undefined;
4922
- packageSizeId?: number | null | undefined;
4923
4910
  state?: number | null | undefined;
4911
+ colorIds?: number[] | null | undefined;
4924
4912
  measurementLength?: number | null | undefined;
4925
4913
  measurementWidth?: number | null | undefined;
4914
+ packageSizeId?: number | null | undefined;
4915
+ sizeId?: number | null | undefined;
4926
4916
  labels?: {
4927
4917
  itemId: number;
4928
4918
  labelId: number;
4929
4919
  label?: {
4930
- name: string;
4931
4920
  id: number;
4921
+ name: string;
4932
4922
  createdAt: Date;
4933
4923
  isUserLabel: boolean;
4934
4924
  itemCount?: number | null | undefined;
@@ -4941,85 +4931,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
4941
4931
  fieldKey: string;
4942
4932
  }[] | null | undefined;
4943
4933
  sku?: string | null | undefined;
4944
- sex?: string | null | undefined;
4945
- platforms?: {
4946
- id: string;
4947
- createdAt: Date;
4948
- accountId: string;
4949
- itemId: number;
4950
- platformId: string;
4951
- platformUrl: string;
4952
- platformPrice: number;
4953
- updatedAt: Date;
4954
- publishedAt: Date;
4955
- status?: unknown;
4956
- conversationId?: string | null | undefined;
4957
- boostedAt?: Date | null | undefined;
4958
- boostedUntil?: Date | null | undefined;
4959
- viewsCount?: number | null | undefined;
4960
- favoritesCount?: number | null | undefined;
4961
- account?: {
4962
- name: string;
4963
- userId: number;
4964
- accountId: string;
4965
- platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
4966
- status?: unknown;
4967
- locale?: string | null | undefined;
4968
- lockReason?: unknown;
4969
- restrictedUntil?: Date | null | undefined;
4970
- night?: {
4971
- startsAt: Date;
4972
- endsAt: Date;
4973
- } | null | undefined;
4974
- favoritesMaxDelay?: number | null | undefined;
4975
- ordersMaxDelay?: number | null | undefined;
4976
- conversationsMaxDelay?: number | null | undefined;
4977
- walletMaxDelay?: number | null | undefined;
4978
- availableBalance?: number | null | undefined;
4979
- pendingBalance?: number | null | undefined;
4980
- profilePictureFileId?: string | null | undefined;
4981
- profilePicture?: {
4982
- path: string;
4983
- id: string;
4984
- createdAt: Date;
4985
- userId: number;
4986
- signedUrl: string;
4987
- status?: "PENDING" | "CONFIRMED" | null | undefined;
4988
- } | null | undefined;
4989
- cooldownEndsAt?: Date | null | undefined;
4990
- walletActivationRequiredAt?: Date | null | undefined;
4991
- phoneNumberRequiredAt?: Date | null | undefined;
4992
- } | null | undefined;
4993
- orderStatus?: unknown;
4994
- orderType?: "SALE" | "PURCHASE" | null | undefined;
4995
- }[] | null | undefined;
4996
- brandId?: number | null | undefined;
4997
- estimatedPrice?: number | null | undefined;
4998
- purchaseDate?: Date | null | undefined;
4999
- sellingDate?: Date | null | undefined;
5000
4934
  fields?: {
5001
4935
  value: string;
5002
4936
  itemId: number;
5003
4937
  fieldId: number;
5004
4938
  }[] | null | undefined;
5005
4939
  files?: {
5006
- fileId: string;
5007
4940
  itemId: number;
4941
+ fileId: string;
5008
4942
  file?: {
5009
4943
  path: string;
5010
4944
  id: string;
5011
- createdAt: Date;
5012
4945
  userId: number;
4946
+ createdAt: Date;
5013
4947
  signedUrl: string;
5014
4948
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5015
4949
  } | null | undefined;
5016
4950
  index?: number | null | undefined;
5017
4951
  }[] | null | undefined;
4952
+ brandId?: number | null | undefined;
4953
+ sex?: string | null | undefined;
5018
4954
  purchasePrice?: number | null | undefined;
4955
+ purchaseDate?: Date | null | undefined;
5019
4956
  purchasePlaceId?: number | null | undefined;
5020
4957
  purchased?: boolean | null | undefined;
5021
4958
  sellingPrice?: number | null | undefined;
4959
+ sellingDate?: Date | null | undefined;
5022
4960
  sellingPlaceId?: number | null | undefined;
4961
+ estimatedPrice?: number | null | undefined;
4962
+ fees?: {
4963
+ value: number;
4964
+ type: string;
4965
+ id: number;
4966
+ userId: number;
4967
+ name: string;
4968
+ createdAt: Date;
4969
+ updatedAt: Date;
4970
+ recurrence: "MONTHLY" | "UNIQUE" | "YEARLY";
4971
+ startDate: Date;
4972
+ active: boolean;
4973
+ description?: string | null | undefined;
4974
+ itemId?: number | null | undefined;
4975
+ endDate?: Date | null | undefined;
4976
+ parentFeeId?: number | null | undefined;
4977
+ }[] | null | undefined;
5023
4978
  feesSum?: number | null | undefined;
5024
4979
  materialIds?: number[] | null | undefined;
5025
4980
  enumValues?: {
@@ -5035,6 +4990,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5035
4990
  createdAt: Date;
5036
4991
  itemId: number;
5037
4992
  type?: unknown;
4993
+ accountId?: string | null | undefined;
5038
4994
  data?: {
5039
4995
  type: "ACTION_CANCELED";
5040
4996
  data: {
@@ -5100,23 +5056,23 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5100
5056
  post: {
5101
5057
  platformId: string;
5102
5058
  post: {
5059
+ size?: string | null | undefined;
5103
5060
  status?: string | null | undefined;
5104
5061
  title?: string | null | undefined;
5105
5062
  description?: string | null | undefined;
5106
- brand?: string | null | undefined;
5107
- statusId?: number | null | undefined;
5108
- sizeId?: number | null | undefined;
5109
- colorIds?: number[] | null | undefined;
5110
- packageSizeId?: number | null | undefined;
5111
5063
  price?: number | null | undefined;
5112
5064
  currency?: string | null | undefined;
5065
+ brand?: string | null | undefined;
5113
5066
  catalog?: string | null | undefined;
5114
5067
  catalogId?: number | null | undefined;
5115
5068
  colors?: string[] | null | undefined;
5069
+ colorIds?: number[] | null | undefined;
5116
5070
  measurementLength?: number | null | undefined;
5117
5071
  measurementWidth?: number | null | undefined;
5072
+ packageSizeId?: number | null | undefined;
5118
5073
  photoUrls?: string[] | null | undefined;
5119
- size?: string | null | undefined;
5074
+ sizeId?: number | null | undefined;
5075
+ statusId?: number | null | undefined;
5120
5076
  isDraft?: boolean | null | undefined;
5121
5077
  isArchived?: boolean | null | undefined;
5122
5078
  isUnisex?: boolean | null | undefined;
@@ -5159,8 +5115,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5159
5115
  } | {
5160
5116
  type: "LIFECYCLE_STARTED";
5161
5117
  data: {
5162
- caseId: string;
5163
5118
  accountId: string;
5119
+ caseId: string;
5164
5120
  isRepeat?: boolean | null | undefined;
5165
5121
  };
5166
5122
  } | {
@@ -5199,17 +5155,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5199
5155
  elasticWarpEnabled?: boolean | null | undefined;
5200
5156
  } | null | undefined;
5201
5157
  } | null | undefined;
5202
- publishingDate?: Date | null | undefined;
5203
- isTransfer?: boolean | null | undefined;
5204
5158
  targetAccountId?: string | null | undefined;
5205
5159
  allowIfDeleted?: boolean | null | undefined;
5160
+ publishingDate?: Date | null | undefined;
5161
+ isTransfer?: boolean | null | undefined;
5206
5162
  };
5207
5163
  } | {
5208
5164
  type: "REPUBLISHING_RETRY";
5209
5165
  data: {
5210
- maxAttempts: number;
5211
5166
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5212
5167
  attemptNumber: number;
5168
+ maxAttempts: number;
5213
5169
  previousHistoryId: string;
5214
5170
  originalFailureDate: Date;
5215
5171
  payload?: {
@@ -5251,9 +5207,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5251
5207
  } | {
5252
5208
  type: "SCHEDULED_RETRY";
5253
5209
  data: {
5254
- maxAttempts: number;
5255
5210
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5256
5211
  attemptNumber: number;
5212
+ maxAttempts: number;
5257
5213
  previousHistoryId: string;
5258
5214
  originalFailureDate: Date;
5259
5215
  fields?: {
@@ -5286,52 +5242,103 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5286
5242
  targetDate?: Date | null | undefined;
5287
5243
  };
5288
5244
  } | null | undefined;
5289
- accountId?: string | null | undefined;
5290
5245
  targetDate?: Date | null | undefined;
5291
5246
  requestId?: string | null | undefined;
5292
5247
  targetHistoryId?: string | null | undefined;
5293
5248
  } | null | undefined;
5249
+ platforms?: {
5250
+ id: string;
5251
+ accountId: string;
5252
+ createdAt: Date;
5253
+ itemId: number;
5254
+ platformId: string;
5255
+ platformUrl: string;
5256
+ platformPrice: number;
5257
+ updatedAt: Date;
5258
+ publishedAt: Date;
5259
+ status?: unknown;
5260
+ conversationId?: string | null | undefined;
5261
+ boostedAt?: Date | null | undefined;
5262
+ boostedUntil?: Date | null | undefined;
5263
+ viewsCount?: number | null | undefined;
5264
+ favoritesCount?: number | null | undefined;
5265
+ account?: {
5266
+ accountId: string;
5267
+ userId: number;
5268
+ name: string;
5269
+ platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
5270
+ status?: unknown;
5271
+ locale?: string | null | undefined;
5272
+ lockReason?: unknown;
5273
+ restrictedUntil?: Date | null | undefined;
5274
+ night?: {
5275
+ startsAt: Date;
5276
+ endsAt: Date;
5277
+ } | null | undefined;
5278
+ favoritesMaxDelay?: number | null | undefined;
5279
+ ordersMaxDelay?: number | null | undefined;
5280
+ conversationsMaxDelay?: number | null | undefined;
5281
+ walletMaxDelay?: number | null | undefined;
5282
+ availableBalance?: number | null | undefined;
5283
+ pendingBalance?: number | null | undefined;
5284
+ profilePictureFileId?: string | null | undefined;
5285
+ profilePicture?: {
5286
+ path: string;
5287
+ id: string;
5288
+ userId: number;
5289
+ createdAt: Date;
5290
+ signedUrl: string;
5291
+ status?: "PENDING" | "CONFIRMED" | null | undefined;
5292
+ } | null | undefined;
5293
+ cooldownEndsAt?: Date | null | undefined;
5294
+ walletActivationRequiredAt?: Date | null | undefined;
5295
+ phoneNumberRequiredAt?: Date | null | undefined;
5296
+ } | null | undefined;
5297
+ orderStatus?: unknown;
5298
+ orderType?: "SALE" | "PURCHASE" | null | undefined;
5299
+ isBoosted?: boolean | null | undefined;
5300
+ }[] | null | undefined;
5294
5301
  sourceInConversation?: unknown;
5295
5302
  order?: {
5296
5303
  transactionType: "SINGLE_ITEM" | "BUNDLE";
5297
5304
  labels?: {
5298
5305
  id: string;
5299
- fileId: string;
5300
5306
  orderId: string;
5307
+ fileId: string;
5301
5308
  nonCroppedFileId: string;
5302
5309
  originalFileId: string;
5303
- originalFile?: {
5310
+ file?: {
5304
5311
  path: string;
5305
5312
  id: string;
5306
- createdAt: Date;
5307
5313
  userId: number;
5314
+ createdAt: Date;
5308
5315
  signedUrl: string;
5309
5316
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5310
5317
  } | null | undefined;
5311
- carrier?: unknown;
5312
- file?: {
5318
+ nonCroppedFile?: {
5313
5319
  path: string;
5314
5320
  id: string;
5315
- createdAt: Date;
5316
5321
  userId: number;
5322
+ createdAt: Date;
5317
5323
  signedUrl: string;
5318
5324
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5319
5325
  } | null | undefined;
5320
- nonCroppedFile?: {
5326
+ originalFile?: {
5321
5327
  path: string;
5322
5328
  id: string;
5323
- createdAt: Date;
5324
5329
  userId: number;
5330
+ createdAt: Date;
5325
5331
  signedUrl: string;
5326
5332
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5327
5333
  } | null | undefined;
5334
+ carrier?: unknown;
5328
5335
  }[] | null | undefined;
5329
5336
  invoices?: {
5330
5337
  type: "SALE" | "PURCHASE";
5331
5338
  status: string;
5332
5339
  id: string;
5333
- createdAt: Date;
5334
5340
  userId: number;
5341
+ createdAt: Date;
5335
5342
  currency: string;
5336
5343
  orderId: string;
5337
5344
  updatedAt: Date;
@@ -5340,21 +5347,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5340
5347
  businessProfileId: string;
5341
5348
  issueDate: Date;
5342
5349
  subtotal: number;
5343
- fileId?: string | null | undefined;
5344
5350
  vatAmount?: number | null | undefined;
5351
+ fileId?: string | null | undefined;
5345
5352
  file?: {
5346
5353
  path: string;
5347
5354
  id: string;
5348
- createdAt: Date;
5349
5355
  userId: number;
5356
+ createdAt: Date;
5350
5357
  signedUrl: string;
5351
5358
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5352
5359
  } | null | undefined;
5353
5360
  vatRate?: number | null | undefined;
5354
5361
  businessProfile?: {
5355
5362
  id: string;
5356
- createdAt: Date;
5357
5363
  userId: number;
5364
+ createdAt: Date;
5358
5365
  updatedAt: Date;
5359
5366
  businessName: string;
5360
5367
  address: string;
@@ -5367,8 +5374,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5367
5374
  logo?: {
5368
5375
  path: string;
5369
5376
  id: string;
5370
- createdAt: Date;
5371
5377
  userId: number;
5378
+ createdAt: Date;
5372
5379
  signedUrl: string;
5373
5380
  status?: "PENDING" | "CONFIRMED" | null | undefined;
5374
5381
  } | null | undefined;
@@ -5380,26 +5387,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
5380
5387
  firstName: string;
5381
5388
  lastName: string;
5382
5389
  phoneVerified: boolean;
5383
- birthDate?: Date | null | undefined;
5390
+ postalCode?: string | null | undefined;
5391
+ city?: string | null | undefined;
5392
+ country?: string | null | undefined;
5384
5393
  email?: string | null | undefined;
5394
+ addressLine1?: string | null | undefined;
5395
+ addressLine2?: string | null | undefined;
5396
+ birthDate?: Date | null | undefined;
5385
5397
  idNumber?: string | null | undefined;
5386
5398
  phone?: string | null | undefined;
5387
5399
  iban?: string | null | undefined;
5388
5400
  bic?: string | null | undefined;
5389
- addressLine1?: string | null | undefined;
5390
- addressLine2?: string | null | undefined;
5391
- city?: string | null | undefined;
5392
- postalCode?: string | null | undefined;
5393
- country?: string | null | undefined;
5394
5401
  } | null | undefined;
5395
5402
  dueDate?: Date | null | undefined;
5396
5403
  notes?: string | null | undefined;
5397
5404
  lineItems?: {
5398
- description: string;
5405
+ quantity: number;
5399
5406
  id: number;
5407
+ description: string;
5400
5408
  createdAt: Date;
5401
5409
  invoiceId: string;
5402
- quantity: number;
5403
5410
  unitPrice: number;
5404
5411
  total: number;
5405
5412
  itemOnPlatformId?: string | null | undefined;