controlresell 2.8.51 → 2.8.52
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 +9 -10
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts +1 -1
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js.map +1 -1
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts +6 -6
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishRequest.d.ts +23 -71
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js +11 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.ts +9 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.d.ts → api/requests/items/publish/PublishRequestItems.d.ts} +19 -19
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.js → api/requests/items/publish/PublishRequestItems.js} +3 -3
- package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.js.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.ts → api/requests/items/publish/PublishRequestItems.ts} +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts +2 -2
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts +88 -88
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.js +5 -5
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -0
- package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.ts +5 -5
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts +22 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js +12 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.ts +10 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +28 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js +14 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.ts +12 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +34 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js +16 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.ts +14 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts +10 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js +8 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.ts +6 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +76 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +11 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -0
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +9 -0
- package/src/com/controlresell/auth/models/preferences/Preference.d.ts +20 -20
- package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +56 -56
- package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +46 -46
- package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +14 -14
- package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +12 -12
- package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +14 -14
- 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/PreferenceActionsPayload.d.ts +6 -6
- package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +68 -68
- package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +10 -10
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +10 -10
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +16 -16
- package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +10 -10
- package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +2 -2
- package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
- package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +4 -4
- package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +4 -4
- package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +10 -10
- package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +4 -4
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +130 -152
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/fees/Fee.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +118 -140
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +84 -102
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts +39 -0
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js +4 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemFiltersContext.ts +4 -1
- package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +114 -136
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +114 -136
- package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +118 -140
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +42 -56
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +44 -58
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +56 -76
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js +2 -2
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.ts +2 -2
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -10
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js +1 -3
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.ts +1 -3
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +10 -10
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.d.ts → images/ImageVariation.d.ts} +3 -3
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.js → images/ImageVariation.js} +3 -3
- package/src/com/controlresell/inventory/models/items/images/ImageVariation.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.ts → images/ImageVariation.ts} +2 -2
- package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts +4 -4
- package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts +2 -2
- package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts +2 -2
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +57 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +57 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +48 -48
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +328 -354
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +230 -252
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/User.d.ts +2 -2
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +18 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +272 -316
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +24 -24
- package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts +2 -2
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +28 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js +14 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js.map +1 -0
- package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.ts +12 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +40 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js +18 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js.map +1 -0
- package/src/com/controlresell/subscriptions/models/SubscriptionHistory.ts +16 -0
- package/src/index.d.ts +15 -11
- package/src/index.d.ts.map +1 -1
- package/src/index.js +36 -28
- package/src/index.js.map +1 -1
- package/src/index.ts +15 -11
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts +0 -19
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js +0 -11
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.ts +0 -9
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js +0 -18
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequest.ts +0 -16
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts +0 -225
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js +0 -13
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.ts +0 -11
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts +0 -305
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js +0 -12
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js.map +0 -1
- package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.ts +0 -10
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js.map +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.ts +0 -0
- /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts.map +0 -0
|
@@ -1,5 +1,77 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const RepublishRequestSchema: z.ZodObject<{
|
|
3
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4
|
+
itemIds: z.ZodArray<z.ZodNumber, "many">;
|
|
5
|
+
startTime: z.ZodDate;
|
|
6
|
+
endTime: z.ZodDate;
|
|
7
|
+
itemsPerDay: z.ZodNumber;
|
|
8
|
+
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">>>;
|
|
9
|
+
type: z.ZodLiteral<"AUTOMATIC">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
type: "AUTOMATIC";
|
|
12
|
+
itemIds: number[];
|
|
13
|
+
startTime: Date;
|
|
14
|
+
endTime: Date;
|
|
15
|
+
itemsPerDay: number;
|
|
16
|
+
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
type: "AUTOMATIC";
|
|
19
|
+
itemIds: number[];
|
|
20
|
+
startTime: Date;
|
|
21
|
+
endTime: Date;
|
|
22
|
+
itemsPerDay: number;
|
|
23
|
+
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
24
|
+
}>, z.ZodObject<{
|
|
25
|
+
itemIds: z.ZodArray<z.ZodNumber, "many">;
|
|
26
|
+
timeSlots: z.ZodArray<z.ZodObject<{
|
|
27
|
+
publishTime: z.ZodDate;
|
|
28
|
+
itemCount: z.ZodNumber;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
publishTime: Date;
|
|
31
|
+
itemCount: number;
|
|
32
|
+
}, {
|
|
33
|
+
publishTime: Date;
|
|
34
|
+
itemCount: number;
|
|
35
|
+
}>, "many">;
|
|
36
|
+
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">>>;
|
|
37
|
+
type: z.ZodLiteral<"MANUAL">;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
type: "MANUAL";
|
|
40
|
+
itemIds: number[];
|
|
41
|
+
timeSlots: {
|
|
42
|
+
publishTime: Date;
|
|
43
|
+
itemCount: number;
|
|
44
|
+
}[];
|
|
45
|
+
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
type: "MANUAL";
|
|
48
|
+
itemIds: number[];
|
|
49
|
+
timeSlots: {
|
|
50
|
+
publishTime: Date;
|
|
51
|
+
itemCount: number;
|
|
52
|
+
}[];
|
|
53
|
+
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
54
|
+
}>]>, "many">;
|
|
55
|
+
accountsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
56
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
58
|
+
value: z.ZodNumber;
|
|
59
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
60
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
61
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
value: number;
|
|
64
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
65
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
66
|
+
roundStep?: number | null | undefined;
|
|
67
|
+
maxRounds?: number | null | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
value: number;
|
|
70
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
71
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
72
|
+
roundStep?: number | null | undefined;
|
|
73
|
+
maxRounds?: number | null | undefined;
|
|
74
|
+
}>>>;
|
|
3
75
|
visionPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
76
|
doRemoveBackground: z.ZodBoolean;
|
|
5
77
|
doSmartCrop: z.ZodBoolean;
|
|
@@ -43,98 +115,26 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
43
115
|
borderSize?: number | null | undefined;
|
|
44
116
|
borderColor?: string | null | undefined;
|
|
45
117
|
}>>>;
|
|
46
|
-
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
|
-
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
48
|
-
value: z.ZodNumber;
|
|
49
|
-
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
50
|
-
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
|
-
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
value: number;
|
|
54
|
-
type: "PERCENTAGE" | "ABSOLUTE";
|
|
55
|
-
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
56
|
-
roundStep?: number | null | undefined;
|
|
57
|
-
maxRounds?: number | null | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
value: number;
|
|
60
|
-
type: "PERCENTAGE" | "ABSOLUTE";
|
|
61
|
-
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
62
|
-
roundStep?: number | null | undefined;
|
|
63
|
-
maxRounds?: number | null | undefined;
|
|
64
|
-
}>>>;
|
|
65
118
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
66
|
-
accountsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
67
|
-
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
68
|
-
itemIds: z.ZodArray<z.ZodNumber, "many">;
|
|
69
|
-
startTime: z.ZodDate;
|
|
70
|
-
endTime: z.ZodDate;
|
|
71
|
-
itemsPerDay: z.ZodNumber;
|
|
72
|
-
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">>>;
|
|
73
|
-
type: z.ZodLiteral<"AUTOMATIC">;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
type: "AUTOMATIC";
|
|
76
|
-
startTime: Date;
|
|
77
|
-
endTime: Date;
|
|
78
|
-
itemIds: number[];
|
|
79
|
-
itemsPerDay: number;
|
|
80
|
-
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
type: "AUTOMATIC";
|
|
83
|
-
startTime: Date;
|
|
84
|
-
endTime: Date;
|
|
85
|
-
itemIds: number[];
|
|
86
|
-
itemsPerDay: number;
|
|
87
|
-
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
88
|
-
}>, z.ZodObject<{
|
|
89
|
-
itemIds: z.ZodArray<z.ZodNumber, "many">;
|
|
90
|
-
timeSlots: z.ZodArray<z.ZodObject<{
|
|
91
|
-
publishTime: z.ZodDate;
|
|
92
|
-
itemCount: z.ZodNumber;
|
|
93
|
-
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
itemCount: number;
|
|
95
|
-
publishTime: Date;
|
|
96
|
-
}, {
|
|
97
|
-
itemCount: number;
|
|
98
|
-
publishTime: Date;
|
|
99
|
-
}>, "many">;
|
|
100
|
-
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">>>;
|
|
101
|
-
type: z.ZodLiteral<"MANUAL">;
|
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
type: "MANUAL";
|
|
104
|
-
timeSlots: {
|
|
105
|
-
itemCount: number;
|
|
106
|
-
publishTime: Date;
|
|
107
|
-
}[];
|
|
108
|
-
itemIds: number[];
|
|
109
|
-
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
type: "MANUAL";
|
|
112
|
-
timeSlots: {
|
|
113
|
-
itemCount: number;
|
|
114
|
-
publishTime: Date;
|
|
115
|
-
}[];
|
|
116
|
-
itemIds: number[];
|
|
117
|
-
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
118
|
-
}>]>, "many">>>;
|
|
119
119
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
items
|
|
121
|
+
items: ({
|
|
122
122
|
type: "AUTOMATIC";
|
|
123
|
+
itemIds: number[];
|
|
123
124
|
startTime: Date;
|
|
124
125
|
endTime: Date;
|
|
125
|
-
itemIds: number[];
|
|
126
126
|
itemsPerDay: number;
|
|
127
127
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
128
128
|
} | {
|
|
129
129
|
type: "MANUAL";
|
|
130
|
+
itemIds: number[];
|
|
130
131
|
timeSlots: {
|
|
131
|
-
itemCount: number;
|
|
132
132
|
publishTime: Date;
|
|
133
|
+
itemCount: number;
|
|
133
134
|
}[];
|
|
134
|
-
itemIds: number[];
|
|
135
135
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
136
|
-
})[]
|
|
137
|
-
|
|
136
|
+
})[];
|
|
137
|
+
accountsId?: string[] | null | undefined;
|
|
138
138
|
priceDropPayload?: {
|
|
139
139
|
value: number;
|
|
140
140
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -142,8 +142,6 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
142
142
|
roundStep?: number | null | undefined;
|
|
143
143
|
maxRounds?: number | null | undefined;
|
|
144
144
|
} | null | undefined;
|
|
145
|
-
targetAccountId?: string | null | undefined;
|
|
146
|
-
accountsId?: string[] | null | undefined;
|
|
147
145
|
visionPayload?: {
|
|
148
146
|
doRemoveBackground: boolean;
|
|
149
147
|
doSmartCrop: boolean;
|
|
@@ -159,24 +157,26 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
159
157
|
borderSize?: number | null | undefined;
|
|
160
158
|
borderColor?: string | null | undefined;
|
|
161
159
|
} | null | undefined;
|
|
160
|
+
publishingDate?: Date | null | undefined;
|
|
161
|
+
targetAccountId?: string | null | undefined;
|
|
162
162
|
}, {
|
|
163
|
-
items
|
|
163
|
+
items: ({
|
|
164
164
|
type: "AUTOMATIC";
|
|
165
|
+
itemIds: number[];
|
|
165
166
|
startTime: Date;
|
|
166
167
|
endTime: Date;
|
|
167
|
-
itemIds: number[];
|
|
168
168
|
itemsPerDay: number;
|
|
169
169
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
170
170
|
} | {
|
|
171
171
|
type: "MANUAL";
|
|
172
|
+
itemIds: number[];
|
|
172
173
|
timeSlots: {
|
|
173
|
-
itemCount: number;
|
|
174
174
|
publishTime: Date;
|
|
175
|
+
itemCount: number;
|
|
175
176
|
}[];
|
|
176
|
-
itemIds: number[];
|
|
177
177
|
daysOfWeek?: ("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY")[] | null | undefined;
|
|
178
|
-
})[]
|
|
179
|
-
|
|
178
|
+
})[];
|
|
179
|
+
accountsId?: string[] | null | undefined;
|
|
180
180
|
priceDropPayload?: {
|
|
181
181
|
value: number;
|
|
182
182
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -184,8 +184,6 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
184
184
|
roundStep?: number | null | undefined;
|
|
185
185
|
maxRounds?: number | null | undefined;
|
|
186
186
|
} | null | undefined;
|
|
187
|
-
targetAccountId?: string | null | undefined;
|
|
188
|
-
accountsId?: string[] | null | undefined;
|
|
189
187
|
visionPayload?: {
|
|
190
188
|
doRemoveBackground: boolean;
|
|
191
189
|
doSmartCrop: boolean;
|
|
@@ -201,6 +199,8 @@ export declare const RepublishRequestSchema: z.ZodObject<{
|
|
|
201
199
|
borderSize?: number | null | undefined;
|
|
202
200
|
borderColor?: string | null | undefined;
|
|
203
201
|
} | null | undefined;
|
|
202
|
+
publishingDate?: Date | null | undefined;
|
|
203
|
+
targetAccountId?: string | null | undefined;
|
|
204
204
|
}>;
|
|
205
205
|
export type RepublishRequest = z.infer<typeof RepublishRequestSchema>;
|
|
206
206
|
//# sourceMappingURL=RepublishRequest.d.ts.map
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RepublishRequestSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const
|
|
5
|
+
const PublishRequestItems_1 = require("../publish/PublishRequestItems");
|
|
6
6
|
const PreferencePricePayload_1 = require("../../../../auth/models/preferences/payloads/prices/PreferencePricePayload");
|
|
7
|
-
const
|
|
7
|
+
const PreferenceVisionPayload_1 = require("../../../../auth/models/preferences/payloads/vision/PreferenceVisionPayload");
|
|
8
8
|
exports.RepublishRequestSchema = zod_1.z.object({
|
|
9
|
-
|
|
9
|
+
items: zod_1.z.array(PublishRequestItems_1.PublishRequestItemsSchema),
|
|
10
|
+
accountsId: zod_1.z.array(zod_1.z.string().uuid()).nullish(),
|
|
10
11
|
priceDropPayload: PreferencePricePayload_1.PreferencePricePayloadSchema.nullish(),
|
|
12
|
+
visionPayload: PreferenceVisionPayload_1.PreferenceVisionPayloadSchema.nullish(),
|
|
11
13
|
publishingDate: zod_1.z.coerce.date().nullish(),
|
|
12
|
-
accountsId: zod_1.z.array(zod_1.z.string().uuid()).nullish(),
|
|
13
|
-
items: zod_1.z.array(PublishRequestItem_1.PublishRequestItemSchema).nullish(),
|
|
14
14
|
targetAccountId: zod_1.z.string().uuid().nullish()
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=RepublishRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RepublishRequest.js","sourceRoot":"","sources":["RepublishRequest.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,wEAAwE;AACxE,uHAAuH;AACvH,yHAAyH;AAE5G,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAyB,CAAC;IACzC,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE;IAChD,gBAAgB,EAAE,qDAA4B,CAAC,OAAO,EAAE;IACxD,aAAa,EAAE,uDAA6B,CAAC,OAAO,EAAE;IACtD,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACzC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC/C,CAAC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
|
-
import {
|
|
2
|
+
import {PublishRequestItemsSchema} from "../publish/PublishRequestItems"
|
|
3
3
|
import {PreferencePricePayloadSchema} from "../../../../auth/models/preferences/payloads/prices/PreferencePricePayload"
|
|
4
|
-
import {
|
|
4
|
+
import {PreferenceVisionPayloadSchema} from "../../../../auth/models/preferences/payloads/vision/PreferenceVisionPayload"
|
|
5
5
|
|
|
6
6
|
export const RepublishRequestSchema = z.object({
|
|
7
|
-
|
|
7
|
+
items: z.array(PublishRequestItemsSchema),
|
|
8
|
+
accountsId: z.array(z.string().uuid()).nullish(),
|
|
8
9
|
priceDropPayload: PreferencePricePayloadSchema.nullish(),
|
|
10
|
+
visionPayload: PreferenceVisionPayloadSchema.nullish(),
|
|
9
11
|
publishingDate: z.coerce.date().nullish(),
|
|
10
|
-
accountsId: z.array(z.string().uuid()).nullish(),
|
|
11
|
-
items: z.array(PublishRequestItemSchema).nullish(),
|
|
12
12
|
targetAccountId: z.string().uuid().nullish()
|
|
13
13
|
})
|
|
14
14
|
export type RepublishRequest = z.infer<typeof RepublishRequestSchema>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CreateQuizResponseRequestSchema: z.ZodObject<{
|
|
3
|
+
monthlySalesVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
favoriteCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
discoverySource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
sellingPlatforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
7
|
+
purchaseSources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
monthlySalesVolume?: string | null | undefined;
|
|
10
|
+
favoriteCategory?: string | null | undefined;
|
|
11
|
+
discoverySource?: string | null | undefined;
|
|
12
|
+
sellingPlatforms?: string[] | null | undefined;
|
|
13
|
+
purchaseSources?: string[] | null | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
monthlySalesVolume?: string | null | undefined;
|
|
16
|
+
favoriteCategory?: string | null | undefined;
|
|
17
|
+
discoverySource?: string | null | undefined;
|
|
18
|
+
sellingPlatforms?: string[] | null | undefined;
|
|
19
|
+
purchaseSources?: string[] | null | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export type CreateQuizResponseRequest = z.infer<typeof CreateQuizResponseRequestSchema>;
|
|
22
|
+
//# sourceMappingURL=CreateQuizResponseRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateQuizResponseRequest.d.ts","sourceRoot":"","sources":["CreateQuizResponseRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;EAM1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateQuizResponseRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CreateQuizResponseRequestSchema = zod_1.z.object({
|
|
6
|
+
monthlySalesVolume: zod_1.z.string().nullish(),
|
|
7
|
+
favoriteCategory: zod_1.z.string().nullish(),
|
|
8
|
+
discoverySource: zod_1.z.string().nullish(),
|
|
9
|
+
sellingPlatforms: zod_1.z.array(zod_1.z.string()).nullish(),
|
|
10
|
+
purchaseSources: zod_1.z.array(zod_1.z.string()).nullish()
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=CreateQuizResponseRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateQuizResponseRequest.js","sourceRoot":"","sources":["CreateQuizResponseRequest.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACrC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/C,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACjD,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
|
|
3
|
+
export const CreateQuizResponseRequestSchema = z.object({
|
|
4
|
+
monthlySalesVolume: z.string().nullish(),
|
|
5
|
+
favoriteCategory: z.string().nullish(),
|
|
6
|
+
discoverySource: z.string().nullish(),
|
|
7
|
+
sellingPlatforms: z.array(z.string()).nullish(),
|
|
8
|
+
purchaseSources: z.array(z.string()).nullish()
|
|
9
|
+
})
|
|
10
|
+
export type CreateQuizResponseRequest = z.infer<typeof CreateQuizResponseRequestSchema>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const QuizResponseBaseResponseSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
user_id: z.ZodNumber;
|
|
5
|
+
monthlySalesVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
favoriteCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
discoverySource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
createdAt: z.ZodDate;
|
|
9
|
+
updatedAt: z.ZodDate;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
id: number;
|
|
12
|
+
user_id: number;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
monthlySalesVolume?: string | null | undefined;
|
|
16
|
+
favoriteCategory?: string | null | undefined;
|
|
17
|
+
discoverySource?: string | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
id: number;
|
|
20
|
+
user_id: number;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
monthlySalesVolume?: string | null | undefined;
|
|
24
|
+
favoriteCategory?: string | null | undefined;
|
|
25
|
+
discoverySource?: string | null | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
export type QuizResponseBaseResponse = z.infer<typeof QuizResponseBaseResponseSchema>;
|
|
28
|
+
//# sourceMappingURL=QuizResponseBaseResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizResponseBaseResponse.d.ts","sourceRoot":"","sources":["QuizResponseBaseResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;EAQzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuizResponseBaseResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.QuizResponseBaseResponseSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number(),
|
|
7
|
+
user_id: zod_1.z.number(),
|
|
8
|
+
monthlySalesVolume: zod_1.z.string().nullish(),
|
|
9
|
+
favoriteCategory: zod_1.z.string().nullish(),
|
|
10
|
+
discoverySource: zod_1.z.string().nullish(),
|
|
11
|
+
createdAt: zod_1.z.coerce.date(),
|
|
12
|
+
updatedAt: zod_1.z.coerce.date()
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=QuizResponseBaseResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizResponseBaseResponse.js","sourceRoot":"","sources":["QuizResponseBaseResponse.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACrC,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;CAC7B,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
|
|
3
|
+
export const QuizResponseBaseResponseSchema = z.object({
|
|
4
|
+
id: z.number(),
|
|
5
|
+
user_id: z.number(),
|
|
6
|
+
monthlySalesVolume: z.string().nullish(),
|
|
7
|
+
favoriteCategory: z.string().nullish(),
|
|
8
|
+
discoverySource: z.string().nullish(),
|
|
9
|
+
createdAt: z.coerce.date(),
|
|
10
|
+
updatedAt: z.coerce.date()
|
|
11
|
+
})
|
|
12
|
+
export type QuizResponseBaseResponse = z.infer<typeof QuizResponseBaseResponseSchema>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const QuizResponseResponseSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
user_id: z.ZodNumber;
|
|
5
|
+
monthlySalesVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
favoriteCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
discoverySource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
sellingPlatforms: z.ZodArray<z.ZodString, "many">;
|
|
9
|
+
purchaseSources: z.ZodArray<z.ZodString, "many">;
|
|
10
|
+
createdAt: z.ZodDate;
|
|
11
|
+
updatedAt: z.ZodDate;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
sellingPlatforms: string[];
|
|
14
|
+
purchaseSources: string[];
|
|
15
|
+
id: number;
|
|
16
|
+
user_id: number;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
monthlySalesVolume?: string | null | undefined;
|
|
20
|
+
favoriteCategory?: string | null | undefined;
|
|
21
|
+
discoverySource?: string | null | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
sellingPlatforms: string[];
|
|
24
|
+
purchaseSources: string[];
|
|
25
|
+
id: number;
|
|
26
|
+
user_id: number;
|
|
27
|
+
createdAt: Date;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
monthlySalesVolume?: string | null | undefined;
|
|
30
|
+
favoriteCategory?: string | null | undefined;
|
|
31
|
+
discoverySource?: string | null | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
export type QuizResponseResponse = z.infer<typeof QuizResponseResponseSchema>;
|
|
34
|
+
//# sourceMappingURL=QuizResponseResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizResponseResponse.d.ts","sourceRoot":"","sources":["QuizResponseResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuizResponseResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.QuizResponseResponseSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number(),
|
|
7
|
+
user_id: zod_1.z.number(),
|
|
8
|
+
monthlySalesVolume: zod_1.z.string().nullish(),
|
|
9
|
+
favoriteCategory: zod_1.z.string().nullish(),
|
|
10
|
+
discoverySource: zod_1.z.string().nullish(),
|
|
11
|
+
sellingPlatforms: zod_1.z.array(zod_1.z.string()),
|
|
12
|
+
purchaseSources: zod_1.z.array(zod_1.z.string()),
|
|
13
|
+
createdAt: zod_1.z.coerce.date(),
|
|
14
|
+
updatedAt: zod_1.z.coerce.date()
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=QuizResponseResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuizResponseResponse.js","sourceRoot":"","sources":["QuizResponseResponse.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACrC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACrC,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACpC,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;CAC7B,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
|
|
3
|
+
export const QuizResponseResponseSchema = z.object({
|
|
4
|
+
id: z.number(),
|
|
5
|
+
user_id: z.number(),
|
|
6
|
+
monthlySalesVolume: z.string().nullish(),
|
|
7
|
+
favoriteCategory: z.string().nullish(),
|
|
8
|
+
discoverySource: z.string().nullish(),
|
|
9
|
+
sellingPlatforms: z.array(z.string()),
|
|
10
|
+
purchaseSources: z.array(z.string()),
|
|
11
|
+
createdAt: z.coerce.date(),
|
|
12
|
+
updatedAt: z.coerce.date()
|
|
13
|
+
})
|
|
14
|
+
export type QuizResponseResponse = z.infer<typeof QuizResponseResponseSchema>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const BillingPortalUrlResponseSchema: z.ZodObject<{
|
|
3
|
+
url: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
url: string;
|
|
6
|
+
}, {
|
|
7
|
+
url: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type BillingPortalUrlResponse = z.infer<typeof BillingPortalUrlResponseSchema>;
|
|
10
|
+
//# sourceMappingURL=BillingPortalUrlResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPortalUrlResponse.d.ts","sourceRoot":"","sources":["BillingPortalUrlResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,8BAA8B;;;;;;EAEzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingPortalUrlResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.BillingPortalUrlResponseSchema = zod_1.z.object({
|
|
6
|
+
url: zod_1.z.string()
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=BillingPortalUrlResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingPortalUrlResponse.js","sourceRoot":"","sources":["BillingPortalUrlResponse.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAA"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SubscriptionStatusSchema: z.ZodObject<{
|
|
3
|
+
state: z.ZodUnknown;
|
|
4
|
+
isEligibleToTrial: z.ZodBoolean;
|
|
5
|
+
history: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
userId: z.ZodNumber;
|
|
8
|
+
type: z.ZodUnknown;
|
|
9
|
+
levelId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
levelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
multiplierBefore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
multiplierAfter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
source: z.ZodUnknown;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
15
|
+
createdAt: z.ZodDate;
|
|
16
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
id: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
userId: number;
|
|
21
|
+
type?: unknown;
|
|
22
|
+
levelId?: number | null | undefined;
|
|
23
|
+
levelName?: string | null | undefined;
|
|
24
|
+
multiplierBefore?: number | null | undefined;
|
|
25
|
+
multiplierAfter?: number | null | undefined;
|
|
26
|
+
source?: unknown;
|
|
27
|
+
metadata?: unknown;
|
|
28
|
+
requestId?: string | null | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
id: string;
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
userId: number;
|
|
33
|
+
type?: unknown;
|
|
34
|
+
levelId?: number | null | undefined;
|
|
35
|
+
levelName?: string | null | undefined;
|
|
36
|
+
multiplierBefore?: number | null | undefined;
|
|
37
|
+
multiplierAfter?: number | null | undefined;
|
|
38
|
+
source?: unknown;
|
|
39
|
+
metadata?: unknown;
|
|
40
|
+
requestId?: string | null | undefined;
|
|
41
|
+
}>, "many">;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
isEligibleToTrial: boolean;
|
|
44
|
+
history: {
|
|
45
|
+
id: string;
|
|
46
|
+
createdAt: Date;
|
|
47
|
+
userId: number;
|
|
48
|
+
type?: unknown;
|
|
49
|
+
levelId?: number | null | undefined;
|
|
50
|
+
levelName?: string | null | undefined;
|
|
51
|
+
multiplierBefore?: number | null | undefined;
|
|
52
|
+
multiplierAfter?: number | null | undefined;
|
|
53
|
+
source?: unknown;
|
|
54
|
+
metadata?: unknown;
|
|
55
|
+
requestId?: string | null | undefined;
|
|
56
|
+
}[];
|
|
57
|
+
state?: unknown;
|
|
58
|
+
}, {
|
|
59
|
+
isEligibleToTrial: boolean;
|
|
60
|
+
history: {
|
|
61
|
+
id: string;
|
|
62
|
+
createdAt: Date;
|
|
63
|
+
userId: number;
|
|
64
|
+
type?: unknown;
|
|
65
|
+
levelId?: number | null | undefined;
|
|
66
|
+
levelName?: string | null | undefined;
|
|
67
|
+
multiplierBefore?: number | null | undefined;
|
|
68
|
+
multiplierAfter?: number | null | undefined;
|
|
69
|
+
source?: unknown;
|
|
70
|
+
metadata?: unknown;
|
|
71
|
+
requestId?: string | null | undefined;
|
|
72
|
+
}[];
|
|
73
|
+
state?: unknown;
|
|
74
|
+
}>;
|
|
75
|
+
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
|
|
76
|
+
//# sourceMappingURL=SubscriptionStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionStatus.d.ts","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionStatusSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const SubscriptionHistory_1 = require("../../../subscriptions/models/SubscriptionHistory");
|
|
6
|
+
exports.SubscriptionStatusSchema = zod_1.z.object({
|
|
7
|
+
state: zod_1.z.unknown(),
|
|
8
|
+
isEligibleToTrial: zod_1.z.boolean(),
|
|
9
|
+
history: zod_1.z.array(SubscriptionHistory_1.SubscriptionHistorySchema)
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=SubscriptionStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,2FAA2F;AAE9E,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE;IAClB,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE;IAC9B,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAyB,CAAC;CAC9C,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {SubscriptionHistorySchema} from "../../../subscriptions/models/SubscriptionHistory"
|
|
3
|
+
|
|
4
|
+
export const SubscriptionStatusSchema = z.object({
|
|
5
|
+
state: z.unknown(),
|
|
6
|
+
isEligibleToTrial: z.boolean(),
|
|
7
|
+
history: z.array(SubscriptionHistorySchema)
|
|
8
|
+
})
|
|
9
|
+
export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>
|