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
|
@@ -293,7 +293,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
293
293
|
}>]>;
|
|
294
294
|
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
type: "
|
|
296
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
297
|
+
enabled: boolean;
|
|
297
298
|
payload: {
|
|
298
299
|
type: "EMPTY";
|
|
299
300
|
} | {
|
|
@@ -348,10 +349,10 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
348
349
|
seconds: number;
|
|
349
350
|
};
|
|
350
351
|
};
|
|
351
|
-
enabled: boolean;
|
|
352
352
|
mandatory?: boolean | null | undefined;
|
|
353
353
|
}, {
|
|
354
|
-
type: "
|
|
354
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
355
|
+
enabled: boolean;
|
|
355
356
|
payload: {
|
|
356
357
|
type: "EMPTY";
|
|
357
358
|
} | {
|
|
@@ -406,7 +407,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
406
407
|
seconds: number;
|
|
407
408
|
};
|
|
408
409
|
};
|
|
409
|
-
enabled: boolean;
|
|
410
410
|
mandatory?: boolean | null | undefined;
|
|
411
411
|
}>, "many">;
|
|
412
412
|
maxLaunchesPerDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -430,26 +430,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
430
430
|
time: z.ZodDate;
|
|
431
431
|
itemCount: z.ZodNumber;
|
|
432
432
|
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
itemCount: number;
|
|
434
433
|
time: Date;
|
|
435
|
-
}, {
|
|
436
434
|
itemCount: number;
|
|
435
|
+
}, {
|
|
437
436
|
time: Date;
|
|
437
|
+
itemCount: number;
|
|
438
438
|
}>, "many">;
|
|
439
439
|
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">>>;
|
|
440
440
|
type: z.ZodLiteral<"MANUAL">;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
442
|
type: "MANUAL";
|
|
443
443
|
timeSlots: {
|
|
444
|
-
itemCount: number;
|
|
445
444
|
time: Date;
|
|
445
|
+
itemCount: number;
|
|
446
446
|
}[];
|
|
447
447
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
448
448
|
}, {
|
|
449
449
|
type: "MANUAL";
|
|
450
450
|
timeSlots: {
|
|
451
|
-
itemCount: number;
|
|
452
451
|
time: Date;
|
|
452
|
+
itemCount: number;
|
|
453
453
|
}[];
|
|
454
454
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
455
455
|
}>]>>>;
|
|
@@ -457,7 +457,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
457
457
|
resetPriceOnRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
actions: {
|
|
460
|
-
type: "
|
|
460
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
461
|
+
enabled: boolean;
|
|
461
462
|
payload: {
|
|
462
463
|
type: "EMPTY";
|
|
463
464
|
} | {
|
|
@@ -512,7 +513,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
512
513
|
seconds: number;
|
|
513
514
|
};
|
|
514
515
|
};
|
|
515
|
-
enabled: boolean;
|
|
516
516
|
mandatory?: boolean | null | undefined;
|
|
517
517
|
}[];
|
|
518
518
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -524,8 +524,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
524
524
|
} | {
|
|
525
525
|
type: "MANUAL";
|
|
526
526
|
timeSlots: {
|
|
527
|
-
itemCount: number;
|
|
528
527
|
time: Date;
|
|
528
|
+
itemCount: number;
|
|
529
529
|
}[];
|
|
530
530
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
531
531
|
} | null | undefined;
|
|
@@ -533,7 +533,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
533
533
|
resetPriceOnRepeat?: boolean | null | undefined;
|
|
534
534
|
}, {
|
|
535
535
|
actions: {
|
|
536
|
-
type: "
|
|
536
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
537
|
+
enabled: boolean;
|
|
537
538
|
payload: {
|
|
538
539
|
type: "EMPTY";
|
|
539
540
|
} | {
|
|
@@ -588,7 +589,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
588
589
|
seconds: number;
|
|
589
590
|
};
|
|
590
591
|
};
|
|
591
|
-
enabled: boolean;
|
|
592
592
|
mandatory?: boolean | null | undefined;
|
|
593
593
|
}[];
|
|
594
594
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -600,8 +600,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
600
600
|
} | {
|
|
601
601
|
type: "MANUAL";
|
|
602
602
|
timeSlots: {
|
|
603
|
-
itemCount: number;
|
|
604
603
|
time: Date;
|
|
604
|
+
itemCount: number;
|
|
605
605
|
}[];
|
|
606
606
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
607
607
|
} | null | undefined;
|
|
@@ -613,7 +613,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
613
613
|
type: "ACTIONS";
|
|
614
614
|
data: {
|
|
615
615
|
actions: {
|
|
616
|
-
type: "
|
|
616
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
617
|
+
enabled: boolean;
|
|
617
618
|
payload: {
|
|
618
619
|
type: "EMPTY";
|
|
619
620
|
} | {
|
|
@@ -668,7 +669,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
668
669
|
seconds: number;
|
|
669
670
|
};
|
|
670
671
|
};
|
|
671
|
-
enabled: boolean;
|
|
672
672
|
mandatory?: boolean | null | undefined;
|
|
673
673
|
}[];
|
|
674
674
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -680,8 +680,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
680
680
|
} | {
|
|
681
681
|
type: "MANUAL";
|
|
682
682
|
timeSlots: {
|
|
683
|
-
itemCount: number;
|
|
684
683
|
time: Date;
|
|
684
|
+
itemCount: number;
|
|
685
685
|
}[];
|
|
686
686
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
687
687
|
} | null | undefined;
|
|
@@ -692,7 +692,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
692
692
|
type: "ACTIONS";
|
|
693
693
|
data: {
|
|
694
694
|
actions: {
|
|
695
|
-
type: "
|
|
695
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
696
|
+
enabled: boolean;
|
|
696
697
|
payload: {
|
|
697
698
|
type: "EMPTY";
|
|
698
699
|
} | {
|
|
@@ -747,7 +748,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
747
748
|
seconds: number;
|
|
748
749
|
};
|
|
749
750
|
};
|
|
750
|
-
enabled: boolean;
|
|
751
751
|
mandatory?: boolean | null | undefined;
|
|
752
752
|
}[];
|
|
753
753
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -759,8 +759,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
759
759
|
} | {
|
|
760
760
|
type: "MANUAL";
|
|
761
761
|
timeSlots: {
|
|
762
|
-
itemCount: number;
|
|
763
762
|
time: Date;
|
|
763
|
+
itemCount: number;
|
|
764
764
|
}[];
|
|
765
765
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
766
766
|
} | null | undefined;
|
|
@@ -955,26 +955,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
955
955
|
name: string;
|
|
956
956
|
title?: string | null | undefined;
|
|
957
957
|
description?: string | null | undefined;
|
|
958
|
+
salePrice?: number | null | undefined;
|
|
959
|
+
buyPrice?: number | null | undefined;
|
|
958
960
|
categoryId?: number | null | undefined;
|
|
959
961
|
brand?: string | null | undefined;
|
|
962
|
+
statusId?: number | null | undefined;
|
|
963
|
+
sizeId?: number | null | undefined;
|
|
960
964
|
colorIds?: number[] | null | undefined;
|
|
961
965
|
packageSizeId?: number | null | undefined;
|
|
962
|
-
sizeId?: number | null | undefined;
|
|
963
|
-
statusId?: number | null | undefined;
|
|
964
|
-
salePrice?: number | null | undefined;
|
|
965
|
-
buyPrice?: number | null | undefined;
|
|
966
966
|
}, {
|
|
967
967
|
name: string;
|
|
968
968
|
title?: string | null | undefined;
|
|
969
969
|
description?: string | null | undefined;
|
|
970
|
+
salePrice?: number | null | undefined;
|
|
971
|
+
buyPrice?: number | null | undefined;
|
|
970
972
|
categoryId?: number | null | undefined;
|
|
971
973
|
brand?: string | null | undefined;
|
|
974
|
+
statusId?: number | null | undefined;
|
|
975
|
+
sizeId?: number | null | undefined;
|
|
972
976
|
colorIds?: number[] | null | undefined;
|
|
973
977
|
packageSizeId?: number | null | undefined;
|
|
974
|
-
sizeId?: number | null | undefined;
|
|
975
|
-
statusId?: number | null | undefined;
|
|
976
|
-
salePrice?: number | null | undefined;
|
|
977
|
-
buyPrice?: number | null | undefined;
|
|
978
978
|
}>;
|
|
979
979
|
type: z.ZodLiteral<"TEMPLATE">;
|
|
980
980
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -983,14 +983,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
983
983
|
name: string;
|
|
984
984
|
title?: string | null | undefined;
|
|
985
985
|
description?: string | null | undefined;
|
|
986
|
+
salePrice?: number | null | undefined;
|
|
987
|
+
buyPrice?: number | null | undefined;
|
|
986
988
|
categoryId?: number | null | undefined;
|
|
987
989
|
brand?: string | null | undefined;
|
|
990
|
+
statusId?: number | null | undefined;
|
|
991
|
+
sizeId?: number | null | undefined;
|
|
988
992
|
colorIds?: number[] | null | undefined;
|
|
989
993
|
packageSizeId?: number | null | undefined;
|
|
990
|
-
sizeId?: number | null | undefined;
|
|
991
|
-
statusId?: number | null | undefined;
|
|
992
|
-
salePrice?: number | null | undefined;
|
|
993
|
-
buyPrice?: number | null | undefined;
|
|
994
994
|
};
|
|
995
995
|
}, {
|
|
996
996
|
type: "TEMPLATE";
|
|
@@ -998,14 +998,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
998
998
|
name: string;
|
|
999
999
|
title?: string | null | undefined;
|
|
1000
1000
|
description?: string | null | undefined;
|
|
1001
|
+
salePrice?: number | null | undefined;
|
|
1002
|
+
buyPrice?: number | null | undefined;
|
|
1001
1003
|
categoryId?: number | null | undefined;
|
|
1002
1004
|
brand?: string | null | undefined;
|
|
1005
|
+
statusId?: number | null | undefined;
|
|
1006
|
+
sizeId?: number | null | undefined;
|
|
1003
1007
|
colorIds?: number[] | null | undefined;
|
|
1004
1008
|
packageSizeId?: number | null | undefined;
|
|
1005
|
-
sizeId?: number | null | undefined;
|
|
1006
|
-
statusId?: number | null | undefined;
|
|
1007
|
-
salePrice?: number | null | undefined;
|
|
1008
|
-
buyPrice?: number | null | undefined;
|
|
1009
1009
|
};
|
|
1010
1010
|
}>, z.ZodObject<{
|
|
1011
1011
|
data: z.ZodObject<{
|
|
@@ -1111,7 +1111,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1111
1111
|
type: "ACTIONS";
|
|
1112
1112
|
data: {
|
|
1113
1113
|
actions: {
|
|
1114
|
-
type: "
|
|
1114
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1115
|
+
enabled: boolean;
|
|
1115
1116
|
payload: {
|
|
1116
1117
|
type: "EMPTY";
|
|
1117
1118
|
} | {
|
|
@@ -1166,7 +1167,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1166
1167
|
seconds: number;
|
|
1167
1168
|
};
|
|
1168
1169
|
};
|
|
1169
|
-
enabled: boolean;
|
|
1170
1170
|
mandatory?: boolean | null | undefined;
|
|
1171
1171
|
}[];
|
|
1172
1172
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1178,8 +1178,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1178
1178
|
} | {
|
|
1179
1179
|
type: "MANUAL";
|
|
1180
1180
|
timeSlots: {
|
|
1181
|
-
itemCount: number;
|
|
1182
1181
|
time: Date;
|
|
1182
|
+
itemCount: number;
|
|
1183
1183
|
}[];
|
|
1184
1184
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1185
1185
|
} | null | undefined;
|
|
@@ -1229,14 +1229,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1229
1229
|
name: string;
|
|
1230
1230
|
title?: string | null | undefined;
|
|
1231
1231
|
description?: string | null | undefined;
|
|
1232
|
+
salePrice?: number | null | undefined;
|
|
1233
|
+
buyPrice?: number | null | undefined;
|
|
1232
1234
|
categoryId?: number | null | undefined;
|
|
1233
1235
|
brand?: string | null | undefined;
|
|
1236
|
+
statusId?: number | null | undefined;
|
|
1237
|
+
sizeId?: number | null | undefined;
|
|
1234
1238
|
colorIds?: number[] | null | undefined;
|
|
1235
1239
|
packageSizeId?: number | null | undefined;
|
|
1236
|
-
sizeId?: number | null | undefined;
|
|
1237
|
-
statusId?: number | null | undefined;
|
|
1238
|
-
salePrice?: number | null | undefined;
|
|
1239
|
-
buyPrice?: number | null | undefined;
|
|
1240
1240
|
};
|
|
1241
1241
|
} | {
|
|
1242
1242
|
type: "TEXT";
|
|
@@ -1261,8 +1261,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1261
1261
|
borderColor?: string | null | undefined;
|
|
1262
1262
|
};
|
|
1263
1263
|
};
|
|
1264
|
-
id: string;
|
|
1265
1264
|
name: string;
|
|
1265
|
+
id: string;
|
|
1266
1266
|
caseId: string;
|
|
1267
1267
|
weight: number;
|
|
1268
1268
|
}, {
|
|
@@ -1270,7 +1270,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1270
1270
|
type: "ACTIONS";
|
|
1271
1271
|
data: {
|
|
1272
1272
|
actions: {
|
|
1273
|
-
type: "
|
|
1273
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1274
|
+
enabled: boolean;
|
|
1274
1275
|
payload: {
|
|
1275
1276
|
type: "EMPTY";
|
|
1276
1277
|
} | {
|
|
@@ -1325,7 +1326,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1325
1326
|
seconds: number;
|
|
1326
1327
|
};
|
|
1327
1328
|
};
|
|
1328
|
-
enabled: boolean;
|
|
1329
1329
|
mandatory?: boolean | null | undefined;
|
|
1330
1330
|
}[];
|
|
1331
1331
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1337,8 +1337,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1337
1337
|
} | {
|
|
1338
1338
|
type: "MANUAL";
|
|
1339
1339
|
timeSlots: {
|
|
1340
|
-
itemCount: number;
|
|
1341
1340
|
time: Date;
|
|
1341
|
+
itemCount: number;
|
|
1342
1342
|
}[];
|
|
1343
1343
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1344
1344
|
} | null | undefined;
|
|
@@ -1388,14 +1388,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1388
1388
|
name: string;
|
|
1389
1389
|
title?: string | null | undefined;
|
|
1390
1390
|
description?: string | null | undefined;
|
|
1391
|
+
salePrice?: number | null | undefined;
|
|
1392
|
+
buyPrice?: number | null | undefined;
|
|
1391
1393
|
categoryId?: number | null | undefined;
|
|
1392
1394
|
brand?: string | null | undefined;
|
|
1395
|
+
statusId?: number | null | undefined;
|
|
1396
|
+
sizeId?: number | null | undefined;
|
|
1393
1397
|
colorIds?: number[] | null | undefined;
|
|
1394
1398
|
packageSizeId?: number | null | undefined;
|
|
1395
|
-
sizeId?: number | null | undefined;
|
|
1396
|
-
statusId?: number | null | undefined;
|
|
1397
|
-
salePrice?: number | null | undefined;
|
|
1398
|
-
buyPrice?: number | null | undefined;
|
|
1399
1399
|
};
|
|
1400
1400
|
} | {
|
|
1401
1401
|
type: "TEXT";
|
|
@@ -1420,26 +1420,27 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1420
1420
|
borderColor?: string | null | undefined;
|
|
1421
1421
|
};
|
|
1422
1422
|
};
|
|
1423
|
-
id: string;
|
|
1424
1423
|
name: string;
|
|
1424
|
+
id: string;
|
|
1425
1425
|
caseId: string;
|
|
1426
1426
|
weight: number;
|
|
1427
1427
|
}>, "many">>>;
|
|
1428
1428
|
createdAt: z.ZodDate;
|
|
1429
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1430
|
-
id: string;
|
|
1431
|
-
createdAt: Date;
|
|
1432
1430
|
enabled: boolean;
|
|
1433
|
-
preferenceId: string;
|
|
1434
1431
|
testMode: boolean;
|
|
1432
|
+
id: string;
|
|
1433
|
+
preferenceId: string;
|
|
1435
1434
|
abTest: boolean;
|
|
1435
|
+
createdAt: Date;
|
|
1436
1436
|
savedFiltersId?: string | null | undefined;
|
|
1437
1437
|
variants?: {
|
|
1438
1438
|
payload: {
|
|
1439
1439
|
type: "ACTIONS";
|
|
1440
1440
|
data: {
|
|
1441
1441
|
actions: {
|
|
1442
|
-
type: "
|
|
1442
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1443
|
+
enabled: boolean;
|
|
1443
1444
|
payload: {
|
|
1444
1445
|
type: "EMPTY";
|
|
1445
1446
|
} | {
|
|
@@ -1494,7 +1495,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1494
1495
|
seconds: number;
|
|
1495
1496
|
};
|
|
1496
1497
|
};
|
|
1497
|
-
enabled: boolean;
|
|
1498
1498
|
mandatory?: boolean | null | undefined;
|
|
1499
1499
|
}[];
|
|
1500
1500
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1506,8 +1506,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1506
1506
|
} | {
|
|
1507
1507
|
type: "MANUAL";
|
|
1508
1508
|
timeSlots: {
|
|
1509
|
-
itemCount: number;
|
|
1510
1509
|
time: Date;
|
|
1510
|
+
itemCount: number;
|
|
1511
1511
|
}[];
|
|
1512
1512
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1513
1513
|
} | null | undefined;
|
|
@@ -1557,14 +1557,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1557
1557
|
name: string;
|
|
1558
1558
|
title?: string | null | undefined;
|
|
1559
1559
|
description?: string | null | undefined;
|
|
1560
|
+
salePrice?: number | null | undefined;
|
|
1561
|
+
buyPrice?: number | null | undefined;
|
|
1560
1562
|
categoryId?: number | null | undefined;
|
|
1561
1563
|
brand?: string | null | undefined;
|
|
1564
|
+
statusId?: number | null | undefined;
|
|
1565
|
+
sizeId?: number | null | undefined;
|
|
1562
1566
|
colorIds?: number[] | null | undefined;
|
|
1563
1567
|
packageSizeId?: number | null | undefined;
|
|
1564
|
-
sizeId?: number | null | undefined;
|
|
1565
|
-
statusId?: number | null | undefined;
|
|
1566
|
-
salePrice?: number | null | undefined;
|
|
1567
|
-
buyPrice?: number | null | undefined;
|
|
1568
1568
|
};
|
|
1569
1569
|
} | {
|
|
1570
1570
|
type: "TEXT";
|
|
@@ -1589,25 +1589,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1589
1589
|
borderColor?: string | null | undefined;
|
|
1590
1590
|
};
|
|
1591
1591
|
};
|
|
1592
|
-
id: string;
|
|
1593
1592
|
name: string;
|
|
1593
|
+
id: string;
|
|
1594
1594
|
caseId: string;
|
|
1595
1595
|
weight: number;
|
|
1596
1596
|
}[] | null | undefined;
|
|
1597
1597
|
}, {
|
|
1598
|
-
id: string;
|
|
1599
|
-
createdAt: Date;
|
|
1600
1598
|
enabled: boolean;
|
|
1601
|
-
preferenceId: string;
|
|
1602
1599
|
testMode: boolean;
|
|
1600
|
+
id: string;
|
|
1601
|
+
preferenceId: string;
|
|
1603
1602
|
abTest: boolean;
|
|
1603
|
+
createdAt: Date;
|
|
1604
1604
|
savedFiltersId?: string | null | undefined;
|
|
1605
1605
|
variants?: {
|
|
1606
1606
|
payload: {
|
|
1607
1607
|
type: "ACTIONS";
|
|
1608
1608
|
data: {
|
|
1609
1609
|
actions: {
|
|
1610
|
-
type: "
|
|
1610
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
1611
|
+
enabled: boolean;
|
|
1611
1612
|
payload: {
|
|
1612
1613
|
type: "EMPTY";
|
|
1613
1614
|
} | {
|
|
@@ -1662,7 +1663,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1662
1663
|
seconds: number;
|
|
1663
1664
|
};
|
|
1664
1665
|
};
|
|
1665
|
-
enabled: boolean;
|
|
1666
1666
|
mandatory?: boolean | null | undefined;
|
|
1667
1667
|
}[];
|
|
1668
1668
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -1674,8 +1674,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1674
1674
|
} | {
|
|
1675
1675
|
type: "MANUAL";
|
|
1676
1676
|
timeSlots: {
|
|
1677
|
-
itemCount: number;
|
|
1678
1677
|
time: Date;
|
|
1678
|
+
itemCount: number;
|
|
1679
1679
|
}[];
|
|
1680
1680
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
1681
1681
|
} | null | undefined;
|
|
@@ -1725,14 +1725,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1725
1725
|
name: string;
|
|
1726
1726
|
title?: string | null | undefined;
|
|
1727
1727
|
description?: string | null | undefined;
|
|
1728
|
+
salePrice?: number | null | undefined;
|
|
1729
|
+
buyPrice?: number | null | undefined;
|
|
1728
1730
|
categoryId?: number | null | undefined;
|
|
1729
1731
|
brand?: string | null | undefined;
|
|
1732
|
+
statusId?: number | null | undefined;
|
|
1733
|
+
sizeId?: number | null | undefined;
|
|
1730
1734
|
colorIds?: number[] | null | undefined;
|
|
1731
1735
|
packageSizeId?: number | null | undefined;
|
|
1732
|
-
sizeId?: number | null | undefined;
|
|
1733
|
-
statusId?: number | null | undefined;
|
|
1734
|
-
salePrice?: number | null | undefined;
|
|
1735
|
-
buyPrice?: number | null | undefined;
|
|
1736
1736
|
};
|
|
1737
1737
|
} | {
|
|
1738
1738
|
type: "TEXT";
|
|
@@ -1757,8 +1757,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
1757
1757
|
borderColor?: string | null | undefined;
|
|
1758
1758
|
};
|
|
1759
1759
|
};
|
|
1760
|
-
id: string;
|
|
1761
1760
|
name: string;
|
|
1761
|
+
id: string;
|
|
1762
1762
|
caseId: string;
|
|
1763
1763
|
weight: number;
|
|
1764
1764
|
}[] | null | undefined;
|
|
@@ -2058,7 +2058,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2058
2058
|
}>]>;
|
|
2059
2059
|
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2060
2060
|
}, "strip", z.ZodTypeAny, {
|
|
2061
|
-
type: "
|
|
2061
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2062
|
+
enabled: boolean;
|
|
2062
2063
|
payload: {
|
|
2063
2064
|
type: "EMPTY";
|
|
2064
2065
|
} | {
|
|
@@ -2113,10 +2114,10 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2113
2114
|
seconds: number;
|
|
2114
2115
|
};
|
|
2115
2116
|
};
|
|
2116
|
-
enabled: boolean;
|
|
2117
2117
|
mandatory?: boolean | null | undefined;
|
|
2118
2118
|
}, {
|
|
2119
|
-
type: "
|
|
2119
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2120
|
+
enabled: boolean;
|
|
2120
2121
|
payload: {
|
|
2121
2122
|
type: "EMPTY";
|
|
2122
2123
|
} | {
|
|
@@ -2171,7 +2172,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2171
2172
|
seconds: number;
|
|
2172
2173
|
};
|
|
2173
2174
|
};
|
|
2174
|
-
enabled: boolean;
|
|
2175
2175
|
mandatory?: boolean | null | undefined;
|
|
2176
2176
|
}>, "many">;
|
|
2177
2177
|
maxLaunchesPerDay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2195,26 +2195,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2195
2195
|
time: z.ZodDate;
|
|
2196
2196
|
itemCount: z.ZodNumber;
|
|
2197
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2198
|
-
itemCount: number;
|
|
2199
2198
|
time: Date;
|
|
2200
|
-
}, {
|
|
2201
2199
|
itemCount: number;
|
|
2200
|
+
}, {
|
|
2202
2201
|
time: Date;
|
|
2202
|
+
itemCount: number;
|
|
2203
2203
|
}>, "many">;
|
|
2204
2204
|
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">>>;
|
|
2205
2205
|
type: z.ZodLiteral<"MANUAL">;
|
|
2206
2206
|
}, "strip", z.ZodTypeAny, {
|
|
2207
2207
|
type: "MANUAL";
|
|
2208
2208
|
timeSlots: {
|
|
2209
|
-
itemCount: number;
|
|
2210
2209
|
time: Date;
|
|
2210
|
+
itemCount: number;
|
|
2211
2211
|
}[];
|
|
2212
2212
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2213
2213
|
}, {
|
|
2214
2214
|
type: "MANUAL";
|
|
2215
2215
|
timeSlots: {
|
|
2216
|
-
itemCount: number;
|
|
2217
2216
|
time: Date;
|
|
2217
|
+
itemCount: number;
|
|
2218
2218
|
}[];
|
|
2219
2219
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2220
2220
|
}>]>>>;
|
|
@@ -2222,7 +2222,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2222
2222
|
resetPriceOnRepeat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2223
2223
|
}, "strip", z.ZodTypeAny, {
|
|
2224
2224
|
actions: {
|
|
2225
|
-
type: "
|
|
2225
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2226
|
+
enabled: boolean;
|
|
2226
2227
|
payload: {
|
|
2227
2228
|
type: "EMPTY";
|
|
2228
2229
|
} | {
|
|
@@ -2277,7 +2278,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2277
2278
|
seconds: number;
|
|
2278
2279
|
};
|
|
2279
2280
|
};
|
|
2280
|
-
enabled: boolean;
|
|
2281
2281
|
mandatory?: boolean | null | undefined;
|
|
2282
2282
|
}[];
|
|
2283
2283
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2289,8 +2289,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2289
2289
|
} | {
|
|
2290
2290
|
type: "MANUAL";
|
|
2291
2291
|
timeSlots: {
|
|
2292
|
-
itemCount: number;
|
|
2293
2292
|
time: Date;
|
|
2293
|
+
itemCount: number;
|
|
2294
2294
|
}[];
|
|
2295
2295
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2296
2296
|
} | null | undefined;
|
|
@@ -2298,7 +2298,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2298
2298
|
resetPriceOnRepeat?: boolean | null | undefined;
|
|
2299
2299
|
}, {
|
|
2300
2300
|
actions: {
|
|
2301
|
-
type: "
|
|
2301
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2302
|
+
enabled: boolean;
|
|
2302
2303
|
payload: {
|
|
2303
2304
|
type: "EMPTY";
|
|
2304
2305
|
} | {
|
|
@@ -2353,7 +2354,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2353
2354
|
seconds: number;
|
|
2354
2355
|
};
|
|
2355
2356
|
};
|
|
2356
|
-
enabled: boolean;
|
|
2357
2357
|
mandatory?: boolean | null | undefined;
|
|
2358
2358
|
}[];
|
|
2359
2359
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2365,8 +2365,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2365
2365
|
} | {
|
|
2366
2366
|
type: "MANUAL";
|
|
2367
2367
|
timeSlots: {
|
|
2368
|
-
itemCount: number;
|
|
2369
2368
|
time: Date;
|
|
2369
|
+
itemCount: number;
|
|
2370
2370
|
}[];
|
|
2371
2371
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2372
2372
|
} | null | undefined;
|
|
@@ -2378,7 +2378,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2378
2378
|
type: "ACTIONS";
|
|
2379
2379
|
data: {
|
|
2380
2380
|
actions: {
|
|
2381
|
-
type: "
|
|
2381
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2382
|
+
enabled: boolean;
|
|
2382
2383
|
payload: {
|
|
2383
2384
|
type: "EMPTY";
|
|
2384
2385
|
} | {
|
|
@@ -2433,7 +2434,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2433
2434
|
seconds: number;
|
|
2434
2435
|
};
|
|
2435
2436
|
};
|
|
2436
|
-
enabled: boolean;
|
|
2437
2437
|
mandatory?: boolean | null | undefined;
|
|
2438
2438
|
}[];
|
|
2439
2439
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2445,8 +2445,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2445
2445
|
} | {
|
|
2446
2446
|
type: "MANUAL";
|
|
2447
2447
|
timeSlots: {
|
|
2448
|
-
itemCount: number;
|
|
2449
2448
|
time: Date;
|
|
2449
|
+
itemCount: number;
|
|
2450
2450
|
}[];
|
|
2451
2451
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2452
2452
|
} | null | undefined;
|
|
@@ -2457,7 +2457,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2457
2457
|
type: "ACTIONS";
|
|
2458
2458
|
data: {
|
|
2459
2459
|
actions: {
|
|
2460
|
-
type: "
|
|
2460
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2461
|
+
enabled: boolean;
|
|
2461
2462
|
payload: {
|
|
2462
2463
|
type: "EMPTY";
|
|
2463
2464
|
} | {
|
|
@@ -2512,7 +2513,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2512
2513
|
seconds: number;
|
|
2513
2514
|
};
|
|
2514
2515
|
};
|
|
2515
|
-
enabled: boolean;
|
|
2516
2516
|
mandatory?: boolean | null | undefined;
|
|
2517
2517
|
}[];
|
|
2518
2518
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2524,8 +2524,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2524
2524
|
} | {
|
|
2525
2525
|
type: "MANUAL";
|
|
2526
2526
|
timeSlots: {
|
|
2527
|
-
itemCount: number;
|
|
2528
2527
|
time: Date;
|
|
2528
|
+
itemCount: number;
|
|
2529
2529
|
}[];
|
|
2530
2530
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2531
2531
|
} | null | undefined;
|
|
@@ -2720,26 +2720,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2720
2720
|
name: string;
|
|
2721
2721
|
title?: string | null | undefined;
|
|
2722
2722
|
description?: string | null | undefined;
|
|
2723
|
+
salePrice?: number | null | undefined;
|
|
2724
|
+
buyPrice?: number | null | undefined;
|
|
2723
2725
|
categoryId?: number | null | undefined;
|
|
2724
2726
|
brand?: string | null | undefined;
|
|
2727
|
+
statusId?: number | null | undefined;
|
|
2728
|
+
sizeId?: number | null | undefined;
|
|
2725
2729
|
colorIds?: number[] | null | undefined;
|
|
2726
2730
|
packageSizeId?: number | null | undefined;
|
|
2727
|
-
sizeId?: number | null | undefined;
|
|
2728
|
-
statusId?: number | null | undefined;
|
|
2729
|
-
salePrice?: number | null | undefined;
|
|
2730
|
-
buyPrice?: number | null | undefined;
|
|
2731
2731
|
}, {
|
|
2732
2732
|
name: string;
|
|
2733
2733
|
title?: string | null | undefined;
|
|
2734
2734
|
description?: string | null | undefined;
|
|
2735
|
+
salePrice?: number | null | undefined;
|
|
2736
|
+
buyPrice?: number | null | undefined;
|
|
2735
2737
|
categoryId?: number | null | undefined;
|
|
2736
2738
|
brand?: string | null | undefined;
|
|
2739
|
+
statusId?: number | null | undefined;
|
|
2740
|
+
sizeId?: number | null | undefined;
|
|
2737
2741
|
colorIds?: number[] | null | undefined;
|
|
2738
2742
|
packageSizeId?: number | null | undefined;
|
|
2739
|
-
sizeId?: number | null | undefined;
|
|
2740
|
-
statusId?: number | null | undefined;
|
|
2741
|
-
salePrice?: number | null | undefined;
|
|
2742
|
-
buyPrice?: number | null | undefined;
|
|
2743
2743
|
}>;
|
|
2744
2744
|
type: z.ZodLiteral<"TEMPLATE">;
|
|
2745
2745
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2748,14 +2748,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2748
2748
|
name: string;
|
|
2749
2749
|
title?: string | null | undefined;
|
|
2750
2750
|
description?: string | null | undefined;
|
|
2751
|
+
salePrice?: number | null | undefined;
|
|
2752
|
+
buyPrice?: number | null | undefined;
|
|
2751
2753
|
categoryId?: number | null | undefined;
|
|
2752
2754
|
brand?: string | null | undefined;
|
|
2755
|
+
statusId?: number | null | undefined;
|
|
2756
|
+
sizeId?: number | null | undefined;
|
|
2753
2757
|
colorIds?: number[] | null | undefined;
|
|
2754
2758
|
packageSizeId?: number | null | undefined;
|
|
2755
|
-
sizeId?: number | null | undefined;
|
|
2756
|
-
statusId?: number | null | undefined;
|
|
2757
|
-
salePrice?: number | null | undefined;
|
|
2758
|
-
buyPrice?: number | null | undefined;
|
|
2759
2759
|
};
|
|
2760
2760
|
}, {
|
|
2761
2761
|
type: "TEMPLATE";
|
|
@@ -2763,14 +2763,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2763
2763
|
name: string;
|
|
2764
2764
|
title?: string | null | undefined;
|
|
2765
2765
|
description?: string | null | undefined;
|
|
2766
|
+
salePrice?: number | null | undefined;
|
|
2767
|
+
buyPrice?: number | null | undefined;
|
|
2766
2768
|
categoryId?: number | null | undefined;
|
|
2767
2769
|
brand?: string | null | undefined;
|
|
2770
|
+
statusId?: number | null | undefined;
|
|
2771
|
+
sizeId?: number | null | undefined;
|
|
2768
2772
|
colorIds?: number[] | null | undefined;
|
|
2769
2773
|
packageSizeId?: number | null | undefined;
|
|
2770
|
-
sizeId?: number | null | undefined;
|
|
2771
|
-
statusId?: number | null | undefined;
|
|
2772
|
-
salePrice?: number | null | undefined;
|
|
2773
|
-
buyPrice?: number | null | undefined;
|
|
2774
2774
|
};
|
|
2775
2775
|
}>, z.ZodObject<{
|
|
2776
2776
|
data: z.ZodObject<{
|
|
@@ -2876,7 +2876,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2876
2876
|
type: "ACTIONS";
|
|
2877
2877
|
data: {
|
|
2878
2878
|
actions: {
|
|
2879
|
-
type: "
|
|
2879
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
2880
|
+
enabled: boolean;
|
|
2880
2881
|
payload: {
|
|
2881
2882
|
type: "EMPTY";
|
|
2882
2883
|
} | {
|
|
@@ -2931,7 +2932,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2931
2932
|
seconds: number;
|
|
2932
2933
|
};
|
|
2933
2934
|
};
|
|
2934
|
-
enabled: boolean;
|
|
2935
2935
|
mandatory?: boolean | null | undefined;
|
|
2936
2936
|
}[];
|
|
2937
2937
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -2943,8 +2943,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2943
2943
|
} | {
|
|
2944
2944
|
type: "MANUAL";
|
|
2945
2945
|
timeSlots: {
|
|
2946
|
-
itemCount: number;
|
|
2947
2946
|
time: Date;
|
|
2947
|
+
itemCount: number;
|
|
2948
2948
|
}[];
|
|
2949
2949
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
2950
2950
|
} | null | undefined;
|
|
@@ -2994,14 +2994,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
2994
2994
|
name: string;
|
|
2995
2995
|
title?: string | null | undefined;
|
|
2996
2996
|
description?: string | null | undefined;
|
|
2997
|
+
salePrice?: number | null | undefined;
|
|
2998
|
+
buyPrice?: number | null | undefined;
|
|
2997
2999
|
categoryId?: number | null | undefined;
|
|
2998
3000
|
brand?: string | null | undefined;
|
|
3001
|
+
statusId?: number | null | undefined;
|
|
3002
|
+
sizeId?: number | null | undefined;
|
|
2999
3003
|
colorIds?: number[] | null | undefined;
|
|
3000
3004
|
packageSizeId?: number | null | undefined;
|
|
3001
|
-
sizeId?: number | null | undefined;
|
|
3002
|
-
statusId?: number | null | undefined;
|
|
3003
|
-
salePrice?: number | null | undefined;
|
|
3004
|
-
buyPrice?: number | null | undefined;
|
|
3005
3005
|
};
|
|
3006
3006
|
} | {
|
|
3007
3007
|
type: "TEXT";
|
|
@@ -3026,8 +3026,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3026
3026
|
borderColor?: string | null | undefined;
|
|
3027
3027
|
};
|
|
3028
3028
|
};
|
|
3029
|
-
id: string;
|
|
3030
3029
|
name: string;
|
|
3030
|
+
id: string;
|
|
3031
3031
|
caseId: string;
|
|
3032
3032
|
weight: number;
|
|
3033
3033
|
}, {
|
|
@@ -3035,7 +3035,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3035
3035
|
type: "ACTIONS";
|
|
3036
3036
|
data: {
|
|
3037
3037
|
actions: {
|
|
3038
|
-
type: "
|
|
3038
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3039
|
+
enabled: boolean;
|
|
3039
3040
|
payload: {
|
|
3040
3041
|
type: "EMPTY";
|
|
3041
3042
|
} | {
|
|
@@ -3090,7 +3091,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3090
3091
|
seconds: number;
|
|
3091
3092
|
};
|
|
3092
3093
|
};
|
|
3093
|
-
enabled: boolean;
|
|
3094
3094
|
mandatory?: boolean | null | undefined;
|
|
3095
3095
|
}[];
|
|
3096
3096
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3102,8 +3102,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3102
3102
|
} | {
|
|
3103
3103
|
type: "MANUAL";
|
|
3104
3104
|
timeSlots: {
|
|
3105
|
-
itemCount: number;
|
|
3106
3105
|
time: Date;
|
|
3106
|
+
itemCount: number;
|
|
3107
3107
|
}[];
|
|
3108
3108
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3109
3109
|
} | null | undefined;
|
|
@@ -3153,14 +3153,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3153
3153
|
name: string;
|
|
3154
3154
|
title?: string | null | undefined;
|
|
3155
3155
|
description?: string | null | undefined;
|
|
3156
|
+
salePrice?: number | null | undefined;
|
|
3157
|
+
buyPrice?: number | null | undefined;
|
|
3156
3158
|
categoryId?: number | null | undefined;
|
|
3157
3159
|
brand?: string | null | undefined;
|
|
3160
|
+
statusId?: number | null | undefined;
|
|
3161
|
+
sizeId?: number | null | undefined;
|
|
3158
3162
|
colorIds?: number[] | null | undefined;
|
|
3159
3163
|
packageSizeId?: number | null | undefined;
|
|
3160
|
-
sizeId?: number | null | undefined;
|
|
3161
|
-
statusId?: number | null | undefined;
|
|
3162
|
-
salePrice?: number | null | undefined;
|
|
3163
|
-
buyPrice?: number | null | undefined;
|
|
3164
3164
|
};
|
|
3165
3165
|
} | {
|
|
3166
3166
|
type: "TEXT";
|
|
@@ -3185,26 +3185,27 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3185
3185
|
borderColor?: string | null | undefined;
|
|
3186
3186
|
};
|
|
3187
3187
|
};
|
|
3188
|
-
id: string;
|
|
3189
3188
|
name: string;
|
|
3189
|
+
id: string;
|
|
3190
3190
|
caseId: string;
|
|
3191
3191
|
weight: number;
|
|
3192
3192
|
}>, "many">>>;
|
|
3193
3193
|
createdAt: z.ZodDate;
|
|
3194
3194
|
}, "strip", z.ZodTypeAny, {
|
|
3195
|
-
id: string;
|
|
3196
|
-
createdAt: Date;
|
|
3197
3195
|
enabled: boolean;
|
|
3198
|
-
preferenceId: string;
|
|
3199
3196
|
testMode: boolean;
|
|
3197
|
+
id: string;
|
|
3198
|
+
preferenceId: string;
|
|
3200
3199
|
abTest: boolean;
|
|
3200
|
+
createdAt: Date;
|
|
3201
3201
|
savedFiltersId?: string | null | undefined;
|
|
3202
3202
|
variants?: {
|
|
3203
3203
|
payload: {
|
|
3204
3204
|
type: "ACTIONS";
|
|
3205
3205
|
data: {
|
|
3206
3206
|
actions: {
|
|
3207
|
-
type: "
|
|
3207
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3208
|
+
enabled: boolean;
|
|
3208
3209
|
payload: {
|
|
3209
3210
|
type: "EMPTY";
|
|
3210
3211
|
} | {
|
|
@@ -3259,7 +3260,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3259
3260
|
seconds: number;
|
|
3260
3261
|
};
|
|
3261
3262
|
};
|
|
3262
|
-
enabled: boolean;
|
|
3263
3263
|
mandatory?: boolean | null | undefined;
|
|
3264
3264
|
}[];
|
|
3265
3265
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3271,8 +3271,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3271
3271
|
} | {
|
|
3272
3272
|
type: "MANUAL";
|
|
3273
3273
|
timeSlots: {
|
|
3274
|
-
itemCount: number;
|
|
3275
3274
|
time: Date;
|
|
3275
|
+
itemCount: number;
|
|
3276
3276
|
}[];
|
|
3277
3277
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3278
3278
|
} | null | undefined;
|
|
@@ -3322,14 +3322,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3322
3322
|
name: string;
|
|
3323
3323
|
title?: string | null | undefined;
|
|
3324
3324
|
description?: string | null | undefined;
|
|
3325
|
+
salePrice?: number | null | undefined;
|
|
3326
|
+
buyPrice?: number | null | undefined;
|
|
3325
3327
|
categoryId?: number | null | undefined;
|
|
3326
3328
|
brand?: string | null | undefined;
|
|
3329
|
+
statusId?: number | null | undefined;
|
|
3330
|
+
sizeId?: number | null | undefined;
|
|
3327
3331
|
colorIds?: number[] | null | undefined;
|
|
3328
3332
|
packageSizeId?: number | null | undefined;
|
|
3329
|
-
sizeId?: number | null | undefined;
|
|
3330
|
-
statusId?: number | null | undefined;
|
|
3331
|
-
salePrice?: number | null | undefined;
|
|
3332
|
-
buyPrice?: number | null | undefined;
|
|
3333
3333
|
};
|
|
3334
3334
|
} | {
|
|
3335
3335
|
type: "TEXT";
|
|
@@ -3354,25 +3354,26 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3354
3354
|
borderColor?: string | null | undefined;
|
|
3355
3355
|
};
|
|
3356
3356
|
};
|
|
3357
|
-
id: string;
|
|
3358
3357
|
name: string;
|
|
3358
|
+
id: string;
|
|
3359
3359
|
caseId: string;
|
|
3360
3360
|
weight: number;
|
|
3361
3361
|
}[] | null | undefined;
|
|
3362
3362
|
}, {
|
|
3363
|
-
id: string;
|
|
3364
|
-
createdAt: Date;
|
|
3365
3363
|
enabled: boolean;
|
|
3366
|
-
preferenceId: string;
|
|
3367
3364
|
testMode: boolean;
|
|
3365
|
+
id: string;
|
|
3366
|
+
preferenceId: string;
|
|
3368
3367
|
abTest: boolean;
|
|
3368
|
+
createdAt: Date;
|
|
3369
3369
|
savedFiltersId?: string | null | undefined;
|
|
3370
3370
|
variants?: {
|
|
3371
3371
|
payload: {
|
|
3372
3372
|
type: "ACTIONS";
|
|
3373
3373
|
data: {
|
|
3374
3374
|
actions: {
|
|
3375
|
-
type: "
|
|
3375
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3376
|
+
enabled: boolean;
|
|
3376
3377
|
payload: {
|
|
3377
3378
|
type: "EMPTY";
|
|
3378
3379
|
} | {
|
|
@@ -3427,7 +3428,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3427
3428
|
seconds: number;
|
|
3428
3429
|
};
|
|
3429
3430
|
};
|
|
3430
|
-
enabled: boolean;
|
|
3431
3431
|
mandatory?: boolean | null | undefined;
|
|
3432
3432
|
}[];
|
|
3433
3433
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3439,8 +3439,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3439
3439
|
} | {
|
|
3440
3440
|
type: "MANUAL";
|
|
3441
3441
|
timeSlots: {
|
|
3442
|
-
itemCount: number;
|
|
3443
3442
|
time: Date;
|
|
3443
|
+
itemCount: number;
|
|
3444
3444
|
}[];
|
|
3445
3445
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3446
3446
|
} | null | undefined;
|
|
@@ -3490,14 +3490,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3490
3490
|
name: string;
|
|
3491
3491
|
title?: string | null | undefined;
|
|
3492
3492
|
description?: string | null | undefined;
|
|
3493
|
+
salePrice?: number | null | undefined;
|
|
3494
|
+
buyPrice?: number | null | undefined;
|
|
3493
3495
|
categoryId?: number | null | undefined;
|
|
3494
3496
|
brand?: string | null | undefined;
|
|
3497
|
+
statusId?: number | null | undefined;
|
|
3498
|
+
sizeId?: number | null | undefined;
|
|
3495
3499
|
colorIds?: number[] | null | undefined;
|
|
3496
3500
|
packageSizeId?: number | null | undefined;
|
|
3497
|
-
sizeId?: number | null | undefined;
|
|
3498
|
-
statusId?: number | null | undefined;
|
|
3499
|
-
salePrice?: number | null | undefined;
|
|
3500
|
-
buyPrice?: number | null | undefined;
|
|
3501
3501
|
};
|
|
3502
3502
|
} | {
|
|
3503
3503
|
type: "TEXT";
|
|
@@ -3522,32 +3522,34 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3522
3522
|
borderColor?: string | null | undefined;
|
|
3523
3523
|
};
|
|
3524
3524
|
};
|
|
3525
|
-
id: string;
|
|
3526
3525
|
name: string;
|
|
3526
|
+
id: string;
|
|
3527
3527
|
caseId: string;
|
|
3528
3528
|
weight: number;
|
|
3529
3529
|
}[] | null | undefined;
|
|
3530
3530
|
}>, "many">>>;
|
|
3531
3531
|
}, "strip", z.ZodTypeAny, {
|
|
3532
|
-
type: "
|
|
3533
|
-
id: string;
|
|
3534
|
-
userId: number;
|
|
3532
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
3535
3533
|
enabled: boolean;
|
|
3536
3534
|
testMode: boolean;
|
|
3535
|
+
id: string;
|
|
3536
|
+
userId: number;
|
|
3537
|
+
parentPreferenceId?: string | null | undefined;
|
|
3537
3538
|
cases?: {
|
|
3538
|
-
id: string;
|
|
3539
|
-
createdAt: Date;
|
|
3540
3539
|
enabled: boolean;
|
|
3541
|
-
preferenceId: string;
|
|
3542
3540
|
testMode: boolean;
|
|
3541
|
+
id: string;
|
|
3542
|
+
preferenceId: string;
|
|
3543
3543
|
abTest: boolean;
|
|
3544
|
+
createdAt: Date;
|
|
3544
3545
|
savedFiltersId?: string | null | undefined;
|
|
3545
3546
|
variants?: {
|
|
3546
3547
|
payload: {
|
|
3547
3548
|
type: "ACTIONS";
|
|
3548
3549
|
data: {
|
|
3549
3550
|
actions: {
|
|
3550
|
-
type: "
|
|
3551
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3552
|
+
enabled: boolean;
|
|
3551
3553
|
payload: {
|
|
3552
3554
|
type: "EMPTY";
|
|
3553
3555
|
} | {
|
|
@@ -3602,7 +3604,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3602
3604
|
seconds: number;
|
|
3603
3605
|
};
|
|
3604
3606
|
};
|
|
3605
|
-
enabled: boolean;
|
|
3606
3607
|
mandatory?: boolean | null | undefined;
|
|
3607
3608
|
}[];
|
|
3608
3609
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3614,8 +3615,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3614
3615
|
} | {
|
|
3615
3616
|
type: "MANUAL";
|
|
3616
3617
|
timeSlots: {
|
|
3617
|
-
itemCount: number;
|
|
3618
3618
|
time: Date;
|
|
3619
|
+
itemCount: number;
|
|
3619
3620
|
}[];
|
|
3620
3621
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3621
3622
|
} | null | undefined;
|
|
@@ -3665,14 +3666,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3665
3666
|
name: string;
|
|
3666
3667
|
title?: string | null | undefined;
|
|
3667
3668
|
description?: string | null | undefined;
|
|
3669
|
+
salePrice?: number | null | undefined;
|
|
3670
|
+
buyPrice?: number | null | undefined;
|
|
3668
3671
|
categoryId?: number | null | undefined;
|
|
3669
3672
|
brand?: string | null | undefined;
|
|
3673
|
+
statusId?: number | null | undefined;
|
|
3674
|
+
sizeId?: number | null | undefined;
|
|
3670
3675
|
colorIds?: number[] | null | undefined;
|
|
3671
3676
|
packageSizeId?: number | null | undefined;
|
|
3672
|
-
sizeId?: number | null | undefined;
|
|
3673
|
-
statusId?: number | null | undefined;
|
|
3674
|
-
salePrice?: number | null | undefined;
|
|
3675
|
-
buyPrice?: number | null | undefined;
|
|
3676
3677
|
};
|
|
3677
3678
|
} | {
|
|
3678
3679
|
type: "TEXT";
|
|
@@ -3697,33 +3698,34 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3697
3698
|
borderColor?: string | null | undefined;
|
|
3698
3699
|
};
|
|
3699
3700
|
};
|
|
3700
|
-
id: string;
|
|
3701
3701
|
name: string;
|
|
3702
|
+
id: string;
|
|
3702
3703
|
caseId: string;
|
|
3703
3704
|
weight: number;
|
|
3704
3705
|
}[] | null | undefined;
|
|
3705
3706
|
}[] | null | undefined;
|
|
3706
|
-
parentPreferenceId?: string | null | undefined;
|
|
3707
3707
|
}, {
|
|
3708
|
-
type: "
|
|
3709
|
-
id: string;
|
|
3710
|
-
userId: number;
|
|
3708
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
3711
3709
|
enabled: boolean;
|
|
3712
3710
|
testMode: boolean;
|
|
3711
|
+
id: string;
|
|
3712
|
+
userId: number;
|
|
3713
|
+
parentPreferenceId?: string | null | undefined;
|
|
3713
3714
|
cases?: {
|
|
3714
|
-
id: string;
|
|
3715
|
-
createdAt: Date;
|
|
3716
3715
|
enabled: boolean;
|
|
3717
|
-
preferenceId: string;
|
|
3718
3716
|
testMode: boolean;
|
|
3717
|
+
id: string;
|
|
3718
|
+
preferenceId: string;
|
|
3719
3719
|
abTest: boolean;
|
|
3720
|
+
createdAt: Date;
|
|
3720
3721
|
savedFiltersId?: string | null | undefined;
|
|
3721
3722
|
variants?: {
|
|
3722
3723
|
payload: {
|
|
3723
3724
|
type: "ACTIONS";
|
|
3724
3725
|
data: {
|
|
3725
3726
|
actions: {
|
|
3726
|
-
type: "
|
|
3727
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3728
|
+
enabled: boolean;
|
|
3727
3729
|
payload: {
|
|
3728
3730
|
type: "EMPTY";
|
|
3729
3731
|
} | {
|
|
@@ -3778,7 +3780,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3778
3780
|
seconds: number;
|
|
3779
3781
|
};
|
|
3780
3782
|
};
|
|
3781
|
-
enabled: boolean;
|
|
3782
3783
|
mandatory?: boolean | null | undefined;
|
|
3783
3784
|
}[];
|
|
3784
3785
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3790,8 +3791,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3790
3791
|
} | {
|
|
3791
3792
|
type: "MANUAL";
|
|
3792
3793
|
timeSlots: {
|
|
3793
|
-
itemCount: number;
|
|
3794
3794
|
time: Date;
|
|
3795
|
+
itemCount: number;
|
|
3795
3796
|
}[];
|
|
3796
3797
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3797
3798
|
} | null | undefined;
|
|
@@ -3841,14 +3842,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3841
3842
|
name: string;
|
|
3842
3843
|
title?: string | null | undefined;
|
|
3843
3844
|
description?: string | null | undefined;
|
|
3845
|
+
salePrice?: number | null | undefined;
|
|
3846
|
+
buyPrice?: number | null | undefined;
|
|
3844
3847
|
categoryId?: number | null | undefined;
|
|
3845
3848
|
brand?: string | null | undefined;
|
|
3849
|
+
statusId?: number | null | undefined;
|
|
3850
|
+
sizeId?: number | null | undefined;
|
|
3846
3851
|
colorIds?: number[] | null | undefined;
|
|
3847
3852
|
packageSizeId?: number | null | undefined;
|
|
3848
|
-
sizeId?: number | null | undefined;
|
|
3849
|
-
statusId?: number | null | undefined;
|
|
3850
|
-
salePrice?: number | null | undefined;
|
|
3851
|
-
buyPrice?: number | null | undefined;
|
|
3852
3853
|
};
|
|
3853
3854
|
} | {
|
|
3854
3855
|
type: "TEXT";
|
|
@@ -3873,34 +3874,35 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3873
3874
|
borderColor?: string | null | undefined;
|
|
3874
3875
|
};
|
|
3875
3876
|
};
|
|
3876
|
-
id: string;
|
|
3877
3877
|
name: string;
|
|
3878
|
+
id: string;
|
|
3878
3879
|
caseId: string;
|
|
3879
3880
|
weight: number;
|
|
3880
3881
|
}[] | null | undefined;
|
|
3881
3882
|
}[] | null | undefined;
|
|
3882
|
-
parentPreferenceId?: string | null | undefined;
|
|
3883
3883
|
}>, "many">>>;
|
|
3884
3884
|
}, "strip", z.ZodTypeAny, {
|
|
3885
|
-
type: "
|
|
3886
|
-
id: string;
|
|
3887
|
-
userId: number;
|
|
3885
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
3888
3886
|
enabled: boolean;
|
|
3889
3887
|
testMode: boolean;
|
|
3888
|
+
id: string;
|
|
3889
|
+
userId: number;
|
|
3890
|
+
parentPreferenceId?: string | null | undefined;
|
|
3890
3891
|
cases?: {
|
|
3891
|
-
id: string;
|
|
3892
|
-
createdAt: Date;
|
|
3893
3892
|
enabled: boolean;
|
|
3894
|
-
preferenceId: string;
|
|
3895
3893
|
testMode: boolean;
|
|
3894
|
+
id: string;
|
|
3895
|
+
preferenceId: string;
|
|
3896
3896
|
abTest: boolean;
|
|
3897
|
+
createdAt: Date;
|
|
3897
3898
|
savedFiltersId?: string | null | undefined;
|
|
3898
3899
|
variants?: {
|
|
3899
3900
|
payload: {
|
|
3900
3901
|
type: "ACTIONS";
|
|
3901
3902
|
data: {
|
|
3902
3903
|
actions: {
|
|
3903
|
-
type: "
|
|
3904
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
3905
|
+
enabled: boolean;
|
|
3904
3906
|
payload: {
|
|
3905
3907
|
type: "EMPTY";
|
|
3906
3908
|
} | {
|
|
@@ -3955,7 +3957,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3955
3957
|
seconds: number;
|
|
3956
3958
|
};
|
|
3957
3959
|
};
|
|
3958
|
-
enabled: boolean;
|
|
3959
3960
|
mandatory?: boolean | null | undefined;
|
|
3960
3961
|
}[];
|
|
3961
3962
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -3967,8 +3968,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
3967
3968
|
} | {
|
|
3968
3969
|
type: "MANUAL";
|
|
3969
3970
|
timeSlots: {
|
|
3970
|
-
itemCount: number;
|
|
3971
3971
|
time: Date;
|
|
3972
|
+
itemCount: number;
|
|
3972
3973
|
}[];
|
|
3973
3974
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
3974
3975
|
} | null | undefined;
|
|
@@ -4018,14 +4019,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4018
4019
|
name: string;
|
|
4019
4020
|
title?: string | null | undefined;
|
|
4020
4021
|
description?: string | null | undefined;
|
|
4022
|
+
salePrice?: number | null | undefined;
|
|
4023
|
+
buyPrice?: number | null | undefined;
|
|
4021
4024
|
categoryId?: number | null | undefined;
|
|
4022
4025
|
brand?: string | null | undefined;
|
|
4026
|
+
statusId?: number | null | undefined;
|
|
4027
|
+
sizeId?: number | null | undefined;
|
|
4023
4028
|
colorIds?: number[] | null | undefined;
|
|
4024
4029
|
packageSizeId?: number | null | undefined;
|
|
4025
|
-
sizeId?: number | null | undefined;
|
|
4026
|
-
statusId?: number | null | undefined;
|
|
4027
|
-
salePrice?: number | null | undefined;
|
|
4028
|
-
buyPrice?: number | null | undefined;
|
|
4029
4030
|
};
|
|
4030
4031
|
} | {
|
|
4031
4032
|
type: "TEXT";
|
|
@@ -4050,33 +4051,34 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4050
4051
|
borderColor?: string | null | undefined;
|
|
4051
4052
|
};
|
|
4052
4053
|
};
|
|
4053
|
-
id: string;
|
|
4054
4054
|
name: string;
|
|
4055
|
+
id: string;
|
|
4055
4056
|
caseId: string;
|
|
4056
4057
|
weight: number;
|
|
4057
4058
|
}[] | null | undefined;
|
|
4058
4059
|
}[] | null | undefined;
|
|
4059
|
-
parentPreferenceId?: string | null | undefined;
|
|
4060
4060
|
children?: {
|
|
4061
|
-
type: "
|
|
4062
|
-
id: string;
|
|
4063
|
-
userId: number;
|
|
4061
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
4064
4062
|
enabled: boolean;
|
|
4065
4063
|
testMode: boolean;
|
|
4064
|
+
id: string;
|
|
4065
|
+
userId: number;
|
|
4066
|
+
parentPreferenceId?: string | null | undefined;
|
|
4066
4067
|
cases?: {
|
|
4067
|
-
id: string;
|
|
4068
|
-
createdAt: Date;
|
|
4069
4068
|
enabled: boolean;
|
|
4070
|
-
preferenceId: string;
|
|
4071
4069
|
testMode: boolean;
|
|
4070
|
+
id: string;
|
|
4071
|
+
preferenceId: string;
|
|
4072
4072
|
abTest: boolean;
|
|
4073
|
+
createdAt: Date;
|
|
4073
4074
|
savedFiltersId?: string | null | undefined;
|
|
4074
4075
|
variants?: {
|
|
4075
4076
|
payload: {
|
|
4076
4077
|
type: "ACTIONS";
|
|
4077
4078
|
data: {
|
|
4078
4079
|
actions: {
|
|
4079
|
-
type: "
|
|
4080
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4081
|
+
enabled: boolean;
|
|
4080
4082
|
payload: {
|
|
4081
4083
|
type: "EMPTY";
|
|
4082
4084
|
} | {
|
|
@@ -4131,7 +4133,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4131
4133
|
seconds: number;
|
|
4132
4134
|
};
|
|
4133
4135
|
};
|
|
4134
|
-
enabled: boolean;
|
|
4135
4136
|
mandatory?: boolean | null | undefined;
|
|
4136
4137
|
}[];
|
|
4137
4138
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4143,8 +4144,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4143
4144
|
} | {
|
|
4144
4145
|
type: "MANUAL";
|
|
4145
4146
|
timeSlots: {
|
|
4146
|
-
itemCount: number;
|
|
4147
4147
|
time: Date;
|
|
4148
|
+
itemCount: number;
|
|
4148
4149
|
}[];
|
|
4149
4150
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4150
4151
|
} | null | undefined;
|
|
@@ -4194,14 +4195,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4194
4195
|
name: string;
|
|
4195
4196
|
title?: string | null | undefined;
|
|
4196
4197
|
description?: string | null | undefined;
|
|
4198
|
+
salePrice?: number | null | undefined;
|
|
4199
|
+
buyPrice?: number | null | undefined;
|
|
4197
4200
|
categoryId?: number | null | undefined;
|
|
4198
4201
|
brand?: string | null | undefined;
|
|
4202
|
+
statusId?: number | null | undefined;
|
|
4203
|
+
sizeId?: number | null | undefined;
|
|
4199
4204
|
colorIds?: number[] | null | undefined;
|
|
4200
4205
|
packageSizeId?: number | null | undefined;
|
|
4201
|
-
sizeId?: number | null | undefined;
|
|
4202
|
-
statusId?: number | null | undefined;
|
|
4203
|
-
salePrice?: number | null | undefined;
|
|
4204
|
-
buyPrice?: number | null | undefined;
|
|
4205
4206
|
};
|
|
4206
4207
|
} | {
|
|
4207
4208
|
type: "TEXT";
|
|
@@ -4226,34 +4227,35 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4226
4227
|
borderColor?: string | null | undefined;
|
|
4227
4228
|
};
|
|
4228
4229
|
};
|
|
4229
|
-
id: string;
|
|
4230
4230
|
name: string;
|
|
4231
|
+
id: string;
|
|
4231
4232
|
caseId: string;
|
|
4232
4233
|
weight: number;
|
|
4233
4234
|
}[] | null | undefined;
|
|
4234
4235
|
}[] | null | undefined;
|
|
4235
|
-
parentPreferenceId?: string | null | undefined;
|
|
4236
4236
|
}[] | null | undefined;
|
|
4237
4237
|
}, {
|
|
4238
|
-
type: "
|
|
4239
|
-
id: string;
|
|
4240
|
-
userId: number;
|
|
4238
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
4241
4239
|
enabled: boolean;
|
|
4242
4240
|
testMode: boolean;
|
|
4241
|
+
id: string;
|
|
4242
|
+
userId: number;
|
|
4243
|
+
parentPreferenceId?: string | null | undefined;
|
|
4243
4244
|
cases?: {
|
|
4244
|
-
id: string;
|
|
4245
|
-
createdAt: Date;
|
|
4246
4245
|
enabled: boolean;
|
|
4247
|
-
preferenceId: string;
|
|
4248
4246
|
testMode: boolean;
|
|
4247
|
+
id: string;
|
|
4248
|
+
preferenceId: string;
|
|
4249
4249
|
abTest: boolean;
|
|
4250
|
+
createdAt: Date;
|
|
4250
4251
|
savedFiltersId?: string | null | undefined;
|
|
4251
4252
|
variants?: {
|
|
4252
4253
|
payload: {
|
|
4253
4254
|
type: "ACTIONS";
|
|
4254
4255
|
data: {
|
|
4255
4256
|
actions: {
|
|
4256
|
-
type: "
|
|
4257
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4258
|
+
enabled: boolean;
|
|
4257
4259
|
payload: {
|
|
4258
4260
|
type: "EMPTY";
|
|
4259
4261
|
} | {
|
|
@@ -4308,7 +4310,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4308
4310
|
seconds: number;
|
|
4309
4311
|
};
|
|
4310
4312
|
};
|
|
4311
|
-
enabled: boolean;
|
|
4312
4313
|
mandatory?: boolean | null | undefined;
|
|
4313
4314
|
}[];
|
|
4314
4315
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4320,8 +4321,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4320
4321
|
} | {
|
|
4321
4322
|
type: "MANUAL";
|
|
4322
4323
|
timeSlots: {
|
|
4323
|
-
itemCount: number;
|
|
4324
4324
|
time: Date;
|
|
4325
|
+
itemCount: number;
|
|
4325
4326
|
}[];
|
|
4326
4327
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4327
4328
|
} | null | undefined;
|
|
@@ -4371,14 +4372,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4371
4372
|
name: string;
|
|
4372
4373
|
title?: string | null | undefined;
|
|
4373
4374
|
description?: string | null | undefined;
|
|
4375
|
+
salePrice?: number | null | undefined;
|
|
4376
|
+
buyPrice?: number | null | undefined;
|
|
4374
4377
|
categoryId?: number | null | undefined;
|
|
4375
4378
|
brand?: string | null | undefined;
|
|
4379
|
+
statusId?: number | null | undefined;
|
|
4380
|
+
sizeId?: number | null | undefined;
|
|
4376
4381
|
colorIds?: number[] | null | undefined;
|
|
4377
4382
|
packageSizeId?: number | null | undefined;
|
|
4378
|
-
sizeId?: number | null | undefined;
|
|
4379
|
-
statusId?: number | null | undefined;
|
|
4380
|
-
salePrice?: number | null | undefined;
|
|
4381
|
-
buyPrice?: number | null | undefined;
|
|
4382
4383
|
};
|
|
4383
4384
|
} | {
|
|
4384
4385
|
type: "TEXT";
|
|
@@ -4403,33 +4404,34 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4403
4404
|
borderColor?: string | null | undefined;
|
|
4404
4405
|
};
|
|
4405
4406
|
};
|
|
4406
|
-
id: string;
|
|
4407
4407
|
name: string;
|
|
4408
|
+
id: string;
|
|
4408
4409
|
caseId: string;
|
|
4409
4410
|
weight: number;
|
|
4410
4411
|
}[] | null | undefined;
|
|
4411
4412
|
}[] | null | undefined;
|
|
4412
|
-
parentPreferenceId?: string | null | undefined;
|
|
4413
4413
|
children?: {
|
|
4414
|
-
type: "
|
|
4415
|
-
id: string;
|
|
4416
|
-
userId: number;
|
|
4414
|
+
type: "PHOTO_ADDING" | "TEMPLATE" | "TITLE" | "DESCRIPTION" | "RETRY" | "LIFECYCLE" | "FEES";
|
|
4417
4415
|
enabled: boolean;
|
|
4418
4416
|
testMode: boolean;
|
|
4417
|
+
id: string;
|
|
4418
|
+
userId: number;
|
|
4419
|
+
parentPreferenceId?: string | null | undefined;
|
|
4419
4420
|
cases?: {
|
|
4420
|
-
id: string;
|
|
4421
|
-
createdAt: Date;
|
|
4422
4421
|
enabled: boolean;
|
|
4423
|
-
preferenceId: string;
|
|
4424
4422
|
testMode: boolean;
|
|
4423
|
+
id: string;
|
|
4424
|
+
preferenceId: string;
|
|
4425
4425
|
abTest: boolean;
|
|
4426
|
+
createdAt: Date;
|
|
4426
4427
|
savedFiltersId?: string | null | undefined;
|
|
4427
4428
|
variants?: {
|
|
4428
4429
|
payload: {
|
|
4429
4430
|
type: "ACTIONS";
|
|
4430
4431
|
data: {
|
|
4431
4432
|
actions: {
|
|
4432
|
-
type: "
|
|
4433
|
+
type: "WAIT" | "PRICE_DROP" | "REPUBLISH" | "WAIT_ADJUST" | "RESTART_LIFECYCLE";
|
|
4434
|
+
enabled: boolean;
|
|
4433
4435
|
payload: {
|
|
4434
4436
|
type: "EMPTY";
|
|
4435
4437
|
} | {
|
|
@@ -4484,7 +4486,6 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4484
4486
|
seconds: number;
|
|
4485
4487
|
};
|
|
4486
4488
|
};
|
|
4487
|
-
enabled: boolean;
|
|
4488
4489
|
mandatory?: boolean | null | undefined;
|
|
4489
4490
|
}[];
|
|
4490
4491
|
maxLaunchesPerDay?: number | null | undefined;
|
|
@@ -4496,8 +4497,8 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4496
4497
|
} | {
|
|
4497
4498
|
type: "MANUAL";
|
|
4498
4499
|
timeSlots: {
|
|
4499
|
-
itemCount: number;
|
|
4500
4500
|
time: Date;
|
|
4501
|
+
itemCount: number;
|
|
4501
4502
|
}[];
|
|
4502
4503
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
4503
4504
|
} | null | undefined;
|
|
@@ -4547,14 +4548,14 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4547
4548
|
name: string;
|
|
4548
4549
|
title?: string | null | undefined;
|
|
4549
4550
|
description?: string | null | undefined;
|
|
4551
|
+
salePrice?: number | null | undefined;
|
|
4552
|
+
buyPrice?: number | null | undefined;
|
|
4550
4553
|
categoryId?: number | null | undefined;
|
|
4551
4554
|
brand?: string | null | undefined;
|
|
4555
|
+
statusId?: number | null | undefined;
|
|
4556
|
+
sizeId?: number | null | undefined;
|
|
4552
4557
|
colorIds?: number[] | null | undefined;
|
|
4553
4558
|
packageSizeId?: number | null | undefined;
|
|
4554
|
-
sizeId?: number | null | undefined;
|
|
4555
|
-
statusId?: number | null | undefined;
|
|
4556
|
-
salePrice?: number | null | undefined;
|
|
4557
|
-
buyPrice?: number | null | undefined;
|
|
4558
4559
|
};
|
|
4559
4560
|
} | {
|
|
4560
4561
|
type: "TEXT";
|
|
@@ -4579,13 +4580,12 @@ export declare const PreferenceWithChildrenSchema: z.ZodObject<{
|
|
|
4579
4580
|
borderColor?: string | null | undefined;
|
|
4580
4581
|
};
|
|
4581
4582
|
};
|
|
4582
|
-
id: string;
|
|
4583
4583
|
name: string;
|
|
4584
|
+
id: string;
|
|
4584
4585
|
caseId: string;
|
|
4585
4586
|
weight: number;
|
|
4586
4587
|
}[] | null | undefined;
|
|
4587
4588
|
}[] | null | undefined;
|
|
4588
|
-
parentPreferenceId?: string | null | undefined;
|
|
4589
4589
|
}[] | null | undefined;
|
|
4590
4590
|
}>;
|
|
4591
4591
|
export type PreferenceWithChildren = z.infer<typeof PreferenceWithChildrenSchema>;
|