controlresell 2.26.4 → 2.26.5

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