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
|
@@ -77,16 +77,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
79
79
|
id: string;
|
|
80
|
-
createdAt: Date;
|
|
81
80
|
updatedAt: Date;
|
|
81
|
+
createdAt: Date;
|
|
82
82
|
accountId: string;
|
|
83
83
|
itemId: string | number;
|
|
84
84
|
platformId: string;
|
|
85
85
|
platformUrl: string;
|
|
86
86
|
platformPrice: number;
|
|
87
87
|
publishedAt: Date;
|
|
88
|
-
favoritesCount?: number | null | undefined;
|
|
89
|
-
viewsCount?: number | null | undefined;
|
|
90
88
|
conversationId?: string | null | undefined;
|
|
91
89
|
account?: {
|
|
92
90
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -103,19 +101,19 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
103
101
|
ordersMaxDelay?: number | null | undefined;
|
|
104
102
|
conversationsMaxDelay?: number | null | undefined;
|
|
105
103
|
} | null | undefined;
|
|
104
|
+
viewsCount?: number | null | undefined;
|
|
105
|
+
favoritesCount?: number | null | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
108
108
|
id: string;
|
|
109
|
-
createdAt: Date;
|
|
110
109
|
updatedAt: Date;
|
|
110
|
+
createdAt: Date;
|
|
111
111
|
accountId: string;
|
|
112
112
|
itemId: string | number;
|
|
113
113
|
platformId: string;
|
|
114
114
|
platformUrl: string;
|
|
115
115
|
platformPrice: number;
|
|
116
116
|
publishedAt: Date;
|
|
117
|
-
favoritesCount?: number | null | undefined;
|
|
118
|
-
viewsCount?: number | null | undefined;
|
|
119
117
|
conversationId?: string | null | undefined;
|
|
120
118
|
account?: {
|
|
121
119
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -132,6 +130,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
132
130
|
ordersMaxDelay?: number | null | undefined;
|
|
133
131
|
conversationsMaxDelay?: number | null | undefined;
|
|
134
132
|
} | null | undefined;
|
|
133
|
+
viewsCount?: number | null | undefined;
|
|
134
|
+
favoritesCount?: number | null | undefined;
|
|
135
135
|
}>>>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
transactionId: string;
|
|
@@ -139,16 +139,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
139
139
|
itemOnPlatform?: {
|
|
140
140
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
141
141
|
id: string;
|
|
142
|
-
createdAt: Date;
|
|
143
142
|
updatedAt: Date;
|
|
143
|
+
createdAt: Date;
|
|
144
144
|
accountId: string;
|
|
145
145
|
itemId: string | number;
|
|
146
146
|
platformId: string;
|
|
147
147
|
platformUrl: string;
|
|
148
148
|
platformPrice: number;
|
|
149
149
|
publishedAt: Date;
|
|
150
|
-
favoritesCount?: number | null | undefined;
|
|
151
|
-
viewsCount?: number | null | undefined;
|
|
152
150
|
conversationId?: string | null | undefined;
|
|
153
151
|
account?: {
|
|
154
152
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -165,6 +163,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
165
163
|
ordersMaxDelay?: number | null | undefined;
|
|
166
164
|
conversationsMaxDelay?: number | null | undefined;
|
|
167
165
|
} | null | undefined;
|
|
166
|
+
viewsCount?: number | null | undefined;
|
|
167
|
+
favoritesCount?: number | null | undefined;
|
|
168
168
|
} | null | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
transactionId: string;
|
|
@@ -172,16 +172,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
172
172
|
itemOnPlatform?: {
|
|
173
173
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
174
174
|
id: string;
|
|
175
|
-
createdAt: Date;
|
|
176
175
|
updatedAt: Date;
|
|
176
|
+
createdAt: Date;
|
|
177
177
|
accountId: string;
|
|
178
178
|
itemId: string | number;
|
|
179
179
|
platformId: string;
|
|
180
180
|
platformUrl: string;
|
|
181
181
|
platformPrice: number;
|
|
182
182
|
publishedAt: Date;
|
|
183
|
-
favoritesCount?: number | null | undefined;
|
|
184
|
-
viewsCount?: number | null | undefined;
|
|
185
183
|
conversationId?: string | null | undefined;
|
|
186
184
|
account?: {
|
|
187
185
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -198,28 +196,32 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
198
196
|
ordersMaxDelay?: number | null | undefined;
|
|
199
197
|
conversationsMaxDelay?: number | null | undefined;
|
|
200
198
|
} | null | undefined;
|
|
199
|
+
viewsCount?: number | null | undefined;
|
|
200
|
+
favoritesCount?: number | null | undefined;
|
|
201
201
|
} | null | undefined;
|
|
202
202
|
}>, "many">>>;
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
204
|
id: string;
|
|
205
205
|
accountId: string;
|
|
206
206
|
platformTransactionId: string;
|
|
207
|
+
conversationId?: string | null | undefined;
|
|
208
|
+
shipmentId?: string | null | undefined;
|
|
209
|
+
buyerPlatformId?: string | null | undefined;
|
|
210
|
+
sellerPlatformId?: string | null | undefined;
|
|
207
211
|
items?: {
|
|
208
212
|
transactionId: string;
|
|
209
213
|
itemOnPlatformId: string;
|
|
210
214
|
itemOnPlatform?: {
|
|
211
215
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
212
216
|
id: string;
|
|
213
|
-
createdAt: Date;
|
|
214
217
|
updatedAt: Date;
|
|
218
|
+
createdAt: Date;
|
|
215
219
|
accountId: string;
|
|
216
220
|
itemId: string | number;
|
|
217
221
|
platformId: string;
|
|
218
222
|
platformUrl: string;
|
|
219
223
|
platformPrice: number;
|
|
220
224
|
publishedAt: Date;
|
|
221
|
-
favoritesCount?: number | null | undefined;
|
|
222
|
-
viewsCount?: number | null | undefined;
|
|
223
225
|
conversationId?: string | null | undefined;
|
|
224
226
|
account?: {
|
|
225
227
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -236,32 +238,32 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
236
238
|
ordersMaxDelay?: number | null | undefined;
|
|
237
239
|
conversationsMaxDelay?: number | null | undefined;
|
|
238
240
|
} | null | undefined;
|
|
241
|
+
viewsCount?: number | null | undefined;
|
|
242
|
+
favoritesCount?: number | null | undefined;
|
|
239
243
|
} | null | undefined;
|
|
240
244
|
}[] | null | undefined;
|
|
241
|
-
conversationId?: string | null | undefined;
|
|
242
|
-
shipmentId?: string | null | undefined;
|
|
243
|
-
buyerPlatformId?: string | null | undefined;
|
|
244
|
-
sellerPlatformId?: string | null | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
id: string;
|
|
247
247
|
accountId: string;
|
|
248
248
|
platformTransactionId: string;
|
|
249
|
+
conversationId?: string | null | undefined;
|
|
250
|
+
shipmentId?: string | null | undefined;
|
|
251
|
+
buyerPlatformId?: string | null | undefined;
|
|
252
|
+
sellerPlatformId?: string | null | undefined;
|
|
249
253
|
items?: {
|
|
250
254
|
transactionId: string;
|
|
251
255
|
itemOnPlatformId: string;
|
|
252
256
|
itemOnPlatform?: {
|
|
253
257
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
254
258
|
id: string;
|
|
255
|
-
createdAt: Date;
|
|
256
259
|
updatedAt: Date;
|
|
260
|
+
createdAt: Date;
|
|
257
261
|
accountId: string;
|
|
258
262
|
itemId: string | number;
|
|
259
263
|
platformId: string;
|
|
260
264
|
platformUrl: string;
|
|
261
265
|
platformPrice: number;
|
|
262
266
|
publishedAt: Date;
|
|
263
|
-
favoritesCount?: number | null | undefined;
|
|
264
|
-
viewsCount?: number | null | undefined;
|
|
265
267
|
conversationId?: string | null | undefined;
|
|
266
268
|
account?: {
|
|
267
269
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -278,12 +280,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
278
280
|
ordersMaxDelay?: number | null | undefined;
|
|
279
281
|
conversationsMaxDelay?: number | null | undefined;
|
|
280
282
|
} | null | undefined;
|
|
283
|
+
viewsCount?: number | null | undefined;
|
|
284
|
+
favoritesCount?: number | null | undefined;
|
|
281
285
|
} | null | undefined;
|
|
282
286
|
}[] | null | undefined;
|
|
283
|
-
conversationId?: string | null | undefined;
|
|
284
|
-
shipmentId?: string | null | undefined;
|
|
285
|
-
buyerPlatformId?: string | null | undefined;
|
|
286
|
-
sellerPlatformId?: string | null | undefined;
|
|
287
287
|
}>;
|
|
288
288
|
items: z.ZodArray<z.ZodObject<{
|
|
289
289
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -303,15 +303,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
303
303
|
createdAt: z.ZodDate;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
path: string;
|
|
306
|
+
userId: string | number;
|
|
306
307
|
id: string;
|
|
307
308
|
createdAt: Date;
|
|
308
|
-
userId: string | number;
|
|
309
309
|
signedUrl: string;
|
|
310
310
|
}, {
|
|
311
311
|
path: string;
|
|
312
|
+
userId: string | number;
|
|
312
313
|
id: string;
|
|
313
314
|
createdAt: Date;
|
|
314
|
-
userId: string | number;
|
|
315
315
|
signedUrl: string;
|
|
316
316
|
}>>>;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -320,9 +320,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
320
320
|
index?: number | null | undefined;
|
|
321
321
|
file?: {
|
|
322
322
|
path: string;
|
|
323
|
+
userId: string | number;
|
|
323
324
|
id: string;
|
|
324
325
|
createdAt: Date;
|
|
325
|
-
userId: string | number;
|
|
326
326
|
signedUrl: string;
|
|
327
327
|
} | null | undefined;
|
|
328
328
|
}, {
|
|
@@ -331,9 +331,9 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
331
331
|
index?: number | null | undefined;
|
|
332
332
|
file?: {
|
|
333
333
|
path: string;
|
|
334
|
+
userId: string | number;
|
|
334
335
|
id: string;
|
|
335
336
|
createdAt: Date;
|
|
336
|
-
userId: string | number;
|
|
337
337
|
signedUrl: string;
|
|
338
338
|
} | null | undefined;
|
|
339
339
|
}>, "many">>>;
|
|
@@ -369,11 +369,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
369
369
|
}, "strip", z.ZodTypeAny, {
|
|
370
370
|
value: number;
|
|
371
371
|
type: string;
|
|
372
|
+
userId: string | number;
|
|
372
373
|
id: string | number;
|
|
373
|
-
createdAt: Date;
|
|
374
374
|
updatedAt: Date;
|
|
375
|
-
userId: string | number;
|
|
376
375
|
name: string;
|
|
376
|
+
createdAt: Date;
|
|
377
377
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
378
378
|
startDate: Date;
|
|
379
379
|
active: boolean;
|
|
@@ -384,11 +384,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
384
384
|
}, {
|
|
385
385
|
value: number;
|
|
386
386
|
type: string;
|
|
387
|
+
userId: string | number;
|
|
387
388
|
id: string | number;
|
|
388
|
-
createdAt: Date;
|
|
389
389
|
updatedAt: Date;
|
|
390
|
-
userId: string | number;
|
|
391
390
|
name: string;
|
|
391
|
+
createdAt: Date;
|
|
392
392
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
393
393
|
startDate: Date;
|
|
394
394
|
active: boolean;
|
|
@@ -408,42 +408,47 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
408
408
|
isUserLabel: z.ZodBoolean;
|
|
409
409
|
createdAt: z.ZodDate;
|
|
410
410
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
411
|
+
parentId: z.ZodUnknown;
|
|
411
412
|
}, "strip", z.ZodTypeAny, {
|
|
412
413
|
id: string | number;
|
|
413
|
-
createdAt: Date;
|
|
414
414
|
name: string;
|
|
415
|
+
createdAt: Date;
|
|
415
416
|
isUserLabel: boolean;
|
|
416
|
-
itemCount?: number | null | undefined;
|
|
417
417
|
userId?: string | number | null | undefined;
|
|
418
|
+
itemCount?: number | null | undefined;
|
|
419
|
+
parentId?: unknown;
|
|
418
420
|
}, {
|
|
419
421
|
id: string | number;
|
|
420
|
-
createdAt: Date;
|
|
421
422
|
name: string;
|
|
423
|
+
createdAt: Date;
|
|
422
424
|
isUserLabel: boolean;
|
|
423
|
-
itemCount?: number | null | undefined;
|
|
424
425
|
userId?: string | number | null | undefined;
|
|
426
|
+
itemCount?: number | null | undefined;
|
|
427
|
+
parentId?: unknown;
|
|
425
428
|
}>>>;
|
|
426
429
|
}, "strip", z.ZodTypeAny, {
|
|
427
430
|
itemId: string | number;
|
|
428
431
|
labelId: string | number;
|
|
429
432
|
label?: {
|
|
430
433
|
id: string | number;
|
|
431
|
-
createdAt: Date;
|
|
432
434
|
name: string;
|
|
435
|
+
createdAt: Date;
|
|
433
436
|
isUserLabel: boolean;
|
|
434
|
-
itemCount?: number | null | undefined;
|
|
435
437
|
userId?: string | number | null | undefined;
|
|
438
|
+
itemCount?: number | null | undefined;
|
|
439
|
+
parentId?: unknown;
|
|
436
440
|
} | null | undefined;
|
|
437
441
|
}, {
|
|
438
442
|
itemId: string | number;
|
|
439
443
|
labelId: string | number;
|
|
440
444
|
label?: {
|
|
441
445
|
id: string | number;
|
|
442
|
-
createdAt: Date;
|
|
443
446
|
name: string;
|
|
447
|
+
createdAt: Date;
|
|
444
448
|
isUserLabel: boolean;
|
|
445
|
-
itemCount?: number | null | undefined;
|
|
446
449
|
userId?: string | number | null | undefined;
|
|
450
|
+
itemCount?: number | null | undefined;
|
|
451
|
+
parentId?: unknown;
|
|
447
452
|
} | null | undefined;
|
|
448
453
|
}>, "many">>>;
|
|
449
454
|
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -462,8 +467,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
462
467
|
bic: z.ZodString;
|
|
463
468
|
phoneVerified: z.ZodBoolean;
|
|
464
469
|
}, "strip", z.ZodTypeAny, {
|
|
465
|
-
id: string | number;
|
|
466
470
|
userId: string | number;
|
|
471
|
+
id: string | number;
|
|
467
472
|
email: string;
|
|
468
473
|
firstName: string;
|
|
469
474
|
lastName: string;
|
|
@@ -474,8 +479,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
474
479
|
bic: string;
|
|
475
480
|
phoneVerified: boolean;
|
|
476
481
|
}, {
|
|
477
|
-
id: string | number;
|
|
478
482
|
userId: string | number;
|
|
483
|
+
id: string | number;
|
|
479
484
|
email: string;
|
|
480
485
|
firstName: string;
|
|
481
486
|
lastName: string;
|
|
@@ -601,11 +606,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
601
606
|
autoFixable: z.ZodBoolean;
|
|
602
607
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
603
608
|
}, "strip", z.ZodTypeAny, {
|
|
604
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
609
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
605
610
|
autoFixable: boolean;
|
|
606
611
|
error?: string | null | undefined;
|
|
607
612
|
}, {
|
|
608
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
613
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
609
614
|
autoFixable: boolean;
|
|
610
615
|
error?: string | null | undefined;
|
|
611
616
|
}>, "many">>>;
|
|
@@ -615,7 +620,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
615
620
|
accountId?: string | null | undefined;
|
|
616
621
|
reason?: string | null | undefined;
|
|
617
622
|
fields?: {
|
|
618
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
623
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
619
624
|
autoFixable: boolean;
|
|
620
625
|
error?: string | null | undefined;
|
|
621
626
|
}[] | null | undefined;
|
|
@@ -625,7 +630,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
625
630
|
accountId?: string | null | undefined;
|
|
626
631
|
reason?: string | null | undefined;
|
|
627
632
|
fields?: {
|
|
628
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
633
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
629
634
|
autoFixable: boolean;
|
|
630
635
|
error?: string | null | undefined;
|
|
631
636
|
}[] | null | undefined;
|
|
@@ -639,7 +644,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
639
644
|
accountId?: string | null | undefined;
|
|
640
645
|
reason?: string | null | undefined;
|
|
641
646
|
fields?: {
|
|
642
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
647
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
643
648
|
autoFixable: boolean;
|
|
644
649
|
error?: string | null | undefined;
|
|
645
650
|
}[] | null | undefined;
|
|
@@ -652,7 +657,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
652
657
|
accountId?: string | null | undefined;
|
|
653
658
|
reason?: string | null | undefined;
|
|
654
659
|
fields?: {
|
|
655
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
660
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
656
661
|
autoFixable: boolean;
|
|
657
662
|
error?: string | null | undefined;
|
|
658
663
|
}[] | null | undefined;
|
|
@@ -768,22 +773,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
768
773
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
769
774
|
}, "strip", z.ZodTypeAny, {
|
|
770
775
|
status?: string | null | undefined;
|
|
771
|
-
title?: string | null | undefined;
|
|
772
|
-
description?: string | null | undefined;
|
|
773
|
-
brand?: string | null | undefined;
|
|
774
|
-
statusId?: number | null | undefined;
|
|
775
|
-
sizeId?: number | null | undefined;
|
|
776
|
-
colorIds?: number[] | null | undefined;
|
|
777
|
-
packageSizeId?: number | null | undefined;
|
|
778
776
|
price?: number | null | undefined;
|
|
779
777
|
currency?: string | null | undefined;
|
|
778
|
+
brand?: string | null | undefined;
|
|
780
779
|
catalog?: string | null | undefined;
|
|
781
780
|
catalogId?: number | null | undefined;
|
|
782
781
|
colors?: string[] | null | undefined;
|
|
782
|
+
colorIds?: number[] | null | undefined;
|
|
783
|
+
description?: string | null | undefined;
|
|
783
784
|
measurementLength?: number | null | undefined;
|
|
784
785
|
measurementWidth?: number | null | undefined;
|
|
786
|
+
packageSizeId?: number | null | undefined;
|
|
785
787
|
photoUrls?: string[] | null | undefined;
|
|
786
788
|
size?: string | null | undefined;
|
|
789
|
+
sizeId?: number | null | undefined;
|
|
790
|
+
statusId?: number | null | undefined;
|
|
791
|
+
title?: string | null | undefined;
|
|
787
792
|
isDraft?: boolean | null | undefined;
|
|
788
793
|
isArchived?: boolean | null | undefined;
|
|
789
794
|
availableQuantity?: number | null | undefined;
|
|
@@ -792,22 +797,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
792
797
|
labels?: string[] | null | undefined;
|
|
793
798
|
}, {
|
|
794
799
|
status?: string | null | undefined;
|
|
795
|
-
title?: string | null | undefined;
|
|
796
|
-
description?: string | null | undefined;
|
|
797
|
-
brand?: string | null | undefined;
|
|
798
|
-
statusId?: number | null | undefined;
|
|
799
|
-
sizeId?: number | null | undefined;
|
|
800
|
-
colorIds?: number[] | null | undefined;
|
|
801
|
-
packageSizeId?: number | null | undefined;
|
|
802
800
|
price?: number | null | undefined;
|
|
803
801
|
currency?: string | null | undefined;
|
|
802
|
+
brand?: string | null | undefined;
|
|
804
803
|
catalog?: string | null | undefined;
|
|
805
804
|
catalogId?: number | null | undefined;
|
|
806
805
|
colors?: string[] | null | undefined;
|
|
806
|
+
colorIds?: number[] | null | undefined;
|
|
807
|
+
description?: string | null | undefined;
|
|
807
808
|
measurementLength?: number | null | undefined;
|
|
808
809
|
measurementWidth?: number | null | undefined;
|
|
810
|
+
packageSizeId?: number | null | undefined;
|
|
809
811
|
photoUrls?: string[] | null | undefined;
|
|
810
812
|
size?: string | null | undefined;
|
|
813
|
+
sizeId?: number | null | undefined;
|
|
814
|
+
statusId?: number | null | undefined;
|
|
815
|
+
title?: string | null | undefined;
|
|
811
816
|
isDraft?: boolean | null | undefined;
|
|
812
817
|
isArchived?: boolean | null | undefined;
|
|
813
818
|
availableQuantity?: number | null | undefined;
|
|
@@ -819,22 +824,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
819
824
|
platformId: string;
|
|
820
825
|
post: {
|
|
821
826
|
status?: string | null | undefined;
|
|
822
|
-
title?: string | null | undefined;
|
|
823
|
-
description?: string | null | undefined;
|
|
824
|
-
brand?: string | null | undefined;
|
|
825
|
-
statusId?: number | null | undefined;
|
|
826
|
-
sizeId?: number | null | undefined;
|
|
827
|
-
colorIds?: number[] | null | undefined;
|
|
828
|
-
packageSizeId?: number | null | undefined;
|
|
829
827
|
price?: number | null | undefined;
|
|
830
828
|
currency?: string | null | undefined;
|
|
829
|
+
brand?: string | null | undefined;
|
|
831
830
|
catalog?: string | null | undefined;
|
|
832
831
|
catalogId?: number | null | undefined;
|
|
833
832
|
colors?: string[] | null | undefined;
|
|
833
|
+
colorIds?: number[] | null | undefined;
|
|
834
|
+
description?: string | null | undefined;
|
|
834
835
|
measurementLength?: number | null | undefined;
|
|
835
836
|
measurementWidth?: number | null | undefined;
|
|
837
|
+
packageSizeId?: number | null | undefined;
|
|
836
838
|
photoUrls?: string[] | null | undefined;
|
|
837
839
|
size?: string | null | undefined;
|
|
840
|
+
sizeId?: number | null | undefined;
|
|
841
|
+
statusId?: number | null | undefined;
|
|
842
|
+
title?: string | null | undefined;
|
|
838
843
|
isDraft?: boolean | null | undefined;
|
|
839
844
|
isArchived?: boolean | null | undefined;
|
|
840
845
|
availableQuantity?: number | null | undefined;
|
|
@@ -848,22 +853,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
848
853
|
platformId: string;
|
|
849
854
|
post: {
|
|
850
855
|
status?: string | null | undefined;
|
|
851
|
-
title?: string | null | undefined;
|
|
852
|
-
description?: string | null | undefined;
|
|
853
|
-
brand?: string | null | undefined;
|
|
854
|
-
statusId?: number | null | undefined;
|
|
855
|
-
sizeId?: number | null | undefined;
|
|
856
|
-
colorIds?: number[] | null | undefined;
|
|
857
|
-
packageSizeId?: number | null | undefined;
|
|
858
856
|
price?: number | null | undefined;
|
|
859
857
|
currency?: string | null | undefined;
|
|
858
|
+
brand?: string | null | undefined;
|
|
860
859
|
catalog?: string | null | undefined;
|
|
861
860
|
catalogId?: number | null | undefined;
|
|
862
861
|
colors?: string[] | null | undefined;
|
|
862
|
+
colorIds?: number[] | null | undefined;
|
|
863
|
+
description?: string | null | undefined;
|
|
863
864
|
measurementLength?: number | null | undefined;
|
|
864
865
|
measurementWidth?: number | null | undefined;
|
|
866
|
+
packageSizeId?: number | null | undefined;
|
|
865
867
|
photoUrls?: string[] | null | undefined;
|
|
866
868
|
size?: string | null | undefined;
|
|
869
|
+
sizeId?: number | null | undefined;
|
|
870
|
+
statusId?: number | null | undefined;
|
|
871
|
+
title?: string | null | undefined;
|
|
867
872
|
isDraft?: boolean | null | undefined;
|
|
868
873
|
isArchived?: boolean | null | undefined;
|
|
869
874
|
availableQuantity?: number | null | undefined;
|
|
@@ -879,22 +884,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
879
884
|
platformId: string;
|
|
880
885
|
post: {
|
|
881
886
|
status?: string | null | undefined;
|
|
882
|
-
title?: string | null | undefined;
|
|
883
|
-
description?: string | null | undefined;
|
|
884
|
-
brand?: string | null | undefined;
|
|
885
|
-
statusId?: number | null | undefined;
|
|
886
|
-
sizeId?: number | null | undefined;
|
|
887
|
-
colorIds?: number[] | null | undefined;
|
|
888
|
-
packageSizeId?: number | null | undefined;
|
|
889
887
|
price?: number | null | undefined;
|
|
890
888
|
currency?: string | null | undefined;
|
|
889
|
+
brand?: string | null | undefined;
|
|
891
890
|
catalog?: string | null | undefined;
|
|
892
891
|
catalogId?: number | null | undefined;
|
|
893
892
|
colors?: string[] | null | undefined;
|
|
893
|
+
colorIds?: number[] | null | undefined;
|
|
894
|
+
description?: string | null | undefined;
|
|
894
895
|
measurementLength?: number | null | undefined;
|
|
895
896
|
measurementWidth?: number | null | undefined;
|
|
897
|
+
packageSizeId?: number | null | undefined;
|
|
896
898
|
photoUrls?: string[] | null | undefined;
|
|
897
899
|
size?: string | null | undefined;
|
|
900
|
+
sizeId?: number | null | undefined;
|
|
901
|
+
statusId?: number | null | undefined;
|
|
902
|
+
title?: string | null | undefined;
|
|
898
903
|
isDraft?: boolean | null | undefined;
|
|
899
904
|
isArchived?: boolean | null | undefined;
|
|
900
905
|
availableQuantity?: number | null | undefined;
|
|
@@ -910,22 +915,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
910
915
|
platformId: string;
|
|
911
916
|
post: {
|
|
912
917
|
status?: string | null | undefined;
|
|
913
|
-
title?: string | null | undefined;
|
|
914
|
-
description?: string | null | undefined;
|
|
915
|
-
brand?: string | null | undefined;
|
|
916
|
-
statusId?: number | null | undefined;
|
|
917
|
-
sizeId?: number | null | undefined;
|
|
918
|
-
colorIds?: number[] | null | undefined;
|
|
919
|
-
packageSizeId?: number | null | undefined;
|
|
920
918
|
price?: number | null | undefined;
|
|
921
919
|
currency?: string | null | undefined;
|
|
920
|
+
brand?: string | null | undefined;
|
|
922
921
|
catalog?: string | null | undefined;
|
|
923
922
|
catalogId?: number | null | undefined;
|
|
924
923
|
colors?: string[] | null | undefined;
|
|
924
|
+
colorIds?: number[] | null | undefined;
|
|
925
|
+
description?: string | null | undefined;
|
|
925
926
|
measurementLength?: number | null | undefined;
|
|
926
927
|
measurementWidth?: number | null | undefined;
|
|
928
|
+
packageSizeId?: number | null | undefined;
|
|
927
929
|
photoUrls?: string[] | null | undefined;
|
|
928
930
|
size?: string | null | undefined;
|
|
931
|
+
sizeId?: number | null | undefined;
|
|
932
|
+
statusId?: number | null | undefined;
|
|
933
|
+
title?: string | null | undefined;
|
|
929
934
|
isDraft?: boolean | null | undefined;
|
|
930
935
|
isArchived?: boolean | null | undefined;
|
|
931
936
|
availableQuantity?: number | null | undefined;
|
|
@@ -945,22 +950,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
945
950
|
platformId: string;
|
|
946
951
|
post: {
|
|
947
952
|
status?: string | null | undefined;
|
|
948
|
-
title?: string | null | undefined;
|
|
949
|
-
description?: string | null | undefined;
|
|
950
|
-
brand?: string | null | undefined;
|
|
951
|
-
statusId?: number | null | undefined;
|
|
952
|
-
sizeId?: number | null | undefined;
|
|
953
|
-
colorIds?: number[] | null | undefined;
|
|
954
|
-
packageSizeId?: number | null | undefined;
|
|
955
953
|
price?: number | null | undefined;
|
|
956
954
|
currency?: string | null | undefined;
|
|
955
|
+
brand?: string | null | undefined;
|
|
957
956
|
catalog?: string | null | undefined;
|
|
958
957
|
catalogId?: number | null | undefined;
|
|
959
958
|
colors?: string[] | null | undefined;
|
|
959
|
+
colorIds?: number[] | null | undefined;
|
|
960
|
+
description?: string | null | undefined;
|
|
960
961
|
measurementLength?: number | null | undefined;
|
|
961
962
|
measurementWidth?: number | null | undefined;
|
|
963
|
+
packageSizeId?: number | null | undefined;
|
|
962
964
|
photoUrls?: string[] | null | undefined;
|
|
963
965
|
size?: string | null | undefined;
|
|
966
|
+
sizeId?: number | null | undefined;
|
|
967
|
+
statusId?: number | null | undefined;
|
|
968
|
+
title?: string | null | undefined;
|
|
964
969
|
isDraft?: boolean | null | undefined;
|
|
965
970
|
isArchived?: boolean | null | undefined;
|
|
966
971
|
availableQuantity?: number | null | undefined;
|
|
@@ -979,22 +984,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
979
984
|
platformId: string;
|
|
980
985
|
post: {
|
|
981
986
|
status?: string | null | undefined;
|
|
982
|
-
title?: string | null | undefined;
|
|
983
|
-
description?: string | null | undefined;
|
|
984
|
-
brand?: string | null | undefined;
|
|
985
|
-
statusId?: number | null | undefined;
|
|
986
|
-
sizeId?: number | null | undefined;
|
|
987
|
-
colorIds?: number[] | null | undefined;
|
|
988
|
-
packageSizeId?: number | null | undefined;
|
|
989
987
|
price?: number | null | undefined;
|
|
990
988
|
currency?: string | null | undefined;
|
|
989
|
+
brand?: string | null | undefined;
|
|
991
990
|
catalog?: string | null | undefined;
|
|
992
991
|
catalogId?: number | null | undefined;
|
|
993
992
|
colors?: string[] | null | undefined;
|
|
993
|
+
colorIds?: number[] | null | undefined;
|
|
994
|
+
description?: string | null | undefined;
|
|
994
995
|
measurementLength?: number | null | undefined;
|
|
995
996
|
measurementWidth?: number | null | undefined;
|
|
997
|
+
packageSizeId?: number | null | undefined;
|
|
996
998
|
photoUrls?: string[] | null | undefined;
|
|
997
999
|
size?: string | null | undefined;
|
|
1000
|
+
sizeId?: number | null | undefined;
|
|
1001
|
+
statusId?: number | null | undefined;
|
|
1002
|
+
title?: string | null | undefined;
|
|
998
1003
|
isDraft?: boolean | null | undefined;
|
|
999
1004
|
isArchived?: boolean | null | undefined;
|
|
1000
1005
|
availableQuantity?: number | null | undefined;
|
|
@@ -1030,24 +1035,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1030
1035
|
accountId: z.ZodString;
|
|
1031
1036
|
caseId: z.ZodString;
|
|
1032
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
caseId: string;
|
|
1034
1038
|
accountId: string;
|
|
1035
|
-
}, {
|
|
1036
1039
|
caseId: string;
|
|
1040
|
+
}, {
|
|
1037
1041
|
accountId: string;
|
|
1042
|
+
caseId: string;
|
|
1038
1043
|
}>;
|
|
1039
1044
|
type: z.ZodLiteral<"LIFECYCLE_STARTED">;
|
|
1040
1045
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1046
|
type: "LIFECYCLE_STARTED";
|
|
1042
1047
|
data: {
|
|
1043
|
-
caseId: string;
|
|
1044
1048
|
accountId: string;
|
|
1049
|
+
caseId: string;
|
|
1045
1050
|
};
|
|
1046
1051
|
}, {
|
|
1047
1052
|
type: "LIFECYCLE_STARTED";
|
|
1048
1053
|
data: {
|
|
1049
|
-
caseId: string;
|
|
1050
1054
|
accountId: string;
|
|
1055
|
+
caseId: string;
|
|
1051
1056
|
};
|
|
1052
1057
|
}>, z.ZodObject<{
|
|
1053
1058
|
data: z.ZodObject<{
|
|
@@ -1076,6 +1081,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1076
1081
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1077
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1078
1083
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1084
|
+
publishingDate?: Date | null | undefined;
|
|
1079
1085
|
priceDropPayload?: {
|
|
1080
1086
|
value: number;
|
|
1081
1087
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1083,11 +1089,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1083
1089
|
roundStep?: number | null | undefined;
|
|
1084
1090
|
maxRounds?: number | null | undefined;
|
|
1085
1091
|
} | null | undefined;
|
|
1086
|
-
publishingDate?: Date | null | undefined;
|
|
1087
|
-
targetAccountId?: string | null | undefined;
|
|
1088
1092
|
isTransfer?: boolean | null | undefined;
|
|
1093
|
+
targetAccountId?: string | null | undefined;
|
|
1089
1094
|
}, {
|
|
1090
1095
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1096
|
+
publishingDate?: Date | null | undefined;
|
|
1091
1097
|
priceDropPayload?: {
|
|
1092
1098
|
value: number;
|
|
1093
1099
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1095,15 +1101,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1095
1101
|
roundStep?: number | null | undefined;
|
|
1096
1102
|
maxRounds?: number | null | undefined;
|
|
1097
1103
|
} | null | undefined;
|
|
1098
|
-
publishingDate?: Date | null | undefined;
|
|
1099
|
-
targetAccountId?: string | null | undefined;
|
|
1100
1104
|
isTransfer?: boolean | null | undefined;
|
|
1105
|
+
targetAccountId?: string | null | undefined;
|
|
1101
1106
|
}>;
|
|
1102
1107
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1103
1108
|
}, "strip", z.ZodTypeAny, {
|
|
1104
1109
|
type: "REPUBLISHING";
|
|
1105
1110
|
data: {
|
|
1106
1111
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1112
|
+
publishingDate?: Date | null | undefined;
|
|
1107
1113
|
priceDropPayload?: {
|
|
1108
1114
|
value: number;
|
|
1109
1115
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1111,14 +1117,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1111
1117
|
roundStep?: number | null | undefined;
|
|
1112
1118
|
maxRounds?: number | null | undefined;
|
|
1113
1119
|
} | null | undefined;
|
|
1114
|
-
publishingDate?: Date | null | undefined;
|
|
1115
|
-
targetAccountId?: string | null | undefined;
|
|
1116
1120
|
isTransfer?: boolean | null | undefined;
|
|
1121
|
+
targetAccountId?: string | null | undefined;
|
|
1117
1122
|
};
|
|
1118
1123
|
}, {
|
|
1119
1124
|
type: "REPUBLISHING";
|
|
1120
1125
|
data: {
|
|
1121
1126
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1127
|
+
publishingDate?: Date | null | undefined;
|
|
1122
1128
|
priceDropPayload?: {
|
|
1123
1129
|
value: number;
|
|
1124
1130
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1126,9 +1132,8 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1126
1132
|
roundStep?: number | null | undefined;
|
|
1127
1133
|
maxRounds?: number | null | undefined;
|
|
1128
1134
|
} | null | undefined;
|
|
1129
|
-
publishingDate?: Date | null | undefined;
|
|
1130
|
-
targetAccountId?: string | null | undefined;
|
|
1131
1135
|
isTransfer?: boolean | null | undefined;
|
|
1136
|
+
targetAccountId?: string | null | undefined;
|
|
1132
1137
|
};
|
|
1133
1138
|
}>, z.ZodObject<{
|
|
1134
1139
|
data: z.ZodObject<{
|
|
@@ -1142,11 +1147,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1142
1147
|
autoFixable: z.ZodBoolean;
|
|
1143
1148
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1144
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1145
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1150
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1146
1151
|
autoFixable: boolean;
|
|
1147
1152
|
error?: string | null | undefined;
|
|
1148
1153
|
}, {
|
|
1149
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1154
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1150
1155
|
autoFixable: boolean;
|
|
1151
1156
|
error?: string | null | undefined;
|
|
1152
1157
|
}>, "many">>>;
|
|
@@ -1170,11 +1175,16 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1170
1175
|
maxRounds?: number | null | undefined;
|
|
1171
1176
|
}>>>;
|
|
1172
1177
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
maxAttempts: number;
|
|
1174
1178
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1175
1179
|
attemptNumber: number;
|
|
1180
|
+
maxAttempts: number;
|
|
1176
1181
|
previousHistoryId: string;
|
|
1177
1182
|
originalFailureDate: Date;
|
|
1183
|
+
fields?: {
|
|
1184
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1185
|
+
autoFixable: boolean;
|
|
1186
|
+
error?: string | null | undefined;
|
|
1187
|
+
}[] | null | undefined;
|
|
1178
1188
|
priceDropPayload?: {
|
|
1179
1189
|
value: number;
|
|
1180
1190
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1182,17 +1192,17 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1182
1192
|
roundStep?: number | null | undefined;
|
|
1183
1193
|
maxRounds?: number | null | undefined;
|
|
1184
1194
|
} | null | undefined;
|
|
1185
|
-
fields?: {
|
|
1186
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1187
|
-
autoFixable: boolean;
|
|
1188
|
-
error?: string | null | undefined;
|
|
1189
|
-
}[] | null | undefined;
|
|
1190
1195
|
}, {
|
|
1191
|
-
maxAttempts: number;
|
|
1192
1196
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1193
1197
|
attemptNumber: number;
|
|
1198
|
+
maxAttempts: number;
|
|
1194
1199
|
previousHistoryId: string;
|
|
1195
1200
|
originalFailureDate: Date;
|
|
1201
|
+
fields?: {
|
|
1202
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1203
|
+
autoFixable: boolean;
|
|
1204
|
+
error?: string | null | undefined;
|
|
1205
|
+
}[] | null | undefined;
|
|
1196
1206
|
priceDropPayload?: {
|
|
1197
1207
|
value: number;
|
|
1198
1208
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1200,21 +1210,21 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1200
1210
|
roundStep?: number | null | undefined;
|
|
1201
1211
|
maxRounds?: number | null | undefined;
|
|
1202
1212
|
} | null | undefined;
|
|
1203
|
-
fields?: {
|
|
1204
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1205
|
-
autoFixable: boolean;
|
|
1206
|
-
error?: string | null | undefined;
|
|
1207
|
-
}[] | null | undefined;
|
|
1208
1213
|
}>;
|
|
1209
1214
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1210
1215
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1216
|
type: "REPUBLISHING_RETRY";
|
|
1212
1217
|
data: {
|
|
1213
|
-
maxAttempts: number;
|
|
1214
1218
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1215
1219
|
attemptNumber: number;
|
|
1220
|
+
maxAttempts: number;
|
|
1216
1221
|
previousHistoryId: string;
|
|
1217
1222
|
originalFailureDate: Date;
|
|
1223
|
+
fields?: {
|
|
1224
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1225
|
+
autoFixable: boolean;
|
|
1226
|
+
error?: string | null | undefined;
|
|
1227
|
+
}[] | null | undefined;
|
|
1218
1228
|
priceDropPayload?: {
|
|
1219
1229
|
value: number;
|
|
1220
1230
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1222,20 +1232,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1222
1232
|
roundStep?: number | null | undefined;
|
|
1223
1233
|
maxRounds?: number | null | undefined;
|
|
1224
1234
|
} | null | undefined;
|
|
1225
|
-
fields?: {
|
|
1226
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1227
|
-
autoFixable: boolean;
|
|
1228
|
-
error?: string | null | undefined;
|
|
1229
|
-
}[] | null | undefined;
|
|
1230
1235
|
};
|
|
1231
1236
|
}, {
|
|
1232
1237
|
type: "REPUBLISHING_RETRY";
|
|
1233
1238
|
data: {
|
|
1234
|
-
maxAttempts: number;
|
|
1235
1239
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1236
1240
|
attemptNumber: number;
|
|
1241
|
+
maxAttempts: number;
|
|
1237
1242
|
previousHistoryId: string;
|
|
1238
1243
|
originalFailureDate: Date;
|
|
1244
|
+
fields?: {
|
|
1245
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1246
|
+
autoFixable: boolean;
|
|
1247
|
+
error?: string | null | undefined;
|
|
1248
|
+
}[] | null | undefined;
|
|
1239
1249
|
priceDropPayload?: {
|
|
1240
1250
|
value: number;
|
|
1241
1251
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1243,11 +1253,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1243
1253
|
roundStep?: number | null | undefined;
|
|
1244
1254
|
maxRounds?: number | null | undefined;
|
|
1245
1255
|
} | null | undefined;
|
|
1246
|
-
fields?: {
|
|
1247
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1248
|
-
autoFixable: boolean;
|
|
1249
|
-
error?: string | null | undefined;
|
|
1250
|
-
}[] | null | undefined;
|
|
1251
1256
|
};
|
|
1252
1257
|
}>, z.ZodObject<{
|
|
1253
1258
|
data: z.ZodObject<{
|
|
@@ -1285,33 +1290,33 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1285
1290
|
autoFixable: z.ZodBoolean;
|
|
1286
1291
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1287
1292
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1293
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1289
1294
|
autoFixable: boolean;
|
|
1290
1295
|
error?: string | null | undefined;
|
|
1291
1296
|
}, {
|
|
1292
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1297
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1293
1298
|
autoFixable: boolean;
|
|
1294
1299
|
error?: string | null | undefined;
|
|
1295
1300
|
}>, "many">>>;
|
|
1296
1301
|
}, "strip", z.ZodTypeAny, {
|
|
1297
|
-
maxAttempts: number;
|
|
1298
1302
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1299
1303
|
attemptNumber: number;
|
|
1304
|
+
maxAttempts: number;
|
|
1300
1305
|
previousHistoryId: string;
|
|
1301
1306
|
originalFailureDate: Date;
|
|
1302
1307
|
fields?: {
|
|
1303
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1308
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1304
1309
|
autoFixable: boolean;
|
|
1305
1310
|
error?: string | null | undefined;
|
|
1306
1311
|
}[] | null | undefined;
|
|
1307
1312
|
}, {
|
|
1308
|
-
maxAttempts: number;
|
|
1309
1313
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1310
1314
|
attemptNumber: number;
|
|
1315
|
+
maxAttempts: number;
|
|
1311
1316
|
previousHistoryId: string;
|
|
1312
1317
|
originalFailureDate: Date;
|
|
1313
1318
|
fields?: {
|
|
1314
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1319
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1315
1320
|
autoFixable: boolean;
|
|
1316
1321
|
error?: string | null | undefined;
|
|
1317
1322
|
}[] | null | undefined;
|
|
@@ -1320,13 +1325,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1320
1325
|
}, "strip", z.ZodTypeAny, {
|
|
1321
1326
|
type: "SCHEDULED_RETRY";
|
|
1322
1327
|
data: {
|
|
1323
|
-
maxAttempts: number;
|
|
1324
1328
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1325
1329
|
attemptNumber: number;
|
|
1330
|
+
maxAttempts: number;
|
|
1326
1331
|
previousHistoryId: string;
|
|
1327
1332
|
originalFailureDate: Date;
|
|
1328
1333
|
fields?: {
|
|
1329
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1334
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1330
1335
|
autoFixable: boolean;
|
|
1331
1336
|
error?: string | null | undefined;
|
|
1332
1337
|
}[] | null | undefined;
|
|
@@ -1334,13 +1339,13 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1334
1339
|
}, {
|
|
1335
1340
|
type: "SCHEDULED_RETRY";
|
|
1336
1341
|
data: {
|
|
1337
|
-
maxAttempts: number;
|
|
1338
1342
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1339
1343
|
attemptNumber: number;
|
|
1344
|
+
maxAttempts: number;
|
|
1340
1345
|
previousHistoryId: string;
|
|
1341
1346
|
originalFailureDate: Date;
|
|
1342
1347
|
fields?: {
|
|
1343
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1348
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1344
1349
|
autoFixable: boolean;
|
|
1345
1350
|
error?: string | null | undefined;
|
|
1346
1351
|
}[] | null | undefined;
|
|
@@ -1355,7 +1360,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1355
1360
|
id: string;
|
|
1356
1361
|
createdAt: Date;
|
|
1357
1362
|
itemId: string | number;
|
|
1358
|
-
requestId?: string | null | undefined;
|
|
1359
1363
|
data?: {
|
|
1360
1364
|
type: "ACTION_CANCELED";
|
|
1361
1365
|
data: {
|
|
@@ -1384,7 +1388,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1384
1388
|
accountId?: string | null | undefined;
|
|
1385
1389
|
reason?: string | null | undefined;
|
|
1386
1390
|
fields?: {
|
|
1387
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1391
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1388
1392
|
autoFixable: boolean;
|
|
1389
1393
|
error?: string | null | undefined;
|
|
1390
1394
|
}[] | null | undefined;
|
|
@@ -1411,22 +1415,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1411
1415
|
platformId: string;
|
|
1412
1416
|
post: {
|
|
1413
1417
|
status?: string | null | undefined;
|
|
1414
|
-
title?: string | null | undefined;
|
|
1415
|
-
description?: string | null | undefined;
|
|
1416
|
-
brand?: string | null | undefined;
|
|
1417
|
-
statusId?: number | null | undefined;
|
|
1418
|
-
sizeId?: number | null | undefined;
|
|
1419
|
-
colorIds?: number[] | null | undefined;
|
|
1420
|
-
packageSizeId?: number | null | undefined;
|
|
1421
1418
|
price?: number | null | undefined;
|
|
1422
1419
|
currency?: string | null | undefined;
|
|
1420
|
+
brand?: string | null | undefined;
|
|
1423
1421
|
catalog?: string | null | undefined;
|
|
1424
1422
|
catalogId?: number | null | undefined;
|
|
1425
1423
|
colors?: string[] | null | undefined;
|
|
1424
|
+
colorIds?: number[] | null | undefined;
|
|
1425
|
+
description?: string | null | undefined;
|
|
1426
1426
|
measurementLength?: number | null | undefined;
|
|
1427
1427
|
measurementWidth?: number | null | undefined;
|
|
1428
|
+
packageSizeId?: number | null | undefined;
|
|
1428
1429
|
photoUrls?: string[] | null | undefined;
|
|
1429
1430
|
size?: string | null | undefined;
|
|
1431
|
+
sizeId?: number | null | undefined;
|
|
1432
|
+
statusId?: number | null | undefined;
|
|
1433
|
+
title?: string | null | undefined;
|
|
1430
1434
|
isDraft?: boolean | null | undefined;
|
|
1431
1435
|
isArchived?: boolean | null | undefined;
|
|
1432
1436
|
availableQuantity?: number | null | undefined;
|
|
@@ -1446,13 +1450,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1446
1450
|
} | {
|
|
1447
1451
|
type: "LIFECYCLE_STARTED";
|
|
1448
1452
|
data: {
|
|
1449
|
-
caseId: string;
|
|
1450
1453
|
accountId: string;
|
|
1454
|
+
caseId: string;
|
|
1451
1455
|
};
|
|
1452
1456
|
} | {
|
|
1453
1457
|
type: "REPUBLISHING";
|
|
1454
1458
|
data: {
|
|
1455
1459
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1460
|
+
publishingDate?: Date | null | undefined;
|
|
1456
1461
|
priceDropPayload?: {
|
|
1457
1462
|
value: number;
|
|
1458
1463
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1460,18 +1465,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1460
1465
|
roundStep?: number | null | undefined;
|
|
1461
1466
|
maxRounds?: number | null | undefined;
|
|
1462
1467
|
} | null | undefined;
|
|
1463
|
-
publishingDate?: Date | null | undefined;
|
|
1464
|
-
targetAccountId?: string | null | undefined;
|
|
1465
1468
|
isTransfer?: boolean | null | undefined;
|
|
1469
|
+
targetAccountId?: string | null | undefined;
|
|
1466
1470
|
};
|
|
1467
1471
|
} | {
|
|
1468
1472
|
type: "REPUBLISHING_RETRY";
|
|
1469
1473
|
data: {
|
|
1470
|
-
maxAttempts: number;
|
|
1471
1474
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1472
1475
|
attemptNumber: number;
|
|
1476
|
+
maxAttempts: number;
|
|
1473
1477
|
previousHistoryId: string;
|
|
1474
1478
|
originalFailureDate: Date;
|
|
1479
|
+
fields?: {
|
|
1480
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1481
|
+
autoFixable: boolean;
|
|
1482
|
+
error?: string | null | undefined;
|
|
1483
|
+
}[] | null | undefined;
|
|
1475
1484
|
priceDropPayload?: {
|
|
1476
1485
|
value: number;
|
|
1477
1486
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1479,11 +1488,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1479
1488
|
roundStep?: number | null | undefined;
|
|
1480
1489
|
maxRounds?: number | null | undefined;
|
|
1481
1490
|
} | null | undefined;
|
|
1482
|
-
fields?: {
|
|
1483
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1484
|
-
autoFixable: boolean;
|
|
1485
|
-
error?: string | null | undefined;
|
|
1486
|
-
}[] | null | undefined;
|
|
1487
1491
|
};
|
|
1488
1492
|
} | {
|
|
1489
1493
|
type: "SCHEDULED";
|
|
@@ -1494,26 +1498,26 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1494
1498
|
} | {
|
|
1495
1499
|
type: "SCHEDULED_RETRY";
|
|
1496
1500
|
data: {
|
|
1497
|
-
maxAttempts: number;
|
|
1498
1501
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1499
1502
|
attemptNumber: number;
|
|
1503
|
+
maxAttempts: number;
|
|
1500
1504
|
previousHistoryId: string;
|
|
1501
1505
|
originalFailureDate: Date;
|
|
1502
1506
|
fields?: {
|
|
1503
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1507
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1504
1508
|
autoFixable: boolean;
|
|
1505
1509
|
error?: string | null | undefined;
|
|
1506
1510
|
}[] | null | undefined;
|
|
1507
1511
|
};
|
|
1508
1512
|
} | null | undefined;
|
|
1509
1513
|
accountId?: string | null | undefined;
|
|
1514
|
+
requestId?: string | null | undefined;
|
|
1510
1515
|
targetDate?: Date | null | undefined;
|
|
1511
1516
|
}, {
|
|
1512
1517
|
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";
|
|
1513
1518
|
id: string;
|
|
1514
1519
|
createdAt: Date;
|
|
1515
1520
|
itemId: string | number;
|
|
1516
|
-
requestId?: string | null | undefined;
|
|
1517
1521
|
data?: {
|
|
1518
1522
|
type: "ACTION_CANCELED";
|
|
1519
1523
|
data: {
|
|
@@ -1542,7 +1546,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1542
1546
|
accountId?: string | null | undefined;
|
|
1543
1547
|
reason?: string | null | undefined;
|
|
1544
1548
|
fields?: {
|
|
1545
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1549
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1546
1550
|
autoFixable: boolean;
|
|
1547
1551
|
error?: string | null | undefined;
|
|
1548
1552
|
}[] | null | undefined;
|
|
@@ -1569,22 +1573,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1569
1573
|
platformId: string;
|
|
1570
1574
|
post: {
|
|
1571
1575
|
status?: string | null | undefined;
|
|
1572
|
-
title?: string | null | undefined;
|
|
1573
|
-
description?: string | null | undefined;
|
|
1574
|
-
brand?: string | null | undefined;
|
|
1575
|
-
statusId?: number | null | undefined;
|
|
1576
|
-
sizeId?: number | null | undefined;
|
|
1577
|
-
colorIds?: number[] | null | undefined;
|
|
1578
|
-
packageSizeId?: number | null | undefined;
|
|
1579
1576
|
price?: number | null | undefined;
|
|
1580
1577
|
currency?: string | null | undefined;
|
|
1578
|
+
brand?: string | null | undefined;
|
|
1581
1579
|
catalog?: string | null | undefined;
|
|
1582
1580
|
catalogId?: number | null | undefined;
|
|
1583
1581
|
colors?: string[] | null | undefined;
|
|
1582
|
+
colorIds?: number[] | null | undefined;
|
|
1583
|
+
description?: string | null | undefined;
|
|
1584
1584
|
measurementLength?: number | null | undefined;
|
|
1585
1585
|
measurementWidth?: number | null | undefined;
|
|
1586
|
+
packageSizeId?: number | null | undefined;
|
|
1586
1587
|
photoUrls?: string[] | null | undefined;
|
|
1587
1588
|
size?: string | null | undefined;
|
|
1589
|
+
sizeId?: number | null | undefined;
|
|
1590
|
+
statusId?: number | null | undefined;
|
|
1591
|
+
title?: string | null | undefined;
|
|
1588
1592
|
isDraft?: boolean | null | undefined;
|
|
1589
1593
|
isArchived?: boolean | null | undefined;
|
|
1590
1594
|
availableQuantity?: number | null | undefined;
|
|
@@ -1604,13 +1608,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1604
1608
|
} | {
|
|
1605
1609
|
type: "LIFECYCLE_STARTED";
|
|
1606
1610
|
data: {
|
|
1607
|
-
caseId: string;
|
|
1608
1611
|
accountId: string;
|
|
1612
|
+
caseId: string;
|
|
1609
1613
|
};
|
|
1610
1614
|
} | {
|
|
1611
1615
|
type: "REPUBLISHING";
|
|
1612
1616
|
data: {
|
|
1613
1617
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1618
|
+
publishingDate?: Date | null | undefined;
|
|
1614
1619
|
priceDropPayload?: {
|
|
1615
1620
|
value: number;
|
|
1616
1621
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1618,18 +1623,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1618
1623
|
roundStep?: number | null | undefined;
|
|
1619
1624
|
maxRounds?: number | null | undefined;
|
|
1620
1625
|
} | null | undefined;
|
|
1621
|
-
publishingDate?: Date | null | undefined;
|
|
1622
|
-
targetAccountId?: string | null | undefined;
|
|
1623
1626
|
isTransfer?: boolean | null | undefined;
|
|
1627
|
+
targetAccountId?: string | null | undefined;
|
|
1624
1628
|
};
|
|
1625
1629
|
} | {
|
|
1626
1630
|
type: "REPUBLISHING_RETRY";
|
|
1627
1631
|
data: {
|
|
1628
|
-
maxAttempts: number;
|
|
1629
1632
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1630
1633
|
attemptNumber: number;
|
|
1634
|
+
maxAttempts: number;
|
|
1631
1635
|
previousHistoryId: string;
|
|
1632
1636
|
originalFailureDate: Date;
|
|
1637
|
+
fields?: {
|
|
1638
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1639
|
+
autoFixable: boolean;
|
|
1640
|
+
error?: string | null | undefined;
|
|
1641
|
+
}[] | null | undefined;
|
|
1633
1642
|
priceDropPayload?: {
|
|
1634
1643
|
value: number;
|
|
1635
1644
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1637,11 +1646,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1637
1646
|
roundStep?: number | null | undefined;
|
|
1638
1647
|
maxRounds?: number | null | undefined;
|
|
1639
1648
|
} | null | undefined;
|
|
1640
|
-
fields?: {
|
|
1641
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1642
|
-
autoFixable: boolean;
|
|
1643
|
-
error?: string | null | undefined;
|
|
1644
|
-
}[] | null | undefined;
|
|
1645
1649
|
};
|
|
1646
1650
|
} | {
|
|
1647
1651
|
type: "SCHEDULED";
|
|
@@ -1652,19 +1656,20 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1652
1656
|
} | {
|
|
1653
1657
|
type: "SCHEDULED_RETRY";
|
|
1654
1658
|
data: {
|
|
1655
|
-
maxAttempts: number;
|
|
1656
1659
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1657
1660
|
attemptNumber: number;
|
|
1661
|
+
maxAttempts: number;
|
|
1658
1662
|
previousHistoryId: string;
|
|
1659
1663
|
originalFailureDate: Date;
|
|
1660
1664
|
fields?: {
|
|
1661
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1665
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1662
1666
|
autoFixable: boolean;
|
|
1663
1667
|
error?: string | null | undefined;
|
|
1664
1668
|
}[] | null | undefined;
|
|
1665
1669
|
};
|
|
1666
1670
|
} | null | undefined;
|
|
1667
1671
|
accountId?: string | null | undefined;
|
|
1672
|
+
requestId?: string | null | undefined;
|
|
1668
1673
|
targetDate?: Date | null | undefined;
|
|
1669
1674
|
}>>>;
|
|
1670
1675
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -1733,16 +1738,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1733
1738
|
}, "strip", z.ZodTypeAny, {
|
|
1734
1739
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1735
1740
|
id: string;
|
|
1736
|
-
createdAt: Date;
|
|
1737
1741
|
updatedAt: Date;
|
|
1742
|
+
createdAt: Date;
|
|
1738
1743
|
accountId: string;
|
|
1739
1744
|
itemId: string | number;
|
|
1740
1745
|
platformId: string;
|
|
1741
1746
|
platformUrl: string;
|
|
1742
1747
|
platformPrice: number;
|
|
1743
1748
|
publishedAt: Date;
|
|
1744
|
-
favoritesCount?: number | null | undefined;
|
|
1745
|
-
viewsCount?: number | null | undefined;
|
|
1746
1749
|
conversationId?: string | null | undefined;
|
|
1747
1750
|
account?: {
|
|
1748
1751
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -1759,19 +1762,19 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1759
1762
|
ordersMaxDelay?: number | null | undefined;
|
|
1760
1763
|
conversationsMaxDelay?: number | null | undefined;
|
|
1761
1764
|
} | null | undefined;
|
|
1765
|
+
viewsCount?: number | null | undefined;
|
|
1766
|
+
favoritesCount?: number | null | undefined;
|
|
1762
1767
|
}, {
|
|
1763
1768
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1764
1769
|
id: string;
|
|
1765
|
-
createdAt: Date;
|
|
1766
1770
|
updatedAt: Date;
|
|
1771
|
+
createdAt: Date;
|
|
1767
1772
|
accountId: string;
|
|
1768
1773
|
itemId: string | number;
|
|
1769
1774
|
platformId: string;
|
|
1770
1775
|
platformUrl: string;
|
|
1771
1776
|
platformPrice: number;
|
|
1772
1777
|
publishedAt: Date;
|
|
1773
|
-
favoritesCount?: number | null | undefined;
|
|
1774
|
-
viewsCount?: number | null | undefined;
|
|
1775
1778
|
conversationId?: string | null | undefined;
|
|
1776
1779
|
account?: {
|
|
1777
1780
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -1788,52 +1791,34 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1788
1791
|
ordersMaxDelay?: number | null | undefined;
|
|
1789
1792
|
conversationsMaxDelay?: number | null | undefined;
|
|
1790
1793
|
} | null | undefined;
|
|
1794
|
+
viewsCount?: number | null | undefined;
|
|
1795
|
+
favoritesCount?: number | null | undefined;
|
|
1791
1796
|
}>, "many">>>;
|
|
1792
1797
|
createdAt: z.ZodDate;
|
|
1793
1798
|
updatedAt: z.ZodDate;
|
|
1794
1799
|
}, "strip", z.ZodTypeAny, {
|
|
1800
|
+
userId: string | number;
|
|
1795
1801
|
id: string | number;
|
|
1796
|
-
createdAt: Date;
|
|
1797
1802
|
updatedAt: Date;
|
|
1798
|
-
userId: string | number;
|
|
1799
1803
|
name: string;
|
|
1804
|
+
createdAt: Date;
|
|
1800
1805
|
sold: boolean;
|
|
1801
1806
|
state?: number | null | undefined;
|
|
1802
|
-
fees?: {
|
|
1803
|
-
value: number;
|
|
1804
|
-
type: string;
|
|
1805
|
-
id: string | number;
|
|
1806
|
-
createdAt: Date;
|
|
1807
|
-
updatedAt: Date;
|
|
1808
|
-
userId: string | number;
|
|
1809
|
-
name: string;
|
|
1810
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1811
|
-
startDate: Date;
|
|
1812
|
-
active: boolean;
|
|
1813
|
-
description?: string | null | undefined;
|
|
1814
|
-
itemId?: string | number | null | undefined;
|
|
1815
|
-
endDate?: Date | null | undefined;
|
|
1816
|
-
parentFeeId?: string | number | null | undefined;
|
|
1817
|
-
}[] | null | undefined;
|
|
1818
|
-
description?: string | null | undefined;
|
|
1819
|
-
categoryId?: number | null | undefined;
|
|
1820
|
-
sizeId?: number | null | undefined;
|
|
1821
1807
|
colorIds?: number[] | null | undefined;
|
|
1808
|
+
description?: string | null | undefined;
|
|
1822
1809
|
packageSizeId?: number | null | undefined;
|
|
1823
|
-
|
|
1824
|
-
estimatedPrice?: number | null | undefined;
|
|
1825
|
-
purchaseDate?: Date | null | undefined;
|
|
1826
|
-
sellingDate?: Date | null | undefined;
|
|
1810
|
+
sizeId?: number | null | undefined;
|
|
1827
1811
|
labels?: {
|
|
1828
1812
|
itemId: string | number;
|
|
1829
1813
|
labelId: string | number;
|
|
1830
1814
|
label?: {
|
|
1831
1815
|
id: string | number;
|
|
1832
|
-
createdAt: Date;
|
|
1833
1816
|
name: string;
|
|
1817
|
+
createdAt: Date;
|
|
1834
1818
|
isUserLabel: boolean;
|
|
1835
|
-
itemCount?: number | null | undefined;
|
|
1836
1819
|
userId?: string | number | null | undefined;
|
|
1820
|
+
itemCount?: number | null | undefined;
|
|
1821
|
+
parentId?: unknown;
|
|
1837
1822
|
} | null | undefined;
|
|
1838
1823
|
}[] | null | undefined;
|
|
1839
1824
|
files?: {
|
|
@@ -1842,59 +1827,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1842
1827
|
index?: number | null | undefined;
|
|
1843
1828
|
file?: {
|
|
1844
1829
|
path: string;
|
|
1830
|
+
userId: string | number;
|
|
1845
1831
|
id: string;
|
|
1846
1832
|
createdAt: Date;
|
|
1847
|
-
userId: string | number;
|
|
1848
1833
|
signedUrl: string;
|
|
1849
1834
|
} | null | undefined;
|
|
1850
1835
|
}[] | null | undefined;
|
|
1851
|
-
platforms?: {
|
|
1852
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
1853
|
-
id: string;
|
|
1854
|
-
createdAt: Date;
|
|
1855
|
-
updatedAt: Date;
|
|
1856
|
-
accountId: string;
|
|
1857
|
-
itemId: string | number;
|
|
1858
|
-
platformId: string;
|
|
1859
|
-
platformUrl: string;
|
|
1860
|
-
platformPrice: number;
|
|
1861
|
-
publishedAt: Date;
|
|
1862
|
-
favoritesCount?: number | null | undefined;
|
|
1863
|
-
viewsCount?: number | null | undefined;
|
|
1864
|
-
conversationId?: string | null | undefined;
|
|
1865
|
-
account?: {
|
|
1866
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1867
|
-
userId: string | number;
|
|
1868
|
-
name: string;
|
|
1869
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1870
|
-
accountId: string;
|
|
1871
|
-
locale?: string | null | undefined;
|
|
1872
|
-
night?: {
|
|
1873
|
-
startsAt: Date;
|
|
1874
|
-
endsAt: Date;
|
|
1875
|
-
} | null | undefined;
|
|
1876
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
1877
|
-
ordersMaxDelay?: number | null | undefined;
|
|
1878
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
1879
|
-
} | null | undefined;
|
|
1880
|
-
}[] | null | undefined;
|
|
1881
1836
|
fields?: {
|
|
1882
1837
|
value: string;
|
|
1883
1838
|
itemId: string | number;
|
|
1884
1839
|
fieldId: string | number;
|
|
1885
1840
|
}[] | null | undefined;
|
|
1886
1841
|
sku?: string | null | undefined;
|
|
1842
|
+
categoryId?: number | null | undefined;
|
|
1843
|
+
brandId?: string | number | null | undefined;
|
|
1887
1844
|
sex?: string | null | undefined;
|
|
1888
1845
|
purchasePrice?: number | null | undefined;
|
|
1846
|
+
purchaseDate?: Date | null | undefined;
|
|
1889
1847
|
purchasePlaceId?: string | number | null | undefined;
|
|
1890
1848
|
purchased?: boolean | null | undefined;
|
|
1891
1849
|
sellingPrice?: number | null | undefined;
|
|
1850
|
+
sellingDate?: Date | null | undefined;
|
|
1892
1851
|
sellingPlaceId?: string | number | null | undefined;
|
|
1852
|
+
estimatedPrice?: number | null | undefined;
|
|
1853
|
+
fees?: {
|
|
1854
|
+
value: number;
|
|
1855
|
+
type: string;
|
|
1856
|
+
userId: string | number;
|
|
1857
|
+
id: string | number;
|
|
1858
|
+
updatedAt: Date;
|
|
1859
|
+
name: string;
|
|
1860
|
+
createdAt: Date;
|
|
1861
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1862
|
+
startDate: Date;
|
|
1863
|
+
active: boolean;
|
|
1864
|
+
description?: string | null | undefined;
|
|
1865
|
+
itemId?: string | number | null | undefined;
|
|
1866
|
+
endDate?: Date | null | undefined;
|
|
1867
|
+
parentFeeId?: string | number | null | undefined;
|
|
1868
|
+
}[] | null | undefined;
|
|
1893
1869
|
feesSum?: number | null | undefined;
|
|
1894
1870
|
customerId?: string | number | null | undefined;
|
|
1895
1871
|
customer?: {
|
|
1896
|
-
id: string | number;
|
|
1897
1872
|
userId: string | number;
|
|
1873
|
+
id: string | number;
|
|
1898
1874
|
email: string;
|
|
1899
1875
|
firstName: string;
|
|
1900
1876
|
lastName: string;
|
|
@@ -1915,7 +1891,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1915
1891
|
id: string;
|
|
1916
1892
|
createdAt: Date;
|
|
1917
1893
|
itemId: string | number;
|
|
1918
|
-
requestId?: string | null | undefined;
|
|
1919
1894
|
data?: {
|
|
1920
1895
|
type: "ACTION_CANCELED";
|
|
1921
1896
|
data: {
|
|
@@ -1944,7 +1919,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1944
1919
|
accountId?: string | null | undefined;
|
|
1945
1920
|
reason?: string | null | undefined;
|
|
1946
1921
|
fields?: {
|
|
1947
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
1922
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1948
1923
|
autoFixable: boolean;
|
|
1949
1924
|
error?: string | null | undefined;
|
|
1950
1925
|
}[] | null | undefined;
|
|
@@ -1971,22 +1946,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1971
1946
|
platformId: string;
|
|
1972
1947
|
post: {
|
|
1973
1948
|
status?: string | null | undefined;
|
|
1974
|
-
title?: string | null | undefined;
|
|
1975
|
-
description?: string | null | undefined;
|
|
1976
|
-
brand?: string | null | undefined;
|
|
1977
|
-
statusId?: number | null | undefined;
|
|
1978
|
-
sizeId?: number | null | undefined;
|
|
1979
|
-
colorIds?: number[] | null | undefined;
|
|
1980
|
-
packageSizeId?: number | null | undefined;
|
|
1981
1949
|
price?: number | null | undefined;
|
|
1982
1950
|
currency?: string | null | undefined;
|
|
1951
|
+
brand?: string | null | undefined;
|
|
1983
1952
|
catalog?: string | null | undefined;
|
|
1984
1953
|
catalogId?: number | null | undefined;
|
|
1985
1954
|
colors?: string[] | null | undefined;
|
|
1955
|
+
colorIds?: number[] | null | undefined;
|
|
1956
|
+
description?: string | null | undefined;
|
|
1986
1957
|
measurementLength?: number | null | undefined;
|
|
1987
1958
|
measurementWidth?: number | null | undefined;
|
|
1959
|
+
packageSizeId?: number | null | undefined;
|
|
1988
1960
|
photoUrls?: string[] | null | undefined;
|
|
1989
1961
|
size?: string | null | undefined;
|
|
1962
|
+
sizeId?: number | null | undefined;
|
|
1963
|
+
statusId?: number | null | undefined;
|
|
1964
|
+
title?: string | null | undefined;
|
|
1990
1965
|
isDraft?: boolean | null | undefined;
|
|
1991
1966
|
isArchived?: boolean | null | undefined;
|
|
1992
1967
|
availableQuantity?: number | null | undefined;
|
|
@@ -2006,13 +1981,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2006
1981
|
} | {
|
|
2007
1982
|
type: "LIFECYCLE_STARTED";
|
|
2008
1983
|
data: {
|
|
2009
|
-
caseId: string;
|
|
2010
1984
|
accountId: string;
|
|
1985
|
+
caseId: string;
|
|
2011
1986
|
};
|
|
2012
1987
|
} | {
|
|
2013
1988
|
type: "REPUBLISHING";
|
|
2014
1989
|
data: {
|
|
2015
1990
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1991
|
+
publishingDate?: Date | null | undefined;
|
|
2016
1992
|
priceDropPayload?: {
|
|
2017
1993
|
value: number;
|
|
2018
1994
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2020,18 +1996,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2020
1996
|
roundStep?: number | null | undefined;
|
|
2021
1997
|
maxRounds?: number | null | undefined;
|
|
2022
1998
|
} | null | undefined;
|
|
2023
|
-
publishingDate?: Date | null | undefined;
|
|
2024
|
-
targetAccountId?: string | null | undefined;
|
|
2025
1999
|
isTransfer?: boolean | null | undefined;
|
|
2000
|
+
targetAccountId?: string | null | undefined;
|
|
2026
2001
|
};
|
|
2027
2002
|
} | {
|
|
2028
2003
|
type: "REPUBLISHING_RETRY";
|
|
2029
2004
|
data: {
|
|
2030
|
-
maxAttempts: number;
|
|
2031
2005
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2032
2006
|
attemptNumber: number;
|
|
2007
|
+
maxAttempts: number;
|
|
2033
2008
|
previousHistoryId: string;
|
|
2034
2009
|
originalFailureDate: Date;
|
|
2010
|
+
fields?: {
|
|
2011
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2012
|
+
autoFixable: boolean;
|
|
2013
|
+
error?: string | null | undefined;
|
|
2014
|
+
}[] | null | undefined;
|
|
2035
2015
|
priceDropPayload?: {
|
|
2036
2016
|
value: number;
|
|
2037
2017
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2039,11 +2019,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2039
2019
|
roundStep?: number | null | undefined;
|
|
2040
2020
|
maxRounds?: number | null | undefined;
|
|
2041
2021
|
} | null | undefined;
|
|
2042
|
-
fields?: {
|
|
2043
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2044
|
-
autoFixable: boolean;
|
|
2045
|
-
error?: string | null | undefined;
|
|
2046
|
-
}[] | null | undefined;
|
|
2047
2022
|
};
|
|
2048
2023
|
} | {
|
|
2049
2024
|
type: "SCHEDULED";
|
|
@@ -2054,64 +2029,75 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2054
2029
|
} | {
|
|
2055
2030
|
type: "SCHEDULED_RETRY";
|
|
2056
2031
|
data: {
|
|
2057
|
-
maxAttempts: number;
|
|
2058
2032
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2059
2033
|
attemptNumber: number;
|
|
2034
|
+
maxAttempts: number;
|
|
2060
2035
|
previousHistoryId: string;
|
|
2061
2036
|
originalFailureDate: Date;
|
|
2062
2037
|
fields?: {
|
|
2063
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2038
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2064
2039
|
autoFixable: boolean;
|
|
2065
2040
|
error?: string | null | undefined;
|
|
2066
2041
|
}[] | null | undefined;
|
|
2067
2042
|
};
|
|
2068
2043
|
} | null | undefined;
|
|
2069
2044
|
accountId?: string | null | undefined;
|
|
2045
|
+
requestId?: string | null | undefined;
|
|
2070
2046
|
targetDate?: Date | null | undefined;
|
|
2071
2047
|
} | null | undefined;
|
|
2048
|
+
platforms?: {
|
|
2049
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2050
|
+
id: string;
|
|
2051
|
+
updatedAt: Date;
|
|
2052
|
+
createdAt: Date;
|
|
2053
|
+
accountId: string;
|
|
2054
|
+
itemId: string | number;
|
|
2055
|
+
platformId: string;
|
|
2056
|
+
platformUrl: string;
|
|
2057
|
+
platformPrice: number;
|
|
2058
|
+
publishedAt: Date;
|
|
2059
|
+
conversationId?: string | null | undefined;
|
|
2060
|
+
account?: {
|
|
2061
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2062
|
+
userId: string | number;
|
|
2063
|
+
name: string;
|
|
2064
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2065
|
+
accountId: string;
|
|
2066
|
+
locale?: string | null | undefined;
|
|
2067
|
+
night?: {
|
|
2068
|
+
startsAt: Date;
|
|
2069
|
+
endsAt: Date;
|
|
2070
|
+
} | null | undefined;
|
|
2071
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2072
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2073
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2074
|
+
} | null | undefined;
|
|
2075
|
+
viewsCount?: number | null | undefined;
|
|
2076
|
+
favoritesCount?: number | null | undefined;
|
|
2077
|
+
}[] | null | undefined;
|
|
2072
2078
|
}, {
|
|
2079
|
+
userId: string | number;
|
|
2073
2080
|
id: string | number;
|
|
2074
|
-
createdAt: Date;
|
|
2075
2081
|
updatedAt: Date;
|
|
2076
|
-
userId: string | number;
|
|
2077
2082
|
name: string;
|
|
2083
|
+
createdAt: Date;
|
|
2078
2084
|
sold: boolean;
|
|
2079
2085
|
state?: number | null | undefined;
|
|
2080
|
-
fees?: {
|
|
2081
|
-
value: number;
|
|
2082
|
-
type: string;
|
|
2083
|
-
id: string | number;
|
|
2084
|
-
createdAt: Date;
|
|
2085
|
-
updatedAt: Date;
|
|
2086
|
-
userId: string | number;
|
|
2087
|
-
name: string;
|
|
2088
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2089
|
-
startDate: Date;
|
|
2090
|
-
active: boolean;
|
|
2091
|
-
description?: string | null | undefined;
|
|
2092
|
-
itemId?: string | number | null | undefined;
|
|
2093
|
-
endDate?: Date | null | undefined;
|
|
2094
|
-
parentFeeId?: string | number | null | undefined;
|
|
2095
|
-
}[] | null | undefined;
|
|
2096
|
-
description?: string | null | undefined;
|
|
2097
|
-
categoryId?: number | null | undefined;
|
|
2098
|
-
sizeId?: number | null | undefined;
|
|
2099
2086
|
colorIds?: number[] | null | undefined;
|
|
2087
|
+
description?: string | null | undefined;
|
|
2100
2088
|
packageSizeId?: number | null | undefined;
|
|
2101
|
-
|
|
2102
|
-
estimatedPrice?: number | null | undefined;
|
|
2103
|
-
purchaseDate?: Date | null | undefined;
|
|
2104
|
-
sellingDate?: Date | null | undefined;
|
|
2089
|
+
sizeId?: number | null | undefined;
|
|
2105
2090
|
labels?: {
|
|
2106
2091
|
itemId: string | number;
|
|
2107
2092
|
labelId: string | number;
|
|
2108
2093
|
label?: {
|
|
2109
2094
|
id: string | number;
|
|
2110
|
-
createdAt: Date;
|
|
2111
2095
|
name: string;
|
|
2096
|
+
createdAt: Date;
|
|
2112
2097
|
isUserLabel: boolean;
|
|
2113
|
-
itemCount?: number | null | undefined;
|
|
2114
2098
|
userId?: string | number | null | undefined;
|
|
2099
|
+
itemCount?: number | null | undefined;
|
|
2100
|
+
parentId?: unknown;
|
|
2115
2101
|
} | null | undefined;
|
|
2116
2102
|
}[] | null | undefined;
|
|
2117
2103
|
files?: {
|
|
@@ -2120,59 +2106,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2120
2106
|
index?: number | null | undefined;
|
|
2121
2107
|
file?: {
|
|
2122
2108
|
path: string;
|
|
2109
|
+
userId: string | number;
|
|
2123
2110
|
id: string;
|
|
2124
2111
|
createdAt: Date;
|
|
2125
|
-
userId: string | number;
|
|
2126
2112
|
signedUrl: string;
|
|
2127
2113
|
} | null | undefined;
|
|
2128
2114
|
}[] | null | undefined;
|
|
2129
|
-
platforms?: {
|
|
2130
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2131
|
-
id: string;
|
|
2132
|
-
createdAt: Date;
|
|
2133
|
-
updatedAt: Date;
|
|
2134
|
-
accountId: string;
|
|
2135
|
-
itemId: string | number;
|
|
2136
|
-
platformId: string;
|
|
2137
|
-
platformUrl: string;
|
|
2138
|
-
platformPrice: number;
|
|
2139
|
-
publishedAt: Date;
|
|
2140
|
-
favoritesCount?: number | null | undefined;
|
|
2141
|
-
viewsCount?: number | null | undefined;
|
|
2142
|
-
conversationId?: string | null | undefined;
|
|
2143
|
-
account?: {
|
|
2144
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2145
|
-
userId: string | number;
|
|
2146
|
-
name: string;
|
|
2147
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2148
|
-
accountId: string;
|
|
2149
|
-
locale?: string | null | undefined;
|
|
2150
|
-
night?: {
|
|
2151
|
-
startsAt: Date;
|
|
2152
|
-
endsAt: Date;
|
|
2153
|
-
} | null | undefined;
|
|
2154
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2155
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2156
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2157
|
-
} | null | undefined;
|
|
2158
|
-
}[] | null | undefined;
|
|
2159
2115
|
fields?: {
|
|
2160
2116
|
value: string;
|
|
2161
2117
|
itemId: string | number;
|
|
2162
2118
|
fieldId: string | number;
|
|
2163
2119
|
}[] | null | undefined;
|
|
2164
2120
|
sku?: string | null | undefined;
|
|
2121
|
+
categoryId?: number | null | undefined;
|
|
2122
|
+
brandId?: string | number | null | undefined;
|
|
2165
2123
|
sex?: string | null | undefined;
|
|
2166
2124
|
purchasePrice?: number | null | undefined;
|
|
2125
|
+
purchaseDate?: Date | null | undefined;
|
|
2167
2126
|
purchasePlaceId?: string | number | null | undefined;
|
|
2168
2127
|
purchased?: boolean | null | undefined;
|
|
2169
2128
|
sellingPrice?: number | null | undefined;
|
|
2129
|
+
sellingDate?: Date | null | undefined;
|
|
2170
2130
|
sellingPlaceId?: string | number | null | undefined;
|
|
2131
|
+
estimatedPrice?: number | null | undefined;
|
|
2132
|
+
fees?: {
|
|
2133
|
+
value: number;
|
|
2134
|
+
type: string;
|
|
2135
|
+
userId: string | number;
|
|
2136
|
+
id: string | number;
|
|
2137
|
+
updatedAt: Date;
|
|
2138
|
+
name: string;
|
|
2139
|
+
createdAt: Date;
|
|
2140
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2141
|
+
startDate: Date;
|
|
2142
|
+
active: boolean;
|
|
2143
|
+
description?: string | null | undefined;
|
|
2144
|
+
itemId?: string | number | null | undefined;
|
|
2145
|
+
endDate?: Date | null | undefined;
|
|
2146
|
+
parentFeeId?: string | number | null | undefined;
|
|
2147
|
+
}[] | null | undefined;
|
|
2171
2148
|
feesSum?: number | null | undefined;
|
|
2172
2149
|
customerId?: string | number | null | undefined;
|
|
2173
2150
|
customer?: {
|
|
2174
|
-
id: string | number;
|
|
2175
2151
|
userId: string | number;
|
|
2152
|
+
id: string | number;
|
|
2176
2153
|
email: string;
|
|
2177
2154
|
firstName: string;
|
|
2178
2155
|
lastName: string;
|
|
@@ -2193,7 +2170,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2193
2170
|
id: string;
|
|
2194
2171
|
createdAt: Date;
|
|
2195
2172
|
itemId: string | number;
|
|
2196
|
-
requestId?: string | null | undefined;
|
|
2197
2173
|
data?: {
|
|
2198
2174
|
type: "ACTION_CANCELED";
|
|
2199
2175
|
data: {
|
|
@@ -2222,7 +2198,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2222
2198
|
accountId?: string | null | undefined;
|
|
2223
2199
|
reason?: string | null | undefined;
|
|
2224
2200
|
fields?: {
|
|
2225
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2201
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2226
2202
|
autoFixable: boolean;
|
|
2227
2203
|
error?: string | null | undefined;
|
|
2228
2204
|
}[] | null | undefined;
|
|
@@ -2249,22 +2225,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2249
2225
|
platformId: string;
|
|
2250
2226
|
post: {
|
|
2251
2227
|
status?: string | null | undefined;
|
|
2252
|
-
title?: string | null | undefined;
|
|
2253
|
-
description?: string | null | undefined;
|
|
2254
|
-
brand?: string | null | undefined;
|
|
2255
|
-
statusId?: number | null | undefined;
|
|
2256
|
-
sizeId?: number | null | undefined;
|
|
2257
|
-
colorIds?: number[] | null | undefined;
|
|
2258
|
-
packageSizeId?: number | null | undefined;
|
|
2259
2228
|
price?: number | null | undefined;
|
|
2260
2229
|
currency?: string | null | undefined;
|
|
2230
|
+
brand?: string | null | undefined;
|
|
2261
2231
|
catalog?: string | null | undefined;
|
|
2262
2232
|
catalogId?: number | null | undefined;
|
|
2263
2233
|
colors?: string[] | null | undefined;
|
|
2234
|
+
colorIds?: number[] | null | undefined;
|
|
2235
|
+
description?: string | null | undefined;
|
|
2264
2236
|
measurementLength?: number | null | undefined;
|
|
2265
2237
|
measurementWidth?: number | null | undefined;
|
|
2238
|
+
packageSizeId?: number | null | undefined;
|
|
2266
2239
|
photoUrls?: string[] | null | undefined;
|
|
2267
2240
|
size?: string | null | undefined;
|
|
2241
|
+
sizeId?: number | null | undefined;
|
|
2242
|
+
statusId?: number | null | undefined;
|
|
2243
|
+
title?: string | null | undefined;
|
|
2268
2244
|
isDraft?: boolean | null | undefined;
|
|
2269
2245
|
isArchived?: boolean | null | undefined;
|
|
2270
2246
|
availableQuantity?: number | null | undefined;
|
|
@@ -2284,13 +2260,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2284
2260
|
} | {
|
|
2285
2261
|
type: "LIFECYCLE_STARTED";
|
|
2286
2262
|
data: {
|
|
2287
|
-
caseId: string;
|
|
2288
2263
|
accountId: string;
|
|
2264
|
+
caseId: string;
|
|
2289
2265
|
};
|
|
2290
2266
|
} | {
|
|
2291
2267
|
type: "REPUBLISHING";
|
|
2292
2268
|
data: {
|
|
2293
2269
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2270
|
+
publishingDate?: Date | null | undefined;
|
|
2294
2271
|
priceDropPayload?: {
|
|
2295
2272
|
value: number;
|
|
2296
2273
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2298,18 +2275,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2298
2275
|
roundStep?: number | null | undefined;
|
|
2299
2276
|
maxRounds?: number | null | undefined;
|
|
2300
2277
|
} | null | undefined;
|
|
2301
|
-
publishingDate?: Date | null | undefined;
|
|
2302
|
-
targetAccountId?: string | null | undefined;
|
|
2303
2278
|
isTransfer?: boolean | null | undefined;
|
|
2279
|
+
targetAccountId?: string | null | undefined;
|
|
2304
2280
|
};
|
|
2305
2281
|
} | {
|
|
2306
2282
|
type: "REPUBLISHING_RETRY";
|
|
2307
2283
|
data: {
|
|
2308
|
-
maxAttempts: number;
|
|
2309
2284
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2310
2285
|
attemptNumber: number;
|
|
2286
|
+
maxAttempts: number;
|
|
2311
2287
|
previousHistoryId: string;
|
|
2312
2288
|
originalFailureDate: Date;
|
|
2289
|
+
fields?: {
|
|
2290
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2291
|
+
autoFixable: boolean;
|
|
2292
|
+
error?: string | null | undefined;
|
|
2293
|
+
}[] | null | undefined;
|
|
2313
2294
|
priceDropPayload?: {
|
|
2314
2295
|
value: number;
|
|
2315
2296
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2317,11 +2298,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2317
2298
|
roundStep?: number | null | undefined;
|
|
2318
2299
|
maxRounds?: number | null | undefined;
|
|
2319
2300
|
} | null | undefined;
|
|
2320
|
-
fields?: {
|
|
2321
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2322
|
-
autoFixable: boolean;
|
|
2323
|
-
error?: string | null | undefined;
|
|
2324
|
-
}[] | null | undefined;
|
|
2325
2301
|
};
|
|
2326
2302
|
} | {
|
|
2327
2303
|
type: "SCHEDULED";
|
|
@@ -2332,66 +2308,77 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2332
2308
|
} | {
|
|
2333
2309
|
type: "SCHEDULED_RETRY";
|
|
2334
2310
|
data: {
|
|
2335
|
-
maxAttempts: number;
|
|
2336
2311
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2337
2312
|
attemptNumber: number;
|
|
2313
|
+
maxAttempts: number;
|
|
2338
2314
|
previousHistoryId: string;
|
|
2339
2315
|
originalFailureDate: Date;
|
|
2340
2316
|
fields?: {
|
|
2341
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2317
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2342
2318
|
autoFixable: boolean;
|
|
2343
2319
|
error?: string | null | undefined;
|
|
2344
2320
|
}[] | null | undefined;
|
|
2345
2321
|
};
|
|
2346
2322
|
} | null | undefined;
|
|
2347
2323
|
accountId?: string | null | undefined;
|
|
2324
|
+
requestId?: string | null | undefined;
|
|
2348
2325
|
targetDate?: Date | null | undefined;
|
|
2349
2326
|
} | null | undefined;
|
|
2327
|
+
platforms?: {
|
|
2328
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2329
|
+
id: string;
|
|
2330
|
+
updatedAt: Date;
|
|
2331
|
+
createdAt: Date;
|
|
2332
|
+
accountId: string;
|
|
2333
|
+
itemId: string | number;
|
|
2334
|
+
platformId: string;
|
|
2335
|
+
platformUrl: string;
|
|
2336
|
+
platformPrice: number;
|
|
2337
|
+
publishedAt: Date;
|
|
2338
|
+
conversationId?: string | null | undefined;
|
|
2339
|
+
account?: {
|
|
2340
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2341
|
+
userId: string | number;
|
|
2342
|
+
name: string;
|
|
2343
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2344
|
+
accountId: string;
|
|
2345
|
+
locale?: string | null | undefined;
|
|
2346
|
+
night?: {
|
|
2347
|
+
startsAt: Date;
|
|
2348
|
+
endsAt: Date;
|
|
2349
|
+
} | null | undefined;
|
|
2350
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2351
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2352
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2353
|
+
} | null | undefined;
|
|
2354
|
+
viewsCount?: number | null | undefined;
|
|
2355
|
+
favoritesCount?: number | null | undefined;
|
|
2356
|
+
}[] | null | undefined;
|
|
2350
2357
|
}>, "many">;
|
|
2351
2358
|
}, "strip", z.ZodTypeAny, {
|
|
2352
2359
|
items: {
|
|
2360
|
+
userId: string | number;
|
|
2353
2361
|
id: string | number;
|
|
2354
|
-
createdAt: Date;
|
|
2355
2362
|
updatedAt: Date;
|
|
2356
|
-
userId: string | number;
|
|
2357
2363
|
name: string;
|
|
2364
|
+
createdAt: Date;
|
|
2358
2365
|
sold: boolean;
|
|
2359
2366
|
state?: number | null | undefined;
|
|
2360
|
-
fees?: {
|
|
2361
|
-
value: number;
|
|
2362
|
-
type: string;
|
|
2363
|
-
id: string | number;
|
|
2364
|
-
createdAt: Date;
|
|
2365
|
-
updatedAt: Date;
|
|
2366
|
-
userId: string | number;
|
|
2367
|
-
name: string;
|
|
2368
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2369
|
-
startDate: Date;
|
|
2370
|
-
active: boolean;
|
|
2371
|
-
description?: string | null | undefined;
|
|
2372
|
-
itemId?: string | number | null | undefined;
|
|
2373
|
-
endDate?: Date | null | undefined;
|
|
2374
|
-
parentFeeId?: string | number | null | undefined;
|
|
2375
|
-
}[] | null | undefined;
|
|
2376
|
-
description?: string | null | undefined;
|
|
2377
|
-
categoryId?: number | null | undefined;
|
|
2378
|
-
sizeId?: number | null | undefined;
|
|
2379
2367
|
colorIds?: number[] | null | undefined;
|
|
2368
|
+
description?: string | null | undefined;
|
|
2380
2369
|
packageSizeId?: number | null | undefined;
|
|
2381
|
-
|
|
2382
|
-
estimatedPrice?: number | null | undefined;
|
|
2383
|
-
purchaseDate?: Date | null | undefined;
|
|
2384
|
-
sellingDate?: Date | null | undefined;
|
|
2370
|
+
sizeId?: number | null | undefined;
|
|
2385
2371
|
labels?: {
|
|
2386
2372
|
itemId: string | number;
|
|
2387
2373
|
labelId: string | number;
|
|
2388
2374
|
label?: {
|
|
2389
2375
|
id: string | number;
|
|
2390
|
-
createdAt: Date;
|
|
2391
2376
|
name: string;
|
|
2377
|
+
createdAt: Date;
|
|
2392
2378
|
isUserLabel: boolean;
|
|
2393
|
-
itemCount?: number | null | undefined;
|
|
2394
2379
|
userId?: string | number | null | undefined;
|
|
2380
|
+
itemCount?: number | null | undefined;
|
|
2381
|
+
parentId?: unknown;
|
|
2395
2382
|
} | null | undefined;
|
|
2396
2383
|
}[] | null | undefined;
|
|
2397
2384
|
files?: {
|
|
@@ -2400,59 +2387,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2400
2387
|
index?: number | null | undefined;
|
|
2401
2388
|
file?: {
|
|
2402
2389
|
path: string;
|
|
2390
|
+
userId: string | number;
|
|
2403
2391
|
id: string;
|
|
2404
2392
|
createdAt: Date;
|
|
2405
|
-
userId: string | number;
|
|
2406
2393
|
signedUrl: string;
|
|
2407
2394
|
} | null | undefined;
|
|
2408
2395
|
}[] | null | undefined;
|
|
2409
|
-
platforms?: {
|
|
2410
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2411
|
-
id: string;
|
|
2412
|
-
createdAt: Date;
|
|
2413
|
-
updatedAt: Date;
|
|
2414
|
-
accountId: string;
|
|
2415
|
-
itemId: string | number;
|
|
2416
|
-
platformId: string;
|
|
2417
|
-
platformUrl: string;
|
|
2418
|
-
platformPrice: number;
|
|
2419
|
-
publishedAt: Date;
|
|
2420
|
-
favoritesCount?: number | null | undefined;
|
|
2421
|
-
viewsCount?: number | null | undefined;
|
|
2422
|
-
conversationId?: string | null | undefined;
|
|
2423
|
-
account?: {
|
|
2424
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2425
|
-
userId: string | number;
|
|
2426
|
-
name: string;
|
|
2427
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2428
|
-
accountId: string;
|
|
2429
|
-
locale?: string | null | undefined;
|
|
2430
|
-
night?: {
|
|
2431
|
-
startsAt: Date;
|
|
2432
|
-
endsAt: Date;
|
|
2433
|
-
} | null | undefined;
|
|
2434
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2435
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2436
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2437
|
-
} | null | undefined;
|
|
2438
|
-
}[] | null | undefined;
|
|
2439
2396
|
fields?: {
|
|
2440
2397
|
value: string;
|
|
2441
2398
|
itemId: string | number;
|
|
2442
2399
|
fieldId: string | number;
|
|
2443
2400
|
}[] | null | undefined;
|
|
2444
2401
|
sku?: string | null | undefined;
|
|
2402
|
+
categoryId?: number | null | undefined;
|
|
2403
|
+
brandId?: string | number | null | undefined;
|
|
2445
2404
|
sex?: string | null | undefined;
|
|
2446
2405
|
purchasePrice?: number | null | undefined;
|
|
2406
|
+
purchaseDate?: Date | null | undefined;
|
|
2447
2407
|
purchasePlaceId?: string | number | null | undefined;
|
|
2448
2408
|
purchased?: boolean | null | undefined;
|
|
2449
2409
|
sellingPrice?: number | null | undefined;
|
|
2410
|
+
sellingDate?: Date | null | undefined;
|
|
2450
2411
|
sellingPlaceId?: string | number | null | undefined;
|
|
2412
|
+
estimatedPrice?: number | null | undefined;
|
|
2413
|
+
fees?: {
|
|
2414
|
+
value: number;
|
|
2415
|
+
type: string;
|
|
2416
|
+
userId: string | number;
|
|
2417
|
+
id: string | number;
|
|
2418
|
+
updatedAt: Date;
|
|
2419
|
+
name: string;
|
|
2420
|
+
createdAt: Date;
|
|
2421
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2422
|
+
startDate: Date;
|
|
2423
|
+
active: boolean;
|
|
2424
|
+
description?: string | null | undefined;
|
|
2425
|
+
itemId?: string | number | null | undefined;
|
|
2426
|
+
endDate?: Date | null | undefined;
|
|
2427
|
+
parentFeeId?: string | number | null | undefined;
|
|
2428
|
+
}[] | null | undefined;
|
|
2451
2429
|
feesSum?: number | null | undefined;
|
|
2452
2430
|
customerId?: string | number | null | undefined;
|
|
2453
2431
|
customer?: {
|
|
2454
|
-
id: string | number;
|
|
2455
2432
|
userId: string | number;
|
|
2433
|
+
id: string | number;
|
|
2456
2434
|
email: string;
|
|
2457
2435
|
firstName: string;
|
|
2458
2436
|
lastName: string;
|
|
@@ -2473,7 +2451,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2473
2451
|
id: string;
|
|
2474
2452
|
createdAt: Date;
|
|
2475
2453
|
itemId: string | number;
|
|
2476
|
-
requestId?: string | null | undefined;
|
|
2477
2454
|
data?: {
|
|
2478
2455
|
type: "ACTION_CANCELED";
|
|
2479
2456
|
data: {
|
|
@@ -2502,7 +2479,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2502
2479
|
accountId?: string | null | undefined;
|
|
2503
2480
|
reason?: string | null | undefined;
|
|
2504
2481
|
fields?: {
|
|
2505
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2482
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2506
2483
|
autoFixable: boolean;
|
|
2507
2484
|
error?: string | null | undefined;
|
|
2508
2485
|
}[] | null | undefined;
|
|
@@ -2529,22 +2506,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2529
2506
|
platformId: string;
|
|
2530
2507
|
post: {
|
|
2531
2508
|
status?: string | null | undefined;
|
|
2532
|
-
title?: string | null | undefined;
|
|
2533
|
-
description?: string | null | undefined;
|
|
2534
|
-
brand?: string | null | undefined;
|
|
2535
|
-
statusId?: number | null | undefined;
|
|
2536
|
-
sizeId?: number | null | undefined;
|
|
2537
|
-
colorIds?: number[] | null | undefined;
|
|
2538
|
-
packageSizeId?: number | null | undefined;
|
|
2539
2509
|
price?: number | null | undefined;
|
|
2540
2510
|
currency?: string | null | undefined;
|
|
2511
|
+
brand?: string | null | undefined;
|
|
2541
2512
|
catalog?: string | null | undefined;
|
|
2542
2513
|
catalogId?: number | null | undefined;
|
|
2543
2514
|
colors?: string[] | null | undefined;
|
|
2515
|
+
colorIds?: number[] | null | undefined;
|
|
2516
|
+
description?: string | null | undefined;
|
|
2544
2517
|
measurementLength?: number | null | undefined;
|
|
2545
2518
|
measurementWidth?: number | null | undefined;
|
|
2519
|
+
packageSizeId?: number | null | undefined;
|
|
2546
2520
|
photoUrls?: string[] | null | undefined;
|
|
2547
2521
|
size?: string | null | undefined;
|
|
2522
|
+
sizeId?: number | null | undefined;
|
|
2523
|
+
statusId?: number | null | undefined;
|
|
2524
|
+
title?: string | null | undefined;
|
|
2548
2525
|
isDraft?: boolean | null | undefined;
|
|
2549
2526
|
isArchived?: boolean | null | undefined;
|
|
2550
2527
|
availableQuantity?: number | null | undefined;
|
|
@@ -2564,13 +2541,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2564
2541
|
} | {
|
|
2565
2542
|
type: "LIFECYCLE_STARTED";
|
|
2566
2543
|
data: {
|
|
2567
|
-
caseId: string;
|
|
2568
2544
|
accountId: string;
|
|
2545
|
+
caseId: string;
|
|
2569
2546
|
};
|
|
2570
2547
|
} | {
|
|
2571
2548
|
type: "REPUBLISHING";
|
|
2572
2549
|
data: {
|
|
2573
2550
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2551
|
+
publishingDate?: Date | null | undefined;
|
|
2574
2552
|
priceDropPayload?: {
|
|
2575
2553
|
value: number;
|
|
2576
2554
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2578,18 +2556,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2578
2556
|
roundStep?: number | null | undefined;
|
|
2579
2557
|
maxRounds?: number | null | undefined;
|
|
2580
2558
|
} | null | undefined;
|
|
2581
|
-
publishingDate?: Date | null | undefined;
|
|
2582
|
-
targetAccountId?: string | null | undefined;
|
|
2583
2559
|
isTransfer?: boolean | null | undefined;
|
|
2560
|
+
targetAccountId?: string | null | undefined;
|
|
2584
2561
|
};
|
|
2585
2562
|
} | {
|
|
2586
2563
|
type: "REPUBLISHING_RETRY";
|
|
2587
2564
|
data: {
|
|
2588
|
-
maxAttempts: number;
|
|
2589
2565
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2590
2566
|
attemptNumber: number;
|
|
2567
|
+
maxAttempts: number;
|
|
2591
2568
|
previousHistoryId: string;
|
|
2592
2569
|
originalFailureDate: Date;
|
|
2570
|
+
fields?: {
|
|
2571
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2572
|
+
autoFixable: boolean;
|
|
2573
|
+
error?: string | null | undefined;
|
|
2574
|
+
}[] | null | undefined;
|
|
2593
2575
|
priceDropPayload?: {
|
|
2594
2576
|
value: number;
|
|
2595
2577
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2597,11 +2579,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2597
2579
|
roundStep?: number | null | undefined;
|
|
2598
2580
|
maxRounds?: number | null | undefined;
|
|
2599
2581
|
} | null | undefined;
|
|
2600
|
-
fields?: {
|
|
2601
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2602
|
-
autoFixable: boolean;
|
|
2603
|
-
error?: string | null | undefined;
|
|
2604
|
-
}[] | null | undefined;
|
|
2605
2582
|
};
|
|
2606
2583
|
} | {
|
|
2607
2584
|
type: "SCHEDULED";
|
|
@@ -2612,42 +2589,75 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2612
2589
|
} | {
|
|
2613
2590
|
type: "SCHEDULED_RETRY";
|
|
2614
2591
|
data: {
|
|
2615
|
-
maxAttempts: number;
|
|
2616
2592
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2617
2593
|
attemptNumber: number;
|
|
2594
|
+
maxAttempts: number;
|
|
2618
2595
|
previousHistoryId: string;
|
|
2619
2596
|
originalFailureDate: Date;
|
|
2620
2597
|
fields?: {
|
|
2621
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2598
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2622
2599
|
autoFixable: boolean;
|
|
2623
2600
|
error?: string | null | undefined;
|
|
2624
2601
|
}[] | null | undefined;
|
|
2625
2602
|
};
|
|
2626
2603
|
} | null | undefined;
|
|
2627
2604
|
accountId?: string | null | undefined;
|
|
2605
|
+
requestId?: string | null | undefined;
|
|
2628
2606
|
targetDate?: Date | null | undefined;
|
|
2629
2607
|
} | null | undefined;
|
|
2608
|
+
platforms?: {
|
|
2609
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2610
|
+
id: string;
|
|
2611
|
+
updatedAt: Date;
|
|
2612
|
+
createdAt: Date;
|
|
2613
|
+
accountId: string;
|
|
2614
|
+
itemId: string | number;
|
|
2615
|
+
platformId: string;
|
|
2616
|
+
platformUrl: string;
|
|
2617
|
+
platformPrice: number;
|
|
2618
|
+
publishedAt: Date;
|
|
2619
|
+
conversationId?: string | null | undefined;
|
|
2620
|
+
account?: {
|
|
2621
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2622
|
+
userId: string | number;
|
|
2623
|
+
name: string;
|
|
2624
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2625
|
+
accountId: string;
|
|
2626
|
+
locale?: string | null | undefined;
|
|
2627
|
+
night?: {
|
|
2628
|
+
startsAt: Date;
|
|
2629
|
+
endsAt: Date;
|
|
2630
|
+
} | null | undefined;
|
|
2631
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2632
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2633
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2634
|
+
} | null | undefined;
|
|
2635
|
+
viewsCount?: number | null | undefined;
|
|
2636
|
+
favoritesCount?: number | null | undefined;
|
|
2637
|
+
}[] | null | undefined;
|
|
2630
2638
|
}[];
|
|
2631
2639
|
transaction: {
|
|
2632
2640
|
id: string;
|
|
2633
2641
|
accountId: string;
|
|
2634
2642
|
platformTransactionId: string;
|
|
2643
|
+
conversationId?: string | null | undefined;
|
|
2644
|
+
shipmentId?: string | null | undefined;
|
|
2645
|
+
buyerPlatformId?: string | null | undefined;
|
|
2646
|
+
sellerPlatformId?: string | null | undefined;
|
|
2635
2647
|
items?: {
|
|
2636
2648
|
transactionId: string;
|
|
2637
2649
|
itemOnPlatformId: string;
|
|
2638
2650
|
itemOnPlatform?: {
|
|
2639
2651
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2640
2652
|
id: string;
|
|
2641
|
-
createdAt: Date;
|
|
2642
2653
|
updatedAt: Date;
|
|
2654
|
+
createdAt: Date;
|
|
2643
2655
|
accountId: string;
|
|
2644
2656
|
itemId: string | number;
|
|
2645
2657
|
platformId: string;
|
|
2646
2658
|
platformUrl: string;
|
|
2647
2659
|
platformPrice: number;
|
|
2648
2660
|
publishedAt: Date;
|
|
2649
|
-
favoritesCount?: number | null | undefined;
|
|
2650
|
-
viewsCount?: number | null | undefined;
|
|
2651
2661
|
conversationId?: string | null | undefined;
|
|
2652
2662
|
account?: {
|
|
2653
2663
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2664,57 +2674,35 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2664
2674
|
ordersMaxDelay?: number | null | undefined;
|
|
2665
2675
|
conversationsMaxDelay?: number | null | undefined;
|
|
2666
2676
|
} | null | undefined;
|
|
2677
|
+
viewsCount?: number | null | undefined;
|
|
2678
|
+
favoritesCount?: number | null | undefined;
|
|
2667
2679
|
} | null | undefined;
|
|
2668
2680
|
}[] | null | undefined;
|
|
2669
|
-
conversationId?: string | null | undefined;
|
|
2670
|
-
shipmentId?: string | null | undefined;
|
|
2671
|
-
buyerPlatformId?: string | null | undefined;
|
|
2672
|
-
sellerPlatformId?: string | null | undefined;
|
|
2673
2681
|
};
|
|
2674
2682
|
}, {
|
|
2675
2683
|
items: {
|
|
2684
|
+
userId: string | number;
|
|
2676
2685
|
id: string | number;
|
|
2677
|
-
createdAt: Date;
|
|
2678
2686
|
updatedAt: Date;
|
|
2679
|
-
userId: string | number;
|
|
2680
2687
|
name: string;
|
|
2688
|
+
createdAt: Date;
|
|
2681
2689
|
sold: boolean;
|
|
2682
2690
|
state?: number | null | undefined;
|
|
2683
|
-
fees?: {
|
|
2684
|
-
value: number;
|
|
2685
|
-
type: string;
|
|
2686
|
-
id: string | number;
|
|
2687
|
-
createdAt: Date;
|
|
2688
|
-
updatedAt: Date;
|
|
2689
|
-
userId: string | number;
|
|
2690
|
-
name: string;
|
|
2691
|
-
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2692
|
-
startDate: Date;
|
|
2693
|
-
active: boolean;
|
|
2694
|
-
description?: string | null | undefined;
|
|
2695
|
-
itemId?: string | number | null | undefined;
|
|
2696
|
-
endDate?: Date | null | undefined;
|
|
2697
|
-
parentFeeId?: string | number | null | undefined;
|
|
2698
|
-
}[] | null | undefined;
|
|
2699
|
-
description?: string | null | undefined;
|
|
2700
|
-
categoryId?: number | null | undefined;
|
|
2701
|
-
sizeId?: number | null | undefined;
|
|
2702
2691
|
colorIds?: number[] | null | undefined;
|
|
2692
|
+
description?: string | null | undefined;
|
|
2703
2693
|
packageSizeId?: number | null | undefined;
|
|
2704
|
-
|
|
2705
|
-
estimatedPrice?: number | null | undefined;
|
|
2706
|
-
purchaseDate?: Date | null | undefined;
|
|
2707
|
-
sellingDate?: Date | null | undefined;
|
|
2694
|
+
sizeId?: number | null | undefined;
|
|
2708
2695
|
labels?: {
|
|
2709
2696
|
itemId: string | number;
|
|
2710
2697
|
labelId: string | number;
|
|
2711
2698
|
label?: {
|
|
2712
2699
|
id: string | number;
|
|
2713
|
-
createdAt: Date;
|
|
2714
2700
|
name: string;
|
|
2701
|
+
createdAt: Date;
|
|
2715
2702
|
isUserLabel: boolean;
|
|
2716
|
-
itemCount?: number | null | undefined;
|
|
2717
2703
|
userId?: string | number | null | undefined;
|
|
2704
|
+
itemCount?: number | null | undefined;
|
|
2705
|
+
parentId?: unknown;
|
|
2718
2706
|
} | null | undefined;
|
|
2719
2707
|
}[] | null | undefined;
|
|
2720
2708
|
files?: {
|
|
@@ -2723,59 +2711,50 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2723
2711
|
index?: number | null | undefined;
|
|
2724
2712
|
file?: {
|
|
2725
2713
|
path: string;
|
|
2714
|
+
userId: string | number;
|
|
2726
2715
|
id: string;
|
|
2727
2716
|
createdAt: Date;
|
|
2728
|
-
userId: string | number;
|
|
2729
2717
|
signedUrl: string;
|
|
2730
2718
|
} | null | undefined;
|
|
2731
2719
|
}[] | null | undefined;
|
|
2732
|
-
platforms?: {
|
|
2733
|
-
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2734
|
-
id: string;
|
|
2735
|
-
createdAt: Date;
|
|
2736
|
-
updatedAt: Date;
|
|
2737
|
-
accountId: string;
|
|
2738
|
-
itemId: string | number;
|
|
2739
|
-
platformId: string;
|
|
2740
|
-
platformUrl: string;
|
|
2741
|
-
platformPrice: number;
|
|
2742
|
-
publishedAt: Date;
|
|
2743
|
-
favoritesCount?: number | null | undefined;
|
|
2744
|
-
viewsCount?: number | null | undefined;
|
|
2745
|
-
conversationId?: string | null | undefined;
|
|
2746
|
-
account?: {
|
|
2747
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2748
|
-
userId: string | number;
|
|
2749
|
-
name: string;
|
|
2750
|
-
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2751
|
-
accountId: string;
|
|
2752
|
-
locale?: string | null | undefined;
|
|
2753
|
-
night?: {
|
|
2754
|
-
startsAt: Date;
|
|
2755
|
-
endsAt: Date;
|
|
2756
|
-
} | null | undefined;
|
|
2757
|
-
favoritesMaxDelay?: number | null | undefined;
|
|
2758
|
-
ordersMaxDelay?: number | null | undefined;
|
|
2759
|
-
conversationsMaxDelay?: number | null | undefined;
|
|
2760
|
-
} | null | undefined;
|
|
2761
|
-
}[] | null | undefined;
|
|
2762
2720
|
fields?: {
|
|
2763
2721
|
value: string;
|
|
2764
2722
|
itemId: string | number;
|
|
2765
2723
|
fieldId: string | number;
|
|
2766
2724
|
}[] | null | undefined;
|
|
2767
2725
|
sku?: string | null | undefined;
|
|
2726
|
+
categoryId?: number | null | undefined;
|
|
2727
|
+
brandId?: string | number | null | undefined;
|
|
2768
2728
|
sex?: string | null | undefined;
|
|
2769
2729
|
purchasePrice?: number | null | undefined;
|
|
2730
|
+
purchaseDate?: Date | null | undefined;
|
|
2770
2731
|
purchasePlaceId?: string | number | null | undefined;
|
|
2771
2732
|
purchased?: boolean | null | undefined;
|
|
2772
2733
|
sellingPrice?: number | null | undefined;
|
|
2734
|
+
sellingDate?: Date | null | undefined;
|
|
2773
2735
|
sellingPlaceId?: string | number | null | undefined;
|
|
2736
|
+
estimatedPrice?: number | null | undefined;
|
|
2737
|
+
fees?: {
|
|
2738
|
+
value: number;
|
|
2739
|
+
type: string;
|
|
2740
|
+
userId: string | number;
|
|
2741
|
+
id: string | number;
|
|
2742
|
+
updatedAt: Date;
|
|
2743
|
+
name: string;
|
|
2744
|
+
createdAt: Date;
|
|
2745
|
+
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2746
|
+
startDate: Date;
|
|
2747
|
+
active: boolean;
|
|
2748
|
+
description?: string | null | undefined;
|
|
2749
|
+
itemId?: string | number | null | undefined;
|
|
2750
|
+
endDate?: Date | null | undefined;
|
|
2751
|
+
parentFeeId?: string | number | null | undefined;
|
|
2752
|
+
}[] | null | undefined;
|
|
2774
2753
|
feesSum?: number | null | undefined;
|
|
2775
2754
|
customerId?: string | number | null | undefined;
|
|
2776
2755
|
customer?: {
|
|
2777
|
-
id: string | number;
|
|
2778
2756
|
userId: string | number;
|
|
2757
|
+
id: string | number;
|
|
2779
2758
|
email: string;
|
|
2780
2759
|
firstName: string;
|
|
2781
2760
|
lastName: string;
|
|
@@ -2796,7 +2775,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2796
2775
|
id: string;
|
|
2797
2776
|
createdAt: Date;
|
|
2798
2777
|
itemId: string | number;
|
|
2799
|
-
requestId?: string | null | undefined;
|
|
2800
2778
|
data?: {
|
|
2801
2779
|
type: "ACTION_CANCELED";
|
|
2802
2780
|
data: {
|
|
@@ -2825,7 +2803,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2825
2803
|
accountId?: string | null | undefined;
|
|
2826
2804
|
reason?: string | null | undefined;
|
|
2827
2805
|
fields?: {
|
|
2828
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2806
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2829
2807
|
autoFixable: boolean;
|
|
2830
2808
|
error?: string | null | undefined;
|
|
2831
2809
|
}[] | null | undefined;
|
|
@@ -2852,22 +2830,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2852
2830
|
platformId: string;
|
|
2853
2831
|
post: {
|
|
2854
2832
|
status?: string | null | undefined;
|
|
2855
|
-
title?: string | null | undefined;
|
|
2856
|
-
description?: string | null | undefined;
|
|
2857
|
-
brand?: string | null | undefined;
|
|
2858
|
-
statusId?: number | null | undefined;
|
|
2859
|
-
sizeId?: number | null | undefined;
|
|
2860
|
-
colorIds?: number[] | null | undefined;
|
|
2861
|
-
packageSizeId?: number | null | undefined;
|
|
2862
2833
|
price?: number | null | undefined;
|
|
2863
2834
|
currency?: string | null | undefined;
|
|
2835
|
+
brand?: string | null | undefined;
|
|
2864
2836
|
catalog?: string | null | undefined;
|
|
2865
2837
|
catalogId?: number | null | undefined;
|
|
2866
2838
|
colors?: string[] | null | undefined;
|
|
2839
|
+
colorIds?: number[] | null | undefined;
|
|
2840
|
+
description?: string | null | undefined;
|
|
2867
2841
|
measurementLength?: number | null | undefined;
|
|
2868
2842
|
measurementWidth?: number | null | undefined;
|
|
2843
|
+
packageSizeId?: number | null | undefined;
|
|
2869
2844
|
photoUrls?: string[] | null | undefined;
|
|
2870
2845
|
size?: string | null | undefined;
|
|
2846
|
+
sizeId?: number | null | undefined;
|
|
2847
|
+
statusId?: number | null | undefined;
|
|
2848
|
+
title?: string | null | undefined;
|
|
2871
2849
|
isDraft?: boolean | null | undefined;
|
|
2872
2850
|
isArchived?: boolean | null | undefined;
|
|
2873
2851
|
availableQuantity?: number | null | undefined;
|
|
@@ -2887,13 +2865,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2887
2865
|
} | {
|
|
2888
2866
|
type: "LIFECYCLE_STARTED";
|
|
2889
2867
|
data: {
|
|
2890
|
-
caseId: string;
|
|
2891
2868
|
accountId: string;
|
|
2869
|
+
caseId: string;
|
|
2892
2870
|
};
|
|
2893
2871
|
} | {
|
|
2894
2872
|
type: "REPUBLISHING";
|
|
2895
2873
|
data: {
|
|
2896
2874
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2875
|
+
publishingDate?: Date | null | undefined;
|
|
2897
2876
|
priceDropPayload?: {
|
|
2898
2877
|
value: number;
|
|
2899
2878
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2901,18 +2880,22 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2901
2880
|
roundStep?: number | null | undefined;
|
|
2902
2881
|
maxRounds?: number | null | undefined;
|
|
2903
2882
|
} | null | undefined;
|
|
2904
|
-
publishingDate?: Date | null | undefined;
|
|
2905
|
-
targetAccountId?: string | null | undefined;
|
|
2906
2883
|
isTransfer?: boolean | null | undefined;
|
|
2884
|
+
targetAccountId?: string | null | undefined;
|
|
2907
2885
|
};
|
|
2908
2886
|
} | {
|
|
2909
2887
|
type: "REPUBLISHING_RETRY";
|
|
2910
2888
|
data: {
|
|
2911
|
-
maxAttempts: number;
|
|
2912
2889
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2913
2890
|
attemptNumber: number;
|
|
2891
|
+
maxAttempts: number;
|
|
2914
2892
|
previousHistoryId: string;
|
|
2915
2893
|
originalFailureDate: Date;
|
|
2894
|
+
fields?: {
|
|
2895
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2896
|
+
autoFixable: boolean;
|
|
2897
|
+
error?: string | null | undefined;
|
|
2898
|
+
}[] | null | undefined;
|
|
2916
2899
|
priceDropPayload?: {
|
|
2917
2900
|
value: number;
|
|
2918
2901
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2920,11 +2903,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2920
2903
|
roundStep?: number | null | undefined;
|
|
2921
2904
|
maxRounds?: number | null | undefined;
|
|
2922
2905
|
} | null | undefined;
|
|
2923
|
-
fields?: {
|
|
2924
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2925
|
-
autoFixable: boolean;
|
|
2926
|
-
error?: string | null | undefined;
|
|
2927
|
-
}[] | null | undefined;
|
|
2928
2906
|
};
|
|
2929
2907
|
} | {
|
|
2930
2908
|
type: "SCHEDULED";
|
|
@@ -2935,42 +2913,75 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2935
2913
|
} | {
|
|
2936
2914
|
type: "SCHEDULED_RETRY";
|
|
2937
2915
|
data: {
|
|
2938
|
-
maxAttempts: number;
|
|
2939
2916
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2940
2917
|
attemptNumber: number;
|
|
2918
|
+
maxAttempts: number;
|
|
2941
2919
|
previousHistoryId: string;
|
|
2942
2920
|
originalFailureDate: Date;
|
|
2943
2921
|
fields?: {
|
|
2944
|
-
field: "TITLE" | "DESCRIPTION" | "
|
|
2922
|
+
field: "TITLE" | "DESCRIPTION" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PRICE" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2945
2923
|
autoFixable: boolean;
|
|
2946
2924
|
error?: string | null | undefined;
|
|
2947
2925
|
}[] | null | undefined;
|
|
2948
2926
|
};
|
|
2949
2927
|
} | null | undefined;
|
|
2950
2928
|
accountId?: string | null | undefined;
|
|
2929
|
+
requestId?: string | null | undefined;
|
|
2951
2930
|
targetDate?: Date | null | undefined;
|
|
2952
2931
|
} | null | undefined;
|
|
2932
|
+
platforms?: {
|
|
2933
|
+
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2934
|
+
id: string;
|
|
2935
|
+
updatedAt: Date;
|
|
2936
|
+
createdAt: Date;
|
|
2937
|
+
accountId: string;
|
|
2938
|
+
itemId: string | number;
|
|
2939
|
+
platformId: string;
|
|
2940
|
+
platformUrl: string;
|
|
2941
|
+
platformPrice: number;
|
|
2942
|
+
publishedAt: Date;
|
|
2943
|
+
conversationId?: string | null | undefined;
|
|
2944
|
+
account?: {
|
|
2945
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2946
|
+
userId: string | number;
|
|
2947
|
+
name: string;
|
|
2948
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2949
|
+
accountId: string;
|
|
2950
|
+
locale?: string | null | undefined;
|
|
2951
|
+
night?: {
|
|
2952
|
+
startsAt: Date;
|
|
2953
|
+
endsAt: Date;
|
|
2954
|
+
} | null | undefined;
|
|
2955
|
+
favoritesMaxDelay?: number | null | undefined;
|
|
2956
|
+
ordersMaxDelay?: number | null | undefined;
|
|
2957
|
+
conversationsMaxDelay?: number | null | undefined;
|
|
2958
|
+
} | null | undefined;
|
|
2959
|
+
viewsCount?: number | null | undefined;
|
|
2960
|
+
favoritesCount?: number | null | undefined;
|
|
2961
|
+
}[] | null | undefined;
|
|
2953
2962
|
}[];
|
|
2954
2963
|
transaction: {
|
|
2955
2964
|
id: string;
|
|
2956
2965
|
accountId: string;
|
|
2957
2966
|
platformTransactionId: string;
|
|
2967
|
+
conversationId?: string | null | undefined;
|
|
2968
|
+
shipmentId?: string | null | undefined;
|
|
2969
|
+
buyerPlatformId?: string | null | undefined;
|
|
2970
|
+
sellerPlatformId?: string | null | undefined;
|
|
2958
2971
|
items?: {
|
|
2959
2972
|
transactionId: string;
|
|
2960
2973
|
itemOnPlatformId: string;
|
|
2961
2974
|
itemOnPlatform?: {
|
|
2962
2975
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2963
2976
|
id: string;
|
|
2964
|
-
createdAt: Date;
|
|
2965
2977
|
updatedAt: Date;
|
|
2978
|
+
createdAt: Date;
|
|
2966
2979
|
accountId: string;
|
|
2967
2980
|
itemId: string | number;
|
|
2968
2981
|
platformId: string;
|
|
2969
2982
|
platformUrl: string;
|
|
2970
2983
|
platformPrice: number;
|
|
2971
2984
|
publishedAt: Date;
|
|
2972
|
-
favoritesCount?: number | null | undefined;
|
|
2973
|
-
viewsCount?: number | null | undefined;
|
|
2974
2985
|
conversationId?: string | null | undefined;
|
|
2975
2986
|
account?: {
|
|
2976
2987
|
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
@@ -2987,12 +2998,10 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2987
2998
|
ordersMaxDelay?: number | null | undefined;
|
|
2988
2999
|
conversationsMaxDelay?: number | null | undefined;
|
|
2989
3000
|
} | null | undefined;
|
|
3001
|
+
viewsCount?: number | null | undefined;
|
|
3002
|
+
favoritesCount?: number | null | undefined;
|
|
2990
3003
|
} | null | undefined;
|
|
2991
3004
|
}[] | null | undefined;
|
|
2992
|
-
conversationId?: string | null | undefined;
|
|
2993
|
-
shipmentId?: string | null | undefined;
|
|
2994
|
-
buyerPlatformId?: string | null | undefined;
|
|
2995
|
-
sellerPlatformId?: string | null | undefined;
|
|
2996
3005
|
};
|
|
2997
3006
|
}>;
|
|
2998
3007
|
export type TransactionWithItems = z.infer<typeof TransactionWithItemsSchema>;
|