controlresell 2.8.55 → 2.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -9
- package/src/com/controlresell/api/requests/items/pricedrop/PriceDropRequest.js +6 -9
- package/src/com/controlresell/api/requests/items/pricedrop/PriceDropRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.js +14 -17
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +4 -4
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.js +13 -16
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +8 -8
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js +6 -9
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +8 -8
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.js +31 -34
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.js +4 -7
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.js.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +12 -12
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +11 -14
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/sync/DeleteRequest.d.ts +13 -0
- package/src/com/controlresell/api/requests/items/sync/DeleteRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/sync/DeleteRequest.js +6 -0
- package/src/com/controlresell/api/requests/items/sync/DeleteRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/sync/DeleteRequest.ts +7 -0
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.js +5 -8
- package/src/com/controlresell/api/requests/onboardingquiz/CreateOnboardingQuizRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.js +4 -7
- package/src/com/controlresell/api/requests/onboardingquiz/OnboardingQuizResponseEntry.js.map +1 -1
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js +7 -10
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js +7 -10
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.js +4 -7
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.js.map +1 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +5 -5
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js +9 -12
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.ts +1 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +8 -8
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js +11 -14
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js +3 -6
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.js +6 -9
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.js +4 -7
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js +3 -6
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +166 -26
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +8 -10
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +2 -1
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.js +7 -10
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +109 -109
- package/src/com/controlresell/auth/models/preferences/Preference.js +12 -15
- package/src/com/controlresell/auth/models/preferences/Preference.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.d.ts +16 -16
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.js +8 -11
- package/src/com/controlresell/auth/models/preferences/PreferenceFilter.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/PreferenceType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +325 -325
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.js +8 -11
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +240 -240
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.js +4 -7
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.js +4 -7
- package/src/com/controlresell/auth/models/preferences/UpdatePreferencePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +87 -87
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.js +9 -12
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +87 -87
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.js +8 -11
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +87 -87
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.js +11 -14
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.js +6 -9
- package/src/com/controlresell/auth/models/preferences/cases/UpdatePreferenceCasePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.js +11 -14
- package/src/com/controlresell/auth/models/preferences/filters/MatchingItem.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/filters/TransactionType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.js +12 -15
- package/src/com/controlresell/auth/models/preferences/payloads/actions/AutomaticLifecycleDistributionMode.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.js +28 -31
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.js +4 -7
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.js +12 -15
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.js +8 -11
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +25 -28
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayloadType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.js +9 -12
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.js +4 -7
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js +4 -7
- package/src/com/controlresell/auth/models/preferences/payloads/fees/PreferenceFeesPayloadFee.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.js +9 -12
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadRoundType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/payloads/prices/PreferencePricePayloadType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.js +5 -8
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionItemPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.js +4 -7
- package/src/com/controlresell/auth/models/preferences/payloads/questions/PreferenceQuestionsPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.js +7 -10
- package/src/com/controlresell/auth/models/preferences/payloads/retry/PreferenceRetryPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.js +2 -5
- package/src/com/controlresell/auth/models/preferences/payloads/retry/RetryDelayStrategy.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.d.ts +13 -13
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.js +13 -16
- package/src/com/controlresell/auth/models/preferences/payloads/templates/PreferenceTemplatePayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.js +3 -6
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.js +3 -6
- package/src/com/controlresell/auth/models/preferences/payloads/texts/PreferenceTextsPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.js +15 -18
- package/src/com/controlresell/auth/models/preferences/payloads/vision/PreferenceVisionPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.js +5 -8
- package/src/com/controlresell/auth/models/preferences/payloads/vision/TryVisionPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.js +3 -6
- package/src/com/controlresell/auth/models/preferences/payloads/wait/PreferenceWaitPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +396 -396
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.js +13 -16
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.js +2 -5
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayloadType.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +67 -67
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.js +6 -9
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +67 -67
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.js +8 -11
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +94 -94
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js +54 -57
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +67 -67
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.js +6 -9
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.js +6 -9
- package/src/com/controlresell/auth/models/users/platforms/CreateUserOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.js +9 -12
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.js +16 -19
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatform.js.map +1 -1
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.js +2 -5
- package/src/com/controlresell/auth/models/users/platforms/UserOnPlatformStatus.js.map +1 -1
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js +2 -5
- package/src/com/controlresell/inbox/models/application/ControlResellInboxEnvironment.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +26 -26
- package/src/com/controlresell/inbox/models/conversations/Conversation.js +14 -17
- package/src/com/controlresell/inbox/models/conversations/Conversation.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.js +8 -11
- package/src/com/controlresell/inbox/models/conversations/ConversationFiltersContext.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +68 -68
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.js +6 -9
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +54 -54
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.js +8 -11
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.js +4 -7
- package/src/com/controlresell/inbox/models/conversations/CreateConversationPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.js +4 -7
- package/src/com/controlresell/inbox/models/conversations/UnreadConversationsCounts.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.js +5 -8
- package/src/com/controlresell/inbox/models/conversations/UpdateConversationPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +43 -43
- package/src/com/controlresell/inbox/models/conversations/UserConversations.js +10 -13
- package/src/com/controlresell/inbox/models/conversations/UserConversations.js.map +1 -1
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.d.ts +2 -2
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.js +12 -15
- package/src/com/controlresell/inbox/models/favorites/ConversationFavorite.js.map +1 -1
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.js +6 -9
- package/src/com/controlresell/inbox/models/favorites/CreateConversationFavoritePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.d.ts +4 -4
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.js +4 -7
- package/src/com/controlresell/inbox/models/favorites/ReportRateLimitOnFavorites.js.map +1 -1
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.d.ts +4 -4
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.js +6 -9
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.d.ts +4 -4
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.js +4 -7
- package/src/com/controlresell/inbox/models/favorites/SubmitFavoritesResponse.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.d.ts +12 -12
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.js +22 -25
- package/src/com/controlresell/inbox/models/messages/ConversationMessage.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.d.ts +2 -2
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.js +7 -10
- package/src/com/controlresell/inbox/models/messages/ConversationMessageRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.js +2 -5
- package/src/com/controlresell/inbox/models/messages/ConversationMessageStatus.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.js +12 -15
- package/src/com/controlresell/inbox/models/messages/CreateConversationMessagePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.d.ts +18 -18
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.js +7 -10
- package/src/com/controlresell/inbox/models/messages/PaginatedConversationMessages.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.d.ts +2 -2
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.js +8 -11
- package/src/com/controlresell/inbox/models/messages/UpdateConversationMessagePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.d.ts +4 -4
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.js +7 -10
- package/src/com/controlresell/inbox/models/messages/files/ConversationMessageFile.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.js +4 -7
- package/src/com/controlresell/inbox/models/messages/files/CreateConversationMessageFilePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.js +3 -6
- package/src/com/controlresell/inbox/models/messages/files/UpdateConversationMessageFilePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.js +8 -11
- package/src/com/controlresell/inbox/models/messages/history/ConversationMessageStatusHistory.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.js +4 -7
- package/src/com/controlresell/inbox/models/messages/history/CreateConversationMessageStatusHistoryPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.js +7 -10
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummary.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.js +6 -9
- package/src/com/controlresell/inbox/models/messages/summary/ConversationSummaryBreakdown.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.js +4 -7
- package/src/com/controlresell/inbox/models/messages/translations/CreateTranslatedMessagePayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.js +5 -8
- package/src/com/controlresell/inbox/models/messages/translations/TranslatedMessage.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.js +3 -6
- package/src/com/controlresell/inbox/models/messages/translations/TranslationContext.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.js +6 -9
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariable.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.js +2 -5
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableName.js.map +1 -1
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.js +2 -5
- package/src/com/controlresell/inbox/models/messages/variables/PreferenceVariableTemplate.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.d.ts +2 -2
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.js +10 -13
- package/src/com/controlresell/inbox/models/offers/ConversationMessageOffer.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.js +7 -10
- package/src/com/controlresell/inbox/models/offers/ConversationOfferRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.js +3 -6
- package/src/com/controlresell/inbox/models/offers/ConversationOfferUpdateRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.js +8 -11
- package/src/com/controlresell/inbox/models/offers/CreateConversationMessageOfferPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.js +6 -9
- package/src/com/controlresell/inbox/models/offers/NegotiationOffer.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.js +7 -10
- package/src/com/controlresell/inbox/models/offers/NegotiationParameters.js.map +1 -1
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.js +6 -9
- package/src/com/controlresell/inbox/models/offers/UpdateConversationMessageOfferPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.js +4 -7
- package/src/com/controlresell/inbox/models/preferences/MessageStreamRequest.js.map +1 -1
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.d.ts +254 -254
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.js +4 -7
- package/src/com/controlresell/inbox/models/preferences/MessageStreamResponse.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.js +7 -10
- package/src/com/controlresell/inbox/models/transactions/CreateTransactionPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +26 -26
- package/src/com/controlresell/inbox/models/transactions/Transaction.js +11 -14
- package/src/com/controlresell/inbox/models/transactions/Transaction.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.js +6 -9
- package/src/com/controlresell/inbox/models/transactions/UpdateTransactionPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.js +3 -6
- package/src/com/controlresell/inbox/models/transactions/items/CreateItemInTransactionPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +12 -12
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.js +6 -9
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.js.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +539 -530
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.js +6 -9
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.js.map +1 -1
- package/src/com/controlresell/inbox/models/users/ConversationUser.d.ts +4 -4
- package/src/com/controlresell/inbox/models/users/ConversationUser.js +12 -15
- package/src/com/controlresell/inbox/models/users/ConversationUser.js.map +1 -1
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.js +8 -11
- package/src/com/controlresell/inbox/models/users/CreateConversationUserPayload.js.map +1 -1
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.js +7 -10
- package/src/com/controlresell/inbox/models/users/UpdateConversationUserPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.js +2 -5
- package/src/com/controlresell/inventory/models/application/ControlResellInventoryEnvironment.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/Customer.d.ts +2 -2
- package/src/com/controlresell/inventory/models/customers/Customer.js +14 -17
- package/src/com/controlresell/inventory/models/customers/Customer.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.js +3 -6
- package/src/com/controlresell/inventory/models/customers/VerifyCustomerRequest.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.d.ts +4 -4
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.js +8 -11
- package/src/com/controlresell/inventory/models/customers/contracts/Contract.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.d.ts +2 -2
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.js +4 -7
- package/src/com/controlresell/inventory/models/customers/contracts/ContractItem.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.js +3 -6
- package/src/com/controlresell/inventory/models/customers/contracts/CreateContractPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.d.ts +4 -4
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.js +5 -8
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.d.ts +4 -4
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.js +4 -7
- package/src/com/controlresell/inventory/models/customers/contracts/PrepareContractResponse.js.map +1 -1
- package/src/com/controlresell/inventory/models/fees/Fee.d.ts +4 -4
- package/src/com/controlresell/inventory/models/fees/Fee.js +18 -21
- package/src/com/controlresell/inventory/models/fees/Fee.js.map +1 -1
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.js +2 -5
- package/src/com/controlresell/inventory/models/fees/FeeRecurrence.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +514 -500
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/CreatedItems.js +6 -9
- package/src/com/controlresell/inventory/models/items/CreatedItems.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +339 -332
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.js +47 -50
- package/src/com/controlresell/inventory/models/items/Item.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts +12 -12
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js +38 -41
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts +16 -16
- package/src/com/controlresell/inventory/models/items/ItemPayload.js +34 -37
- package/src/com/controlresell/inventory/models/items/ItemPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.js +6 -9
- package/src/com/controlresell/inventory/models/items/ItemSoldPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemSort.js +2 -5
- package/src/com/controlresell/inventory/models/items/ItemSort.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +501 -492
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemUpdate.js +7 -10
- package/src/com/controlresell/inventory/models/items/ItemUpdate.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +501 -492
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.js +8 -11
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +521 -507
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.js +6 -9
- package/src/com/controlresell/inventory/models/items/UpdatedItem.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.d.ts +8 -8
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.js +11 -14
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisCompletion.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.d.ts +27 -27
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.js +6 -9
- package/src/com/controlresell/inventory/models/items/analysis/ItemAnalysisRequest.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/fields/ItemField.js +6 -9
- package/src/com/controlresell/inventory/models/items/fields/ItemField.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.js +5 -8
- package/src/com/controlresell/inventory/models/items/fields/ItemFieldPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.js +4 -7
- package/src/com/controlresell/inventory/models/items/files/CreateItemFilePayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/files/ItemFile.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/files/ItemFile.js +8 -11
- package/src/com/controlresell/inventory/models/items/files/ItemFile.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.js +3 -6
- package/src/com/controlresell/inventory/models/items/files/UpdateItemFilePayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.js +6 -9
- package/src/com/controlresell/inventory/models/items/filters/FilterClusterData.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.js +9 -12
- package/src/com/controlresell/inventory/models/items/filters/FilterClusters.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.js +4 -7
- package/src/com/controlresell/inventory/models/items/filters/FilterRange.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.js +9 -12
- package/src/com/controlresell/inventory/models/items/filters/ItemFilterRanges.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +148 -148
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.js +8 -11
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +150 -150
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.js +13 -16
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +220 -220
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +65 -68
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.js +2 -5
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryType.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.js +5 -8
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryTypeWithCount.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.js +3 -6
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryActionCanceledPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.js +5 -8
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryBuyerPaidPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.js +5 -8
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryDeliveredPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.js +9 -12
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryFailedToPublishPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js +7 -10
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.d.ts +42 -42
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.js +4 -7
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImportedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.js +3 -6
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleCompletedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.js +4 -7
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryLifecycleStartedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js +9 -12
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +14 -14
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.js +12 -15
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.js +5 -8
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +6 -6
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.js +10 -13
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryScheduledRetryPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.js +8 -11
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.js +4 -7
- package/src/com/controlresell/inventory/models/items/labels/CreateItemLabelPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts +13 -8
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.js +7 -10
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.js +11 -14
- package/src/com/controlresell/inventory/models/items/platforms/CreateItemOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts +6 -6
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.js +19 -22
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.js +2 -5
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformStatus.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +42 -42
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.js +6 -9
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatformUpdateRequest.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.js +9 -12
- package/src/com/controlresell/inventory/models/items/platforms/UpdateItemOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.js +7 -10
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummary.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.js +6 -9
- package/src/com/controlresell/inventory/models/items/summary/InvestmentSummaryBreakdown.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts +7 -4
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.js +9 -11
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.js +3 -6
- package/src/com/controlresell/inventory/models/metadata/brands/CreateBrandPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/colors/Color.d.ts +3 -0
- package/src/com/controlresell/inventory/models/metadata/colors/Color.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/colors/Color.js +5 -7
- package/src/com/controlresell/inventory/models/metadata/colors/Color.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/colors/Color.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.js +6 -9
- package/src/com/controlresell/inventory/models/metadata/favorites/CreateFavoriteMetadataPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.js +8 -11
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadata.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.js +2 -5
- package/src/com/controlresell/inventory/models/metadata/favorites/FavoriteMetadataType.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.js +3 -6
- package/src/com/controlresell/inventory/models/metadata/labels/CreateLabelPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts +7 -4
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/labels/Label.js +10 -12
- package/src/com/controlresell/inventory/models/metadata/labels/Label.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/labels/Label.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.d.ts +3 -0
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.js +6 -8
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/packageSize/PackageSize.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.js +3 -6
- package/src/com/controlresell/inventory/models/metadata/places/CreatePlacePayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts +5 -2
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/places/Place.js +8 -10
- package/src/com/controlresell/inventory/models/metadata/places/Place.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/places/Place.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.d.ts +3 -0
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.js +6 -8
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/sizes/Size.ts +2 -1
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.d.ts +5 -2
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.js +6 -8
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.js.map +1 -1
- package/src/com/controlresell/inventory/models/metadata/statuses/Status.ts +2 -1
- package/src/com/controlresell/models/application/Versions.js +3 -6
- package/src/com/controlresell/models/application/Versions.js.map +1 -1
- package/src/com/controlresell/models/auth/AuthCode.d.ts +3 -0
- package/src/com/controlresell/models/auth/AuthCode.d.ts.map +1 -1
- package/src/com/controlresell/models/auth/AuthCode.js +8 -10
- package/src/com/controlresell/models/auth/AuthCode.js.map +1 -1
- package/src/com/controlresell/models/auth/AuthCode.ts +2 -1
- package/src/com/controlresell/models/auth/AuthCodeType.js +2 -5
- package/src/com/controlresell/models/auth/AuthCodeType.js.map +1 -1
- package/src/com/controlresell/models/auth/AuthToken.js +6 -9
- package/src/com/controlresell/models/auth/AuthToken.js.map +1 -1
- package/src/com/controlresell/models/auth/CreateAuthCodePayload.js +5 -8
- package/src/com/controlresell/models/auth/CreateAuthCodePayload.js.map +1 -1
- package/src/com/controlresell/models/auth/EmailPayload.js +3 -6
- package/src/com/controlresell/models/auth/EmailPayload.js.map +1 -1
- package/src/com/controlresell/models/auth/LoginPayload.js +4 -7
- package/src/com/controlresell/models/auth/LoginPayload.js.map +1 -1
- package/src/com/controlresell/models/auth/RefreshTokenPayload.js +3 -6
- package/src/com/controlresell/models/auth/RefreshTokenPayload.js.map +1 -1
- package/src/com/controlresell/models/auth/RegisterPayload.js +4 -7
- package/src/com/controlresell/models/auth/RegisterPayload.js.map +1 -1
- package/src/com/controlresell/models/auth/ResetPasswordPayload.js +3 -6
- package/src/com/controlresell/models/auth/ResetPasswordPayload.js.map +1 -1
- package/src/com/controlresell/models/auth/SwitchAccountPayload.js +4 -7
- package/src/com/controlresell/models/auth/SwitchAccountPayload.js.map +1 -1
- package/src/com/controlresell/models/catalogs/Catalog.d.ts +3 -0
- package/src/com/controlresell/models/catalogs/Catalog.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/Catalog.js +7 -9
- package/src/com/controlresell/models/catalogs/Catalog.js.map +1 -1
- package/src/com/controlresell/models/catalogs/Catalog.ts +2 -1
- package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts +5 -0
- package/src/com/controlresell/models/catalogs/CatalogRoot.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/CatalogRoot.js +4 -7
- package/src/com/controlresell/models/catalogs/CatalogRoot.js.map +1 -1
- package/src/com/controlresell/models/catalogs/ColorRoot.d.ts +5 -0
- package/src/com/controlresell/models/catalogs/ColorRoot.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/ColorRoot.js +4 -7
- package/src/com/controlresell/models/catalogs/ColorRoot.js.map +1 -1
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.d.ts +19 -9
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.js +6 -9
- package/src/com/controlresell/models/catalogs/PackageSizesAndStatuses.js.map +1 -1
- package/src/com/controlresell/models/catalogs/SizeGroup.d.ts +5 -0
- package/src/com/controlresell/models/catalogs/SizeGroup.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/SizeGroup.js +7 -10
- package/src/com/controlresell/models/catalogs/SizeGroup.js.map +1 -1
- package/src/com/controlresell/models/catalogs/SizeRoot.d.ts +7 -0
- package/src/com/controlresell/models/catalogs/SizeRoot.d.ts.map +1 -1
- package/src/com/controlresell/models/catalogs/SizeRoot.js +4 -7
- package/src/com/controlresell/models/catalogs/SizeRoot.js.map +1 -1
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.js +5 -8
- package/src/com/controlresell/models/conversations/FetchConversationsRequest.js.map +1 -1
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.js +4 -7
- package/src/com/controlresell/models/conversations/FetchConversationsResponse.js.map +1 -1
- package/src/com/controlresell/models/fields/SpotConfig.js +5 -8
- package/src/com/controlresell/models/fields/SpotConfig.js.map +1 -1
- package/src/com/controlresell/models/fields/SpotDefaultValue.js +5 -8
- package/src/com/controlresell/models/fields/SpotDefaultValue.js.map +1 -1
- package/src/com/controlresell/models/fields/SpotValue.js +4 -7
- package/src/com/controlresell/models/fields/SpotValue.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +26 -26
- package/src/com/controlresell/models/filters/SavedFilters.js +7 -10
- package/src/com/controlresell/models/filters/SavedFilters.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +24 -24
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js +4 -7
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js.map +1 -1
- package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +4 -4
- package/src/com/controlresell/models/orders/FetchOrdersRequest.js +5 -8
- package/src/com/controlresell/models/orders/FetchOrdersRequest.js.map +1 -1
- package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +4 -4
- package/src/com/controlresell/models/orders/FetchOrdersResponse.js +4 -7
- package/src/com/controlresell/models/orders/FetchOrdersResponse.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js +5 -8
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +12 -12
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js +11 -14
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js +4 -7
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js +5 -8
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js.map +1 -1
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js +5 -8
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js.map +1 -1
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js +9 -12
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js.map +1 -1
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js +4 -7
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +8 -8
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.js +5 -8
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js +12 -15
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +79 -79
- package/src/com/controlresell/models/platforms/orders/Order.js +20 -23
- package/src/com/controlresell/models/platforms/orders/Order.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +6 -6
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.js +13 -16
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +18 -18
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.js +7 -10
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.js +6 -9
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderType.js +2 -5
- package/src/com/controlresell/models/platforms/orders/OrderType.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js +9 -12
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +899 -888
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.js +8 -11
- package/src/com/controlresell/models/platforms/orders/UserOrders.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/CreateItemInOrderPayload.js +3 -6
- package/src/com/controlresell/models/platforms/orders/items/CreateItemInOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.js +6 -9
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +659 -650
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +6 -9
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointInOrderPayload.js +7 -10
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointInOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.js +11 -14
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.js +13 -16
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.js.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.js +10 -13
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.js.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.js +10 -13
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.js.map +1 -1
- package/src/com/controlresell/models/users/CreateUserPayload.js +6 -9
- package/src/com/controlresell/models/users/CreateUserPayload.js.map +1 -1
- package/src/com/controlresell/models/users/GettingStartedSteps.js +7 -10
- package/src/com/controlresell/models/users/GettingStartedSteps.js.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.js +12 -15
- package/src/com/controlresell/models/users/UpdateUserPayload.js.map +1 -1
- package/src/com/controlresell/models/users/User.d.ts +9 -6
- package/src/com/controlresell/models/users/User.d.ts.map +1 -1
- package/src/com/controlresell/models/users/User.js +20 -22
- package/src/com/controlresell/models/users/User.js.map +1 -1
- package/src/com/controlresell/models/users/User.ts +2 -1
- package/src/com/controlresell/models/users/UserContext.js +4 -7
- package/src/com/controlresell/models/users/UserContext.js.map +1 -1
- package/src/com/controlresell/models/users/Wallet.js +5 -8
- package/src/com/controlresell/models/users/Wallet.js.map +1 -1
- package/src/com/controlresell/models/users/affiliates/Affiliate.d.ts +3 -0
- package/src/com/controlresell/models/users/affiliates/Affiliate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/affiliates/Affiliate.js +5 -7
- package/src/com/controlresell/models/users/affiliates/Affiliate.js.map +1 -1
- package/src/com/controlresell/models/users/affiliates/Affiliate.ts +2 -1
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/Field.js +11 -14
- package/src/com/controlresell/models/users/fields/Field.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.js +5 -8
- package/src/com/controlresell/models/users/fields/FieldConfig.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldPayload.js +8 -11
- package/src/com/controlresell/models/users/fields/FieldPayload.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldType.js +2 -5
- package/src/com/controlresell/models/users/fields/FieldType.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/fields/FieldsWithData.js +5 -8
- package/src/com/controlresell/models/users/fields/FieldsWithData.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.js +6 -9
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.js +7 -10
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdateType.js +2 -5
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdateType.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformRequest.js +6 -9
- package/src/com/controlresell/models/users/platforms/UserOnPlatformRequest.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.js +7 -10
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.js.map +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +92 -36
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.js +7 -10
- package/src/com/controlresell/models/users/ws/ResourceUpdate.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +1348 -1218
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +58 -61
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +128 -48
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.js +52 -55
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.js +4 -7
- package/src/com/controlresell/notify/models/notifications/CreateNotificationPreferencePayload.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.js +3 -6
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayload.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.d.ts +2 -2
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.js +5 -8
- package/src/com/controlresell/notify/models/notifications/CreateNotificationTokenPayloadWithUser.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts +4 -4
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.js +7 -10
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/NotificationToken.d.ts +2 -2
- package/src/com/controlresell/notify/models/notifications/NotificationToken.js +5 -8
- package/src/com/controlresell/notify/models/notifications/NotificationToken.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/NotificationType.js +2 -5
- package/src/com/controlresell/notify/models/notifications/NotificationType.js.map +1 -1
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.js +4 -7
- package/src/com/controlresell/notify/models/notifications/UpdateNotificationPreferencePayload.js.map +1 -1
- package/src/com/controlresell/storage/models/files/CreateFilePayload.js +3 -6
- package/src/com/controlresell/storage/models/files/CreateFilePayload.js.map +1 -1
- package/src/com/controlresell/storage/models/files/File.d.ts +2 -2
- package/src/com/controlresell/storage/models/files/File.js +8 -11
- package/src/com/controlresell/storage/models/files/File.js.map +1 -1
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +109 -9
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js +12 -12
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js.map +1 -1
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.ts +6 -3
- package/src/com/controlresell/subscriptions/models/CancellationReason.d.ts +4 -0
- package/src/com/controlresell/subscriptions/models/CancellationReason.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/CancellationReason.js +5 -0
- package/src/com/controlresell/subscriptions/models/CancellationReason.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/CancellationReason.ts +6 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +113 -13
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts.map +1 -1
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js +16 -16
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js.map +1 -1
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.ts +6 -3
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.d.ts +132 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js +33 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryMetadata.ts +42 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistorySource.d.ts +4 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistorySource.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistorySource.js +5 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistorySource.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistorySource.ts +6 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryType.d.ts +4 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryType.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryType.js +5 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryType.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistoryType.ts +6 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionState.d.ts +4 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionState.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionState.js +5 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionState.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionState.ts +6 -0
- package/src/index.d.ts +236 -231
- package/src/index.d.ts.map +1 -1
- package/src/index.js +273 -544
- package/src/index.js.map +1 -1
- package/src/index.ts +236 -231
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.d.ts +0 -13
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.js +0 -9
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/DeleteItemPayload.ts +0 -7
|
@@ -19,15 +19,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
19
19
|
createdAt: z.ZodDate;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
path: string;
|
|
22
|
+
userId: string | number;
|
|
22
23
|
id: string;
|
|
23
24
|
createdAt: Date;
|
|
24
|
-
userId: string | number;
|
|
25
25
|
signedUrl: string;
|
|
26
26
|
}, {
|
|
27
27
|
path: string;
|
|
28
|
+
userId: string | number;
|
|
28
29
|
id: string;
|
|
29
30
|
createdAt: Date;
|
|
30
|
-
userId: string | number;
|
|
31
31
|
signedUrl: string;
|
|
32
32
|
}>>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -36,9 +36,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
36
36
|
index?: number | null | undefined;
|
|
37
37
|
file?: {
|
|
38
38
|
path: string;
|
|
39
|
+
userId: string | number;
|
|
39
40
|
id: string;
|
|
40
41
|
createdAt: Date;
|
|
41
|
-
userId: string | number;
|
|
42
42
|
signedUrl: string;
|
|
43
43
|
} | null | undefined;
|
|
44
44
|
}, {
|
|
@@ -47,9 +47,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
47
47
|
index?: number | null | undefined;
|
|
48
48
|
file?: {
|
|
49
49
|
path: string;
|
|
50
|
+
userId: string | number;
|
|
50
51
|
id: string;
|
|
51
52
|
createdAt: Date;
|
|
52
|
-
userId: string | number;
|
|
53
53
|
signedUrl: string;
|
|
54
54
|
} | null | undefined;
|
|
55
55
|
}>, "many">>>;
|
|
@@ -85,11 +85,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
value: number;
|
|
87
87
|
type: string;
|
|
88
|
+
userId: string | number;
|
|
88
89
|
id: string | number;
|
|
89
|
-
createdAt: Date;
|
|
90
90
|
updatedAt: Date;
|
|
91
|
-
userId: string | number;
|
|
92
91
|
name: string;
|
|
92
|
+
createdAt: Date;
|
|
93
93
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
94
94
|
startDate: Date;
|
|
95
95
|
active: boolean;
|
|
@@ -100,11 +100,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
100
100
|
}, {
|
|
101
101
|
value: number;
|
|
102
102
|
type: string;
|
|
103
|
+
userId: string | number;
|
|
103
104
|
id: string | number;
|
|
104
|
-
createdAt: Date;
|
|
105
105
|
updatedAt: Date;
|
|
106
|
-
userId: string | number;
|
|
107
106
|
name: string;
|
|
107
|
+
createdAt: Date;
|
|
108
108
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
109
109
|
startDate: Date;
|
|
110
110
|
active: boolean;
|
|
@@ -124,42 +124,47 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
124
124
|
isUserLabel: z.ZodBoolean;
|
|
125
125
|
createdAt: z.ZodDate;
|
|
126
126
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
127
|
+
parentId: z.ZodUnknown;
|
|
127
128
|
}, "strip", z.ZodTypeAny, {
|
|
128
129
|
id: string | number;
|
|
129
|
-
createdAt: Date;
|
|
130
130
|
name: string;
|
|
131
|
+
createdAt: Date;
|
|
131
132
|
isUserLabel: boolean;
|
|
132
|
-
itemCount?: number | null | undefined;
|
|
133
133
|
userId?: string | number | null | undefined;
|
|
134
|
+
itemCount?: number | null | undefined;
|
|
135
|
+
parentId?: unknown;
|
|
134
136
|
}, {
|
|
135
137
|
id: string | number;
|
|
136
|
-
createdAt: Date;
|
|
137
138
|
name: string;
|
|
139
|
+
createdAt: Date;
|
|
138
140
|
isUserLabel: boolean;
|
|
139
|
-
itemCount?: number | null | undefined;
|
|
140
141
|
userId?: string | number | null | undefined;
|
|
142
|
+
itemCount?: number | null | undefined;
|
|
143
|
+
parentId?: unknown;
|
|
141
144
|
}>>>;
|
|
142
145
|
}, "strip", z.ZodTypeAny, {
|
|
143
146
|
itemId: string | number;
|
|
144
147
|
labelId: string | number;
|
|
145
148
|
label?: {
|
|
146
149
|
id: string | number;
|
|
147
|
-
createdAt: Date;
|
|
148
150
|
name: string;
|
|
151
|
+
createdAt: Date;
|
|
149
152
|
isUserLabel: boolean;
|
|
150
|
-
itemCount?: number | null | undefined;
|
|
151
153
|
userId?: string | number | null | undefined;
|
|
154
|
+
itemCount?: number | null | undefined;
|
|
155
|
+
parentId?: unknown;
|
|
152
156
|
} | null | undefined;
|
|
153
157
|
}, {
|
|
154
158
|
itemId: string | number;
|
|
155
159
|
labelId: string | number;
|
|
156
160
|
label?: {
|
|
157
161
|
id: string | number;
|
|
158
|
-
createdAt: Date;
|
|
159
162
|
name: string;
|
|
163
|
+
createdAt: Date;
|
|
160
164
|
isUserLabel: boolean;
|
|
161
|
-
itemCount?: number | null | undefined;
|
|
162
165
|
userId?: string | number | null | undefined;
|
|
166
|
+
itemCount?: number | null | undefined;
|
|
167
|
+
parentId?: unknown;
|
|
163
168
|
} | null | undefined;
|
|
164
169
|
}>, "many">>>;
|
|
165
170
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -178,8 +183,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
178
183
|
bic: z.ZodString;
|
|
179
184
|
phoneVerified: z.ZodBoolean;
|
|
180
185
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
id: string | number;
|
|
182
186
|
userId: string | number;
|
|
187
|
+
id: string | number;
|
|
183
188
|
email: string;
|
|
184
189
|
firstName: string;
|
|
185
190
|
lastName: string;
|
|
@@ -190,8 +195,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
190
195
|
bic: string;
|
|
191
196
|
phoneVerified: boolean;
|
|
192
197
|
}, {
|
|
193
|
-
id: string | number;
|
|
194
198
|
userId: string | number;
|
|
199
|
+
id: string | number;
|
|
195
200
|
email: string;
|
|
196
201
|
firstName: string;
|
|
197
202
|
lastName: string;
|
|
@@ -317,11 +322,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
317
322
|
autoFixable: z.ZodBoolean;
|
|
318
323
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
319
324
|
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
325
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
321
326
|
autoFixable: boolean;
|
|
322
327
|
error?: string | null | undefined;
|
|
323
328
|
}, {
|
|
324
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
329
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
325
330
|
autoFixable: boolean;
|
|
326
331
|
error?: string | null | undefined;
|
|
327
332
|
}>, "many">>>;
|
|
@@ -331,7 +336,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
331
336
|
accountId?: string | null | undefined;
|
|
332
337
|
reason?: string | null | undefined;
|
|
333
338
|
fields?: {
|
|
334
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
339
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
335
340
|
autoFixable: boolean;
|
|
336
341
|
error?: string | null | undefined;
|
|
337
342
|
}[] | null | undefined;
|
|
@@ -341,7 +346,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
341
346
|
accountId?: string | null | undefined;
|
|
342
347
|
reason?: string | null | undefined;
|
|
343
348
|
fields?: {
|
|
344
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
349
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
345
350
|
autoFixable: boolean;
|
|
346
351
|
error?: string | null | undefined;
|
|
347
352
|
}[] | null | undefined;
|
|
@@ -355,7 +360,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
355
360
|
accountId?: string | null | undefined;
|
|
356
361
|
reason?: string | null | undefined;
|
|
357
362
|
fields?: {
|
|
358
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
363
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
359
364
|
autoFixable: boolean;
|
|
360
365
|
error?: string | null | undefined;
|
|
361
366
|
}[] | null | undefined;
|
|
@@ -368,7 +373,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
368
373
|
accountId?: string | null | undefined;
|
|
369
374
|
reason?: string | null | undefined;
|
|
370
375
|
fields?: {
|
|
371
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
376
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
372
377
|
autoFixable: boolean;
|
|
373
378
|
error?: string | null | undefined;
|
|
374
379
|
}[] | null | undefined;
|
|
@@ -484,22 +489,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
484
489
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
485
490
|
}, "strip", z.ZodTypeAny, {
|
|
486
491
|
status?: string | null | undefined;
|
|
487
|
-
title?: string | null | undefined;
|
|
488
|
-
description?: string | null | undefined;
|
|
489
|
-
brand?: string | null | undefined;
|
|
490
|
-
statusId?: number | null | undefined;
|
|
491
|
-
sizeId?: number | null | undefined;
|
|
492
|
-
colorIds?: number[] | null | undefined;
|
|
493
|
-
packageSizeId?: number | null | undefined;
|
|
494
492
|
price?: number | null | undefined;
|
|
495
493
|
currency?: string | null | undefined;
|
|
494
|
+
brand?: string | null | undefined;
|
|
496
495
|
catalog?: string | null | undefined;
|
|
497
496
|
catalogId?: number | null | undefined;
|
|
498
497
|
colors?: string[] | null | undefined;
|
|
498
|
+
colorIds?: number[] | null | undefined;
|
|
499
|
+
description?: string | null | undefined;
|
|
499
500
|
measurementLength?: number | null | undefined;
|
|
500
501
|
measurementWidth?: number | null | undefined;
|
|
502
|
+
packageSizeId?: number | null | undefined;
|
|
501
503
|
photoUrls?: string[] | null | undefined;
|
|
502
504
|
size?: string | null | undefined;
|
|
505
|
+
sizeId?: number | null | undefined;
|
|
506
|
+
statusId?: number | null | undefined;
|
|
507
|
+
title?: string | null | undefined;
|
|
503
508
|
isDraft?: boolean | null | undefined;
|
|
504
509
|
isArchived?: boolean | null | undefined;
|
|
505
510
|
availableQuantity?: number | null | undefined;
|
|
@@ -508,22 +513,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
508
513
|
labels?: string[] | null | undefined;
|
|
509
514
|
}, {
|
|
510
515
|
status?: string | null | undefined;
|
|
511
|
-
title?: string | null | undefined;
|
|
512
|
-
description?: string | null | undefined;
|
|
513
|
-
brand?: string | null | undefined;
|
|
514
|
-
statusId?: number | null | undefined;
|
|
515
|
-
sizeId?: number | null | undefined;
|
|
516
|
-
colorIds?: number[] | null | undefined;
|
|
517
|
-
packageSizeId?: number | null | undefined;
|
|
518
516
|
price?: number | null | undefined;
|
|
519
517
|
currency?: string | null | undefined;
|
|
518
|
+
brand?: string | null | undefined;
|
|
520
519
|
catalog?: string | null | undefined;
|
|
521
520
|
catalogId?: number | null | undefined;
|
|
522
521
|
colors?: string[] | null | undefined;
|
|
522
|
+
colorIds?: number[] | null | undefined;
|
|
523
|
+
description?: string | null | undefined;
|
|
523
524
|
measurementLength?: number | null | undefined;
|
|
524
525
|
measurementWidth?: number | null | undefined;
|
|
526
|
+
packageSizeId?: number | null | undefined;
|
|
525
527
|
photoUrls?: string[] | null | undefined;
|
|
526
528
|
size?: string | null | undefined;
|
|
529
|
+
sizeId?: number | null | undefined;
|
|
530
|
+
statusId?: number | null | undefined;
|
|
531
|
+
title?: string | null | undefined;
|
|
527
532
|
isDraft?: boolean | null | undefined;
|
|
528
533
|
isArchived?: boolean | null | undefined;
|
|
529
534
|
availableQuantity?: number | null | undefined;
|
|
@@ -535,22 +540,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
535
540
|
platformId: string;
|
|
536
541
|
post: {
|
|
537
542
|
status?: string | null | undefined;
|
|
538
|
-
title?: string | null | undefined;
|
|
539
|
-
description?: string | null | undefined;
|
|
540
|
-
brand?: string | null | undefined;
|
|
541
|
-
statusId?: number | null | undefined;
|
|
542
|
-
sizeId?: number | null | undefined;
|
|
543
|
-
colorIds?: number[] | null | undefined;
|
|
544
|
-
packageSizeId?: number | null | undefined;
|
|
545
543
|
price?: number | null | undefined;
|
|
546
544
|
currency?: string | null | undefined;
|
|
545
|
+
brand?: string | null | undefined;
|
|
547
546
|
catalog?: string | null | undefined;
|
|
548
547
|
catalogId?: number | null | undefined;
|
|
549
548
|
colors?: string[] | null | undefined;
|
|
549
|
+
colorIds?: number[] | null | undefined;
|
|
550
|
+
description?: string | null | undefined;
|
|
550
551
|
measurementLength?: number | null | undefined;
|
|
551
552
|
measurementWidth?: number | null | undefined;
|
|
553
|
+
packageSizeId?: number | null | undefined;
|
|
552
554
|
photoUrls?: string[] | null | undefined;
|
|
553
555
|
size?: string | null | undefined;
|
|
556
|
+
sizeId?: number | null | undefined;
|
|
557
|
+
statusId?: number | null | undefined;
|
|
558
|
+
title?: string | null | undefined;
|
|
554
559
|
isDraft?: boolean | null | undefined;
|
|
555
560
|
isArchived?: boolean | null | undefined;
|
|
556
561
|
availableQuantity?: number | null | undefined;
|
|
@@ -564,22 +569,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
564
569
|
platformId: string;
|
|
565
570
|
post: {
|
|
566
571
|
status?: string | null | undefined;
|
|
567
|
-
title?: string | null | undefined;
|
|
568
|
-
description?: string | null | undefined;
|
|
569
|
-
brand?: string | null | undefined;
|
|
570
|
-
statusId?: number | null | undefined;
|
|
571
|
-
sizeId?: number | null | undefined;
|
|
572
|
-
colorIds?: number[] | null | undefined;
|
|
573
|
-
packageSizeId?: number | null | undefined;
|
|
574
572
|
price?: number | null | undefined;
|
|
575
573
|
currency?: string | null | undefined;
|
|
574
|
+
brand?: string | null | undefined;
|
|
576
575
|
catalog?: string | null | undefined;
|
|
577
576
|
catalogId?: number | null | undefined;
|
|
578
577
|
colors?: string[] | null | undefined;
|
|
578
|
+
colorIds?: number[] | null | undefined;
|
|
579
|
+
description?: string | null | undefined;
|
|
579
580
|
measurementLength?: number | null | undefined;
|
|
580
581
|
measurementWidth?: number | null | undefined;
|
|
582
|
+
packageSizeId?: number | null | undefined;
|
|
581
583
|
photoUrls?: string[] | null | undefined;
|
|
582
584
|
size?: string | null | undefined;
|
|
585
|
+
sizeId?: number | null | undefined;
|
|
586
|
+
statusId?: number | null | undefined;
|
|
587
|
+
title?: string | null | undefined;
|
|
583
588
|
isDraft?: boolean | null | undefined;
|
|
584
589
|
isArchived?: boolean | null | undefined;
|
|
585
590
|
availableQuantity?: number | null | undefined;
|
|
@@ -595,22 +600,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
595
600
|
platformId: string;
|
|
596
601
|
post: {
|
|
597
602
|
status?: string | null | undefined;
|
|
598
|
-
title?: string | null | undefined;
|
|
599
|
-
description?: string | null | undefined;
|
|
600
|
-
brand?: string | null | undefined;
|
|
601
|
-
statusId?: number | null | undefined;
|
|
602
|
-
sizeId?: number | null | undefined;
|
|
603
|
-
colorIds?: number[] | null | undefined;
|
|
604
|
-
packageSizeId?: number | null | undefined;
|
|
605
603
|
price?: number | null | undefined;
|
|
606
604
|
currency?: string | null | undefined;
|
|
605
|
+
brand?: string | null | undefined;
|
|
607
606
|
catalog?: string | null | undefined;
|
|
608
607
|
catalogId?: number | null | undefined;
|
|
609
608
|
colors?: string[] | null | undefined;
|
|
609
|
+
colorIds?: number[] | null | undefined;
|
|
610
|
+
description?: string | null | undefined;
|
|
610
611
|
measurementLength?: number | null | undefined;
|
|
611
612
|
measurementWidth?: number | null | undefined;
|
|
613
|
+
packageSizeId?: number | null | undefined;
|
|
612
614
|
photoUrls?: string[] | null | undefined;
|
|
613
615
|
size?: string | null | undefined;
|
|
616
|
+
sizeId?: number | null | undefined;
|
|
617
|
+
statusId?: number | null | undefined;
|
|
618
|
+
title?: string | null | undefined;
|
|
614
619
|
isDraft?: boolean | null | undefined;
|
|
615
620
|
isArchived?: boolean | null | undefined;
|
|
616
621
|
availableQuantity?: number | null | undefined;
|
|
@@ -626,22 +631,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
626
631
|
platformId: string;
|
|
627
632
|
post: {
|
|
628
633
|
status?: string | null | undefined;
|
|
629
|
-
title?: string | null | undefined;
|
|
630
|
-
description?: string | null | undefined;
|
|
631
|
-
brand?: string | null | undefined;
|
|
632
|
-
statusId?: number | null | undefined;
|
|
633
|
-
sizeId?: number | null | undefined;
|
|
634
|
-
colorIds?: number[] | null | undefined;
|
|
635
|
-
packageSizeId?: number | null | undefined;
|
|
636
634
|
price?: number | null | undefined;
|
|
637
635
|
currency?: string | null | undefined;
|
|
636
|
+
brand?: string | null | undefined;
|
|
638
637
|
catalog?: string | null | undefined;
|
|
639
638
|
catalogId?: number | null | undefined;
|
|
640
639
|
colors?: string[] | null | undefined;
|
|
640
|
+
colorIds?: number[] | null | undefined;
|
|
641
|
+
description?: string | null | undefined;
|
|
641
642
|
measurementLength?: number | null | undefined;
|
|
642
643
|
measurementWidth?: number | null | undefined;
|
|
644
|
+
packageSizeId?: number | null | undefined;
|
|
643
645
|
photoUrls?: string[] | null | undefined;
|
|
644
646
|
size?: string | null | undefined;
|
|
647
|
+
sizeId?: number | null | undefined;
|
|
648
|
+
statusId?: number | null | undefined;
|
|
649
|
+
title?: string | null | undefined;
|
|
645
650
|
isDraft?: boolean | null | undefined;
|
|
646
651
|
isArchived?: boolean | null | undefined;
|
|
647
652
|
availableQuantity?: number | null | undefined;
|
|
@@ -661,22 +666,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
661
666
|
platformId: string;
|
|
662
667
|
post: {
|
|
663
668
|
status?: string | null | undefined;
|
|
664
|
-
title?: string | null | undefined;
|
|
665
|
-
description?: string | null | undefined;
|
|
666
|
-
brand?: string | null | undefined;
|
|
667
|
-
statusId?: number | null | undefined;
|
|
668
|
-
sizeId?: number | null | undefined;
|
|
669
|
-
colorIds?: number[] | null | undefined;
|
|
670
|
-
packageSizeId?: number | null | undefined;
|
|
671
669
|
price?: number | null | undefined;
|
|
672
670
|
currency?: string | null | undefined;
|
|
671
|
+
brand?: string | null | undefined;
|
|
673
672
|
catalog?: string | null | undefined;
|
|
674
673
|
catalogId?: number | null | undefined;
|
|
675
674
|
colors?: string[] | null | undefined;
|
|
675
|
+
colorIds?: number[] | null | undefined;
|
|
676
|
+
description?: string | null | undefined;
|
|
676
677
|
measurementLength?: number | null | undefined;
|
|
677
678
|
measurementWidth?: number | null | undefined;
|
|
679
|
+
packageSizeId?: number | null | undefined;
|
|
678
680
|
photoUrls?: string[] | null | undefined;
|
|
679
681
|
size?: string | null | undefined;
|
|
682
|
+
sizeId?: number | null | undefined;
|
|
683
|
+
statusId?: number | null | undefined;
|
|
684
|
+
title?: string | null | undefined;
|
|
680
685
|
isDraft?: boolean | null | undefined;
|
|
681
686
|
isArchived?: boolean | null | undefined;
|
|
682
687
|
availableQuantity?: number | null | undefined;
|
|
@@ -695,22 +700,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
695
700
|
platformId: string;
|
|
696
701
|
post: {
|
|
697
702
|
status?: string | null | undefined;
|
|
698
|
-
title?: string | null | undefined;
|
|
699
|
-
description?: string | null | undefined;
|
|
700
|
-
brand?: string | null | undefined;
|
|
701
|
-
statusId?: number | null | undefined;
|
|
702
|
-
sizeId?: number | null | undefined;
|
|
703
|
-
colorIds?: number[] | null | undefined;
|
|
704
|
-
packageSizeId?: number | null | undefined;
|
|
705
703
|
price?: number | null | undefined;
|
|
706
704
|
currency?: string | null | undefined;
|
|
705
|
+
brand?: string | null | undefined;
|
|
707
706
|
catalog?: string | null | undefined;
|
|
708
707
|
catalogId?: number | null | undefined;
|
|
709
708
|
colors?: string[] | null | undefined;
|
|
709
|
+
colorIds?: number[] | null | undefined;
|
|
710
|
+
description?: string | null | undefined;
|
|
710
711
|
measurementLength?: number | null | undefined;
|
|
711
712
|
measurementWidth?: number | null | undefined;
|
|
713
|
+
packageSizeId?: number | null | undefined;
|
|
712
714
|
photoUrls?: string[] | null | undefined;
|
|
713
715
|
size?: string | null | undefined;
|
|
716
|
+
sizeId?: number | null | undefined;
|
|
717
|
+
statusId?: number | null | undefined;
|
|
718
|
+
title?: string | null | undefined;
|
|
714
719
|
isDraft?: boolean | null | undefined;
|
|
715
720
|
isArchived?: boolean | null | undefined;
|
|
716
721
|
availableQuantity?: number | null | undefined;
|
|
@@ -746,24 +751,24 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
746
751
|
accountId: z.ZodString;
|
|
747
752
|
caseId: z.ZodString;
|
|
748
753
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
-
caseId: string;
|
|
750
754
|
accountId: string;
|
|
751
|
-
}, {
|
|
752
755
|
caseId: string;
|
|
756
|
+
}, {
|
|
753
757
|
accountId: string;
|
|
758
|
+
caseId: string;
|
|
754
759
|
}>;
|
|
755
760
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
756
761
|
}, "strip", z.ZodTypeAny, {
|
|
757
762
|
type: "LIFECYCLE_STARTED";
|
|
758
763
|
data: {
|
|
759
|
-
caseId: string;
|
|
760
764
|
accountId: string;
|
|
765
|
+
caseId: string;
|
|
761
766
|
};
|
|
762
767
|
}, {
|
|
763
768
|
type: "LIFECYCLE_STARTED";
|
|
764
769
|
data: {
|
|
765
|
-
caseId: string;
|
|
766
770
|
accountId: string;
|
|
771
|
+
caseId: string;
|
|
767
772
|
};
|
|
768
773
|
}>, z.ZodObject<{
|
|
769
774
|
data: z.ZodObject<{
|
|
@@ -792,6 +797,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
792
797
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
798
|
}, "strip", z.ZodTypeAny, {
|
|
794
799
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
800
|
+
publishingDate?: Date | null | undefined;
|
|
795
801
|
priceDropPayload?: {
|
|
796
802
|
value: number;
|
|
797
803
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -799,11 +805,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
799
805
|
roundStep?: number | null | undefined;
|
|
800
806
|
maxRounds?: number | null | undefined;
|
|
801
807
|
} | null | undefined;
|
|
802
|
-
publishingDate?: Date | null | undefined;
|
|
803
|
-
targetAccountId?: string | null | undefined;
|
|
804
808
|
isTransfer?: boolean | null | undefined;
|
|
809
|
+
targetAccountId?: string | null | undefined;
|
|
805
810
|
}, {
|
|
806
811
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
812
|
+
publishingDate?: Date | null | undefined;
|
|
807
813
|
priceDropPayload?: {
|
|
808
814
|
value: number;
|
|
809
815
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -811,15 +817,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
811
817
|
roundStep?: number | null | undefined;
|
|
812
818
|
maxRounds?: number | null | undefined;
|
|
813
819
|
} | null | undefined;
|
|
814
|
-
publishingDate?: Date | null | undefined;
|
|
815
|
-
targetAccountId?: string | null | undefined;
|
|
816
820
|
isTransfer?: boolean | null | undefined;
|
|
821
|
+
targetAccountId?: string | null | undefined;
|
|
817
822
|
}>;
|
|
818
823
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
819
824
|
}, "strip", z.ZodTypeAny, {
|
|
820
825
|
type: "REPUBLISHING";
|
|
821
826
|
data: {
|
|
822
827
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
828
|
+
publishingDate?: Date | null | undefined;
|
|
823
829
|
priceDropPayload?: {
|
|
824
830
|
value: number;
|
|
825
831
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -827,14 +833,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
827
833
|
roundStep?: number | null | undefined;
|
|
828
834
|
maxRounds?: number | null | undefined;
|
|
829
835
|
} | null | undefined;
|
|
830
|
-
publishingDate?: Date | null | undefined;
|
|
831
|
-
targetAccountId?: string | null | undefined;
|
|
832
836
|
isTransfer?: boolean | null | undefined;
|
|
837
|
+
targetAccountId?: string | null | undefined;
|
|
833
838
|
};
|
|
834
839
|
}, {
|
|
835
840
|
type: "REPUBLISHING";
|
|
836
841
|
data: {
|
|
837
842
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
843
|
+
publishingDate?: Date | null | undefined;
|
|
838
844
|
priceDropPayload?: {
|
|
839
845
|
value: number;
|
|
840
846
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -842,9 +848,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
842
848
|
roundStep?: number | null | undefined;
|
|
843
849
|
maxRounds?: number | null | undefined;
|
|
844
850
|
} | null | undefined;
|
|
845
|
-
publishingDate?: Date | null | undefined;
|
|
846
|
-
targetAccountId?: string | null | undefined;
|
|
847
851
|
isTransfer?: boolean | null | undefined;
|
|
852
|
+
targetAccountId?: string | null | undefined;
|
|
848
853
|
};
|
|
849
854
|
}>, z.ZodObject<{
|
|
850
855
|
data: z.ZodObject<{
|
|
@@ -858,11 +863,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
858
863
|
autoFixable: z.ZodBoolean;
|
|
859
864
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
860
865
|
}, "strip", z.ZodTypeAny, {
|
|
861
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
866
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
862
867
|
autoFixable: boolean;
|
|
863
868
|
error?: string | null | undefined;
|
|
864
869
|
}, {
|
|
865
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
870
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
866
871
|
autoFixable: boolean;
|
|
867
872
|
error?: string | null | undefined;
|
|
868
873
|
}>, "many">>>;
|
|
@@ -886,11 +891,16 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
886
891
|
maxRounds?: number | null | undefined;
|
|
887
892
|
}>>>;
|
|
888
893
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
-
maxAttempts: number;
|
|
890
894
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
891
895
|
attemptNumber: number;
|
|
896
|
+
maxAttempts: number;
|
|
892
897
|
previousHistoryId: string;
|
|
893
898
|
originalFailureDate: Date;
|
|
899
|
+
fields?: {
|
|
900
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
901
|
+
autoFixable: boolean;
|
|
902
|
+
error?: string | null | undefined;
|
|
903
|
+
}[] | null | undefined;
|
|
894
904
|
priceDropPayload?: {
|
|
895
905
|
value: number;
|
|
896
906
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -898,17 +908,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
898
908
|
roundStep?: number | null | undefined;
|
|
899
909
|
maxRounds?: number | null | undefined;
|
|
900
910
|
} | null | undefined;
|
|
901
|
-
fields?: {
|
|
902
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
903
|
-
autoFixable: boolean;
|
|
904
|
-
error?: string | null | undefined;
|
|
905
|
-
}[] | null | undefined;
|
|
906
911
|
}, {
|
|
907
|
-
maxAttempts: number;
|
|
908
912
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
909
913
|
attemptNumber: number;
|
|
914
|
+
maxAttempts: number;
|
|
910
915
|
previousHistoryId: string;
|
|
911
916
|
originalFailureDate: Date;
|
|
917
|
+
fields?: {
|
|
918
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
919
|
+
autoFixable: boolean;
|
|
920
|
+
error?: string | null | undefined;
|
|
921
|
+
}[] | null | undefined;
|
|
912
922
|
priceDropPayload?: {
|
|
913
923
|
value: number;
|
|
914
924
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -916,21 +926,21 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
916
926
|
roundStep?: number | null | undefined;
|
|
917
927
|
maxRounds?: number | null | undefined;
|
|
918
928
|
} | null | undefined;
|
|
919
|
-
fields?: {
|
|
920
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
921
|
-
autoFixable: boolean;
|
|
922
|
-
error?: string | null | undefined;
|
|
923
|
-
}[] | null | undefined;
|
|
924
929
|
}>;
|
|
925
930
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
926
931
|
}, "strip", z.ZodTypeAny, {
|
|
927
932
|
type: "REPUBLISHING_RETRY";
|
|
928
933
|
data: {
|
|
929
|
-
maxAttempts: number;
|
|
930
934
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
931
935
|
attemptNumber: number;
|
|
936
|
+
maxAttempts: number;
|
|
932
937
|
previousHistoryId: string;
|
|
933
938
|
originalFailureDate: Date;
|
|
939
|
+
fields?: {
|
|
940
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
941
|
+
autoFixable: boolean;
|
|
942
|
+
error?: string | null | undefined;
|
|
943
|
+
}[] | null | undefined;
|
|
934
944
|
priceDropPayload?: {
|
|
935
945
|
value: number;
|
|
936
946
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -938,20 +948,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
938
948
|
roundStep?: number | null | undefined;
|
|
939
949
|
maxRounds?: number | null | undefined;
|
|
940
950
|
} | null | undefined;
|
|
941
|
-
fields?: {
|
|
942
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
943
|
-
autoFixable: boolean;
|
|
944
|
-
error?: string | null | undefined;
|
|
945
|
-
}[] | null | undefined;
|
|
946
951
|
};
|
|
947
952
|
}, {
|
|
948
953
|
type: "REPUBLISHING_RETRY";
|
|
949
954
|
data: {
|
|
950
|
-
maxAttempts: number;
|
|
951
955
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
952
956
|
attemptNumber: number;
|
|
957
|
+
maxAttempts: number;
|
|
953
958
|
previousHistoryId: string;
|
|
954
959
|
originalFailureDate: Date;
|
|
960
|
+
fields?: {
|
|
961
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
962
|
+
autoFixable: boolean;
|
|
963
|
+
error?: string | null | undefined;
|
|
964
|
+
}[] | null | undefined;
|
|
955
965
|
priceDropPayload?: {
|
|
956
966
|
value: number;
|
|
957
967
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -959,11 +969,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
959
969
|
roundStep?: number | null | undefined;
|
|
960
970
|
maxRounds?: number | null | undefined;
|
|
961
971
|
} | null | undefined;
|
|
962
|
-
fields?: {
|
|
963
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
964
|
-
autoFixable: boolean;
|
|
965
|
-
error?: string | null | undefined;
|
|
966
|
-
}[] | null | undefined;
|
|
967
972
|
};
|
|
968
973
|
}>, z.ZodObject<{
|
|
969
974
|
data: z.ZodObject<{
|
|
@@ -1001,33 +1006,33 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1001
1006
|
autoFixable: z.ZodBoolean;
|
|
1002
1007
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1003
1008
|
}, "strip", z.ZodTypeAny, {
|
|
1004
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1009
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1005
1010
|
autoFixable: boolean;
|
|
1006
1011
|
error?: string | null | undefined;
|
|
1007
1012
|
}, {
|
|
1008
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1013
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1009
1014
|
autoFixable: boolean;
|
|
1010
1015
|
error?: string | null | undefined;
|
|
1011
1016
|
}>, "many">>>;
|
|
1012
1017
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
maxAttempts: number;
|
|
1014
1018
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1015
1019
|
attemptNumber: number;
|
|
1020
|
+
maxAttempts: number;
|
|
1016
1021
|
previousHistoryId: string;
|
|
1017
1022
|
originalFailureDate: Date;
|
|
1018
1023
|
fields?: {
|
|
1019
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1024
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1020
1025
|
autoFixable: boolean;
|
|
1021
1026
|
error?: string | null | undefined;
|
|
1022
1027
|
}[] | null | undefined;
|
|
1023
1028
|
}, {
|
|
1024
|
-
maxAttempts: number;
|
|
1025
1029
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1026
1030
|
attemptNumber: number;
|
|
1031
|
+
maxAttempts: number;
|
|
1027
1032
|
previousHistoryId: string;
|
|
1028
1033
|
originalFailureDate: Date;
|
|
1029
1034
|
fields?: {
|
|
1030
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1035
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1031
1036
|
autoFixable: boolean;
|
|
1032
1037
|
error?: string | null | undefined;
|
|
1033
1038
|
}[] | null | undefined;
|
|
@@ -1036,13 +1041,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1036
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1037
1042
|
type: "SCHEDULED_RETRY";
|
|
1038
1043
|
data: {
|
|
1039
|
-
maxAttempts: number;
|
|
1040
1044
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1041
1045
|
attemptNumber: number;
|
|
1046
|
+
maxAttempts: number;
|
|
1042
1047
|
previousHistoryId: string;
|
|
1043
1048
|
originalFailureDate: Date;
|
|
1044
1049
|
fields?: {
|
|
1045
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1050
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1046
1051
|
autoFixable: boolean;
|
|
1047
1052
|
error?: string | null | undefined;
|
|
1048
1053
|
}[] | null | undefined;
|
|
@@ -1050,13 +1055,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1050
1055
|
}, {
|
|
1051
1056
|
type: "SCHEDULED_RETRY";
|
|
1052
1057
|
data: {
|
|
1053
|
-
maxAttempts: number;
|
|
1054
1058
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1055
1059
|
attemptNumber: number;
|
|
1060
|
+
maxAttempts: number;
|
|
1056
1061
|
previousHistoryId: string;
|
|
1057
1062
|
originalFailureDate: Date;
|
|
1058
1063
|
fields?: {
|
|
1059
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1064
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1060
1065
|
autoFixable: boolean;
|
|
1061
1066
|
error?: string | null | undefined;
|
|
1062
1067
|
}[] | null | undefined;
|
|
@@ -1071,7 +1076,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1071
1076
|
id: string;
|
|
1072
1077
|
createdAt: Date;
|
|
1073
1078
|
itemId: string | number;
|
|
1074
|
-
requestId?: string | null | undefined;
|
|
1075
1079
|
data?: {
|
|
1076
1080
|
type: "ACTION_CANCELED";
|
|
1077
1081
|
data: {
|
|
@@ -1100,7 +1104,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1100
1104
|
accountId?: string | null | undefined;
|
|
1101
1105
|
reason?: string | null | undefined;
|
|
1102
1106
|
fields?: {
|
|
1103
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1107
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1104
1108
|
autoFixable: boolean;
|
|
1105
1109
|
error?: string | null | undefined;
|
|
1106
1110
|
}[] | null | undefined;
|
|
@@ -1127,22 +1131,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1127
1131
|
platformId: string;
|
|
1128
1132
|
post: {
|
|
1129
1133
|
status?: string | null | undefined;
|
|
1130
|
-
title?: string | null | undefined;
|
|
1131
|
-
description?: string | null | undefined;
|
|
1132
|
-
brand?: string | null | undefined;
|
|
1133
|
-
statusId?: number | null | undefined;
|
|
1134
|
-
sizeId?: number | null | undefined;
|
|
1135
|
-
colorIds?: number[] | null | undefined;
|
|
1136
|
-
packageSizeId?: number | null | undefined;
|
|
1137
1134
|
price?: number | null | undefined;
|
|
1138
1135
|
currency?: string | null | undefined;
|
|
1136
|
+
brand?: string | null | undefined;
|
|
1139
1137
|
catalog?: string | null | undefined;
|
|
1140
1138
|
catalogId?: number | null | undefined;
|
|
1141
1139
|
colors?: string[] | null | undefined;
|
|
1140
|
+
colorIds?: number[] | null | undefined;
|
|
1141
|
+
description?: string | null | undefined;
|
|
1142
1142
|
measurementLength?: number | null | undefined;
|
|
1143
1143
|
measurementWidth?: number | null | undefined;
|
|
1144
|
+
packageSizeId?: number | null | undefined;
|
|
1144
1145
|
photoUrls?: string[] | null | undefined;
|
|
1145
1146
|
size?: string | null | undefined;
|
|
1147
|
+
sizeId?: number | null | undefined;
|
|
1148
|
+
statusId?: number | null | undefined;
|
|
1149
|
+
title?: string | null | undefined;
|
|
1146
1150
|
isDraft?: boolean | null | undefined;
|
|
1147
1151
|
isArchived?: boolean | null | undefined;
|
|
1148
1152
|
availableQuantity?: number | null | undefined;
|
|
@@ -1162,13 +1166,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1162
1166
|
} | {
|
|
1163
1167
|
type: "LIFECYCLE_STARTED";
|
|
1164
1168
|
data: {
|
|
1165
|
-
caseId: string;
|
|
1166
1169
|
accountId: string;
|
|
1170
|
+
caseId: string;
|
|
1167
1171
|
};
|
|
1168
1172
|
} | {
|
|
1169
1173
|
type: "REPUBLISHING";
|
|
1170
1174
|
data: {
|
|
1171
1175
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1176
|
+
publishingDate?: Date | null | undefined;
|
|
1172
1177
|
priceDropPayload?: {
|
|
1173
1178
|
value: number;
|
|
1174
1179
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1176,18 +1181,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1176
1181
|
roundStep?: number | null | undefined;
|
|
1177
1182
|
maxRounds?: number | null | undefined;
|
|
1178
1183
|
} | null | undefined;
|
|
1179
|
-
publishingDate?: Date | null | undefined;
|
|
1180
|
-
targetAccountId?: string | null | undefined;
|
|
1181
1184
|
isTransfer?: boolean | null | undefined;
|
|
1185
|
+
targetAccountId?: string | null | undefined;
|
|
1182
1186
|
};
|
|
1183
1187
|
} | {
|
|
1184
1188
|
type: "REPUBLISHING_RETRY";
|
|
1185
1189
|
data: {
|
|
1186
|
-
maxAttempts: number;
|
|
1187
1190
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1188
1191
|
attemptNumber: number;
|
|
1192
|
+
maxAttempts: number;
|
|
1189
1193
|
previousHistoryId: string;
|
|
1190
1194
|
originalFailureDate: Date;
|
|
1195
|
+
fields?: {
|
|
1196
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1197
|
+
autoFixable: boolean;
|
|
1198
|
+
error?: string | null | undefined;
|
|
1199
|
+
}[] | null | undefined;
|
|
1191
1200
|
priceDropPayload?: {
|
|
1192
1201
|
value: number;
|
|
1193
1202
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1195,11 +1204,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1195
1204
|
roundStep?: number | null | undefined;
|
|
1196
1205
|
maxRounds?: number | null | undefined;
|
|
1197
1206
|
} | null | undefined;
|
|
1198
|
-
fields?: {
|
|
1199
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1200
|
-
autoFixable: boolean;
|
|
1201
|
-
error?: string | null | undefined;
|
|
1202
|
-
}[] | null | undefined;
|
|
1203
1207
|
};
|
|
1204
1208
|
} | {
|
|
1205
1209
|
type: "SCHEDULED";
|
|
@@ -1210,26 +1214,26 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1210
1214
|
} | {
|
|
1211
1215
|
type: "SCHEDULED_RETRY";
|
|
1212
1216
|
data: {
|
|
1213
|
-
maxAttempts: number;
|
|
1214
1217
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1215
1218
|
attemptNumber: number;
|
|
1219
|
+
maxAttempts: number;
|
|
1216
1220
|
previousHistoryId: string;
|
|
1217
1221
|
originalFailureDate: Date;
|
|
1218
1222
|
fields?: {
|
|
1219
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1223
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1220
1224
|
autoFixable: boolean;
|
|
1221
1225
|
error?: string | null | undefined;
|
|
1222
1226
|
}[] | null | undefined;
|
|
1223
1227
|
};
|
|
1224
1228
|
} | null | undefined;
|
|
1225
1229
|
accountId?: string | null | undefined;
|
|
1230
|
+
requestId?: string | null | undefined;
|
|
1226
1231
|
targetDate?: Date | null | undefined;
|
|
1227
1232
|
}, {
|
|
1228
1233
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1229
1234
|
id: string;
|
|
1230
1235
|
createdAt: Date;
|
|
1231
1236
|
itemId: string | number;
|
|
1232
|
-
requestId?: string | null | undefined;
|
|
1233
1237
|
data?: {
|
|
1234
1238
|
type: "ACTION_CANCELED";
|
|
1235
1239
|
data: {
|
|
@@ -1258,7 +1262,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1258
1262
|
accountId?: string | null | undefined;
|
|
1259
1263
|
reason?: string | null | undefined;
|
|
1260
1264
|
fields?: {
|
|
1261
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1265
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1262
1266
|
autoFixable: boolean;
|
|
1263
1267
|
error?: string | null | undefined;
|
|
1264
1268
|
}[] | null | undefined;
|
|
@@ -1285,22 +1289,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1285
1289
|
platformId: string;
|
|
1286
1290
|
post: {
|
|
1287
1291
|
status?: string | null | undefined;
|
|
1288
|
-
title?: string | null | undefined;
|
|
1289
|
-
description?: string | null | undefined;
|
|
1290
|
-
brand?: string | null | undefined;
|
|
1291
|
-
statusId?: number | null | undefined;
|
|
1292
|
-
sizeId?: number | null | undefined;
|
|
1293
|
-
colorIds?: number[] | null | undefined;
|
|
1294
|
-
packageSizeId?: number | null | undefined;
|
|
1295
1292
|
price?: number | null | undefined;
|
|
1296
1293
|
currency?: string | null | undefined;
|
|
1294
|
+
brand?: string | null | undefined;
|
|
1297
1295
|
catalog?: string | null | undefined;
|
|
1298
1296
|
catalogId?: number | null | undefined;
|
|
1299
1297
|
colors?: string[] | null | undefined;
|
|
1298
|
+
colorIds?: number[] | null | undefined;
|
|
1299
|
+
description?: string | null | undefined;
|
|
1300
1300
|
measurementLength?: number | null | undefined;
|
|
1301
1301
|
measurementWidth?: number | null | undefined;
|
|
1302
|
+
packageSizeId?: number | null | undefined;
|
|
1302
1303
|
photoUrls?: string[] | null | undefined;
|
|
1303
1304
|
size?: string | null | undefined;
|
|
1305
|
+
sizeId?: number | null | undefined;
|
|
1306
|
+
statusId?: number | null | undefined;
|
|
1307
|
+
title?: string | null | undefined;
|
|
1304
1308
|
isDraft?: boolean | null | undefined;
|
|
1305
1309
|
isArchived?: boolean | null | undefined;
|
|
1306
1310
|
availableQuantity?: number | null | undefined;
|
|
@@ -1320,13 +1324,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1320
1324
|
} | {
|
|
1321
1325
|
type: "LIFECYCLE_STARTED";
|
|
1322
1326
|
data: {
|
|
1323
|
-
caseId: string;
|
|
1324
1327
|
accountId: string;
|
|
1328
|
+
caseId: string;
|
|
1325
1329
|
};
|
|
1326
1330
|
} | {
|
|
1327
1331
|
type: "REPUBLISHING";
|
|
1328
1332
|
data: {
|
|
1329
1333
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1334
|
+
publishingDate?: Date | null | undefined;
|
|
1330
1335
|
priceDropPayload?: {
|
|
1331
1336
|
value: number;
|
|
1332
1337
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1334,18 +1339,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1334
1339
|
roundStep?: number | null | undefined;
|
|
1335
1340
|
maxRounds?: number | null | undefined;
|
|
1336
1341
|
} | null | undefined;
|
|
1337
|
-
publishingDate?: Date | null | undefined;
|
|
1338
|
-
targetAccountId?: string | null | undefined;
|
|
1339
1342
|
isTransfer?: boolean | null | undefined;
|
|
1343
|
+
targetAccountId?: string | null | undefined;
|
|
1340
1344
|
};
|
|
1341
1345
|
} | {
|
|
1342
1346
|
type: "REPUBLISHING_RETRY";
|
|
1343
1347
|
data: {
|
|
1344
|
-
maxAttempts: number;
|
|
1345
1348
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1346
1349
|
attemptNumber: number;
|
|
1350
|
+
maxAttempts: number;
|
|
1347
1351
|
previousHistoryId: string;
|
|
1348
1352
|
originalFailureDate: Date;
|
|
1353
|
+
fields?: {
|
|
1354
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1355
|
+
autoFixable: boolean;
|
|
1356
|
+
error?: string | null | undefined;
|
|
1357
|
+
}[] | null | undefined;
|
|
1349
1358
|
priceDropPayload?: {
|
|
1350
1359
|
value: number;
|
|
1351
1360
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1353,11 +1362,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1353
1362
|
roundStep?: number | null | undefined;
|
|
1354
1363
|
maxRounds?: number | null | undefined;
|
|
1355
1364
|
} | null | undefined;
|
|
1356
|
-
fields?: {
|
|
1357
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1358
|
-
autoFixable: boolean;
|
|
1359
|
-
error?: string | null | undefined;
|
|
1360
|
-
}[] | null | undefined;
|
|
1361
1365
|
};
|
|
1362
1366
|
} | {
|
|
1363
1367
|
type: "SCHEDULED";
|
|
@@ -1368,19 +1372,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1368
1372
|
} | {
|
|
1369
1373
|
type: "SCHEDULED_RETRY";
|
|
1370
1374
|
data: {
|
|
1371
|
-
maxAttempts: number;
|
|
1372
1375
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1373
1376
|
attemptNumber: number;
|
|
1377
|
+
maxAttempts: number;
|
|
1374
1378
|
previousHistoryId: string;
|
|
1375
1379
|
originalFailureDate: Date;
|
|
1376
1380
|
fields?: {
|
|
1377
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1381
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1378
1382
|
autoFixable: boolean;
|
|
1379
1383
|
error?: string | null | undefined;
|
|
1380
1384
|
}[] | null | undefined;
|
|
1381
1385
|
};
|
|
1382
1386
|
} | null | undefined;
|
|
1383
1387
|
accountId?: string | null | undefined;
|
|
1388
|
+
requestId?: string | null | undefined;
|
|
1384
1389
|
targetDate?: Date | null | undefined;
|
|
1385
1390
|
}>>>;
|
|
1386
1391
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1449,16 +1454,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1449
1454
|
}, "strip", z.ZodTypeAny, {
|
|
1450
1455
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1451
1456
|
id: string;
|
|
1452
|
-
createdAt: Date;
|
|
1453
1457
|
updatedAt: Date;
|
|
1458
|
+
createdAt: Date;
|
|
1454
1459
|
accountId: string;
|
|
1455
1460
|
itemId: string | number;
|
|
1456
1461
|
platformId: string;
|
|
1457
1462
|
platformUrl: string;
|
|
1458
1463
|
platformPrice: number;
|
|
1459
1464
|
publishedAt: Date;
|
|
1460
|
-
favoritesCount?: number | null | undefined;
|
|
1461
|
-
viewsCount?: number | null | undefined;
|
|
1462
1465
|
conversationId?: string | null | undefined;
|
|
1463
1466
|
account?: {
|
|
1464
1467
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -1475,19 +1478,19 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1475
1478
|
ordersMaxDelay?: number | null | undefined;
|
|
1476
1479
|
conversationsMaxDelay?: number | null | undefined;
|
|
1477
1480
|
} | null | undefined;
|
|
1481
|
+
viewsCount?: number | null | undefined;
|
|
1482
|
+
favoritesCount?: number | null | undefined;
|
|
1478
1483
|
}, {
|
|
1479
1484
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1480
1485
|
id: string;
|
|
1481
|
-
createdAt: Date;
|
|
1482
1486
|
updatedAt: Date;
|
|
1487
|
+
createdAt: Date;
|
|
1483
1488
|
accountId: string;
|
|
1484
1489
|
itemId: string | number;
|
|
1485
1490
|
platformId: string;
|
|
1486
1491
|
platformUrl: string;
|
|
1487
1492
|
platformPrice: number;
|
|
1488
1493
|
publishedAt: Date;
|
|
1489
|
-
favoritesCount?: number | null | undefined;
|
|
1490
|
-
viewsCount?: number | null | undefined;
|
|
1491
1494
|
conversationId?: string | null | undefined;
|
|
1492
1495
|
account?: {
|
|
1493
1496
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -1504,52 +1507,34 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1504
1507
|
ordersMaxDelay?: number | null | undefined;
|
|
1505
1508
|
conversationsMaxDelay?: number | null | undefined;
|
|
1506
1509
|
} | null | undefined;
|
|
1510
|
+
viewsCount?: number | null | undefined;
|
|
1511
|
+
favoritesCount?: number | null | undefined;
|
|
1507
1512
|
}>, "many">>>;
|
|
1508
1513
|
createdAt: z.ZodDate;
|
|
1509
1514
|
updatedAt: z.ZodDate;
|
|
1510
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1516
|
+
userId: string | number;
|
|
1511
1517
|
id: string | number;
|
|
1512
|
-
createdAt: Date;
|
|
1513
1518
|
updatedAt: Date;
|
|
1514
|
-
userId: string | number;
|
|
1515
1519
|
name: string;
|
|
1520
|
+
createdAt: Date;
|
|
1516
1521
|
sold: boolean;
|
|
1517
1522
|
state?: number | null | undefined;
|
|
1518
|
-
fees?: {
|
|
1519
|
-
value: number;
|
|
1520
|
-
type: string;
|
|
1521
|
-
id: string | number;
|
|
1522
|
-
createdAt: Date;
|
|
1523
|
-
updatedAt: Date;
|
|
1524
|
-
userId: string | number;
|
|
1525
|
-
name: string;
|
|
1526
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1527
|
-
startDate: Date;
|
|
1528
|
-
active: boolean;
|
|
1529
|
-
description?: string | null | undefined;
|
|
1530
|
-
itemId?: string | number | null | undefined;
|
|
1531
|
-
endDate?: Date | null | undefined;
|
|
1532
|
-
parentFeeId?: string | number | null | undefined;
|
|
1533
|
-
}[] | null | undefined;
|
|
1534
|
-
description?: string | null | undefined;
|
|
1535
|
-
categoryId?: number | null | undefined;
|
|
1536
|
-
sizeId?: number | null | undefined;
|
|
1537
1523
|
colorIds?: number[] | null | undefined;
|
|
1524
|
+
description?: string | null | undefined;
|
|
1538
1525
|
packageSizeId?: number | null | undefined;
|
|
1539
|
-
|
|
1540
|
-
estimatedPrice?: number | null | undefined;
|
|
1541
|
-
purchaseDate?: Date | null | undefined;
|
|
1542
|
-
sellingDate?: Date | null | undefined;
|
|
1526
|
+
sizeId?: number | null | undefined;
|
|
1543
1527
|
labels?: {
|
|
1544
1528
|
itemId: string | number;
|
|
1545
1529
|
labelId: string | number;
|
|
1546
1530
|
label?: {
|
|
1547
1531
|
id: string | number;
|
|
1548
|
-
createdAt: Date;
|
|
1549
1532
|
name: string;
|
|
1533
|
+
createdAt: Date;
|
|
1550
1534
|
isUserLabel: boolean;
|
|
1551
|
-
itemCount?: number | null | undefined;
|
|
1552
1535
|
userId?: string | number | null | undefined;
|
|
1536
|
+
itemCount?: number | null | undefined;
|
|
1537
|
+
parentId?: unknown;
|
|
1553
1538
|
} | null | undefined;
|
|
1554
1539
|
}[] | null | undefined;
|
|
1555
1540
|
files?: {
|
|
@@ -1558,59 +1543,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1558
1543
|
index?: number | null | undefined;
|
|
1559
1544
|
file?: {
|
|
1560
1545
|
path: string;
|
|
1546
|
+
userId: string | number;
|
|
1561
1547
|
id: string;
|
|
1562
1548
|
createdAt: Date;
|
|
1563
|
-
userId: string | number;
|
|
1564
1549
|
signedUrl: string;
|
|
1565
1550
|
} | null | undefined;
|
|
1566
1551
|
}[] | null | undefined;
|
|
1567
|
-
platforms?: {
|
|
1568
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1569
|
-
id: string;
|
|
1570
|
-
createdAt: Date;
|
|
1571
|
-
updatedAt: Date;
|
|
1572
|
-
accountId: string;
|
|
1573
|
-
itemId: string | number;
|
|
1574
|
-
platformId: string;
|
|
1575
|
-
platformUrl: string;
|
|
1576
|
-
platformPrice: number;
|
|
1577
|
-
publishedAt: Date;
|
|
1578
|
-
favoritesCount?: number | null | undefined;
|
|
1579
|
-
viewsCount?: number | null | undefined;
|
|
1580
|
-
conversationId?: string | null | undefined;
|
|
1581
|
-
account?: {
|
|
1582
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1583
|
-
userId: string | number;
|
|
1584
|
-
name: string;
|
|
1585
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1586
|
-
accountId: string;
|
|
1587
|
-
locale?: string | null | undefined;
|
|
1588
|
-
night?: {
|
|
1589
|
-
startsAt: Date;
|
|
1590
|
-
endsAt: Date;
|
|
1591
|
-
} | null | undefined;
|
|
1592
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
1593
|
-
ordersMaxDelay?: number | null | undefined;
|
|
1594
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
1595
|
-
} | null | undefined;
|
|
1596
|
-
}[] | null | undefined;
|
|
1597
1552
|
fields?: {
|
|
1598
1553
|
value: string;
|
|
1599
1554
|
itemId: string | number;
|
|
1600
1555
|
fieldId: string | number;
|
|
1601
1556
|
}[] | null | undefined;
|
|
1602
1557
|
sku?: string | null | undefined;
|
|
1558
|
+
categoryId?: number | null | undefined;
|
|
1559
|
+
brandId?: string | number | null | undefined;
|
|
1603
1560
|
sex?: string | null | undefined;
|
|
1604
1561
|
purchasePrice?: number | null | undefined;
|
|
1562
|
+
purchaseDate?: Date | null | undefined;
|
|
1605
1563
|
purchasePlaceId?: string | number | null | undefined;
|
|
1606
1564
|
purchased?: boolean | null | undefined;
|
|
1607
1565
|
sellingPrice?: number | null | undefined;
|
|
1566
|
+
sellingDate?: Date | null | undefined;
|
|
1608
1567
|
sellingPlaceId?: string | number | null | undefined;
|
|
1568
|
+
estimatedPrice?: number | null | undefined;
|
|
1569
|
+
fees?: {
|
|
1570
|
+
value: number;
|
|
1571
|
+
type: string;
|
|
1572
|
+
userId: string | number;
|
|
1573
|
+
id: string | number;
|
|
1574
|
+
updatedAt: Date;
|
|
1575
|
+
name: string;
|
|
1576
|
+
createdAt: Date;
|
|
1577
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1578
|
+
startDate: Date;
|
|
1579
|
+
active: boolean;
|
|
1580
|
+
description?: string | null | undefined;
|
|
1581
|
+
itemId?: string | number | null | undefined;
|
|
1582
|
+
endDate?: Date | null | undefined;
|
|
1583
|
+
parentFeeId?: string | number | null | undefined;
|
|
1584
|
+
}[] | null | undefined;
|
|
1609
1585
|
feesSum?: number | null | undefined;
|
|
1610
1586
|
customerId?: string | number | null | undefined;
|
|
1611
1587
|
customer?: {
|
|
1612
|
-
id: string | number;
|
|
1613
1588
|
userId: string | number;
|
|
1589
|
+
id: string | number;
|
|
1614
1590
|
email: string;
|
|
1615
1591
|
firstName: string;
|
|
1616
1592
|
lastName: string;
|
|
@@ -1631,7 +1607,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1631
1607
|
id: string;
|
|
1632
1608
|
createdAt: Date;
|
|
1633
1609
|
itemId: string | number;
|
|
1634
|
-
requestId?: string | null | undefined;
|
|
1635
1610
|
data?: {
|
|
1636
1611
|
type: "ACTION_CANCELED";
|
|
1637
1612
|
data: {
|
|
@@ -1660,7 +1635,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1660
1635
|
accountId?: string | null | undefined;
|
|
1661
1636
|
reason?: string | null | undefined;
|
|
1662
1637
|
fields?: {
|
|
1663
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1638
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1664
1639
|
autoFixable: boolean;
|
|
1665
1640
|
error?: string | null | undefined;
|
|
1666
1641
|
}[] | null | undefined;
|
|
@@ -1687,22 +1662,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1687
1662
|
platformId: string;
|
|
1688
1663
|
post: {
|
|
1689
1664
|
status?: string | null | undefined;
|
|
1690
|
-
title?: string | null | undefined;
|
|
1691
|
-
description?: string | null | undefined;
|
|
1692
|
-
brand?: string | null | undefined;
|
|
1693
|
-
statusId?: number | null | undefined;
|
|
1694
|
-
sizeId?: number | null | undefined;
|
|
1695
|
-
colorIds?: number[] | null | undefined;
|
|
1696
|
-
packageSizeId?: number | null | undefined;
|
|
1697
1665
|
price?: number | null | undefined;
|
|
1698
1666
|
currency?: string | null | undefined;
|
|
1667
|
+
brand?: string | null | undefined;
|
|
1699
1668
|
catalog?: string | null | undefined;
|
|
1700
1669
|
catalogId?: number | null | undefined;
|
|
1701
1670
|
colors?: string[] | null | undefined;
|
|
1671
|
+
colorIds?: number[] | null | undefined;
|
|
1672
|
+
description?: string | null | undefined;
|
|
1702
1673
|
measurementLength?: number | null | undefined;
|
|
1703
1674
|
measurementWidth?: number | null | undefined;
|
|
1675
|
+
packageSizeId?: number | null | undefined;
|
|
1704
1676
|
photoUrls?: string[] | null | undefined;
|
|
1705
1677
|
size?: string | null | undefined;
|
|
1678
|
+
sizeId?: number | null | undefined;
|
|
1679
|
+
statusId?: number | null | undefined;
|
|
1680
|
+
title?: string | null | undefined;
|
|
1706
1681
|
isDraft?: boolean | null | undefined;
|
|
1707
1682
|
isArchived?: boolean | null | undefined;
|
|
1708
1683
|
availableQuantity?: number | null | undefined;
|
|
@@ -1722,13 +1697,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1722
1697
|
} | {
|
|
1723
1698
|
type: "LIFECYCLE_STARTED";
|
|
1724
1699
|
data: {
|
|
1725
|
-
caseId: string;
|
|
1726
1700
|
accountId: string;
|
|
1701
|
+
caseId: string;
|
|
1727
1702
|
};
|
|
1728
1703
|
} | {
|
|
1729
1704
|
type: "REPUBLISHING";
|
|
1730
1705
|
data: {
|
|
1731
1706
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1707
|
+
publishingDate?: Date | null | undefined;
|
|
1732
1708
|
priceDropPayload?: {
|
|
1733
1709
|
value: number;
|
|
1734
1710
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1736,18 +1712,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1736
1712
|
roundStep?: number | null | undefined;
|
|
1737
1713
|
maxRounds?: number | null | undefined;
|
|
1738
1714
|
} | null | undefined;
|
|
1739
|
-
publishingDate?: Date | null | undefined;
|
|
1740
|
-
targetAccountId?: string | null | undefined;
|
|
1741
1715
|
isTransfer?: boolean | null | undefined;
|
|
1716
|
+
targetAccountId?: string | null | undefined;
|
|
1742
1717
|
};
|
|
1743
1718
|
} | {
|
|
1744
1719
|
type: "REPUBLISHING_RETRY";
|
|
1745
1720
|
data: {
|
|
1746
|
-
maxAttempts: number;
|
|
1747
1721
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1748
1722
|
attemptNumber: number;
|
|
1723
|
+
maxAttempts: number;
|
|
1749
1724
|
previousHistoryId: string;
|
|
1750
1725
|
originalFailureDate: Date;
|
|
1726
|
+
fields?: {
|
|
1727
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1728
|
+
autoFixable: boolean;
|
|
1729
|
+
error?: string | null | undefined;
|
|
1730
|
+
}[] | null | undefined;
|
|
1751
1731
|
priceDropPayload?: {
|
|
1752
1732
|
value: number;
|
|
1753
1733
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1755,11 +1735,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1755
1735
|
roundStep?: number | null | undefined;
|
|
1756
1736
|
maxRounds?: number | null | undefined;
|
|
1757
1737
|
} | null | undefined;
|
|
1758
|
-
fields?: {
|
|
1759
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1760
|
-
autoFixable: boolean;
|
|
1761
|
-
error?: string | null | undefined;
|
|
1762
|
-
}[] | null | undefined;
|
|
1763
1738
|
};
|
|
1764
1739
|
} | {
|
|
1765
1740
|
type: "SCHEDULED";
|
|
@@ -1770,64 +1745,75 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1770
1745
|
} | {
|
|
1771
1746
|
type: "SCHEDULED_RETRY";
|
|
1772
1747
|
data: {
|
|
1773
|
-
maxAttempts: number;
|
|
1774
1748
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1775
1749
|
attemptNumber: number;
|
|
1750
|
+
maxAttempts: number;
|
|
1776
1751
|
previousHistoryId: string;
|
|
1777
1752
|
originalFailureDate: Date;
|
|
1778
1753
|
fields?: {
|
|
1779
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1754
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1780
1755
|
autoFixable: boolean;
|
|
1781
1756
|
error?: string | null | undefined;
|
|
1782
1757
|
}[] | null | undefined;
|
|
1783
1758
|
};
|
|
1784
1759
|
} | null | undefined;
|
|
1785
1760
|
accountId?: string | null | undefined;
|
|
1761
|
+
requestId?: string | null | undefined;
|
|
1786
1762
|
targetDate?: Date | null | undefined;
|
|
1787
1763
|
} | null | undefined;
|
|
1764
|
+
platforms?: {
|
|
1765
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1766
|
+
id: string;
|
|
1767
|
+
updatedAt: Date;
|
|
1768
|
+
createdAt: Date;
|
|
1769
|
+
accountId: string;
|
|
1770
|
+
itemId: string | number;
|
|
1771
|
+
platformId: string;
|
|
1772
|
+
platformUrl: string;
|
|
1773
|
+
platformPrice: number;
|
|
1774
|
+
publishedAt: Date;
|
|
1775
|
+
conversationId?: string | null | undefined;
|
|
1776
|
+
account?: {
|
|
1777
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1778
|
+
userId: string | number;
|
|
1779
|
+
name: string;
|
|
1780
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1781
|
+
accountId: string;
|
|
1782
|
+
locale?: string | null | undefined;
|
|
1783
|
+
night?: {
|
|
1784
|
+
startsAt: Date;
|
|
1785
|
+
endsAt: Date;
|
|
1786
|
+
} | null | undefined;
|
|
1787
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
1788
|
+
ordersMaxDelay?: number | null | undefined;
|
|
1789
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
1790
|
+
} | null | undefined;
|
|
1791
|
+
viewsCount?: number | null | undefined;
|
|
1792
|
+
favoritesCount?: number | null | undefined;
|
|
1793
|
+
}[] | null | undefined;
|
|
1788
1794
|
}, {
|
|
1795
|
+
userId: string | number;
|
|
1789
1796
|
id: string | number;
|
|
1790
|
-
createdAt: Date;
|
|
1791
1797
|
updatedAt: Date;
|
|
1792
|
-
userId: string | number;
|
|
1793
1798
|
name: string;
|
|
1799
|
+
createdAt: Date;
|
|
1794
1800
|
sold: boolean;
|
|
1795
1801
|
state?: number | null | undefined;
|
|
1796
|
-
fees?: {
|
|
1797
|
-
value: number;
|
|
1798
|
-
type: string;
|
|
1799
|
-
id: string | number;
|
|
1800
|
-
createdAt: Date;
|
|
1801
|
-
updatedAt: Date;
|
|
1802
|
-
userId: string | number;
|
|
1803
|
-
name: string;
|
|
1804
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1805
|
-
startDate: Date;
|
|
1806
|
-
active: boolean;
|
|
1807
|
-
description?: string | null | undefined;
|
|
1808
|
-
itemId?: string | number | null | undefined;
|
|
1809
|
-
endDate?: Date | null | undefined;
|
|
1810
|
-
parentFeeId?: string | number | null | undefined;
|
|
1811
|
-
}[] | null | undefined;
|
|
1812
|
-
description?: string | null | undefined;
|
|
1813
|
-
categoryId?: number | null | undefined;
|
|
1814
|
-
sizeId?: number | null | undefined;
|
|
1815
1802
|
colorIds?: number[] | null | undefined;
|
|
1803
|
+
description?: string | null | undefined;
|
|
1816
1804
|
packageSizeId?: number | null | undefined;
|
|
1817
|
-
|
|
1818
|
-
estimatedPrice?: number | null | undefined;
|
|
1819
|
-
purchaseDate?: Date | null | undefined;
|
|
1820
|
-
sellingDate?: Date | null | undefined;
|
|
1805
|
+
sizeId?: number | null | undefined;
|
|
1821
1806
|
labels?: {
|
|
1822
1807
|
itemId: string | number;
|
|
1823
1808
|
labelId: string | number;
|
|
1824
1809
|
label?: {
|
|
1825
1810
|
id: string | number;
|
|
1826
|
-
createdAt: Date;
|
|
1827
1811
|
name: string;
|
|
1812
|
+
createdAt: Date;
|
|
1828
1813
|
isUserLabel: boolean;
|
|
1829
|
-
itemCount?: number | null | undefined;
|
|
1830
1814
|
userId?: string | number | null | undefined;
|
|
1815
|
+
itemCount?: number | null | undefined;
|
|
1816
|
+
parentId?: unknown;
|
|
1831
1817
|
} | null | undefined;
|
|
1832
1818
|
}[] | null | undefined;
|
|
1833
1819
|
files?: {
|
|
@@ -1836,59 +1822,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1836
1822
|
index?: number | null | undefined;
|
|
1837
1823
|
file?: {
|
|
1838
1824
|
path: string;
|
|
1825
|
+
userId: string | number;
|
|
1839
1826
|
id: string;
|
|
1840
1827
|
createdAt: Date;
|
|
1841
|
-
userId: string | number;
|
|
1842
1828
|
signedUrl: string;
|
|
1843
1829
|
} | null | undefined;
|
|
1844
1830
|
}[] | null | undefined;
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
id: string;
|
|
1848
|
-
createdAt: Date;
|
|
1849
|
-
updatedAt: Date;
|
|
1850
|
-
accountId: string;
|
|
1851
|
-
itemId: string | number;
|
|
1852
|
-
platformId: string;
|
|
1853
|
-
platformUrl: string;
|
|
1854
|
-
platformPrice: number;
|
|
1855
|
-
publishedAt: Date;
|
|
1856
|
-
favoritesCount?: number | null | undefined;
|
|
1857
|
-
viewsCount?: number | null | undefined;
|
|
1858
|
-
conversationId?: string | null | undefined;
|
|
1859
|
-
account?: {
|
|
1860
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1861
|
-
userId: string | number;
|
|
1862
|
-
name: string;
|
|
1863
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1864
|
-
accountId: string;
|
|
1865
|
-
locale?: string | null | undefined;
|
|
1866
|
-
night?: {
|
|
1867
|
-
startsAt: Date;
|
|
1868
|
-
endsAt: Date;
|
|
1869
|
-
} | null | undefined;
|
|
1870
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
1871
|
-
ordersMaxDelay?: number | null | undefined;
|
|
1872
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
1873
|
-
} | null | undefined;
|
|
1874
|
-
}[] | null | undefined;
|
|
1875
|
-
fields?: {
|
|
1876
|
-
value: string;
|
|
1831
|
+
fields?: {
|
|
1832
|
+
value: string;
|
|
1877
1833
|
itemId: string | number;
|
|
1878
1834
|
fieldId: string | number;
|
|
1879
1835
|
}[] | null | undefined;
|
|
1880
1836
|
sku?: string | null | undefined;
|
|
1837
|
+
categoryId?: number | null | undefined;
|
|
1838
|
+
brandId?: string | number | null | undefined;
|
|
1881
1839
|
sex?: string | null | undefined;
|
|
1882
1840
|
purchasePrice?: number | null | undefined;
|
|
1841
|
+
purchaseDate?: Date | null | undefined;
|
|
1883
1842
|
purchasePlaceId?: string | number | null | undefined;
|
|
1884
1843
|
purchased?: boolean | null | undefined;
|
|
1885
1844
|
sellingPrice?: number | null | undefined;
|
|
1845
|
+
sellingDate?: Date | null | undefined;
|
|
1886
1846
|
sellingPlaceId?: string | number | null | undefined;
|
|
1847
|
+
estimatedPrice?: number | null | undefined;
|
|
1848
|
+
fees?: {
|
|
1849
|
+
value: number;
|
|
1850
|
+
type: string;
|
|
1851
|
+
userId: string | number;
|
|
1852
|
+
id: string | number;
|
|
1853
|
+
updatedAt: Date;
|
|
1854
|
+
name: string;
|
|
1855
|
+
createdAt: Date;
|
|
1856
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1857
|
+
startDate: Date;
|
|
1858
|
+
active: boolean;
|
|
1859
|
+
description?: string | null | undefined;
|
|
1860
|
+
itemId?: string | number | null | undefined;
|
|
1861
|
+
endDate?: Date | null | undefined;
|
|
1862
|
+
parentFeeId?: string | number | null | undefined;
|
|
1863
|
+
}[] | null | undefined;
|
|
1887
1864
|
feesSum?: number | null | undefined;
|
|
1888
1865
|
customerId?: string | number | null | undefined;
|
|
1889
1866
|
customer?: {
|
|
1890
|
-
id: string | number;
|
|
1891
1867
|
userId: string | number;
|
|
1868
|
+
id: string | number;
|
|
1892
1869
|
email: string;
|
|
1893
1870
|
firstName: string;
|
|
1894
1871
|
lastName: string;
|
|
@@ -1909,7 +1886,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1909
1886
|
id: string;
|
|
1910
1887
|
createdAt: Date;
|
|
1911
1888
|
itemId: string | number;
|
|
1912
|
-
requestId?: string | null | undefined;
|
|
1913
1889
|
data?: {
|
|
1914
1890
|
type: "ACTION_CANCELED";
|
|
1915
1891
|
data: {
|
|
@@ -1938,7 +1914,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1938
1914
|
accountId?: string | null | undefined;
|
|
1939
1915
|
reason?: string | null | undefined;
|
|
1940
1916
|
fields?: {
|
|
1941
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1917
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1942
1918
|
autoFixable: boolean;
|
|
1943
1919
|
error?: string | null | undefined;
|
|
1944
1920
|
}[] | null | undefined;
|
|
@@ -1965,22 +1941,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
1965
1941
|
platformId: string;
|
|
1966
1942
|
post: {
|
|
1967
1943
|
status?: string | null | undefined;
|
|
1968
|
-
title?: string | null | undefined;
|
|
1969
|
-
description?: string | null | undefined;
|
|
1970
|
-
brand?: string | null | undefined;
|
|
1971
|
-
statusId?: number | null | undefined;
|
|
1972
|
-
sizeId?: number | null | undefined;
|
|
1973
|
-
colorIds?: number[] | null | undefined;
|
|
1974
|
-
packageSizeId?: number | null | undefined;
|
|
1975
1944
|
price?: number | null | undefined;
|
|
1976
1945
|
currency?: string | null | undefined;
|
|
1946
|
+
brand?: string | null | undefined;
|
|
1977
1947
|
catalog?: string | null | undefined;
|
|
1978
1948
|
catalogId?: number | null | undefined;
|
|
1979
1949
|
colors?: string[] | null | undefined;
|
|
1950
|
+
colorIds?: number[] | null | undefined;
|
|
1951
|
+
description?: string | null | undefined;
|
|
1980
1952
|
measurementLength?: number | null | undefined;
|
|
1981
1953
|
measurementWidth?: number | null | undefined;
|
|
1954
|
+
packageSizeId?: number | null | undefined;
|
|
1982
1955
|
photoUrls?: string[] | null | undefined;
|
|
1983
1956
|
size?: string | null | undefined;
|
|
1957
|
+
sizeId?: number | null | undefined;
|
|
1958
|
+
statusId?: number | null | undefined;
|
|
1959
|
+
title?: string | null | undefined;
|
|
1984
1960
|
isDraft?: boolean | null | undefined;
|
|
1985
1961
|
isArchived?: boolean | null | undefined;
|
|
1986
1962
|
availableQuantity?: number | null | undefined;
|
|
@@ -2000,13 +1976,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2000
1976
|
} | {
|
|
2001
1977
|
type: "LIFECYCLE_STARTED";
|
|
2002
1978
|
data: {
|
|
2003
|
-
caseId: string;
|
|
2004
1979
|
accountId: string;
|
|
1980
|
+
caseId: string;
|
|
2005
1981
|
};
|
|
2006
1982
|
} | {
|
|
2007
1983
|
type: "REPUBLISHING";
|
|
2008
1984
|
data: {
|
|
2009
1985
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1986
|
+
publishingDate?: Date | null | undefined;
|
|
2010
1987
|
priceDropPayload?: {
|
|
2011
1988
|
value: number;
|
|
2012
1989
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2014,18 +1991,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2014
1991
|
roundStep?: number | null | undefined;
|
|
2015
1992
|
maxRounds?: number | null | undefined;
|
|
2016
1993
|
} | null | undefined;
|
|
2017
|
-
publishingDate?: Date | null | undefined;
|
|
2018
|
-
targetAccountId?: string | null | undefined;
|
|
2019
1994
|
isTransfer?: boolean | null | undefined;
|
|
1995
|
+
targetAccountId?: string | null | undefined;
|
|
2020
1996
|
};
|
|
2021
1997
|
} | {
|
|
2022
1998
|
type: "REPUBLISHING_RETRY";
|
|
2023
1999
|
data: {
|
|
2024
|
-
maxAttempts: number;
|
|
2025
2000
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2026
2001
|
attemptNumber: number;
|
|
2002
|
+
maxAttempts: number;
|
|
2027
2003
|
previousHistoryId: string;
|
|
2028
2004
|
originalFailureDate: Date;
|
|
2005
|
+
fields?: {
|
|
2006
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2007
|
+
autoFixable: boolean;
|
|
2008
|
+
error?: string | null | undefined;
|
|
2009
|
+
}[] | null | undefined;
|
|
2029
2010
|
priceDropPayload?: {
|
|
2030
2011
|
value: number;
|
|
2031
2012
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2033,11 +2014,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2033
2014
|
roundStep?: number | null | undefined;
|
|
2034
2015
|
maxRounds?: number | null | undefined;
|
|
2035
2016
|
} | null | undefined;
|
|
2036
|
-
fields?: {
|
|
2037
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2038
|
-
autoFixable: boolean;
|
|
2039
|
-
error?: string | null | undefined;
|
|
2040
|
-
}[] | null | undefined;
|
|
2041
2017
|
};
|
|
2042
2018
|
} | {
|
|
2043
2019
|
type: "SCHEDULED";
|
|
@@ -2048,68 +2024,79 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2048
2024
|
} | {
|
|
2049
2025
|
type: "SCHEDULED_RETRY";
|
|
2050
2026
|
data: {
|
|
2051
|
-
maxAttempts: number;
|
|
2052
2027
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2053
2028
|
attemptNumber: number;
|
|
2029
|
+
maxAttempts: number;
|
|
2054
2030
|
previousHistoryId: string;
|
|
2055
2031
|
originalFailureDate: Date;
|
|
2056
2032
|
fields?: {
|
|
2057
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2033
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2058
2034
|
autoFixable: boolean;
|
|
2059
2035
|
error?: string | null | undefined;
|
|
2060
2036
|
}[] | null | undefined;
|
|
2061
2037
|
};
|
|
2062
2038
|
} | null | undefined;
|
|
2063
2039
|
accountId?: string | null | undefined;
|
|
2040
|
+
requestId?: string | null | undefined;
|
|
2064
2041
|
targetDate?: Date | null | undefined;
|
|
2065
2042
|
} | null | undefined;
|
|
2043
|
+
platforms?: {
|
|
2044
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2045
|
+
id: string;
|
|
2046
|
+
updatedAt: Date;
|
|
2047
|
+
createdAt: Date;
|
|
2048
|
+
accountId: string;
|
|
2049
|
+
itemId: string | number;
|
|
2050
|
+
platformId: string;
|
|
2051
|
+
platformUrl: string;
|
|
2052
|
+
platformPrice: number;
|
|
2053
|
+
publishedAt: Date;
|
|
2054
|
+
conversationId?: string | null | undefined;
|
|
2055
|
+
account?: {
|
|
2056
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2057
|
+
userId: string | number;
|
|
2058
|
+
name: string;
|
|
2059
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2060
|
+
accountId: string;
|
|
2061
|
+
locale?: string | null | undefined;
|
|
2062
|
+
night?: {
|
|
2063
|
+
startsAt: Date;
|
|
2064
|
+
endsAt: Date;
|
|
2065
|
+
} | null | undefined;
|
|
2066
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2067
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2068
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2069
|
+
} | null | undefined;
|
|
2070
|
+
viewsCount?: number | null | undefined;
|
|
2071
|
+
favoritesCount?: number | null | undefined;
|
|
2072
|
+
}[] | null | undefined;
|
|
2066
2073
|
}>;
|
|
2067
2074
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2068
2075
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2076
|
userId: string | number;
|
|
2070
2077
|
item: {
|
|
2078
|
+
userId: string | number;
|
|
2071
2079
|
id: string | number;
|
|
2072
|
-
createdAt: Date;
|
|
2073
2080
|
updatedAt: Date;
|
|
2074
|
-
userId: string | number;
|
|
2075
2081
|
name: string;
|
|
2082
|
+
createdAt: Date;
|
|
2076
2083
|
sold: boolean;
|
|
2077
2084
|
state?: number | null | undefined;
|
|
2078
|
-
fees?: {
|
|
2079
|
-
value: number;
|
|
2080
|
-
type: string;
|
|
2081
|
-
id: string | number;
|
|
2082
|
-
createdAt: Date;
|
|
2083
|
-
updatedAt: Date;
|
|
2084
|
-
userId: string | number;
|
|
2085
|
-
name: string;
|
|
2086
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2087
|
-
startDate: Date;
|
|
2088
|
-
active: boolean;
|
|
2089
|
-
description?: string | null | undefined;
|
|
2090
|
-
itemId?: string | number | null | undefined;
|
|
2091
|
-
endDate?: Date | null | undefined;
|
|
2092
|
-
parentFeeId?: string | number | null | undefined;
|
|
2093
|
-
}[] | null | undefined;
|
|
2094
|
-
description?: string | null | undefined;
|
|
2095
|
-
categoryId?: number | null | undefined;
|
|
2096
|
-
sizeId?: number | null | undefined;
|
|
2097
2085
|
colorIds?: number[] | null | undefined;
|
|
2086
|
+
description?: string | null | undefined;
|
|
2098
2087
|
packageSizeId?: number | null | undefined;
|
|
2099
|
-
|
|
2100
|
-
estimatedPrice?: number | null | undefined;
|
|
2101
|
-
purchaseDate?: Date | null | undefined;
|
|
2102
|
-
sellingDate?: Date | null | undefined;
|
|
2088
|
+
sizeId?: number | null | undefined;
|
|
2103
2089
|
labels?: {
|
|
2104
2090
|
itemId: string | number;
|
|
2105
2091
|
labelId: string | number;
|
|
2106
2092
|
label?: {
|
|
2107
2093
|
id: string | number;
|
|
2108
|
-
createdAt: Date;
|
|
2109
2094
|
name: string;
|
|
2095
|
+
createdAt: Date;
|
|
2110
2096
|
isUserLabel: boolean;
|
|
2111
|
-
itemCount?: number | null | undefined;
|
|
2112
2097
|
userId?: string | number | null | undefined;
|
|
2098
|
+
itemCount?: number | null | undefined;
|
|
2099
|
+
parentId?: unknown;
|
|
2113
2100
|
} | null | undefined;
|
|
2114
2101
|
}[] | null | undefined;
|
|
2115
2102
|
files?: {
|
|
@@ -2118,59 +2105,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2118
2105
|
index?: number | null | undefined;
|
|
2119
2106
|
file?: {
|
|
2120
2107
|
path: string;
|
|
2108
|
+
userId: string | number;
|
|
2121
2109
|
id: string;
|
|
2122
2110
|
createdAt: Date;
|
|
2123
|
-
userId: string | number;
|
|
2124
2111
|
signedUrl: string;
|
|
2125
2112
|
} | null | undefined;
|
|
2126
2113
|
}[] | null | undefined;
|
|
2127
|
-
platforms?: {
|
|
2128
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2129
|
-
id: string;
|
|
2130
|
-
createdAt: Date;
|
|
2131
|
-
updatedAt: Date;
|
|
2132
|
-
accountId: string;
|
|
2133
|
-
itemId: string | number;
|
|
2134
|
-
platformId: string;
|
|
2135
|
-
platformUrl: string;
|
|
2136
|
-
platformPrice: number;
|
|
2137
|
-
publishedAt: Date;
|
|
2138
|
-
favoritesCount?: number | null | undefined;
|
|
2139
|
-
viewsCount?: number | null | undefined;
|
|
2140
|
-
conversationId?: string | null | undefined;
|
|
2141
|
-
account?: {
|
|
2142
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2143
|
-
userId: string | number;
|
|
2144
|
-
name: string;
|
|
2145
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2146
|
-
accountId: string;
|
|
2147
|
-
locale?: string | null | undefined;
|
|
2148
|
-
night?: {
|
|
2149
|
-
startsAt: Date;
|
|
2150
|
-
endsAt: Date;
|
|
2151
|
-
} | null | undefined;
|
|
2152
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2153
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2154
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2155
|
-
} | null | undefined;
|
|
2156
|
-
}[] | null | undefined;
|
|
2157
2114
|
fields?: {
|
|
2158
2115
|
value: string;
|
|
2159
2116
|
itemId: string | number;
|
|
2160
2117
|
fieldId: string | number;
|
|
2161
2118
|
}[] | null | undefined;
|
|
2162
2119
|
sku?: string | null | undefined;
|
|
2120
|
+
categoryId?: number | null | undefined;
|
|
2121
|
+
brandId?: string | number | null | undefined;
|
|
2163
2122
|
sex?: string | null | undefined;
|
|
2164
2123
|
purchasePrice?: number | null | undefined;
|
|
2124
|
+
purchaseDate?: Date | null | undefined;
|
|
2165
2125
|
purchasePlaceId?: string | number | null | undefined;
|
|
2166
2126
|
purchased?: boolean | null | undefined;
|
|
2167
2127
|
sellingPrice?: number | null | undefined;
|
|
2128
|
+
sellingDate?: Date | null | undefined;
|
|
2168
2129
|
sellingPlaceId?: string | number | null | undefined;
|
|
2130
|
+
estimatedPrice?: number | null | undefined;
|
|
2131
|
+
fees?: {
|
|
2132
|
+
value: number;
|
|
2133
|
+
type: string;
|
|
2134
|
+
userId: string | number;
|
|
2135
|
+
id: string | number;
|
|
2136
|
+
updatedAt: Date;
|
|
2137
|
+
name: string;
|
|
2138
|
+
createdAt: Date;
|
|
2139
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2140
|
+
startDate: Date;
|
|
2141
|
+
active: boolean;
|
|
2142
|
+
description?: string | null | undefined;
|
|
2143
|
+
itemId?: string | number | null | undefined;
|
|
2144
|
+
endDate?: Date | null | undefined;
|
|
2145
|
+
parentFeeId?: string | number | null | undefined;
|
|
2146
|
+
}[] | null | undefined;
|
|
2169
2147
|
feesSum?: number | null | undefined;
|
|
2170
2148
|
customerId?: string | number | null | undefined;
|
|
2171
2149
|
customer?: {
|
|
2172
|
-
id: string | number;
|
|
2173
2150
|
userId: string | number;
|
|
2151
|
+
id: string | number;
|
|
2174
2152
|
email: string;
|
|
2175
2153
|
firstName: string;
|
|
2176
2154
|
lastName: string;
|
|
@@ -2191,7 +2169,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2191
2169
|
id: string;
|
|
2192
2170
|
createdAt: Date;
|
|
2193
2171
|
itemId: string | number;
|
|
2194
|
-
requestId?: string | null | undefined;
|
|
2195
2172
|
data?: {
|
|
2196
2173
|
type: "ACTION_CANCELED";
|
|
2197
2174
|
data: {
|
|
@@ -2220,7 +2197,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2220
2197
|
accountId?: string | null | undefined;
|
|
2221
2198
|
reason?: string | null | undefined;
|
|
2222
2199
|
fields?: {
|
|
2223
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2200
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2224
2201
|
autoFixable: boolean;
|
|
2225
2202
|
error?: string | null | undefined;
|
|
2226
2203
|
}[] | null | undefined;
|
|
@@ -2247,22 +2224,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2247
2224
|
platformId: string;
|
|
2248
2225
|
post: {
|
|
2249
2226
|
status?: string | null | undefined;
|
|
2250
|
-
title?: string | null | undefined;
|
|
2251
|
-
description?: string | null | undefined;
|
|
2252
|
-
brand?: string | null | undefined;
|
|
2253
|
-
statusId?: number | null | undefined;
|
|
2254
|
-
sizeId?: number | null | undefined;
|
|
2255
|
-
colorIds?: number[] | null | undefined;
|
|
2256
|
-
packageSizeId?: number | null | undefined;
|
|
2257
2227
|
price?: number | null | undefined;
|
|
2258
2228
|
currency?: string | null | undefined;
|
|
2229
|
+
brand?: string | null | undefined;
|
|
2259
2230
|
catalog?: string | null | undefined;
|
|
2260
2231
|
catalogId?: number | null | undefined;
|
|
2261
2232
|
colors?: string[] | null | undefined;
|
|
2233
|
+
colorIds?: number[] | null | undefined;
|
|
2234
|
+
description?: string | null | undefined;
|
|
2262
2235
|
measurementLength?: number | null | undefined;
|
|
2263
2236
|
measurementWidth?: number | null | undefined;
|
|
2237
|
+
packageSizeId?: number | null | undefined;
|
|
2264
2238
|
photoUrls?: string[] | null | undefined;
|
|
2265
2239
|
size?: string | null | undefined;
|
|
2240
|
+
sizeId?: number | null | undefined;
|
|
2241
|
+
statusId?: number | null | undefined;
|
|
2242
|
+
title?: string | null | undefined;
|
|
2266
2243
|
isDraft?: boolean | null | undefined;
|
|
2267
2244
|
isArchived?: boolean | null | undefined;
|
|
2268
2245
|
availableQuantity?: number | null | undefined;
|
|
@@ -2282,13 +2259,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2282
2259
|
} | {
|
|
2283
2260
|
type: "LIFECYCLE_STARTED";
|
|
2284
2261
|
data: {
|
|
2285
|
-
caseId: string;
|
|
2286
2262
|
accountId: string;
|
|
2263
|
+
caseId: string;
|
|
2287
2264
|
};
|
|
2288
2265
|
} | {
|
|
2289
2266
|
type: "REPUBLISHING";
|
|
2290
2267
|
data: {
|
|
2291
2268
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2269
|
+
publishingDate?: Date | null | undefined;
|
|
2292
2270
|
priceDropPayload?: {
|
|
2293
2271
|
value: number;
|
|
2294
2272
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2296,18 +2274,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2296
2274
|
roundStep?: number | null | undefined;
|
|
2297
2275
|
maxRounds?: number | null | undefined;
|
|
2298
2276
|
} | null | undefined;
|
|
2299
|
-
publishingDate?: Date | null | undefined;
|
|
2300
|
-
targetAccountId?: string | null | undefined;
|
|
2301
2277
|
isTransfer?: boolean | null | undefined;
|
|
2278
|
+
targetAccountId?: string | null | undefined;
|
|
2302
2279
|
};
|
|
2303
2280
|
} | {
|
|
2304
2281
|
type: "REPUBLISHING_RETRY";
|
|
2305
2282
|
data: {
|
|
2306
|
-
maxAttempts: number;
|
|
2307
2283
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2308
2284
|
attemptNumber: number;
|
|
2285
|
+
maxAttempts: number;
|
|
2309
2286
|
previousHistoryId: string;
|
|
2310
2287
|
originalFailureDate: Date;
|
|
2288
|
+
fields?: {
|
|
2289
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2290
|
+
autoFixable: boolean;
|
|
2291
|
+
error?: string | null | undefined;
|
|
2292
|
+
}[] | null | undefined;
|
|
2311
2293
|
priceDropPayload?: {
|
|
2312
2294
|
value: number;
|
|
2313
2295
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2315,11 +2297,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2315
2297
|
roundStep?: number | null | undefined;
|
|
2316
2298
|
maxRounds?: number | null | undefined;
|
|
2317
2299
|
} | null | undefined;
|
|
2318
|
-
fields?: {
|
|
2319
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2320
|
-
autoFixable: boolean;
|
|
2321
|
-
error?: string | null | undefined;
|
|
2322
|
-
}[] | null | undefined;
|
|
2323
2300
|
};
|
|
2324
2301
|
} | {
|
|
2325
2302
|
type: "SCHEDULED";
|
|
@@ -2330,68 +2307,79 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2330
2307
|
} | {
|
|
2331
2308
|
type: "SCHEDULED_RETRY";
|
|
2332
2309
|
data: {
|
|
2333
|
-
maxAttempts: number;
|
|
2334
2310
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2335
2311
|
attemptNumber: number;
|
|
2312
|
+
maxAttempts: number;
|
|
2336
2313
|
previousHistoryId: string;
|
|
2337
2314
|
originalFailureDate: Date;
|
|
2338
2315
|
fields?: {
|
|
2339
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2316
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2340
2317
|
autoFixable: boolean;
|
|
2341
2318
|
error?: string | null | undefined;
|
|
2342
2319
|
}[] | null | undefined;
|
|
2343
2320
|
};
|
|
2344
2321
|
} | null | undefined;
|
|
2345
2322
|
accountId?: string | null | undefined;
|
|
2323
|
+
requestId?: string | null | undefined;
|
|
2346
2324
|
targetDate?: Date | null | undefined;
|
|
2347
2325
|
} | null | undefined;
|
|
2326
|
+
platforms?: {
|
|
2327
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2328
|
+
id: string;
|
|
2329
|
+
updatedAt: Date;
|
|
2330
|
+
createdAt: Date;
|
|
2331
|
+
accountId: string;
|
|
2332
|
+
itemId: string | number;
|
|
2333
|
+
platformId: string;
|
|
2334
|
+
platformUrl: string;
|
|
2335
|
+
platformPrice: number;
|
|
2336
|
+
publishedAt: Date;
|
|
2337
|
+
conversationId?: string | null | undefined;
|
|
2338
|
+
account?: {
|
|
2339
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2340
|
+
userId: string | number;
|
|
2341
|
+
name: string;
|
|
2342
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2343
|
+
accountId: string;
|
|
2344
|
+
locale?: string | null | undefined;
|
|
2345
|
+
night?: {
|
|
2346
|
+
startsAt: Date;
|
|
2347
|
+
endsAt: Date;
|
|
2348
|
+
} | null | undefined;
|
|
2349
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2350
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2351
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2352
|
+
} | null | undefined;
|
|
2353
|
+
viewsCount?: number | null | undefined;
|
|
2354
|
+
favoritesCount?: number | null | undefined;
|
|
2355
|
+
}[] | null | undefined;
|
|
2348
2356
|
};
|
|
2349
2357
|
deleted?: boolean | null | undefined;
|
|
2350
2358
|
}, {
|
|
2351
2359
|
userId: string | number;
|
|
2352
2360
|
item: {
|
|
2361
|
+
userId: string | number;
|
|
2353
2362
|
id: string | number;
|
|
2354
|
-
createdAt: Date;
|
|
2355
2363
|
updatedAt: Date;
|
|
2356
|
-
userId: string | number;
|
|
2357
2364
|
name: string;
|
|
2365
|
+
createdAt: Date;
|
|
2358
2366
|
sold: boolean;
|
|
2359
2367
|
state?: number | null | undefined;
|
|
2360
|
-
fees?: {
|
|
2361
|
-
value: number;
|
|
2362
|
-
type: string;
|
|
2363
|
-
id: string | number;
|
|
2364
|
-
createdAt: Date;
|
|
2365
|
-
updatedAt: Date;
|
|
2366
|
-
userId: string | number;
|
|
2367
|
-
name: string;
|
|
2368
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2369
|
-
startDate: Date;
|
|
2370
|
-
active: boolean;
|
|
2371
|
-
description?: string | null | undefined;
|
|
2372
|
-
itemId?: string | number | null | undefined;
|
|
2373
|
-
endDate?: Date | null | undefined;
|
|
2374
|
-
parentFeeId?: string | number | null | undefined;
|
|
2375
|
-
}[] | null | undefined;
|
|
2376
|
-
description?: string | null | undefined;
|
|
2377
|
-
categoryId?: number | null | undefined;
|
|
2378
|
-
sizeId?: number | null | undefined;
|
|
2379
2368
|
colorIds?: number[] | null | undefined;
|
|
2369
|
+
description?: string | null | undefined;
|
|
2380
2370
|
packageSizeId?: number | null | undefined;
|
|
2381
|
-
|
|
2382
|
-
estimatedPrice?: number | null | undefined;
|
|
2383
|
-
purchaseDate?: Date | null | undefined;
|
|
2384
|
-
sellingDate?: Date | null | undefined;
|
|
2371
|
+
sizeId?: number | null | undefined;
|
|
2385
2372
|
labels?: {
|
|
2386
2373
|
itemId: string | number;
|
|
2387
2374
|
labelId: string | number;
|
|
2388
2375
|
label?: {
|
|
2389
2376
|
id: string | number;
|
|
2390
|
-
createdAt: Date;
|
|
2391
2377
|
name: string;
|
|
2378
|
+
createdAt: Date;
|
|
2392
2379
|
isUserLabel: boolean;
|
|
2393
|
-
itemCount?: number | null | undefined;
|
|
2394
2380
|
userId?: string | number | null | undefined;
|
|
2381
|
+
itemCount?: number | null | undefined;
|
|
2382
|
+
parentId?: unknown;
|
|
2395
2383
|
} | null | undefined;
|
|
2396
2384
|
}[] | null | undefined;
|
|
2397
2385
|
files?: {
|
|
@@ -2400,59 +2388,50 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2400
2388
|
index?: number | null | undefined;
|
|
2401
2389
|
file?: {
|
|
2402
2390
|
path: string;
|
|
2391
|
+
userId: string | number;
|
|
2403
2392
|
id: string;
|
|
2404
2393
|
createdAt: Date;
|
|
2405
|
-
userId: string | number;
|
|
2406
2394
|
signedUrl: string;
|
|
2407
2395
|
} | null | undefined;
|
|
2408
2396
|
}[] | null | undefined;
|
|
2409
|
-
platforms?: {
|
|
2410
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2411
|
-
id: string;
|
|
2412
|
-
createdAt: Date;
|
|
2413
|
-
updatedAt: Date;
|
|
2414
|
-
accountId: string;
|
|
2415
|
-
itemId: string | number;
|
|
2416
|
-
platformId: string;
|
|
2417
|
-
platformUrl: string;
|
|
2418
|
-
platformPrice: number;
|
|
2419
|
-
publishedAt: Date;
|
|
2420
|
-
favoritesCount?: number | null | undefined;
|
|
2421
|
-
viewsCount?: number | null | undefined;
|
|
2422
|
-
conversationId?: string | null | undefined;
|
|
2423
|
-
account?: {
|
|
2424
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2425
|
-
userId: string | number;
|
|
2426
|
-
name: string;
|
|
2427
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2428
|
-
accountId: string;
|
|
2429
|
-
locale?: string | null | undefined;
|
|
2430
|
-
night?: {
|
|
2431
|
-
startsAt: Date;
|
|
2432
|
-
endsAt: Date;
|
|
2433
|
-
} | null | undefined;
|
|
2434
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2435
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2436
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2437
|
-
} | null | undefined;
|
|
2438
|
-
}[] | null | undefined;
|
|
2439
2397
|
fields?: {
|
|
2440
2398
|
value: string;
|
|
2441
2399
|
itemId: string | number;
|
|
2442
2400
|
fieldId: string | number;
|
|
2443
2401
|
}[] | null | undefined;
|
|
2444
2402
|
sku?: string | null | undefined;
|
|
2403
|
+
categoryId?: number | null | undefined;
|
|
2404
|
+
brandId?: string | number | null | undefined;
|
|
2445
2405
|
sex?: string | null | undefined;
|
|
2446
2406
|
purchasePrice?: number | null | undefined;
|
|
2407
|
+
purchaseDate?: Date | null | undefined;
|
|
2447
2408
|
purchasePlaceId?: string | number | null | undefined;
|
|
2448
2409
|
purchased?: boolean | null | undefined;
|
|
2449
2410
|
sellingPrice?: number | null | undefined;
|
|
2411
|
+
sellingDate?: Date | null | undefined;
|
|
2450
2412
|
sellingPlaceId?: string | number | null | undefined;
|
|
2413
|
+
estimatedPrice?: number | null | undefined;
|
|
2414
|
+
fees?: {
|
|
2415
|
+
value: number;
|
|
2416
|
+
type: string;
|
|
2417
|
+
userId: string | number;
|
|
2418
|
+
id: string | number;
|
|
2419
|
+
updatedAt: Date;
|
|
2420
|
+
name: string;
|
|
2421
|
+
createdAt: Date;
|
|
2422
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2423
|
+
startDate: Date;
|
|
2424
|
+
active: boolean;
|
|
2425
|
+
description?: string | null | undefined;
|
|
2426
|
+
itemId?: string | number | null | undefined;
|
|
2427
|
+
endDate?: Date | null | undefined;
|
|
2428
|
+
parentFeeId?: string | number | null | undefined;
|
|
2429
|
+
}[] | null | undefined;
|
|
2451
2430
|
feesSum?: number | null | undefined;
|
|
2452
2431
|
customerId?: string | number | null | undefined;
|
|
2453
2432
|
customer?: {
|
|
2454
|
-
id: string | number;
|
|
2455
2433
|
userId: string | number;
|
|
2434
|
+
id: string | number;
|
|
2456
2435
|
email: string;
|
|
2457
2436
|
firstName: string;
|
|
2458
2437
|
lastName: string;
|
|
@@ -2473,7 +2452,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2473
2452
|
id: string;
|
|
2474
2453
|
createdAt: Date;
|
|
2475
2454
|
itemId: string | number;
|
|
2476
|
-
requestId?: string | null | undefined;
|
|
2477
2455
|
data?: {
|
|
2478
2456
|
type: "ACTION_CANCELED";
|
|
2479
2457
|
data: {
|
|
@@ -2502,7 +2480,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2502
2480
|
accountId?: string | null | undefined;
|
|
2503
2481
|
reason?: string | null | undefined;
|
|
2504
2482
|
fields?: {
|
|
2505
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2483
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2506
2484
|
autoFixable: boolean;
|
|
2507
2485
|
error?: string | null | undefined;
|
|
2508
2486
|
}[] | null | undefined;
|
|
@@ -2529,22 +2507,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2529
2507
|
platformId: string;
|
|
2530
2508
|
post: {
|
|
2531
2509
|
status?: string | null | undefined;
|
|
2532
|
-
title?: string | null | undefined;
|
|
2533
|
-
description?: string | null | undefined;
|
|
2534
|
-
brand?: string | null | undefined;
|
|
2535
|
-
statusId?: number | null | undefined;
|
|
2536
|
-
sizeId?: number | null | undefined;
|
|
2537
|
-
colorIds?: number[] | null | undefined;
|
|
2538
|
-
packageSizeId?: number | null | undefined;
|
|
2539
2510
|
price?: number | null | undefined;
|
|
2540
2511
|
currency?: string | null | undefined;
|
|
2512
|
+
brand?: string | null | undefined;
|
|
2541
2513
|
catalog?: string | null | undefined;
|
|
2542
2514
|
catalogId?: number | null | undefined;
|
|
2543
2515
|
colors?: string[] | null | undefined;
|
|
2516
|
+
colorIds?: number[] | null | undefined;
|
|
2517
|
+
description?: string | null | undefined;
|
|
2544
2518
|
measurementLength?: number | null | undefined;
|
|
2545
2519
|
measurementWidth?: number | null | undefined;
|
|
2520
|
+
packageSizeId?: number | null | undefined;
|
|
2546
2521
|
photoUrls?: string[] | null | undefined;
|
|
2547
2522
|
size?: string | null | undefined;
|
|
2523
|
+
sizeId?: number | null | undefined;
|
|
2524
|
+
statusId?: number | null | undefined;
|
|
2525
|
+
title?: string | null | undefined;
|
|
2548
2526
|
isDraft?: boolean | null | undefined;
|
|
2549
2527
|
isArchived?: boolean | null | undefined;
|
|
2550
2528
|
availableQuantity?: number | null | undefined;
|
|
@@ -2564,13 +2542,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2564
2542
|
} | {
|
|
2565
2543
|
type: "LIFECYCLE_STARTED";
|
|
2566
2544
|
data: {
|
|
2567
|
-
caseId: string;
|
|
2568
2545
|
accountId: string;
|
|
2546
|
+
caseId: string;
|
|
2569
2547
|
};
|
|
2570
2548
|
} | {
|
|
2571
2549
|
type: "REPUBLISHING";
|
|
2572
2550
|
data: {
|
|
2573
2551
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2552
|
+
publishingDate?: Date | null | undefined;
|
|
2574
2553
|
priceDropPayload?: {
|
|
2575
2554
|
value: number;
|
|
2576
2555
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2578,18 +2557,22 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2578
2557
|
roundStep?: number | null | undefined;
|
|
2579
2558
|
maxRounds?: number | null | undefined;
|
|
2580
2559
|
} | null | undefined;
|
|
2581
|
-
publishingDate?: Date | null | undefined;
|
|
2582
|
-
targetAccountId?: string | null | undefined;
|
|
2583
2560
|
isTransfer?: boolean | null | undefined;
|
|
2561
|
+
targetAccountId?: string | null | undefined;
|
|
2584
2562
|
};
|
|
2585
2563
|
} | {
|
|
2586
2564
|
type: "REPUBLISHING_RETRY";
|
|
2587
2565
|
data: {
|
|
2588
|
-
maxAttempts: number;
|
|
2589
2566
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2590
2567
|
attemptNumber: number;
|
|
2568
|
+
maxAttempts: number;
|
|
2591
2569
|
previousHistoryId: string;
|
|
2592
2570
|
originalFailureDate: Date;
|
|
2571
|
+
fields?: {
|
|
2572
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2573
|
+
autoFixable: boolean;
|
|
2574
|
+
error?: string | null | undefined;
|
|
2575
|
+
}[] | null | undefined;
|
|
2593
2576
|
priceDropPayload?: {
|
|
2594
2577
|
value: number;
|
|
2595
2578
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2597,11 +2580,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2597
2580
|
roundStep?: number | null | undefined;
|
|
2598
2581
|
maxRounds?: number | null | undefined;
|
|
2599
2582
|
} | null | undefined;
|
|
2600
|
-
fields?: {
|
|
2601
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2602
|
-
autoFixable: boolean;
|
|
2603
|
-
error?: string | null | undefined;
|
|
2604
|
-
}[] | null | undefined;
|
|
2605
2583
|
};
|
|
2606
2584
|
} | {
|
|
2607
2585
|
type: "SCHEDULED";
|
|
@@ -2612,21 +2590,52 @@ export declare const ItemUpdateSchema: z.ZodObject<{
|
|
|
2612
2590
|
} | {
|
|
2613
2591
|
type: "SCHEDULED_RETRY";
|
|
2614
2592
|
data: {
|
|
2615
|
-
maxAttempts: number;
|
|
2616
2593
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2617
2594
|
attemptNumber: number;
|
|
2595
|
+
maxAttempts: number;
|
|
2618
2596
|
previousHistoryId: string;
|
|
2619
2597
|
originalFailureDate: Date;
|
|
2620
2598
|
fields?: {
|
|
2621
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2599
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2622
2600
|
autoFixable: boolean;
|
|
2623
2601
|
error?: string | null | undefined;
|
|
2624
2602
|
}[] | null | undefined;
|
|
2625
2603
|
};
|
|
2626
2604
|
} | null | undefined;
|
|
2627
2605
|
accountId?: string | null | undefined;
|
|
2606
|
+
requestId?: string | null | undefined;
|
|
2628
2607
|
targetDate?: Date | null | undefined;
|
|
2629
2608
|
} | null | undefined;
|
|
2609
|
+
platforms?: {
|
|
2610
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2611
|
+
id: string;
|
|
2612
|
+
updatedAt: Date;
|
|
2613
|
+
createdAt: Date;
|
|
2614
|
+
accountId: string;
|
|
2615
|
+
itemId: string | number;
|
|
2616
|
+
platformId: string;
|
|
2617
|
+
platformUrl: string;
|
|
2618
|
+
platformPrice: number;
|
|
2619
|
+
publishedAt: Date;
|
|
2620
|
+
conversationId?: string | null | undefined;
|
|
2621
|
+
account?: {
|
|
2622
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2623
|
+
userId: string | number;
|
|
2624
|
+
name: string;
|
|
2625
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2626
|
+
accountId: string;
|
|
2627
|
+
locale?: string | null | undefined;
|
|
2628
|
+
night?: {
|
|
2629
|
+
startsAt: Date;
|
|
2630
|
+
endsAt: Date;
|
|
2631
|
+
} | null | undefined;
|
|
2632
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2633
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2634
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2635
|
+
} | null | undefined;
|
|
2636
|
+
viewsCount?: number | null | undefined;
|
|
2637
|
+
favoritesCount?: number | null | undefined;
|
|
2638
|
+
}[] | null | undefined;
|
|
2630
2639
|
};
|
|
2631
2640
|
deleted?: boolean | null | undefined;
|
|
2632
2641
|
}>;
|