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