controlresell 2.26.4 → 2.26.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/api/requests/coach/AskCoachRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/customers/CreateCustomerRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/files/CreatePresignedFileRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/boost/BoostRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOption.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/forms/FormOptionGroup.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/forms/FormOptionPickRequest.d.ts +14 -14
- package/src/com/controlresell/api/requests/items/publish/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/publish/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts +16 -16
- package/src/com/controlresell/api/requests/items/publish/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +22 -22
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +29 -29
- package/src/com/controlresell/api/requests/subscriptions/ChangeSubscriptionPlanRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +4 -4
- package/src/com/controlresell/api/requests/subscriptions/SubscriptionLevelQuantity.d.ts +2 -2
- package/src/com/controlresell/api/responses/activation/ActivationResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/activity/ActivityDaySummary.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityEvent.d.ts +12 -12
- package/src/com/controlresell/api/responses/activity/ActivityEventsResponse.d.ts +21 -21
- package/src/com/controlresell/api/responses/activity/ActivityItem.d.ts +2 -2
- package/src/com/controlresell/api/responses/activity/ActivityMessage.d.ts +1 -1
- package/src/com/controlresell/api/responses/activity/ActivitySummaryResponse.d.ts +25 -25
- package/src/com/controlresell/api/responses/coach/CoachAnswerResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/coach/CoachMessageResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/coach/CoachThreadResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/coach/CoachThreadsResponse.d.ts +10 -10
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +204 -204
- package/src/com/controlresell/api/responses/customers/CustomersResponse.d.ts +24 -24
- package/src/com/controlresell/api/responses/fees/GetAllFeesData.d.ts +12 -12
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +83 -76
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/FormOptionPickResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +745 -734
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +500 -491
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +121 -114
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +6 -6
- package/src/com/controlresell/api/responses/subscriptions/PromoCodeResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelResponse.d.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionLevelsResponse.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/CreatePreferencePayload.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +104 -104
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +298 -298
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +238 -238
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +70 -70
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +74 -74
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
- package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
- package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +4 -4
- package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +378 -378
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +52 -52
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +72 -72
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +50 -50
- package/src/com/controlresell/models/auth/LoginPayload.d.ts +2 -2
- package/src/com/controlresell/models/auth/RegisterPayload.d.ts +2 -2
- package/src/com/controlresell/models/business/BusinessProfile.d.ts +9 -6
- package/src/com/controlresell/models/business/BusinessProfile.d.ts.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.js +3 -1
- package/src/com/controlresell/models/business/BusinessProfile.js.map +1 -1
- package/src/com/controlresell/models/business/BusinessProfile.ts +3 -1
- package/src/com/controlresell/models/business/VatRegime.d.ts +4 -0
- package/src/com/controlresell/models/business/VatRegime.d.ts.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.js +5 -0
- package/src/com/controlresell/models/business/VatRegime.js.map +1 -0
- package/src/com/controlresell/models/business/VatRegime.ts +6 -0
- package/src/com/controlresell/models/conversations/Conversation.d.ts +64 -64
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +92 -92
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +124 -124
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +94 -94
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +18 -18
- package/src/com/controlresell/models/conversations/favorites/CreateConversationFavoritePayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +28 -28
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +28 -28
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +18 -18
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +30 -30
- package/src/com/controlresell/models/conversations/messages/files/ConversationMessageFile.d.ts +6 -6
- package/src/com/controlresell/models/conversations/messages/variables/PreferenceVariable.d.ts +2 -2
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +66 -66
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerProfileCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerQuestionCase.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerTriggerCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/preferences/ExcludedBuyer.d.ts +2 -2
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreference.d.ts +92 -92
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceCase.d.ts +28 -28
- package/src/com/controlresell/models/conversations/preferences/FavoriteMessagesPreferenceVariant.d.ts +12 -12
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreference.d.ts +10 -10
- package/src/com/controlresell/models/conversations/preferences/NegotiationPreferenceCase.d.ts +4 -4
- package/src/com/controlresell/models/conversations/reminders/SendConversationReminderRequest.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +8 -8
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +4 -4
- package/src/com/controlresell/models/customers/Customer.d.ts +12 -12
- package/src/com/controlresell/models/discord/DiscordLinkCreatedEvent.d.ts +9 -9
- package/src/com/controlresell/models/discord/DiscordLinkDeletedEvent.d.ts +2 -2
- package/src/com/controlresell/models/fees/Fee.d.ts +6 -6
- package/src/com/controlresell/models/files/File.d.ts +2 -2
- package/src/com/controlresell/models/filters/MatchingItem.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +20 -20
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +16 -16
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +16 -16
- package/src/com/controlresell/models/invoices/Invoice.d.ts +55 -50
- package/src/com/controlresell/models/invoices/Invoice.d.ts.map +1 -1
- package/src/com/controlresell/models/invoices/InvoiceLineItem.d.ts +4 -4
- package/src/com/controlresell/models/items/CreatedItems.d.ts +1454 -1443
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +456 -456
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +8 -8
- package/src/com/controlresell/models/items/ItemPayload.d.ts +18 -18
- package/src/com/controlresell/models/items/ItemSoldPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +746 -735
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +1454 -1443
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +4 -4
- package/src/com/controlresell/models/items/analysis/ItemAnalysisRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts +746 -735
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/analysis/ItemFieldResolution.d.ts +2 -2
- package/src/com/controlresell/models/items/analysis/ItemFieldResolutionsRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimation.d.ts +4 -4
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationDraft.d.ts +8 -8
- package/src/com/controlresell/models/items/estimation/ItemPriceEstimationRequest.d.ts +16 -16
- package/src/com/controlresell/models/items/estimation/MarketPriceDistribution.d.ts +2 -2
- package/src/com/controlresell/models/items/files/ItemFile.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +102 -102
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +104 -104
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +154 -154
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryImportedPayload.d.ts +36 -36
- package/src/com/controlresell/models/items/history/data/ItemHistoryLifecycleStartedPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +4 -4
- package/src/com/controlresell/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +16 -16
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +50 -50
- package/src/com/controlresell/models/items/templates/PreferenceTemplatePayload.d.ts +8 -8
- package/src/com/controlresell/models/items/templates/Template.d.ts +16 -16
- package/src/com/controlresell/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categories/CatalogRoot.d.ts +8 -8
- package/src/com/controlresell/models/metadata/categories/Category.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categories/CategoryFormSchema.d.ts +10 -10
- package/src/com/controlresell/models/metadata/categories/EnumFieldSpec.d.ts +4 -4
- package/src/com/controlresell/models/metadata/categoryfields/CategoryField.d.ts +2 -2
- package/src/com/controlresell/models/metadata/categoryfields/CreateCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/Color.d.ts +2 -2
- package/src/com/controlresell/models/metadata/colors/ColorRoot.d.ts +4 -4
- package/src/com/controlresell/models/metadata/enums/Enum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/favorites/CreateFavoriteMetadataPayload.d.ts +1 -1
- package/src/com/controlresell/models/metadata/favorites/FavoriteMetadata.d.ts +1 -1
- package/src/com/controlresell/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/models/metadata/packagesizes/PackageSize.d.ts +2 -2
- package/src/com/controlresell/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +756 -756
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +36 -36
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryFieldPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformCategoryPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumPayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +4 -4
- package/src/com/controlresell/models/metadata/platforms/PlatformSizePayload.d.ts +2 -2
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +6 -6
- package/src/com/controlresell/models/metadata/platforms/UpdateEnumMappingPayload.d.ts +4 -4
- package/src/com/controlresell/models/metadata/sizes/Size.d.ts +2 -2
- package/src/com/controlresell/models/metadata/sizes/SizeGroup.d.ts +6 -6
- package/src/com/controlresell/models/metadata/sizes/SizeRoot.d.ts +10 -10
- package/src/com/controlresell/models/metadata/statuses/Status.d.ts +2 -2
- package/src/com/controlresell/models/onboardingquiz/OnboardingQuizResponse.d.ts +4 -4
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +22 -22
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +281 -274
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/OrderLabelUpdate.d.ts +38 -38
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +14 -14
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +1653 -1629
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +24 -24
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +1181 -1161
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/pickups/CreatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/pickups/PickupPoint.d.ts +6 -6
- package/src/com/controlresell/models/platforms/pickups/PickupPointInOrder.d.ts +12 -12
- package/src/com/controlresell/models/platforms/pickups/UpdatePickupPointPayload.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/ActiveLevel.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/SubscriptionChangedEvent.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/SubscriptionHistory.d.ts +4 -4
- package/src/com/controlresell/models/subscriptions/UserLimitCounter.d.ts +2 -2
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +46 -46
- package/src/com/controlresell/models/transactions/Transaction.d.ts +36 -36
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +24 -24
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +784 -773
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +6 -6
- package/src/com/controlresell/models/users/User.d.ts +30 -30
- package/src/com/controlresell/models/users/fields/Field.d.ts +2 -2
- package/src/com/controlresell/models/users/fields/FieldsWithData.d.ts +4 -4
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +14 -14
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +16 -16
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +8 -8
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +61 -61
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +74 -74
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +3658 -3614
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +80 -80
- package/src/index.d.ts +402 -401
- package/src/index.d.ts.map +1 -1
- package/src/index.js +402 -401
- package/src/index.js.map +1 -1
- package/src/index.ts +402 -401
|
@@ -294,7 +294,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
294
294
|
}>]>;
|
|
295
295
|
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
296
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
-
type: "
|
|
297
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
298
|
+
enabled: boolean;
|
|
298
299
|
payload: {
|
|
299
300
|
type: "EMPTY";
|
|
300
301
|
} | {
|
|
@@ -349,10 +350,10 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
349
350
|
seconds: number;
|
|
350
351
|
};
|
|
351
352
|
};
|
|
352
|
-
enabled: boolean;
|
|
353
353
|
mandatory?: boolean | null | undefined;
|
|
354
354
|
}, {
|
|
355
|
-
type: "
|
|
355
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
356
|
+
enabled: boolean;
|
|
356
357
|
payload: {
|
|
357
358
|
type: "EMPTY";
|
|
358
359
|
} | {
|
|
@@ -407,7 +408,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
407
408
|
seconds: number;
|
|
408
409
|
};
|
|
409
410
|
};
|
|
410
|
-
enabled: boolean;
|
|
411
411
|
mandatory?: boolean | null | undefined;
|
|
412
412
|
}>, "many">;
|
|
413
413
|
maxLaunchesPerDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -431,26 +431,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
431
431
|
time: z.ZodDate;
|
|
432
432
|
itemCount: z.ZodNumber;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
itemCount: number;
|
|
435
434
|
time: Date;
|
|
436
|
-
}, {
|
|
437
435
|
itemCount: number;
|
|
436
|
+
}, {
|
|
438
437
|
time: Date;
|
|
438
|
+
itemCount: number;
|
|
439
439
|
}>, "many">;
|
|
440
440
|
daysOfWeek: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"MONDAY">, z.ZodLiteral<"TUESDAY">, z.ZodLiteral<"WEDNESDAY">, z.ZodLiteral<"THURSDAY">, z.ZodLiteral<"FRIDAY">, z.ZodLiteral<"SATURDAY">, z.ZodLiteral<"SUNDAY">]>, "many">>>;
|
|
441
441
|
type: z.ZodLiteral<"MANUAL">;
|
|
442
442
|
}, "strip", z.ZodTypeAny, {
|
|
443
443
|
type: "MANUAL";
|
|
444
444
|
timeSlots: {
|
|
445
|
-
itemCount: number;
|
|
446
445
|
time: Date;
|
|
446
|
+
itemCount: number;
|
|
447
447
|
}[];
|
|
448
448
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
449
449
|
}, {
|
|
450
450
|
type: "MANUAL";
|
|
451
451
|
timeSlots: {
|
|
452
|
-
itemCount: number;
|
|
453
452
|
time: Date;
|
|
453
|
+
itemCount: number;
|
|
454
454
|
}[];
|
|
455
455
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
456
456
|
}>]>>>;
|
|
@@ -458,7 +458,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
458
458
|
resetPriceOnRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
460
|
actions: {
|
|
461
|
-
type: "
|
|
461
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
462
|
+
enabled: boolean;
|
|
462
463
|
payload: {
|
|
463
464
|
type: "EMPTY";
|
|
464
465
|
} | {
|
|
@@ -513,7 +514,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
513
514
|
seconds: number;
|
|
514
515
|
};
|
|
515
516
|
};
|
|
516
|
-
enabled: boolean;
|
|
517
517
|
mandatory?: boolean | null | undefined;
|
|
518
518
|
}[];
|
|
519
519
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -525,8 +525,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
525
525
|
} | {
|
|
526
526
|
type: "MANUAL";
|
|
527
527
|
timeSlots: {
|
|
528
|
-
itemCount: number;
|
|
529
528
|
time: Date;
|
|
529
|
+
itemCount: number;
|
|
530
530
|
}[];
|
|
531
531
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
532
532
|
} | null | undefined;
|
|
@@ -534,7 +534,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
534
534
|
resetPriceOnRepeat?: boolean | null | undefined;
|
|
535
535
|
}, {
|
|
536
536
|
actions: {
|
|
537
|
-
type: "
|
|
537
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
538
|
+
enabled: boolean;
|
|
538
539
|
payload: {
|
|
539
540
|
type: "EMPTY";
|
|
540
541
|
} | {
|
|
@@ -589,7 +590,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
589
590
|
seconds: number;
|
|
590
591
|
};
|
|
591
592
|
};
|
|
592
|
-
enabled: boolean;
|
|
593
593
|
mandatory?: boolean | null | undefined;
|
|
594
594
|
}[];
|
|
595
595
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -601,8 +601,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
601
601
|
} | {
|
|
602
602
|
type: "MANUAL";
|
|
603
603
|
timeSlots: {
|
|
604
|
-
itemCount: number;
|
|
605
604
|
time: Date;
|
|
605
|
+
itemCount: number;
|
|
606
606
|
}[];
|
|
607
607
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
608
608
|
} | null | undefined;
|
|
@@ -614,7 +614,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
614
614
|
type: "ACTIONS";
|
|
615
615
|
data: {
|
|
616
616
|
actions: {
|
|
617
|
-
type: "
|
|
617
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
618
|
+
enabled: boolean;
|
|
618
619
|
payload: {
|
|
619
620
|
type: "EMPTY";
|
|
620
621
|
} | {
|
|
@@ -669,7 +670,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
669
670
|
seconds: number;
|
|
670
671
|
};
|
|
671
672
|
};
|
|
672
|
-
enabled: boolean;
|
|
673
673
|
mandatory?: boolean | null | undefined;
|
|
674
674
|
}[];
|
|
675
675
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -681,8 +681,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
681
681
|
} | {
|
|
682
682
|
type: "MANUAL";
|
|
683
683
|
timeSlots: {
|
|
684
|
-
itemCount: number;
|
|
685
684
|
time: Date;
|
|
685
|
+
itemCount: number;
|
|
686
686
|
}[];
|
|
687
687
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
688
688
|
} | null | undefined;
|
|
@@ -693,7 +693,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
693
693
|
type: "ACTIONS";
|
|
694
694
|
data: {
|
|
695
695
|
actions: {
|
|
696
|
-
type: "
|
|
696
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
697
|
+
enabled: boolean;
|
|
697
698
|
payload: {
|
|
698
699
|
type: "EMPTY";
|
|
699
700
|
} | {
|
|
@@ -748,7 +749,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
748
749
|
seconds: number;
|
|
749
750
|
};
|
|
750
751
|
};
|
|
751
|
-
enabled: boolean;
|
|
752
752
|
mandatory?: boolean | null | undefined;
|
|
753
753
|
}[];
|
|
754
754
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -760,8 +760,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
760
760
|
} | {
|
|
761
761
|
type: "MANUAL";
|
|
762
762
|
timeSlots: {
|
|
763
|
-
itemCount: number;
|
|
764
763
|
time: Date;
|
|
764
|
+
itemCount: number;
|
|
765
765
|
}[];
|
|
766
766
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
767
767
|
} | null | undefined;
|
|
@@ -956,26 +956,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
956
956
|
name: string;
|
|
957
957
|
title?: string | null | undefined;
|
|
958
958
|
description?: string | null | undefined;
|
|
959
|
+
salePrice?: number | null | undefined;
|
|
960
|
+
buyPrice?: number | null | undefined;
|
|
959
961
|
categoryId?: number | null | undefined;
|
|
960
962
|
brand?: string | null | undefined;
|
|
963
|
+
statusId?: number | null | undefined;
|
|
964
|
+
sizeId?: number | null | undefined;
|
|
961
965
|
colorIds?: number[] | null | undefined;
|
|
962
966
|
packageSizeId?: number | null | undefined;
|
|
963
|
-
sizeId?: number | null | undefined;
|
|
964
|
-
statusId?: number | null | undefined;
|
|
965
|
-
salePrice?: number | null | undefined;
|
|
966
|
-
buyPrice?: number | null | undefined;
|
|
967
967
|
}, {
|
|
968
968
|
name: string;
|
|
969
969
|
title?: string | null | undefined;
|
|
970
970
|
description?: string | null | undefined;
|
|
971
|
+
salePrice?: number | null | undefined;
|
|
972
|
+
buyPrice?: number | null | undefined;
|
|
971
973
|
categoryId?: number | null | undefined;
|
|
972
974
|
brand?: string | null | undefined;
|
|
975
|
+
statusId?: number | null | undefined;
|
|
976
|
+
sizeId?: number | null | undefined;
|
|
973
977
|
colorIds?: number[] | null | undefined;
|
|
974
978
|
packageSizeId?: number | null | undefined;
|
|
975
|
-
sizeId?: number | null | undefined;
|
|
976
|
-
statusId?: number | null | undefined;
|
|
977
|
-
salePrice?: number | null | undefined;
|
|
978
|
-
buyPrice?: number | null | undefined;
|
|
979
979
|
}>;
|
|
980
980
|
type: z.ZodLiteral<"TEMPLATE">;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -984,14 +984,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
984
984
|
name: string;
|
|
985
985
|
title?: string | null | undefined;
|
|
986
986
|
description?: string | null | undefined;
|
|
987
|
+
salePrice?: number | null | undefined;
|
|
988
|
+
buyPrice?: number | null | undefined;
|
|
987
989
|
categoryId?: number | null | undefined;
|
|
988
990
|
brand?: string | null | undefined;
|
|
991
|
+
statusId?: number | null | undefined;
|
|
992
|
+
sizeId?: number | null | undefined;
|
|
989
993
|
colorIds?: number[] | null | undefined;
|
|
990
994
|
packageSizeId?: number | null | undefined;
|
|
991
|
-
sizeId?: number | null | undefined;
|
|
992
|
-
statusId?: number | null | undefined;
|
|
993
|
-
salePrice?: number | null | undefined;
|
|
994
|
-
buyPrice?: number | null | undefined;
|
|
995
995
|
};
|
|
996
996
|
}, {
|
|
997
997
|
type: "TEMPLATE";
|
|
@@ -999,14 +999,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
999
999
|
name: string;
|
|
1000
1000
|
title?: string | null | undefined;
|
|
1001
1001
|
description?: string | null | undefined;
|
|
1002
|
+
salePrice?: number | null | undefined;
|
|
1003
|
+
buyPrice?: number | null | undefined;
|
|
1002
1004
|
categoryId?: number | null | undefined;
|
|
1003
1005
|
brand?: string | null | undefined;
|
|
1006
|
+
statusId?: number | null | undefined;
|
|
1007
|
+
sizeId?: number | null | undefined;
|
|
1004
1008
|
colorIds?: number[] | null | undefined;
|
|
1005
1009
|
packageSizeId?: number | null | undefined;
|
|
1006
|
-
sizeId?: number | null | undefined;
|
|
1007
|
-
statusId?: number | null | undefined;
|
|
1008
|
-
salePrice?: number | null | undefined;
|
|
1009
|
-
buyPrice?: number | null | undefined;
|
|
1010
1010
|
};
|
|
1011
1011
|
}>, z.ZodObject<{
|
|
1012
1012
|
data: z.ZodObject<{
|
|
@@ -1112,7 +1112,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1112
1112
|
type: "ACTIONS";
|
|
1113
1113
|
data: {
|
|
1114
1114
|
actions: {
|
|
1115
|
-
type: "
|
|
1115
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1116
|
+
enabled: boolean;
|
|
1116
1117
|
payload: {
|
|
1117
1118
|
type: "EMPTY";
|
|
1118
1119
|
} | {
|
|
@@ -1167,7 +1168,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1167
1168
|
seconds: number;
|
|
1168
1169
|
};
|
|
1169
1170
|
};
|
|
1170
|
-
enabled: boolean;
|
|
1171
1171
|
mandatory?: boolean | null | undefined;
|
|
1172
1172
|
}[];
|
|
1173
1173
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1179,8 +1179,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1179
1179
|
} | {
|
|
1180
1180
|
type: "MANUAL";
|
|
1181
1181
|
timeSlots: {
|
|
1182
|
-
itemCount: number;
|
|
1183
1182
|
time: Date;
|
|
1183
|
+
itemCount: number;
|
|
1184
1184
|
}[];
|
|
1185
1185
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1186
1186
|
} | null | undefined;
|
|
@@ -1230,14 +1230,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1230
1230
|
name: string;
|
|
1231
1231
|
title?: string | null | undefined;
|
|
1232
1232
|
description?: string | null | undefined;
|
|
1233
|
+
salePrice?: number | null | undefined;
|
|
1234
|
+
buyPrice?: number | null | undefined;
|
|
1233
1235
|
categoryId?: number | null | undefined;
|
|
1234
1236
|
brand?: string | null | undefined;
|
|
1237
|
+
statusId?: number | null | undefined;
|
|
1238
|
+
sizeId?: number | null | undefined;
|
|
1235
1239
|
colorIds?: number[] | null | undefined;
|
|
1236
1240
|
packageSizeId?: number | null | undefined;
|
|
1237
|
-
sizeId?: number | null | undefined;
|
|
1238
|
-
statusId?: number | null | undefined;
|
|
1239
|
-
salePrice?: number | null | undefined;
|
|
1240
|
-
buyPrice?: number | null | undefined;
|
|
1241
1241
|
};
|
|
1242
1242
|
} | {
|
|
1243
1243
|
type: "TEXT";
|
|
@@ -1262,8 +1262,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1262
1262
|
borderColor?: string | null | undefined;
|
|
1263
1263
|
};
|
|
1264
1264
|
};
|
|
1265
|
-
id: string;
|
|
1266
1265
|
name: string;
|
|
1266
|
+
id: string;
|
|
1267
1267
|
caseId: string;
|
|
1268
1268
|
weight: number;
|
|
1269
1269
|
}, {
|
|
@@ -1271,7 +1271,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1271
1271
|
type: "ACTIONS";
|
|
1272
1272
|
data: {
|
|
1273
1273
|
actions: {
|
|
1274
|
-
type: "
|
|
1274
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1275
|
+
enabled: boolean;
|
|
1275
1276
|
payload: {
|
|
1276
1277
|
type: "EMPTY";
|
|
1277
1278
|
} | {
|
|
@@ -1326,7 +1327,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1326
1327
|
seconds: number;
|
|
1327
1328
|
};
|
|
1328
1329
|
};
|
|
1329
|
-
enabled: boolean;
|
|
1330
1330
|
mandatory?: boolean | null | undefined;
|
|
1331
1331
|
}[];
|
|
1332
1332
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1338,8 +1338,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1338
1338
|
} | {
|
|
1339
1339
|
type: "MANUAL";
|
|
1340
1340
|
timeSlots: {
|
|
1341
|
-
itemCount: number;
|
|
1342
1341
|
time: Date;
|
|
1342
|
+
itemCount: number;
|
|
1343
1343
|
}[];
|
|
1344
1344
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1345
1345
|
} | null | undefined;
|
|
@@ -1389,14 +1389,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1389
1389
|
name: string;
|
|
1390
1390
|
title?: string | null | undefined;
|
|
1391
1391
|
description?: string | null | undefined;
|
|
1392
|
+
salePrice?: number | null | undefined;
|
|
1393
|
+
buyPrice?: number | null | undefined;
|
|
1392
1394
|
categoryId?: number | null | undefined;
|
|
1393
1395
|
brand?: string | null | undefined;
|
|
1396
|
+
statusId?: number | null | undefined;
|
|
1397
|
+
sizeId?: number | null | undefined;
|
|
1394
1398
|
colorIds?: number[] | null | undefined;
|
|
1395
1399
|
packageSizeId?: number | null | undefined;
|
|
1396
|
-
sizeId?: number | null | undefined;
|
|
1397
|
-
statusId?: number | null | undefined;
|
|
1398
|
-
salePrice?: number | null | undefined;
|
|
1399
|
-
buyPrice?: number | null | undefined;
|
|
1400
1400
|
};
|
|
1401
1401
|
} | {
|
|
1402
1402
|
type: "TEXT";
|
|
@@ -1421,26 +1421,27 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1421
1421
|
borderColor?: string | null | undefined;
|
|
1422
1422
|
};
|
|
1423
1423
|
};
|
|
1424
|
-
id: string;
|
|
1425
1424
|
name: string;
|
|
1425
|
+
id: string;
|
|
1426
1426
|
caseId: string;
|
|
1427
1427
|
weight: number;
|
|
1428
1428
|
}>, "many">>>;
|
|
1429
1429
|
createdAt: z.ZodDate;
|
|
1430
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1431
|
-
id: string;
|
|
1432
|
-
createdAt: Date;
|
|
1433
1431
|
enabled: boolean;
|
|
1434
|
-
preferenceId: string;
|
|
1435
1432
|
testMode: boolean;
|
|
1433
|
+
id: string;
|
|
1434
|
+
preferenceId: string;
|
|
1436
1435
|
abTest: boolean;
|
|
1436
|
+
createdAt: Date;
|
|
1437
1437
|
savedFiltersId?: string | null | undefined;
|
|
1438
1438
|
variants?: {
|
|
1439
1439
|
payload: {
|
|
1440
1440
|
type: "ACTIONS";
|
|
1441
1441
|
data: {
|
|
1442
1442
|
actions: {
|
|
1443
|
-
type: "
|
|
1443
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1444
|
+
enabled: boolean;
|
|
1444
1445
|
payload: {
|
|
1445
1446
|
type: "EMPTY";
|
|
1446
1447
|
} | {
|
|
@@ -1495,7 +1496,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1495
1496
|
seconds: number;
|
|
1496
1497
|
};
|
|
1497
1498
|
};
|
|
1498
|
-
enabled: boolean;
|
|
1499
1499
|
mandatory?: boolean | null | undefined;
|
|
1500
1500
|
}[];
|
|
1501
1501
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1507,8 +1507,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1507
1507
|
} | {
|
|
1508
1508
|
type: "MANUAL";
|
|
1509
1509
|
timeSlots: {
|
|
1510
|
-
itemCount: number;
|
|
1511
1510
|
time: Date;
|
|
1511
|
+
itemCount: number;
|
|
1512
1512
|
}[];
|
|
1513
1513
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1514
1514
|
} | null | undefined;
|
|
@@ -1558,14 +1558,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1558
1558
|
name: string;
|
|
1559
1559
|
title?: string | null | undefined;
|
|
1560
1560
|
description?: string | null | undefined;
|
|
1561
|
+
salePrice?: number | null | undefined;
|
|
1562
|
+
buyPrice?: number | null | undefined;
|
|
1561
1563
|
categoryId?: number | null | undefined;
|
|
1562
1564
|
brand?: string | null | undefined;
|
|
1565
|
+
statusId?: number | null | undefined;
|
|
1566
|
+
sizeId?: number | null | undefined;
|
|
1563
1567
|
colorIds?: number[] | null | undefined;
|
|
1564
1568
|
packageSizeId?: number | null | undefined;
|
|
1565
|
-
sizeId?: number | null | undefined;
|
|
1566
|
-
statusId?: number | null | undefined;
|
|
1567
|
-
salePrice?: number | null | undefined;
|
|
1568
|
-
buyPrice?: number | null | undefined;
|
|
1569
1569
|
};
|
|
1570
1570
|
} | {
|
|
1571
1571
|
type: "TEXT";
|
|
@@ -1590,25 +1590,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1590
1590
|
borderColor?: string | null | undefined;
|
|
1591
1591
|
};
|
|
1592
1592
|
};
|
|
1593
|
-
id: string;
|
|
1594
1593
|
name: string;
|
|
1594
|
+
id: string;
|
|
1595
1595
|
caseId: string;
|
|
1596
1596
|
weight: number;
|
|
1597
1597
|
}[] | null | undefined;
|
|
1598
1598
|
}, {
|
|
1599
|
-
id: string;
|
|
1600
|
-
createdAt: Date;
|
|
1601
1599
|
enabled: boolean;
|
|
1602
|
-
preferenceId: string;
|
|
1603
1600
|
testMode: boolean;
|
|
1601
|
+
id: string;
|
|
1602
|
+
preferenceId: string;
|
|
1604
1603
|
abTest: boolean;
|
|
1604
|
+
createdAt: Date;
|
|
1605
1605
|
savedFiltersId?: string | null | undefined;
|
|
1606
1606
|
variants?: {
|
|
1607
1607
|
payload: {
|
|
1608
1608
|
type: "ACTIONS";
|
|
1609
1609
|
data: {
|
|
1610
1610
|
actions: {
|
|
1611
|
-
type: "
|
|
1611
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1612
|
+
enabled: boolean;
|
|
1612
1613
|
payload: {
|
|
1613
1614
|
type: "EMPTY";
|
|
1614
1615
|
} | {
|
|
@@ -1663,7 +1664,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1663
1664
|
seconds: number;
|
|
1664
1665
|
};
|
|
1665
1666
|
};
|
|
1666
|
-
enabled: boolean;
|
|
1667
1667
|
mandatory?: boolean | null | undefined;
|
|
1668
1668
|
}[];
|
|
1669
1669
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1675,8 +1675,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1675
1675
|
} | {
|
|
1676
1676
|
type: "MANUAL";
|
|
1677
1677
|
timeSlots: {
|
|
1678
|
-
itemCount: number;
|
|
1679
1678
|
time: Date;
|
|
1679
|
+
itemCount: number;
|
|
1680
1680
|
}[];
|
|
1681
1681
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1682
1682
|
} | null | undefined;
|
|
@@ -1726,14 +1726,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1726
1726
|
name: string;
|
|
1727
1727
|
title?: string | null | undefined;
|
|
1728
1728
|
description?: string | null | undefined;
|
|
1729
|
+
salePrice?: number | null | undefined;
|
|
1730
|
+
buyPrice?: number | null | undefined;
|
|
1729
1731
|
categoryId?: number | null | undefined;
|
|
1730
1732
|
brand?: string | null | undefined;
|
|
1733
|
+
statusId?: number | null | undefined;
|
|
1734
|
+
sizeId?: number | null | undefined;
|
|
1731
1735
|
colorIds?: number[] | null | undefined;
|
|
1732
1736
|
packageSizeId?: number | null | undefined;
|
|
1733
|
-
sizeId?: number | null | undefined;
|
|
1734
|
-
statusId?: number | null | undefined;
|
|
1735
|
-
salePrice?: number | null | undefined;
|
|
1736
|
-
buyPrice?: number | null | undefined;
|
|
1737
1737
|
};
|
|
1738
1738
|
} | {
|
|
1739
1739
|
type: "TEXT";
|
|
@@ -1758,32 +1758,34 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1758
1758
|
borderColor?: string | null | undefined;
|
|
1759
1759
|
};
|
|
1760
1760
|
};
|
|
1761
|
-
id: string;
|
|
1762
1761
|
name: string;
|
|
1762
|
+
id: string;
|
|
1763
1763
|
caseId: string;
|
|
1764
1764
|
weight: number;
|
|
1765
1765
|
}[] | null | undefined;
|
|
1766
1766
|
}>, "many">>>;
|
|
1767
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1768
|
-
type: "
|
|
1769
|
-
id: string;
|
|
1770
|
-
userId: number;
|
|
1768
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
1771
1769
|
enabled: boolean;
|
|
1772
1770
|
testMode: boolean;
|
|
1771
|
+
id: string;
|
|
1772
|
+
userId: number;
|
|
1773
|
+
parentPreferenceId?: string | null | undefined;
|
|
1773
1774
|
cases?: {
|
|
1774
|
-
id: string;
|
|
1775
|
-
createdAt: Date;
|
|
1776
1775
|
enabled: boolean;
|
|
1777
|
-
preferenceId: string;
|
|
1778
1776
|
testMode: boolean;
|
|
1777
|
+
id: string;
|
|
1778
|
+
preferenceId: string;
|
|
1779
1779
|
abTest: boolean;
|
|
1780
|
+
createdAt: Date;
|
|
1780
1781
|
savedFiltersId?: string | null | undefined;
|
|
1781
1782
|
variants?: {
|
|
1782
1783
|
payload: {
|
|
1783
1784
|
type: "ACTIONS";
|
|
1784
1785
|
data: {
|
|
1785
1786
|
actions: {
|
|
1786
|
-
type: "
|
|
1787
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1788
|
+
enabled: boolean;
|
|
1787
1789
|
payload: {
|
|
1788
1790
|
type: "EMPTY";
|
|
1789
1791
|
} | {
|
|
@@ -1838,7 +1840,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1838
1840
|
seconds: number;
|
|
1839
1841
|
};
|
|
1840
1842
|
};
|
|
1841
|
-
enabled: boolean;
|
|
1842
1843
|
mandatory?: boolean | null | undefined;
|
|
1843
1844
|
}[];
|
|
1844
1845
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1850,8 +1851,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1850
1851
|
} | {
|
|
1851
1852
|
type: "MANUAL";
|
|
1852
1853
|
timeSlots: {
|
|
1853
|
-
itemCount: number;
|
|
1854
1854
|
time: Date;
|
|
1855
|
+
itemCount: number;
|
|
1855
1856
|
}[];
|
|
1856
1857
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1857
1858
|
} | null | undefined;
|
|
@@ -1901,14 +1902,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1901
1902
|
name: string;
|
|
1902
1903
|
title?: string | null | undefined;
|
|
1903
1904
|
description?: string | null | undefined;
|
|
1905
|
+
salePrice?: number | null | undefined;
|
|
1906
|
+
buyPrice?: number | null | undefined;
|
|
1904
1907
|
categoryId?: number | null | undefined;
|
|
1905
1908
|
brand?: string | null | undefined;
|
|
1909
|
+
statusId?: number | null | undefined;
|
|
1910
|
+
sizeId?: number | null | undefined;
|
|
1906
1911
|
colorIds?: number[] | null | undefined;
|
|
1907
1912
|
packageSizeId?: number | null | undefined;
|
|
1908
|
-
sizeId?: number | null | undefined;
|
|
1909
|
-
statusId?: number | null | undefined;
|
|
1910
|
-
salePrice?: number | null | undefined;
|
|
1911
|
-
buyPrice?: number | null | undefined;
|
|
1912
1913
|
};
|
|
1913
1914
|
} | {
|
|
1914
1915
|
type: "TEXT";
|
|
@@ -1933,33 +1934,34 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
1933
1934
|
borderColor?: string | null | undefined;
|
|
1934
1935
|
};
|
|
1935
1936
|
};
|
|
1936
|
-
id: string;
|
|
1937
1937
|
name: string;
|
|
1938
|
+
id: string;
|
|
1938
1939
|
caseId: string;
|
|
1939
1940
|
weight: number;
|
|
1940
1941
|
}[] | null | undefined;
|
|
1941
1942
|
}[] | null | undefined;
|
|
1942
|
-
parentPreferenceId?: string | null | undefined;
|
|
1943
1943
|
}, {
|
|
1944
|
-
type: "
|
|
1945
|
-
id: string;
|
|
1946
|
-
userId: number;
|
|
1944
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
1947
1945
|
enabled: boolean;
|
|
1948
1946
|
testMode: boolean;
|
|
1947
|
+
id: string;
|
|
1948
|
+
userId: number;
|
|
1949
|
+
parentPreferenceId?: string | null | undefined;
|
|
1949
1950
|
cases?: {
|
|
1950
|
-
id: string;
|
|
1951
|
-
createdAt: Date;
|
|
1952
1951
|
enabled: boolean;
|
|
1953
|
-
preferenceId: string;
|
|
1954
1952
|
testMode: boolean;
|
|
1953
|
+
id: string;
|
|
1954
|
+
preferenceId: string;
|
|
1955
1955
|
abTest: boolean;
|
|
1956
|
+
createdAt: Date;
|
|
1956
1957
|
savedFiltersId?: string | null | undefined;
|
|
1957
1958
|
variants?: {
|
|
1958
1959
|
payload: {
|
|
1959
1960
|
type: "ACTIONS";
|
|
1960
1961
|
data: {
|
|
1961
1962
|
actions: {
|
|
1962
|
-
type: "
|
|
1963
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1964
|
+
enabled: boolean;
|
|
1963
1965
|
payload: {
|
|
1964
1966
|
type: "EMPTY";
|
|
1965
1967
|
} | {
|
|
@@ -2014,7 +2016,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2014
2016
|
seconds: number;
|
|
2015
2017
|
};
|
|
2016
2018
|
};
|
|
2017
|
-
enabled: boolean;
|
|
2018
2019
|
mandatory?: boolean | null | undefined;
|
|
2019
2020
|
}[];
|
|
2020
2021
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2026,8 +2027,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2026
2027
|
} | {
|
|
2027
2028
|
type: "MANUAL";
|
|
2028
2029
|
timeSlots: {
|
|
2029
|
-
itemCount: number;
|
|
2030
2030
|
time: Date;
|
|
2031
|
+
itemCount: number;
|
|
2031
2032
|
}[];
|
|
2032
2033
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2033
2034
|
} | null | undefined;
|
|
@@ -2077,14 +2078,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2077
2078
|
name: string;
|
|
2078
2079
|
title?: string | null | undefined;
|
|
2079
2080
|
description?: string | null | undefined;
|
|
2081
|
+
salePrice?: number | null | undefined;
|
|
2082
|
+
buyPrice?: number | null | undefined;
|
|
2080
2083
|
categoryId?: number | null | undefined;
|
|
2081
2084
|
brand?: string | null | undefined;
|
|
2085
|
+
statusId?: number | null | undefined;
|
|
2086
|
+
sizeId?: number | null | undefined;
|
|
2082
2087
|
colorIds?: number[] | null | undefined;
|
|
2083
2088
|
packageSizeId?: number | null | undefined;
|
|
2084
|
-
sizeId?: number | null | undefined;
|
|
2085
|
-
statusId?: number | null | undefined;
|
|
2086
|
-
salePrice?: number | null | undefined;
|
|
2087
|
-
buyPrice?: number | null | undefined;
|
|
2088
2089
|
};
|
|
2089
2090
|
} | {
|
|
2090
2091
|
type: "TEXT";
|
|
@@ -2109,13 +2110,12 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2109
2110
|
borderColor?: string | null | undefined;
|
|
2110
2111
|
};
|
|
2111
2112
|
};
|
|
2112
|
-
id: string;
|
|
2113
2113
|
name: string;
|
|
2114
|
+
id: string;
|
|
2114
2115
|
caseId: string;
|
|
2115
2116
|
weight: number;
|
|
2116
2117
|
}[] | null | undefined;
|
|
2117
2118
|
}[] | null | undefined;
|
|
2118
|
-
parentPreferenceId?: string | null | undefined;
|
|
2119
2119
|
}>;
|
|
2120
2120
|
case: z.ZodObject<{
|
|
2121
2121
|
id: z.ZodString;
|
|
@@ -2404,7 +2404,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2404
2404
|
}>]>;
|
|
2405
2405
|
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2406
2406
|
}, "strip", z.ZodTypeAny, {
|
|
2407
|
-
type: "
|
|
2407
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2408
|
+
enabled: boolean;
|
|
2408
2409
|
payload: {
|
|
2409
2410
|
type: "EMPTY";
|
|
2410
2411
|
} | {
|
|
@@ -2459,10 +2460,10 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2459
2460
|
seconds: number;
|
|
2460
2461
|
};
|
|
2461
2462
|
};
|
|
2462
|
-
enabled: boolean;
|
|
2463
2463
|
mandatory?: boolean | null | undefined;
|
|
2464
2464
|
}, {
|
|
2465
|
-
type: "
|
|
2465
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2466
|
+
enabled: boolean;
|
|
2466
2467
|
payload: {
|
|
2467
2468
|
type: "EMPTY";
|
|
2468
2469
|
} | {
|
|
@@ -2517,7 +2518,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2517
2518
|
seconds: number;
|
|
2518
2519
|
};
|
|
2519
2520
|
};
|
|
2520
|
-
enabled: boolean;
|
|
2521
2521
|
mandatory?: boolean | null | undefined;
|
|
2522
2522
|
}>, "many">;
|
|
2523
2523
|
maxLaunchesPerDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2541,26 +2541,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2541
2541
|
time: z.ZodDate;
|
|
2542
2542
|
itemCount: z.ZodNumber;
|
|
2543
2543
|
}, "strip", z.ZodTypeAny, {
|
|
2544
|
-
itemCount: number;
|
|
2545
2544
|
time: Date;
|
|
2546
|
-
}, {
|
|
2547
2545
|
itemCount: number;
|
|
2546
|
+
}, {
|
|
2548
2547
|
time: Date;
|
|
2548
|
+
itemCount: number;
|
|
2549
2549
|
}>, "many">;
|
|
2550
2550
|
daysOfWeek: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"MONDAY">, z.ZodLiteral<"TUESDAY">, z.ZodLiteral<"WEDNESDAY">, z.ZodLiteral<"THURSDAY">, z.ZodLiteral<"FRIDAY">, z.ZodLiteral<"SATURDAY">, z.ZodLiteral<"SUNDAY">]>, "many">>>;
|
|
2551
2551
|
type: z.ZodLiteral<"MANUAL">;
|
|
2552
2552
|
}, "strip", z.ZodTypeAny, {
|
|
2553
2553
|
type: "MANUAL";
|
|
2554
2554
|
timeSlots: {
|
|
2555
|
-
itemCount: number;
|
|
2556
2555
|
time: Date;
|
|
2556
|
+
itemCount: number;
|
|
2557
2557
|
}[];
|
|
2558
2558
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2559
2559
|
}, {
|
|
2560
2560
|
type: "MANUAL";
|
|
2561
2561
|
timeSlots: {
|
|
2562
|
-
itemCount: number;
|
|
2563
2562
|
time: Date;
|
|
2563
|
+
itemCount: number;
|
|
2564
2564
|
}[];
|
|
2565
2565
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2566
2566
|
}>]>>>;
|
|
@@ -2568,7 +2568,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2568
2568
|
resetPriceOnRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2569
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2570
2570
|
actions: {
|
|
2571
|
-
type: "
|
|
2571
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2572
|
+
enabled: boolean;
|
|
2572
2573
|
payload: {
|
|
2573
2574
|
type: "EMPTY";
|
|
2574
2575
|
} | {
|
|
@@ -2623,7 +2624,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2623
2624
|
seconds: number;
|
|
2624
2625
|
};
|
|
2625
2626
|
};
|
|
2626
|
-
enabled: boolean;
|
|
2627
2627
|
mandatory?: boolean | null | undefined;
|
|
2628
2628
|
}[];
|
|
2629
2629
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2635,8 +2635,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2635
2635
|
} | {
|
|
2636
2636
|
type: "MANUAL";
|
|
2637
2637
|
timeSlots: {
|
|
2638
|
-
itemCount: number;
|
|
2639
2638
|
time: Date;
|
|
2639
|
+
itemCount: number;
|
|
2640
2640
|
}[];
|
|
2641
2641
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2642
2642
|
} | null | undefined;
|
|
@@ -2644,7 +2644,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2644
2644
|
resetPriceOnRepeat?: boolean | null | undefined;
|
|
2645
2645
|
}, {
|
|
2646
2646
|
actions: {
|
|
2647
|
-
type: "
|
|
2647
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2648
|
+
enabled: boolean;
|
|
2648
2649
|
payload: {
|
|
2649
2650
|
type: "EMPTY";
|
|
2650
2651
|
} | {
|
|
@@ -2699,7 +2700,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2699
2700
|
seconds: number;
|
|
2700
2701
|
};
|
|
2701
2702
|
};
|
|
2702
|
-
enabled: boolean;
|
|
2703
2703
|
mandatory?: boolean | null | undefined;
|
|
2704
2704
|
}[];
|
|
2705
2705
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2711,8 +2711,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2711
2711
|
} | {
|
|
2712
2712
|
type: "MANUAL";
|
|
2713
2713
|
timeSlots: {
|
|
2714
|
-
itemCount: number;
|
|
2715
2714
|
time: Date;
|
|
2715
|
+
itemCount: number;
|
|
2716
2716
|
}[];
|
|
2717
2717
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2718
2718
|
} | null | undefined;
|
|
@@ -2724,7 +2724,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2724
2724
|
type: "ACTIONS";
|
|
2725
2725
|
data: {
|
|
2726
2726
|
actions: {
|
|
2727
|
-
type: "
|
|
2727
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2728
|
+
enabled: boolean;
|
|
2728
2729
|
payload: {
|
|
2729
2730
|
type: "EMPTY";
|
|
2730
2731
|
} | {
|
|
@@ -2779,7 +2780,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2779
2780
|
seconds: number;
|
|
2780
2781
|
};
|
|
2781
2782
|
};
|
|
2782
|
-
enabled: boolean;
|
|
2783
2783
|
mandatory?: boolean | null | undefined;
|
|
2784
2784
|
}[];
|
|
2785
2785
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2791,8 +2791,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2791
2791
|
} | {
|
|
2792
2792
|
type: "MANUAL";
|
|
2793
2793
|
timeSlots: {
|
|
2794
|
-
itemCount: number;
|
|
2795
2794
|
time: Date;
|
|
2795
|
+
itemCount: number;
|
|
2796
2796
|
}[];
|
|
2797
2797
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2798
2798
|
} | null | undefined;
|
|
@@ -2803,7 +2803,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2803
2803
|
type: "ACTIONS";
|
|
2804
2804
|
data: {
|
|
2805
2805
|
actions: {
|
|
2806
|
-
type: "
|
|
2806
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2807
|
+
enabled: boolean;
|
|
2807
2808
|
payload: {
|
|
2808
2809
|
type: "EMPTY";
|
|
2809
2810
|
} | {
|
|
@@ -2858,7 +2859,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2858
2859
|
seconds: number;
|
|
2859
2860
|
};
|
|
2860
2861
|
};
|
|
2861
|
-
enabled: boolean;
|
|
2862
2862
|
mandatory?: boolean | null | undefined;
|
|
2863
2863
|
}[];
|
|
2864
2864
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2870,8 +2870,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
2870
2870
|
} | {
|
|
2871
2871
|
type: "MANUAL";
|
|
2872
2872
|
timeSlots: {
|
|
2873
|
-
itemCount: number;
|
|
2874
2873
|
time: Date;
|
|
2874
|
+
itemCount: number;
|
|
2875
2875
|
}[];
|
|
2876
2876
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2877
2877
|
} | null | undefined;
|
|
@@ -3066,26 +3066,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3066
3066
|
name: string;
|
|
3067
3067
|
title?: string | null | undefined;
|
|
3068
3068
|
description?: string | null | undefined;
|
|
3069
|
+
salePrice?: number | null | undefined;
|
|
3070
|
+
buyPrice?: number | null | undefined;
|
|
3069
3071
|
categoryId?: number | null | undefined;
|
|
3070
3072
|
brand?: string | null | undefined;
|
|
3073
|
+
statusId?: number | null | undefined;
|
|
3074
|
+
sizeId?: number | null | undefined;
|
|
3071
3075
|
colorIds?: number[] | null | undefined;
|
|
3072
3076
|
packageSizeId?: number | null | undefined;
|
|
3073
|
-
sizeId?: number | null | undefined;
|
|
3074
|
-
statusId?: number | null | undefined;
|
|
3075
|
-
salePrice?: number | null | undefined;
|
|
3076
|
-
buyPrice?: number | null | undefined;
|
|
3077
3077
|
}, {
|
|
3078
3078
|
name: string;
|
|
3079
3079
|
title?: string | null | undefined;
|
|
3080
3080
|
description?: string | null | undefined;
|
|
3081
|
+
salePrice?: number | null | undefined;
|
|
3082
|
+
buyPrice?: number | null | undefined;
|
|
3081
3083
|
categoryId?: number | null | undefined;
|
|
3082
3084
|
brand?: string | null | undefined;
|
|
3085
|
+
statusId?: number | null | undefined;
|
|
3086
|
+
sizeId?: number | null | undefined;
|
|
3083
3087
|
colorIds?: number[] | null | undefined;
|
|
3084
3088
|
packageSizeId?: number | null | undefined;
|
|
3085
|
-
sizeId?: number | null | undefined;
|
|
3086
|
-
statusId?: number | null | undefined;
|
|
3087
|
-
salePrice?: number | null | undefined;
|
|
3088
|
-
buyPrice?: number | null | undefined;
|
|
3089
3089
|
}>;
|
|
3090
3090
|
type: z.ZodLiteral<"TEMPLATE">;
|
|
3091
3091
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3094,14 +3094,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3094
3094
|
name: string;
|
|
3095
3095
|
title?: string | null | undefined;
|
|
3096
3096
|
description?: string | null | undefined;
|
|
3097
|
+
salePrice?: number | null | undefined;
|
|
3098
|
+
buyPrice?: number | null | undefined;
|
|
3097
3099
|
categoryId?: number | null | undefined;
|
|
3098
3100
|
brand?: string | null | undefined;
|
|
3101
|
+
statusId?: number | null | undefined;
|
|
3102
|
+
sizeId?: number | null | undefined;
|
|
3099
3103
|
colorIds?: number[] | null | undefined;
|
|
3100
3104
|
packageSizeId?: number | null | undefined;
|
|
3101
|
-
sizeId?: number | null | undefined;
|
|
3102
|
-
statusId?: number | null | undefined;
|
|
3103
|
-
salePrice?: number | null | undefined;
|
|
3104
|
-
buyPrice?: number | null | undefined;
|
|
3105
3105
|
};
|
|
3106
3106
|
}, {
|
|
3107
3107
|
type: "TEMPLATE";
|
|
@@ -3109,14 +3109,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3109
3109
|
name: string;
|
|
3110
3110
|
title?: string | null | undefined;
|
|
3111
3111
|
description?: string | null | undefined;
|
|
3112
|
+
salePrice?: number | null | undefined;
|
|
3113
|
+
buyPrice?: number | null | undefined;
|
|
3112
3114
|
categoryId?: number | null | undefined;
|
|
3113
3115
|
brand?: string | null | undefined;
|
|
3116
|
+
statusId?: number | null | undefined;
|
|
3117
|
+
sizeId?: number | null | undefined;
|
|
3114
3118
|
colorIds?: number[] | null | undefined;
|
|
3115
3119
|
packageSizeId?: number | null | undefined;
|
|
3116
|
-
sizeId?: number | null | undefined;
|
|
3117
|
-
statusId?: number | null | undefined;
|
|
3118
|
-
salePrice?: number | null | undefined;
|
|
3119
|
-
buyPrice?: number | null | undefined;
|
|
3120
3120
|
};
|
|
3121
3121
|
}>, z.ZodObject<{
|
|
3122
3122
|
data: z.ZodObject<{
|
|
@@ -3222,7 +3222,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3222
3222
|
type: "ACTIONS";
|
|
3223
3223
|
data: {
|
|
3224
3224
|
actions: {
|
|
3225
|
-
type: "
|
|
3225
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3226
|
+
enabled: boolean;
|
|
3226
3227
|
payload: {
|
|
3227
3228
|
type: "EMPTY";
|
|
3228
3229
|
} | {
|
|
@@ -3277,7 +3278,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3277
3278
|
seconds: number;
|
|
3278
3279
|
};
|
|
3279
3280
|
};
|
|
3280
|
-
enabled: boolean;
|
|
3281
3281
|
mandatory?: boolean | null | undefined;
|
|
3282
3282
|
}[];
|
|
3283
3283
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3289,8 +3289,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3289
3289
|
} | {
|
|
3290
3290
|
type: "MANUAL";
|
|
3291
3291
|
timeSlots: {
|
|
3292
|
-
itemCount: number;
|
|
3293
3292
|
time: Date;
|
|
3293
|
+
itemCount: number;
|
|
3294
3294
|
}[];
|
|
3295
3295
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3296
3296
|
} | null | undefined;
|
|
@@ -3340,14 +3340,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3340
3340
|
name: string;
|
|
3341
3341
|
title?: string | null | undefined;
|
|
3342
3342
|
description?: string | null | undefined;
|
|
3343
|
+
salePrice?: number | null | undefined;
|
|
3344
|
+
buyPrice?: number | null | undefined;
|
|
3343
3345
|
categoryId?: number | null | undefined;
|
|
3344
3346
|
brand?: string | null | undefined;
|
|
3347
|
+
statusId?: number | null | undefined;
|
|
3348
|
+
sizeId?: number | null | undefined;
|
|
3345
3349
|
colorIds?: number[] | null | undefined;
|
|
3346
3350
|
packageSizeId?: number | null | undefined;
|
|
3347
|
-
sizeId?: number | null | undefined;
|
|
3348
|
-
statusId?: number | null | undefined;
|
|
3349
|
-
salePrice?: number | null | undefined;
|
|
3350
|
-
buyPrice?: number | null | undefined;
|
|
3351
3351
|
};
|
|
3352
3352
|
} | {
|
|
3353
3353
|
type: "TEXT";
|
|
@@ -3372,8 +3372,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3372
3372
|
borderColor?: string | null | undefined;
|
|
3373
3373
|
};
|
|
3374
3374
|
};
|
|
3375
|
-
id: string;
|
|
3376
3375
|
name: string;
|
|
3376
|
+
id: string;
|
|
3377
3377
|
caseId: string;
|
|
3378
3378
|
weight: number;
|
|
3379
3379
|
}, {
|
|
@@ -3381,7 +3381,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3381
3381
|
type: "ACTIONS";
|
|
3382
3382
|
data: {
|
|
3383
3383
|
actions: {
|
|
3384
|
-
type: "
|
|
3384
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3385
|
+
enabled: boolean;
|
|
3385
3386
|
payload: {
|
|
3386
3387
|
type: "EMPTY";
|
|
3387
3388
|
} | {
|
|
@@ -3436,7 +3437,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3436
3437
|
seconds: number;
|
|
3437
3438
|
};
|
|
3438
3439
|
};
|
|
3439
|
-
enabled: boolean;
|
|
3440
3440
|
mandatory?: boolean | null | undefined;
|
|
3441
3441
|
}[];
|
|
3442
3442
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3448,8 +3448,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3448
3448
|
} | {
|
|
3449
3449
|
type: "MANUAL";
|
|
3450
3450
|
timeSlots: {
|
|
3451
|
-
itemCount: number;
|
|
3452
3451
|
time: Date;
|
|
3452
|
+
itemCount: number;
|
|
3453
3453
|
}[];
|
|
3454
3454
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3455
3455
|
} | null | undefined;
|
|
@@ -3499,14 +3499,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3499
3499
|
name: string;
|
|
3500
3500
|
title?: string | null | undefined;
|
|
3501
3501
|
description?: string | null | undefined;
|
|
3502
|
+
salePrice?: number | null | undefined;
|
|
3503
|
+
buyPrice?: number | null | undefined;
|
|
3502
3504
|
categoryId?: number | null | undefined;
|
|
3503
3505
|
brand?: string | null | undefined;
|
|
3506
|
+
statusId?: number | null | undefined;
|
|
3507
|
+
sizeId?: number | null | undefined;
|
|
3504
3508
|
colorIds?: number[] | null | undefined;
|
|
3505
3509
|
packageSizeId?: number | null | undefined;
|
|
3506
|
-
sizeId?: number | null | undefined;
|
|
3507
|
-
statusId?: number | null | undefined;
|
|
3508
|
-
salePrice?: number | null | undefined;
|
|
3509
|
-
buyPrice?: number | null | undefined;
|
|
3510
3510
|
};
|
|
3511
3511
|
} | {
|
|
3512
3512
|
type: "TEXT";
|
|
@@ -3531,26 +3531,27 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3531
3531
|
borderColor?: string | null | undefined;
|
|
3532
3532
|
};
|
|
3533
3533
|
};
|
|
3534
|
-
id: string;
|
|
3535
3534
|
name: string;
|
|
3535
|
+
id: string;
|
|
3536
3536
|
caseId: string;
|
|
3537
3537
|
weight: number;
|
|
3538
3538
|
}>, "many">>>;
|
|
3539
3539
|
createdAt: z.ZodDate;
|
|
3540
3540
|
}, "strip", z.ZodTypeAny, {
|
|
3541
|
-
id: string;
|
|
3542
|
-
createdAt: Date;
|
|
3543
3541
|
enabled: boolean;
|
|
3544
|
-
preferenceId: string;
|
|
3545
3542
|
testMode: boolean;
|
|
3543
|
+
id: string;
|
|
3544
|
+
preferenceId: string;
|
|
3546
3545
|
abTest: boolean;
|
|
3546
|
+
createdAt: Date;
|
|
3547
3547
|
savedFiltersId?: string | null | undefined;
|
|
3548
3548
|
variants?: {
|
|
3549
3549
|
payload: {
|
|
3550
3550
|
type: "ACTIONS";
|
|
3551
3551
|
data: {
|
|
3552
3552
|
actions: {
|
|
3553
|
-
type: "
|
|
3553
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3554
|
+
enabled: boolean;
|
|
3554
3555
|
payload: {
|
|
3555
3556
|
type: "EMPTY";
|
|
3556
3557
|
} | {
|
|
@@ -3605,7 +3606,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3605
3606
|
seconds: number;
|
|
3606
3607
|
};
|
|
3607
3608
|
};
|
|
3608
|
-
enabled: boolean;
|
|
3609
3609
|
mandatory?: boolean | null | undefined;
|
|
3610
3610
|
}[];
|
|
3611
3611
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3617,8 +3617,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3617
3617
|
} | {
|
|
3618
3618
|
type: "MANUAL";
|
|
3619
3619
|
timeSlots: {
|
|
3620
|
-
itemCount: number;
|
|
3621
3620
|
time: Date;
|
|
3621
|
+
itemCount: number;
|
|
3622
3622
|
}[];
|
|
3623
3623
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3624
3624
|
} | null | undefined;
|
|
@@ -3668,14 +3668,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3668
3668
|
name: string;
|
|
3669
3669
|
title?: string | null | undefined;
|
|
3670
3670
|
description?: string | null | undefined;
|
|
3671
|
+
salePrice?: number | null | undefined;
|
|
3672
|
+
buyPrice?: number | null | undefined;
|
|
3671
3673
|
categoryId?: number | null | undefined;
|
|
3672
3674
|
brand?: string | null | undefined;
|
|
3675
|
+
statusId?: number | null | undefined;
|
|
3676
|
+
sizeId?: number | null | undefined;
|
|
3673
3677
|
colorIds?: number[] | null | undefined;
|
|
3674
3678
|
packageSizeId?: number | null | undefined;
|
|
3675
|
-
sizeId?: number | null | undefined;
|
|
3676
|
-
statusId?: number | null | undefined;
|
|
3677
|
-
salePrice?: number | null | undefined;
|
|
3678
|
-
buyPrice?: number | null | undefined;
|
|
3679
3679
|
};
|
|
3680
3680
|
} | {
|
|
3681
3681
|
type: "TEXT";
|
|
@@ -3700,25 +3700,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3700
3700
|
borderColor?: string | null | undefined;
|
|
3701
3701
|
};
|
|
3702
3702
|
};
|
|
3703
|
-
id: string;
|
|
3704
3703
|
name: string;
|
|
3704
|
+
id: string;
|
|
3705
3705
|
caseId: string;
|
|
3706
3706
|
weight: number;
|
|
3707
3707
|
}[] | null | undefined;
|
|
3708
3708
|
}, {
|
|
3709
|
-
id: string;
|
|
3710
|
-
createdAt: Date;
|
|
3711
3709
|
enabled: boolean;
|
|
3712
|
-
preferenceId: string;
|
|
3713
3710
|
testMode: boolean;
|
|
3711
|
+
id: string;
|
|
3712
|
+
preferenceId: string;
|
|
3714
3713
|
abTest: boolean;
|
|
3714
|
+
createdAt: Date;
|
|
3715
3715
|
savedFiltersId?: string | null | undefined;
|
|
3716
3716
|
variants?: {
|
|
3717
3717
|
payload: {
|
|
3718
3718
|
type: "ACTIONS";
|
|
3719
3719
|
data: {
|
|
3720
3720
|
actions: {
|
|
3721
|
-
type: "
|
|
3721
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3722
|
+
enabled: boolean;
|
|
3722
3723
|
payload: {
|
|
3723
3724
|
type: "EMPTY";
|
|
3724
3725
|
} | {
|
|
@@ -3773,7 +3774,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3773
3774
|
seconds: number;
|
|
3774
3775
|
};
|
|
3775
3776
|
};
|
|
3776
|
-
enabled: boolean;
|
|
3777
3777
|
mandatory?: boolean | null | undefined;
|
|
3778
3778
|
}[];
|
|
3779
3779
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3785,8 +3785,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3785
3785
|
} | {
|
|
3786
3786
|
type: "MANUAL";
|
|
3787
3787
|
timeSlots: {
|
|
3788
|
-
itemCount: number;
|
|
3789
3788
|
time: Date;
|
|
3789
|
+
itemCount: number;
|
|
3790
3790
|
}[];
|
|
3791
3791
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3792
3792
|
} | null | undefined;
|
|
@@ -3836,14 +3836,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3836
3836
|
name: string;
|
|
3837
3837
|
title?: string | null | undefined;
|
|
3838
3838
|
description?: string | null | undefined;
|
|
3839
|
+
salePrice?: number | null | undefined;
|
|
3840
|
+
buyPrice?: number | null | undefined;
|
|
3839
3841
|
categoryId?: number | null | undefined;
|
|
3840
3842
|
brand?: string | null | undefined;
|
|
3843
|
+
statusId?: number | null | undefined;
|
|
3844
|
+
sizeId?: number | null | undefined;
|
|
3841
3845
|
colorIds?: number[] | null | undefined;
|
|
3842
3846
|
packageSizeId?: number | null | undefined;
|
|
3843
|
-
sizeId?: number | null | undefined;
|
|
3844
|
-
statusId?: number | null | undefined;
|
|
3845
|
-
salePrice?: number | null | undefined;
|
|
3846
|
-
buyPrice?: number | null | undefined;
|
|
3847
3847
|
};
|
|
3848
3848
|
} | {
|
|
3849
3849
|
type: "TEXT";
|
|
@@ -3868,8 +3868,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
3868
3868
|
borderColor?: string | null | undefined;
|
|
3869
3869
|
};
|
|
3870
3870
|
};
|
|
3871
|
-
id: string;
|
|
3872
3871
|
name: string;
|
|
3872
|
+
id: string;
|
|
3873
3873
|
caseId: string;
|
|
3874
3874
|
weight: number;
|
|
3875
3875
|
}[] | null | undefined;
|
|
@@ -4154,7 +4154,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4154
4154
|
}>]>;
|
|
4155
4155
|
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4156
4156
|
}, "strip", z.ZodTypeAny, {
|
|
4157
|
-
type: "
|
|
4157
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4158
|
+
enabled: boolean;
|
|
4158
4159
|
payload: {
|
|
4159
4160
|
type: "EMPTY";
|
|
4160
4161
|
} | {
|
|
@@ -4209,10 +4210,10 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4209
4210
|
seconds: number;
|
|
4210
4211
|
};
|
|
4211
4212
|
};
|
|
4212
|
-
enabled: boolean;
|
|
4213
4213
|
mandatory?: boolean | null | undefined;
|
|
4214
4214
|
}, {
|
|
4215
|
-
type: "
|
|
4215
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4216
|
+
enabled: boolean;
|
|
4216
4217
|
payload: {
|
|
4217
4218
|
type: "EMPTY";
|
|
4218
4219
|
} | {
|
|
@@ -4267,7 +4268,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4267
4268
|
seconds: number;
|
|
4268
4269
|
};
|
|
4269
4270
|
};
|
|
4270
|
-
enabled: boolean;
|
|
4271
4271
|
mandatory?: boolean | null | undefined;
|
|
4272
4272
|
}>, "many">;
|
|
4273
4273
|
maxLaunchesPerDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4291,26 +4291,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4291
4291
|
time: z.ZodDate;
|
|
4292
4292
|
itemCount: z.ZodNumber;
|
|
4293
4293
|
}, "strip", z.ZodTypeAny, {
|
|
4294
|
-
itemCount: number;
|
|
4295
4294
|
time: Date;
|
|
4296
|
-
}, {
|
|
4297
4295
|
itemCount: number;
|
|
4296
|
+
}, {
|
|
4298
4297
|
time: Date;
|
|
4298
|
+
itemCount: number;
|
|
4299
4299
|
}>, "many">;
|
|
4300
4300
|
daysOfWeek: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"MONDAY">, z.ZodLiteral<"TUESDAY">, z.ZodLiteral<"WEDNESDAY">, z.ZodLiteral<"THURSDAY">, z.ZodLiteral<"FRIDAY">, z.ZodLiteral<"SATURDAY">, z.ZodLiteral<"SUNDAY">]>, "many">>>;
|
|
4301
4301
|
type: z.ZodLiteral<"MANUAL">;
|
|
4302
4302
|
}, "strip", z.ZodTypeAny, {
|
|
4303
4303
|
type: "MANUAL";
|
|
4304
4304
|
timeSlots: {
|
|
4305
|
-
itemCount: number;
|
|
4306
4305
|
time: Date;
|
|
4306
|
+
itemCount: number;
|
|
4307
4307
|
}[];
|
|
4308
4308
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4309
4309
|
}, {
|
|
4310
4310
|
type: "MANUAL";
|
|
4311
4311
|
timeSlots: {
|
|
4312
|
-
itemCount: number;
|
|
4313
4312
|
time: Date;
|
|
4313
|
+
itemCount: number;
|
|
4314
4314
|
}[];
|
|
4315
4315
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4316
4316
|
}>]>>>;
|
|
@@ -4318,7 +4318,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4318
4318
|
resetPriceOnRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4319
4319
|
}, "strip", z.ZodTypeAny, {
|
|
4320
4320
|
actions: {
|
|
4321
|
-
type: "
|
|
4321
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4322
|
+
enabled: boolean;
|
|
4322
4323
|
payload: {
|
|
4323
4324
|
type: "EMPTY";
|
|
4324
4325
|
} | {
|
|
@@ -4373,7 +4374,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4373
4374
|
seconds: number;
|
|
4374
4375
|
};
|
|
4375
4376
|
};
|
|
4376
|
-
enabled: boolean;
|
|
4377
4377
|
mandatory?: boolean | null | undefined;
|
|
4378
4378
|
}[];
|
|
4379
4379
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4385,8 +4385,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4385
4385
|
} | {
|
|
4386
4386
|
type: "MANUAL";
|
|
4387
4387
|
timeSlots: {
|
|
4388
|
-
itemCount: number;
|
|
4389
4388
|
time: Date;
|
|
4389
|
+
itemCount: number;
|
|
4390
4390
|
}[];
|
|
4391
4391
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4392
4392
|
} | null | undefined;
|
|
@@ -4394,7 +4394,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4394
4394
|
resetPriceOnRepeat?: boolean | null | undefined;
|
|
4395
4395
|
}, {
|
|
4396
4396
|
actions: {
|
|
4397
|
-
type: "
|
|
4397
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4398
|
+
enabled: boolean;
|
|
4398
4399
|
payload: {
|
|
4399
4400
|
type: "EMPTY";
|
|
4400
4401
|
} | {
|
|
@@ -4449,7 +4450,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4449
4450
|
seconds: number;
|
|
4450
4451
|
};
|
|
4451
4452
|
};
|
|
4452
|
-
enabled: boolean;
|
|
4453
4453
|
mandatory?: boolean | null | undefined;
|
|
4454
4454
|
}[];
|
|
4455
4455
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4461,8 +4461,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4461
4461
|
} | {
|
|
4462
4462
|
type: "MANUAL";
|
|
4463
4463
|
timeSlots: {
|
|
4464
|
-
itemCount: number;
|
|
4465
4464
|
time: Date;
|
|
4465
|
+
itemCount: number;
|
|
4466
4466
|
}[];
|
|
4467
4467
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4468
4468
|
} | null | undefined;
|
|
@@ -4474,7 +4474,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4474
4474
|
type: "ACTIONS";
|
|
4475
4475
|
data: {
|
|
4476
4476
|
actions: {
|
|
4477
|
-
type: "
|
|
4477
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4478
|
+
enabled: boolean;
|
|
4478
4479
|
payload: {
|
|
4479
4480
|
type: "EMPTY";
|
|
4480
4481
|
} | {
|
|
@@ -4529,7 +4530,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4529
4530
|
seconds: number;
|
|
4530
4531
|
};
|
|
4531
4532
|
};
|
|
4532
|
-
enabled: boolean;
|
|
4533
4533
|
mandatory?: boolean | null | undefined;
|
|
4534
4534
|
}[];
|
|
4535
4535
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4541,8 +4541,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4541
4541
|
} | {
|
|
4542
4542
|
type: "MANUAL";
|
|
4543
4543
|
timeSlots: {
|
|
4544
|
-
itemCount: number;
|
|
4545
4544
|
time: Date;
|
|
4545
|
+
itemCount: number;
|
|
4546
4546
|
}[];
|
|
4547
4547
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4548
4548
|
} | null | undefined;
|
|
@@ -4553,7 +4553,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4553
4553
|
type: "ACTIONS";
|
|
4554
4554
|
data: {
|
|
4555
4555
|
actions: {
|
|
4556
|
-
type: "
|
|
4556
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4557
|
+
enabled: boolean;
|
|
4557
4558
|
payload: {
|
|
4558
4559
|
type: "EMPTY";
|
|
4559
4560
|
} | {
|
|
@@ -4608,7 +4609,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4608
4609
|
seconds: number;
|
|
4609
4610
|
};
|
|
4610
4611
|
};
|
|
4611
|
-
enabled: boolean;
|
|
4612
4612
|
mandatory?: boolean | null | undefined;
|
|
4613
4613
|
}[];
|
|
4614
4614
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4620,8 +4620,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4620
4620
|
} | {
|
|
4621
4621
|
type: "MANUAL";
|
|
4622
4622
|
timeSlots: {
|
|
4623
|
-
itemCount: number;
|
|
4624
4623
|
time: Date;
|
|
4624
|
+
itemCount: number;
|
|
4625
4625
|
}[];
|
|
4626
4626
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4627
4627
|
} | null | undefined;
|
|
@@ -4816,26 +4816,26 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4816
4816
|
name: string;
|
|
4817
4817
|
title?: string | null | undefined;
|
|
4818
4818
|
description?: string | null | undefined;
|
|
4819
|
+
salePrice?: number | null | undefined;
|
|
4820
|
+
buyPrice?: number | null | undefined;
|
|
4819
4821
|
categoryId?: number | null | undefined;
|
|
4820
4822
|
brand?: string | null | undefined;
|
|
4823
|
+
statusId?: number | null | undefined;
|
|
4824
|
+
sizeId?: number | null | undefined;
|
|
4821
4825
|
colorIds?: number[] | null | undefined;
|
|
4822
4826
|
packageSizeId?: number | null | undefined;
|
|
4823
|
-
sizeId?: number | null | undefined;
|
|
4824
|
-
statusId?: number | null | undefined;
|
|
4825
|
-
salePrice?: number | null | undefined;
|
|
4826
|
-
buyPrice?: number | null | undefined;
|
|
4827
4827
|
}, {
|
|
4828
4828
|
name: string;
|
|
4829
4829
|
title?: string | null | undefined;
|
|
4830
4830
|
description?: string | null | undefined;
|
|
4831
|
+
salePrice?: number | null | undefined;
|
|
4832
|
+
buyPrice?: number | null | undefined;
|
|
4831
4833
|
categoryId?: number | null | undefined;
|
|
4832
4834
|
brand?: string | null | undefined;
|
|
4835
|
+
statusId?: number | null | undefined;
|
|
4836
|
+
sizeId?: number | null | undefined;
|
|
4833
4837
|
colorIds?: number[] | null | undefined;
|
|
4834
4838
|
packageSizeId?: number | null | undefined;
|
|
4835
|
-
sizeId?: number | null | undefined;
|
|
4836
|
-
statusId?: number | null | undefined;
|
|
4837
|
-
salePrice?: number | null | undefined;
|
|
4838
|
-
buyPrice?: number | null | undefined;
|
|
4839
4839
|
}>;
|
|
4840
4840
|
type: z.ZodLiteral<"TEMPLATE">;
|
|
4841
4841
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4844,14 +4844,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4844
4844
|
name: string;
|
|
4845
4845
|
title?: string | null | undefined;
|
|
4846
4846
|
description?: string | null | undefined;
|
|
4847
|
+
salePrice?: number | null | undefined;
|
|
4848
|
+
buyPrice?: number | null | undefined;
|
|
4847
4849
|
categoryId?: number | null | undefined;
|
|
4848
4850
|
brand?: string | null | undefined;
|
|
4851
|
+
statusId?: number | null | undefined;
|
|
4852
|
+
sizeId?: number | null | undefined;
|
|
4849
4853
|
colorIds?: number[] | null | undefined;
|
|
4850
4854
|
packageSizeId?: number | null | undefined;
|
|
4851
|
-
sizeId?: number | null | undefined;
|
|
4852
|
-
statusId?: number | null | undefined;
|
|
4853
|
-
salePrice?: number | null | undefined;
|
|
4854
|
-
buyPrice?: number | null | undefined;
|
|
4855
4855
|
};
|
|
4856
4856
|
}, {
|
|
4857
4857
|
type: "TEMPLATE";
|
|
@@ -4859,14 +4859,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4859
4859
|
name: string;
|
|
4860
4860
|
title?: string | null | undefined;
|
|
4861
4861
|
description?: string | null | undefined;
|
|
4862
|
+
salePrice?: number | null | undefined;
|
|
4863
|
+
buyPrice?: number | null | undefined;
|
|
4862
4864
|
categoryId?: number | null | undefined;
|
|
4863
4865
|
brand?: string | null | undefined;
|
|
4866
|
+
statusId?: number | null | undefined;
|
|
4867
|
+
sizeId?: number | null | undefined;
|
|
4864
4868
|
colorIds?: number[] | null | undefined;
|
|
4865
4869
|
packageSizeId?: number | null | undefined;
|
|
4866
|
-
sizeId?: number | null | undefined;
|
|
4867
|
-
statusId?: number | null | undefined;
|
|
4868
|
-
salePrice?: number | null | undefined;
|
|
4869
|
-
buyPrice?: number | null | undefined;
|
|
4870
4870
|
};
|
|
4871
4871
|
}>, z.ZodObject<{
|
|
4872
4872
|
data: z.ZodObject<{
|
|
@@ -4972,7 +4972,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
4972
4972
|
type: "ACTIONS";
|
|
4973
4973
|
data: {
|
|
4974
4974
|
actions: {
|
|
4975
|
-
type: "
|
|
4975
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4976
|
+
enabled: boolean;
|
|
4976
4977
|
payload: {
|
|
4977
4978
|
type: "EMPTY";
|
|
4978
4979
|
} | {
|
|
@@ -5027,7 +5028,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5027
5028
|
seconds: number;
|
|
5028
5029
|
};
|
|
5029
5030
|
};
|
|
5030
|
-
enabled: boolean;
|
|
5031
5031
|
mandatory?: boolean | null | undefined;
|
|
5032
5032
|
}[];
|
|
5033
5033
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5039,8 +5039,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5039
5039
|
} | {
|
|
5040
5040
|
type: "MANUAL";
|
|
5041
5041
|
timeSlots: {
|
|
5042
|
-
itemCount: number;
|
|
5043
5042
|
time: Date;
|
|
5043
|
+
itemCount: number;
|
|
5044
5044
|
}[];
|
|
5045
5045
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5046
5046
|
} | null | undefined;
|
|
@@ -5090,14 +5090,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5090
5090
|
name: string;
|
|
5091
5091
|
title?: string | null | undefined;
|
|
5092
5092
|
description?: string | null | undefined;
|
|
5093
|
+
salePrice?: number | null | undefined;
|
|
5094
|
+
buyPrice?: number | null | undefined;
|
|
5093
5095
|
categoryId?: number | null | undefined;
|
|
5094
5096
|
brand?: string | null | undefined;
|
|
5097
|
+
statusId?: number | null | undefined;
|
|
5098
|
+
sizeId?: number | null | undefined;
|
|
5095
5099
|
colorIds?: number[] | null | undefined;
|
|
5096
5100
|
packageSizeId?: number | null | undefined;
|
|
5097
|
-
sizeId?: number | null | undefined;
|
|
5098
|
-
statusId?: number | null | undefined;
|
|
5099
|
-
salePrice?: number | null | undefined;
|
|
5100
|
-
buyPrice?: number | null | undefined;
|
|
5101
5101
|
};
|
|
5102
5102
|
} | {
|
|
5103
5103
|
type: "TEXT";
|
|
@@ -5122,8 +5122,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5122
5122
|
borderColor?: string | null | undefined;
|
|
5123
5123
|
};
|
|
5124
5124
|
};
|
|
5125
|
-
id: string;
|
|
5126
5125
|
name: string;
|
|
5126
|
+
id: string;
|
|
5127
5127
|
caseId: string;
|
|
5128
5128
|
weight: number;
|
|
5129
5129
|
}, {
|
|
@@ -5131,7 +5131,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5131
5131
|
type: "ACTIONS";
|
|
5132
5132
|
data: {
|
|
5133
5133
|
actions: {
|
|
5134
|
-
type: "
|
|
5134
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5135
|
+
enabled: boolean;
|
|
5135
5136
|
payload: {
|
|
5136
5137
|
type: "EMPTY";
|
|
5137
5138
|
} | {
|
|
@@ -5186,7 +5187,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5186
5187
|
seconds: number;
|
|
5187
5188
|
};
|
|
5188
5189
|
};
|
|
5189
|
-
enabled: boolean;
|
|
5190
5190
|
mandatory?: boolean | null | undefined;
|
|
5191
5191
|
}[];
|
|
5192
5192
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5198,8 +5198,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5198
5198
|
} | {
|
|
5199
5199
|
type: "MANUAL";
|
|
5200
5200
|
timeSlots: {
|
|
5201
|
-
itemCount: number;
|
|
5202
5201
|
time: Date;
|
|
5202
|
+
itemCount: number;
|
|
5203
5203
|
}[];
|
|
5204
5204
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5205
5205
|
} | null | undefined;
|
|
@@ -5249,14 +5249,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5249
5249
|
name: string;
|
|
5250
5250
|
title?: string | null | undefined;
|
|
5251
5251
|
description?: string | null | undefined;
|
|
5252
|
+
salePrice?: number | null | undefined;
|
|
5253
|
+
buyPrice?: number | null | undefined;
|
|
5252
5254
|
categoryId?: number | null | undefined;
|
|
5253
5255
|
brand?: string | null | undefined;
|
|
5256
|
+
statusId?: number | null | undefined;
|
|
5257
|
+
sizeId?: number | null | undefined;
|
|
5254
5258
|
colorIds?: number[] | null | undefined;
|
|
5255
5259
|
packageSizeId?: number | null | undefined;
|
|
5256
|
-
sizeId?: number | null | undefined;
|
|
5257
|
-
statusId?: number | null | undefined;
|
|
5258
|
-
salePrice?: number | null | undefined;
|
|
5259
|
-
buyPrice?: number | null | undefined;
|
|
5260
5260
|
};
|
|
5261
5261
|
} | {
|
|
5262
5262
|
type: "TEXT";
|
|
@@ -5281,32 +5281,34 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5281
5281
|
borderColor?: string | null | undefined;
|
|
5282
5282
|
};
|
|
5283
5283
|
};
|
|
5284
|
-
id: string;
|
|
5285
5284
|
name: string;
|
|
5285
|
+
id: string;
|
|
5286
5286
|
caseId: string;
|
|
5287
5287
|
weight: number;
|
|
5288
5288
|
}>;
|
|
5289
5289
|
}, "strip", z.ZodTypeAny, {
|
|
5290
5290
|
preference: {
|
|
5291
|
-
type: "
|
|
5292
|
-
id: string;
|
|
5293
|
-
userId: number;
|
|
5291
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
5294
5292
|
enabled: boolean;
|
|
5295
5293
|
testMode: boolean;
|
|
5294
|
+
id: string;
|
|
5295
|
+
userId: number;
|
|
5296
|
+
parentPreferenceId?: string | null | undefined;
|
|
5296
5297
|
cases?: {
|
|
5297
|
-
id: string;
|
|
5298
|
-
createdAt: Date;
|
|
5299
5298
|
enabled: boolean;
|
|
5300
|
-
preferenceId: string;
|
|
5301
5299
|
testMode: boolean;
|
|
5300
|
+
id: string;
|
|
5301
|
+
preferenceId: string;
|
|
5302
5302
|
abTest: boolean;
|
|
5303
|
+
createdAt: Date;
|
|
5303
5304
|
savedFiltersId?: string | null | undefined;
|
|
5304
5305
|
variants?: {
|
|
5305
5306
|
payload: {
|
|
5306
5307
|
type: "ACTIONS";
|
|
5307
5308
|
data: {
|
|
5308
5309
|
actions: {
|
|
5309
|
-
type: "
|
|
5310
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5311
|
+
enabled: boolean;
|
|
5310
5312
|
payload: {
|
|
5311
5313
|
type: "EMPTY";
|
|
5312
5314
|
} | {
|
|
@@ -5361,7 +5363,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5361
5363
|
seconds: number;
|
|
5362
5364
|
};
|
|
5363
5365
|
};
|
|
5364
|
-
enabled: boolean;
|
|
5365
5366
|
mandatory?: boolean | null | undefined;
|
|
5366
5367
|
}[];
|
|
5367
5368
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5373,8 +5374,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5373
5374
|
} | {
|
|
5374
5375
|
type: "MANUAL";
|
|
5375
5376
|
timeSlots: {
|
|
5376
|
-
itemCount: number;
|
|
5377
5377
|
time: Date;
|
|
5378
|
+
itemCount: number;
|
|
5378
5379
|
}[];
|
|
5379
5380
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5380
5381
|
} | null | undefined;
|
|
@@ -5424,14 +5425,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5424
5425
|
name: string;
|
|
5425
5426
|
title?: string | null | undefined;
|
|
5426
5427
|
description?: string | null | undefined;
|
|
5428
|
+
salePrice?: number | null | undefined;
|
|
5429
|
+
buyPrice?: number | null | undefined;
|
|
5427
5430
|
categoryId?: number | null | undefined;
|
|
5428
5431
|
brand?: string | null | undefined;
|
|
5432
|
+
statusId?: number | null | undefined;
|
|
5433
|
+
sizeId?: number | null | undefined;
|
|
5429
5434
|
colorIds?: number[] | null | undefined;
|
|
5430
5435
|
packageSizeId?: number | null | undefined;
|
|
5431
|
-
sizeId?: number | null | undefined;
|
|
5432
|
-
statusId?: number | null | undefined;
|
|
5433
|
-
salePrice?: number | null | undefined;
|
|
5434
|
-
buyPrice?: number | null | undefined;
|
|
5435
5436
|
};
|
|
5436
5437
|
} | {
|
|
5437
5438
|
type: "TEXT";
|
|
@@ -5456,28 +5457,28 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5456
5457
|
borderColor?: string | null | undefined;
|
|
5457
5458
|
};
|
|
5458
5459
|
};
|
|
5459
|
-
id: string;
|
|
5460
5460
|
name: string;
|
|
5461
|
+
id: string;
|
|
5461
5462
|
caseId: string;
|
|
5462
5463
|
weight: number;
|
|
5463
5464
|
}[] | null | undefined;
|
|
5464
5465
|
}[] | null | undefined;
|
|
5465
|
-
parentPreferenceId?: string | null | undefined;
|
|
5466
5466
|
};
|
|
5467
5467
|
case: {
|
|
5468
|
-
id: string;
|
|
5469
|
-
createdAt: Date;
|
|
5470
5468
|
enabled: boolean;
|
|
5471
|
-
preferenceId: string;
|
|
5472
5469
|
testMode: boolean;
|
|
5470
|
+
id: string;
|
|
5471
|
+
preferenceId: string;
|
|
5473
5472
|
abTest: boolean;
|
|
5473
|
+
createdAt: Date;
|
|
5474
5474
|
savedFiltersId?: string | null | undefined;
|
|
5475
5475
|
variants?: {
|
|
5476
5476
|
payload: {
|
|
5477
5477
|
type: "ACTIONS";
|
|
5478
5478
|
data: {
|
|
5479
5479
|
actions: {
|
|
5480
|
-
type: "
|
|
5480
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5481
|
+
enabled: boolean;
|
|
5481
5482
|
payload: {
|
|
5482
5483
|
type: "EMPTY";
|
|
5483
5484
|
} | {
|
|
@@ -5532,7 +5533,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5532
5533
|
seconds: number;
|
|
5533
5534
|
};
|
|
5534
5535
|
};
|
|
5535
|
-
enabled: boolean;
|
|
5536
5536
|
mandatory?: boolean | null | undefined;
|
|
5537
5537
|
}[];
|
|
5538
5538
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5544,8 +5544,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5544
5544
|
} | {
|
|
5545
5545
|
type: "MANUAL";
|
|
5546
5546
|
timeSlots: {
|
|
5547
|
-
itemCount: number;
|
|
5548
5547
|
time: Date;
|
|
5548
|
+
itemCount: number;
|
|
5549
5549
|
}[];
|
|
5550
5550
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5551
5551
|
} | null | undefined;
|
|
@@ -5595,14 +5595,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5595
5595
|
name: string;
|
|
5596
5596
|
title?: string | null | undefined;
|
|
5597
5597
|
description?: string | null | undefined;
|
|
5598
|
+
salePrice?: number | null | undefined;
|
|
5599
|
+
buyPrice?: number | null | undefined;
|
|
5598
5600
|
categoryId?: number | null | undefined;
|
|
5599
5601
|
brand?: string | null | undefined;
|
|
5602
|
+
statusId?: number | null | undefined;
|
|
5603
|
+
sizeId?: number | null | undefined;
|
|
5600
5604
|
colorIds?: number[] | null | undefined;
|
|
5601
5605
|
packageSizeId?: number | null | undefined;
|
|
5602
|
-
sizeId?: number | null | undefined;
|
|
5603
|
-
statusId?: number | null | undefined;
|
|
5604
|
-
salePrice?: number | null | undefined;
|
|
5605
|
-
buyPrice?: number | null | undefined;
|
|
5606
5606
|
};
|
|
5607
5607
|
} | {
|
|
5608
5608
|
type: "TEXT";
|
|
@@ -5627,8 +5627,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5627
5627
|
borderColor?: string | null | undefined;
|
|
5628
5628
|
};
|
|
5629
5629
|
};
|
|
5630
|
-
id: string;
|
|
5631
5630
|
name: string;
|
|
5631
|
+
id: string;
|
|
5632
5632
|
caseId: string;
|
|
5633
5633
|
weight: number;
|
|
5634
5634
|
}[] | null | undefined;
|
|
@@ -5638,7 +5638,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5638
5638
|
type: "ACTIONS";
|
|
5639
5639
|
data: {
|
|
5640
5640
|
actions: {
|
|
5641
|
-
type: "
|
|
5641
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5642
|
+
enabled: boolean;
|
|
5642
5643
|
payload: {
|
|
5643
5644
|
type: "EMPTY";
|
|
5644
5645
|
} | {
|
|
@@ -5693,7 +5694,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5693
5694
|
seconds: number;
|
|
5694
5695
|
};
|
|
5695
5696
|
};
|
|
5696
|
-
enabled: boolean;
|
|
5697
5697
|
mandatory?: boolean | null | undefined;
|
|
5698
5698
|
}[];
|
|
5699
5699
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5705,8 +5705,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5705
5705
|
} | {
|
|
5706
5706
|
type: "MANUAL";
|
|
5707
5707
|
timeSlots: {
|
|
5708
|
-
itemCount: number;
|
|
5709
5708
|
time: Date;
|
|
5709
|
+
itemCount: number;
|
|
5710
5710
|
}[];
|
|
5711
5711
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5712
5712
|
} | null | undefined;
|
|
@@ -5756,14 +5756,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5756
5756
|
name: string;
|
|
5757
5757
|
title?: string | null | undefined;
|
|
5758
5758
|
description?: string | null | undefined;
|
|
5759
|
+
salePrice?: number | null | undefined;
|
|
5760
|
+
buyPrice?: number | null | undefined;
|
|
5759
5761
|
categoryId?: number | null | undefined;
|
|
5760
5762
|
brand?: string | null | undefined;
|
|
5763
|
+
statusId?: number | null | undefined;
|
|
5764
|
+
sizeId?: number | null | undefined;
|
|
5761
5765
|
colorIds?: number[] | null | undefined;
|
|
5762
5766
|
packageSizeId?: number | null | undefined;
|
|
5763
|
-
sizeId?: number | null | undefined;
|
|
5764
|
-
statusId?: number | null | undefined;
|
|
5765
|
-
salePrice?: number | null | undefined;
|
|
5766
|
-
buyPrice?: number | null | undefined;
|
|
5767
5767
|
};
|
|
5768
5768
|
} | {
|
|
5769
5769
|
type: "TEXT";
|
|
@@ -5788,32 +5788,34 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5788
5788
|
borderColor?: string | null | undefined;
|
|
5789
5789
|
};
|
|
5790
5790
|
};
|
|
5791
|
-
id: string;
|
|
5792
5791
|
name: string;
|
|
5792
|
+
id: string;
|
|
5793
5793
|
caseId: string;
|
|
5794
5794
|
weight: number;
|
|
5795
5795
|
};
|
|
5796
5796
|
}, {
|
|
5797
5797
|
preference: {
|
|
5798
|
-
type: "
|
|
5799
|
-
id: string;
|
|
5800
|
-
userId: number;
|
|
5798
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
5801
5799
|
enabled: boolean;
|
|
5802
5800
|
testMode: boolean;
|
|
5801
|
+
id: string;
|
|
5802
|
+
userId: number;
|
|
5803
|
+
parentPreferenceId?: string | null | undefined;
|
|
5803
5804
|
cases?: {
|
|
5804
|
-
id: string;
|
|
5805
|
-
createdAt: Date;
|
|
5806
5805
|
enabled: boolean;
|
|
5807
|
-
preferenceId: string;
|
|
5808
5806
|
testMode: boolean;
|
|
5807
|
+
id: string;
|
|
5808
|
+
preferenceId: string;
|
|
5809
5809
|
abTest: boolean;
|
|
5810
|
+
createdAt: Date;
|
|
5810
5811
|
savedFiltersId?: string | null | undefined;
|
|
5811
5812
|
variants?: {
|
|
5812
5813
|
payload: {
|
|
5813
5814
|
type: "ACTIONS";
|
|
5814
5815
|
data: {
|
|
5815
5816
|
actions: {
|
|
5816
|
-
type: "
|
|
5817
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5818
|
+
enabled: boolean;
|
|
5817
5819
|
payload: {
|
|
5818
5820
|
type: "EMPTY";
|
|
5819
5821
|
} | {
|
|
@@ -5868,7 +5870,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5868
5870
|
seconds: number;
|
|
5869
5871
|
};
|
|
5870
5872
|
};
|
|
5871
|
-
enabled: boolean;
|
|
5872
5873
|
mandatory?: boolean | null | undefined;
|
|
5873
5874
|
}[];
|
|
5874
5875
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -5880,8 +5881,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5880
5881
|
} | {
|
|
5881
5882
|
type: "MANUAL";
|
|
5882
5883
|
timeSlots: {
|
|
5883
|
-
itemCount: number;
|
|
5884
5884
|
time: Date;
|
|
5885
|
+
itemCount: number;
|
|
5885
5886
|
}[];
|
|
5886
5887
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
5887
5888
|
} | null | undefined;
|
|
@@ -5931,14 +5932,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5931
5932
|
name: string;
|
|
5932
5933
|
title?: string | null | undefined;
|
|
5933
5934
|
description?: string | null | undefined;
|
|
5935
|
+
salePrice?: number | null | undefined;
|
|
5936
|
+
buyPrice?: number | null | undefined;
|
|
5934
5937
|
categoryId?: number | null | undefined;
|
|
5935
5938
|
brand?: string | null | undefined;
|
|
5939
|
+
statusId?: number | null | undefined;
|
|
5940
|
+
sizeId?: number | null | undefined;
|
|
5936
5941
|
colorIds?: number[] | null | undefined;
|
|
5937
5942
|
packageSizeId?: number | null | undefined;
|
|
5938
|
-
sizeId?: number | null | undefined;
|
|
5939
|
-
statusId?: number | null | undefined;
|
|
5940
|
-
salePrice?: number | null | undefined;
|
|
5941
|
-
buyPrice?: number | null | undefined;
|
|
5942
5943
|
};
|
|
5943
5944
|
} | {
|
|
5944
5945
|
type: "TEXT";
|
|
@@ -5963,28 +5964,28 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
5963
5964
|
borderColor?: string | null | undefined;
|
|
5964
5965
|
};
|
|
5965
5966
|
};
|
|
5966
|
-
id: string;
|
|
5967
5967
|
name: string;
|
|
5968
|
+
id: string;
|
|
5968
5969
|
caseId: string;
|
|
5969
5970
|
weight: number;
|
|
5970
5971
|
}[] | null | undefined;
|
|
5971
5972
|
}[] | null | undefined;
|
|
5972
|
-
parentPreferenceId?: string | null | undefined;
|
|
5973
5973
|
};
|
|
5974
5974
|
case: {
|
|
5975
|
-
id: string;
|
|
5976
|
-
createdAt: Date;
|
|
5977
5975
|
enabled: boolean;
|
|
5978
|
-
preferenceId: string;
|
|
5979
5976
|
testMode: boolean;
|
|
5977
|
+
id: string;
|
|
5978
|
+
preferenceId: string;
|
|
5980
5979
|
abTest: boolean;
|
|
5980
|
+
createdAt: Date;
|
|
5981
5981
|
savedFiltersId?: string | null | undefined;
|
|
5982
5982
|
variants?: {
|
|
5983
5983
|
payload: {
|
|
5984
5984
|
type: "ACTIONS";
|
|
5985
5985
|
data: {
|
|
5986
5986
|
actions: {
|
|
5987
|
-
type: "
|
|
5987
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
5988
|
+
enabled: boolean;
|
|
5988
5989
|
payload: {
|
|
5989
5990
|
type: "EMPTY";
|
|
5990
5991
|
} | {
|
|
@@ -6039,7 +6040,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6039
6040
|
seconds: number;
|
|
6040
6041
|
};
|
|
6041
6042
|
};
|
|
6042
|
-
enabled: boolean;
|
|
6043
6043
|
mandatory?: boolean | null | undefined;
|
|
6044
6044
|
}[];
|
|
6045
6045
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -6051,8 +6051,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6051
6051
|
} | {
|
|
6052
6052
|
type: "MANUAL";
|
|
6053
6053
|
timeSlots: {
|
|
6054
|
-
itemCount: number;
|
|
6055
6054
|
time: Date;
|
|
6055
|
+
itemCount: number;
|
|
6056
6056
|
}[];
|
|
6057
6057
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
6058
6058
|
} | null | undefined;
|
|
@@ -6102,14 +6102,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6102
6102
|
name: string;
|
|
6103
6103
|
title?: string | null | undefined;
|
|
6104
6104
|
description?: string | null | undefined;
|
|
6105
|
+
salePrice?: number | null | undefined;
|
|
6106
|
+
buyPrice?: number | null | undefined;
|
|
6105
6107
|
categoryId?: number | null | undefined;
|
|
6106
6108
|
brand?: string | null | undefined;
|
|
6109
|
+
statusId?: number | null | undefined;
|
|
6110
|
+
sizeId?: number | null | undefined;
|
|
6107
6111
|
colorIds?: number[] | null | undefined;
|
|
6108
6112
|
packageSizeId?: number | null | undefined;
|
|
6109
|
-
sizeId?: number | null | undefined;
|
|
6110
|
-
statusId?: number | null | undefined;
|
|
6111
|
-
salePrice?: number | null | undefined;
|
|
6112
|
-
buyPrice?: number | null | undefined;
|
|
6113
6113
|
};
|
|
6114
6114
|
} | {
|
|
6115
6115
|
type: "TEXT";
|
|
@@ -6134,8 +6134,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6134
6134
|
borderColor?: string | null | undefined;
|
|
6135
6135
|
};
|
|
6136
6136
|
};
|
|
6137
|
-
id: string;
|
|
6138
6137
|
name: string;
|
|
6138
|
+
id: string;
|
|
6139
6139
|
caseId: string;
|
|
6140
6140
|
weight: number;
|
|
6141
6141
|
}[] | null | undefined;
|
|
@@ -6145,7 +6145,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6145
6145
|
type: "ACTIONS";
|
|
6146
6146
|
data: {
|
|
6147
6147
|
actions: {
|
|
6148
|
-
type: "
|
|
6148
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
6149
|
+
enabled: boolean;
|
|
6149
6150
|
payload: {
|
|
6150
6151
|
type: "EMPTY";
|
|
6151
6152
|
} | {
|
|
@@ -6200,7 +6201,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6200
6201
|
seconds: number;
|
|
6201
6202
|
};
|
|
6202
6203
|
};
|
|
6203
|
-
enabled: boolean;
|
|
6204
6204
|
mandatory?: boolean | null | undefined;
|
|
6205
6205
|
}[];
|
|
6206
6206
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -6212,8 +6212,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6212
6212
|
} | {
|
|
6213
6213
|
type: "MANUAL";
|
|
6214
6214
|
timeSlots: {
|
|
6215
|
-
itemCount: number;
|
|
6216
6215
|
time: Date;
|
|
6216
|
+
itemCount: number;
|
|
6217
6217
|
}[];
|
|
6218
6218
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
6219
6219
|
} | null | undefined;
|
|
@@ -6263,14 +6263,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6263
6263
|
name: string;
|
|
6264
6264
|
title?: string | null | undefined;
|
|
6265
6265
|
description?: string | null | undefined;
|
|
6266
|
+
salePrice?: number | null | undefined;
|
|
6267
|
+
buyPrice?: number | null | undefined;
|
|
6266
6268
|
categoryId?: number | null | undefined;
|
|
6267
6269
|
brand?: string | null | undefined;
|
|
6270
|
+
statusId?: number | null | undefined;
|
|
6271
|
+
sizeId?: number | null | undefined;
|
|
6268
6272
|
colorIds?: number[] | null | undefined;
|
|
6269
6273
|
packageSizeId?: number | null | undefined;
|
|
6270
|
-
sizeId?: number | null | undefined;
|
|
6271
|
-
statusId?: number | null | undefined;
|
|
6272
|
-
salePrice?: number | null | undefined;
|
|
6273
|
-
buyPrice?: number | null | undefined;
|
|
6274
6274
|
};
|
|
6275
6275
|
} | {
|
|
6276
6276
|
type: "TEXT";
|
|
@@ -6295,8 +6295,8 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
|
|
|
6295
6295
|
borderColor?: string | null | undefined;
|
|
6296
6296
|
};
|
|
6297
6297
|
};
|
|
6298
|
-
id: string;
|
|
6299
6298
|
name: string;
|
|
6299
|
+
id: string;
|
|
6300
6300
|
caseId: string;
|
|
6301
6301
|
weight: number;
|
|
6302
6302
|
};
|