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
|
@@ -82,16 +82,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
84
84
|
id: string;
|
|
85
|
-
createdAt: Date;
|
|
86
85
|
updatedAt: Date;
|
|
86
|
+
createdAt: Date;
|
|
87
87
|
accountId: string;
|
|
88
88
|
itemId: string | number;
|
|
89
89
|
platformId: string;
|
|
90
90
|
platformUrl: string;
|
|
91
91
|
platformPrice: number;
|
|
92
92
|
publishedAt: Date;
|
|
93
|
-
favoritesCount?: number | null | undefined;
|
|
94
|
-
viewsCount?: number | null | undefined;
|
|
95
93
|
conversationId?: string | null | undefined;
|
|
96
94
|
account?: {
|
|
97
95
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -108,19 +106,19 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
108
106
|
ordersMaxDelay?: number | null | undefined;
|
|
109
107
|
conversationsMaxDelay?: number | null | undefined;
|
|
110
108
|
} | null | undefined;
|
|
109
|
+
viewsCount?: number | null | undefined;
|
|
110
|
+
favoritesCount?: number | null | undefined;
|
|
111
111
|
}, {
|
|
112
112
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
113
113
|
id: string;
|
|
114
|
-
createdAt: Date;
|
|
115
114
|
updatedAt: Date;
|
|
115
|
+
createdAt: Date;
|
|
116
116
|
accountId: string;
|
|
117
117
|
itemId: string | number;
|
|
118
118
|
platformId: string;
|
|
119
119
|
platformUrl: string;
|
|
120
120
|
platformPrice: number;
|
|
121
121
|
publishedAt: Date;
|
|
122
|
-
favoritesCount?: number | null | undefined;
|
|
123
|
-
viewsCount?: number | null | undefined;
|
|
124
122
|
conversationId?: string | null | undefined;
|
|
125
123
|
account?: {
|
|
126
124
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -137,6 +135,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
137
135
|
ordersMaxDelay?: number | null | undefined;
|
|
138
136
|
conversationsMaxDelay?: number | null | undefined;
|
|
139
137
|
} | null | undefined;
|
|
138
|
+
viewsCount?: number | null | undefined;
|
|
139
|
+
favoritesCount?: number | null | undefined;
|
|
140
140
|
}>>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
orderId: string;
|
|
@@ -144,16 +144,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
144
144
|
itemOnPlatform?: {
|
|
145
145
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
146
146
|
id: string;
|
|
147
|
-
createdAt: Date;
|
|
148
147
|
updatedAt: Date;
|
|
148
|
+
createdAt: Date;
|
|
149
149
|
accountId: string;
|
|
150
150
|
itemId: string | number;
|
|
151
151
|
platformId: string;
|
|
152
152
|
platformUrl: string;
|
|
153
153
|
platformPrice: number;
|
|
154
154
|
publishedAt: Date;
|
|
155
|
-
favoritesCount?: number | null | undefined;
|
|
156
|
-
viewsCount?: number | null | undefined;
|
|
157
155
|
conversationId?: string | null | undefined;
|
|
158
156
|
account?: {
|
|
159
157
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -170,6 +168,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
170
168
|
ordersMaxDelay?: number | null | undefined;
|
|
171
169
|
conversationsMaxDelay?: number | null | undefined;
|
|
172
170
|
} | null | undefined;
|
|
171
|
+
viewsCount?: number | null | undefined;
|
|
172
|
+
favoritesCount?: number | null | undefined;
|
|
173
173
|
} | null | undefined;
|
|
174
174
|
}, {
|
|
175
175
|
orderId: string;
|
|
@@ -177,16 +177,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
177
177
|
itemOnPlatform?: {
|
|
178
178
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
179
179
|
id: string;
|
|
180
|
-
createdAt: Date;
|
|
181
180
|
updatedAt: Date;
|
|
181
|
+
createdAt: Date;
|
|
182
182
|
accountId: string;
|
|
183
183
|
itemId: string | number;
|
|
184
184
|
platformId: string;
|
|
185
185
|
platformUrl: string;
|
|
186
186
|
platformPrice: number;
|
|
187
187
|
publishedAt: Date;
|
|
188
|
-
favoritesCount?: number | null | undefined;
|
|
189
|
-
viewsCount?: number | null | undefined;
|
|
190
188
|
conversationId?: string | null | undefined;
|
|
191
189
|
account?: {
|
|
192
190
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -203,6 +201,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
203
201
|
ordersMaxDelay?: number | null | undefined;
|
|
204
202
|
conversationsMaxDelay?: number | null | undefined;
|
|
205
203
|
} | null | undefined;
|
|
204
|
+
viewsCount?: number | null | undefined;
|
|
205
|
+
favoritesCount?: number | null | undefined;
|
|
206
206
|
} | null | undefined;
|
|
207
207
|
}>, "many">>>;
|
|
208
208
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -219,15 +219,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
219
219
|
createdAt: z.ZodDate;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
path: string;
|
|
222
|
+
userId: string | number;
|
|
222
223
|
id: string;
|
|
223
224
|
createdAt: Date;
|
|
224
|
-
userId: string | number;
|
|
225
225
|
signedUrl: string;
|
|
226
226
|
}, {
|
|
227
227
|
path: string;
|
|
228
|
+
userId: string | number;
|
|
228
229
|
id: string;
|
|
229
230
|
createdAt: Date;
|
|
230
|
-
userId: string | number;
|
|
231
231
|
signedUrl: string;
|
|
232
232
|
}>>>;
|
|
233
233
|
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -238,15 +238,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
238
238
|
createdAt: z.ZodDate;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
path: string;
|
|
241
|
+
userId: string | number;
|
|
241
242
|
id: string;
|
|
242
243
|
createdAt: Date;
|
|
243
|
-
userId: string | number;
|
|
244
244
|
signedUrl: string;
|
|
245
245
|
}, {
|
|
246
246
|
path: string;
|
|
247
|
+
userId: string | number;
|
|
247
248
|
id: string;
|
|
248
249
|
createdAt: Date;
|
|
249
|
-
userId: string | number;
|
|
250
250
|
signedUrl: string;
|
|
251
251
|
}>>>;
|
|
252
252
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -257,15 +257,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
257
257
|
createdAt: z.ZodDate;
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
259
|
path: string;
|
|
260
|
+
userId: string | number;
|
|
260
261
|
id: string;
|
|
261
262
|
createdAt: Date;
|
|
262
|
-
userId: string | number;
|
|
263
263
|
signedUrl: string;
|
|
264
264
|
}, {
|
|
265
265
|
path: string;
|
|
266
|
+
userId: string | number;
|
|
266
267
|
id: string;
|
|
267
268
|
createdAt: Date;
|
|
268
|
-
userId: string | number;
|
|
269
269
|
signedUrl: string;
|
|
270
270
|
}>>>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -276,23 +276,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
276
276
|
originalFileId: string;
|
|
277
277
|
file?: {
|
|
278
278
|
path: string;
|
|
279
|
+
userId: string | number;
|
|
279
280
|
id: string;
|
|
280
281
|
createdAt: Date;
|
|
281
|
-
userId: string | number;
|
|
282
282
|
signedUrl: string;
|
|
283
283
|
} | null | undefined;
|
|
284
284
|
originalFile?: {
|
|
285
285
|
path: string;
|
|
286
|
+
userId: string | number;
|
|
286
287
|
id: string;
|
|
287
288
|
createdAt: Date;
|
|
288
|
-
userId: string | number;
|
|
289
289
|
signedUrl: string;
|
|
290
290
|
} | null | undefined;
|
|
291
291
|
nonCroppedFile?: {
|
|
292
292
|
path: string;
|
|
293
|
+
userId: string | number;
|
|
293
294
|
id: string;
|
|
294
295
|
createdAt: Date;
|
|
295
|
-
userId: string | number;
|
|
296
296
|
signedUrl: string;
|
|
297
297
|
} | null | undefined;
|
|
298
298
|
}, {
|
|
@@ -303,23 +303,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
303
303
|
originalFileId: string;
|
|
304
304
|
file?: {
|
|
305
305
|
path: string;
|
|
306
|
+
userId: string | number;
|
|
306
307
|
id: string;
|
|
307
308
|
createdAt: Date;
|
|
308
|
-
userId: string | number;
|
|
309
309
|
signedUrl: string;
|
|
310
310
|
} | null | undefined;
|
|
311
311
|
originalFile?: {
|
|
312
312
|
path: string;
|
|
313
|
+
userId: string | number;
|
|
313
314
|
id: string;
|
|
314
315
|
createdAt: Date;
|
|
315
|
-
userId: string | number;
|
|
316
316
|
signedUrl: string;
|
|
317
317
|
} | null | undefined;
|
|
318
318
|
nonCroppedFile?: {
|
|
319
319
|
path: string;
|
|
320
|
+
userId: string | number;
|
|
320
321
|
id: string;
|
|
321
322
|
createdAt: Date;
|
|
322
|
-
userId: string | number;
|
|
323
323
|
signedUrl: string;
|
|
324
324
|
} | null | undefined;
|
|
325
325
|
}>, "many">>>;
|
|
@@ -414,46 +414,12 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
414
414
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
415
415
|
date: Date;
|
|
416
416
|
id: string;
|
|
417
|
-
accountId: string;
|
|
418
417
|
price: number;
|
|
418
|
+
accountId: string;
|
|
419
419
|
isPrepared: boolean;
|
|
420
420
|
platformOrderId: string;
|
|
421
|
-
items?: {
|
|
422
|
-
orderId: string;
|
|
423
|
-
itemOnPlatformId: string;
|
|
424
|
-
itemOnPlatform?: {
|
|
425
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
426
|
-
id: string;
|
|
427
|
-
createdAt: Date;
|
|
428
|
-
updatedAt: Date;
|
|
429
|
-
accountId: string;
|
|
430
|
-
itemId: string | number;
|
|
431
|
-
platformId: string;
|
|
432
|
-
platformUrl: string;
|
|
433
|
-
platformPrice: number;
|
|
434
|
-
publishedAt: Date;
|
|
435
|
-
favoritesCount?: number | null | undefined;
|
|
436
|
-
viewsCount?: number | null | undefined;
|
|
437
|
-
conversationId?: string | null | undefined;
|
|
438
|
-
account?: {
|
|
439
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
440
|
-
userId: string | number;
|
|
441
|
-
name: string;
|
|
442
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
443
|
-
accountId: string;
|
|
444
|
-
locale?: string | null | undefined;
|
|
445
|
-
night?: {
|
|
446
|
-
startsAt: Date;
|
|
447
|
-
endsAt: Date;
|
|
448
|
-
} | null | undefined;
|
|
449
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
450
|
-
ordersMaxDelay?: number | null | undefined;
|
|
451
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
452
|
-
} | null | undefined;
|
|
453
|
-
} | null | undefined;
|
|
454
|
-
}[] | null | undefined;
|
|
455
|
-
conversationId?: string | null | undefined;
|
|
456
421
|
transactionId?: string | null | undefined;
|
|
422
|
+
conversationId?: string | null | undefined;
|
|
457
423
|
labels?: {
|
|
458
424
|
id: string;
|
|
459
425
|
orderId: string;
|
|
@@ -462,23 +428,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
462
428
|
originalFileId: string;
|
|
463
429
|
file?: {
|
|
464
430
|
path: string;
|
|
431
|
+
userId: string | number;
|
|
465
432
|
id: string;
|
|
466
433
|
createdAt: Date;
|
|
467
|
-
userId: string | number;
|
|
468
434
|
signedUrl: string;
|
|
469
435
|
} | null | undefined;
|
|
470
436
|
originalFile?: {
|
|
471
437
|
path: string;
|
|
438
|
+
userId: string | number;
|
|
472
439
|
id: string;
|
|
473
440
|
createdAt: Date;
|
|
474
|
-
userId: string | number;
|
|
475
441
|
signedUrl: string;
|
|
476
442
|
} | null | undefined;
|
|
477
443
|
nonCroppedFile?: {
|
|
478
444
|
path: string;
|
|
445
|
+
userId: string | number;
|
|
479
446
|
id: string;
|
|
480
447
|
createdAt: Date;
|
|
481
|
-
userId: string | number;
|
|
482
448
|
signedUrl: string;
|
|
483
449
|
} | null | undefined;
|
|
484
450
|
}[] | null | undefined;
|
|
@@ -503,31 +469,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
503
469
|
longitude?: number | null | undefined;
|
|
504
470
|
} | null | undefined;
|
|
505
471
|
}[] | null | undefined;
|
|
506
|
-
}, {
|
|
507
|
-
type: "SALE" | "PURCHASE";
|
|
508
|
-
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
-
date: Date;
|
|
510
|
-
id: string;
|
|
511
|
-
accountId: string;
|
|
512
|
-
price: number;
|
|
513
|
-
isPrepared: boolean;
|
|
514
|
-
platformOrderId: string;
|
|
515
472
|
items?: {
|
|
516
473
|
orderId: string;
|
|
517
474
|
itemOnPlatformId: string;
|
|
518
475
|
itemOnPlatform?: {
|
|
519
476
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
520
477
|
id: string;
|
|
521
|
-
createdAt: Date;
|
|
522
478
|
updatedAt: Date;
|
|
479
|
+
createdAt: Date;
|
|
523
480
|
accountId: string;
|
|
524
481
|
itemId: string | number;
|
|
525
482
|
platformId: string;
|
|
526
483
|
platformUrl: string;
|
|
527
484
|
platformPrice: number;
|
|
528
485
|
publishedAt: Date;
|
|
529
|
-
favoritesCount?: number | null | undefined;
|
|
530
|
-
viewsCount?: number | null | undefined;
|
|
531
486
|
conversationId?: string | null | undefined;
|
|
532
487
|
account?: {
|
|
533
488
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -544,10 +499,21 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
544
499
|
ordersMaxDelay?: number | null | undefined;
|
|
545
500
|
conversationsMaxDelay?: number | null | undefined;
|
|
546
501
|
} | null | undefined;
|
|
502
|
+
viewsCount?: number | null | undefined;
|
|
503
|
+
favoritesCount?: number | null | undefined;
|
|
547
504
|
} | null | undefined;
|
|
548
505
|
}[] | null | undefined;
|
|
549
|
-
|
|
506
|
+
}, {
|
|
507
|
+
type: "SALE" | "PURCHASE";
|
|
508
|
+
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
509
|
+
date: Date;
|
|
510
|
+
id: string;
|
|
511
|
+
price: number;
|
|
512
|
+
accountId: string;
|
|
513
|
+
isPrepared: boolean;
|
|
514
|
+
platformOrderId: string;
|
|
550
515
|
transactionId?: string | null | undefined;
|
|
516
|
+
conversationId?: string | null | undefined;
|
|
551
517
|
labels?: {
|
|
552
518
|
id: string;
|
|
553
519
|
orderId: string;
|
|
@@ -556,23 +522,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
556
522
|
originalFileId: string;
|
|
557
523
|
file?: {
|
|
558
524
|
path: string;
|
|
525
|
+
userId: string | number;
|
|
559
526
|
id: string;
|
|
560
527
|
createdAt: Date;
|
|
561
|
-
userId: string | number;
|
|
562
528
|
signedUrl: string;
|
|
563
529
|
} | null | undefined;
|
|
564
530
|
originalFile?: {
|
|
565
531
|
path: string;
|
|
532
|
+
userId: string | number;
|
|
566
533
|
id: string;
|
|
567
534
|
createdAt: Date;
|
|
568
|
-
userId: string | number;
|
|
569
535
|
signedUrl: string;
|
|
570
536
|
} | null | undefined;
|
|
571
537
|
nonCroppedFile?: {
|
|
572
538
|
path: string;
|
|
539
|
+
userId: string | number;
|
|
573
540
|
id: string;
|
|
574
541
|
createdAt: Date;
|
|
575
|
-
userId: string | number;
|
|
576
542
|
signedUrl: string;
|
|
577
543
|
} | null | undefined;
|
|
578
544
|
}[] | null | undefined;
|
|
@@ -597,6 +563,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
597
563
|
longitude?: number | null | undefined;
|
|
598
564
|
} | null | undefined;
|
|
599
565
|
}[] | null | undefined;
|
|
566
|
+
items?: {
|
|
567
|
+
orderId: string;
|
|
568
|
+
itemOnPlatformId: string;
|
|
569
|
+
itemOnPlatform?: {
|
|
570
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
571
|
+
id: string;
|
|
572
|
+
updatedAt: Date;
|
|
573
|
+
createdAt: Date;
|
|
574
|
+
accountId: string;
|
|
575
|
+
itemId: string | number;
|
|
576
|
+
platformId: string;
|
|
577
|
+
platformUrl: string;
|
|
578
|
+
platformPrice: number;
|
|
579
|
+
publishedAt: Date;
|
|
580
|
+
conversationId?: string | null | undefined;
|
|
581
|
+
account?: {
|
|
582
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
583
|
+
userId: string | number;
|
|
584
|
+
name: string;
|
|
585
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
586
|
+
accountId: string;
|
|
587
|
+
locale?: string | null | undefined;
|
|
588
|
+
night?: {
|
|
589
|
+
startsAt: Date;
|
|
590
|
+
endsAt: Date;
|
|
591
|
+
} | null | undefined;
|
|
592
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
593
|
+
ordersMaxDelay?: number | null | undefined;
|
|
594
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
595
|
+
} | null | undefined;
|
|
596
|
+
viewsCount?: number | null | undefined;
|
|
597
|
+
favoritesCount?: number | null | undefined;
|
|
598
|
+
} | null | undefined;
|
|
599
|
+
}[] | null | undefined;
|
|
600
600
|
}>;
|
|
601
601
|
items: z.ZodArray<z.ZodObject<{
|
|
602
602
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -616,15 +616,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
616
616
|
createdAt: z.ZodDate;
|
|
617
617
|
}, "strip", z.ZodTypeAny, {
|
|
618
618
|
path: string;
|
|
619
|
+
userId: string | number;
|
|
619
620
|
id: string;
|
|
620
621
|
createdAt: Date;
|
|
621
|
-
userId: string | number;
|
|
622
622
|
signedUrl: string;
|
|
623
623
|
}, {
|
|
624
624
|
path: string;
|
|
625
|
+
userId: string | number;
|
|
625
626
|
id: string;
|
|
626
627
|
createdAt: Date;
|
|
627
|
-
userId: string | number;
|
|
628
628
|
signedUrl: string;
|
|
629
629
|
}>>>;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -633,9 +633,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
633
633
|
index?: number | null | undefined;
|
|
634
634
|
file?: {
|
|
635
635
|
path: string;
|
|
636
|
+
userId: string | number;
|
|
636
637
|
id: string;
|
|
637
638
|
createdAt: Date;
|
|
638
|
-
userId: string | number;
|
|
639
639
|
signedUrl: string;
|
|
640
640
|
} | null | undefined;
|
|
641
641
|
}, {
|
|
@@ -644,9 +644,9 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
644
644
|
index?: number | null | undefined;
|
|
645
645
|
file?: {
|
|
646
646
|
path: string;
|
|
647
|
+
userId: string | number;
|
|
647
648
|
id: string;
|
|
648
649
|
createdAt: Date;
|
|
649
|
-
userId: string | number;
|
|
650
650
|
signedUrl: string;
|
|
651
651
|
} | null | undefined;
|
|
652
652
|
}>, "many">>>;
|
|
@@ -682,11 +682,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
683
|
value: number;
|
|
684
684
|
type: string;
|
|
685
|
+
userId: string | number;
|
|
685
686
|
id: string | number;
|
|
686
|
-
createdAt: Date;
|
|
687
687
|
updatedAt: Date;
|
|
688
|
-
userId: string | number;
|
|
689
688
|
name: string;
|
|
689
|
+
createdAt: Date;
|
|
690
690
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
691
691
|
startDate: Date;
|
|
692
692
|
active: boolean;
|
|
@@ -697,11 +697,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
697
697
|
}, {
|
|
698
698
|
value: number;
|
|
699
699
|
type: string;
|
|
700
|
+
userId: string | number;
|
|
700
701
|
id: string | number;
|
|
701
|
-
createdAt: Date;
|
|
702
702
|
updatedAt: Date;
|
|
703
|
-
userId: string | number;
|
|
704
703
|
name: string;
|
|
704
|
+
createdAt: Date;
|
|
705
705
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
706
706
|
startDate: Date;
|
|
707
707
|
active: boolean;
|
|
@@ -721,42 +721,47 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
721
721
|
isUserLabel: z.ZodBoolean;
|
|
722
722
|
createdAt: z.ZodDate;
|
|
723
723
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
724
|
+
parentId: z.ZodUnknown;
|
|
724
725
|
}, "strip", z.ZodTypeAny, {
|
|
725
726
|
id: string | number;
|
|
726
|
-
createdAt: Date;
|
|
727
727
|
name: string;
|
|
728
|
+
createdAt: Date;
|
|
728
729
|
isUserLabel: boolean;
|
|
729
|
-
itemCount?: number | null | undefined;
|
|
730
730
|
userId?: string | number | null | undefined;
|
|
731
|
+
itemCount?: number | null | undefined;
|
|
732
|
+
parentId?: unknown;
|
|
731
733
|
}, {
|
|
732
734
|
id: string | number;
|
|
733
|
-
createdAt: Date;
|
|
734
735
|
name: string;
|
|
736
|
+
createdAt: Date;
|
|
735
737
|
isUserLabel: boolean;
|
|
736
|
-
itemCount?: number | null | undefined;
|
|
737
738
|
userId?: string | number | null | undefined;
|
|
739
|
+
itemCount?: number | null | undefined;
|
|
740
|
+
parentId?: unknown;
|
|
738
741
|
}>>>;
|
|
739
742
|
}, "strip", z.ZodTypeAny, {
|
|
740
743
|
itemId: string | number;
|
|
741
744
|
labelId: string | number;
|
|
742
745
|
label?: {
|
|
743
746
|
id: string | number;
|
|
744
|
-
createdAt: Date;
|
|
745
747
|
name: string;
|
|
748
|
+
createdAt: Date;
|
|
746
749
|
isUserLabel: boolean;
|
|
747
|
-
itemCount?: number | null | undefined;
|
|
748
750
|
userId?: string | number | null | undefined;
|
|
751
|
+
itemCount?: number | null | undefined;
|
|
752
|
+
parentId?: unknown;
|
|
749
753
|
} | null | undefined;
|
|
750
754
|
}, {
|
|
751
755
|
itemId: string | number;
|
|
752
756
|
labelId: string | number;
|
|
753
757
|
label?: {
|
|
754
758
|
id: string | number;
|
|
755
|
-
createdAt: Date;
|
|
756
759
|
name: string;
|
|
760
|
+
createdAt: Date;
|
|
757
761
|
isUserLabel: boolean;
|
|
758
|
-
itemCount?: number | null | undefined;
|
|
759
762
|
userId?: string | number | null | undefined;
|
|
763
|
+
itemCount?: number | null | undefined;
|
|
764
|
+
parentId?: unknown;
|
|
760
765
|
} | null | undefined;
|
|
761
766
|
}>, "many">>>;
|
|
762
767
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -775,8 +780,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
775
780
|
bic: z.ZodString;
|
|
776
781
|
phoneVerified: z.ZodBoolean;
|
|
777
782
|
}, "strip", z.ZodTypeAny, {
|
|
778
|
-
id: string | number;
|
|
779
783
|
userId: string | number;
|
|
784
|
+
id: string | number;
|
|
780
785
|
email: string;
|
|
781
786
|
firstName: string;
|
|
782
787
|
lastName: string;
|
|
@@ -787,8 +792,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
787
792
|
bic: string;
|
|
788
793
|
phoneVerified: boolean;
|
|
789
794
|
}, {
|
|
790
|
-
id: string | number;
|
|
791
795
|
userId: string | number;
|
|
796
|
+
id: string | number;
|
|
792
797
|
email: string;
|
|
793
798
|
firstName: string;
|
|
794
799
|
lastName: string;
|
|
@@ -914,11 +919,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
914
919
|
autoFixable: z.ZodBoolean;
|
|
915
920
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
921
|
}, "strip", z.ZodTypeAny, {
|
|
917
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
922
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
918
923
|
autoFixable: boolean;
|
|
919
924
|
error?: string | null | undefined;
|
|
920
925
|
}, {
|
|
921
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
926
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
922
927
|
autoFixable: boolean;
|
|
923
928
|
error?: string | null | undefined;
|
|
924
929
|
}>, "many">>>;
|
|
@@ -928,7 +933,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
928
933
|
accountId?: string | null | undefined;
|
|
929
934
|
reason?: string | null | undefined;
|
|
930
935
|
fields?: {
|
|
931
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
936
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
932
937
|
autoFixable: boolean;
|
|
933
938
|
error?: string | null | undefined;
|
|
934
939
|
}[] | null | undefined;
|
|
@@ -938,7 +943,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
938
943
|
accountId?: string | null | undefined;
|
|
939
944
|
reason?: string | null | undefined;
|
|
940
945
|
fields?: {
|
|
941
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
946
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
942
947
|
autoFixable: boolean;
|
|
943
948
|
error?: string | null | undefined;
|
|
944
949
|
}[] | null | undefined;
|
|
@@ -952,7 +957,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
952
957
|
accountId?: string | null | undefined;
|
|
953
958
|
reason?: string | null | undefined;
|
|
954
959
|
fields?: {
|
|
955
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
960
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
956
961
|
autoFixable: boolean;
|
|
957
962
|
error?: string | null | undefined;
|
|
958
963
|
}[] | null | undefined;
|
|
@@ -965,7 +970,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
965
970
|
accountId?: string | null | undefined;
|
|
966
971
|
reason?: string | null | undefined;
|
|
967
972
|
fields?: {
|
|
968
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
973
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
969
974
|
autoFixable: boolean;
|
|
970
975
|
error?: string | null | undefined;
|
|
971
976
|
}[] | null | undefined;
|
|
@@ -1081,22 +1086,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1081
1086
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1082
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1088
|
status?: string | null | undefined;
|
|
1084
|
-
title?: string | null | undefined;
|
|
1085
|
-
description?: string | null | undefined;
|
|
1086
|
-
brand?: string | null | undefined;
|
|
1087
|
-
statusId?: number | null | undefined;
|
|
1088
|
-
sizeId?: number | null | undefined;
|
|
1089
|
-
colorIds?: number[] | null | undefined;
|
|
1090
|
-
packageSizeId?: number | null | undefined;
|
|
1091
1089
|
price?: number | null | undefined;
|
|
1092
1090
|
currency?: string | null | undefined;
|
|
1091
|
+
brand?: string | null | undefined;
|
|
1093
1092
|
catalog?: string | null | undefined;
|
|
1094
1093
|
catalogId?: number | null | undefined;
|
|
1095
1094
|
colors?: string[] | null | undefined;
|
|
1095
|
+
colorIds?: number[] | null | undefined;
|
|
1096
|
+
description?: string | null | undefined;
|
|
1096
1097
|
measurementLength?: number | null | undefined;
|
|
1097
1098
|
measurementWidth?: number | null | undefined;
|
|
1099
|
+
packageSizeId?: number | null | undefined;
|
|
1098
1100
|
photoUrls?: string[] | null | undefined;
|
|
1099
1101
|
size?: string | null | undefined;
|
|
1102
|
+
sizeId?: number | null | undefined;
|
|
1103
|
+
statusId?: number | null | undefined;
|
|
1104
|
+
title?: string | null | undefined;
|
|
1100
1105
|
isDraft?: boolean | null | undefined;
|
|
1101
1106
|
isArchived?: boolean | null | undefined;
|
|
1102
1107
|
availableQuantity?: number | null | undefined;
|
|
@@ -1105,22 +1110,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1105
1110
|
labels?: string[] | null | undefined;
|
|
1106
1111
|
}, {
|
|
1107
1112
|
status?: string | null | undefined;
|
|
1108
|
-
title?: string | null | undefined;
|
|
1109
|
-
description?: string | null | undefined;
|
|
1110
|
-
brand?: string | null | undefined;
|
|
1111
|
-
statusId?: number | null | undefined;
|
|
1112
|
-
sizeId?: number | null | undefined;
|
|
1113
|
-
colorIds?: number[] | null | undefined;
|
|
1114
|
-
packageSizeId?: number | null | undefined;
|
|
1115
1113
|
price?: number | null | undefined;
|
|
1116
1114
|
currency?: string | null | undefined;
|
|
1115
|
+
brand?: string | null | undefined;
|
|
1117
1116
|
catalog?: string | null | undefined;
|
|
1118
1117
|
catalogId?: number | null | undefined;
|
|
1119
1118
|
colors?: string[] | null | undefined;
|
|
1119
|
+
colorIds?: number[] | null | undefined;
|
|
1120
|
+
description?: string | null | undefined;
|
|
1120
1121
|
measurementLength?: number | null | undefined;
|
|
1121
1122
|
measurementWidth?: number | null | undefined;
|
|
1123
|
+
packageSizeId?: number | null | undefined;
|
|
1122
1124
|
photoUrls?: string[] | null | undefined;
|
|
1123
1125
|
size?: string | null | undefined;
|
|
1126
|
+
sizeId?: number | null | undefined;
|
|
1127
|
+
statusId?: number | null | undefined;
|
|
1128
|
+
title?: string | null | undefined;
|
|
1124
1129
|
isDraft?: boolean | null | undefined;
|
|
1125
1130
|
isArchived?: boolean | null | undefined;
|
|
1126
1131
|
availableQuantity?: number | null | undefined;
|
|
@@ -1132,22 +1137,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1132
1137
|
platformId: string;
|
|
1133
1138
|
post: {
|
|
1134
1139
|
status?: string | null | undefined;
|
|
1135
|
-
title?: string | null | undefined;
|
|
1136
|
-
description?: string | null | undefined;
|
|
1137
|
-
brand?: string | null | undefined;
|
|
1138
|
-
statusId?: number | null | undefined;
|
|
1139
|
-
sizeId?: number | null | undefined;
|
|
1140
|
-
colorIds?: number[] | null | undefined;
|
|
1141
|
-
packageSizeId?: number | null | undefined;
|
|
1142
1140
|
price?: number | null | undefined;
|
|
1143
1141
|
currency?: string | null | undefined;
|
|
1142
|
+
brand?: string | null | undefined;
|
|
1144
1143
|
catalog?: string | null | undefined;
|
|
1145
1144
|
catalogId?: number | null | undefined;
|
|
1146
1145
|
colors?: string[] | null | undefined;
|
|
1146
|
+
colorIds?: number[] | null | undefined;
|
|
1147
|
+
description?: string | null | undefined;
|
|
1147
1148
|
measurementLength?: number | null | undefined;
|
|
1148
1149
|
measurementWidth?: number | null | undefined;
|
|
1150
|
+
packageSizeId?: number | null | undefined;
|
|
1149
1151
|
photoUrls?: string[] | null | undefined;
|
|
1150
1152
|
size?: string | null | undefined;
|
|
1153
|
+
sizeId?: number | null | undefined;
|
|
1154
|
+
statusId?: number | null | undefined;
|
|
1155
|
+
title?: string | null | undefined;
|
|
1151
1156
|
isDraft?: boolean | null | undefined;
|
|
1152
1157
|
isArchived?: boolean | null | undefined;
|
|
1153
1158
|
availableQuantity?: number | null | undefined;
|
|
@@ -1161,22 +1166,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1161
1166
|
platformId: string;
|
|
1162
1167
|
post: {
|
|
1163
1168
|
status?: string | null | undefined;
|
|
1164
|
-
title?: string | null | undefined;
|
|
1165
|
-
description?: string | null | undefined;
|
|
1166
|
-
brand?: string | null | undefined;
|
|
1167
|
-
statusId?: number | null | undefined;
|
|
1168
|
-
sizeId?: number | null | undefined;
|
|
1169
|
-
colorIds?: number[] | null | undefined;
|
|
1170
|
-
packageSizeId?: number | null | undefined;
|
|
1171
1169
|
price?: number | null | undefined;
|
|
1172
1170
|
currency?: string | null | undefined;
|
|
1171
|
+
brand?: string | null | undefined;
|
|
1173
1172
|
catalog?: string | null | undefined;
|
|
1174
1173
|
catalogId?: number | null | undefined;
|
|
1175
1174
|
colors?: string[] | null | undefined;
|
|
1175
|
+
colorIds?: number[] | null | undefined;
|
|
1176
|
+
description?: string | null | undefined;
|
|
1176
1177
|
measurementLength?: number | null | undefined;
|
|
1177
1178
|
measurementWidth?: number | null | undefined;
|
|
1179
|
+
packageSizeId?: number | null | undefined;
|
|
1178
1180
|
photoUrls?: string[] | null | undefined;
|
|
1179
1181
|
size?: string | null | undefined;
|
|
1182
|
+
sizeId?: number | null | undefined;
|
|
1183
|
+
statusId?: number | null | undefined;
|
|
1184
|
+
title?: string | null | undefined;
|
|
1180
1185
|
isDraft?: boolean | null | undefined;
|
|
1181
1186
|
isArchived?: boolean | null | undefined;
|
|
1182
1187
|
availableQuantity?: number | null | undefined;
|
|
@@ -1192,22 +1197,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1192
1197
|
platformId: string;
|
|
1193
1198
|
post: {
|
|
1194
1199
|
status?: string | null | undefined;
|
|
1195
|
-
|
|
1196
|
-
|
|
1200
|
+
price?: number | null | undefined;
|
|
1201
|
+
currency?: string | null | undefined;
|
|
1197
1202
|
brand?: string | null | undefined;
|
|
1198
|
-
statusId?: number | null | undefined;
|
|
1199
|
-
sizeId?: number | null | undefined;
|
|
1200
|
-
colorIds?: number[] | null | undefined;
|
|
1201
|
-
packageSizeId?: number | null | undefined;
|
|
1202
|
-
price?: number | null | undefined;
|
|
1203
|
-
currency?: string | null | undefined;
|
|
1204
1203
|
catalog?: string | null | undefined;
|
|
1205
1204
|
catalogId?: number | null | undefined;
|
|
1206
1205
|
colors?: string[] | null | undefined;
|
|
1206
|
+
colorIds?: number[] | null | undefined;
|
|
1207
|
+
description?: string | null | undefined;
|
|
1207
1208
|
measurementLength?: number | null | undefined;
|
|
1208
1209
|
measurementWidth?: number | null | undefined;
|
|
1210
|
+
packageSizeId?: number | null | undefined;
|
|
1209
1211
|
photoUrls?: string[] | null | undefined;
|
|
1210
1212
|
size?: string | null | undefined;
|
|
1213
|
+
sizeId?: number | null | undefined;
|
|
1214
|
+
statusId?: number | null | undefined;
|
|
1215
|
+
title?: string | null | undefined;
|
|
1211
1216
|
isDraft?: boolean | null | undefined;
|
|
1212
1217
|
isArchived?: boolean | null | undefined;
|
|
1213
1218
|
availableQuantity?: number | null | undefined;
|
|
@@ -1223,22 +1228,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1223
1228
|
platformId: string;
|
|
1224
1229
|
post: {
|
|
1225
1230
|
status?: string | null | undefined;
|
|
1226
|
-
title?: string | null | undefined;
|
|
1227
|
-
description?: string | null | undefined;
|
|
1228
|
-
brand?: string | null | undefined;
|
|
1229
|
-
statusId?: number | null | undefined;
|
|
1230
|
-
sizeId?: number | null | undefined;
|
|
1231
|
-
colorIds?: number[] | null | undefined;
|
|
1232
|
-
packageSizeId?: number | null | undefined;
|
|
1233
1231
|
price?: number | null | undefined;
|
|
1234
1232
|
currency?: string | null | undefined;
|
|
1233
|
+
brand?: string | null | undefined;
|
|
1235
1234
|
catalog?: string | null | undefined;
|
|
1236
1235
|
catalogId?: number | null | undefined;
|
|
1237
1236
|
colors?: string[] | null | undefined;
|
|
1237
|
+
colorIds?: number[] | null | undefined;
|
|
1238
|
+
description?: string | null | undefined;
|
|
1238
1239
|
measurementLength?: number | null | undefined;
|
|
1239
1240
|
measurementWidth?: number | null | undefined;
|
|
1241
|
+
packageSizeId?: number | null | undefined;
|
|
1240
1242
|
photoUrls?: string[] | null | undefined;
|
|
1241
1243
|
size?: string | null | undefined;
|
|
1244
|
+
sizeId?: number | null | undefined;
|
|
1245
|
+
statusId?: number | null | undefined;
|
|
1246
|
+
title?: string | null | undefined;
|
|
1242
1247
|
isDraft?: boolean | null | undefined;
|
|
1243
1248
|
isArchived?: boolean | null | undefined;
|
|
1244
1249
|
availableQuantity?: number | null | undefined;
|
|
@@ -1258,22 +1263,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1258
1263
|
platformId: string;
|
|
1259
1264
|
post: {
|
|
1260
1265
|
status?: string | null | undefined;
|
|
1261
|
-
title?: string | null | undefined;
|
|
1262
|
-
description?: string | null | undefined;
|
|
1263
|
-
brand?: string | null | undefined;
|
|
1264
|
-
statusId?: number | null | undefined;
|
|
1265
|
-
sizeId?: number | null | undefined;
|
|
1266
|
-
colorIds?: number[] | null | undefined;
|
|
1267
|
-
packageSizeId?: number | null | undefined;
|
|
1268
1266
|
price?: number | null | undefined;
|
|
1269
1267
|
currency?: string | null | undefined;
|
|
1268
|
+
brand?: string | null | undefined;
|
|
1270
1269
|
catalog?: string | null | undefined;
|
|
1271
1270
|
catalogId?: number | null | undefined;
|
|
1272
1271
|
colors?: string[] | null | undefined;
|
|
1272
|
+
colorIds?: number[] | null | undefined;
|
|
1273
|
+
description?: string | null | undefined;
|
|
1273
1274
|
measurementLength?: number | null | undefined;
|
|
1274
1275
|
measurementWidth?: number | null | undefined;
|
|
1276
|
+
packageSizeId?: number | null | undefined;
|
|
1275
1277
|
photoUrls?: string[] | null | undefined;
|
|
1276
1278
|
size?: string | null | undefined;
|
|
1279
|
+
sizeId?: number | null | undefined;
|
|
1280
|
+
statusId?: number | null | undefined;
|
|
1281
|
+
title?: string | null | undefined;
|
|
1277
1282
|
isDraft?: boolean | null | undefined;
|
|
1278
1283
|
isArchived?: boolean | null | undefined;
|
|
1279
1284
|
availableQuantity?: number | null | undefined;
|
|
@@ -1292,22 +1297,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1292
1297
|
platformId: string;
|
|
1293
1298
|
post: {
|
|
1294
1299
|
status?: string | null | undefined;
|
|
1295
|
-
title?: string | null | undefined;
|
|
1296
|
-
description?: string | null | undefined;
|
|
1297
|
-
brand?: string | null | undefined;
|
|
1298
|
-
statusId?: number | null | undefined;
|
|
1299
|
-
sizeId?: number | null | undefined;
|
|
1300
|
-
colorIds?: number[] | null | undefined;
|
|
1301
|
-
packageSizeId?: number | null | undefined;
|
|
1302
1300
|
price?: number | null | undefined;
|
|
1303
1301
|
currency?: string | null | undefined;
|
|
1302
|
+
brand?: string | null | undefined;
|
|
1304
1303
|
catalog?: string | null | undefined;
|
|
1305
1304
|
catalogId?: number | null | undefined;
|
|
1306
1305
|
colors?: string[] | null | undefined;
|
|
1306
|
+
colorIds?: number[] | null | undefined;
|
|
1307
|
+
description?: string | null | undefined;
|
|
1307
1308
|
measurementLength?: number | null | undefined;
|
|
1308
1309
|
measurementWidth?: number | null | undefined;
|
|
1310
|
+
packageSizeId?: number | null | undefined;
|
|
1309
1311
|
photoUrls?: string[] | null | undefined;
|
|
1310
1312
|
size?: string | null | undefined;
|
|
1313
|
+
sizeId?: number | null | undefined;
|
|
1314
|
+
statusId?: number | null | undefined;
|
|
1315
|
+
title?: string | null | undefined;
|
|
1311
1316
|
isDraft?: boolean | null | undefined;
|
|
1312
1317
|
isArchived?: boolean | null | undefined;
|
|
1313
1318
|
availableQuantity?: number | null | undefined;
|
|
@@ -1343,24 +1348,24 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1343
1348
|
accountId: z.ZodString;
|
|
1344
1349
|
caseId: z.ZodString;
|
|
1345
1350
|
}, "strip", z.ZodTypeAny, {
|
|
1346
|
-
caseId: string;
|
|
1347
1351
|
accountId: string;
|
|
1348
|
-
}, {
|
|
1349
1352
|
caseId: string;
|
|
1353
|
+
}, {
|
|
1350
1354
|
accountId: string;
|
|
1355
|
+
caseId: string;
|
|
1351
1356
|
}>;
|
|
1352
1357
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1353
1358
|
}, "strip", z.ZodTypeAny, {
|
|
1354
1359
|
type: "LIFECYCLE_STARTED";
|
|
1355
1360
|
data: {
|
|
1356
|
-
caseId: string;
|
|
1357
1361
|
accountId: string;
|
|
1362
|
+
caseId: string;
|
|
1358
1363
|
};
|
|
1359
1364
|
}, {
|
|
1360
1365
|
type: "LIFECYCLE_STARTED";
|
|
1361
1366
|
data: {
|
|
1362
|
-
caseId: string;
|
|
1363
1367
|
accountId: string;
|
|
1368
|
+
caseId: string;
|
|
1364
1369
|
};
|
|
1365
1370
|
}>, z.ZodObject<{
|
|
1366
1371
|
data: z.ZodObject<{
|
|
@@ -1389,6 +1394,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1389
1394
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1391
1396
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1397
|
+
publishingDate?: Date | null | undefined;
|
|
1392
1398
|
priceDropPayload?: {
|
|
1393
1399
|
value: number;
|
|
1394
1400
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1396,11 +1402,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1396
1402
|
roundStep?: number | null | undefined;
|
|
1397
1403
|
maxRounds?: number | null | undefined;
|
|
1398
1404
|
} | null | undefined;
|
|
1399
|
-
publishingDate?: Date | null | undefined;
|
|
1400
|
-
targetAccountId?: string | null | undefined;
|
|
1401
1405
|
isTransfer?: boolean | null | undefined;
|
|
1406
|
+
targetAccountId?: string | null | undefined;
|
|
1402
1407
|
}, {
|
|
1403
1408
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1409
|
+
publishingDate?: Date | null | undefined;
|
|
1404
1410
|
priceDropPayload?: {
|
|
1405
1411
|
value: number;
|
|
1406
1412
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1408,15 +1414,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1408
1414
|
roundStep?: number | null | undefined;
|
|
1409
1415
|
maxRounds?: number | null | undefined;
|
|
1410
1416
|
} | null | undefined;
|
|
1411
|
-
publishingDate?: Date | null | undefined;
|
|
1412
|
-
targetAccountId?: string | null | undefined;
|
|
1413
1417
|
isTransfer?: boolean | null | undefined;
|
|
1418
|
+
targetAccountId?: string | null | undefined;
|
|
1414
1419
|
}>;
|
|
1415
1420
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1416
1421
|
}, "strip", z.ZodTypeAny, {
|
|
1417
1422
|
type: "REPUBLISHING";
|
|
1418
1423
|
data: {
|
|
1419
1424
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1425
|
+
publishingDate?: Date | null | undefined;
|
|
1420
1426
|
priceDropPayload?: {
|
|
1421
1427
|
value: number;
|
|
1422
1428
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1424,14 +1430,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1424
1430
|
roundStep?: number | null | undefined;
|
|
1425
1431
|
maxRounds?: number | null | undefined;
|
|
1426
1432
|
} | null | undefined;
|
|
1427
|
-
publishingDate?: Date | null | undefined;
|
|
1428
|
-
targetAccountId?: string | null | undefined;
|
|
1429
1433
|
isTransfer?: boolean | null | undefined;
|
|
1434
|
+
targetAccountId?: string | null | undefined;
|
|
1430
1435
|
};
|
|
1431
1436
|
}, {
|
|
1432
1437
|
type: "REPUBLISHING";
|
|
1433
1438
|
data: {
|
|
1434
1439
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1440
|
+
publishingDate?: Date | null | undefined;
|
|
1435
1441
|
priceDropPayload?: {
|
|
1436
1442
|
value: number;
|
|
1437
1443
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1439,9 +1445,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1439
1445
|
roundStep?: number | null | undefined;
|
|
1440
1446
|
maxRounds?: number | null | undefined;
|
|
1441
1447
|
} | null | undefined;
|
|
1442
|
-
publishingDate?: Date | null | undefined;
|
|
1443
|
-
targetAccountId?: string | null | undefined;
|
|
1444
1448
|
isTransfer?: boolean | null | undefined;
|
|
1449
|
+
targetAccountId?: string | null | undefined;
|
|
1445
1450
|
};
|
|
1446
1451
|
}>, z.ZodObject<{
|
|
1447
1452
|
data: z.ZodObject<{
|
|
@@ -1455,11 +1460,11 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1455
1460
|
autoFixable: z.ZodBoolean;
|
|
1456
1461
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1463
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1459
1464
|
autoFixable: boolean;
|
|
1460
1465
|
error?: string | null | undefined;
|
|
1461
1466
|
}, {
|
|
1462
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1467
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1463
1468
|
autoFixable: boolean;
|
|
1464
1469
|
error?: string | null | undefined;
|
|
1465
1470
|
}>, "many">>>;
|
|
@@ -1483,11 +1488,16 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1483
1488
|
maxRounds?: number | null | undefined;
|
|
1484
1489
|
}>>>;
|
|
1485
1490
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
maxAttempts: number;
|
|
1487
1491
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1488
1492
|
attemptNumber: number;
|
|
1493
|
+
maxAttempts: number;
|
|
1489
1494
|
previousHistoryId: string;
|
|
1490
1495
|
originalFailureDate: Date;
|
|
1496
|
+
fields?: {
|
|
1497
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1498
|
+
autoFixable: boolean;
|
|
1499
|
+
error?: string | null | undefined;
|
|
1500
|
+
}[] | null | undefined;
|
|
1491
1501
|
priceDropPayload?: {
|
|
1492
1502
|
value: number;
|
|
1493
1503
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1495,17 +1505,17 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1495
1505
|
roundStep?: number | null | undefined;
|
|
1496
1506
|
maxRounds?: number | null | undefined;
|
|
1497
1507
|
} | null | undefined;
|
|
1498
|
-
fields?: {
|
|
1499
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1500
|
-
autoFixable: boolean;
|
|
1501
|
-
error?: string | null | undefined;
|
|
1502
|
-
}[] | null | undefined;
|
|
1503
1508
|
}, {
|
|
1504
|
-
maxAttempts: number;
|
|
1505
1509
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1506
1510
|
attemptNumber: number;
|
|
1511
|
+
maxAttempts: number;
|
|
1507
1512
|
previousHistoryId: string;
|
|
1508
1513
|
originalFailureDate: Date;
|
|
1514
|
+
fields?: {
|
|
1515
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1516
|
+
autoFixable: boolean;
|
|
1517
|
+
error?: string | null | undefined;
|
|
1518
|
+
}[] | null | undefined;
|
|
1509
1519
|
priceDropPayload?: {
|
|
1510
1520
|
value: number;
|
|
1511
1521
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1513,21 +1523,21 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1513
1523
|
roundStep?: number | null | undefined;
|
|
1514
1524
|
maxRounds?: number | null | undefined;
|
|
1515
1525
|
} | null | undefined;
|
|
1516
|
-
fields?: {
|
|
1517
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1518
|
-
autoFixable: boolean;
|
|
1519
|
-
error?: string | null | undefined;
|
|
1520
|
-
}[] | null | undefined;
|
|
1521
1526
|
}>;
|
|
1522
1527
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1523
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1524
1529
|
type: "REPUBLISHING_RETRY";
|
|
1525
1530
|
data: {
|
|
1526
|
-
maxAttempts: number;
|
|
1527
1531
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1528
1532
|
attemptNumber: number;
|
|
1533
|
+
maxAttempts: number;
|
|
1529
1534
|
previousHistoryId: string;
|
|
1530
1535
|
originalFailureDate: Date;
|
|
1536
|
+
fields?: {
|
|
1537
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1538
|
+
autoFixable: boolean;
|
|
1539
|
+
error?: string | null | undefined;
|
|
1540
|
+
}[] | null | undefined;
|
|
1531
1541
|
priceDropPayload?: {
|
|
1532
1542
|
value: number;
|
|
1533
1543
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1535,20 +1545,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1535
1545
|
roundStep?: number | null | undefined;
|
|
1536
1546
|
maxRounds?: number | null | undefined;
|
|
1537
1547
|
} | null | undefined;
|
|
1538
|
-
fields?: {
|
|
1539
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1540
|
-
autoFixable: boolean;
|
|
1541
|
-
error?: string | null | undefined;
|
|
1542
|
-
}[] | null | undefined;
|
|
1543
1548
|
};
|
|
1544
1549
|
}, {
|
|
1545
1550
|
type: "REPUBLISHING_RETRY";
|
|
1546
1551
|
data: {
|
|
1547
|
-
maxAttempts: number;
|
|
1548
1552
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1549
1553
|
attemptNumber: number;
|
|
1554
|
+
maxAttempts: number;
|
|
1550
1555
|
previousHistoryId: string;
|
|
1551
1556
|
originalFailureDate: Date;
|
|
1557
|
+
fields?: {
|
|
1558
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1559
|
+
autoFixable: boolean;
|
|
1560
|
+
error?: string | null | undefined;
|
|
1561
|
+
}[] | null | undefined;
|
|
1552
1562
|
priceDropPayload?: {
|
|
1553
1563
|
value: number;
|
|
1554
1564
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1556,11 +1566,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1556
1566
|
roundStep?: number | null | undefined;
|
|
1557
1567
|
maxRounds?: number | null | undefined;
|
|
1558
1568
|
} | null | undefined;
|
|
1559
|
-
fields?: {
|
|
1560
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1561
|
-
autoFixable: boolean;
|
|
1562
|
-
error?: string | null | undefined;
|
|
1563
|
-
}[] | null | undefined;
|
|
1564
1569
|
};
|
|
1565
1570
|
}>, z.ZodObject<{
|
|
1566
1571
|
data: z.ZodObject<{
|
|
@@ -1598,33 +1603,33 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1598
1603
|
autoFixable: z.ZodBoolean;
|
|
1599
1604
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1600
1605
|
}, "strip", z.ZodTypeAny, {
|
|
1601
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1606
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1602
1607
|
autoFixable: boolean;
|
|
1603
1608
|
error?: string | null | undefined;
|
|
1604
1609
|
}, {
|
|
1605
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1610
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1606
1611
|
autoFixable: boolean;
|
|
1607
1612
|
error?: string | null | undefined;
|
|
1608
1613
|
}>, "many">>>;
|
|
1609
1614
|
}, "strip", z.ZodTypeAny, {
|
|
1610
|
-
maxAttempts: number;
|
|
1611
1615
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1612
1616
|
attemptNumber: number;
|
|
1617
|
+
maxAttempts: number;
|
|
1613
1618
|
previousHistoryId: string;
|
|
1614
1619
|
originalFailureDate: Date;
|
|
1615
1620
|
fields?: {
|
|
1616
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1621
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1617
1622
|
autoFixable: boolean;
|
|
1618
1623
|
error?: string | null | undefined;
|
|
1619
1624
|
}[] | null | undefined;
|
|
1620
1625
|
}, {
|
|
1621
|
-
maxAttempts: number;
|
|
1622
1626
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1623
1627
|
attemptNumber: number;
|
|
1628
|
+
maxAttempts: number;
|
|
1624
1629
|
previousHistoryId: string;
|
|
1625
1630
|
originalFailureDate: Date;
|
|
1626
1631
|
fields?: {
|
|
1627
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1632
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1628
1633
|
autoFixable: boolean;
|
|
1629
1634
|
error?: string | null | undefined;
|
|
1630
1635
|
}[] | null | undefined;
|
|
@@ -1633,13 +1638,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1633
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1634
1639
|
type: "SCHEDULED_RETRY";
|
|
1635
1640
|
data: {
|
|
1636
|
-
maxAttempts: number;
|
|
1637
1641
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1638
1642
|
attemptNumber: number;
|
|
1643
|
+
maxAttempts: number;
|
|
1639
1644
|
previousHistoryId: string;
|
|
1640
1645
|
originalFailureDate: Date;
|
|
1641
1646
|
fields?: {
|
|
1642
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1647
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1643
1648
|
autoFixable: boolean;
|
|
1644
1649
|
error?: string | null | undefined;
|
|
1645
1650
|
}[] | null | undefined;
|
|
@@ -1647,13 +1652,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1647
1652
|
}, {
|
|
1648
1653
|
type: "SCHEDULED_RETRY";
|
|
1649
1654
|
data: {
|
|
1650
|
-
maxAttempts: number;
|
|
1651
1655
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1652
1656
|
attemptNumber: number;
|
|
1657
|
+
maxAttempts: number;
|
|
1653
1658
|
previousHistoryId: string;
|
|
1654
1659
|
originalFailureDate: Date;
|
|
1655
1660
|
fields?: {
|
|
1656
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1661
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1657
1662
|
autoFixable: boolean;
|
|
1658
1663
|
error?: string | null | undefined;
|
|
1659
1664
|
}[] | null | undefined;
|
|
@@ -1668,7 +1673,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1668
1673
|
id: string;
|
|
1669
1674
|
createdAt: Date;
|
|
1670
1675
|
itemId: string | number;
|
|
1671
|
-
requestId?: string | null | undefined;
|
|
1672
1676
|
data?: {
|
|
1673
1677
|
type: "ACTION_CANCELED";
|
|
1674
1678
|
data: {
|
|
@@ -1697,7 +1701,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1697
1701
|
accountId?: string | null | undefined;
|
|
1698
1702
|
reason?: string | null | undefined;
|
|
1699
1703
|
fields?: {
|
|
1700
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1704
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1701
1705
|
autoFixable: boolean;
|
|
1702
1706
|
error?: string | null | undefined;
|
|
1703
1707
|
}[] | null | undefined;
|
|
@@ -1724,22 +1728,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1724
1728
|
platformId: string;
|
|
1725
1729
|
post: {
|
|
1726
1730
|
status?: string | null | undefined;
|
|
1727
|
-
title?: string | null | undefined;
|
|
1728
|
-
description?: string | null | undefined;
|
|
1729
|
-
brand?: string | null | undefined;
|
|
1730
|
-
statusId?: number | null | undefined;
|
|
1731
|
-
sizeId?: number | null | undefined;
|
|
1732
|
-
colorIds?: number[] | null | undefined;
|
|
1733
|
-
packageSizeId?: number | null | undefined;
|
|
1734
1731
|
price?: number | null | undefined;
|
|
1735
1732
|
currency?: string | null | undefined;
|
|
1733
|
+
brand?: string | null | undefined;
|
|
1736
1734
|
catalog?: string | null | undefined;
|
|
1737
1735
|
catalogId?: number | null | undefined;
|
|
1738
1736
|
colors?: string[] | null | undefined;
|
|
1737
|
+
colorIds?: number[] | null | undefined;
|
|
1738
|
+
description?: string | null | undefined;
|
|
1739
1739
|
measurementLength?: number | null | undefined;
|
|
1740
1740
|
measurementWidth?: number | null | undefined;
|
|
1741
|
+
packageSizeId?: number | null | undefined;
|
|
1741
1742
|
photoUrls?: string[] | null | undefined;
|
|
1742
1743
|
size?: string | null | undefined;
|
|
1744
|
+
sizeId?: number | null | undefined;
|
|
1745
|
+
statusId?: number | null | undefined;
|
|
1746
|
+
title?: string | null | undefined;
|
|
1743
1747
|
isDraft?: boolean | null | undefined;
|
|
1744
1748
|
isArchived?: boolean | null | undefined;
|
|
1745
1749
|
availableQuantity?: number | null | undefined;
|
|
@@ -1759,13 +1763,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1759
1763
|
} | {
|
|
1760
1764
|
type: "LIFECYCLE_STARTED";
|
|
1761
1765
|
data: {
|
|
1762
|
-
caseId: string;
|
|
1763
1766
|
accountId: string;
|
|
1767
|
+
caseId: string;
|
|
1764
1768
|
};
|
|
1765
1769
|
} | {
|
|
1766
1770
|
type: "REPUBLISHING";
|
|
1767
1771
|
data: {
|
|
1768
1772
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1773
|
+
publishingDate?: Date | null | undefined;
|
|
1769
1774
|
priceDropPayload?: {
|
|
1770
1775
|
value: number;
|
|
1771
1776
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1773,18 +1778,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1773
1778
|
roundStep?: number | null | undefined;
|
|
1774
1779
|
maxRounds?: number | null | undefined;
|
|
1775
1780
|
} | null | undefined;
|
|
1776
|
-
publishingDate?: Date | null | undefined;
|
|
1777
|
-
targetAccountId?: string | null | undefined;
|
|
1778
1781
|
isTransfer?: boolean | null | undefined;
|
|
1782
|
+
targetAccountId?: string | null | undefined;
|
|
1779
1783
|
};
|
|
1780
1784
|
} | {
|
|
1781
1785
|
type: "REPUBLISHING_RETRY";
|
|
1782
1786
|
data: {
|
|
1783
|
-
maxAttempts: number;
|
|
1784
1787
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1785
1788
|
attemptNumber: number;
|
|
1789
|
+
maxAttempts: number;
|
|
1786
1790
|
previousHistoryId: string;
|
|
1787
1791
|
originalFailureDate: Date;
|
|
1792
|
+
fields?: {
|
|
1793
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1794
|
+
autoFixable: boolean;
|
|
1795
|
+
error?: string | null | undefined;
|
|
1796
|
+
}[] | null | undefined;
|
|
1788
1797
|
priceDropPayload?: {
|
|
1789
1798
|
value: number;
|
|
1790
1799
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1792,11 +1801,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1792
1801
|
roundStep?: number | null | undefined;
|
|
1793
1802
|
maxRounds?: number | null | undefined;
|
|
1794
1803
|
} | null | undefined;
|
|
1795
|
-
fields?: {
|
|
1796
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1797
|
-
autoFixable: boolean;
|
|
1798
|
-
error?: string | null | undefined;
|
|
1799
|
-
}[] | null | undefined;
|
|
1800
1804
|
};
|
|
1801
1805
|
} | {
|
|
1802
1806
|
type: "SCHEDULED";
|
|
@@ -1807,26 +1811,26 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1807
1811
|
} | {
|
|
1808
1812
|
type: "SCHEDULED_RETRY";
|
|
1809
1813
|
data: {
|
|
1810
|
-
maxAttempts: number;
|
|
1811
1814
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1812
1815
|
attemptNumber: number;
|
|
1816
|
+
maxAttempts: number;
|
|
1813
1817
|
previousHistoryId: string;
|
|
1814
1818
|
originalFailureDate: Date;
|
|
1815
1819
|
fields?: {
|
|
1816
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1820
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1817
1821
|
autoFixable: boolean;
|
|
1818
1822
|
error?: string | null | undefined;
|
|
1819
1823
|
}[] | null | undefined;
|
|
1820
1824
|
};
|
|
1821
1825
|
} | null | undefined;
|
|
1822
1826
|
accountId?: string | null | undefined;
|
|
1827
|
+
requestId?: string | null | undefined;
|
|
1823
1828
|
targetDate?: Date | null | undefined;
|
|
1824
1829
|
}, {
|
|
1825
1830
|
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";
|
|
1826
1831
|
id: string;
|
|
1827
1832
|
createdAt: Date;
|
|
1828
1833
|
itemId: string | number;
|
|
1829
|
-
requestId?: string | null | undefined;
|
|
1830
1834
|
data?: {
|
|
1831
1835
|
type: "ACTION_CANCELED";
|
|
1832
1836
|
data: {
|
|
@@ -1855,7 +1859,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1855
1859
|
accountId?: string | null | undefined;
|
|
1856
1860
|
reason?: string | null | undefined;
|
|
1857
1861
|
fields?: {
|
|
1858
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1862
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1859
1863
|
autoFixable: boolean;
|
|
1860
1864
|
error?: string | null | undefined;
|
|
1861
1865
|
}[] | null | undefined;
|
|
@@ -1882,22 +1886,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1882
1886
|
platformId: string;
|
|
1883
1887
|
post: {
|
|
1884
1888
|
status?: string | null | undefined;
|
|
1885
|
-
title?: string | null | undefined;
|
|
1886
|
-
description?: string | null | undefined;
|
|
1887
|
-
brand?: string | null | undefined;
|
|
1888
|
-
statusId?: number | null | undefined;
|
|
1889
|
-
sizeId?: number | null | undefined;
|
|
1890
|
-
colorIds?: number[] | null | undefined;
|
|
1891
|
-
packageSizeId?: number | null | undefined;
|
|
1892
1889
|
price?: number | null | undefined;
|
|
1893
1890
|
currency?: string | null | undefined;
|
|
1891
|
+
brand?: string | null | undefined;
|
|
1894
1892
|
catalog?: string | null | undefined;
|
|
1895
1893
|
catalogId?: number | null | undefined;
|
|
1896
1894
|
colors?: string[] | null | undefined;
|
|
1895
|
+
colorIds?: number[] | null | undefined;
|
|
1896
|
+
description?: string | null | undefined;
|
|
1897
1897
|
measurementLength?: number | null | undefined;
|
|
1898
1898
|
measurementWidth?: number | null | undefined;
|
|
1899
|
+
packageSizeId?: number | null | undefined;
|
|
1899
1900
|
photoUrls?: string[] | null | undefined;
|
|
1900
1901
|
size?: string | null | undefined;
|
|
1902
|
+
sizeId?: number | null | undefined;
|
|
1903
|
+
statusId?: number | null | undefined;
|
|
1904
|
+
title?: string | null | undefined;
|
|
1901
1905
|
isDraft?: boolean | null | undefined;
|
|
1902
1906
|
isArchived?: boolean | null | undefined;
|
|
1903
1907
|
availableQuantity?: number | null | undefined;
|
|
@@ -1917,13 +1921,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1917
1921
|
} | {
|
|
1918
1922
|
type: "LIFECYCLE_STARTED";
|
|
1919
1923
|
data: {
|
|
1920
|
-
caseId: string;
|
|
1921
1924
|
accountId: string;
|
|
1925
|
+
caseId: string;
|
|
1922
1926
|
};
|
|
1923
1927
|
} | {
|
|
1924
1928
|
type: "REPUBLISHING";
|
|
1925
1929
|
data: {
|
|
1926
1930
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1931
|
+
publishingDate?: Date | null | undefined;
|
|
1927
1932
|
priceDropPayload?: {
|
|
1928
1933
|
value: number;
|
|
1929
1934
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1931,18 +1936,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1931
1936
|
roundStep?: number | null | undefined;
|
|
1932
1937
|
maxRounds?: number | null | undefined;
|
|
1933
1938
|
} | null | undefined;
|
|
1934
|
-
publishingDate?: Date | null | undefined;
|
|
1935
|
-
targetAccountId?: string | null | undefined;
|
|
1936
1939
|
isTransfer?: boolean | null | undefined;
|
|
1940
|
+
targetAccountId?: string | null | undefined;
|
|
1937
1941
|
};
|
|
1938
1942
|
} | {
|
|
1939
1943
|
type: "REPUBLISHING_RETRY";
|
|
1940
1944
|
data: {
|
|
1941
|
-
maxAttempts: number;
|
|
1942
1945
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1943
1946
|
attemptNumber: number;
|
|
1947
|
+
maxAttempts: number;
|
|
1944
1948
|
previousHistoryId: string;
|
|
1945
1949
|
originalFailureDate: Date;
|
|
1950
|
+
fields?: {
|
|
1951
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1952
|
+
autoFixable: boolean;
|
|
1953
|
+
error?: string | null | undefined;
|
|
1954
|
+
}[] | null | undefined;
|
|
1946
1955
|
priceDropPayload?: {
|
|
1947
1956
|
value: number;
|
|
1948
1957
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1950,11 +1959,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1950
1959
|
roundStep?: number | null | undefined;
|
|
1951
1960
|
maxRounds?: number | null | undefined;
|
|
1952
1961
|
} | null | undefined;
|
|
1953
|
-
fields?: {
|
|
1954
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1955
|
-
autoFixable: boolean;
|
|
1956
|
-
error?: string | null | undefined;
|
|
1957
|
-
}[] | null | undefined;
|
|
1958
1962
|
};
|
|
1959
1963
|
} | {
|
|
1960
1964
|
type: "SCHEDULED";
|
|
@@ -1965,19 +1969,20 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1965
1969
|
} | {
|
|
1966
1970
|
type: "SCHEDULED_RETRY";
|
|
1967
1971
|
data: {
|
|
1968
|
-
maxAttempts: number;
|
|
1969
1972
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1970
1973
|
attemptNumber: number;
|
|
1974
|
+
maxAttempts: number;
|
|
1971
1975
|
previousHistoryId: string;
|
|
1972
1976
|
originalFailureDate: Date;
|
|
1973
1977
|
fields?: {
|
|
1974
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1978
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1975
1979
|
autoFixable: boolean;
|
|
1976
1980
|
error?: string | null | undefined;
|
|
1977
1981
|
}[] | null | undefined;
|
|
1978
1982
|
};
|
|
1979
1983
|
} | null | undefined;
|
|
1980
1984
|
accountId?: string | null | undefined;
|
|
1985
|
+
requestId?: string | null | undefined;
|
|
1981
1986
|
targetDate?: Date | null | undefined;
|
|
1982
1987
|
}>>>;
|
|
1983
1988
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2046,16 +2051,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2046
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2047
2052
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2048
2053
|
id: string;
|
|
2049
|
-
createdAt: Date;
|
|
2050
2054
|
updatedAt: Date;
|
|
2055
|
+
createdAt: Date;
|
|
2051
2056
|
accountId: string;
|
|
2052
2057
|
itemId: string | number;
|
|
2053
2058
|
platformId: string;
|
|
2054
2059
|
platformUrl: string;
|
|
2055
2060
|
platformPrice: number;
|
|
2056
2061
|
publishedAt: Date;
|
|
2057
|
-
favoritesCount?: number | null | undefined;
|
|
2058
|
-
viewsCount?: number | null | undefined;
|
|
2059
2062
|
conversationId?: string | null | undefined;
|
|
2060
2063
|
account?: {
|
|
2061
2064
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2072,19 +2075,19 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2072
2075
|
ordersMaxDelay?: number | null | undefined;
|
|
2073
2076
|
conversationsMaxDelay?: number | null | undefined;
|
|
2074
2077
|
} | null | undefined;
|
|
2078
|
+
viewsCount?: number | null | undefined;
|
|
2079
|
+
favoritesCount?: number | null | undefined;
|
|
2075
2080
|
}, {
|
|
2076
2081
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2077
2082
|
id: string;
|
|
2078
|
-
createdAt: Date;
|
|
2079
2083
|
updatedAt: Date;
|
|
2084
|
+
createdAt: Date;
|
|
2080
2085
|
accountId: string;
|
|
2081
2086
|
itemId: string | number;
|
|
2082
2087
|
platformId: string;
|
|
2083
2088
|
platformUrl: string;
|
|
2084
2089
|
platformPrice: number;
|
|
2085
2090
|
publishedAt: Date;
|
|
2086
|
-
favoritesCount?: number | null | undefined;
|
|
2087
|
-
viewsCount?: number | null | undefined;
|
|
2088
2091
|
conversationId?: string | null | undefined;
|
|
2089
2092
|
account?: {
|
|
2090
2093
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2101,52 +2104,34 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2101
2104
|
ordersMaxDelay?: number | null | undefined;
|
|
2102
2105
|
conversationsMaxDelay?: number | null | undefined;
|
|
2103
2106
|
} | null | undefined;
|
|
2107
|
+
viewsCount?: number | null | undefined;
|
|
2108
|
+
favoritesCount?: number | null | undefined;
|
|
2104
2109
|
}>, "many">>>;
|
|
2105
2110
|
createdAt: z.ZodDate;
|
|
2106
2111
|
updatedAt: z.ZodDate;
|
|
2107
2112
|
}, "strip", z.ZodTypeAny, {
|
|
2113
|
+
userId: string | number;
|
|
2108
2114
|
id: string | number;
|
|
2109
|
-
createdAt: Date;
|
|
2110
2115
|
updatedAt: Date;
|
|
2111
|
-
userId: string | number;
|
|
2112
2116
|
name: string;
|
|
2117
|
+
createdAt: Date;
|
|
2113
2118
|
sold: boolean;
|
|
2114
2119
|
state?: number | null | undefined;
|
|
2115
|
-
fees?: {
|
|
2116
|
-
value: number;
|
|
2117
|
-
type: string;
|
|
2118
|
-
id: string | number;
|
|
2119
|
-
createdAt: Date;
|
|
2120
|
-
updatedAt: Date;
|
|
2121
|
-
userId: string | number;
|
|
2122
|
-
name: string;
|
|
2123
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2124
|
-
startDate: Date;
|
|
2125
|
-
active: boolean;
|
|
2126
|
-
description?: string | null | undefined;
|
|
2127
|
-
itemId?: string | number | null | undefined;
|
|
2128
|
-
endDate?: Date | null | undefined;
|
|
2129
|
-
parentFeeId?: string | number | null | undefined;
|
|
2130
|
-
}[] | null | undefined;
|
|
2131
|
-
description?: string | null | undefined;
|
|
2132
|
-
categoryId?: number | null | undefined;
|
|
2133
|
-
sizeId?: number | null | undefined;
|
|
2134
2120
|
colorIds?: number[] | null | undefined;
|
|
2121
|
+
description?: string | null | undefined;
|
|
2135
2122
|
packageSizeId?: number | null | undefined;
|
|
2136
|
-
|
|
2137
|
-
estimatedPrice?: number | null | undefined;
|
|
2138
|
-
purchaseDate?: Date | null | undefined;
|
|
2139
|
-
sellingDate?: Date | null | undefined;
|
|
2123
|
+
sizeId?: number | null | undefined;
|
|
2140
2124
|
labels?: {
|
|
2141
2125
|
itemId: string | number;
|
|
2142
2126
|
labelId: string | number;
|
|
2143
2127
|
label?: {
|
|
2144
2128
|
id: string | number;
|
|
2145
|
-
createdAt: Date;
|
|
2146
2129
|
name: string;
|
|
2130
|
+
createdAt: Date;
|
|
2147
2131
|
isUserLabel: boolean;
|
|
2148
|
-
itemCount?: number | null | undefined;
|
|
2149
2132
|
userId?: string | number | null | undefined;
|
|
2133
|
+
itemCount?: number | null | undefined;
|
|
2134
|
+
parentId?: unknown;
|
|
2150
2135
|
} | null | undefined;
|
|
2151
2136
|
}[] | null | undefined;
|
|
2152
2137
|
files?: {
|
|
@@ -2155,59 +2140,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2155
2140
|
index?: number | null | undefined;
|
|
2156
2141
|
file?: {
|
|
2157
2142
|
path: string;
|
|
2143
|
+
userId: string | number;
|
|
2158
2144
|
id: string;
|
|
2159
2145
|
createdAt: Date;
|
|
2160
|
-
userId: string | number;
|
|
2161
2146
|
signedUrl: string;
|
|
2162
2147
|
} | null | undefined;
|
|
2163
2148
|
}[] | null | undefined;
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
id: string;
|
|
2167
|
-
createdAt: Date;
|
|
2168
|
-
updatedAt: Date;
|
|
2169
|
-
accountId: string;
|
|
2170
|
-
itemId: string | number;
|
|
2171
|
-
platformId: string;
|
|
2172
|
-
platformUrl: string;
|
|
2173
|
-
platformPrice: number;
|
|
2174
|
-
publishedAt: Date;
|
|
2175
|
-
favoritesCount?: number | null | undefined;
|
|
2176
|
-
viewsCount?: number | null | undefined;
|
|
2177
|
-
conversationId?: string | null | undefined;
|
|
2178
|
-
account?: {
|
|
2179
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2180
|
-
userId: string | number;
|
|
2181
|
-
name: string;
|
|
2182
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2183
|
-
accountId: string;
|
|
2184
|
-
locale?: string | null | undefined;
|
|
2185
|
-
night?: {
|
|
2186
|
-
startsAt: Date;
|
|
2187
|
-
endsAt: Date;
|
|
2188
|
-
} | null | undefined;
|
|
2189
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2190
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2191
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2192
|
-
} | null | undefined;
|
|
2193
|
-
}[] | null | undefined;
|
|
2194
|
-
fields?: {
|
|
2195
|
-
value: string;
|
|
2149
|
+
fields?: {
|
|
2150
|
+
value: string;
|
|
2196
2151
|
itemId: string | number;
|
|
2197
2152
|
fieldId: string | number;
|
|
2198
2153
|
}[] | null | undefined;
|
|
2199
2154
|
sku?: string | null | undefined;
|
|
2155
|
+
categoryId?: number | null | undefined;
|
|
2156
|
+
brandId?: string | number | null | undefined;
|
|
2200
2157
|
sex?: string | null | undefined;
|
|
2201
2158
|
purchasePrice?: number | null | undefined;
|
|
2159
|
+
purchaseDate?: Date | null | undefined;
|
|
2202
2160
|
purchasePlaceId?: string | number | null | undefined;
|
|
2203
2161
|
purchased?: boolean | null | undefined;
|
|
2204
2162
|
sellingPrice?: number | null | undefined;
|
|
2163
|
+
sellingDate?: Date | null | undefined;
|
|
2205
2164
|
sellingPlaceId?: string | number | null | undefined;
|
|
2165
|
+
estimatedPrice?: number | null | undefined;
|
|
2166
|
+
fees?: {
|
|
2167
|
+
value: number;
|
|
2168
|
+
type: string;
|
|
2169
|
+
userId: string | number;
|
|
2170
|
+
id: string | number;
|
|
2171
|
+
updatedAt: Date;
|
|
2172
|
+
name: string;
|
|
2173
|
+
createdAt: Date;
|
|
2174
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2175
|
+
startDate: Date;
|
|
2176
|
+
active: boolean;
|
|
2177
|
+
description?: string | null | undefined;
|
|
2178
|
+
itemId?: string | number | null | undefined;
|
|
2179
|
+
endDate?: Date | null | undefined;
|
|
2180
|
+
parentFeeId?: string | number | null | undefined;
|
|
2181
|
+
}[] | null | undefined;
|
|
2206
2182
|
feesSum?: number | null | undefined;
|
|
2207
2183
|
customerId?: string | number | null | undefined;
|
|
2208
2184
|
customer?: {
|
|
2209
|
-
id: string | number;
|
|
2210
2185
|
userId: string | number;
|
|
2186
|
+
id: string | number;
|
|
2211
2187
|
email: string;
|
|
2212
2188
|
firstName: string;
|
|
2213
2189
|
lastName: string;
|
|
@@ -2228,7 +2204,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2228
2204
|
id: string;
|
|
2229
2205
|
createdAt: Date;
|
|
2230
2206
|
itemId: string | number;
|
|
2231
|
-
requestId?: string | null | undefined;
|
|
2232
2207
|
data?: {
|
|
2233
2208
|
type: "ACTION_CANCELED";
|
|
2234
2209
|
data: {
|
|
@@ -2257,7 +2232,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2257
2232
|
accountId?: string | null | undefined;
|
|
2258
2233
|
reason?: string | null | undefined;
|
|
2259
2234
|
fields?: {
|
|
2260
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2235
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2261
2236
|
autoFixable: boolean;
|
|
2262
2237
|
error?: string | null | undefined;
|
|
2263
2238
|
}[] | null | undefined;
|
|
@@ -2284,22 +2259,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2284
2259
|
platformId: string;
|
|
2285
2260
|
post: {
|
|
2286
2261
|
status?: string | null | undefined;
|
|
2287
|
-
title?: string | null | undefined;
|
|
2288
|
-
description?: string | null | undefined;
|
|
2289
|
-
brand?: string | null | undefined;
|
|
2290
|
-
statusId?: number | null | undefined;
|
|
2291
|
-
sizeId?: number | null | undefined;
|
|
2292
|
-
colorIds?: number[] | null | undefined;
|
|
2293
|
-
packageSizeId?: number | null | undefined;
|
|
2294
2262
|
price?: number | null | undefined;
|
|
2295
2263
|
currency?: string | null | undefined;
|
|
2264
|
+
brand?: string | null | undefined;
|
|
2296
2265
|
catalog?: string | null | undefined;
|
|
2297
2266
|
catalogId?: number | null | undefined;
|
|
2298
2267
|
colors?: string[] | null | undefined;
|
|
2268
|
+
colorIds?: number[] | null | undefined;
|
|
2269
|
+
description?: string | null | undefined;
|
|
2299
2270
|
measurementLength?: number | null | undefined;
|
|
2300
2271
|
measurementWidth?: number | null | undefined;
|
|
2272
|
+
packageSizeId?: number | null | undefined;
|
|
2301
2273
|
photoUrls?: string[] | null | undefined;
|
|
2302
2274
|
size?: string | null | undefined;
|
|
2275
|
+
sizeId?: number | null | undefined;
|
|
2276
|
+
statusId?: number | null | undefined;
|
|
2277
|
+
title?: string | null | undefined;
|
|
2303
2278
|
isDraft?: boolean | null | undefined;
|
|
2304
2279
|
isArchived?: boolean | null | undefined;
|
|
2305
2280
|
availableQuantity?: number | null | undefined;
|
|
@@ -2319,13 +2294,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2319
2294
|
} | {
|
|
2320
2295
|
type: "LIFECYCLE_STARTED";
|
|
2321
2296
|
data: {
|
|
2322
|
-
caseId: string;
|
|
2323
2297
|
accountId: string;
|
|
2298
|
+
caseId: string;
|
|
2324
2299
|
};
|
|
2325
2300
|
} | {
|
|
2326
2301
|
type: "REPUBLISHING";
|
|
2327
2302
|
data: {
|
|
2328
2303
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2304
|
+
publishingDate?: Date | null | undefined;
|
|
2329
2305
|
priceDropPayload?: {
|
|
2330
2306
|
value: number;
|
|
2331
2307
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2333,18 +2309,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2333
2309
|
roundStep?: number | null | undefined;
|
|
2334
2310
|
maxRounds?: number | null | undefined;
|
|
2335
2311
|
} | null | undefined;
|
|
2336
|
-
publishingDate?: Date | null | undefined;
|
|
2337
|
-
targetAccountId?: string | null | undefined;
|
|
2338
2312
|
isTransfer?: boolean | null | undefined;
|
|
2313
|
+
targetAccountId?: string | null | undefined;
|
|
2339
2314
|
};
|
|
2340
2315
|
} | {
|
|
2341
2316
|
type: "REPUBLISHING_RETRY";
|
|
2342
2317
|
data: {
|
|
2343
|
-
maxAttempts: number;
|
|
2344
2318
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2345
2319
|
attemptNumber: number;
|
|
2320
|
+
maxAttempts: number;
|
|
2346
2321
|
previousHistoryId: string;
|
|
2347
2322
|
originalFailureDate: Date;
|
|
2323
|
+
fields?: {
|
|
2324
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2325
|
+
autoFixable: boolean;
|
|
2326
|
+
error?: string | null | undefined;
|
|
2327
|
+
}[] | null | undefined;
|
|
2348
2328
|
priceDropPayload?: {
|
|
2349
2329
|
value: number;
|
|
2350
2330
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2352,11 +2332,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2352
2332
|
roundStep?: number | null | undefined;
|
|
2353
2333
|
maxRounds?: number | null | undefined;
|
|
2354
2334
|
} | null | undefined;
|
|
2355
|
-
fields?: {
|
|
2356
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2357
|
-
autoFixable: boolean;
|
|
2358
|
-
error?: string | null | undefined;
|
|
2359
|
-
}[] | null | undefined;
|
|
2360
2335
|
};
|
|
2361
2336
|
} | {
|
|
2362
2337
|
type: "SCHEDULED";
|
|
@@ -2367,64 +2342,75 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2367
2342
|
} | {
|
|
2368
2343
|
type: "SCHEDULED_RETRY";
|
|
2369
2344
|
data: {
|
|
2370
|
-
maxAttempts: number;
|
|
2371
2345
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2372
2346
|
attemptNumber: number;
|
|
2347
|
+
maxAttempts: number;
|
|
2373
2348
|
previousHistoryId: string;
|
|
2374
2349
|
originalFailureDate: Date;
|
|
2375
2350
|
fields?: {
|
|
2376
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2351
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2377
2352
|
autoFixable: boolean;
|
|
2378
2353
|
error?: string | null | undefined;
|
|
2379
2354
|
}[] | null | undefined;
|
|
2380
2355
|
};
|
|
2381
2356
|
} | null | undefined;
|
|
2382
2357
|
accountId?: string | null | undefined;
|
|
2358
|
+
requestId?: string | null | undefined;
|
|
2383
2359
|
targetDate?: Date | null | undefined;
|
|
2384
2360
|
} | null | undefined;
|
|
2361
|
+
platforms?: {
|
|
2362
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2363
|
+
id: string;
|
|
2364
|
+
updatedAt: Date;
|
|
2365
|
+
createdAt: Date;
|
|
2366
|
+
accountId: string;
|
|
2367
|
+
itemId: string | number;
|
|
2368
|
+
platformId: string;
|
|
2369
|
+
platformUrl: string;
|
|
2370
|
+
platformPrice: number;
|
|
2371
|
+
publishedAt: Date;
|
|
2372
|
+
conversationId?: string | null | undefined;
|
|
2373
|
+
account?: {
|
|
2374
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2375
|
+
userId: string | number;
|
|
2376
|
+
name: string;
|
|
2377
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2378
|
+
accountId: string;
|
|
2379
|
+
locale?: string | null | undefined;
|
|
2380
|
+
night?: {
|
|
2381
|
+
startsAt: Date;
|
|
2382
|
+
endsAt: Date;
|
|
2383
|
+
} | null | undefined;
|
|
2384
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2385
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2386
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2387
|
+
} | null | undefined;
|
|
2388
|
+
viewsCount?: number | null | undefined;
|
|
2389
|
+
favoritesCount?: number | null | undefined;
|
|
2390
|
+
}[] | null | undefined;
|
|
2385
2391
|
}, {
|
|
2392
|
+
userId: string | number;
|
|
2386
2393
|
id: string | number;
|
|
2387
|
-
createdAt: Date;
|
|
2388
2394
|
updatedAt: Date;
|
|
2389
|
-
userId: string | number;
|
|
2390
2395
|
name: string;
|
|
2396
|
+
createdAt: Date;
|
|
2391
2397
|
sold: boolean;
|
|
2392
2398
|
state?: number | null | undefined;
|
|
2393
|
-
fees?: {
|
|
2394
|
-
value: number;
|
|
2395
|
-
type: string;
|
|
2396
|
-
id: string | number;
|
|
2397
|
-
createdAt: Date;
|
|
2398
|
-
updatedAt: Date;
|
|
2399
|
-
userId: string | number;
|
|
2400
|
-
name: string;
|
|
2401
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2402
|
-
startDate: Date;
|
|
2403
|
-
active: boolean;
|
|
2404
|
-
description?: string | null | undefined;
|
|
2405
|
-
itemId?: string | number | null | undefined;
|
|
2406
|
-
endDate?: Date | null | undefined;
|
|
2407
|
-
parentFeeId?: string | number | null | undefined;
|
|
2408
|
-
}[] | null | undefined;
|
|
2409
|
-
description?: string | null | undefined;
|
|
2410
|
-
categoryId?: number | null | undefined;
|
|
2411
|
-
sizeId?: number | null | undefined;
|
|
2412
2399
|
colorIds?: number[] | null | undefined;
|
|
2400
|
+
description?: string | null | undefined;
|
|
2413
2401
|
packageSizeId?: number | null | undefined;
|
|
2414
|
-
|
|
2415
|
-
estimatedPrice?: number | null | undefined;
|
|
2416
|
-
purchaseDate?: Date | null | undefined;
|
|
2417
|
-
sellingDate?: Date | null | undefined;
|
|
2402
|
+
sizeId?: number | null | undefined;
|
|
2418
2403
|
labels?: {
|
|
2419
2404
|
itemId: string | number;
|
|
2420
2405
|
labelId: string | number;
|
|
2421
2406
|
label?: {
|
|
2422
2407
|
id: string | number;
|
|
2423
|
-
createdAt: Date;
|
|
2424
2408
|
name: string;
|
|
2409
|
+
createdAt: Date;
|
|
2425
2410
|
isUserLabel: boolean;
|
|
2426
|
-
itemCount?: number | null | undefined;
|
|
2427
2411
|
userId?: string | number | null | undefined;
|
|
2412
|
+
itemCount?: number | null | undefined;
|
|
2413
|
+
parentId?: unknown;
|
|
2428
2414
|
} | null | undefined;
|
|
2429
2415
|
}[] | null | undefined;
|
|
2430
2416
|
files?: {
|
|
@@ -2433,59 +2419,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2433
2419
|
index?: number | null | undefined;
|
|
2434
2420
|
file?: {
|
|
2435
2421
|
path: string;
|
|
2422
|
+
userId: string | number;
|
|
2436
2423
|
id: string;
|
|
2437
2424
|
createdAt: Date;
|
|
2438
|
-
userId: string | number;
|
|
2439
2425
|
signedUrl: string;
|
|
2440
2426
|
} | null | undefined;
|
|
2441
2427
|
}[] | null | undefined;
|
|
2442
|
-
platforms?: {
|
|
2443
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2444
|
-
id: string;
|
|
2445
|
-
createdAt: Date;
|
|
2446
|
-
updatedAt: Date;
|
|
2447
|
-
accountId: string;
|
|
2448
|
-
itemId: string | number;
|
|
2449
|
-
platformId: string;
|
|
2450
|
-
platformUrl: string;
|
|
2451
|
-
platformPrice: number;
|
|
2452
|
-
publishedAt: Date;
|
|
2453
|
-
favoritesCount?: number | null | undefined;
|
|
2454
|
-
viewsCount?: number | null | undefined;
|
|
2455
|
-
conversationId?: string | null | undefined;
|
|
2456
|
-
account?: {
|
|
2457
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2458
|
-
userId: string | number;
|
|
2459
|
-
name: string;
|
|
2460
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2461
|
-
accountId: string;
|
|
2462
|
-
locale?: string | null | undefined;
|
|
2463
|
-
night?: {
|
|
2464
|
-
startsAt: Date;
|
|
2465
|
-
endsAt: Date;
|
|
2466
|
-
} | null | undefined;
|
|
2467
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2468
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2469
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2470
|
-
} | null | undefined;
|
|
2471
|
-
}[] | null | undefined;
|
|
2472
2428
|
fields?: {
|
|
2473
2429
|
value: string;
|
|
2474
2430
|
itemId: string | number;
|
|
2475
2431
|
fieldId: string | number;
|
|
2476
2432
|
}[] | null | undefined;
|
|
2477
2433
|
sku?: string | null | undefined;
|
|
2434
|
+
categoryId?: number | null | undefined;
|
|
2435
|
+
brandId?: string | number | null | undefined;
|
|
2478
2436
|
sex?: string | null | undefined;
|
|
2479
2437
|
purchasePrice?: number | null | undefined;
|
|
2438
|
+
purchaseDate?: Date | null | undefined;
|
|
2480
2439
|
purchasePlaceId?: string | number | null | undefined;
|
|
2481
2440
|
purchased?: boolean | null | undefined;
|
|
2482
2441
|
sellingPrice?: number | null | undefined;
|
|
2442
|
+
sellingDate?: Date | null | undefined;
|
|
2483
2443
|
sellingPlaceId?: string | number | null | undefined;
|
|
2444
|
+
estimatedPrice?: number | null | undefined;
|
|
2445
|
+
fees?: {
|
|
2446
|
+
value: number;
|
|
2447
|
+
type: string;
|
|
2448
|
+
userId: string | number;
|
|
2449
|
+
id: string | number;
|
|
2450
|
+
updatedAt: Date;
|
|
2451
|
+
name: string;
|
|
2452
|
+
createdAt: Date;
|
|
2453
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2454
|
+
startDate: Date;
|
|
2455
|
+
active: boolean;
|
|
2456
|
+
description?: string | null | undefined;
|
|
2457
|
+
itemId?: string | number | null | undefined;
|
|
2458
|
+
endDate?: Date | null | undefined;
|
|
2459
|
+
parentFeeId?: string | number | null | undefined;
|
|
2460
|
+
}[] | null | undefined;
|
|
2484
2461
|
feesSum?: number | null | undefined;
|
|
2485
2462
|
customerId?: string | number | null | undefined;
|
|
2486
2463
|
customer?: {
|
|
2487
|
-
id: string | number;
|
|
2488
2464
|
userId: string | number;
|
|
2465
|
+
id: string | number;
|
|
2489
2466
|
email: string;
|
|
2490
2467
|
firstName: string;
|
|
2491
2468
|
lastName: string;
|
|
@@ -2506,7 +2483,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2506
2483
|
id: string;
|
|
2507
2484
|
createdAt: Date;
|
|
2508
2485
|
itemId: string | number;
|
|
2509
|
-
requestId?: string | null | undefined;
|
|
2510
2486
|
data?: {
|
|
2511
2487
|
type: "ACTION_CANCELED";
|
|
2512
2488
|
data: {
|
|
@@ -2535,7 +2511,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2535
2511
|
accountId?: string | null | undefined;
|
|
2536
2512
|
reason?: string | null | undefined;
|
|
2537
2513
|
fields?: {
|
|
2538
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2514
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2539
2515
|
autoFixable: boolean;
|
|
2540
2516
|
error?: string | null | undefined;
|
|
2541
2517
|
}[] | null | undefined;
|
|
@@ -2562,22 +2538,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2562
2538
|
platformId: string;
|
|
2563
2539
|
post: {
|
|
2564
2540
|
status?: string | null | undefined;
|
|
2565
|
-
title?: string | null | undefined;
|
|
2566
|
-
description?: string | null | undefined;
|
|
2567
|
-
brand?: string | null | undefined;
|
|
2568
|
-
statusId?: number | null | undefined;
|
|
2569
|
-
sizeId?: number | null | undefined;
|
|
2570
|
-
colorIds?: number[] | null | undefined;
|
|
2571
|
-
packageSizeId?: number | null | undefined;
|
|
2572
2541
|
price?: number | null | undefined;
|
|
2573
2542
|
currency?: string | null | undefined;
|
|
2543
|
+
brand?: string | null | undefined;
|
|
2574
2544
|
catalog?: string | null | undefined;
|
|
2575
2545
|
catalogId?: number | null | undefined;
|
|
2576
2546
|
colors?: string[] | null | undefined;
|
|
2547
|
+
colorIds?: number[] | null | undefined;
|
|
2548
|
+
description?: string | null | undefined;
|
|
2577
2549
|
measurementLength?: number | null | undefined;
|
|
2578
2550
|
measurementWidth?: number | null | undefined;
|
|
2551
|
+
packageSizeId?: number | null | undefined;
|
|
2579
2552
|
photoUrls?: string[] | null | undefined;
|
|
2580
2553
|
size?: string | null | undefined;
|
|
2554
|
+
sizeId?: number | null | undefined;
|
|
2555
|
+
statusId?: number | null | undefined;
|
|
2556
|
+
title?: string | null | undefined;
|
|
2581
2557
|
isDraft?: boolean | null | undefined;
|
|
2582
2558
|
isArchived?: boolean | null | undefined;
|
|
2583
2559
|
availableQuantity?: number | null | undefined;
|
|
@@ -2597,13 +2573,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2597
2573
|
} | {
|
|
2598
2574
|
type: "LIFECYCLE_STARTED";
|
|
2599
2575
|
data: {
|
|
2600
|
-
caseId: string;
|
|
2601
2576
|
accountId: string;
|
|
2577
|
+
caseId: string;
|
|
2602
2578
|
};
|
|
2603
2579
|
} | {
|
|
2604
2580
|
type: "REPUBLISHING";
|
|
2605
2581
|
data: {
|
|
2606
2582
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2583
|
+
publishingDate?: Date | null | undefined;
|
|
2607
2584
|
priceDropPayload?: {
|
|
2608
2585
|
value: number;
|
|
2609
2586
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2611,18 +2588,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2611
2588
|
roundStep?: number | null | undefined;
|
|
2612
2589
|
maxRounds?: number | null | undefined;
|
|
2613
2590
|
} | null | undefined;
|
|
2614
|
-
publishingDate?: Date | null | undefined;
|
|
2615
|
-
targetAccountId?: string | null | undefined;
|
|
2616
2591
|
isTransfer?: boolean | null | undefined;
|
|
2592
|
+
targetAccountId?: string | null | undefined;
|
|
2617
2593
|
};
|
|
2618
2594
|
} | {
|
|
2619
2595
|
type: "REPUBLISHING_RETRY";
|
|
2620
2596
|
data: {
|
|
2621
|
-
maxAttempts: number;
|
|
2622
2597
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2623
2598
|
attemptNumber: number;
|
|
2599
|
+
maxAttempts: number;
|
|
2624
2600
|
previousHistoryId: string;
|
|
2625
2601
|
originalFailureDate: Date;
|
|
2602
|
+
fields?: {
|
|
2603
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2604
|
+
autoFixable: boolean;
|
|
2605
|
+
error?: string | null | undefined;
|
|
2606
|
+
}[] | null | undefined;
|
|
2626
2607
|
priceDropPayload?: {
|
|
2627
2608
|
value: number;
|
|
2628
2609
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2630,11 +2611,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2630
2611
|
roundStep?: number | null | undefined;
|
|
2631
2612
|
maxRounds?: number | null | undefined;
|
|
2632
2613
|
} | null | undefined;
|
|
2633
|
-
fields?: {
|
|
2634
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2635
|
-
autoFixable: boolean;
|
|
2636
|
-
error?: string | null | undefined;
|
|
2637
|
-
}[] | null | undefined;
|
|
2638
2614
|
};
|
|
2639
2615
|
} | {
|
|
2640
2616
|
type: "SCHEDULED";
|
|
@@ -2645,66 +2621,77 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2645
2621
|
} | {
|
|
2646
2622
|
type: "SCHEDULED_RETRY";
|
|
2647
2623
|
data: {
|
|
2648
|
-
maxAttempts: number;
|
|
2649
2624
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2650
2625
|
attemptNumber: number;
|
|
2626
|
+
maxAttempts: number;
|
|
2651
2627
|
previousHistoryId: string;
|
|
2652
2628
|
originalFailureDate: Date;
|
|
2653
2629
|
fields?: {
|
|
2654
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2630
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2655
2631
|
autoFixable: boolean;
|
|
2656
2632
|
error?: string | null | undefined;
|
|
2657
2633
|
}[] | null | undefined;
|
|
2658
2634
|
};
|
|
2659
2635
|
} | null | undefined;
|
|
2660
2636
|
accountId?: string | null | undefined;
|
|
2637
|
+
requestId?: string | null | undefined;
|
|
2661
2638
|
targetDate?: Date | null | undefined;
|
|
2662
2639
|
} | null | undefined;
|
|
2640
|
+
platforms?: {
|
|
2641
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2642
|
+
id: string;
|
|
2643
|
+
updatedAt: Date;
|
|
2644
|
+
createdAt: Date;
|
|
2645
|
+
accountId: string;
|
|
2646
|
+
itemId: string | number;
|
|
2647
|
+
platformId: string;
|
|
2648
|
+
platformUrl: string;
|
|
2649
|
+
platformPrice: number;
|
|
2650
|
+
publishedAt: Date;
|
|
2651
|
+
conversationId?: string | null | undefined;
|
|
2652
|
+
account?: {
|
|
2653
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2654
|
+
userId: string | number;
|
|
2655
|
+
name: string;
|
|
2656
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2657
|
+
accountId: string;
|
|
2658
|
+
locale?: string | null | undefined;
|
|
2659
|
+
night?: {
|
|
2660
|
+
startsAt: Date;
|
|
2661
|
+
endsAt: Date;
|
|
2662
|
+
} | null | undefined;
|
|
2663
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2664
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2665
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2666
|
+
} | null | undefined;
|
|
2667
|
+
viewsCount?: number | null | undefined;
|
|
2668
|
+
favoritesCount?: number | null | undefined;
|
|
2669
|
+
}[] | null | undefined;
|
|
2663
2670
|
}>, "many">;
|
|
2664
2671
|
}, "strip", z.ZodTypeAny, {
|
|
2665
2672
|
items: {
|
|
2673
|
+
userId: string | number;
|
|
2666
2674
|
id: string | number;
|
|
2667
|
-
createdAt: Date;
|
|
2668
2675
|
updatedAt: Date;
|
|
2669
|
-
userId: string | number;
|
|
2670
2676
|
name: string;
|
|
2677
|
+
createdAt: Date;
|
|
2671
2678
|
sold: boolean;
|
|
2672
2679
|
state?: number | null | undefined;
|
|
2673
|
-
fees?: {
|
|
2674
|
-
value: number;
|
|
2675
|
-
type: string;
|
|
2676
|
-
id: string | number;
|
|
2677
|
-
createdAt: Date;
|
|
2678
|
-
updatedAt: Date;
|
|
2679
|
-
userId: string | number;
|
|
2680
|
-
name: string;
|
|
2681
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2682
|
-
startDate: Date;
|
|
2683
|
-
active: boolean;
|
|
2684
|
-
description?: string | null | undefined;
|
|
2685
|
-
itemId?: string | number | null | undefined;
|
|
2686
|
-
endDate?: Date | null | undefined;
|
|
2687
|
-
parentFeeId?: string | number | null | undefined;
|
|
2688
|
-
}[] | null | undefined;
|
|
2689
|
-
description?: string | null | undefined;
|
|
2690
|
-
categoryId?: number | null | undefined;
|
|
2691
|
-
sizeId?: number | null | undefined;
|
|
2692
2680
|
colorIds?: number[] | null | undefined;
|
|
2681
|
+
description?: string | null | undefined;
|
|
2693
2682
|
packageSizeId?: number | null | undefined;
|
|
2694
|
-
|
|
2695
|
-
estimatedPrice?: number | null | undefined;
|
|
2696
|
-
purchaseDate?: Date | null | undefined;
|
|
2697
|
-
sellingDate?: Date | null | undefined;
|
|
2683
|
+
sizeId?: number | null | undefined;
|
|
2698
2684
|
labels?: {
|
|
2699
2685
|
itemId: string | number;
|
|
2700
2686
|
labelId: string | number;
|
|
2701
2687
|
label?: {
|
|
2702
2688
|
id: string | number;
|
|
2703
|
-
createdAt: Date;
|
|
2704
2689
|
name: string;
|
|
2690
|
+
createdAt: Date;
|
|
2705
2691
|
isUserLabel: boolean;
|
|
2706
|
-
itemCount?: number | null | undefined;
|
|
2707
2692
|
userId?: string | number | null | undefined;
|
|
2693
|
+
itemCount?: number | null | undefined;
|
|
2694
|
+
parentId?: unknown;
|
|
2708
2695
|
} | null | undefined;
|
|
2709
2696
|
}[] | null | undefined;
|
|
2710
2697
|
files?: {
|
|
@@ -2713,59 +2700,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2713
2700
|
index?: number | null | undefined;
|
|
2714
2701
|
file?: {
|
|
2715
2702
|
path: string;
|
|
2703
|
+
userId: string | number;
|
|
2716
2704
|
id: string;
|
|
2717
2705
|
createdAt: Date;
|
|
2718
|
-
userId: string | number;
|
|
2719
2706
|
signedUrl: string;
|
|
2720
2707
|
} | null | undefined;
|
|
2721
2708
|
}[] | null | undefined;
|
|
2722
|
-
platforms?: {
|
|
2723
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2724
|
-
id: string;
|
|
2725
|
-
createdAt: Date;
|
|
2726
|
-
updatedAt: Date;
|
|
2727
|
-
accountId: string;
|
|
2728
|
-
itemId: string | number;
|
|
2729
|
-
platformId: string;
|
|
2730
|
-
platformUrl: string;
|
|
2731
|
-
platformPrice: number;
|
|
2732
|
-
publishedAt: Date;
|
|
2733
|
-
favoritesCount?: number | null | undefined;
|
|
2734
|
-
viewsCount?: number | null | undefined;
|
|
2735
|
-
conversationId?: string | null | undefined;
|
|
2736
|
-
account?: {
|
|
2737
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2738
|
-
userId: string | number;
|
|
2739
|
-
name: string;
|
|
2740
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2741
|
-
accountId: string;
|
|
2742
|
-
locale?: string | null | undefined;
|
|
2743
|
-
night?: {
|
|
2744
|
-
startsAt: Date;
|
|
2745
|
-
endsAt: Date;
|
|
2746
|
-
} | null | undefined;
|
|
2747
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2748
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2749
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2750
|
-
} | null | undefined;
|
|
2751
|
-
}[] | null | undefined;
|
|
2752
2709
|
fields?: {
|
|
2753
2710
|
value: string;
|
|
2754
2711
|
itemId: string | number;
|
|
2755
2712
|
fieldId: string | number;
|
|
2756
2713
|
}[] | null | undefined;
|
|
2757
2714
|
sku?: string | null | undefined;
|
|
2715
|
+
categoryId?: number | null | undefined;
|
|
2716
|
+
brandId?: string | number | null | undefined;
|
|
2758
2717
|
sex?: string | null | undefined;
|
|
2759
2718
|
purchasePrice?: number | null | undefined;
|
|
2719
|
+
purchaseDate?: Date | null | undefined;
|
|
2760
2720
|
purchasePlaceId?: string | number | null | undefined;
|
|
2761
2721
|
purchased?: boolean | null | undefined;
|
|
2762
2722
|
sellingPrice?: number | null | undefined;
|
|
2723
|
+
sellingDate?: Date | null | undefined;
|
|
2763
2724
|
sellingPlaceId?: string | number | null | undefined;
|
|
2725
|
+
estimatedPrice?: number | null | undefined;
|
|
2726
|
+
fees?: {
|
|
2727
|
+
value: number;
|
|
2728
|
+
type: string;
|
|
2729
|
+
userId: string | number;
|
|
2730
|
+
id: string | number;
|
|
2731
|
+
updatedAt: Date;
|
|
2732
|
+
name: string;
|
|
2733
|
+
createdAt: Date;
|
|
2734
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2735
|
+
startDate: Date;
|
|
2736
|
+
active: boolean;
|
|
2737
|
+
description?: string | null | undefined;
|
|
2738
|
+
itemId?: string | number | null | undefined;
|
|
2739
|
+
endDate?: Date | null | undefined;
|
|
2740
|
+
parentFeeId?: string | number | null | undefined;
|
|
2741
|
+
}[] | null | undefined;
|
|
2764
2742
|
feesSum?: number | null | undefined;
|
|
2765
2743
|
customerId?: string | number | null | undefined;
|
|
2766
2744
|
customer?: {
|
|
2767
|
-
id: string | number;
|
|
2768
2745
|
userId: string | number;
|
|
2746
|
+
id: string | number;
|
|
2769
2747
|
email: string;
|
|
2770
2748
|
firstName: string;
|
|
2771
2749
|
lastName: string;
|
|
@@ -2786,7 +2764,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2786
2764
|
id: string;
|
|
2787
2765
|
createdAt: Date;
|
|
2788
2766
|
itemId: string | number;
|
|
2789
|
-
requestId?: string | null | undefined;
|
|
2790
2767
|
data?: {
|
|
2791
2768
|
type: "ACTION_CANCELED";
|
|
2792
2769
|
data: {
|
|
@@ -2815,7 +2792,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2815
2792
|
accountId?: string | null | undefined;
|
|
2816
2793
|
reason?: string | null | undefined;
|
|
2817
2794
|
fields?: {
|
|
2818
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2795
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2819
2796
|
autoFixable: boolean;
|
|
2820
2797
|
error?: string | null | undefined;
|
|
2821
2798
|
}[] | null | undefined;
|
|
@@ -2842,22 +2819,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2842
2819
|
platformId: string;
|
|
2843
2820
|
post: {
|
|
2844
2821
|
status?: string | null | undefined;
|
|
2845
|
-
title?: string | null | undefined;
|
|
2846
|
-
description?: string | null | undefined;
|
|
2847
|
-
brand?: string | null | undefined;
|
|
2848
|
-
statusId?: number | null | undefined;
|
|
2849
|
-
sizeId?: number | null | undefined;
|
|
2850
|
-
colorIds?: number[] | null | undefined;
|
|
2851
|
-
packageSizeId?: number | null | undefined;
|
|
2852
2822
|
price?: number | null | undefined;
|
|
2853
2823
|
currency?: string | null | undefined;
|
|
2824
|
+
brand?: string | null | undefined;
|
|
2854
2825
|
catalog?: string | null | undefined;
|
|
2855
2826
|
catalogId?: number | null | undefined;
|
|
2856
2827
|
colors?: string[] | null | undefined;
|
|
2828
|
+
colorIds?: number[] | null | undefined;
|
|
2829
|
+
description?: string | null | undefined;
|
|
2857
2830
|
measurementLength?: number | null | undefined;
|
|
2858
2831
|
measurementWidth?: number | null | undefined;
|
|
2832
|
+
packageSizeId?: number | null | undefined;
|
|
2859
2833
|
photoUrls?: string[] | null | undefined;
|
|
2860
2834
|
size?: string | null | undefined;
|
|
2835
|
+
sizeId?: number | null | undefined;
|
|
2836
|
+
statusId?: number | null | undefined;
|
|
2837
|
+
title?: string | null | undefined;
|
|
2861
2838
|
isDraft?: boolean | null | undefined;
|
|
2862
2839
|
isArchived?: boolean | null | undefined;
|
|
2863
2840
|
availableQuantity?: number | null | undefined;
|
|
@@ -2877,13 +2854,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2877
2854
|
} | {
|
|
2878
2855
|
type: "LIFECYCLE_STARTED";
|
|
2879
2856
|
data: {
|
|
2880
|
-
caseId: string;
|
|
2881
2857
|
accountId: string;
|
|
2858
|
+
caseId: string;
|
|
2882
2859
|
};
|
|
2883
2860
|
} | {
|
|
2884
2861
|
type: "REPUBLISHING";
|
|
2885
2862
|
data: {
|
|
2886
2863
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2864
|
+
publishingDate?: Date | null | undefined;
|
|
2887
2865
|
priceDropPayload?: {
|
|
2888
2866
|
value: number;
|
|
2889
2867
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2891,18 +2869,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2891
2869
|
roundStep?: number | null | undefined;
|
|
2892
2870
|
maxRounds?: number | null | undefined;
|
|
2893
2871
|
} | null | undefined;
|
|
2894
|
-
publishingDate?: Date | null | undefined;
|
|
2895
|
-
targetAccountId?: string | null | undefined;
|
|
2896
2872
|
isTransfer?: boolean | null | undefined;
|
|
2873
|
+
targetAccountId?: string | null | undefined;
|
|
2897
2874
|
};
|
|
2898
2875
|
} | {
|
|
2899
2876
|
type: "REPUBLISHING_RETRY";
|
|
2900
2877
|
data: {
|
|
2901
|
-
maxAttempts: number;
|
|
2902
2878
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2903
2879
|
attemptNumber: number;
|
|
2880
|
+
maxAttempts: number;
|
|
2904
2881
|
previousHistoryId: string;
|
|
2905
2882
|
originalFailureDate: Date;
|
|
2883
|
+
fields?: {
|
|
2884
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2885
|
+
autoFixable: boolean;
|
|
2886
|
+
error?: string | null | undefined;
|
|
2887
|
+
}[] | null | undefined;
|
|
2906
2888
|
priceDropPayload?: {
|
|
2907
2889
|
value: number;
|
|
2908
2890
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2910,11 +2892,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2910
2892
|
roundStep?: number | null | undefined;
|
|
2911
2893
|
maxRounds?: number | null | undefined;
|
|
2912
2894
|
} | null | undefined;
|
|
2913
|
-
fields?: {
|
|
2914
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2915
|
-
autoFixable: boolean;
|
|
2916
|
-
error?: string | null | undefined;
|
|
2917
|
-
}[] | null | undefined;
|
|
2918
2895
|
};
|
|
2919
2896
|
} | {
|
|
2920
2897
|
type: "SCHEDULED";
|
|
@@ -2925,67 +2902,64 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2925
2902
|
} | {
|
|
2926
2903
|
type: "SCHEDULED_RETRY";
|
|
2927
2904
|
data: {
|
|
2928
|
-
maxAttempts: number;
|
|
2929
2905
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2930
2906
|
attemptNumber: number;
|
|
2907
|
+
maxAttempts: number;
|
|
2931
2908
|
previousHistoryId: string;
|
|
2932
2909
|
originalFailureDate: Date;
|
|
2933
2910
|
fields?: {
|
|
2934
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2911
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2935
2912
|
autoFixable: boolean;
|
|
2936
2913
|
error?: string | null | undefined;
|
|
2937
2914
|
}[] | null | undefined;
|
|
2938
2915
|
};
|
|
2939
2916
|
} | null | undefined;
|
|
2940
2917
|
accountId?: string | null | undefined;
|
|
2918
|
+
requestId?: string | null | undefined;
|
|
2941
2919
|
targetDate?: Date | null | undefined;
|
|
2942
2920
|
} | null | undefined;
|
|
2921
|
+
platforms?: {
|
|
2922
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2923
|
+
id: string;
|
|
2924
|
+
updatedAt: Date;
|
|
2925
|
+
createdAt: Date;
|
|
2926
|
+
accountId: string;
|
|
2927
|
+
itemId: string | number;
|
|
2928
|
+
platformId: string;
|
|
2929
|
+
platformUrl: string;
|
|
2930
|
+
platformPrice: number;
|
|
2931
|
+
publishedAt: Date;
|
|
2932
|
+
conversationId?: string | null | undefined;
|
|
2933
|
+
account?: {
|
|
2934
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2935
|
+
userId: string | number;
|
|
2936
|
+
name: string;
|
|
2937
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2938
|
+
accountId: string;
|
|
2939
|
+
locale?: string | null | undefined;
|
|
2940
|
+
night?: {
|
|
2941
|
+
startsAt: Date;
|
|
2942
|
+
endsAt: Date;
|
|
2943
|
+
} | null | undefined;
|
|
2944
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2945
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2946
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2947
|
+
} | null | undefined;
|
|
2948
|
+
viewsCount?: number | null | undefined;
|
|
2949
|
+
favoritesCount?: number | null | undefined;
|
|
2950
|
+
}[] | null | undefined;
|
|
2943
2951
|
}[];
|
|
2944
2952
|
order: {
|
|
2945
2953
|
type: "SALE" | "PURCHASE";
|
|
2946
2954
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
2947
2955
|
date: Date;
|
|
2948
2956
|
id: string;
|
|
2949
|
-
accountId: string;
|
|
2950
2957
|
price: number;
|
|
2958
|
+
accountId: string;
|
|
2951
2959
|
isPrepared: boolean;
|
|
2952
2960
|
platformOrderId: string;
|
|
2953
|
-
items?: {
|
|
2954
|
-
orderId: string;
|
|
2955
|
-
itemOnPlatformId: string;
|
|
2956
|
-
itemOnPlatform?: {
|
|
2957
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2958
|
-
id: string;
|
|
2959
|
-
createdAt: Date;
|
|
2960
|
-
updatedAt: Date;
|
|
2961
|
-
accountId: string;
|
|
2962
|
-
itemId: string | number;
|
|
2963
|
-
platformId: string;
|
|
2964
|
-
platformUrl: string;
|
|
2965
|
-
platformPrice: number;
|
|
2966
|
-
publishedAt: Date;
|
|
2967
|
-
favoritesCount?: number | null | undefined;
|
|
2968
|
-
viewsCount?: number | null | undefined;
|
|
2969
|
-
conversationId?: string | null | undefined;
|
|
2970
|
-
account?: {
|
|
2971
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2972
|
-
userId: string | number;
|
|
2973
|
-
name: string;
|
|
2974
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2975
|
-
accountId: string;
|
|
2976
|
-
locale?: string | null | undefined;
|
|
2977
|
-
night?: {
|
|
2978
|
-
startsAt: Date;
|
|
2979
|
-
endsAt: Date;
|
|
2980
|
-
} | null | undefined;
|
|
2981
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2982
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2983
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2984
|
-
} | null | undefined;
|
|
2985
|
-
} | null | undefined;
|
|
2986
|
-
}[] | null | undefined;
|
|
2987
|
-
conversationId?: string | null | undefined;
|
|
2988
2961
|
transactionId?: string | null | undefined;
|
|
2962
|
+
conversationId?: string | null | undefined;
|
|
2989
2963
|
labels?: {
|
|
2990
2964
|
id: string;
|
|
2991
2965
|
orderId: string;
|
|
@@ -2994,23 +2968,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2994
2968
|
originalFileId: string;
|
|
2995
2969
|
file?: {
|
|
2996
2970
|
path: string;
|
|
2971
|
+
userId: string | number;
|
|
2997
2972
|
id: string;
|
|
2998
2973
|
createdAt: Date;
|
|
2999
|
-
userId: string | number;
|
|
3000
2974
|
signedUrl: string;
|
|
3001
2975
|
} | null | undefined;
|
|
3002
2976
|
originalFile?: {
|
|
3003
2977
|
path: string;
|
|
2978
|
+
userId: string | number;
|
|
3004
2979
|
id: string;
|
|
3005
2980
|
createdAt: Date;
|
|
3006
|
-
userId: string | number;
|
|
3007
2981
|
signedUrl: string;
|
|
3008
2982
|
} | null | undefined;
|
|
3009
2983
|
nonCroppedFile?: {
|
|
3010
2984
|
path: string;
|
|
2985
|
+
userId: string | number;
|
|
3011
2986
|
id: string;
|
|
3012
2987
|
createdAt: Date;
|
|
3013
|
-
userId: string | number;
|
|
3014
2988
|
signedUrl: string;
|
|
3015
2989
|
} | null | undefined;
|
|
3016
2990
|
}[] | null | undefined;
|
|
@@ -3035,51 +3009,65 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3035
3009
|
longitude?: number | null | undefined;
|
|
3036
3010
|
} | null | undefined;
|
|
3037
3011
|
}[] | null | undefined;
|
|
3012
|
+
items?: {
|
|
3013
|
+
orderId: string;
|
|
3014
|
+
itemOnPlatformId: string;
|
|
3015
|
+
itemOnPlatform?: {
|
|
3016
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3017
|
+
id: string;
|
|
3018
|
+
updatedAt: Date;
|
|
3019
|
+
createdAt: Date;
|
|
3020
|
+
accountId: string;
|
|
3021
|
+
itemId: string | number;
|
|
3022
|
+
platformId: string;
|
|
3023
|
+
platformUrl: string;
|
|
3024
|
+
platformPrice: number;
|
|
3025
|
+
publishedAt: Date;
|
|
3026
|
+
conversationId?: string | null | undefined;
|
|
3027
|
+
account?: {
|
|
3028
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3029
|
+
userId: string | number;
|
|
3030
|
+
name: string;
|
|
3031
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3032
|
+
accountId: string;
|
|
3033
|
+
locale?: string | null | undefined;
|
|
3034
|
+
night?: {
|
|
3035
|
+
startsAt: Date;
|
|
3036
|
+
endsAt: Date;
|
|
3037
|
+
} | null | undefined;
|
|
3038
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3039
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3040
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3041
|
+
} | null | undefined;
|
|
3042
|
+
viewsCount?: number | null | undefined;
|
|
3043
|
+
favoritesCount?: number | null | undefined;
|
|
3044
|
+
} | null | undefined;
|
|
3045
|
+
}[] | null | undefined;
|
|
3038
3046
|
};
|
|
3039
3047
|
}, {
|
|
3040
3048
|
items: {
|
|
3049
|
+
userId: string | number;
|
|
3041
3050
|
id: string | number;
|
|
3042
|
-
createdAt: Date;
|
|
3043
3051
|
updatedAt: Date;
|
|
3044
|
-
userId: string | number;
|
|
3045
3052
|
name: string;
|
|
3053
|
+
createdAt: Date;
|
|
3046
3054
|
sold: boolean;
|
|
3047
3055
|
state?: number | null | undefined;
|
|
3048
|
-
fees?: {
|
|
3049
|
-
value: number;
|
|
3050
|
-
type: string;
|
|
3051
|
-
id: string | number;
|
|
3052
|
-
createdAt: Date;
|
|
3053
|
-
updatedAt: Date;
|
|
3054
|
-
userId: string | number;
|
|
3055
|
-
name: string;
|
|
3056
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3057
|
-
startDate: Date;
|
|
3058
|
-
active: boolean;
|
|
3059
|
-
description?: string | null | undefined;
|
|
3060
|
-
itemId?: string | number | null | undefined;
|
|
3061
|
-
endDate?: Date | null | undefined;
|
|
3062
|
-
parentFeeId?: string | number | null | undefined;
|
|
3063
|
-
}[] | null | undefined;
|
|
3064
|
-
description?: string | null | undefined;
|
|
3065
|
-
categoryId?: number | null | undefined;
|
|
3066
|
-
sizeId?: number | null | undefined;
|
|
3067
3056
|
colorIds?: number[] | null | undefined;
|
|
3057
|
+
description?: string | null | undefined;
|
|
3068
3058
|
packageSizeId?: number | null | undefined;
|
|
3069
|
-
|
|
3070
|
-
estimatedPrice?: number | null | undefined;
|
|
3071
|
-
purchaseDate?: Date | null | undefined;
|
|
3072
|
-
sellingDate?: Date | null | undefined;
|
|
3059
|
+
sizeId?: number | null | undefined;
|
|
3073
3060
|
labels?: {
|
|
3074
3061
|
itemId: string | number;
|
|
3075
3062
|
labelId: string | number;
|
|
3076
3063
|
label?: {
|
|
3077
3064
|
id: string | number;
|
|
3078
|
-
createdAt: Date;
|
|
3079
3065
|
name: string;
|
|
3066
|
+
createdAt: Date;
|
|
3080
3067
|
isUserLabel: boolean;
|
|
3081
|
-
itemCount?: number | null | undefined;
|
|
3082
3068
|
userId?: string | number | null | undefined;
|
|
3069
|
+
itemCount?: number | null | undefined;
|
|
3070
|
+
parentId?: unknown;
|
|
3083
3071
|
} | null | undefined;
|
|
3084
3072
|
}[] | null | undefined;
|
|
3085
3073
|
files?: {
|
|
@@ -3088,59 +3076,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3088
3076
|
index?: number | null | undefined;
|
|
3089
3077
|
file?: {
|
|
3090
3078
|
path: string;
|
|
3079
|
+
userId: string | number;
|
|
3091
3080
|
id: string;
|
|
3092
3081
|
createdAt: Date;
|
|
3093
|
-
userId: string | number;
|
|
3094
3082
|
signedUrl: string;
|
|
3095
3083
|
} | null | undefined;
|
|
3096
3084
|
}[] | null | undefined;
|
|
3097
|
-
platforms?: {
|
|
3098
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3099
|
-
id: string;
|
|
3100
|
-
createdAt: Date;
|
|
3101
|
-
updatedAt: Date;
|
|
3102
|
-
accountId: string;
|
|
3103
|
-
itemId: string | number;
|
|
3104
|
-
platformId: string;
|
|
3105
|
-
platformUrl: string;
|
|
3106
|
-
platformPrice: number;
|
|
3107
|
-
publishedAt: Date;
|
|
3108
|
-
favoritesCount?: number | null | undefined;
|
|
3109
|
-
viewsCount?: number | null | undefined;
|
|
3110
|
-
conversationId?: string | null | undefined;
|
|
3111
|
-
account?: {
|
|
3112
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3113
|
-
userId: string | number;
|
|
3114
|
-
name: string;
|
|
3115
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3116
|
-
accountId: string;
|
|
3117
|
-
locale?: string | null | undefined;
|
|
3118
|
-
night?: {
|
|
3119
|
-
startsAt: Date;
|
|
3120
|
-
endsAt: Date;
|
|
3121
|
-
} | null | undefined;
|
|
3122
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3123
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3124
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3125
|
-
} | null | undefined;
|
|
3126
|
-
}[] | null | undefined;
|
|
3127
3085
|
fields?: {
|
|
3128
3086
|
value: string;
|
|
3129
3087
|
itemId: string | number;
|
|
3130
3088
|
fieldId: string | number;
|
|
3131
3089
|
}[] | null | undefined;
|
|
3132
3090
|
sku?: string | null | undefined;
|
|
3091
|
+
categoryId?: number | null | undefined;
|
|
3092
|
+
brandId?: string | number | null | undefined;
|
|
3133
3093
|
sex?: string | null | undefined;
|
|
3134
3094
|
purchasePrice?: number | null | undefined;
|
|
3095
|
+
purchaseDate?: Date | null | undefined;
|
|
3135
3096
|
purchasePlaceId?: string | number | null | undefined;
|
|
3136
3097
|
purchased?: boolean | null | undefined;
|
|
3137
3098
|
sellingPrice?: number | null | undefined;
|
|
3099
|
+
sellingDate?: Date | null | undefined;
|
|
3138
3100
|
sellingPlaceId?: string | number | null | undefined;
|
|
3101
|
+
estimatedPrice?: number | null | undefined;
|
|
3102
|
+
fees?: {
|
|
3103
|
+
value: number;
|
|
3104
|
+
type: string;
|
|
3105
|
+
userId: string | number;
|
|
3106
|
+
id: string | number;
|
|
3107
|
+
updatedAt: Date;
|
|
3108
|
+
name: string;
|
|
3109
|
+
createdAt: Date;
|
|
3110
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3111
|
+
startDate: Date;
|
|
3112
|
+
active: boolean;
|
|
3113
|
+
description?: string | null | undefined;
|
|
3114
|
+
itemId?: string | number | null | undefined;
|
|
3115
|
+
endDate?: Date | null | undefined;
|
|
3116
|
+
parentFeeId?: string | number | null | undefined;
|
|
3117
|
+
}[] | null | undefined;
|
|
3139
3118
|
feesSum?: number | null | undefined;
|
|
3140
3119
|
customerId?: string | number | null | undefined;
|
|
3141
3120
|
customer?: {
|
|
3142
|
-
id: string | number;
|
|
3143
3121
|
userId: string | number;
|
|
3122
|
+
id: string | number;
|
|
3144
3123
|
email: string;
|
|
3145
3124
|
firstName: string;
|
|
3146
3125
|
lastName: string;
|
|
@@ -3161,7 +3140,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3161
3140
|
id: string;
|
|
3162
3141
|
createdAt: Date;
|
|
3163
3142
|
itemId: string | number;
|
|
3164
|
-
requestId?: string | null | undefined;
|
|
3165
3143
|
data?: {
|
|
3166
3144
|
type: "ACTION_CANCELED";
|
|
3167
3145
|
data: {
|
|
@@ -3190,7 +3168,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3190
3168
|
accountId?: string | null | undefined;
|
|
3191
3169
|
reason?: string | null | undefined;
|
|
3192
3170
|
fields?: {
|
|
3193
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3171
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3194
3172
|
autoFixable: boolean;
|
|
3195
3173
|
error?: string | null | undefined;
|
|
3196
3174
|
}[] | null | undefined;
|
|
@@ -3217,22 +3195,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3217
3195
|
platformId: string;
|
|
3218
3196
|
post: {
|
|
3219
3197
|
status?: string | null | undefined;
|
|
3220
|
-
title?: string | null | undefined;
|
|
3221
|
-
description?: string | null | undefined;
|
|
3222
|
-
brand?: string | null | undefined;
|
|
3223
|
-
statusId?: number | null | undefined;
|
|
3224
|
-
sizeId?: number | null | undefined;
|
|
3225
|
-
colorIds?: number[] | null | undefined;
|
|
3226
|
-
packageSizeId?: number | null | undefined;
|
|
3227
3198
|
price?: number | null | undefined;
|
|
3228
3199
|
currency?: string | null | undefined;
|
|
3200
|
+
brand?: string | null | undefined;
|
|
3229
3201
|
catalog?: string | null | undefined;
|
|
3230
3202
|
catalogId?: number | null | undefined;
|
|
3231
3203
|
colors?: string[] | null | undefined;
|
|
3204
|
+
colorIds?: number[] | null | undefined;
|
|
3205
|
+
description?: string | null | undefined;
|
|
3232
3206
|
measurementLength?: number | null | undefined;
|
|
3233
3207
|
measurementWidth?: number | null | undefined;
|
|
3208
|
+
packageSizeId?: number | null | undefined;
|
|
3234
3209
|
photoUrls?: string[] | null | undefined;
|
|
3235
3210
|
size?: string | null | undefined;
|
|
3211
|
+
sizeId?: number | null | undefined;
|
|
3212
|
+
statusId?: number | null | undefined;
|
|
3213
|
+
title?: string | null | undefined;
|
|
3236
3214
|
isDraft?: boolean | null | undefined;
|
|
3237
3215
|
isArchived?: boolean | null | undefined;
|
|
3238
3216
|
availableQuantity?: number | null | undefined;
|
|
@@ -3252,13 +3230,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3252
3230
|
} | {
|
|
3253
3231
|
type: "LIFECYCLE_STARTED";
|
|
3254
3232
|
data: {
|
|
3255
|
-
caseId: string;
|
|
3256
3233
|
accountId: string;
|
|
3234
|
+
caseId: string;
|
|
3257
3235
|
};
|
|
3258
3236
|
} | {
|
|
3259
3237
|
type: "REPUBLISHING";
|
|
3260
3238
|
data: {
|
|
3261
3239
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3240
|
+
publishingDate?: Date | null | undefined;
|
|
3262
3241
|
priceDropPayload?: {
|
|
3263
3242
|
value: number;
|
|
3264
3243
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3266,18 +3245,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3266
3245
|
roundStep?: number | null | undefined;
|
|
3267
3246
|
maxRounds?: number | null | undefined;
|
|
3268
3247
|
} | null | undefined;
|
|
3269
|
-
publishingDate?: Date | null | undefined;
|
|
3270
|
-
targetAccountId?: string | null | undefined;
|
|
3271
3248
|
isTransfer?: boolean | null | undefined;
|
|
3249
|
+
targetAccountId?: string | null | undefined;
|
|
3272
3250
|
};
|
|
3273
3251
|
} | {
|
|
3274
3252
|
type: "REPUBLISHING_RETRY";
|
|
3275
3253
|
data: {
|
|
3276
|
-
maxAttempts: number;
|
|
3277
3254
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3278
3255
|
attemptNumber: number;
|
|
3256
|
+
maxAttempts: number;
|
|
3279
3257
|
previousHistoryId: string;
|
|
3280
3258
|
originalFailureDate: Date;
|
|
3259
|
+
fields?: {
|
|
3260
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3261
|
+
autoFixable: boolean;
|
|
3262
|
+
error?: string | null | undefined;
|
|
3263
|
+
}[] | null | undefined;
|
|
3281
3264
|
priceDropPayload?: {
|
|
3282
3265
|
value: number;
|
|
3283
3266
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3285,11 +3268,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3285
3268
|
roundStep?: number | null | undefined;
|
|
3286
3269
|
maxRounds?: number | null | undefined;
|
|
3287
3270
|
} | null | undefined;
|
|
3288
|
-
fields?: {
|
|
3289
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3290
|
-
autoFixable: boolean;
|
|
3291
|
-
error?: string | null | undefined;
|
|
3292
|
-
}[] | null | undefined;
|
|
3293
3271
|
};
|
|
3294
3272
|
} | {
|
|
3295
3273
|
type: "SCHEDULED";
|
|
@@ -3300,67 +3278,64 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3300
3278
|
} | {
|
|
3301
3279
|
type: "SCHEDULED_RETRY";
|
|
3302
3280
|
data: {
|
|
3303
|
-
maxAttempts: number;
|
|
3304
3281
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3305
3282
|
attemptNumber: number;
|
|
3283
|
+
maxAttempts: number;
|
|
3306
3284
|
previousHistoryId: string;
|
|
3307
3285
|
originalFailureDate: Date;
|
|
3308
3286
|
fields?: {
|
|
3309
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3287
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3310
3288
|
autoFixable: boolean;
|
|
3311
3289
|
error?: string | null | undefined;
|
|
3312
3290
|
}[] | null | undefined;
|
|
3313
3291
|
};
|
|
3314
3292
|
} | null | undefined;
|
|
3315
3293
|
accountId?: string | null | undefined;
|
|
3294
|
+
requestId?: string | null | undefined;
|
|
3316
3295
|
targetDate?: Date | null | undefined;
|
|
3317
3296
|
} | null | undefined;
|
|
3297
|
+
platforms?: {
|
|
3298
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3299
|
+
id: string;
|
|
3300
|
+
updatedAt: Date;
|
|
3301
|
+
createdAt: Date;
|
|
3302
|
+
accountId: string;
|
|
3303
|
+
itemId: string | number;
|
|
3304
|
+
platformId: string;
|
|
3305
|
+
platformUrl: string;
|
|
3306
|
+
platformPrice: number;
|
|
3307
|
+
publishedAt: Date;
|
|
3308
|
+
conversationId?: string | null | undefined;
|
|
3309
|
+
account?: {
|
|
3310
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3311
|
+
userId: string | number;
|
|
3312
|
+
name: string;
|
|
3313
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3314
|
+
accountId: string;
|
|
3315
|
+
locale?: string | null | undefined;
|
|
3316
|
+
night?: {
|
|
3317
|
+
startsAt: Date;
|
|
3318
|
+
endsAt: Date;
|
|
3319
|
+
} | null | undefined;
|
|
3320
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3321
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3322
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3323
|
+
} | null | undefined;
|
|
3324
|
+
viewsCount?: number | null | undefined;
|
|
3325
|
+
favoritesCount?: number | null | undefined;
|
|
3326
|
+
}[] | null | undefined;
|
|
3318
3327
|
}[];
|
|
3319
3328
|
order: {
|
|
3320
3329
|
type: "SALE" | "PURCHASE";
|
|
3321
3330
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
3322
3331
|
date: Date;
|
|
3323
3332
|
id: string;
|
|
3324
|
-
accountId: string;
|
|
3325
3333
|
price: number;
|
|
3334
|
+
accountId: string;
|
|
3326
3335
|
isPrepared: boolean;
|
|
3327
3336
|
platformOrderId: string;
|
|
3328
|
-
items?: {
|
|
3329
|
-
orderId: string;
|
|
3330
|
-
itemOnPlatformId: string;
|
|
3331
|
-
itemOnPlatform?: {
|
|
3332
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3333
|
-
id: string;
|
|
3334
|
-
createdAt: Date;
|
|
3335
|
-
updatedAt: Date;
|
|
3336
|
-
accountId: string;
|
|
3337
|
-
itemId: string | number;
|
|
3338
|
-
platformId: string;
|
|
3339
|
-
platformUrl: string;
|
|
3340
|
-
platformPrice: number;
|
|
3341
|
-
publishedAt: Date;
|
|
3342
|
-
favoritesCount?: number | null | undefined;
|
|
3343
|
-
viewsCount?: number | null | undefined;
|
|
3344
|
-
conversationId?: string | null | undefined;
|
|
3345
|
-
account?: {
|
|
3346
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3347
|
-
userId: string | number;
|
|
3348
|
-
name: string;
|
|
3349
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3350
|
-
accountId: string;
|
|
3351
|
-
locale?: string | null | undefined;
|
|
3352
|
-
night?: {
|
|
3353
|
-
startsAt: Date;
|
|
3354
|
-
endsAt: Date;
|
|
3355
|
-
} | null | undefined;
|
|
3356
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3357
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3358
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3359
|
-
} | null | undefined;
|
|
3360
|
-
} | null | undefined;
|
|
3361
|
-
}[] | null | undefined;
|
|
3362
|
-
conversationId?: string | null | undefined;
|
|
3363
3337
|
transactionId?: string | null | undefined;
|
|
3338
|
+
conversationId?: string | null | undefined;
|
|
3364
3339
|
labels?: {
|
|
3365
3340
|
id: string;
|
|
3366
3341
|
orderId: string;
|
|
@@ -3369,23 +3344,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3369
3344
|
originalFileId: string;
|
|
3370
3345
|
file?: {
|
|
3371
3346
|
path: string;
|
|
3347
|
+
userId: string | number;
|
|
3372
3348
|
id: string;
|
|
3373
3349
|
createdAt: Date;
|
|
3374
|
-
userId: string | number;
|
|
3375
3350
|
signedUrl: string;
|
|
3376
3351
|
} | null | undefined;
|
|
3377
3352
|
originalFile?: {
|
|
3378
3353
|
path: string;
|
|
3354
|
+
userId: string | number;
|
|
3379
3355
|
id: string;
|
|
3380
3356
|
createdAt: Date;
|
|
3381
|
-
userId: string | number;
|
|
3382
3357
|
signedUrl: string;
|
|
3383
3358
|
} | null | undefined;
|
|
3384
3359
|
nonCroppedFile?: {
|
|
3385
3360
|
path: string;
|
|
3361
|
+
userId: string | number;
|
|
3386
3362
|
id: string;
|
|
3387
3363
|
createdAt: Date;
|
|
3388
|
-
userId: string | number;
|
|
3389
3364
|
signedUrl: string;
|
|
3390
3365
|
} | null | undefined;
|
|
3391
3366
|
}[] | null | undefined;
|
|
@@ -3410,6 +3385,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3410
3385
|
longitude?: number | null | undefined;
|
|
3411
3386
|
} | null | undefined;
|
|
3412
3387
|
}[] | null | undefined;
|
|
3388
|
+
items?: {
|
|
3389
|
+
orderId: string;
|
|
3390
|
+
itemOnPlatformId: string;
|
|
3391
|
+
itemOnPlatform?: {
|
|
3392
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3393
|
+
id: string;
|
|
3394
|
+
updatedAt: Date;
|
|
3395
|
+
createdAt: Date;
|
|
3396
|
+
accountId: string;
|
|
3397
|
+
itemId: string | number;
|
|
3398
|
+
platformId: string;
|
|
3399
|
+
platformUrl: string;
|
|
3400
|
+
platformPrice: number;
|
|
3401
|
+
publishedAt: Date;
|
|
3402
|
+
conversationId?: string | null | undefined;
|
|
3403
|
+
account?: {
|
|
3404
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3405
|
+
userId: string | number;
|
|
3406
|
+
name: string;
|
|
3407
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3408
|
+
accountId: string;
|
|
3409
|
+
locale?: string | null | undefined;
|
|
3410
|
+
night?: {
|
|
3411
|
+
startsAt: Date;
|
|
3412
|
+
endsAt: Date;
|
|
3413
|
+
} | null | undefined;
|
|
3414
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3415
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3416
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3417
|
+
} | null | undefined;
|
|
3418
|
+
viewsCount?: number | null | undefined;
|
|
3419
|
+
favoritesCount?: number | null | undefined;
|
|
3420
|
+
} | null | undefined;
|
|
3421
|
+
}[] | null | undefined;
|
|
3413
3422
|
};
|
|
3414
3423
|
}>, "many">;
|
|
3415
3424
|
currentPage: z.ZodNumber;
|
|
@@ -3418,48 +3427,28 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3418
3427
|
count: number;
|
|
3419
3428
|
rows: {
|
|
3420
3429
|
items: {
|
|
3430
|
+
userId: string | number;
|
|
3421
3431
|
id: string | number;
|
|
3422
|
-
createdAt: Date;
|
|
3423
3432
|
updatedAt: Date;
|
|
3424
|
-
userId: string | number;
|
|
3425
3433
|
name: string;
|
|
3434
|
+
createdAt: Date;
|
|
3426
3435
|
sold: boolean;
|
|
3427
3436
|
state?: number | null | undefined;
|
|
3428
|
-
fees?: {
|
|
3429
|
-
value: number;
|
|
3430
|
-
type: string;
|
|
3431
|
-
id: string | number;
|
|
3432
|
-
createdAt: Date;
|
|
3433
|
-
updatedAt: Date;
|
|
3434
|
-
userId: string | number;
|
|
3435
|
-
name: string;
|
|
3436
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3437
|
-
startDate: Date;
|
|
3438
|
-
active: boolean;
|
|
3439
|
-
description?: string | null | undefined;
|
|
3440
|
-
itemId?: string | number | null | undefined;
|
|
3441
|
-
endDate?: Date | null | undefined;
|
|
3442
|
-
parentFeeId?: string | number | null | undefined;
|
|
3443
|
-
}[] | null | undefined;
|
|
3444
|
-
description?: string | null | undefined;
|
|
3445
|
-
categoryId?: number | null | undefined;
|
|
3446
|
-
sizeId?: number | null | undefined;
|
|
3447
3437
|
colorIds?: number[] | null | undefined;
|
|
3438
|
+
description?: string | null | undefined;
|
|
3448
3439
|
packageSizeId?: number | null | undefined;
|
|
3449
|
-
|
|
3450
|
-
estimatedPrice?: number | null | undefined;
|
|
3451
|
-
purchaseDate?: Date | null | undefined;
|
|
3452
|
-
sellingDate?: Date | null | undefined;
|
|
3440
|
+
sizeId?: number | null | undefined;
|
|
3453
3441
|
labels?: {
|
|
3454
3442
|
itemId: string | number;
|
|
3455
3443
|
labelId: string | number;
|
|
3456
3444
|
label?: {
|
|
3457
3445
|
id: string | number;
|
|
3458
|
-
createdAt: Date;
|
|
3459
3446
|
name: string;
|
|
3447
|
+
createdAt: Date;
|
|
3460
3448
|
isUserLabel: boolean;
|
|
3461
|
-
itemCount?: number | null | undefined;
|
|
3462
3449
|
userId?: string | number | null | undefined;
|
|
3450
|
+
itemCount?: number | null | undefined;
|
|
3451
|
+
parentId?: unknown;
|
|
3463
3452
|
} | null | undefined;
|
|
3464
3453
|
}[] | null | undefined;
|
|
3465
3454
|
files?: {
|
|
@@ -3468,59 +3457,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3468
3457
|
index?: number | null | undefined;
|
|
3469
3458
|
file?: {
|
|
3470
3459
|
path: string;
|
|
3460
|
+
userId: string | number;
|
|
3471
3461
|
id: string;
|
|
3472
3462
|
createdAt: Date;
|
|
3473
|
-
userId: string | number;
|
|
3474
3463
|
signedUrl: string;
|
|
3475
3464
|
} | null | undefined;
|
|
3476
3465
|
}[] | null | undefined;
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
id: string;
|
|
3480
|
-
createdAt: Date;
|
|
3481
|
-
updatedAt: Date;
|
|
3482
|
-
accountId: string;
|
|
3483
|
-
itemId: string | number;
|
|
3484
|
-
platformId: string;
|
|
3485
|
-
platformUrl: string;
|
|
3486
|
-
platformPrice: number;
|
|
3487
|
-
publishedAt: Date;
|
|
3488
|
-
favoritesCount?: number | null | undefined;
|
|
3489
|
-
viewsCount?: number | null | undefined;
|
|
3490
|
-
conversationId?: string | null | undefined;
|
|
3491
|
-
account?: {
|
|
3492
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3493
|
-
userId: string | number;
|
|
3494
|
-
name: string;
|
|
3495
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3496
|
-
accountId: string;
|
|
3497
|
-
locale?: string | null | undefined;
|
|
3498
|
-
night?: {
|
|
3499
|
-
startsAt: Date;
|
|
3500
|
-
endsAt: Date;
|
|
3501
|
-
} | null | undefined;
|
|
3502
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3503
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3504
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3505
|
-
} | null | undefined;
|
|
3506
|
-
}[] | null | undefined;
|
|
3507
|
-
fields?: {
|
|
3508
|
-
value: string;
|
|
3466
|
+
fields?: {
|
|
3467
|
+
value: string;
|
|
3509
3468
|
itemId: string | number;
|
|
3510
3469
|
fieldId: string | number;
|
|
3511
3470
|
}[] | null | undefined;
|
|
3512
3471
|
sku?: string | null | undefined;
|
|
3472
|
+
categoryId?: number | null | undefined;
|
|
3473
|
+
brandId?: string | number | null | undefined;
|
|
3513
3474
|
sex?: string | null | undefined;
|
|
3514
3475
|
purchasePrice?: number | null | undefined;
|
|
3476
|
+
purchaseDate?: Date | null | undefined;
|
|
3515
3477
|
purchasePlaceId?: string | number | null | undefined;
|
|
3516
3478
|
purchased?: boolean | null | undefined;
|
|
3517
3479
|
sellingPrice?: number | null | undefined;
|
|
3480
|
+
sellingDate?: Date | null | undefined;
|
|
3518
3481
|
sellingPlaceId?: string | number | null | undefined;
|
|
3482
|
+
estimatedPrice?: number | null | undefined;
|
|
3483
|
+
fees?: {
|
|
3484
|
+
value: number;
|
|
3485
|
+
type: string;
|
|
3486
|
+
userId: string | number;
|
|
3487
|
+
id: string | number;
|
|
3488
|
+
updatedAt: Date;
|
|
3489
|
+
name: string;
|
|
3490
|
+
createdAt: Date;
|
|
3491
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3492
|
+
startDate: Date;
|
|
3493
|
+
active: boolean;
|
|
3494
|
+
description?: string | null | undefined;
|
|
3495
|
+
itemId?: string | number | null | undefined;
|
|
3496
|
+
endDate?: Date | null | undefined;
|
|
3497
|
+
parentFeeId?: string | number | null | undefined;
|
|
3498
|
+
}[] | null | undefined;
|
|
3519
3499
|
feesSum?: number | null | undefined;
|
|
3520
3500
|
customerId?: string | number | null | undefined;
|
|
3521
3501
|
customer?: {
|
|
3522
|
-
id: string | number;
|
|
3523
3502
|
userId: string | number;
|
|
3503
|
+
id: string | number;
|
|
3524
3504
|
email: string;
|
|
3525
3505
|
firstName: string;
|
|
3526
3506
|
lastName: string;
|
|
@@ -3541,7 +3521,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3541
3521
|
id: string;
|
|
3542
3522
|
createdAt: Date;
|
|
3543
3523
|
itemId: string | number;
|
|
3544
|
-
requestId?: string | null | undefined;
|
|
3545
3524
|
data?: {
|
|
3546
3525
|
type: "ACTION_CANCELED";
|
|
3547
3526
|
data: {
|
|
@@ -3570,7 +3549,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3570
3549
|
accountId?: string | null | undefined;
|
|
3571
3550
|
reason?: string | null | undefined;
|
|
3572
3551
|
fields?: {
|
|
3573
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3552
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3574
3553
|
autoFixable: boolean;
|
|
3575
3554
|
error?: string | null | undefined;
|
|
3576
3555
|
}[] | null | undefined;
|
|
@@ -3597,22 +3576,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3597
3576
|
platformId: string;
|
|
3598
3577
|
post: {
|
|
3599
3578
|
status?: string | null | undefined;
|
|
3600
|
-
title?: string | null | undefined;
|
|
3601
|
-
description?: string | null | undefined;
|
|
3602
|
-
brand?: string | null | undefined;
|
|
3603
|
-
statusId?: number | null | undefined;
|
|
3604
|
-
sizeId?: number | null | undefined;
|
|
3605
|
-
colorIds?: number[] | null | undefined;
|
|
3606
|
-
packageSizeId?: number | null | undefined;
|
|
3607
3579
|
price?: number | null | undefined;
|
|
3608
3580
|
currency?: string | null | undefined;
|
|
3581
|
+
brand?: string | null | undefined;
|
|
3609
3582
|
catalog?: string | null | undefined;
|
|
3610
3583
|
catalogId?: number | null | undefined;
|
|
3611
3584
|
colors?: string[] | null | undefined;
|
|
3585
|
+
colorIds?: number[] | null | undefined;
|
|
3586
|
+
description?: string | null | undefined;
|
|
3612
3587
|
measurementLength?: number | null | undefined;
|
|
3613
3588
|
measurementWidth?: number | null | undefined;
|
|
3589
|
+
packageSizeId?: number | null | undefined;
|
|
3614
3590
|
photoUrls?: string[] | null | undefined;
|
|
3615
3591
|
size?: string | null | undefined;
|
|
3592
|
+
sizeId?: number | null | undefined;
|
|
3593
|
+
statusId?: number | null | undefined;
|
|
3594
|
+
title?: string | null | undefined;
|
|
3616
3595
|
isDraft?: boolean | null | undefined;
|
|
3617
3596
|
isArchived?: boolean | null | undefined;
|
|
3618
3597
|
availableQuantity?: number | null | undefined;
|
|
@@ -3632,13 +3611,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3632
3611
|
} | {
|
|
3633
3612
|
type: "LIFECYCLE_STARTED";
|
|
3634
3613
|
data: {
|
|
3635
|
-
caseId: string;
|
|
3636
3614
|
accountId: string;
|
|
3615
|
+
caseId: string;
|
|
3637
3616
|
};
|
|
3638
3617
|
} | {
|
|
3639
3618
|
type: "REPUBLISHING";
|
|
3640
3619
|
data: {
|
|
3641
3620
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3621
|
+
publishingDate?: Date | null | undefined;
|
|
3642
3622
|
priceDropPayload?: {
|
|
3643
3623
|
value: number;
|
|
3644
3624
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3646,18 +3626,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3646
3626
|
roundStep?: number | null | undefined;
|
|
3647
3627
|
maxRounds?: number | null | undefined;
|
|
3648
3628
|
} | null | undefined;
|
|
3649
|
-
publishingDate?: Date | null | undefined;
|
|
3650
|
-
targetAccountId?: string | null | undefined;
|
|
3651
3629
|
isTransfer?: boolean | null | undefined;
|
|
3630
|
+
targetAccountId?: string | null | undefined;
|
|
3652
3631
|
};
|
|
3653
3632
|
} | {
|
|
3654
3633
|
type: "REPUBLISHING_RETRY";
|
|
3655
3634
|
data: {
|
|
3656
|
-
maxAttempts: number;
|
|
3657
3635
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3658
3636
|
attemptNumber: number;
|
|
3637
|
+
maxAttempts: number;
|
|
3659
3638
|
previousHistoryId: string;
|
|
3660
3639
|
originalFailureDate: Date;
|
|
3640
|
+
fields?: {
|
|
3641
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3642
|
+
autoFixable: boolean;
|
|
3643
|
+
error?: string | null | undefined;
|
|
3644
|
+
}[] | null | undefined;
|
|
3661
3645
|
priceDropPayload?: {
|
|
3662
3646
|
value: number;
|
|
3663
3647
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3665,11 +3649,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3665
3649
|
roundStep?: number | null | undefined;
|
|
3666
3650
|
maxRounds?: number | null | undefined;
|
|
3667
3651
|
} | null | undefined;
|
|
3668
|
-
fields?: {
|
|
3669
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3670
|
-
autoFixable: boolean;
|
|
3671
|
-
error?: string | null | undefined;
|
|
3672
|
-
}[] | null | undefined;
|
|
3673
3652
|
};
|
|
3674
3653
|
} | {
|
|
3675
3654
|
type: "SCHEDULED";
|
|
@@ -3680,67 +3659,64 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3680
3659
|
} | {
|
|
3681
3660
|
type: "SCHEDULED_RETRY";
|
|
3682
3661
|
data: {
|
|
3683
|
-
maxAttempts: number;
|
|
3684
3662
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3685
3663
|
attemptNumber: number;
|
|
3664
|
+
maxAttempts: number;
|
|
3686
3665
|
previousHistoryId: string;
|
|
3687
3666
|
originalFailureDate: Date;
|
|
3688
3667
|
fields?: {
|
|
3689
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3668
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3690
3669
|
autoFixable: boolean;
|
|
3691
3670
|
error?: string | null | undefined;
|
|
3692
3671
|
}[] | null | undefined;
|
|
3693
3672
|
};
|
|
3694
3673
|
} | null | undefined;
|
|
3695
3674
|
accountId?: string | null | undefined;
|
|
3675
|
+
requestId?: string | null | undefined;
|
|
3696
3676
|
targetDate?: Date | null | undefined;
|
|
3697
3677
|
} | null | undefined;
|
|
3678
|
+
platforms?: {
|
|
3679
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3680
|
+
id: string;
|
|
3681
|
+
updatedAt: Date;
|
|
3682
|
+
createdAt: Date;
|
|
3683
|
+
accountId: string;
|
|
3684
|
+
itemId: string | number;
|
|
3685
|
+
platformId: string;
|
|
3686
|
+
platformUrl: string;
|
|
3687
|
+
platformPrice: number;
|
|
3688
|
+
publishedAt: Date;
|
|
3689
|
+
conversationId?: string | null | undefined;
|
|
3690
|
+
account?: {
|
|
3691
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3692
|
+
userId: string | number;
|
|
3693
|
+
name: string;
|
|
3694
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3695
|
+
accountId: string;
|
|
3696
|
+
locale?: string | null | undefined;
|
|
3697
|
+
night?: {
|
|
3698
|
+
startsAt: Date;
|
|
3699
|
+
endsAt: Date;
|
|
3700
|
+
} | null | undefined;
|
|
3701
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3702
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3703
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3704
|
+
} | null | undefined;
|
|
3705
|
+
viewsCount?: number | null | undefined;
|
|
3706
|
+
favoritesCount?: number | null | undefined;
|
|
3707
|
+
}[] | null | undefined;
|
|
3698
3708
|
}[];
|
|
3699
3709
|
order: {
|
|
3700
3710
|
type: "SALE" | "PURCHASE";
|
|
3701
3711
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
3702
3712
|
date: Date;
|
|
3703
3713
|
id: string;
|
|
3704
|
-
accountId: string;
|
|
3705
3714
|
price: number;
|
|
3715
|
+
accountId: string;
|
|
3706
3716
|
isPrepared: boolean;
|
|
3707
3717
|
platformOrderId: string;
|
|
3708
|
-
items?: {
|
|
3709
|
-
orderId: string;
|
|
3710
|
-
itemOnPlatformId: string;
|
|
3711
|
-
itemOnPlatform?: {
|
|
3712
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3713
|
-
id: string;
|
|
3714
|
-
createdAt: Date;
|
|
3715
|
-
updatedAt: Date;
|
|
3716
|
-
accountId: string;
|
|
3717
|
-
itemId: string | number;
|
|
3718
|
-
platformId: string;
|
|
3719
|
-
platformUrl: string;
|
|
3720
|
-
platformPrice: number;
|
|
3721
|
-
publishedAt: Date;
|
|
3722
|
-
favoritesCount?: number | null | undefined;
|
|
3723
|
-
viewsCount?: number | null | undefined;
|
|
3724
|
-
conversationId?: string | null | undefined;
|
|
3725
|
-
account?: {
|
|
3726
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3727
|
-
userId: string | number;
|
|
3728
|
-
name: string;
|
|
3729
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3730
|
-
accountId: string;
|
|
3731
|
-
locale?: string | null | undefined;
|
|
3732
|
-
night?: {
|
|
3733
|
-
startsAt: Date;
|
|
3734
|
-
endsAt: Date;
|
|
3735
|
-
} | null | undefined;
|
|
3736
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3737
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3738
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3739
|
-
} | null | undefined;
|
|
3740
|
-
} | null | undefined;
|
|
3741
|
-
}[] | null | undefined;
|
|
3742
|
-
conversationId?: string | null | undefined;
|
|
3743
3718
|
transactionId?: string | null | undefined;
|
|
3719
|
+
conversationId?: string | null | undefined;
|
|
3744
3720
|
labels?: {
|
|
3745
3721
|
id: string;
|
|
3746
3722
|
orderId: string;
|
|
@@ -3749,23 +3725,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3749
3725
|
originalFileId: string;
|
|
3750
3726
|
file?: {
|
|
3751
3727
|
path: string;
|
|
3728
|
+
userId: string | number;
|
|
3752
3729
|
id: string;
|
|
3753
3730
|
createdAt: Date;
|
|
3754
|
-
userId: string | number;
|
|
3755
3731
|
signedUrl: string;
|
|
3756
3732
|
} | null | undefined;
|
|
3757
3733
|
originalFile?: {
|
|
3758
3734
|
path: string;
|
|
3735
|
+
userId: string | number;
|
|
3759
3736
|
id: string;
|
|
3760
3737
|
createdAt: Date;
|
|
3761
|
-
userId: string | number;
|
|
3762
3738
|
signedUrl: string;
|
|
3763
3739
|
} | null | undefined;
|
|
3764
3740
|
nonCroppedFile?: {
|
|
3765
3741
|
path: string;
|
|
3742
|
+
userId: string | number;
|
|
3766
3743
|
id: string;
|
|
3767
3744
|
createdAt: Date;
|
|
3768
|
-
userId: string | number;
|
|
3769
3745
|
signedUrl: string;
|
|
3770
3746
|
} | null | undefined;
|
|
3771
3747
|
}[] | null | undefined;
|
|
@@ -3790,6 +3766,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3790
3766
|
longitude?: number | null | undefined;
|
|
3791
3767
|
} | null | undefined;
|
|
3792
3768
|
}[] | null | undefined;
|
|
3769
|
+
items?: {
|
|
3770
|
+
orderId: string;
|
|
3771
|
+
itemOnPlatformId: string;
|
|
3772
|
+
itemOnPlatform?: {
|
|
3773
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3774
|
+
id: string;
|
|
3775
|
+
updatedAt: Date;
|
|
3776
|
+
createdAt: Date;
|
|
3777
|
+
accountId: string;
|
|
3778
|
+
itemId: string | number;
|
|
3779
|
+
platformId: string;
|
|
3780
|
+
platformUrl: string;
|
|
3781
|
+
platformPrice: number;
|
|
3782
|
+
publishedAt: Date;
|
|
3783
|
+
conversationId?: string | null | undefined;
|
|
3784
|
+
account?: {
|
|
3785
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3786
|
+
userId: string | number;
|
|
3787
|
+
name: string;
|
|
3788
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3789
|
+
accountId: string;
|
|
3790
|
+
locale?: string | null | undefined;
|
|
3791
|
+
night?: {
|
|
3792
|
+
startsAt: Date;
|
|
3793
|
+
endsAt: Date;
|
|
3794
|
+
} | null | undefined;
|
|
3795
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3796
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3797
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3798
|
+
} | null | undefined;
|
|
3799
|
+
viewsCount?: number | null | undefined;
|
|
3800
|
+
favoritesCount?: number | null | undefined;
|
|
3801
|
+
} | null | undefined;
|
|
3802
|
+
}[] | null | undefined;
|
|
3793
3803
|
};
|
|
3794
3804
|
}[];
|
|
3795
3805
|
currentPage: number;
|
|
@@ -3799,48 +3809,28 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3799
3809
|
count: number;
|
|
3800
3810
|
rows: {
|
|
3801
3811
|
items: {
|
|
3812
|
+
userId: string | number;
|
|
3802
3813
|
id: string | number;
|
|
3803
|
-
createdAt: Date;
|
|
3804
3814
|
updatedAt: Date;
|
|
3805
|
-
userId: string | number;
|
|
3806
3815
|
name: string;
|
|
3816
|
+
createdAt: Date;
|
|
3807
3817
|
sold: boolean;
|
|
3808
3818
|
state?: number | null | undefined;
|
|
3809
|
-
fees?: {
|
|
3810
|
-
value: number;
|
|
3811
|
-
type: string;
|
|
3812
|
-
id: string | number;
|
|
3813
|
-
createdAt: Date;
|
|
3814
|
-
updatedAt: Date;
|
|
3815
|
-
userId: string | number;
|
|
3816
|
-
name: string;
|
|
3817
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3818
|
-
startDate: Date;
|
|
3819
|
-
active: boolean;
|
|
3820
|
-
description?: string | null | undefined;
|
|
3821
|
-
itemId?: string | number | null | undefined;
|
|
3822
|
-
endDate?: Date | null | undefined;
|
|
3823
|
-
parentFeeId?: string | number | null | undefined;
|
|
3824
|
-
}[] | null | undefined;
|
|
3825
|
-
description?: string | null | undefined;
|
|
3826
|
-
categoryId?: number | null | undefined;
|
|
3827
|
-
sizeId?: number | null | undefined;
|
|
3828
3819
|
colorIds?: number[] | null | undefined;
|
|
3820
|
+
description?: string | null | undefined;
|
|
3829
3821
|
packageSizeId?: number | null | undefined;
|
|
3830
|
-
|
|
3831
|
-
estimatedPrice?: number | null | undefined;
|
|
3832
|
-
purchaseDate?: Date | null | undefined;
|
|
3833
|
-
sellingDate?: Date | null | undefined;
|
|
3822
|
+
sizeId?: number | null | undefined;
|
|
3834
3823
|
labels?: {
|
|
3835
3824
|
itemId: string | number;
|
|
3836
3825
|
labelId: string | number;
|
|
3837
3826
|
label?: {
|
|
3838
3827
|
id: string | number;
|
|
3839
|
-
createdAt: Date;
|
|
3840
3828
|
name: string;
|
|
3829
|
+
createdAt: Date;
|
|
3841
3830
|
isUserLabel: boolean;
|
|
3842
|
-
itemCount?: number | null | undefined;
|
|
3843
3831
|
userId?: string | number | null | undefined;
|
|
3832
|
+
itemCount?: number | null | undefined;
|
|
3833
|
+
parentId?: unknown;
|
|
3844
3834
|
} | null | undefined;
|
|
3845
3835
|
}[] | null | undefined;
|
|
3846
3836
|
files?: {
|
|
@@ -3849,59 +3839,50 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3849
3839
|
index?: number | null | undefined;
|
|
3850
3840
|
file?: {
|
|
3851
3841
|
path: string;
|
|
3842
|
+
userId: string | number;
|
|
3852
3843
|
id: string;
|
|
3853
3844
|
createdAt: Date;
|
|
3854
|
-
userId: string | number;
|
|
3855
3845
|
signedUrl: string;
|
|
3856
3846
|
} | null | undefined;
|
|
3857
3847
|
}[] | null | undefined;
|
|
3858
|
-
platforms?: {
|
|
3859
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3860
|
-
id: string;
|
|
3861
|
-
createdAt: Date;
|
|
3862
|
-
updatedAt: Date;
|
|
3863
|
-
accountId: string;
|
|
3864
|
-
itemId: string | number;
|
|
3865
|
-
platformId: string;
|
|
3866
|
-
platformUrl: string;
|
|
3867
|
-
platformPrice: number;
|
|
3868
|
-
publishedAt: Date;
|
|
3869
|
-
favoritesCount?: number | null | undefined;
|
|
3870
|
-
viewsCount?: number | null | undefined;
|
|
3871
|
-
conversationId?: string | null | undefined;
|
|
3872
|
-
account?: {
|
|
3873
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3874
|
-
userId: string | number;
|
|
3875
|
-
name: string;
|
|
3876
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3877
|
-
accountId: string;
|
|
3878
|
-
locale?: string | null | undefined;
|
|
3879
|
-
night?: {
|
|
3880
|
-
startsAt: Date;
|
|
3881
|
-
endsAt: Date;
|
|
3882
|
-
} | null | undefined;
|
|
3883
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3884
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3885
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3886
|
-
} | null | undefined;
|
|
3887
|
-
}[] | null | undefined;
|
|
3888
3848
|
fields?: {
|
|
3889
3849
|
value: string;
|
|
3890
3850
|
itemId: string | number;
|
|
3891
3851
|
fieldId: string | number;
|
|
3892
3852
|
}[] | null | undefined;
|
|
3893
3853
|
sku?: string | null | undefined;
|
|
3854
|
+
categoryId?: number | null | undefined;
|
|
3855
|
+
brandId?: string | number | null | undefined;
|
|
3894
3856
|
sex?: string | null | undefined;
|
|
3895
3857
|
purchasePrice?: number | null | undefined;
|
|
3858
|
+
purchaseDate?: Date | null | undefined;
|
|
3896
3859
|
purchasePlaceId?: string | number | null | undefined;
|
|
3897
3860
|
purchased?: boolean | null | undefined;
|
|
3898
3861
|
sellingPrice?: number | null | undefined;
|
|
3862
|
+
sellingDate?: Date | null | undefined;
|
|
3899
3863
|
sellingPlaceId?: string | number | null | undefined;
|
|
3864
|
+
estimatedPrice?: number | null | undefined;
|
|
3865
|
+
fees?: {
|
|
3866
|
+
value: number;
|
|
3867
|
+
type: string;
|
|
3868
|
+
userId: string | number;
|
|
3869
|
+
id: string | number;
|
|
3870
|
+
updatedAt: Date;
|
|
3871
|
+
name: string;
|
|
3872
|
+
createdAt: Date;
|
|
3873
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3874
|
+
startDate: Date;
|
|
3875
|
+
active: boolean;
|
|
3876
|
+
description?: string | null | undefined;
|
|
3877
|
+
itemId?: string | number | null | undefined;
|
|
3878
|
+
endDate?: Date | null | undefined;
|
|
3879
|
+
parentFeeId?: string | number | null | undefined;
|
|
3880
|
+
}[] | null | undefined;
|
|
3900
3881
|
feesSum?: number | null | undefined;
|
|
3901
3882
|
customerId?: string | number | null | undefined;
|
|
3902
3883
|
customer?: {
|
|
3903
|
-
id: string | number;
|
|
3904
3884
|
userId: string | number;
|
|
3885
|
+
id: string | number;
|
|
3905
3886
|
email: string;
|
|
3906
3887
|
firstName: string;
|
|
3907
3888
|
lastName: string;
|
|
@@ -3922,7 +3903,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3922
3903
|
id: string;
|
|
3923
3904
|
createdAt: Date;
|
|
3924
3905
|
itemId: string | number;
|
|
3925
|
-
requestId?: string | null | undefined;
|
|
3926
3906
|
data?: {
|
|
3927
3907
|
type: "ACTION_CANCELED";
|
|
3928
3908
|
data: {
|
|
@@ -3951,7 +3931,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3951
3931
|
accountId?: string | null | undefined;
|
|
3952
3932
|
reason?: string | null | undefined;
|
|
3953
3933
|
fields?: {
|
|
3954
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3934
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3955
3935
|
autoFixable: boolean;
|
|
3956
3936
|
error?: string | null | undefined;
|
|
3957
3937
|
}[] | null | undefined;
|
|
@@ -3978,22 +3958,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
3978
3958
|
platformId: string;
|
|
3979
3959
|
post: {
|
|
3980
3960
|
status?: string | null | undefined;
|
|
3981
|
-
title?: string | null | undefined;
|
|
3982
|
-
description?: string | null | undefined;
|
|
3983
|
-
brand?: string | null | undefined;
|
|
3984
|
-
statusId?: number | null | undefined;
|
|
3985
|
-
sizeId?: number | null | undefined;
|
|
3986
|
-
colorIds?: number[] | null | undefined;
|
|
3987
|
-
packageSizeId?: number | null | undefined;
|
|
3988
3961
|
price?: number | null | undefined;
|
|
3989
3962
|
currency?: string | null | undefined;
|
|
3963
|
+
brand?: string | null | undefined;
|
|
3990
3964
|
catalog?: string | null | undefined;
|
|
3991
3965
|
catalogId?: number | null | undefined;
|
|
3992
3966
|
colors?: string[] | null | undefined;
|
|
3967
|
+
colorIds?: number[] | null | undefined;
|
|
3968
|
+
description?: string | null | undefined;
|
|
3993
3969
|
measurementLength?: number | null | undefined;
|
|
3994
3970
|
measurementWidth?: number | null | undefined;
|
|
3971
|
+
packageSizeId?: number | null | undefined;
|
|
3995
3972
|
photoUrls?: string[] | null | undefined;
|
|
3996
3973
|
size?: string | null | undefined;
|
|
3974
|
+
sizeId?: number | null | undefined;
|
|
3975
|
+
statusId?: number | null | undefined;
|
|
3976
|
+
title?: string | null | undefined;
|
|
3997
3977
|
isDraft?: boolean | null | undefined;
|
|
3998
3978
|
isArchived?: boolean | null | undefined;
|
|
3999
3979
|
availableQuantity?: number | null | undefined;
|
|
@@ -4013,13 +3993,14 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4013
3993
|
} | {
|
|
4014
3994
|
type: "LIFECYCLE_STARTED";
|
|
4015
3995
|
data: {
|
|
4016
|
-
caseId: string;
|
|
4017
3996
|
accountId: string;
|
|
3997
|
+
caseId: string;
|
|
4018
3998
|
};
|
|
4019
3999
|
} | {
|
|
4020
4000
|
type: "REPUBLISHING";
|
|
4021
4001
|
data: {
|
|
4022
4002
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4003
|
+
publishingDate?: Date | null | undefined;
|
|
4023
4004
|
priceDropPayload?: {
|
|
4024
4005
|
value: number;
|
|
4025
4006
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -4027,18 +4008,22 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4027
4008
|
roundStep?: number | null | undefined;
|
|
4028
4009
|
maxRounds?: number | null | undefined;
|
|
4029
4010
|
} | null | undefined;
|
|
4030
|
-
publishingDate?: Date | null | undefined;
|
|
4031
|
-
targetAccountId?: string | null | undefined;
|
|
4032
4011
|
isTransfer?: boolean | null | undefined;
|
|
4012
|
+
targetAccountId?: string | null | undefined;
|
|
4033
4013
|
};
|
|
4034
4014
|
} | {
|
|
4035
4015
|
type: "REPUBLISHING_RETRY";
|
|
4036
4016
|
data: {
|
|
4037
|
-
maxAttempts: number;
|
|
4038
4017
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4039
4018
|
attemptNumber: number;
|
|
4019
|
+
maxAttempts: number;
|
|
4040
4020
|
previousHistoryId: string;
|
|
4041
4021
|
originalFailureDate: Date;
|
|
4022
|
+
fields?: {
|
|
4023
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4024
|
+
autoFixable: boolean;
|
|
4025
|
+
error?: string | null | undefined;
|
|
4026
|
+
}[] | null | undefined;
|
|
4042
4027
|
priceDropPayload?: {
|
|
4043
4028
|
value: number;
|
|
4044
4029
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -4046,11 +4031,6 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4046
4031
|
roundStep?: number | null | undefined;
|
|
4047
4032
|
maxRounds?: number | null | undefined;
|
|
4048
4033
|
} | null | undefined;
|
|
4049
|
-
fields?: {
|
|
4050
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4051
|
-
autoFixable: boolean;
|
|
4052
|
-
error?: string | null | undefined;
|
|
4053
|
-
}[] | null | undefined;
|
|
4054
4034
|
};
|
|
4055
4035
|
} | {
|
|
4056
4036
|
type: "SCHEDULED";
|
|
@@ -4061,67 +4041,64 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4061
4041
|
} | {
|
|
4062
4042
|
type: "SCHEDULED_RETRY";
|
|
4063
4043
|
data: {
|
|
4064
|
-
maxAttempts: number;
|
|
4065
4044
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4066
4045
|
attemptNumber: number;
|
|
4046
|
+
maxAttempts: number;
|
|
4067
4047
|
previousHistoryId: string;
|
|
4068
4048
|
originalFailureDate: Date;
|
|
4069
4049
|
fields?: {
|
|
4070
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
4050
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
4071
4051
|
autoFixable: boolean;
|
|
4072
4052
|
error?: string | null | undefined;
|
|
4073
4053
|
}[] | null | undefined;
|
|
4074
4054
|
};
|
|
4075
4055
|
} | null | undefined;
|
|
4076
4056
|
accountId?: string | null | undefined;
|
|
4057
|
+
requestId?: string | null | undefined;
|
|
4077
4058
|
targetDate?: Date | null | undefined;
|
|
4078
4059
|
} | null | undefined;
|
|
4060
|
+
platforms?: {
|
|
4061
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4062
|
+
id: string;
|
|
4063
|
+
updatedAt: Date;
|
|
4064
|
+
createdAt: Date;
|
|
4065
|
+
accountId: string;
|
|
4066
|
+
itemId: string | number;
|
|
4067
|
+
platformId: string;
|
|
4068
|
+
platformUrl: string;
|
|
4069
|
+
platformPrice: number;
|
|
4070
|
+
publishedAt: Date;
|
|
4071
|
+
conversationId?: string | null | undefined;
|
|
4072
|
+
account?: {
|
|
4073
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4074
|
+
userId: string | number;
|
|
4075
|
+
name: string;
|
|
4076
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4077
|
+
accountId: string;
|
|
4078
|
+
locale?: string | null | undefined;
|
|
4079
|
+
night?: {
|
|
4080
|
+
startsAt: Date;
|
|
4081
|
+
endsAt: Date;
|
|
4082
|
+
} | null | undefined;
|
|
4083
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4084
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4085
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4086
|
+
} | null | undefined;
|
|
4087
|
+
viewsCount?: number | null | undefined;
|
|
4088
|
+
favoritesCount?: number | null | undefined;
|
|
4089
|
+
}[] | null | undefined;
|
|
4079
4090
|
}[];
|
|
4080
4091
|
order: {
|
|
4081
4092
|
type: "SALE" | "PURCHASE";
|
|
4082
4093
|
status: "UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
4083
4094
|
date: Date;
|
|
4084
4095
|
id: string;
|
|
4085
|
-
accountId: string;
|
|
4086
4096
|
price: number;
|
|
4097
|
+
accountId: string;
|
|
4087
4098
|
isPrepared: boolean;
|
|
4088
4099
|
platformOrderId: string;
|
|
4089
|
-
items?: {
|
|
4090
|
-
orderId: string;
|
|
4091
|
-
itemOnPlatformId: string;
|
|
4092
|
-
itemOnPlatform?: {
|
|
4093
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4094
|
-
id: string;
|
|
4095
|
-
createdAt: Date;
|
|
4096
|
-
updatedAt: Date;
|
|
4097
|
-
accountId: string;
|
|
4098
|
-
itemId: string | number;
|
|
4099
|
-
platformId: string;
|
|
4100
|
-
platformUrl: string;
|
|
4101
|
-
platformPrice: number;
|
|
4102
|
-
publishedAt: Date;
|
|
4103
|
-
favoritesCount?: number | null | undefined;
|
|
4104
|
-
viewsCount?: number | null | undefined;
|
|
4105
|
-
conversationId?: string | null | undefined;
|
|
4106
|
-
account?: {
|
|
4107
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4108
|
-
userId: string | number;
|
|
4109
|
-
name: string;
|
|
4110
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4111
|
-
accountId: string;
|
|
4112
|
-
locale?: string | null | undefined;
|
|
4113
|
-
night?: {
|
|
4114
|
-
startsAt: Date;
|
|
4115
|
-
endsAt: Date;
|
|
4116
|
-
} | null | undefined;
|
|
4117
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
4118
|
-
ordersMaxDelay?: number | null | undefined;
|
|
4119
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
4120
|
-
} | null | undefined;
|
|
4121
|
-
} | null | undefined;
|
|
4122
|
-
}[] | null | undefined;
|
|
4123
|
-
conversationId?: string | null | undefined;
|
|
4124
4100
|
transactionId?: string | null | undefined;
|
|
4101
|
+
conversationId?: string | null | undefined;
|
|
4125
4102
|
labels?: {
|
|
4126
4103
|
id: string;
|
|
4127
4104
|
orderId: string;
|
|
@@ -4130,23 +4107,23 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4130
4107
|
originalFileId: string;
|
|
4131
4108
|
file?: {
|
|
4132
4109
|
path: string;
|
|
4110
|
+
userId: string | number;
|
|
4133
4111
|
id: string;
|
|
4134
4112
|
createdAt: Date;
|
|
4135
|
-
userId: string | number;
|
|
4136
4113
|
signedUrl: string;
|
|
4137
4114
|
} | null | undefined;
|
|
4138
4115
|
originalFile?: {
|
|
4139
4116
|
path: string;
|
|
4117
|
+
userId: string | number;
|
|
4140
4118
|
id: string;
|
|
4141
4119
|
createdAt: Date;
|
|
4142
|
-
userId: string | number;
|
|
4143
4120
|
signedUrl: string;
|
|
4144
4121
|
} | null | undefined;
|
|
4145
4122
|
nonCroppedFile?: {
|
|
4146
4123
|
path: string;
|
|
4124
|
+
userId: string | number;
|
|
4147
4125
|
id: string;
|
|
4148
4126
|
createdAt: Date;
|
|
4149
|
-
userId: string | number;
|
|
4150
4127
|
signedUrl: string;
|
|
4151
4128
|
} | null | undefined;
|
|
4152
4129
|
}[] | null | undefined;
|
|
@@ -4171,6 +4148,40 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
4171
4148
|
longitude?: number | null | undefined;
|
|
4172
4149
|
} | null | undefined;
|
|
4173
4150
|
}[] | null | undefined;
|
|
4151
|
+
items?: {
|
|
4152
|
+
orderId: string;
|
|
4153
|
+
itemOnPlatformId: string;
|
|
4154
|
+
itemOnPlatform?: {
|
|
4155
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
4156
|
+
id: string;
|
|
4157
|
+
updatedAt: Date;
|
|
4158
|
+
createdAt: Date;
|
|
4159
|
+
accountId: string;
|
|
4160
|
+
itemId: string | number;
|
|
4161
|
+
platformId: string;
|
|
4162
|
+
platformUrl: string;
|
|
4163
|
+
platformPrice: number;
|
|
4164
|
+
publishedAt: Date;
|
|
4165
|
+
conversationId?: string | null | undefined;
|
|
4166
|
+
account?: {
|
|
4167
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4168
|
+
userId: string | number;
|
|
4169
|
+
name: string;
|
|
4170
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4171
|
+
accountId: string;
|
|
4172
|
+
locale?: string | null | undefined;
|
|
4173
|
+
night?: {
|
|
4174
|
+
startsAt: Date;
|
|
4175
|
+
endsAt: Date;
|
|
4176
|
+
} | null | undefined;
|
|
4177
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
4178
|
+
ordersMaxDelay?: number | null | undefined;
|
|
4179
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
4180
|
+
} | null | undefined;
|
|
4181
|
+
viewsCount?: number | null | undefined;
|
|
4182
|
+
favoritesCount?: number | null | undefined;
|
|
4183
|
+
} | null | undefined;
|
|
4184
|
+
}[] | null | undefined;
|
|
4174
4185
|
};
|
|
4175
4186
|
}[];
|
|
4176
4187
|
currentPage: number;
|