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
|
@@ -79,16 +79,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
81
81
|
id: string;
|
|
82
|
-
createdAt: Date;
|
|
83
82
|
updatedAt: Date;
|
|
83
|
+
createdAt: Date;
|
|
84
84
|
accountId: string;
|
|
85
85
|
itemId: string | number;
|
|
86
86
|
platformId: string;
|
|
87
87
|
platformUrl: string;
|
|
88
88
|
platformPrice: number;
|
|
89
89
|
publishedAt: Date;
|
|
90
|
-
favoritesCount?: number | null | undefined;
|
|
91
|
-
viewsCount?: number | null | undefined;
|
|
92
90
|
conversationId?: string | null | undefined;
|
|
93
91
|
account?: {
|
|
94
92
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -105,19 +103,19 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
105
103
|
ordersMaxDelay?: number | null | undefined;
|
|
106
104
|
conversationsMaxDelay?: number | null | undefined;
|
|
107
105
|
} | null | undefined;
|
|
106
|
+
viewsCount?: number | null | undefined;
|
|
107
|
+
favoritesCount?: number | null | undefined;
|
|
108
108
|
}, {
|
|
109
109
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
110
110
|
id: string;
|
|
111
|
-
createdAt: Date;
|
|
112
111
|
updatedAt: Date;
|
|
112
|
+
createdAt: Date;
|
|
113
113
|
accountId: string;
|
|
114
114
|
itemId: string | number;
|
|
115
115
|
platformId: string;
|
|
116
116
|
platformUrl: string;
|
|
117
117
|
platformPrice: number;
|
|
118
118
|
publishedAt: Date;
|
|
119
|
-
favoritesCount?: number | null | undefined;
|
|
120
|
-
viewsCount?: number | null | undefined;
|
|
121
119
|
conversationId?: string | null | undefined;
|
|
122
120
|
account?: {
|
|
123
121
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -134,6 +132,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
134
132
|
ordersMaxDelay?: number | null | undefined;
|
|
135
133
|
conversationsMaxDelay?: number | null | undefined;
|
|
136
134
|
} | null | undefined;
|
|
135
|
+
viewsCount?: number | null | undefined;
|
|
136
|
+
favoritesCount?: number | null | undefined;
|
|
137
137
|
}>>>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
orderId: string;
|
|
@@ -141,16 +141,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
141
141
|
itemOnPlatform?: {
|
|
142
142
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
143
143
|
id: string;
|
|
144
|
-
createdAt: Date;
|
|
145
144
|
updatedAt: Date;
|
|
145
|
+
createdAt: Date;
|
|
146
146
|
accountId: string;
|
|
147
147
|
itemId: string | number;
|
|
148
148
|
platformId: string;
|
|
149
149
|
platformUrl: string;
|
|
150
150
|
platformPrice: number;
|
|
151
151
|
publishedAt: Date;
|
|
152
|
-
favoritesCount?: number | null | undefined;
|
|
153
|
-
viewsCount?: number | null | undefined;
|
|
154
152
|
conversationId?: string | null | undefined;
|
|
155
153
|
account?: {
|
|
156
154
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -167,6 +165,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
167
165
|
ordersMaxDelay?: number | null | undefined;
|
|
168
166
|
conversationsMaxDelay?: number | null | undefined;
|
|
169
167
|
} | null | undefined;
|
|
168
|
+
viewsCount?: number | null | undefined;
|
|
169
|
+
favoritesCount?: number | null | undefined;
|
|
170
170
|
} | null | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
orderId: string;
|
|
@@ -174,16 +174,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
174
174
|
itemOnPlatform?: {
|
|
175
175
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
176
176
|
id: string;
|
|
177
|
-
createdAt: Date;
|
|
178
177
|
updatedAt: Date;
|
|
178
|
+
createdAt: Date;
|
|
179
179
|
accountId: string;
|
|
180
180
|
itemId: string | number;
|
|
181
181
|
platformId: string;
|
|
182
182
|
platformUrl: string;
|
|
183
183
|
platformPrice: number;
|
|
184
184
|
publishedAt: Date;
|
|
185
|
-
favoritesCount?: number | null | undefined;
|
|
186
|
-
viewsCount?: number | null | undefined;
|
|
187
185
|
conversationId?: string | null | undefined;
|
|
188
186
|
account?: {
|
|
189
187
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -200,6 +198,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
200
198
|
ordersMaxDelay?: number | null | undefined;
|
|
201
199
|
conversationsMaxDelay?: number | null | undefined;
|
|
202
200
|
} | null | undefined;
|
|
201
|
+
viewsCount?: number | null | undefined;
|
|
202
|
+
favoritesCount?: number | null | undefined;
|
|
203
203
|
} | null | undefined;
|
|
204
204
|
}>, "many">>>;
|
|
205
205
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -216,15 +216,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
216
216
|
createdAt: z.ZodDate;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
path: string;
|
|
219
|
+
userId: string | number;
|
|
219
220
|
id: string;
|
|
220
221
|
createdAt: Date;
|
|
221
|
-
userId: string | number;
|
|
222
222
|
signedUrl: string;
|
|
223
223
|
}, {
|
|
224
224
|
path: string;
|
|
225
|
+
userId: string | number;
|
|
225
226
|
id: string;
|
|
226
227
|
createdAt: Date;
|
|
227
|
-
userId: string | number;
|
|
228
228
|
signedUrl: string;
|
|
229
229
|
}>>>;
|
|
230
230
|
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -235,15 +235,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
235
235
|
createdAt: z.ZodDate;
|
|
236
236
|
}, "strip", z.ZodTypeAny, {
|
|
237
237
|
path: string;
|
|
238
|
+
userId: string | number;
|
|
238
239
|
id: string;
|
|
239
240
|
createdAt: Date;
|
|
240
|
-
userId: string | number;
|
|
241
241
|
signedUrl: string;
|
|
242
242
|
}, {
|
|
243
243
|
path: string;
|
|
244
|
+
userId: string | number;
|
|
244
245
|
id: string;
|
|
245
246
|
createdAt: Date;
|
|
246
|
-
userId: string | number;
|
|
247
247
|
signedUrl: string;
|
|
248
248
|
}>>>;
|
|
249
249
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -254,15 +254,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
254
254
|
createdAt: z.ZodDate;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
256
|
path: string;
|
|
257
|
+
userId: string | number;
|
|
257
258
|
id: string;
|
|
258
259
|
createdAt: Date;
|
|
259
|
-
userId: string | number;
|
|
260
260
|
signedUrl: string;
|
|
261
261
|
}, {
|
|
262
262
|
path: string;
|
|
263
|
+
userId: string | number;
|
|
263
264
|
id: string;
|
|
264
265
|
createdAt: Date;
|
|
265
|
-
userId: string | number;
|
|
266
266
|
signedUrl: string;
|
|
267
267
|
}>>>;
|
|
268
268
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -273,23 +273,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
273
273
|
originalFileId: string;
|
|
274
274
|
file?: {
|
|
275
275
|
path: string;
|
|
276
|
+
userId: string | number;
|
|
276
277
|
id: string;
|
|
277
278
|
createdAt: Date;
|
|
278
|
-
userId: string | number;
|
|
279
279
|
signedUrl: string;
|
|
280
280
|
} | null | undefined;
|
|
281
281
|
originalFile?: {
|
|
282
282
|
path: string;
|
|
283
|
+
userId: string | number;
|
|
283
284
|
id: string;
|
|
284
285
|
createdAt: Date;
|
|
285
|
-
userId: string | number;
|
|
286
286
|
signedUrl: string;
|
|
287
287
|
} | null | undefined;
|
|
288
288
|
nonCroppedFile?: {
|
|
289
289
|
path: string;
|
|
290
|
+
userId: string | number;
|
|
290
291
|
id: string;
|
|
291
292
|
createdAt: Date;
|
|
292
|
-
userId: string | number;
|
|
293
293
|
signedUrl: string;
|
|
294
294
|
} | null | undefined;
|
|
295
295
|
}, {
|
|
@@ -300,23 +300,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
300
300
|
originalFileId: string;
|
|
301
301
|
file?: {
|
|
302
302
|
path: string;
|
|
303
|
+
userId: string | number;
|
|
303
304
|
id: string;
|
|
304
305
|
createdAt: Date;
|
|
305
|
-
userId: string | number;
|
|
306
306
|
signedUrl: string;
|
|
307
307
|
} | null | undefined;
|
|
308
308
|
originalFile?: {
|
|
309
309
|
path: string;
|
|
310
|
+
userId: string | number;
|
|
310
311
|
id: string;
|
|
311
312
|
createdAt: Date;
|
|
312
|
-
userId: string | number;
|
|
313
313
|
signedUrl: string;
|
|
314
314
|
} | null | undefined;
|
|
315
315
|
nonCroppedFile?: {
|
|
316
316
|
path: string;
|
|
317
|
+
userId: string | number;
|
|
317
318
|
id: string;
|
|
318
319
|
createdAt: Date;
|
|
319
|
-
userId: string | number;
|
|
320
320
|
signedUrl: string;
|
|
321
321
|
} | null | undefined;
|
|
322
322
|
}>, "many">>>;
|
|
@@ -411,46 +411,12 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
411
411
|
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";
|
|
412
412
|
date: Date;
|
|
413
413
|
id: string;
|
|
414
|
-
accountId: string;
|
|
415
414
|
price: number;
|
|
415
|
+
accountId: string;
|
|
416
416
|
isPrepared: boolean;
|
|
417
417
|
platformOrderId: string;
|
|
418
|
-
items?: {
|
|
419
|
-
orderId: string;
|
|
420
|
-
itemOnPlatformId: string;
|
|
421
|
-
itemOnPlatform?: {
|
|
422
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
423
|
-
id: string;
|
|
424
|
-
createdAt: Date;
|
|
425
|
-
updatedAt: Date;
|
|
426
|
-
accountId: string;
|
|
427
|
-
itemId: string | number;
|
|
428
|
-
platformId: string;
|
|
429
|
-
platformUrl: string;
|
|
430
|
-
platformPrice: number;
|
|
431
|
-
publishedAt: Date;
|
|
432
|
-
favoritesCount?: number | null | undefined;
|
|
433
|
-
viewsCount?: number | null | undefined;
|
|
434
|
-
conversationId?: string | null | undefined;
|
|
435
|
-
account?: {
|
|
436
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
437
|
-
userId: string | number;
|
|
438
|
-
name: string;
|
|
439
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
440
|
-
accountId: string;
|
|
441
|
-
locale?: string | null | undefined;
|
|
442
|
-
night?: {
|
|
443
|
-
startsAt: Date;
|
|
444
|
-
endsAt: Date;
|
|
445
|
-
} | null | undefined;
|
|
446
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
447
|
-
ordersMaxDelay?: number | null | undefined;
|
|
448
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
449
|
-
} | null | undefined;
|
|
450
|
-
} | null | undefined;
|
|
451
|
-
}[] | null | undefined;
|
|
452
|
-
conversationId?: string | null | undefined;
|
|
453
418
|
transactionId?: string | null | undefined;
|
|
419
|
+
conversationId?: string | null | undefined;
|
|
454
420
|
labels?: {
|
|
455
421
|
id: string;
|
|
456
422
|
orderId: string;
|
|
@@ -459,23 +425,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
459
425
|
originalFileId: string;
|
|
460
426
|
file?: {
|
|
461
427
|
path: string;
|
|
428
|
+
userId: string | number;
|
|
462
429
|
id: string;
|
|
463
430
|
createdAt: Date;
|
|
464
|
-
userId: string | number;
|
|
465
431
|
signedUrl: string;
|
|
466
432
|
} | null | undefined;
|
|
467
433
|
originalFile?: {
|
|
468
434
|
path: string;
|
|
435
|
+
userId: string | number;
|
|
469
436
|
id: string;
|
|
470
437
|
createdAt: Date;
|
|
471
|
-
userId: string | number;
|
|
472
438
|
signedUrl: string;
|
|
473
439
|
} | null | undefined;
|
|
474
440
|
nonCroppedFile?: {
|
|
475
441
|
path: string;
|
|
442
|
+
userId: string | number;
|
|
476
443
|
id: string;
|
|
477
444
|
createdAt: Date;
|
|
478
|
-
userId: string | number;
|
|
479
445
|
signedUrl: string;
|
|
480
446
|
} | null | undefined;
|
|
481
447
|
}[] | null | undefined;
|
|
@@ -500,31 +466,20 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
500
466
|
longitude?: number | null | undefined;
|
|
501
467
|
} | null | undefined;
|
|
502
468
|
}[] | null | undefined;
|
|
503
|
-
}, {
|
|
504
|
-
type: "SALE" | "PURCHASE";
|
|
505
|
-
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";
|
|
506
|
-
date: Date;
|
|
507
|
-
id: string;
|
|
508
|
-
accountId: string;
|
|
509
|
-
price: number;
|
|
510
|
-
isPrepared: boolean;
|
|
511
|
-
platformOrderId: string;
|
|
512
469
|
items?: {
|
|
513
470
|
orderId: string;
|
|
514
471
|
itemOnPlatformId: string;
|
|
515
472
|
itemOnPlatform?: {
|
|
516
473
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
517
474
|
id: string;
|
|
518
|
-
createdAt: Date;
|
|
519
475
|
updatedAt: Date;
|
|
476
|
+
createdAt: Date;
|
|
520
477
|
accountId: string;
|
|
521
478
|
itemId: string | number;
|
|
522
479
|
platformId: string;
|
|
523
480
|
platformUrl: string;
|
|
524
481
|
platformPrice: number;
|
|
525
482
|
publishedAt: Date;
|
|
526
|
-
favoritesCount?: number | null | undefined;
|
|
527
|
-
viewsCount?: number | null | undefined;
|
|
528
483
|
conversationId?: string | null | undefined;
|
|
529
484
|
account?: {
|
|
530
485
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -541,10 +496,21 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
541
496
|
ordersMaxDelay?: number | null | undefined;
|
|
542
497
|
conversationsMaxDelay?: number | null | undefined;
|
|
543
498
|
} | null | undefined;
|
|
499
|
+
viewsCount?: number | null | undefined;
|
|
500
|
+
favoritesCount?: number | null | undefined;
|
|
544
501
|
} | null | undefined;
|
|
545
502
|
}[] | null | undefined;
|
|
546
|
-
|
|
503
|
+
}, {
|
|
504
|
+
type: "SALE" | "PURCHASE";
|
|
505
|
+
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";
|
|
506
|
+
date: Date;
|
|
507
|
+
id: string;
|
|
508
|
+
price: number;
|
|
509
|
+
accountId: string;
|
|
510
|
+
isPrepared: boolean;
|
|
511
|
+
platformOrderId: string;
|
|
547
512
|
transactionId?: string | null | undefined;
|
|
513
|
+
conversationId?: string | null | undefined;
|
|
548
514
|
labels?: {
|
|
549
515
|
id: string;
|
|
550
516
|
orderId: string;
|
|
@@ -553,23 +519,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
553
519
|
originalFileId: string;
|
|
554
520
|
file?: {
|
|
555
521
|
path: string;
|
|
522
|
+
userId: string | number;
|
|
556
523
|
id: string;
|
|
557
524
|
createdAt: Date;
|
|
558
|
-
userId: string | number;
|
|
559
525
|
signedUrl: string;
|
|
560
526
|
} | null | undefined;
|
|
561
527
|
originalFile?: {
|
|
562
528
|
path: string;
|
|
529
|
+
userId: string | number;
|
|
563
530
|
id: string;
|
|
564
531
|
createdAt: Date;
|
|
565
|
-
userId: string | number;
|
|
566
532
|
signedUrl: string;
|
|
567
533
|
} | null | undefined;
|
|
568
534
|
nonCroppedFile?: {
|
|
569
535
|
path: string;
|
|
536
|
+
userId: string | number;
|
|
570
537
|
id: string;
|
|
571
538
|
createdAt: Date;
|
|
572
|
-
userId: string | number;
|
|
573
539
|
signedUrl: string;
|
|
574
540
|
} | null | undefined;
|
|
575
541
|
}[] | null | undefined;
|
|
@@ -594,6 +560,40 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
594
560
|
longitude?: number | null | undefined;
|
|
595
561
|
} | null | undefined;
|
|
596
562
|
}[] | null | undefined;
|
|
563
|
+
items?: {
|
|
564
|
+
orderId: string;
|
|
565
|
+
itemOnPlatformId: string;
|
|
566
|
+
itemOnPlatform?: {
|
|
567
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
568
|
+
id: string;
|
|
569
|
+
updatedAt: Date;
|
|
570
|
+
createdAt: Date;
|
|
571
|
+
accountId: string;
|
|
572
|
+
itemId: string | number;
|
|
573
|
+
platformId: string;
|
|
574
|
+
platformUrl: string;
|
|
575
|
+
platformPrice: number;
|
|
576
|
+
publishedAt: Date;
|
|
577
|
+
conversationId?: string | null | undefined;
|
|
578
|
+
account?: {
|
|
579
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
580
|
+
userId: string | number;
|
|
581
|
+
name: string;
|
|
582
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
583
|
+
accountId: string;
|
|
584
|
+
locale?: string | null | undefined;
|
|
585
|
+
night?: {
|
|
586
|
+
startsAt: Date;
|
|
587
|
+
endsAt: Date;
|
|
588
|
+
} | null | undefined;
|
|
589
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
590
|
+
ordersMaxDelay?: number | null | undefined;
|
|
591
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
592
|
+
} | null | undefined;
|
|
593
|
+
viewsCount?: number | null | undefined;
|
|
594
|
+
favoritesCount?: number | null | undefined;
|
|
595
|
+
} | null | undefined;
|
|
596
|
+
}[] | null | undefined;
|
|
597
597
|
}>;
|
|
598
598
|
items: z.ZodArray<z.ZodObject<{
|
|
599
599
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -613,15 +613,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
613
613
|
createdAt: z.ZodDate;
|
|
614
614
|
}, "strip", z.ZodTypeAny, {
|
|
615
615
|
path: string;
|
|
616
|
+
userId: string | number;
|
|
616
617
|
id: string;
|
|
617
618
|
createdAt: Date;
|
|
618
|
-
userId: string | number;
|
|
619
619
|
signedUrl: string;
|
|
620
620
|
}, {
|
|
621
621
|
path: string;
|
|
622
|
+
userId: string | number;
|
|
622
623
|
id: string;
|
|
623
624
|
createdAt: Date;
|
|
624
|
-
userId: string | number;
|
|
625
625
|
signedUrl: string;
|
|
626
626
|
}>>>;
|
|
627
627
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -630,9 +630,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
630
630
|
index?: number | null | undefined;
|
|
631
631
|
file?: {
|
|
632
632
|
path: string;
|
|
633
|
+
userId: string | number;
|
|
633
634
|
id: string;
|
|
634
635
|
createdAt: Date;
|
|
635
|
-
userId: string | number;
|
|
636
636
|
signedUrl: string;
|
|
637
637
|
} | null | undefined;
|
|
638
638
|
}, {
|
|
@@ -641,9 +641,9 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
641
641
|
index?: number | null | undefined;
|
|
642
642
|
file?: {
|
|
643
643
|
path: string;
|
|
644
|
+
userId: string | number;
|
|
644
645
|
id: string;
|
|
645
646
|
createdAt: Date;
|
|
646
|
-
userId: string | number;
|
|
647
647
|
signedUrl: string;
|
|
648
648
|
} | null | undefined;
|
|
649
649
|
}>, "many">>>;
|
|
@@ -679,11 +679,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
679
679
|
}, "strip", z.ZodTypeAny, {
|
|
680
680
|
value: number;
|
|
681
681
|
type: string;
|
|
682
|
+
userId: string | number;
|
|
682
683
|
id: string | number;
|
|
683
|
-
createdAt: Date;
|
|
684
684
|
updatedAt: Date;
|
|
685
|
-
userId: string | number;
|
|
686
685
|
name: string;
|
|
686
|
+
createdAt: Date;
|
|
687
687
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
688
688
|
startDate: Date;
|
|
689
689
|
active: boolean;
|
|
@@ -694,11 +694,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
694
694
|
}, {
|
|
695
695
|
value: number;
|
|
696
696
|
type: string;
|
|
697
|
+
userId: string | number;
|
|
697
698
|
id: string | number;
|
|
698
|
-
createdAt: Date;
|
|
699
699
|
updatedAt: Date;
|
|
700
|
-
userId: string | number;
|
|
701
700
|
name: string;
|
|
701
|
+
createdAt: Date;
|
|
702
702
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
703
703
|
startDate: Date;
|
|
704
704
|
active: boolean;
|
|
@@ -718,42 +718,47 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
718
718
|
isUserLabel: z.ZodBoolean;
|
|
719
719
|
createdAt: z.ZodDate;
|
|
720
720
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
721
|
+
parentId: z.ZodUnknown;
|
|
721
722
|
}, "strip", z.ZodTypeAny, {
|
|
722
723
|
id: string | number;
|
|
723
|
-
createdAt: Date;
|
|
724
724
|
name: string;
|
|
725
|
+
createdAt: Date;
|
|
725
726
|
isUserLabel: boolean;
|
|
726
|
-
itemCount?: number | null | undefined;
|
|
727
727
|
userId?: string | number | null | undefined;
|
|
728
|
+
itemCount?: number | null | undefined;
|
|
729
|
+
parentId?: unknown;
|
|
728
730
|
}, {
|
|
729
731
|
id: string | number;
|
|
730
|
-
createdAt: Date;
|
|
731
732
|
name: string;
|
|
733
|
+
createdAt: Date;
|
|
732
734
|
isUserLabel: boolean;
|
|
733
|
-
itemCount?: number | null | undefined;
|
|
734
735
|
userId?: string | number | null | undefined;
|
|
736
|
+
itemCount?: number | null | undefined;
|
|
737
|
+
parentId?: unknown;
|
|
735
738
|
}>>>;
|
|
736
739
|
}, "strip", z.ZodTypeAny, {
|
|
737
740
|
itemId: string | number;
|
|
738
741
|
labelId: string | number;
|
|
739
742
|
label?: {
|
|
740
743
|
id: string | number;
|
|
741
|
-
createdAt: Date;
|
|
742
744
|
name: string;
|
|
745
|
+
createdAt: Date;
|
|
743
746
|
isUserLabel: boolean;
|
|
744
|
-
itemCount?: number | null | undefined;
|
|
745
747
|
userId?: string | number | null | undefined;
|
|
748
|
+
itemCount?: number | null | undefined;
|
|
749
|
+
parentId?: unknown;
|
|
746
750
|
} | null | undefined;
|
|
747
751
|
}, {
|
|
748
752
|
itemId: string | number;
|
|
749
753
|
labelId: string | number;
|
|
750
754
|
label?: {
|
|
751
755
|
id: string | number;
|
|
752
|
-
createdAt: Date;
|
|
753
756
|
name: string;
|
|
757
|
+
createdAt: Date;
|
|
754
758
|
isUserLabel: boolean;
|
|
755
|
-
itemCount?: number | null | undefined;
|
|
756
759
|
userId?: string | number | null | undefined;
|
|
760
|
+
itemCount?: number | null | undefined;
|
|
761
|
+
parentId?: unknown;
|
|
757
762
|
} | null | undefined;
|
|
758
763
|
}>, "many">>>;
|
|
759
764
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -772,8 +777,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
772
777
|
bic: z.ZodString;
|
|
773
778
|
phoneVerified: z.ZodBoolean;
|
|
774
779
|
}, "strip", z.ZodTypeAny, {
|
|
775
|
-
id: string | number;
|
|
776
780
|
userId: string | number;
|
|
781
|
+
id: string | number;
|
|
777
782
|
email: string;
|
|
778
783
|
firstName: string;
|
|
779
784
|
lastName: string;
|
|
@@ -784,8 +789,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
784
789
|
bic: string;
|
|
785
790
|
phoneVerified: boolean;
|
|
786
791
|
}, {
|
|
787
|
-
id: string | number;
|
|
788
792
|
userId: string | number;
|
|
793
|
+
id: string | number;
|
|
789
794
|
email: string;
|
|
790
795
|
firstName: string;
|
|
791
796
|
lastName: string;
|
|
@@ -911,11 +916,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
911
916
|
autoFixable: z.ZodBoolean;
|
|
912
917
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
918
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
919
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
915
920
|
autoFixable: boolean;
|
|
916
921
|
error?: string | null | undefined;
|
|
917
922
|
}, {
|
|
918
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
923
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
919
924
|
autoFixable: boolean;
|
|
920
925
|
error?: string | null | undefined;
|
|
921
926
|
}>, "many">>>;
|
|
@@ -925,7 +930,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
925
930
|
accountId?: string | null | undefined;
|
|
926
931
|
reason?: string | null | undefined;
|
|
927
932
|
fields?: {
|
|
928
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
933
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
929
934
|
autoFixable: boolean;
|
|
930
935
|
error?: string | null | undefined;
|
|
931
936
|
}[] | null | undefined;
|
|
@@ -935,7 +940,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
935
940
|
accountId?: string | null | undefined;
|
|
936
941
|
reason?: string | null | undefined;
|
|
937
942
|
fields?: {
|
|
938
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
943
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
939
944
|
autoFixable: boolean;
|
|
940
945
|
error?: string | null | undefined;
|
|
941
946
|
}[] | null | undefined;
|
|
@@ -949,7 +954,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
949
954
|
accountId?: string | null | undefined;
|
|
950
955
|
reason?: string | null | undefined;
|
|
951
956
|
fields?: {
|
|
952
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
957
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
953
958
|
autoFixable: boolean;
|
|
954
959
|
error?: string | null | undefined;
|
|
955
960
|
}[] | null | undefined;
|
|
@@ -962,7 +967,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
962
967
|
accountId?: string | null | undefined;
|
|
963
968
|
reason?: string | null | undefined;
|
|
964
969
|
fields?: {
|
|
965
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
970
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
966
971
|
autoFixable: boolean;
|
|
967
972
|
error?: string | null | undefined;
|
|
968
973
|
}[] | null | undefined;
|
|
@@ -1078,22 +1083,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1078
1083
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1079
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1085
|
status?: string | null | undefined;
|
|
1081
|
-
title?: string | null | undefined;
|
|
1082
|
-
description?: string | null | undefined;
|
|
1083
|
-
brand?: string | null | undefined;
|
|
1084
|
-
statusId?: number | null | undefined;
|
|
1085
|
-
sizeId?: number | null | undefined;
|
|
1086
|
-
colorIds?: number[] | null | undefined;
|
|
1087
|
-
packageSizeId?: number | null | undefined;
|
|
1088
1086
|
price?: number | null | undefined;
|
|
1089
1087
|
currency?: string | null | undefined;
|
|
1088
|
+
brand?: string | null | undefined;
|
|
1090
1089
|
catalog?: string | null | undefined;
|
|
1091
1090
|
catalogId?: number | null | undefined;
|
|
1092
1091
|
colors?: string[] | null | undefined;
|
|
1092
|
+
colorIds?: number[] | null | undefined;
|
|
1093
|
+
description?: string | null | undefined;
|
|
1093
1094
|
measurementLength?: number | null | undefined;
|
|
1094
1095
|
measurementWidth?: number | null | undefined;
|
|
1096
|
+
packageSizeId?: number | null | undefined;
|
|
1095
1097
|
photoUrls?: string[] | null | undefined;
|
|
1096
1098
|
size?: string | null | undefined;
|
|
1099
|
+
sizeId?: number | null | undefined;
|
|
1100
|
+
statusId?: number | null | undefined;
|
|
1101
|
+
title?: string | null | undefined;
|
|
1097
1102
|
isDraft?: boolean | null | undefined;
|
|
1098
1103
|
isArchived?: boolean | null | undefined;
|
|
1099
1104
|
availableQuantity?: number | null | undefined;
|
|
@@ -1102,22 +1107,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1102
1107
|
labels?: string[] | null | undefined;
|
|
1103
1108
|
}, {
|
|
1104
1109
|
status?: string | null | undefined;
|
|
1105
|
-
title?: string | null | undefined;
|
|
1106
|
-
description?: string | null | undefined;
|
|
1107
|
-
brand?: string | null | undefined;
|
|
1108
|
-
statusId?: number | null | undefined;
|
|
1109
|
-
sizeId?: number | null | undefined;
|
|
1110
|
-
colorIds?: number[] | null | undefined;
|
|
1111
|
-
packageSizeId?: number | null | undefined;
|
|
1112
1110
|
price?: number | null | undefined;
|
|
1113
1111
|
currency?: string | null | undefined;
|
|
1112
|
+
brand?: string | null | undefined;
|
|
1114
1113
|
catalog?: string | null | undefined;
|
|
1115
1114
|
catalogId?: number | null | undefined;
|
|
1116
1115
|
colors?: string[] | null | undefined;
|
|
1116
|
+
colorIds?: number[] | null | undefined;
|
|
1117
|
+
description?: string | null | undefined;
|
|
1117
1118
|
measurementLength?: number | null | undefined;
|
|
1118
1119
|
measurementWidth?: number | null | undefined;
|
|
1120
|
+
packageSizeId?: number | null | undefined;
|
|
1119
1121
|
photoUrls?: string[] | null | undefined;
|
|
1120
1122
|
size?: string | null | undefined;
|
|
1123
|
+
sizeId?: number | null | undefined;
|
|
1124
|
+
statusId?: number | null | undefined;
|
|
1125
|
+
title?: string | null | undefined;
|
|
1121
1126
|
isDraft?: boolean | null | undefined;
|
|
1122
1127
|
isArchived?: boolean | null | undefined;
|
|
1123
1128
|
availableQuantity?: number | null | undefined;
|
|
@@ -1129,22 +1134,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1129
1134
|
platformId: string;
|
|
1130
1135
|
post: {
|
|
1131
1136
|
status?: string | null | undefined;
|
|
1132
|
-
title?: string | null | undefined;
|
|
1133
|
-
description?: string | null | undefined;
|
|
1134
|
-
brand?: string | null | undefined;
|
|
1135
|
-
statusId?: number | null | undefined;
|
|
1136
|
-
sizeId?: number | null | undefined;
|
|
1137
|
-
colorIds?: number[] | null | undefined;
|
|
1138
|
-
packageSizeId?: number | null | undefined;
|
|
1139
1137
|
price?: number | null | undefined;
|
|
1140
1138
|
currency?: string | null | undefined;
|
|
1139
|
+
brand?: string | null | undefined;
|
|
1141
1140
|
catalog?: string | null | undefined;
|
|
1142
1141
|
catalogId?: number | null | undefined;
|
|
1143
1142
|
colors?: string[] | null | undefined;
|
|
1143
|
+
colorIds?: number[] | null | undefined;
|
|
1144
|
+
description?: string | null | undefined;
|
|
1144
1145
|
measurementLength?: number | null | undefined;
|
|
1145
1146
|
measurementWidth?: number | null | undefined;
|
|
1147
|
+
packageSizeId?: number | null | undefined;
|
|
1146
1148
|
photoUrls?: string[] | null | undefined;
|
|
1147
1149
|
size?: string | null | undefined;
|
|
1150
|
+
sizeId?: number | null | undefined;
|
|
1151
|
+
statusId?: number | null | undefined;
|
|
1152
|
+
title?: string | null | undefined;
|
|
1148
1153
|
isDraft?: boolean | null | undefined;
|
|
1149
1154
|
isArchived?: boolean | null | undefined;
|
|
1150
1155
|
availableQuantity?: number | null | undefined;
|
|
@@ -1158,22 +1163,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1158
1163
|
platformId: string;
|
|
1159
1164
|
post: {
|
|
1160
1165
|
status?: string | null | undefined;
|
|
1161
|
-
title?: string | null | undefined;
|
|
1162
|
-
description?: string | null | undefined;
|
|
1163
|
-
brand?: string | null | undefined;
|
|
1164
|
-
statusId?: number | null | undefined;
|
|
1165
|
-
sizeId?: number | null | undefined;
|
|
1166
|
-
colorIds?: number[] | null | undefined;
|
|
1167
|
-
packageSizeId?: number | null | undefined;
|
|
1168
1166
|
price?: number | null | undefined;
|
|
1169
1167
|
currency?: string | null | undefined;
|
|
1168
|
+
brand?: string | null | undefined;
|
|
1170
1169
|
catalog?: string | null | undefined;
|
|
1171
1170
|
catalogId?: number | null | undefined;
|
|
1172
1171
|
colors?: string[] | null | undefined;
|
|
1172
|
+
colorIds?: number[] | null | undefined;
|
|
1173
|
+
description?: string | null | undefined;
|
|
1173
1174
|
measurementLength?: number | null | undefined;
|
|
1174
1175
|
measurementWidth?: number | null | undefined;
|
|
1176
|
+
packageSizeId?: number | null | undefined;
|
|
1175
1177
|
photoUrls?: string[] | null | undefined;
|
|
1176
1178
|
size?: string | null | undefined;
|
|
1179
|
+
sizeId?: number | null | undefined;
|
|
1180
|
+
statusId?: number | null | undefined;
|
|
1181
|
+
title?: string | null | undefined;
|
|
1177
1182
|
isDraft?: boolean | null | undefined;
|
|
1178
1183
|
isArchived?: boolean | null | undefined;
|
|
1179
1184
|
availableQuantity?: number | null | undefined;
|
|
@@ -1189,22 +1194,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1189
1194
|
platformId: string;
|
|
1190
1195
|
post: {
|
|
1191
1196
|
status?: string | null | undefined;
|
|
1192
|
-
|
|
1193
|
-
|
|
1197
|
+
price?: number | null | undefined;
|
|
1198
|
+
currency?: string | null | undefined;
|
|
1194
1199
|
brand?: string | null | undefined;
|
|
1195
|
-
statusId?: number | null | undefined;
|
|
1196
|
-
sizeId?: number | null | undefined;
|
|
1197
|
-
colorIds?: number[] | null | undefined;
|
|
1198
|
-
packageSizeId?: number | null | undefined;
|
|
1199
|
-
price?: number | null | undefined;
|
|
1200
|
-
currency?: string | null | undefined;
|
|
1201
1200
|
catalog?: string | null | undefined;
|
|
1202
1201
|
catalogId?: number | null | undefined;
|
|
1203
1202
|
colors?: string[] | null | undefined;
|
|
1203
|
+
colorIds?: number[] | null | undefined;
|
|
1204
|
+
description?: string | null | undefined;
|
|
1204
1205
|
measurementLength?: number | null | undefined;
|
|
1205
1206
|
measurementWidth?: number | null | undefined;
|
|
1207
|
+
packageSizeId?: number | null | undefined;
|
|
1206
1208
|
photoUrls?: string[] | null | undefined;
|
|
1207
1209
|
size?: string | null | undefined;
|
|
1210
|
+
sizeId?: number | null | undefined;
|
|
1211
|
+
statusId?: number | null | undefined;
|
|
1212
|
+
title?: string | null | undefined;
|
|
1208
1213
|
isDraft?: boolean | null | undefined;
|
|
1209
1214
|
isArchived?: boolean | null | undefined;
|
|
1210
1215
|
availableQuantity?: number | null | undefined;
|
|
@@ -1220,22 +1225,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1220
1225
|
platformId: string;
|
|
1221
1226
|
post: {
|
|
1222
1227
|
status?: string | null | undefined;
|
|
1223
|
-
title?: string | null | undefined;
|
|
1224
|
-
description?: string | null | undefined;
|
|
1225
|
-
brand?: string | null | undefined;
|
|
1226
|
-
statusId?: number | null | undefined;
|
|
1227
|
-
sizeId?: number | null | undefined;
|
|
1228
|
-
colorIds?: number[] | null | undefined;
|
|
1229
|
-
packageSizeId?: number | null | undefined;
|
|
1230
1228
|
price?: number | null | undefined;
|
|
1231
1229
|
currency?: string | null | undefined;
|
|
1230
|
+
brand?: string | null | undefined;
|
|
1232
1231
|
catalog?: string | null | undefined;
|
|
1233
1232
|
catalogId?: number | null | undefined;
|
|
1234
1233
|
colors?: string[] | null | undefined;
|
|
1234
|
+
colorIds?: number[] | null | undefined;
|
|
1235
|
+
description?: string | null | undefined;
|
|
1235
1236
|
measurementLength?: number | null | undefined;
|
|
1236
1237
|
measurementWidth?: number | null | undefined;
|
|
1238
|
+
packageSizeId?: number | null | undefined;
|
|
1237
1239
|
photoUrls?: string[] | null | undefined;
|
|
1238
1240
|
size?: string | null | undefined;
|
|
1241
|
+
sizeId?: number | null | undefined;
|
|
1242
|
+
statusId?: number | null | undefined;
|
|
1243
|
+
title?: string | null | undefined;
|
|
1239
1244
|
isDraft?: boolean | null | undefined;
|
|
1240
1245
|
isArchived?: boolean | null | undefined;
|
|
1241
1246
|
availableQuantity?: number | null | undefined;
|
|
@@ -1255,22 +1260,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1255
1260
|
platformId: string;
|
|
1256
1261
|
post: {
|
|
1257
1262
|
status?: string | null | undefined;
|
|
1258
|
-
title?: string | null | undefined;
|
|
1259
|
-
description?: string | null | undefined;
|
|
1260
|
-
brand?: string | null | undefined;
|
|
1261
|
-
statusId?: number | null | undefined;
|
|
1262
|
-
sizeId?: number | null | undefined;
|
|
1263
|
-
colorIds?: number[] | null | undefined;
|
|
1264
|
-
packageSizeId?: number | null | undefined;
|
|
1265
1263
|
price?: number | null | undefined;
|
|
1266
1264
|
currency?: string | null | undefined;
|
|
1265
|
+
brand?: string | null | undefined;
|
|
1267
1266
|
catalog?: string | null | undefined;
|
|
1268
1267
|
catalogId?: number | null | undefined;
|
|
1269
1268
|
colors?: string[] | null | undefined;
|
|
1269
|
+
colorIds?: number[] | null | undefined;
|
|
1270
|
+
description?: string | null | undefined;
|
|
1270
1271
|
measurementLength?: number | null | undefined;
|
|
1271
1272
|
measurementWidth?: number | null | undefined;
|
|
1273
|
+
packageSizeId?: number | null | undefined;
|
|
1272
1274
|
photoUrls?: string[] | null | undefined;
|
|
1273
1275
|
size?: string | null | undefined;
|
|
1276
|
+
sizeId?: number | null | undefined;
|
|
1277
|
+
statusId?: number | null | undefined;
|
|
1278
|
+
title?: string | null | undefined;
|
|
1274
1279
|
isDraft?: boolean | null | undefined;
|
|
1275
1280
|
isArchived?: boolean | null | undefined;
|
|
1276
1281
|
availableQuantity?: number | null | undefined;
|
|
@@ -1289,22 +1294,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1289
1294
|
platformId: string;
|
|
1290
1295
|
post: {
|
|
1291
1296
|
status?: string | null | undefined;
|
|
1292
|
-
title?: string | null | undefined;
|
|
1293
|
-
description?: string | null | undefined;
|
|
1294
|
-
brand?: string | null | undefined;
|
|
1295
|
-
statusId?: number | null | undefined;
|
|
1296
|
-
sizeId?: number | null | undefined;
|
|
1297
|
-
colorIds?: number[] | null | undefined;
|
|
1298
|
-
packageSizeId?: number | null | undefined;
|
|
1299
1297
|
price?: number | null | undefined;
|
|
1300
1298
|
currency?: string | null | undefined;
|
|
1299
|
+
brand?: string | null | undefined;
|
|
1301
1300
|
catalog?: string | null | undefined;
|
|
1302
1301
|
catalogId?: number | null | undefined;
|
|
1303
1302
|
colors?: string[] | null | undefined;
|
|
1303
|
+
colorIds?: number[] | null | undefined;
|
|
1304
|
+
description?: string | null | undefined;
|
|
1304
1305
|
measurementLength?: number | null | undefined;
|
|
1305
1306
|
measurementWidth?: number | null | undefined;
|
|
1307
|
+
packageSizeId?: number | null | undefined;
|
|
1306
1308
|
photoUrls?: string[] | null | undefined;
|
|
1307
1309
|
size?: string | null | undefined;
|
|
1310
|
+
sizeId?: number | null | undefined;
|
|
1311
|
+
statusId?: number | null | undefined;
|
|
1312
|
+
title?: string | null | undefined;
|
|
1308
1313
|
isDraft?: boolean | null | undefined;
|
|
1309
1314
|
isArchived?: boolean | null | undefined;
|
|
1310
1315
|
availableQuantity?: number | null | undefined;
|
|
@@ -1340,24 +1345,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1340
1345
|
accountId: z.ZodString;
|
|
1341
1346
|
caseId: z.ZodString;
|
|
1342
1347
|
}, "strip", z.ZodTypeAny, {
|
|
1343
|
-
caseId: string;
|
|
1344
1348
|
accountId: string;
|
|
1345
|
-
}, {
|
|
1346
1349
|
caseId: string;
|
|
1350
|
+
}, {
|
|
1347
1351
|
accountId: string;
|
|
1352
|
+
caseId: string;
|
|
1348
1353
|
}>;
|
|
1349
1354
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1350
1355
|
}, "strip", z.ZodTypeAny, {
|
|
1351
1356
|
type: "LIFECYCLE_STARTED";
|
|
1352
1357
|
data: {
|
|
1353
|
-
caseId: string;
|
|
1354
1358
|
accountId: string;
|
|
1359
|
+
caseId: string;
|
|
1355
1360
|
};
|
|
1356
1361
|
}, {
|
|
1357
1362
|
type: "LIFECYCLE_STARTED";
|
|
1358
1363
|
data: {
|
|
1359
|
-
caseId: string;
|
|
1360
1364
|
accountId: string;
|
|
1365
|
+
caseId: string;
|
|
1361
1366
|
};
|
|
1362
1367
|
}>, z.ZodObject<{
|
|
1363
1368
|
data: z.ZodObject<{
|
|
@@ -1386,6 +1391,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1386
1391
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1387
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1388
1393
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1394
|
+
publishingDate?: Date | null | undefined;
|
|
1389
1395
|
priceDropPayload?: {
|
|
1390
1396
|
value: number;
|
|
1391
1397
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1393,11 +1399,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1393
1399
|
roundStep?: number | null | undefined;
|
|
1394
1400
|
maxRounds?: number | null | undefined;
|
|
1395
1401
|
} | null | undefined;
|
|
1396
|
-
publishingDate?: Date | null | undefined;
|
|
1397
|
-
targetAccountId?: string | null | undefined;
|
|
1398
1402
|
isTransfer?: boolean | null | undefined;
|
|
1403
|
+
targetAccountId?: string | null | undefined;
|
|
1399
1404
|
}, {
|
|
1400
1405
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1406
|
+
publishingDate?: Date | null | undefined;
|
|
1401
1407
|
priceDropPayload?: {
|
|
1402
1408
|
value: number;
|
|
1403
1409
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1405,15 +1411,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1405
1411
|
roundStep?: number | null | undefined;
|
|
1406
1412
|
maxRounds?: number | null | undefined;
|
|
1407
1413
|
} | null | undefined;
|
|
1408
|
-
publishingDate?: Date | null | undefined;
|
|
1409
|
-
targetAccountId?: string | null | undefined;
|
|
1410
1414
|
isTransfer?: boolean | null | undefined;
|
|
1415
|
+
targetAccountId?: string | null | undefined;
|
|
1411
1416
|
}>;
|
|
1412
1417
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1413
1418
|
}, "strip", z.ZodTypeAny, {
|
|
1414
1419
|
type: "REPUBLISHING";
|
|
1415
1420
|
data: {
|
|
1416
1421
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1422
|
+
publishingDate?: Date | null | undefined;
|
|
1417
1423
|
priceDropPayload?: {
|
|
1418
1424
|
value: number;
|
|
1419
1425
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1421,14 +1427,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1421
1427
|
roundStep?: number | null | undefined;
|
|
1422
1428
|
maxRounds?: number | null | undefined;
|
|
1423
1429
|
} | null | undefined;
|
|
1424
|
-
publishingDate?: Date | null | undefined;
|
|
1425
|
-
targetAccountId?: string | null | undefined;
|
|
1426
1430
|
isTransfer?: boolean | null | undefined;
|
|
1431
|
+
targetAccountId?: string | null | undefined;
|
|
1427
1432
|
};
|
|
1428
1433
|
}, {
|
|
1429
1434
|
type: "REPUBLISHING";
|
|
1430
1435
|
data: {
|
|
1431
1436
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1437
|
+
publishingDate?: Date | null | undefined;
|
|
1432
1438
|
priceDropPayload?: {
|
|
1433
1439
|
value: number;
|
|
1434
1440
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1436,9 +1442,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1436
1442
|
roundStep?: number | null | undefined;
|
|
1437
1443
|
maxRounds?: number | null | undefined;
|
|
1438
1444
|
} | null | undefined;
|
|
1439
|
-
publishingDate?: Date | null | undefined;
|
|
1440
|
-
targetAccountId?: string | null | undefined;
|
|
1441
1445
|
isTransfer?: boolean | null | undefined;
|
|
1446
|
+
targetAccountId?: string | null | undefined;
|
|
1442
1447
|
};
|
|
1443
1448
|
}>, z.ZodObject<{
|
|
1444
1449
|
data: z.ZodObject<{
|
|
@@ -1452,11 +1457,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1452
1457
|
autoFixable: z.ZodBoolean;
|
|
1453
1458
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1455
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1460
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1456
1461
|
autoFixable: boolean;
|
|
1457
1462
|
error?: string | null | undefined;
|
|
1458
1463
|
}, {
|
|
1459
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1464
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1460
1465
|
autoFixable: boolean;
|
|
1461
1466
|
error?: string | null | undefined;
|
|
1462
1467
|
}>, "many">>>;
|
|
@@ -1480,11 +1485,16 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1480
1485
|
maxRounds?: number | null | undefined;
|
|
1481
1486
|
}>>>;
|
|
1482
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1483
|
-
maxAttempts: number;
|
|
1484
1488
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1485
1489
|
attemptNumber: number;
|
|
1490
|
+
maxAttempts: number;
|
|
1486
1491
|
previousHistoryId: string;
|
|
1487
1492
|
originalFailureDate: Date;
|
|
1493
|
+
fields?: {
|
|
1494
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1495
|
+
autoFixable: boolean;
|
|
1496
|
+
error?: string | null | undefined;
|
|
1497
|
+
}[] | null | undefined;
|
|
1488
1498
|
priceDropPayload?: {
|
|
1489
1499
|
value: number;
|
|
1490
1500
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1492,17 +1502,17 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1492
1502
|
roundStep?: number | null | undefined;
|
|
1493
1503
|
maxRounds?: number | null | undefined;
|
|
1494
1504
|
} | null | undefined;
|
|
1495
|
-
fields?: {
|
|
1496
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1497
|
-
autoFixable: boolean;
|
|
1498
|
-
error?: string | null | undefined;
|
|
1499
|
-
}[] | null | undefined;
|
|
1500
1505
|
}, {
|
|
1501
|
-
maxAttempts: number;
|
|
1502
1506
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1503
1507
|
attemptNumber: number;
|
|
1508
|
+
maxAttempts: number;
|
|
1504
1509
|
previousHistoryId: string;
|
|
1505
1510
|
originalFailureDate: Date;
|
|
1511
|
+
fields?: {
|
|
1512
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1513
|
+
autoFixable: boolean;
|
|
1514
|
+
error?: string | null | undefined;
|
|
1515
|
+
}[] | null | undefined;
|
|
1506
1516
|
priceDropPayload?: {
|
|
1507
1517
|
value: number;
|
|
1508
1518
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1510,21 +1520,21 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1510
1520
|
roundStep?: number | null | undefined;
|
|
1511
1521
|
maxRounds?: number | null | undefined;
|
|
1512
1522
|
} | null | undefined;
|
|
1513
|
-
fields?: {
|
|
1514
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1515
|
-
autoFixable: boolean;
|
|
1516
|
-
error?: string | null | undefined;
|
|
1517
|
-
}[] | null | undefined;
|
|
1518
1523
|
}>;
|
|
1519
1524
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1520
1525
|
}, "strip", z.ZodTypeAny, {
|
|
1521
1526
|
type: "REPUBLISHING_RETRY";
|
|
1522
1527
|
data: {
|
|
1523
|
-
maxAttempts: number;
|
|
1524
1528
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1525
1529
|
attemptNumber: number;
|
|
1530
|
+
maxAttempts: number;
|
|
1526
1531
|
previousHistoryId: string;
|
|
1527
1532
|
originalFailureDate: Date;
|
|
1533
|
+
fields?: {
|
|
1534
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1535
|
+
autoFixable: boolean;
|
|
1536
|
+
error?: string | null | undefined;
|
|
1537
|
+
}[] | null | undefined;
|
|
1528
1538
|
priceDropPayload?: {
|
|
1529
1539
|
value: number;
|
|
1530
1540
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1532,20 +1542,20 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1532
1542
|
roundStep?: number | null | undefined;
|
|
1533
1543
|
maxRounds?: number | null | undefined;
|
|
1534
1544
|
} | null | undefined;
|
|
1535
|
-
fields?: {
|
|
1536
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1537
|
-
autoFixable: boolean;
|
|
1538
|
-
error?: string | null | undefined;
|
|
1539
|
-
}[] | null | undefined;
|
|
1540
1545
|
};
|
|
1541
1546
|
}, {
|
|
1542
1547
|
type: "REPUBLISHING_RETRY";
|
|
1543
1548
|
data: {
|
|
1544
|
-
maxAttempts: number;
|
|
1545
1549
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1546
1550
|
attemptNumber: number;
|
|
1551
|
+
maxAttempts: number;
|
|
1547
1552
|
previousHistoryId: string;
|
|
1548
1553
|
originalFailureDate: Date;
|
|
1554
|
+
fields?: {
|
|
1555
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1556
|
+
autoFixable: boolean;
|
|
1557
|
+
error?: string | null | undefined;
|
|
1558
|
+
}[] | null | undefined;
|
|
1549
1559
|
priceDropPayload?: {
|
|
1550
1560
|
value: number;
|
|
1551
1561
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1553,11 +1563,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1553
1563
|
roundStep?: number | null | undefined;
|
|
1554
1564
|
maxRounds?: number | null | undefined;
|
|
1555
1565
|
} | null | undefined;
|
|
1556
|
-
fields?: {
|
|
1557
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1558
|
-
autoFixable: boolean;
|
|
1559
|
-
error?: string | null | undefined;
|
|
1560
|
-
}[] | null | undefined;
|
|
1561
1566
|
};
|
|
1562
1567
|
}>, z.ZodObject<{
|
|
1563
1568
|
data: z.ZodObject<{
|
|
@@ -1595,33 +1600,33 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1595
1600
|
autoFixable: z.ZodBoolean;
|
|
1596
1601
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1597
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1598
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1603
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1599
1604
|
autoFixable: boolean;
|
|
1600
1605
|
error?: string | null | undefined;
|
|
1601
1606
|
}, {
|
|
1602
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1607
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1603
1608
|
autoFixable: boolean;
|
|
1604
1609
|
error?: string | null | undefined;
|
|
1605
1610
|
}>, "many">>>;
|
|
1606
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1607
|
-
maxAttempts: number;
|
|
1608
1612
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1609
1613
|
attemptNumber: number;
|
|
1614
|
+
maxAttempts: number;
|
|
1610
1615
|
previousHistoryId: string;
|
|
1611
1616
|
originalFailureDate: Date;
|
|
1612
1617
|
fields?: {
|
|
1613
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1618
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1614
1619
|
autoFixable: boolean;
|
|
1615
1620
|
error?: string | null | undefined;
|
|
1616
1621
|
}[] | null | undefined;
|
|
1617
1622
|
}, {
|
|
1618
|
-
maxAttempts: number;
|
|
1619
1623
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1620
1624
|
attemptNumber: number;
|
|
1625
|
+
maxAttempts: number;
|
|
1621
1626
|
previousHistoryId: string;
|
|
1622
1627
|
originalFailureDate: Date;
|
|
1623
1628
|
fields?: {
|
|
1624
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1629
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1625
1630
|
autoFixable: boolean;
|
|
1626
1631
|
error?: string | null | undefined;
|
|
1627
1632
|
}[] | null | undefined;
|
|
@@ -1630,13 +1635,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1630
1635
|
}, "strip", z.ZodTypeAny, {
|
|
1631
1636
|
type: "SCHEDULED_RETRY";
|
|
1632
1637
|
data: {
|
|
1633
|
-
maxAttempts: number;
|
|
1634
1638
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1635
1639
|
attemptNumber: number;
|
|
1640
|
+
maxAttempts: number;
|
|
1636
1641
|
previousHistoryId: string;
|
|
1637
1642
|
originalFailureDate: Date;
|
|
1638
1643
|
fields?: {
|
|
1639
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1644
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1640
1645
|
autoFixable: boolean;
|
|
1641
1646
|
error?: string | null | undefined;
|
|
1642
1647
|
}[] | null | undefined;
|
|
@@ -1644,13 +1649,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1644
1649
|
}, {
|
|
1645
1650
|
type: "SCHEDULED_RETRY";
|
|
1646
1651
|
data: {
|
|
1647
|
-
maxAttempts: number;
|
|
1648
1652
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1649
1653
|
attemptNumber: number;
|
|
1654
|
+
maxAttempts: number;
|
|
1650
1655
|
previousHistoryId: string;
|
|
1651
1656
|
originalFailureDate: Date;
|
|
1652
1657
|
fields?: {
|
|
1653
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1658
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1654
1659
|
autoFixable: boolean;
|
|
1655
1660
|
error?: string | null | undefined;
|
|
1656
1661
|
}[] | null | undefined;
|
|
@@ -1665,7 +1670,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1665
1670
|
id: string;
|
|
1666
1671
|
createdAt: Date;
|
|
1667
1672
|
itemId: string | number;
|
|
1668
|
-
requestId?: string | null | undefined;
|
|
1669
1673
|
data?: {
|
|
1670
1674
|
type: "ACTION_CANCELED";
|
|
1671
1675
|
data: {
|
|
@@ -1694,7 +1698,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1694
1698
|
accountId?: string | null | undefined;
|
|
1695
1699
|
reason?: string | null | undefined;
|
|
1696
1700
|
fields?: {
|
|
1697
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1701
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1698
1702
|
autoFixable: boolean;
|
|
1699
1703
|
error?: string | null | undefined;
|
|
1700
1704
|
}[] | null | undefined;
|
|
@@ -1721,22 +1725,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1721
1725
|
platformId: string;
|
|
1722
1726
|
post: {
|
|
1723
1727
|
status?: string | null | undefined;
|
|
1724
|
-
title?: string | null | undefined;
|
|
1725
|
-
description?: string | null | undefined;
|
|
1726
|
-
brand?: string | null | undefined;
|
|
1727
|
-
statusId?: number | null | undefined;
|
|
1728
|
-
sizeId?: number | null | undefined;
|
|
1729
|
-
colorIds?: number[] | null | undefined;
|
|
1730
|
-
packageSizeId?: number | null | undefined;
|
|
1731
1728
|
price?: number | null | undefined;
|
|
1732
1729
|
currency?: string | null | undefined;
|
|
1730
|
+
brand?: string | null | undefined;
|
|
1733
1731
|
catalog?: string | null | undefined;
|
|
1734
1732
|
catalogId?: number | null | undefined;
|
|
1735
1733
|
colors?: string[] | null | undefined;
|
|
1734
|
+
colorIds?: number[] | null | undefined;
|
|
1735
|
+
description?: string | null | undefined;
|
|
1736
1736
|
measurementLength?: number | null | undefined;
|
|
1737
1737
|
measurementWidth?: number | null | undefined;
|
|
1738
|
+
packageSizeId?: number | null | undefined;
|
|
1738
1739
|
photoUrls?: string[] | null | undefined;
|
|
1739
1740
|
size?: string | null | undefined;
|
|
1741
|
+
sizeId?: number | null | undefined;
|
|
1742
|
+
statusId?: number | null | undefined;
|
|
1743
|
+
title?: string | null | undefined;
|
|
1740
1744
|
isDraft?: boolean | null | undefined;
|
|
1741
1745
|
isArchived?: boolean | null | undefined;
|
|
1742
1746
|
availableQuantity?: number | null | undefined;
|
|
@@ -1756,13 +1760,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1756
1760
|
} | {
|
|
1757
1761
|
type: "LIFECYCLE_STARTED";
|
|
1758
1762
|
data: {
|
|
1759
|
-
caseId: string;
|
|
1760
1763
|
accountId: string;
|
|
1764
|
+
caseId: string;
|
|
1761
1765
|
};
|
|
1762
1766
|
} | {
|
|
1763
1767
|
type: "REPUBLISHING";
|
|
1764
1768
|
data: {
|
|
1765
1769
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1770
|
+
publishingDate?: Date | null | undefined;
|
|
1766
1771
|
priceDropPayload?: {
|
|
1767
1772
|
value: number;
|
|
1768
1773
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1770,18 +1775,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1770
1775
|
roundStep?: number | null | undefined;
|
|
1771
1776
|
maxRounds?: number | null | undefined;
|
|
1772
1777
|
} | null | undefined;
|
|
1773
|
-
publishingDate?: Date | null | undefined;
|
|
1774
|
-
targetAccountId?: string | null | undefined;
|
|
1775
1778
|
isTransfer?: boolean | null | undefined;
|
|
1779
|
+
targetAccountId?: string | null | undefined;
|
|
1776
1780
|
};
|
|
1777
1781
|
} | {
|
|
1778
1782
|
type: "REPUBLISHING_RETRY";
|
|
1779
1783
|
data: {
|
|
1780
|
-
maxAttempts: number;
|
|
1781
1784
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1782
1785
|
attemptNumber: number;
|
|
1786
|
+
maxAttempts: number;
|
|
1783
1787
|
previousHistoryId: string;
|
|
1784
1788
|
originalFailureDate: Date;
|
|
1789
|
+
fields?: {
|
|
1790
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1791
|
+
autoFixable: boolean;
|
|
1792
|
+
error?: string | null | undefined;
|
|
1793
|
+
}[] | null | undefined;
|
|
1785
1794
|
priceDropPayload?: {
|
|
1786
1795
|
value: number;
|
|
1787
1796
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1789,11 +1798,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1789
1798
|
roundStep?: number | null | undefined;
|
|
1790
1799
|
maxRounds?: number | null | undefined;
|
|
1791
1800
|
} | null | undefined;
|
|
1792
|
-
fields?: {
|
|
1793
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1794
|
-
autoFixable: boolean;
|
|
1795
|
-
error?: string | null | undefined;
|
|
1796
|
-
}[] | null | undefined;
|
|
1797
1801
|
};
|
|
1798
1802
|
} | {
|
|
1799
1803
|
type: "SCHEDULED";
|
|
@@ -1804,26 +1808,26 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1804
1808
|
} | {
|
|
1805
1809
|
type: "SCHEDULED_RETRY";
|
|
1806
1810
|
data: {
|
|
1807
|
-
maxAttempts: number;
|
|
1808
1811
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1809
1812
|
attemptNumber: number;
|
|
1813
|
+
maxAttempts: number;
|
|
1810
1814
|
previousHistoryId: string;
|
|
1811
1815
|
originalFailureDate: Date;
|
|
1812
1816
|
fields?: {
|
|
1813
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1817
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1814
1818
|
autoFixable: boolean;
|
|
1815
1819
|
error?: string | null | undefined;
|
|
1816
1820
|
}[] | null | undefined;
|
|
1817
1821
|
};
|
|
1818
1822
|
} | null | undefined;
|
|
1819
1823
|
accountId?: string | null | undefined;
|
|
1824
|
+
requestId?: string | null | undefined;
|
|
1820
1825
|
targetDate?: Date | null | undefined;
|
|
1821
1826
|
}, {
|
|
1822
1827
|
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";
|
|
1823
1828
|
id: string;
|
|
1824
1829
|
createdAt: Date;
|
|
1825
1830
|
itemId: string | number;
|
|
1826
|
-
requestId?: string | null | undefined;
|
|
1827
1831
|
data?: {
|
|
1828
1832
|
type: "ACTION_CANCELED";
|
|
1829
1833
|
data: {
|
|
@@ -1852,7 +1856,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1852
1856
|
accountId?: string | null | undefined;
|
|
1853
1857
|
reason?: string | null | undefined;
|
|
1854
1858
|
fields?: {
|
|
1855
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1859
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1856
1860
|
autoFixable: boolean;
|
|
1857
1861
|
error?: string | null | undefined;
|
|
1858
1862
|
}[] | null | undefined;
|
|
@@ -1879,22 +1883,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1879
1883
|
platformId: string;
|
|
1880
1884
|
post: {
|
|
1881
1885
|
status?: string | null | undefined;
|
|
1882
|
-
title?: string | null | undefined;
|
|
1883
|
-
description?: string | null | undefined;
|
|
1884
|
-
brand?: string | null | undefined;
|
|
1885
|
-
statusId?: number | null | undefined;
|
|
1886
|
-
sizeId?: number | null | undefined;
|
|
1887
|
-
colorIds?: number[] | null | undefined;
|
|
1888
|
-
packageSizeId?: number | null | undefined;
|
|
1889
1886
|
price?: number | null | undefined;
|
|
1890
1887
|
currency?: string | null | undefined;
|
|
1888
|
+
brand?: string | null | undefined;
|
|
1891
1889
|
catalog?: string | null | undefined;
|
|
1892
1890
|
catalogId?: number | null | undefined;
|
|
1893
1891
|
colors?: string[] | null | undefined;
|
|
1892
|
+
colorIds?: number[] | null | undefined;
|
|
1893
|
+
description?: string | null | undefined;
|
|
1894
1894
|
measurementLength?: number | null | undefined;
|
|
1895
1895
|
measurementWidth?: number | null | undefined;
|
|
1896
|
+
packageSizeId?: number | null | undefined;
|
|
1896
1897
|
photoUrls?: string[] | null | undefined;
|
|
1897
1898
|
size?: string | null | undefined;
|
|
1899
|
+
sizeId?: number | null | undefined;
|
|
1900
|
+
statusId?: number | null | undefined;
|
|
1901
|
+
title?: string | null | undefined;
|
|
1898
1902
|
isDraft?: boolean | null | undefined;
|
|
1899
1903
|
isArchived?: boolean | null | undefined;
|
|
1900
1904
|
availableQuantity?: number | null | undefined;
|
|
@@ -1914,13 +1918,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1914
1918
|
} | {
|
|
1915
1919
|
type: "LIFECYCLE_STARTED";
|
|
1916
1920
|
data: {
|
|
1917
|
-
caseId: string;
|
|
1918
1921
|
accountId: string;
|
|
1922
|
+
caseId: string;
|
|
1919
1923
|
};
|
|
1920
1924
|
} | {
|
|
1921
1925
|
type: "REPUBLISHING";
|
|
1922
1926
|
data: {
|
|
1923
1927
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1928
|
+
publishingDate?: Date | null | undefined;
|
|
1924
1929
|
priceDropPayload?: {
|
|
1925
1930
|
value: number;
|
|
1926
1931
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1928,18 +1933,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1928
1933
|
roundStep?: number | null | undefined;
|
|
1929
1934
|
maxRounds?: number | null | undefined;
|
|
1930
1935
|
} | null | undefined;
|
|
1931
|
-
publishingDate?: Date | null | undefined;
|
|
1932
|
-
targetAccountId?: string | null | undefined;
|
|
1933
1936
|
isTransfer?: boolean | null | undefined;
|
|
1937
|
+
targetAccountId?: string | null | undefined;
|
|
1934
1938
|
};
|
|
1935
1939
|
} | {
|
|
1936
1940
|
type: "REPUBLISHING_RETRY";
|
|
1937
1941
|
data: {
|
|
1938
|
-
maxAttempts: number;
|
|
1939
1942
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1940
1943
|
attemptNumber: number;
|
|
1944
|
+
maxAttempts: number;
|
|
1941
1945
|
previousHistoryId: string;
|
|
1942
1946
|
originalFailureDate: Date;
|
|
1947
|
+
fields?: {
|
|
1948
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1949
|
+
autoFixable: boolean;
|
|
1950
|
+
error?: string | null | undefined;
|
|
1951
|
+
}[] | null | undefined;
|
|
1943
1952
|
priceDropPayload?: {
|
|
1944
1953
|
value: number;
|
|
1945
1954
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1947,11 +1956,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1947
1956
|
roundStep?: number | null | undefined;
|
|
1948
1957
|
maxRounds?: number | null | undefined;
|
|
1949
1958
|
} | null | undefined;
|
|
1950
|
-
fields?: {
|
|
1951
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1952
|
-
autoFixable: boolean;
|
|
1953
|
-
error?: string | null | undefined;
|
|
1954
|
-
}[] | null | undefined;
|
|
1955
1959
|
};
|
|
1956
1960
|
} | {
|
|
1957
1961
|
type: "SCHEDULED";
|
|
@@ -1962,19 +1966,20 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1962
1966
|
} | {
|
|
1963
1967
|
type: "SCHEDULED_RETRY";
|
|
1964
1968
|
data: {
|
|
1965
|
-
maxAttempts: number;
|
|
1966
1969
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1967
1970
|
attemptNumber: number;
|
|
1971
|
+
maxAttempts: number;
|
|
1968
1972
|
previousHistoryId: string;
|
|
1969
1973
|
originalFailureDate: Date;
|
|
1970
1974
|
fields?: {
|
|
1971
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1975
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1972
1976
|
autoFixable: boolean;
|
|
1973
1977
|
error?: string | null | undefined;
|
|
1974
1978
|
}[] | null | undefined;
|
|
1975
1979
|
};
|
|
1976
1980
|
} | null | undefined;
|
|
1977
1981
|
accountId?: string | null | undefined;
|
|
1982
|
+
requestId?: string | null | undefined;
|
|
1978
1983
|
targetDate?: Date | null | undefined;
|
|
1979
1984
|
}>>>;
|
|
1980
1985
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2043,16 +2048,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2043
2048
|
}, "strip", z.ZodTypeAny, {
|
|
2044
2049
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2045
2050
|
id: string;
|
|
2046
|
-
createdAt: Date;
|
|
2047
2051
|
updatedAt: Date;
|
|
2052
|
+
createdAt: Date;
|
|
2048
2053
|
accountId: string;
|
|
2049
2054
|
itemId: string | number;
|
|
2050
2055
|
platformId: string;
|
|
2051
2056
|
platformUrl: string;
|
|
2052
2057
|
platformPrice: number;
|
|
2053
2058
|
publishedAt: Date;
|
|
2054
|
-
favoritesCount?: number | null | undefined;
|
|
2055
|
-
viewsCount?: number | null | undefined;
|
|
2056
2059
|
conversationId?: string | null | undefined;
|
|
2057
2060
|
account?: {
|
|
2058
2061
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2069,19 +2072,19 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2069
2072
|
ordersMaxDelay?: number | null | undefined;
|
|
2070
2073
|
conversationsMaxDelay?: number | null | undefined;
|
|
2071
2074
|
} | null | undefined;
|
|
2075
|
+
viewsCount?: number | null | undefined;
|
|
2076
|
+
favoritesCount?: number | null | undefined;
|
|
2072
2077
|
}, {
|
|
2073
2078
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2074
2079
|
id: string;
|
|
2075
|
-
createdAt: Date;
|
|
2076
2080
|
updatedAt: Date;
|
|
2081
|
+
createdAt: Date;
|
|
2077
2082
|
accountId: string;
|
|
2078
2083
|
itemId: string | number;
|
|
2079
2084
|
platformId: string;
|
|
2080
2085
|
platformUrl: string;
|
|
2081
2086
|
platformPrice: number;
|
|
2082
2087
|
publishedAt: Date;
|
|
2083
|
-
favoritesCount?: number | null | undefined;
|
|
2084
|
-
viewsCount?: number | null | undefined;
|
|
2085
2088
|
conversationId?: string | null | undefined;
|
|
2086
2089
|
account?: {
|
|
2087
2090
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2098,52 +2101,34 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2098
2101
|
ordersMaxDelay?: number | null | undefined;
|
|
2099
2102
|
conversationsMaxDelay?: number | null | undefined;
|
|
2100
2103
|
} | null | undefined;
|
|
2104
|
+
viewsCount?: number | null | undefined;
|
|
2105
|
+
favoritesCount?: number | null | undefined;
|
|
2101
2106
|
}>, "many">>>;
|
|
2102
2107
|
createdAt: z.ZodDate;
|
|
2103
2108
|
updatedAt: z.ZodDate;
|
|
2104
2109
|
}, "strip", z.ZodTypeAny, {
|
|
2110
|
+
userId: string | number;
|
|
2105
2111
|
id: string | number;
|
|
2106
|
-
createdAt: Date;
|
|
2107
2112
|
updatedAt: Date;
|
|
2108
|
-
userId: string | number;
|
|
2109
2113
|
name: string;
|
|
2114
|
+
createdAt: Date;
|
|
2110
2115
|
sold: boolean;
|
|
2111
2116
|
state?: number | null | undefined;
|
|
2112
|
-
fees?: {
|
|
2113
|
-
value: number;
|
|
2114
|
-
type: string;
|
|
2115
|
-
id: string | number;
|
|
2116
|
-
createdAt: Date;
|
|
2117
|
-
updatedAt: Date;
|
|
2118
|
-
userId: string | number;
|
|
2119
|
-
name: string;
|
|
2120
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2121
|
-
startDate: Date;
|
|
2122
|
-
active: boolean;
|
|
2123
|
-
description?: string | null | undefined;
|
|
2124
|
-
itemId?: string | number | null | undefined;
|
|
2125
|
-
endDate?: Date | null | undefined;
|
|
2126
|
-
parentFeeId?: string | number | null | undefined;
|
|
2127
|
-
}[] | null | undefined;
|
|
2128
|
-
description?: string | null | undefined;
|
|
2129
|
-
categoryId?: number | null | undefined;
|
|
2130
|
-
sizeId?: number | null | undefined;
|
|
2131
2117
|
colorIds?: number[] | null | undefined;
|
|
2118
|
+
description?: string | null | undefined;
|
|
2132
2119
|
packageSizeId?: number | null | undefined;
|
|
2133
|
-
|
|
2134
|
-
estimatedPrice?: number | null | undefined;
|
|
2135
|
-
purchaseDate?: Date | null | undefined;
|
|
2136
|
-
sellingDate?: Date | null | undefined;
|
|
2120
|
+
sizeId?: number | null | undefined;
|
|
2137
2121
|
labels?: {
|
|
2138
2122
|
itemId: string | number;
|
|
2139
2123
|
labelId: string | number;
|
|
2140
2124
|
label?: {
|
|
2141
2125
|
id: string | number;
|
|
2142
|
-
createdAt: Date;
|
|
2143
2126
|
name: string;
|
|
2127
|
+
createdAt: Date;
|
|
2144
2128
|
isUserLabel: boolean;
|
|
2145
|
-
itemCount?: number | null | undefined;
|
|
2146
2129
|
userId?: string | number | null | undefined;
|
|
2130
|
+
itemCount?: number | null | undefined;
|
|
2131
|
+
parentId?: unknown;
|
|
2147
2132
|
} | null | undefined;
|
|
2148
2133
|
}[] | null | undefined;
|
|
2149
2134
|
files?: {
|
|
@@ -2152,59 +2137,50 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2152
2137
|
index?: number | null | undefined;
|
|
2153
2138
|
file?: {
|
|
2154
2139
|
path: string;
|
|
2140
|
+
userId: string | number;
|
|
2155
2141
|
id: string;
|
|
2156
2142
|
createdAt: Date;
|
|
2157
|
-
userId: string | number;
|
|
2158
2143
|
signedUrl: string;
|
|
2159
2144
|
} | null | undefined;
|
|
2160
2145
|
}[] | null | undefined;
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
id: string;
|
|
2164
|
-
createdAt: Date;
|
|
2165
|
-
updatedAt: Date;
|
|
2166
|
-
accountId: string;
|
|
2167
|
-
itemId: string | number;
|
|
2168
|
-
platformId: string;
|
|
2169
|
-
platformUrl: string;
|
|
2170
|
-
platformPrice: number;
|
|
2171
|
-
publishedAt: Date;
|
|
2172
|
-
favoritesCount?: number | null | undefined;
|
|
2173
|
-
viewsCount?: number | null | undefined;
|
|
2174
|
-
conversationId?: string | null | undefined;
|
|
2175
|
-
account?: {
|
|
2176
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2177
|
-
userId: string | number;
|
|
2178
|
-
name: string;
|
|
2179
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2180
|
-
accountId: string;
|
|
2181
|
-
locale?: string | null | undefined;
|
|
2182
|
-
night?: {
|
|
2183
|
-
startsAt: Date;
|
|
2184
|
-
endsAt: Date;
|
|
2185
|
-
} | null | undefined;
|
|
2186
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2187
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2188
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2189
|
-
} | null | undefined;
|
|
2190
|
-
}[] | null | undefined;
|
|
2191
|
-
fields?: {
|
|
2192
|
-
value: string;
|
|
2146
|
+
fields?: {
|
|
2147
|
+
value: string;
|
|
2193
2148
|
itemId: string | number;
|
|
2194
2149
|
fieldId: string | number;
|
|
2195
2150
|
}[] | null | undefined;
|
|
2196
2151
|
sku?: string | null | undefined;
|
|
2152
|
+
categoryId?: number | null | undefined;
|
|
2153
|
+
brandId?: string | number | null | undefined;
|
|
2197
2154
|
sex?: string | null | undefined;
|
|
2198
2155
|
purchasePrice?: number | null | undefined;
|
|
2156
|
+
purchaseDate?: Date | null | undefined;
|
|
2199
2157
|
purchasePlaceId?: string | number | null | undefined;
|
|
2200
2158
|
purchased?: boolean | null | undefined;
|
|
2201
2159
|
sellingPrice?: number | null | undefined;
|
|
2160
|
+
sellingDate?: Date | null | undefined;
|
|
2202
2161
|
sellingPlaceId?: string | number | null | undefined;
|
|
2162
|
+
estimatedPrice?: number | null | undefined;
|
|
2163
|
+
fees?: {
|
|
2164
|
+
value: number;
|
|
2165
|
+
type: string;
|
|
2166
|
+
userId: string | number;
|
|
2167
|
+
id: string | number;
|
|
2168
|
+
updatedAt: Date;
|
|
2169
|
+
name: string;
|
|
2170
|
+
createdAt: Date;
|
|
2171
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2172
|
+
startDate: Date;
|
|
2173
|
+
active: boolean;
|
|
2174
|
+
description?: string | null | undefined;
|
|
2175
|
+
itemId?: string | number | null | undefined;
|
|
2176
|
+
endDate?: Date | null | undefined;
|
|
2177
|
+
parentFeeId?: string | number | null | undefined;
|
|
2178
|
+
}[] | null | undefined;
|
|
2203
2179
|
feesSum?: number | null | undefined;
|
|
2204
2180
|
customerId?: string | number | null | undefined;
|
|
2205
2181
|
customer?: {
|
|
2206
|
-
id: string | number;
|
|
2207
2182
|
userId: string | number;
|
|
2183
|
+
id: string | number;
|
|
2208
2184
|
email: string;
|
|
2209
2185
|
firstName: string;
|
|
2210
2186
|
lastName: string;
|
|
@@ -2225,7 +2201,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2225
2201
|
id: string;
|
|
2226
2202
|
createdAt: Date;
|
|
2227
2203
|
itemId: string | number;
|
|
2228
|
-
requestId?: string | null | undefined;
|
|
2229
2204
|
data?: {
|
|
2230
2205
|
type: "ACTION_CANCELED";
|
|
2231
2206
|
data: {
|
|
@@ -2254,7 +2229,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2254
2229
|
accountId?: string | null | undefined;
|
|
2255
2230
|
reason?: string | null | undefined;
|
|
2256
2231
|
fields?: {
|
|
2257
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2232
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2258
2233
|
autoFixable: boolean;
|
|
2259
2234
|
error?: string | null | undefined;
|
|
2260
2235
|
}[] | null | undefined;
|
|
@@ -2281,22 +2256,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2281
2256
|
platformId: string;
|
|
2282
2257
|
post: {
|
|
2283
2258
|
status?: string | null | undefined;
|
|
2284
|
-
title?: string | null | undefined;
|
|
2285
|
-
description?: string | null | undefined;
|
|
2286
|
-
brand?: string | null | undefined;
|
|
2287
|
-
statusId?: number | null | undefined;
|
|
2288
|
-
sizeId?: number | null | undefined;
|
|
2289
|
-
colorIds?: number[] | null | undefined;
|
|
2290
|
-
packageSizeId?: number | null | undefined;
|
|
2291
2259
|
price?: number | null | undefined;
|
|
2292
2260
|
currency?: string | null | undefined;
|
|
2261
|
+
brand?: string | null | undefined;
|
|
2293
2262
|
catalog?: string | null | undefined;
|
|
2294
2263
|
catalogId?: number | null | undefined;
|
|
2295
2264
|
colors?: string[] | null | undefined;
|
|
2265
|
+
colorIds?: number[] | null | undefined;
|
|
2266
|
+
description?: string | null | undefined;
|
|
2296
2267
|
measurementLength?: number | null | undefined;
|
|
2297
2268
|
measurementWidth?: number | null | undefined;
|
|
2269
|
+
packageSizeId?: number | null | undefined;
|
|
2298
2270
|
photoUrls?: string[] | null | undefined;
|
|
2299
2271
|
size?: string | null | undefined;
|
|
2272
|
+
sizeId?: number | null | undefined;
|
|
2273
|
+
statusId?: number | null | undefined;
|
|
2274
|
+
title?: string | null | undefined;
|
|
2300
2275
|
isDraft?: boolean | null | undefined;
|
|
2301
2276
|
isArchived?: boolean | null | undefined;
|
|
2302
2277
|
availableQuantity?: number | null | undefined;
|
|
@@ -2316,13 +2291,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2316
2291
|
} | {
|
|
2317
2292
|
type: "LIFECYCLE_STARTED";
|
|
2318
2293
|
data: {
|
|
2319
|
-
caseId: string;
|
|
2320
2294
|
accountId: string;
|
|
2295
|
+
caseId: string;
|
|
2321
2296
|
};
|
|
2322
2297
|
} | {
|
|
2323
2298
|
type: "REPUBLISHING";
|
|
2324
2299
|
data: {
|
|
2325
2300
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2301
|
+
publishingDate?: Date | null | undefined;
|
|
2326
2302
|
priceDropPayload?: {
|
|
2327
2303
|
value: number;
|
|
2328
2304
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2330,18 +2306,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2330
2306
|
roundStep?: number | null | undefined;
|
|
2331
2307
|
maxRounds?: number | null | undefined;
|
|
2332
2308
|
} | null | undefined;
|
|
2333
|
-
publishingDate?: Date | null | undefined;
|
|
2334
|
-
targetAccountId?: string | null | undefined;
|
|
2335
2309
|
isTransfer?: boolean | null | undefined;
|
|
2310
|
+
targetAccountId?: string | null | undefined;
|
|
2336
2311
|
};
|
|
2337
2312
|
} | {
|
|
2338
2313
|
type: "REPUBLISHING_RETRY";
|
|
2339
2314
|
data: {
|
|
2340
|
-
maxAttempts: number;
|
|
2341
2315
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2342
2316
|
attemptNumber: number;
|
|
2317
|
+
maxAttempts: number;
|
|
2343
2318
|
previousHistoryId: string;
|
|
2344
2319
|
originalFailureDate: Date;
|
|
2320
|
+
fields?: {
|
|
2321
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2322
|
+
autoFixable: boolean;
|
|
2323
|
+
error?: string | null | undefined;
|
|
2324
|
+
}[] | null | undefined;
|
|
2345
2325
|
priceDropPayload?: {
|
|
2346
2326
|
value: number;
|
|
2347
2327
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2349,11 +2329,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2349
2329
|
roundStep?: number | null | undefined;
|
|
2350
2330
|
maxRounds?: number | null | undefined;
|
|
2351
2331
|
} | null | undefined;
|
|
2352
|
-
fields?: {
|
|
2353
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2354
|
-
autoFixable: boolean;
|
|
2355
|
-
error?: string | null | undefined;
|
|
2356
|
-
}[] | null | undefined;
|
|
2357
2332
|
};
|
|
2358
2333
|
} | {
|
|
2359
2334
|
type: "SCHEDULED";
|
|
@@ -2364,64 +2339,75 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2364
2339
|
} | {
|
|
2365
2340
|
type: "SCHEDULED_RETRY";
|
|
2366
2341
|
data: {
|
|
2367
|
-
maxAttempts: number;
|
|
2368
2342
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2369
2343
|
attemptNumber: number;
|
|
2344
|
+
maxAttempts: number;
|
|
2370
2345
|
previousHistoryId: string;
|
|
2371
2346
|
originalFailureDate: Date;
|
|
2372
2347
|
fields?: {
|
|
2373
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2348
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2374
2349
|
autoFixable: boolean;
|
|
2375
2350
|
error?: string | null | undefined;
|
|
2376
2351
|
}[] | null | undefined;
|
|
2377
2352
|
};
|
|
2378
2353
|
} | null | undefined;
|
|
2379
2354
|
accountId?: string | null | undefined;
|
|
2355
|
+
requestId?: string | null | undefined;
|
|
2380
2356
|
targetDate?: Date | null | undefined;
|
|
2381
2357
|
} | null | undefined;
|
|
2358
|
+
platforms?: {
|
|
2359
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2360
|
+
id: string;
|
|
2361
|
+
updatedAt: Date;
|
|
2362
|
+
createdAt: Date;
|
|
2363
|
+
accountId: string;
|
|
2364
|
+
itemId: string | number;
|
|
2365
|
+
platformId: string;
|
|
2366
|
+
platformUrl: string;
|
|
2367
|
+
platformPrice: number;
|
|
2368
|
+
publishedAt: Date;
|
|
2369
|
+
conversationId?: string | null | undefined;
|
|
2370
|
+
account?: {
|
|
2371
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2372
|
+
userId: string | number;
|
|
2373
|
+
name: string;
|
|
2374
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2375
|
+
accountId: string;
|
|
2376
|
+
locale?: string | null | undefined;
|
|
2377
|
+
night?: {
|
|
2378
|
+
startsAt: Date;
|
|
2379
|
+
endsAt: Date;
|
|
2380
|
+
} | null | undefined;
|
|
2381
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2382
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2383
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2384
|
+
} | null | undefined;
|
|
2385
|
+
viewsCount?: number | null | undefined;
|
|
2386
|
+
favoritesCount?: number | null | undefined;
|
|
2387
|
+
}[] | null | undefined;
|
|
2382
2388
|
}, {
|
|
2389
|
+
userId: string | number;
|
|
2383
2390
|
id: string | number;
|
|
2384
|
-
createdAt: Date;
|
|
2385
2391
|
updatedAt: Date;
|
|
2386
|
-
userId: string | number;
|
|
2387
2392
|
name: string;
|
|
2393
|
+
createdAt: Date;
|
|
2388
2394
|
sold: boolean;
|
|
2389
2395
|
state?: number | null | undefined;
|
|
2390
|
-
fees?: {
|
|
2391
|
-
value: number;
|
|
2392
|
-
type: string;
|
|
2393
|
-
id: string | number;
|
|
2394
|
-
createdAt: Date;
|
|
2395
|
-
updatedAt: Date;
|
|
2396
|
-
userId: string | number;
|
|
2397
|
-
name: string;
|
|
2398
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2399
|
-
startDate: Date;
|
|
2400
|
-
active: boolean;
|
|
2401
|
-
description?: string | null | undefined;
|
|
2402
|
-
itemId?: string | number | null | undefined;
|
|
2403
|
-
endDate?: Date | null | undefined;
|
|
2404
|
-
parentFeeId?: string | number | null | undefined;
|
|
2405
|
-
}[] | null | undefined;
|
|
2406
|
-
description?: string | null | undefined;
|
|
2407
|
-
categoryId?: number | null | undefined;
|
|
2408
|
-
sizeId?: number | null | undefined;
|
|
2409
2396
|
colorIds?: number[] | null | undefined;
|
|
2397
|
+
description?: string | null | undefined;
|
|
2410
2398
|
packageSizeId?: number | null | undefined;
|
|
2411
|
-
|
|
2412
|
-
estimatedPrice?: number | null | undefined;
|
|
2413
|
-
purchaseDate?: Date | null | undefined;
|
|
2414
|
-
sellingDate?: Date | null | undefined;
|
|
2399
|
+
sizeId?: number | null | undefined;
|
|
2415
2400
|
labels?: {
|
|
2416
2401
|
itemId: string | number;
|
|
2417
2402
|
labelId: string | number;
|
|
2418
2403
|
label?: {
|
|
2419
2404
|
id: string | number;
|
|
2420
|
-
createdAt: Date;
|
|
2421
2405
|
name: string;
|
|
2406
|
+
createdAt: Date;
|
|
2422
2407
|
isUserLabel: boolean;
|
|
2423
|
-
itemCount?: number | null | undefined;
|
|
2424
2408
|
userId?: string | number | null | undefined;
|
|
2409
|
+
itemCount?: number | null | undefined;
|
|
2410
|
+
parentId?: unknown;
|
|
2425
2411
|
} | null | undefined;
|
|
2426
2412
|
}[] | null | undefined;
|
|
2427
2413
|
files?: {
|
|
@@ -2430,59 +2416,50 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2430
2416
|
index?: number | null | undefined;
|
|
2431
2417
|
file?: {
|
|
2432
2418
|
path: string;
|
|
2419
|
+
userId: string | number;
|
|
2433
2420
|
id: string;
|
|
2434
2421
|
createdAt: Date;
|
|
2435
|
-
userId: string | number;
|
|
2436
2422
|
signedUrl: string;
|
|
2437
2423
|
} | null | undefined;
|
|
2438
2424
|
}[] | null | undefined;
|
|
2439
|
-
platforms?: {
|
|
2440
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2441
|
-
id: string;
|
|
2442
|
-
createdAt: Date;
|
|
2443
|
-
updatedAt: Date;
|
|
2444
|
-
accountId: string;
|
|
2445
|
-
itemId: string | number;
|
|
2446
|
-
platformId: string;
|
|
2447
|
-
platformUrl: string;
|
|
2448
|
-
platformPrice: number;
|
|
2449
|
-
publishedAt: Date;
|
|
2450
|
-
favoritesCount?: number | null | undefined;
|
|
2451
|
-
viewsCount?: number | null | undefined;
|
|
2452
|
-
conversationId?: string | null | undefined;
|
|
2453
|
-
account?: {
|
|
2454
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2455
|
-
userId: string | number;
|
|
2456
|
-
name: string;
|
|
2457
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2458
|
-
accountId: string;
|
|
2459
|
-
locale?: string | null | undefined;
|
|
2460
|
-
night?: {
|
|
2461
|
-
startsAt: Date;
|
|
2462
|
-
endsAt: Date;
|
|
2463
|
-
} | null | undefined;
|
|
2464
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2465
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2466
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2467
|
-
} | null | undefined;
|
|
2468
|
-
}[] | null | undefined;
|
|
2469
2425
|
fields?: {
|
|
2470
2426
|
value: string;
|
|
2471
2427
|
itemId: string | number;
|
|
2472
2428
|
fieldId: string | number;
|
|
2473
2429
|
}[] | null | undefined;
|
|
2474
2430
|
sku?: string | null | undefined;
|
|
2431
|
+
categoryId?: number | null | undefined;
|
|
2432
|
+
brandId?: string | number | null | undefined;
|
|
2475
2433
|
sex?: string | null | undefined;
|
|
2476
2434
|
purchasePrice?: number | null | undefined;
|
|
2435
|
+
purchaseDate?: Date | null | undefined;
|
|
2477
2436
|
purchasePlaceId?: string | number | null | undefined;
|
|
2478
2437
|
purchased?: boolean | null | undefined;
|
|
2479
2438
|
sellingPrice?: number | null | undefined;
|
|
2439
|
+
sellingDate?: Date | null | undefined;
|
|
2480
2440
|
sellingPlaceId?: string | number | null | undefined;
|
|
2441
|
+
estimatedPrice?: number | null | undefined;
|
|
2442
|
+
fees?: {
|
|
2443
|
+
value: number;
|
|
2444
|
+
type: string;
|
|
2445
|
+
userId: string | number;
|
|
2446
|
+
id: string | number;
|
|
2447
|
+
updatedAt: Date;
|
|
2448
|
+
name: string;
|
|
2449
|
+
createdAt: Date;
|
|
2450
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2451
|
+
startDate: Date;
|
|
2452
|
+
active: boolean;
|
|
2453
|
+
description?: string | null | undefined;
|
|
2454
|
+
itemId?: string | number | null | undefined;
|
|
2455
|
+
endDate?: Date | null | undefined;
|
|
2456
|
+
parentFeeId?: string | number | null | undefined;
|
|
2457
|
+
}[] | null | undefined;
|
|
2481
2458
|
feesSum?: number | null | undefined;
|
|
2482
2459
|
customerId?: string | number | null | undefined;
|
|
2483
2460
|
customer?: {
|
|
2484
|
-
id: string | number;
|
|
2485
2461
|
userId: string | number;
|
|
2462
|
+
id: string | number;
|
|
2486
2463
|
email: string;
|
|
2487
2464
|
firstName: string;
|
|
2488
2465
|
lastName: string;
|
|
@@ -2503,7 +2480,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2503
2480
|
id: string;
|
|
2504
2481
|
createdAt: Date;
|
|
2505
2482
|
itemId: string | number;
|
|
2506
|
-
requestId?: string | null | undefined;
|
|
2507
2483
|
data?: {
|
|
2508
2484
|
type: "ACTION_CANCELED";
|
|
2509
2485
|
data: {
|
|
@@ -2532,7 +2508,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2532
2508
|
accountId?: string | null | undefined;
|
|
2533
2509
|
reason?: string | null | undefined;
|
|
2534
2510
|
fields?: {
|
|
2535
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2511
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2536
2512
|
autoFixable: boolean;
|
|
2537
2513
|
error?: string | null | undefined;
|
|
2538
2514
|
}[] | null | undefined;
|
|
@@ -2559,22 +2535,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2559
2535
|
platformId: string;
|
|
2560
2536
|
post: {
|
|
2561
2537
|
status?: string | null | undefined;
|
|
2562
|
-
title?: string | null | undefined;
|
|
2563
|
-
description?: string | null | undefined;
|
|
2564
|
-
brand?: string | null | undefined;
|
|
2565
|
-
statusId?: number | null | undefined;
|
|
2566
|
-
sizeId?: number | null | undefined;
|
|
2567
|
-
colorIds?: number[] | null | undefined;
|
|
2568
|
-
packageSizeId?: number | null | undefined;
|
|
2569
2538
|
price?: number | null | undefined;
|
|
2570
2539
|
currency?: string | null | undefined;
|
|
2540
|
+
brand?: string | null | undefined;
|
|
2571
2541
|
catalog?: string | null | undefined;
|
|
2572
2542
|
catalogId?: number | null | undefined;
|
|
2573
2543
|
colors?: string[] | null | undefined;
|
|
2544
|
+
colorIds?: number[] | null | undefined;
|
|
2545
|
+
description?: string | null | undefined;
|
|
2574
2546
|
measurementLength?: number | null | undefined;
|
|
2575
2547
|
measurementWidth?: number | null | undefined;
|
|
2548
|
+
packageSizeId?: number | null | undefined;
|
|
2576
2549
|
photoUrls?: string[] | null | undefined;
|
|
2577
2550
|
size?: string | null | undefined;
|
|
2551
|
+
sizeId?: number | null | undefined;
|
|
2552
|
+
statusId?: number | null | undefined;
|
|
2553
|
+
title?: string | null | undefined;
|
|
2578
2554
|
isDraft?: boolean | null | undefined;
|
|
2579
2555
|
isArchived?: boolean | null | undefined;
|
|
2580
2556
|
availableQuantity?: number | null | undefined;
|
|
@@ -2594,13 +2570,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2594
2570
|
} | {
|
|
2595
2571
|
type: "LIFECYCLE_STARTED";
|
|
2596
2572
|
data: {
|
|
2597
|
-
caseId: string;
|
|
2598
2573
|
accountId: string;
|
|
2574
|
+
caseId: string;
|
|
2599
2575
|
};
|
|
2600
2576
|
} | {
|
|
2601
2577
|
type: "REPUBLISHING";
|
|
2602
2578
|
data: {
|
|
2603
2579
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2580
|
+
publishingDate?: Date | null | undefined;
|
|
2604
2581
|
priceDropPayload?: {
|
|
2605
2582
|
value: number;
|
|
2606
2583
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2608,18 +2585,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2608
2585
|
roundStep?: number | null | undefined;
|
|
2609
2586
|
maxRounds?: number | null | undefined;
|
|
2610
2587
|
} | null | undefined;
|
|
2611
|
-
publishingDate?: Date | null | undefined;
|
|
2612
|
-
targetAccountId?: string | null | undefined;
|
|
2613
2588
|
isTransfer?: boolean | null | undefined;
|
|
2589
|
+
targetAccountId?: string | null | undefined;
|
|
2614
2590
|
};
|
|
2615
2591
|
} | {
|
|
2616
2592
|
type: "REPUBLISHING_RETRY";
|
|
2617
2593
|
data: {
|
|
2618
|
-
maxAttempts: number;
|
|
2619
2594
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2620
2595
|
attemptNumber: number;
|
|
2596
|
+
maxAttempts: number;
|
|
2621
2597
|
previousHistoryId: string;
|
|
2622
2598
|
originalFailureDate: Date;
|
|
2599
|
+
fields?: {
|
|
2600
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2601
|
+
autoFixable: boolean;
|
|
2602
|
+
error?: string | null | undefined;
|
|
2603
|
+
}[] | null | undefined;
|
|
2623
2604
|
priceDropPayload?: {
|
|
2624
2605
|
value: number;
|
|
2625
2606
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2627,11 +2608,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2627
2608
|
roundStep?: number | null | undefined;
|
|
2628
2609
|
maxRounds?: number | null | undefined;
|
|
2629
2610
|
} | null | undefined;
|
|
2630
|
-
fields?: {
|
|
2631
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2632
|
-
autoFixable: boolean;
|
|
2633
|
-
error?: string | null | undefined;
|
|
2634
|
-
}[] | null | undefined;
|
|
2635
2611
|
};
|
|
2636
2612
|
} | {
|
|
2637
2613
|
type: "SCHEDULED";
|
|
@@ -2642,66 +2618,77 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2642
2618
|
} | {
|
|
2643
2619
|
type: "SCHEDULED_RETRY";
|
|
2644
2620
|
data: {
|
|
2645
|
-
maxAttempts: number;
|
|
2646
2621
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2647
2622
|
attemptNumber: number;
|
|
2623
|
+
maxAttempts: number;
|
|
2648
2624
|
previousHistoryId: string;
|
|
2649
2625
|
originalFailureDate: Date;
|
|
2650
2626
|
fields?: {
|
|
2651
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2627
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2652
2628
|
autoFixable: boolean;
|
|
2653
2629
|
error?: string | null | undefined;
|
|
2654
2630
|
}[] | null | undefined;
|
|
2655
2631
|
};
|
|
2656
2632
|
} | null | undefined;
|
|
2657
2633
|
accountId?: string | null | undefined;
|
|
2634
|
+
requestId?: string | null | undefined;
|
|
2658
2635
|
targetDate?: Date | null | undefined;
|
|
2659
2636
|
} | null | undefined;
|
|
2637
|
+
platforms?: {
|
|
2638
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2639
|
+
id: string;
|
|
2640
|
+
updatedAt: Date;
|
|
2641
|
+
createdAt: Date;
|
|
2642
|
+
accountId: string;
|
|
2643
|
+
itemId: string | number;
|
|
2644
|
+
platformId: string;
|
|
2645
|
+
platformUrl: string;
|
|
2646
|
+
platformPrice: number;
|
|
2647
|
+
publishedAt: Date;
|
|
2648
|
+
conversationId?: string | null | undefined;
|
|
2649
|
+
account?: {
|
|
2650
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2651
|
+
userId: string | number;
|
|
2652
|
+
name: string;
|
|
2653
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2654
|
+
accountId: string;
|
|
2655
|
+
locale?: string | null | undefined;
|
|
2656
|
+
night?: {
|
|
2657
|
+
startsAt: Date;
|
|
2658
|
+
endsAt: Date;
|
|
2659
|
+
} | null | undefined;
|
|
2660
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2661
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2662
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2663
|
+
} | null | undefined;
|
|
2664
|
+
viewsCount?: number | null | undefined;
|
|
2665
|
+
favoritesCount?: number | null | undefined;
|
|
2666
|
+
}[] | null | undefined;
|
|
2660
2667
|
}>, "many">;
|
|
2661
2668
|
}, "strip", z.ZodTypeAny, {
|
|
2662
2669
|
items: {
|
|
2670
|
+
userId: string | number;
|
|
2663
2671
|
id: string | number;
|
|
2664
|
-
createdAt: Date;
|
|
2665
2672
|
updatedAt: Date;
|
|
2666
|
-
userId: string | number;
|
|
2667
2673
|
name: string;
|
|
2674
|
+
createdAt: Date;
|
|
2668
2675
|
sold: boolean;
|
|
2669
2676
|
state?: number | null | undefined;
|
|
2670
|
-
fees?: {
|
|
2671
|
-
value: number;
|
|
2672
|
-
type: string;
|
|
2673
|
-
id: string | number;
|
|
2674
|
-
createdAt: Date;
|
|
2675
|
-
updatedAt: Date;
|
|
2676
|
-
userId: string | number;
|
|
2677
|
-
name: string;
|
|
2678
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2679
|
-
startDate: Date;
|
|
2680
|
-
active: boolean;
|
|
2681
|
-
description?: string | null | undefined;
|
|
2682
|
-
itemId?: string | number | null | undefined;
|
|
2683
|
-
endDate?: Date | null | undefined;
|
|
2684
|
-
parentFeeId?: string | number | null | undefined;
|
|
2685
|
-
}[] | null | undefined;
|
|
2686
|
-
description?: string | null | undefined;
|
|
2687
|
-
categoryId?: number | null | undefined;
|
|
2688
|
-
sizeId?: number | null | undefined;
|
|
2689
2677
|
colorIds?: number[] | null | undefined;
|
|
2678
|
+
description?: string | null | undefined;
|
|
2690
2679
|
packageSizeId?: number | null | undefined;
|
|
2691
|
-
|
|
2692
|
-
estimatedPrice?: number | null | undefined;
|
|
2693
|
-
purchaseDate?: Date | null | undefined;
|
|
2694
|
-
sellingDate?: Date | null | undefined;
|
|
2680
|
+
sizeId?: number | null | undefined;
|
|
2695
2681
|
labels?: {
|
|
2696
2682
|
itemId: string | number;
|
|
2697
2683
|
labelId: string | number;
|
|
2698
2684
|
label?: {
|
|
2699
2685
|
id: string | number;
|
|
2700
|
-
createdAt: Date;
|
|
2701
2686
|
name: string;
|
|
2687
|
+
createdAt: Date;
|
|
2702
2688
|
isUserLabel: boolean;
|
|
2703
|
-
itemCount?: number | null | undefined;
|
|
2704
2689
|
userId?: string | number | null | undefined;
|
|
2690
|
+
itemCount?: number | null | undefined;
|
|
2691
|
+
parentId?: unknown;
|
|
2705
2692
|
} | null | undefined;
|
|
2706
2693
|
}[] | null | undefined;
|
|
2707
2694
|
files?: {
|
|
@@ -2710,59 +2697,50 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2710
2697
|
index?: number | null | undefined;
|
|
2711
2698
|
file?: {
|
|
2712
2699
|
path: string;
|
|
2700
|
+
userId: string | number;
|
|
2713
2701
|
id: string;
|
|
2714
2702
|
createdAt: Date;
|
|
2715
|
-
userId: string | number;
|
|
2716
2703
|
signedUrl: string;
|
|
2717
2704
|
} | null | undefined;
|
|
2718
2705
|
}[] | null | undefined;
|
|
2719
|
-
platforms?: {
|
|
2720
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2721
|
-
id: string;
|
|
2722
|
-
createdAt: Date;
|
|
2723
|
-
updatedAt: Date;
|
|
2724
|
-
accountId: string;
|
|
2725
|
-
itemId: string | number;
|
|
2726
|
-
platformId: string;
|
|
2727
|
-
platformUrl: string;
|
|
2728
|
-
platformPrice: number;
|
|
2729
|
-
publishedAt: Date;
|
|
2730
|
-
favoritesCount?: number | null | undefined;
|
|
2731
|
-
viewsCount?: number | null | undefined;
|
|
2732
|
-
conversationId?: string | null | undefined;
|
|
2733
|
-
account?: {
|
|
2734
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2735
|
-
userId: string | number;
|
|
2736
|
-
name: string;
|
|
2737
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2738
|
-
accountId: string;
|
|
2739
|
-
locale?: string | null | undefined;
|
|
2740
|
-
night?: {
|
|
2741
|
-
startsAt: Date;
|
|
2742
|
-
endsAt: Date;
|
|
2743
|
-
} | null | undefined;
|
|
2744
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2745
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2746
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2747
|
-
} | null | undefined;
|
|
2748
|
-
}[] | null | undefined;
|
|
2749
2706
|
fields?: {
|
|
2750
2707
|
value: string;
|
|
2751
2708
|
itemId: string | number;
|
|
2752
2709
|
fieldId: string | number;
|
|
2753
2710
|
}[] | null | undefined;
|
|
2754
2711
|
sku?: string | null | undefined;
|
|
2712
|
+
categoryId?: number | null | undefined;
|
|
2713
|
+
brandId?: string | number | null | undefined;
|
|
2755
2714
|
sex?: string | null | undefined;
|
|
2756
2715
|
purchasePrice?: number | null | undefined;
|
|
2716
|
+
purchaseDate?: Date | null | undefined;
|
|
2757
2717
|
purchasePlaceId?: string | number | null | undefined;
|
|
2758
2718
|
purchased?: boolean | null | undefined;
|
|
2759
2719
|
sellingPrice?: number | null | undefined;
|
|
2720
|
+
sellingDate?: Date | null | undefined;
|
|
2760
2721
|
sellingPlaceId?: string | number | null | undefined;
|
|
2722
|
+
estimatedPrice?: number | null | undefined;
|
|
2723
|
+
fees?: {
|
|
2724
|
+
value: number;
|
|
2725
|
+
type: string;
|
|
2726
|
+
userId: string | number;
|
|
2727
|
+
id: string | number;
|
|
2728
|
+
updatedAt: Date;
|
|
2729
|
+
name: string;
|
|
2730
|
+
createdAt: Date;
|
|
2731
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2732
|
+
startDate: Date;
|
|
2733
|
+
active: boolean;
|
|
2734
|
+
description?: string | null | undefined;
|
|
2735
|
+
itemId?: string | number | null | undefined;
|
|
2736
|
+
endDate?: Date | null | undefined;
|
|
2737
|
+
parentFeeId?: string | number | null | undefined;
|
|
2738
|
+
}[] | null | undefined;
|
|
2761
2739
|
feesSum?: number | null | undefined;
|
|
2762
2740
|
customerId?: string | number | null | undefined;
|
|
2763
2741
|
customer?: {
|
|
2764
|
-
id: string | number;
|
|
2765
2742
|
userId: string | number;
|
|
2743
|
+
id: string | number;
|
|
2766
2744
|
email: string;
|
|
2767
2745
|
firstName: string;
|
|
2768
2746
|
lastName: string;
|
|
@@ -2783,7 +2761,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2783
2761
|
id: string;
|
|
2784
2762
|
createdAt: Date;
|
|
2785
2763
|
itemId: string | number;
|
|
2786
|
-
requestId?: string | null | undefined;
|
|
2787
2764
|
data?: {
|
|
2788
2765
|
type: "ACTION_CANCELED";
|
|
2789
2766
|
data: {
|
|
@@ -2812,7 +2789,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2812
2789
|
accountId?: string | null | undefined;
|
|
2813
2790
|
reason?: string | null | undefined;
|
|
2814
2791
|
fields?: {
|
|
2815
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2792
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2816
2793
|
autoFixable: boolean;
|
|
2817
2794
|
error?: string | null | undefined;
|
|
2818
2795
|
}[] | null | undefined;
|
|
@@ -2839,22 +2816,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2839
2816
|
platformId: string;
|
|
2840
2817
|
post: {
|
|
2841
2818
|
status?: string | null | undefined;
|
|
2842
|
-
title?: string | null | undefined;
|
|
2843
|
-
description?: string | null | undefined;
|
|
2844
|
-
brand?: string | null | undefined;
|
|
2845
|
-
statusId?: number | null | undefined;
|
|
2846
|
-
sizeId?: number | null | undefined;
|
|
2847
|
-
colorIds?: number[] | null | undefined;
|
|
2848
|
-
packageSizeId?: number | null | undefined;
|
|
2849
2819
|
price?: number | null | undefined;
|
|
2850
2820
|
currency?: string | null | undefined;
|
|
2821
|
+
brand?: string | null | undefined;
|
|
2851
2822
|
catalog?: string | null | undefined;
|
|
2852
2823
|
catalogId?: number | null | undefined;
|
|
2853
2824
|
colors?: string[] | null | undefined;
|
|
2825
|
+
colorIds?: number[] | null | undefined;
|
|
2826
|
+
description?: string | null | undefined;
|
|
2854
2827
|
measurementLength?: number | null | undefined;
|
|
2855
2828
|
measurementWidth?: number | null | undefined;
|
|
2829
|
+
packageSizeId?: number | null | undefined;
|
|
2856
2830
|
photoUrls?: string[] | null | undefined;
|
|
2857
2831
|
size?: string | null | undefined;
|
|
2832
|
+
sizeId?: number | null | undefined;
|
|
2833
|
+
statusId?: number | null | undefined;
|
|
2834
|
+
title?: string | null | undefined;
|
|
2858
2835
|
isDraft?: boolean | null | undefined;
|
|
2859
2836
|
isArchived?: boolean | null | undefined;
|
|
2860
2837
|
availableQuantity?: number | null | undefined;
|
|
@@ -2874,13 +2851,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2874
2851
|
} | {
|
|
2875
2852
|
type: "LIFECYCLE_STARTED";
|
|
2876
2853
|
data: {
|
|
2877
|
-
caseId: string;
|
|
2878
2854
|
accountId: string;
|
|
2855
|
+
caseId: string;
|
|
2879
2856
|
};
|
|
2880
2857
|
} | {
|
|
2881
2858
|
type: "REPUBLISHING";
|
|
2882
2859
|
data: {
|
|
2883
2860
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2861
|
+
publishingDate?: Date | null | undefined;
|
|
2884
2862
|
priceDropPayload?: {
|
|
2885
2863
|
value: number;
|
|
2886
2864
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2888,18 +2866,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2888
2866
|
roundStep?: number | null | undefined;
|
|
2889
2867
|
maxRounds?: number | null | undefined;
|
|
2890
2868
|
} | null | undefined;
|
|
2891
|
-
publishingDate?: Date | null | undefined;
|
|
2892
|
-
targetAccountId?: string | null | undefined;
|
|
2893
2869
|
isTransfer?: boolean | null | undefined;
|
|
2870
|
+
targetAccountId?: string | null | undefined;
|
|
2894
2871
|
};
|
|
2895
2872
|
} | {
|
|
2896
2873
|
type: "REPUBLISHING_RETRY";
|
|
2897
2874
|
data: {
|
|
2898
|
-
maxAttempts: number;
|
|
2899
2875
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2900
2876
|
attemptNumber: number;
|
|
2877
|
+
maxAttempts: number;
|
|
2901
2878
|
previousHistoryId: string;
|
|
2902
2879
|
originalFailureDate: Date;
|
|
2880
|
+
fields?: {
|
|
2881
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2882
|
+
autoFixable: boolean;
|
|
2883
|
+
error?: string | null | undefined;
|
|
2884
|
+
}[] | null | undefined;
|
|
2903
2885
|
priceDropPayload?: {
|
|
2904
2886
|
value: number;
|
|
2905
2887
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2907,11 +2889,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2907
2889
|
roundStep?: number | null | undefined;
|
|
2908
2890
|
maxRounds?: number | null | undefined;
|
|
2909
2891
|
} | null | undefined;
|
|
2910
|
-
fields?: {
|
|
2911
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2912
|
-
autoFixable: boolean;
|
|
2913
|
-
error?: string | null | undefined;
|
|
2914
|
-
}[] | null | undefined;
|
|
2915
2892
|
};
|
|
2916
2893
|
} | {
|
|
2917
2894
|
type: "SCHEDULED";
|
|
@@ -2922,67 +2899,64 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2922
2899
|
} | {
|
|
2923
2900
|
type: "SCHEDULED_RETRY";
|
|
2924
2901
|
data: {
|
|
2925
|
-
maxAttempts: number;
|
|
2926
2902
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2927
2903
|
attemptNumber: number;
|
|
2904
|
+
maxAttempts: number;
|
|
2928
2905
|
previousHistoryId: string;
|
|
2929
2906
|
originalFailureDate: Date;
|
|
2930
2907
|
fields?: {
|
|
2931
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2908
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2932
2909
|
autoFixable: boolean;
|
|
2933
2910
|
error?: string | null | undefined;
|
|
2934
2911
|
}[] | null | undefined;
|
|
2935
2912
|
};
|
|
2936
2913
|
} | null | undefined;
|
|
2937
2914
|
accountId?: string | null | undefined;
|
|
2915
|
+
requestId?: string | null | undefined;
|
|
2938
2916
|
targetDate?: Date | null | undefined;
|
|
2939
2917
|
} | null | undefined;
|
|
2918
|
+
platforms?: {
|
|
2919
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2920
|
+
id: string;
|
|
2921
|
+
updatedAt: Date;
|
|
2922
|
+
createdAt: Date;
|
|
2923
|
+
accountId: string;
|
|
2924
|
+
itemId: string | number;
|
|
2925
|
+
platformId: string;
|
|
2926
|
+
platformUrl: string;
|
|
2927
|
+
platformPrice: number;
|
|
2928
|
+
publishedAt: Date;
|
|
2929
|
+
conversationId?: string | null | undefined;
|
|
2930
|
+
account?: {
|
|
2931
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2932
|
+
userId: string | number;
|
|
2933
|
+
name: string;
|
|
2934
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2935
|
+
accountId: string;
|
|
2936
|
+
locale?: string | null | undefined;
|
|
2937
|
+
night?: {
|
|
2938
|
+
startsAt: Date;
|
|
2939
|
+
endsAt: Date;
|
|
2940
|
+
} | null | undefined;
|
|
2941
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2942
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2943
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2944
|
+
} | null | undefined;
|
|
2945
|
+
viewsCount?: number | null | undefined;
|
|
2946
|
+
favoritesCount?: number | null | undefined;
|
|
2947
|
+
}[] | null | undefined;
|
|
2940
2948
|
}[];
|
|
2941
2949
|
order: {
|
|
2942
2950
|
type: "SALE" | "PURCHASE";
|
|
2943
2951
|
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";
|
|
2944
2952
|
date: Date;
|
|
2945
2953
|
id: string;
|
|
2946
|
-
accountId: string;
|
|
2947
2954
|
price: number;
|
|
2955
|
+
accountId: string;
|
|
2948
2956
|
isPrepared: boolean;
|
|
2949
2957
|
platformOrderId: string;
|
|
2950
|
-
items?: {
|
|
2951
|
-
orderId: string;
|
|
2952
|
-
itemOnPlatformId: string;
|
|
2953
|
-
itemOnPlatform?: {
|
|
2954
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2955
|
-
id: string;
|
|
2956
|
-
createdAt: Date;
|
|
2957
|
-
updatedAt: Date;
|
|
2958
|
-
accountId: string;
|
|
2959
|
-
itemId: string | number;
|
|
2960
|
-
platformId: string;
|
|
2961
|
-
platformUrl: string;
|
|
2962
|
-
platformPrice: number;
|
|
2963
|
-
publishedAt: Date;
|
|
2964
|
-
favoritesCount?: number | null | undefined;
|
|
2965
|
-
viewsCount?: number | null | undefined;
|
|
2966
|
-
conversationId?: string | null | undefined;
|
|
2967
|
-
account?: {
|
|
2968
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2969
|
-
userId: string | number;
|
|
2970
|
-
name: string;
|
|
2971
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2972
|
-
accountId: string;
|
|
2973
|
-
locale?: string | null | undefined;
|
|
2974
|
-
night?: {
|
|
2975
|
-
startsAt: Date;
|
|
2976
|
-
endsAt: Date;
|
|
2977
|
-
} | null | undefined;
|
|
2978
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2979
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2980
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2981
|
-
} | null | undefined;
|
|
2982
|
-
} | null | undefined;
|
|
2983
|
-
}[] | null | undefined;
|
|
2984
|
-
conversationId?: string | null | undefined;
|
|
2985
2958
|
transactionId?: string | null | undefined;
|
|
2959
|
+
conversationId?: string | null | undefined;
|
|
2986
2960
|
labels?: {
|
|
2987
2961
|
id: string;
|
|
2988
2962
|
orderId: string;
|
|
@@ -2991,23 +2965,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2991
2965
|
originalFileId: string;
|
|
2992
2966
|
file?: {
|
|
2993
2967
|
path: string;
|
|
2968
|
+
userId: string | number;
|
|
2994
2969
|
id: string;
|
|
2995
2970
|
createdAt: Date;
|
|
2996
|
-
userId: string | number;
|
|
2997
2971
|
signedUrl: string;
|
|
2998
2972
|
} | null | undefined;
|
|
2999
2973
|
originalFile?: {
|
|
3000
2974
|
path: string;
|
|
2975
|
+
userId: string | number;
|
|
3001
2976
|
id: string;
|
|
3002
2977
|
createdAt: Date;
|
|
3003
|
-
userId: string | number;
|
|
3004
2978
|
signedUrl: string;
|
|
3005
2979
|
} | null | undefined;
|
|
3006
2980
|
nonCroppedFile?: {
|
|
3007
2981
|
path: string;
|
|
2982
|
+
userId: string | number;
|
|
3008
2983
|
id: string;
|
|
3009
2984
|
createdAt: Date;
|
|
3010
|
-
userId: string | number;
|
|
3011
2985
|
signedUrl: string;
|
|
3012
2986
|
} | null | undefined;
|
|
3013
2987
|
}[] | null | undefined;
|
|
@@ -3032,51 +3006,65 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3032
3006
|
longitude?: number | null | undefined;
|
|
3033
3007
|
} | null | undefined;
|
|
3034
3008
|
}[] | null | undefined;
|
|
3009
|
+
items?: {
|
|
3010
|
+
orderId: string;
|
|
3011
|
+
itemOnPlatformId: string;
|
|
3012
|
+
itemOnPlatform?: {
|
|
3013
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3014
|
+
id: string;
|
|
3015
|
+
updatedAt: Date;
|
|
3016
|
+
createdAt: Date;
|
|
3017
|
+
accountId: string;
|
|
3018
|
+
itemId: string | number;
|
|
3019
|
+
platformId: string;
|
|
3020
|
+
platformUrl: string;
|
|
3021
|
+
platformPrice: number;
|
|
3022
|
+
publishedAt: Date;
|
|
3023
|
+
conversationId?: string | null | undefined;
|
|
3024
|
+
account?: {
|
|
3025
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3026
|
+
userId: string | number;
|
|
3027
|
+
name: string;
|
|
3028
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3029
|
+
accountId: string;
|
|
3030
|
+
locale?: string | null | undefined;
|
|
3031
|
+
night?: {
|
|
3032
|
+
startsAt: Date;
|
|
3033
|
+
endsAt: Date;
|
|
3034
|
+
} | null | undefined;
|
|
3035
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3036
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3037
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3038
|
+
} | null | undefined;
|
|
3039
|
+
viewsCount?: number | null | undefined;
|
|
3040
|
+
favoritesCount?: number | null | undefined;
|
|
3041
|
+
} | null | undefined;
|
|
3042
|
+
}[] | null | undefined;
|
|
3035
3043
|
};
|
|
3036
3044
|
}, {
|
|
3037
3045
|
items: {
|
|
3046
|
+
userId: string | number;
|
|
3038
3047
|
id: string | number;
|
|
3039
|
-
createdAt: Date;
|
|
3040
3048
|
updatedAt: Date;
|
|
3041
|
-
userId: string | number;
|
|
3042
3049
|
name: string;
|
|
3050
|
+
createdAt: Date;
|
|
3043
3051
|
sold: boolean;
|
|
3044
3052
|
state?: number | null | undefined;
|
|
3045
|
-
fees?: {
|
|
3046
|
-
value: number;
|
|
3047
|
-
type: string;
|
|
3048
|
-
id: string | number;
|
|
3049
|
-
createdAt: Date;
|
|
3050
|
-
updatedAt: Date;
|
|
3051
|
-
userId: string | number;
|
|
3052
|
-
name: string;
|
|
3053
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3054
|
-
startDate: Date;
|
|
3055
|
-
active: boolean;
|
|
3056
|
-
description?: string | null | undefined;
|
|
3057
|
-
itemId?: string | number | null | undefined;
|
|
3058
|
-
endDate?: Date | null | undefined;
|
|
3059
|
-
parentFeeId?: string | number | null | undefined;
|
|
3060
|
-
}[] | null | undefined;
|
|
3061
|
-
description?: string | null | undefined;
|
|
3062
|
-
categoryId?: number | null | undefined;
|
|
3063
|
-
sizeId?: number | null | undefined;
|
|
3064
3053
|
colorIds?: number[] | null | undefined;
|
|
3054
|
+
description?: string | null | undefined;
|
|
3065
3055
|
packageSizeId?: number | null | undefined;
|
|
3066
|
-
|
|
3067
|
-
estimatedPrice?: number | null | undefined;
|
|
3068
|
-
purchaseDate?: Date | null | undefined;
|
|
3069
|
-
sellingDate?: Date | null | undefined;
|
|
3056
|
+
sizeId?: number | null | undefined;
|
|
3070
3057
|
labels?: {
|
|
3071
3058
|
itemId: string | number;
|
|
3072
3059
|
labelId: string | number;
|
|
3073
3060
|
label?: {
|
|
3074
3061
|
id: string | number;
|
|
3075
|
-
createdAt: Date;
|
|
3076
3062
|
name: string;
|
|
3063
|
+
createdAt: Date;
|
|
3077
3064
|
isUserLabel: boolean;
|
|
3078
|
-
itemCount?: number | null | undefined;
|
|
3079
3065
|
userId?: string | number | null | undefined;
|
|
3066
|
+
itemCount?: number | null | undefined;
|
|
3067
|
+
parentId?: unknown;
|
|
3080
3068
|
} | null | undefined;
|
|
3081
3069
|
}[] | null | undefined;
|
|
3082
3070
|
files?: {
|
|
@@ -3085,59 +3073,50 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3085
3073
|
index?: number | null | undefined;
|
|
3086
3074
|
file?: {
|
|
3087
3075
|
path: string;
|
|
3076
|
+
userId: string | number;
|
|
3088
3077
|
id: string;
|
|
3089
3078
|
createdAt: Date;
|
|
3090
|
-
userId: string | number;
|
|
3091
3079
|
signedUrl: string;
|
|
3092
3080
|
} | null | undefined;
|
|
3093
3081
|
}[] | null | undefined;
|
|
3094
|
-
platforms?: {
|
|
3095
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3096
|
-
id: string;
|
|
3097
|
-
createdAt: Date;
|
|
3098
|
-
updatedAt: Date;
|
|
3099
|
-
accountId: string;
|
|
3100
|
-
itemId: string | number;
|
|
3101
|
-
platformId: string;
|
|
3102
|
-
platformUrl: string;
|
|
3103
|
-
platformPrice: number;
|
|
3104
|
-
publishedAt: Date;
|
|
3105
|
-
favoritesCount?: number | null | undefined;
|
|
3106
|
-
viewsCount?: number | null | undefined;
|
|
3107
|
-
conversationId?: string | null | undefined;
|
|
3108
|
-
account?: {
|
|
3109
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3110
|
-
userId: string | number;
|
|
3111
|
-
name: string;
|
|
3112
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3113
|
-
accountId: string;
|
|
3114
|
-
locale?: string | null | undefined;
|
|
3115
|
-
night?: {
|
|
3116
|
-
startsAt: Date;
|
|
3117
|
-
endsAt: Date;
|
|
3118
|
-
} | null | undefined;
|
|
3119
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3120
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3121
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3122
|
-
} | null | undefined;
|
|
3123
|
-
}[] | null | undefined;
|
|
3124
3082
|
fields?: {
|
|
3125
3083
|
value: string;
|
|
3126
3084
|
itemId: string | number;
|
|
3127
3085
|
fieldId: string | number;
|
|
3128
3086
|
}[] | null | undefined;
|
|
3129
3087
|
sku?: string | null | undefined;
|
|
3088
|
+
categoryId?: number | null | undefined;
|
|
3089
|
+
brandId?: string | number | null | undefined;
|
|
3130
3090
|
sex?: string | null | undefined;
|
|
3131
3091
|
purchasePrice?: number | null | undefined;
|
|
3092
|
+
purchaseDate?: Date | null | undefined;
|
|
3132
3093
|
purchasePlaceId?: string | number | null | undefined;
|
|
3133
3094
|
purchased?: boolean | null | undefined;
|
|
3134
3095
|
sellingPrice?: number | null | undefined;
|
|
3096
|
+
sellingDate?: Date | null | undefined;
|
|
3135
3097
|
sellingPlaceId?: string | number | null | undefined;
|
|
3098
|
+
estimatedPrice?: number | null | undefined;
|
|
3099
|
+
fees?: {
|
|
3100
|
+
value: number;
|
|
3101
|
+
type: string;
|
|
3102
|
+
userId: string | number;
|
|
3103
|
+
id: string | number;
|
|
3104
|
+
updatedAt: Date;
|
|
3105
|
+
name: string;
|
|
3106
|
+
createdAt: Date;
|
|
3107
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3108
|
+
startDate: Date;
|
|
3109
|
+
active: boolean;
|
|
3110
|
+
description?: string | null | undefined;
|
|
3111
|
+
itemId?: string | number | null | undefined;
|
|
3112
|
+
endDate?: Date | null | undefined;
|
|
3113
|
+
parentFeeId?: string | number | null | undefined;
|
|
3114
|
+
}[] | null | undefined;
|
|
3136
3115
|
feesSum?: number | null | undefined;
|
|
3137
3116
|
customerId?: string | number | null | undefined;
|
|
3138
3117
|
customer?: {
|
|
3139
|
-
id: string | number;
|
|
3140
3118
|
userId: string | number;
|
|
3119
|
+
id: string | number;
|
|
3141
3120
|
email: string;
|
|
3142
3121
|
firstName: string;
|
|
3143
3122
|
lastName: string;
|
|
@@ -3158,7 +3137,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3158
3137
|
id: string;
|
|
3159
3138
|
createdAt: Date;
|
|
3160
3139
|
itemId: string | number;
|
|
3161
|
-
requestId?: string | null | undefined;
|
|
3162
3140
|
data?: {
|
|
3163
3141
|
type: "ACTION_CANCELED";
|
|
3164
3142
|
data: {
|
|
@@ -3187,7 +3165,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3187
3165
|
accountId?: string | null | undefined;
|
|
3188
3166
|
reason?: string | null | undefined;
|
|
3189
3167
|
fields?: {
|
|
3190
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3168
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3191
3169
|
autoFixable: boolean;
|
|
3192
3170
|
error?: string | null | undefined;
|
|
3193
3171
|
}[] | null | undefined;
|
|
@@ -3214,22 +3192,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3214
3192
|
platformId: string;
|
|
3215
3193
|
post: {
|
|
3216
3194
|
status?: string | null | undefined;
|
|
3217
|
-
title?: string | null | undefined;
|
|
3218
|
-
description?: string | null | undefined;
|
|
3219
|
-
brand?: string | null | undefined;
|
|
3220
|
-
statusId?: number | null | undefined;
|
|
3221
|
-
sizeId?: number | null | undefined;
|
|
3222
|
-
colorIds?: number[] | null | undefined;
|
|
3223
|
-
packageSizeId?: number | null | undefined;
|
|
3224
3195
|
price?: number | null | undefined;
|
|
3225
3196
|
currency?: string | null | undefined;
|
|
3197
|
+
brand?: string | null | undefined;
|
|
3226
3198
|
catalog?: string | null | undefined;
|
|
3227
3199
|
catalogId?: number | null | undefined;
|
|
3228
3200
|
colors?: string[] | null | undefined;
|
|
3201
|
+
colorIds?: number[] | null | undefined;
|
|
3202
|
+
description?: string | null | undefined;
|
|
3229
3203
|
measurementLength?: number | null | undefined;
|
|
3230
3204
|
measurementWidth?: number | null | undefined;
|
|
3205
|
+
packageSizeId?: number | null | undefined;
|
|
3231
3206
|
photoUrls?: string[] | null | undefined;
|
|
3232
3207
|
size?: string | null | undefined;
|
|
3208
|
+
sizeId?: number | null | undefined;
|
|
3209
|
+
statusId?: number | null | undefined;
|
|
3210
|
+
title?: string | null | undefined;
|
|
3233
3211
|
isDraft?: boolean | null | undefined;
|
|
3234
3212
|
isArchived?: boolean | null | undefined;
|
|
3235
3213
|
availableQuantity?: number | null | undefined;
|
|
@@ -3249,13 +3227,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3249
3227
|
} | {
|
|
3250
3228
|
type: "LIFECYCLE_STARTED";
|
|
3251
3229
|
data: {
|
|
3252
|
-
caseId: string;
|
|
3253
3230
|
accountId: string;
|
|
3231
|
+
caseId: string;
|
|
3254
3232
|
};
|
|
3255
3233
|
} | {
|
|
3256
3234
|
type: "REPUBLISHING";
|
|
3257
3235
|
data: {
|
|
3258
3236
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3237
|
+
publishingDate?: Date | null | undefined;
|
|
3259
3238
|
priceDropPayload?: {
|
|
3260
3239
|
value: number;
|
|
3261
3240
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3263,18 +3242,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3263
3242
|
roundStep?: number | null | undefined;
|
|
3264
3243
|
maxRounds?: number | null | undefined;
|
|
3265
3244
|
} | null | undefined;
|
|
3266
|
-
publishingDate?: Date | null | undefined;
|
|
3267
|
-
targetAccountId?: string | null | undefined;
|
|
3268
3245
|
isTransfer?: boolean | null | undefined;
|
|
3246
|
+
targetAccountId?: string | null | undefined;
|
|
3269
3247
|
};
|
|
3270
3248
|
} | {
|
|
3271
3249
|
type: "REPUBLISHING_RETRY";
|
|
3272
3250
|
data: {
|
|
3273
|
-
maxAttempts: number;
|
|
3274
3251
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3275
3252
|
attemptNumber: number;
|
|
3253
|
+
maxAttempts: number;
|
|
3276
3254
|
previousHistoryId: string;
|
|
3277
3255
|
originalFailureDate: Date;
|
|
3256
|
+
fields?: {
|
|
3257
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3258
|
+
autoFixable: boolean;
|
|
3259
|
+
error?: string | null | undefined;
|
|
3260
|
+
}[] | null | undefined;
|
|
3278
3261
|
priceDropPayload?: {
|
|
3279
3262
|
value: number;
|
|
3280
3263
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3282,11 +3265,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3282
3265
|
roundStep?: number | null | undefined;
|
|
3283
3266
|
maxRounds?: number | null | undefined;
|
|
3284
3267
|
} | null | undefined;
|
|
3285
|
-
fields?: {
|
|
3286
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3287
|
-
autoFixable: boolean;
|
|
3288
|
-
error?: string | null | undefined;
|
|
3289
|
-
}[] | null | undefined;
|
|
3290
3268
|
};
|
|
3291
3269
|
} | {
|
|
3292
3270
|
type: "SCHEDULED";
|
|
@@ -3297,67 +3275,64 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3297
3275
|
} | {
|
|
3298
3276
|
type: "SCHEDULED_RETRY";
|
|
3299
3277
|
data: {
|
|
3300
|
-
maxAttempts: number;
|
|
3301
3278
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3302
3279
|
attemptNumber: number;
|
|
3280
|
+
maxAttempts: number;
|
|
3303
3281
|
previousHistoryId: string;
|
|
3304
3282
|
originalFailureDate: Date;
|
|
3305
3283
|
fields?: {
|
|
3306
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
3284
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3307
3285
|
autoFixable: boolean;
|
|
3308
3286
|
error?: string | null | undefined;
|
|
3309
3287
|
}[] | null | undefined;
|
|
3310
3288
|
};
|
|
3311
3289
|
} | null | undefined;
|
|
3312
3290
|
accountId?: string | null | undefined;
|
|
3291
|
+
requestId?: string | null | undefined;
|
|
3313
3292
|
targetDate?: Date | null | undefined;
|
|
3314
3293
|
} | null | undefined;
|
|
3294
|
+
platforms?: {
|
|
3295
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3296
|
+
id: string;
|
|
3297
|
+
updatedAt: Date;
|
|
3298
|
+
createdAt: Date;
|
|
3299
|
+
accountId: string;
|
|
3300
|
+
itemId: string | number;
|
|
3301
|
+
platformId: string;
|
|
3302
|
+
platformUrl: string;
|
|
3303
|
+
platformPrice: number;
|
|
3304
|
+
publishedAt: Date;
|
|
3305
|
+
conversationId?: string | null | undefined;
|
|
3306
|
+
account?: {
|
|
3307
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3308
|
+
userId: string | number;
|
|
3309
|
+
name: string;
|
|
3310
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3311
|
+
accountId: string;
|
|
3312
|
+
locale?: string | null | undefined;
|
|
3313
|
+
night?: {
|
|
3314
|
+
startsAt: Date;
|
|
3315
|
+
endsAt: Date;
|
|
3316
|
+
} | null | undefined;
|
|
3317
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3318
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3319
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3320
|
+
} | null | undefined;
|
|
3321
|
+
viewsCount?: number | null | undefined;
|
|
3322
|
+
favoritesCount?: number | null | undefined;
|
|
3323
|
+
}[] | null | undefined;
|
|
3315
3324
|
}[];
|
|
3316
3325
|
order: {
|
|
3317
3326
|
type: "SALE" | "PURCHASE";
|
|
3318
3327
|
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";
|
|
3319
3328
|
date: Date;
|
|
3320
3329
|
id: string;
|
|
3321
|
-
accountId: string;
|
|
3322
3330
|
price: number;
|
|
3331
|
+
accountId: string;
|
|
3323
3332
|
isPrepared: boolean;
|
|
3324
3333
|
platformOrderId: string;
|
|
3325
|
-
items?: {
|
|
3326
|
-
orderId: string;
|
|
3327
|
-
itemOnPlatformId: string;
|
|
3328
|
-
itemOnPlatform?: {
|
|
3329
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3330
|
-
id: string;
|
|
3331
|
-
createdAt: Date;
|
|
3332
|
-
updatedAt: Date;
|
|
3333
|
-
accountId: string;
|
|
3334
|
-
itemId: string | number;
|
|
3335
|
-
platformId: string;
|
|
3336
|
-
platformUrl: string;
|
|
3337
|
-
platformPrice: number;
|
|
3338
|
-
publishedAt: Date;
|
|
3339
|
-
favoritesCount?: number | null | undefined;
|
|
3340
|
-
viewsCount?: number | null | undefined;
|
|
3341
|
-
conversationId?: string | null | undefined;
|
|
3342
|
-
account?: {
|
|
3343
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3344
|
-
userId: string | number;
|
|
3345
|
-
name: string;
|
|
3346
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3347
|
-
accountId: string;
|
|
3348
|
-
locale?: string | null | undefined;
|
|
3349
|
-
night?: {
|
|
3350
|
-
startsAt: Date;
|
|
3351
|
-
endsAt: Date;
|
|
3352
|
-
} | null | undefined;
|
|
3353
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
3354
|
-
ordersMaxDelay?: number | null | undefined;
|
|
3355
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
3356
|
-
} | null | undefined;
|
|
3357
|
-
} | null | undefined;
|
|
3358
|
-
}[] | null | undefined;
|
|
3359
|
-
conversationId?: string | null | undefined;
|
|
3360
3334
|
transactionId?: string | null | undefined;
|
|
3335
|
+
conversationId?: string | null | undefined;
|
|
3361
3336
|
labels?: {
|
|
3362
3337
|
id: string;
|
|
3363
3338
|
orderId: string;
|
|
@@ -3366,23 +3341,23 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3366
3341
|
originalFileId: string;
|
|
3367
3342
|
file?: {
|
|
3368
3343
|
path: string;
|
|
3344
|
+
userId: string | number;
|
|
3369
3345
|
id: string;
|
|
3370
3346
|
createdAt: Date;
|
|
3371
|
-
userId: string | number;
|
|
3372
3347
|
signedUrl: string;
|
|
3373
3348
|
} | null | undefined;
|
|
3374
3349
|
originalFile?: {
|
|
3375
3350
|
path: string;
|
|
3351
|
+
userId: string | number;
|
|
3376
3352
|
id: string;
|
|
3377
3353
|
createdAt: Date;
|
|
3378
|
-
userId: string | number;
|
|
3379
3354
|
signedUrl: string;
|
|
3380
3355
|
} | null | undefined;
|
|
3381
3356
|
nonCroppedFile?: {
|
|
3382
3357
|
path: string;
|
|
3358
|
+
userId: string | number;
|
|
3383
3359
|
id: string;
|
|
3384
3360
|
createdAt: Date;
|
|
3385
|
-
userId: string | number;
|
|
3386
3361
|
signedUrl: string;
|
|
3387
3362
|
} | null | undefined;
|
|
3388
3363
|
}[] | null | undefined;
|
|
@@ -3407,6 +3382,40 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3407
3382
|
longitude?: number | null | undefined;
|
|
3408
3383
|
} | null | undefined;
|
|
3409
3384
|
}[] | null | undefined;
|
|
3385
|
+
items?: {
|
|
3386
|
+
orderId: string;
|
|
3387
|
+
itemOnPlatformId: string;
|
|
3388
|
+
itemOnPlatform?: {
|
|
3389
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3390
|
+
id: string;
|
|
3391
|
+
updatedAt: Date;
|
|
3392
|
+
createdAt: Date;
|
|
3393
|
+
accountId: string;
|
|
3394
|
+
itemId: string | number;
|
|
3395
|
+
platformId: string;
|
|
3396
|
+
platformUrl: string;
|
|
3397
|
+
platformPrice: number;
|
|
3398
|
+
publishedAt: Date;
|
|
3399
|
+
conversationId?: string | null | undefined;
|
|
3400
|
+
account?: {
|
|
3401
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
3402
|
+
userId: string | number;
|
|
3403
|
+
name: string;
|
|
3404
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3405
|
+
accountId: string;
|
|
3406
|
+
locale?: string | null | undefined;
|
|
3407
|
+
night?: {
|
|
3408
|
+
startsAt: Date;
|
|
3409
|
+
endsAt: Date;
|
|
3410
|
+
} | null | undefined;
|
|
3411
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
3412
|
+
ordersMaxDelay?: number | null | undefined;
|
|
3413
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
3414
|
+
} | null | undefined;
|
|
3415
|
+
viewsCount?: number | null | undefined;
|
|
3416
|
+
favoritesCount?: number | null | undefined;
|
|
3417
|
+
} | null | undefined;
|
|
3418
|
+
}[] | null | undefined;
|
|
3410
3419
|
};
|
|
3411
3420
|
}>;
|
|
3412
3421
|
export type OrderWithItems = z.infer<typeof OrderWithItemsSchema>;
|