controlresell 2.8.50 → 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/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts +9 -0
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js +4 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/subscriptions/CreateSubscriptionPaymentLinkRequest.ts +4 -1
- 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/SubscriptionPaymentLinkResponse.d.ts +3 -3
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.js.map +1 -1
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionPaymentLinkResponse.ts +1 -1
- 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
|
@@ -330,8 +330,8 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
|
|
|
330
330
|
isPinned: z.ZodBoolean;
|
|
331
331
|
}, "strip", z.ZodTypeAny, {
|
|
332
332
|
id: string;
|
|
333
|
-
accountId: string;
|
|
334
333
|
updatedAt: Date;
|
|
334
|
+
accountId: string;
|
|
335
335
|
platformConversationId: string;
|
|
336
336
|
isPinned: boolean;
|
|
337
337
|
account?: {
|
|
@@ -413,8 +413,8 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
|
|
|
413
413
|
lastRead?: Date | null | undefined;
|
|
414
414
|
}, {
|
|
415
415
|
id: string;
|
|
416
|
-
accountId: string;
|
|
417
416
|
updatedAt: Date;
|
|
417
|
+
accountId: string;
|
|
418
418
|
platformConversationId: string;
|
|
419
419
|
isPinned: boolean;
|
|
420
420
|
account?: {
|
|
@@ -700,8 +700,8 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
|
|
|
700
700
|
type: "CONVERSATION";
|
|
701
701
|
conversation: {
|
|
702
702
|
id: string;
|
|
703
|
-
accountId: string;
|
|
704
703
|
updatedAt: Date;
|
|
704
|
+
accountId: string;
|
|
705
705
|
platformConversationId: string;
|
|
706
706
|
isPinned: boolean;
|
|
707
707
|
account?: {
|
|
@@ -830,8 +830,8 @@ export declare const UserWsPayloadConversationSchema: z.ZodObject<{
|
|
|
830
830
|
type: "CONVERSATION";
|
|
831
831
|
conversation: {
|
|
832
832
|
id: string;
|
|
833
|
-
accountId: string;
|
|
834
833
|
updatedAt: Date;
|
|
834
|
+
accountId: string;
|
|
835
835
|
platformConversationId: string;
|
|
836
836
|
isPinned: boolean;
|
|
837
837
|
account?: {
|
|
@@ -1052,10 +1052,10 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1052
1052
|
value: number;
|
|
1053
1053
|
type: string;
|
|
1054
1054
|
id: string | number;
|
|
1055
|
-
name: string;
|
|
1056
1055
|
createdAt: Date;
|
|
1057
|
-
userId: string | number;
|
|
1058
1056
|
updatedAt: Date;
|
|
1057
|
+
name: string;
|
|
1058
|
+
userId: string | number;
|
|
1059
1059
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1060
1060
|
startDate: Date;
|
|
1061
1061
|
active: boolean;
|
|
@@ -1067,10 +1067,10 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1067
1067
|
value: number;
|
|
1068
1068
|
type: string;
|
|
1069
1069
|
id: string | number;
|
|
1070
|
-
name: string;
|
|
1071
1070
|
createdAt: Date;
|
|
1072
|
-
userId: string | number;
|
|
1073
1071
|
updatedAt: Date;
|
|
1072
|
+
name: string;
|
|
1073
|
+
userId: string | number;
|
|
1074
1074
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
1075
1075
|
startDate: Date;
|
|
1076
1076
|
active: boolean;
|
|
@@ -1092,15 +1092,15 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1092
1092
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1093
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1094
1094
|
id: string | number;
|
|
1095
|
-
name: string;
|
|
1096
1095
|
createdAt: Date;
|
|
1096
|
+
name: string;
|
|
1097
1097
|
isUserLabel: boolean;
|
|
1098
1098
|
itemCount?: number | null | undefined;
|
|
1099
1099
|
userId?: string | number | null | undefined;
|
|
1100
1100
|
}, {
|
|
1101
1101
|
id: string | number;
|
|
1102
|
-
name: string;
|
|
1103
1102
|
createdAt: Date;
|
|
1103
|
+
name: string;
|
|
1104
1104
|
isUserLabel: boolean;
|
|
1105
1105
|
itemCount?: number | null | undefined;
|
|
1106
1106
|
userId?: string | number | null | undefined;
|
|
@@ -1110,8 +1110,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1110
1110
|
labelId: string | number;
|
|
1111
1111
|
label?: {
|
|
1112
1112
|
id: string | number;
|
|
1113
|
-
name: string;
|
|
1114
1113
|
createdAt: Date;
|
|
1114
|
+
name: string;
|
|
1115
1115
|
isUserLabel: boolean;
|
|
1116
1116
|
itemCount?: number | null | undefined;
|
|
1117
1117
|
userId?: string | number | null | undefined;
|
|
@@ -1121,8 +1121,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1121
1121
|
labelId: string | number;
|
|
1122
1122
|
label?: {
|
|
1123
1123
|
id: string | number;
|
|
1124
|
-
name: string;
|
|
1125
1124
|
createdAt: Date;
|
|
1125
|
+
name: string;
|
|
1126
1126
|
isUserLabel: boolean;
|
|
1127
1127
|
itemCount?: number | null | undefined;
|
|
1128
1128
|
userId?: string | number | null | undefined;
|
|
@@ -1755,12 +1755,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1755
1755
|
maxRounds?: number | null | undefined;
|
|
1756
1756
|
}>>>;
|
|
1757
1757
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1758
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1759
1758
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1760
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1761
1759
|
}, "strip", z.ZodTypeAny, {
|
|
1762
1760
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1763
|
-
publishingDate?: Date | null | undefined;
|
|
1764
1761
|
priceDropPayload?: {
|
|
1765
1762
|
value: number;
|
|
1766
1763
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1768,13 +1765,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1768
1765
|
roundStep?: number | null | undefined;
|
|
1769
1766
|
maxRounds?: number | null | undefined;
|
|
1770
1767
|
} | null | undefined;
|
|
1771
|
-
|
|
1772
|
-
sourceAccountId?: string | null | undefined;
|
|
1768
|
+
publishingDate?: Date | null | undefined;
|
|
1773
1769
|
targetAccountId?: string | null | undefined;
|
|
1774
|
-
|
|
1770
|
+
isTransfer?: boolean | null | undefined;
|
|
1775
1771
|
}, {
|
|
1776
1772
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1777
|
-
publishingDate?: Date | null | undefined;
|
|
1778
1773
|
priceDropPayload?: {
|
|
1779
1774
|
value: number;
|
|
1780
1775
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1782,17 +1777,15 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1782
1777
|
roundStep?: number | null | undefined;
|
|
1783
1778
|
maxRounds?: number | null | undefined;
|
|
1784
1779
|
} | null | undefined;
|
|
1785
|
-
|
|
1786
|
-
sourceAccountId?: string | null | undefined;
|
|
1780
|
+
publishingDate?: Date | null | undefined;
|
|
1787
1781
|
targetAccountId?: string | null | undefined;
|
|
1788
|
-
|
|
1782
|
+
isTransfer?: boolean | null | undefined;
|
|
1789
1783
|
}>;
|
|
1790
1784
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1791
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1792
1786
|
type: "REPUBLISHING";
|
|
1793
1787
|
data: {
|
|
1794
1788
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1795
|
-
publishingDate?: Date | null | undefined;
|
|
1796
1789
|
priceDropPayload?: {
|
|
1797
1790
|
value: number;
|
|
1798
1791
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1800,16 +1793,14 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1800
1793
|
roundStep?: number | null | undefined;
|
|
1801
1794
|
maxRounds?: number | null | undefined;
|
|
1802
1795
|
} | null | undefined;
|
|
1803
|
-
|
|
1804
|
-
sourceAccountId?: string | null | undefined;
|
|
1796
|
+
publishingDate?: Date | null | undefined;
|
|
1805
1797
|
targetAccountId?: string | null | undefined;
|
|
1806
|
-
|
|
1798
|
+
isTransfer?: boolean | null | undefined;
|
|
1807
1799
|
};
|
|
1808
1800
|
}, {
|
|
1809
1801
|
type: "REPUBLISHING";
|
|
1810
1802
|
data: {
|
|
1811
1803
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1812
|
-
publishingDate?: Date | null | undefined;
|
|
1813
1804
|
priceDropPayload?: {
|
|
1814
1805
|
value: number;
|
|
1815
1806
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1817,10 +1808,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1817
1808
|
roundStep?: number | null | undefined;
|
|
1818
1809
|
maxRounds?: number | null | undefined;
|
|
1819
1810
|
} | null | undefined;
|
|
1820
|
-
|
|
1821
|
-
sourceAccountId?: string | null | undefined;
|
|
1811
|
+
publishingDate?: Date | null | undefined;
|
|
1822
1812
|
targetAccountId?: string | null | undefined;
|
|
1823
|
-
|
|
1813
|
+
isTransfer?: boolean | null | undefined;
|
|
1824
1814
|
};
|
|
1825
1815
|
}>, z.ZodObject<{
|
|
1826
1816
|
data: z.ZodObject<{
|
|
@@ -1867,11 +1857,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1867
1857
|
attemptNumber: number;
|
|
1868
1858
|
previousHistoryId: string;
|
|
1869
1859
|
originalFailureDate: Date;
|
|
1870
|
-
fields?: {
|
|
1871
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1872
|
-
autoFixable: boolean;
|
|
1873
|
-
error?: string | null | undefined;
|
|
1874
|
-
}[] | null | undefined;
|
|
1875
1860
|
priceDropPayload?: {
|
|
1876
1861
|
value: number;
|
|
1877
1862
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1879,17 +1864,17 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1879
1864
|
roundStep?: number | null | undefined;
|
|
1880
1865
|
maxRounds?: number | null | undefined;
|
|
1881
1866
|
} | null | undefined;
|
|
1867
|
+
fields?: {
|
|
1868
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1869
|
+
autoFixable: boolean;
|
|
1870
|
+
error?: string | null | undefined;
|
|
1871
|
+
}[] | null | undefined;
|
|
1882
1872
|
}, {
|
|
1883
1873
|
maxAttempts: number;
|
|
1884
1874
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1885
1875
|
attemptNumber: number;
|
|
1886
1876
|
previousHistoryId: string;
|
|
1887
1877
|
originalFailureDate: Date;
|
|
1888
|
-
fields?: {
|
|
1889
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1890
|
-
autoFixable: boolean;
|
|
1891
|
-
error?: string | null | undefined;
|
|
1892
|
-
}[] | null | undefined;
|
|
1893
1878
|
priceDropPayload?: {
|
|
1894
1879
|
value: number;
|
|
1895
1880
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1897,6 +1882,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1897
1882
|
roundStep?: number | null | undefined;
|
|
1898
1883
|
maxRounds?: number | null | undefined;
|
|
1899
1884
|
} | null | undefined;
|
|
1885
|
+
fields?: {
|
|
1886
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1887
|
+
autoFixable: boolean;
|
|
1888
|
+
error?: string | null | undefined;
|
|
1889
|
+
}[] | null | undefined;
|
|
1900
1890
|
}>;
|
|
1901
1891
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1902
1892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1907,11 +1897,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1907
1897
|
attemptNumber: number;
|
|
1908
1898
|
previousHistoryId: string;
|
|
1909
1899
|
originalFailureDate: Date;
|
|
1910
|
-
fields?: {
|
|
1911
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1912
|
-
autoFixable: boolean;
|
|
1913
|
-
error?: string | null | undefined;
|
|
1914
|
-
}[] | null | undefined;
|
|
1915
1900
|
priceDropPayload?: {
|
|
1916
1901
|
value: number;
|
|
1917
1902
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1919,6 +1904,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1919
1904
|
roundStep?: number | null | undefined;
|
|
1920
1905
|
maxRounds?: number | null | undefined;
|
|
1921
1906
|
} | null | undefined;
|
|
1907
|
+
fields?: {
|
|
1908
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1909
|
+
autoFixable: boolean;
|
|
1910
|
+
error?: string | null | undefined;
|
|
1911
|
+
}[] | null | undefined;
|
|
1922
1912
|
};
|
|
1923
1913
|
}, {
|
|
1924
1914
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1928,11 +1918,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1928
1918
|
attemptNumber: number;
|
|
1929
1919
|
previousHistoryId: string;
|
|
1930
1920
|
originalFailureDate: Date;
|
|
1931
|
-
fields?: {
|
|
1932
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1933
|
-
autoFixable: boolean;
|
|
1934
|
-
error?: string | null | undefined;
|
|
1935
|
-
}[] | null | undefined;
|
|
1936
1921
|
priceDropPayload?: {
|
|
1937
1922
|
value: number;
|
|
1938
1923
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1940,6 +1925,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1940
1925
|
roundStep?: number | null | undefined;
|
|
1941
1926
|
maxRounds?: number | null | undefined;
|
|
1942
1927
|
} | null | undefined;
|
|
1928
|
+
fields?: {
|
|
1929
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1930
|
+
autoFixable: boolean;
|
|
1931
|
+
error?: string | null | undefined;
|
|
1932
|
+
}[] | null | undefined;
|
|
1943
1933
|
};
|
|
1944
1934
|
}>, z.ZodObject<{
|
|
1945
1935
|
data: z.ZodObject<{
|
|
@@ -2047,6 +2037,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2047
2037
|
id: string;
|
|
2048
2038
|
createdAt: Date;
|
|
2049
2039
|
itemId: string | number;
|
|
2040
|
+
requestId?: string | null | undefined;
|
|
2050
2041
|
data?: {
|
|
2051
2042
|
type: "ACTION_CANCELED";
|
|
2052
2043
|
data: {
|
|
@@ -2144,7 +2135,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2144
2135
|
type: "REPUBLISHING";
|
|
2145
2136
|
data: {
|
|
2146
2137
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2147
|
-
publishingDate?: Date | null | undefined;
|
|
2148
2138
|
priceDropPayload?: {
|
|
2149
2139
|
value: number;
|
|
2150
2140
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2152,10 +2142,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2152
2142
|
roundStep?: number | null | undefined;
|
|
2153
2143
|
maxRounds?: number | null | undefined;
|
|
2154
2144
|
} | null | undefined;
|
|
2155
|
-
|
|
2156
|
-
sourceAccountId?: string | null | undefined;
|
|
2145
|
+
publishingDate?: Date | null | undefined;
|
|
2157
2146
|
targetAccountId?: string | null | undefined;
|
|
2158
|
-
|
|
2147
|
+
isTransfer?: boolean | null | undefined;
|
|
2159
2148
|
};
|
|
2160
2149
|
} | {
|
|
2161
2150
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2165,11 +2154,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2165
2154
|
attemptNumber: number;
|
|
2166
2155
|
previousHistoryId: string;
|
|
2167
2156
|
originalFailureDate: Date;
|
|
2168
|
-
fields?: {
|
|
2169
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2170
|
-
autoFixable: boolean;
|
|
2171
|
-
error?: string | null | undefined;
|
|
2172
|
-
}[] | null | undefined;
|
|
2173
2157
|
priceDropPayload?: {
|
|
2174
2158
|
value: number;
|
|
2175
2159
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2177,6 +2161,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2177
2161
|
roundStep?: number | null | undefined;
|
|
2178
2162
|
maxRounds?: number | null | undefined;
|
|
2179
2163
|
} | null | undefined;
|
|
2164
|
+
fields?: {
|
|
2165
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2166
|
+
autoFixable: boolean;
|
|
2167
|
+
error?: string | null | undefined;
|
|
2168
|
+
}[] | null | undefined;
|
|
2180
2169
|
};
|
|
2181
2170
|
} | {
|
|
2182
2171
|
type: "SCHEDULED";
|
|
@@ -2200,13 +2189,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2200
2189
|
};
|
|
2201
2190
|
} | null | undefined;
|
|
2202
2191
|
accountId?: string | null | undefined;
|
|
2203
|
-
requestId?: string | null | undefined;
|
|
2204
2192
|
targetDate?: Date | null | undefined;
|
|
2205
2193
|
}, {
|
|
2206
2194
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2207
2195
|
id: string;
|
|
2208
2196
|
createdAt: Date;
|
|
2209
2197
|
itemId: string | number;
|
|
2198
|
+
requestId?: string | null | undefined;
|
|
2210
2199
|
data?: {
|
|
2211
2200
|
type: "ACTION_CANCELED";
|
|
2212
2201
|
data: {
|
|
@@ -2304,7 +2293,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2304
2293
|
type: "REPUBLISHING";
|
|
2305
2294
|
data: {
|
|
2306
2295
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2307
|
-
publishingDate?: Date | null | undefined;
|
|
2308
2296
|
priceDropPayload?: {
|
|
2309
2297
|
value: number;
|
|
2310
2298
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2312,10 +2300,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2312
2300
|
roundStep?: number | null | undefined;
|
|
2313
2301
|
maxRounds?: number | null | undefined;
|
|
2314
2302
|
} | null | undefined;
|
|
2315
|
-
|
|
2316
|
-
sourceAccountId?: string | null | undefined;
|
|
2303
|
+
publishingDate?: Date | null | undefined;
|
|
2317
2304
|
targetAccountId?: string | null | undefined;
|
|
2318
|
-
|
|
2305
|
+
isTransfer?: boolean | null | undefined;
|
|
2319
2306
|
};
|
|
2320
2307
|
} | {
|
|
2321
2308
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2325,11 +2312,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2325
2312
|
attemptNumber: number;
|
|
2326
2313
|
previousHistoryId: string;
|
|
2327
2314
|
originalFailureDate: Date;
|
|
2328
|
-
fields?: {
|
|
2329
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2330
|
-
autoFixable: boolean;
|
|
2331
|
-
error?: string | null | undefined;
|
|
2332
|
-
}[] | null | undefined;
|
|
2333
2315
|
priceDropPayload?: {
|
|
2334
2316
|
value: number;
|
|
2335
2317
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2337,6 +2319,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2337
2319
|
roundStep?: number | null | undefined;
|
|
2338
2320
|
maxRounds?: number | null | undefined;
|
|
2339
2321
|
} | null | undefined;
|
|
2322
|
+
fields?: {
|
|
2323
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2324
|
+
autoFixable: boolean;
|
|
2325
|
+
error?: string | null | undefined;
|
|
2326
|
+
}[] | null | undefined;
|
|
2340
2327
|
};
|
|
2341
2328
|
} | {
|
|
2342
2329
|
type: "SCHEDULED";
|
|
@@ -2360,7 +2347,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2360
2347
|
};
|
|
2361
2348
|
} | null | undefined;
|
|
2362
2349
|
accountId?: string | null | undefined;
|
|
2363
|
-
requestId?: string | null | undefined;
|
|
2364
2350
|
targetDate?: Date | null | undefined;
|
|
2365
2351
|
}>>>;
|
|
2366
2352
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -2430,11 +2416,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2430
2416
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2431
2417
|
id: string;
|
|
2432
2418
|
createdAt: Date;
|
|
2419
|
+
updatedAt: Date;
|
|
2433
2420
|
accountId: string;
|
|
2434
2421
|
itemId: string | number;
|
|
2435
2422
|
platformId: string;
|
|
2436
2423
|
platformUrl: string;
|
|
2437
|
-
updatedAt: Date;
|
|
2438
2424
|
platformPrice: number;
|
|
2439
2425
|
publishedAt: Date;
|
|
2440
2426
|
favoritesCount?: number | null | undefined;
|
|
@@ -2459,11 +2445,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2459
2445
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2460
2446
|
id: string;
|
|
2461
2447
|
createdAt: Date;
|
|
2448
|
+
updatedAt: Date;
|
|
2462
2449
|
accountId: string;
|
|
2463
2450
|
itemId: string | number;
|
|
2464
2451
|
platformId: string;
|
|
2465
2452
|
platformUrl: string;
|
|
2466
|
-
updatedAt: Date;
|
|
2467
2453
|
platformPrice: number;
|
|
2468
2454
|
publishedAt: Date;
|
|
2469
2455
|
favoritesCount?: number | null | undefined;
|
|
@@ -2489,19 +2475,20 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2489
2475
|
updatedAt: z.ZodDate;
|
|
2490
2476
|
}, "strip", z.ZodTypeAny, {
|
|
2491
2477
|
id: string | number;
|
|
2492
|
-
name: string;
|
|
2493
2478
|
createdAt: Date;
|
|
2494
|
-
userId: string | number;
|
|
2495
2479
|
updatedAt: Date;
|
|
2480
|
+
name: string;
|
|
2481
|
+
userId: string | number;
|
|
2496
2482
|
sold: boolean;
|
|
2483
|
+
state?: number | null | undefined;
|
|
2497
2484
|
fees?: {
|
|
2498
2485
|
value: number;
|
|
2499
2486
|
type: string;
|
|
2500
2487
|
id: string | number;
|
|
2501
|
-
name: string;
|
|
2502
2488
|
createdAt: Date;
|
|
2503
|
-
userId: string | number;
|
|
2504
2489
|
updatedAt: Date;
|
|
2490
|
+
name: string;
|
|
2491
|
+
userId: string | number;
|
|
2505
2492
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2506
2493
|
startDate: Date;
|
|
2507
2494
|
active: boolean;
|
|
@@ -2519,14 +2506,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2519
2506
|
estimatedPrice?: number | null | undefined;
|
|
2520
2507
|
purchaseDate?: Date | null | undefined;
|
|
2521
2508
|
sellingDate?: Date | null | undefined;
|
|
2522
|
-
state?: number | null | undefined;
|
|
2523
2509
|
labels?: {
|
|
2524
2510
|
itemId: string | number;
|
|
2525
2511
|
labelId: string | number;
|
|
2526
2512
|
label?: {
|
|
2527
2513
|
id: string | number;
|
|
2528
|
-
name: string;
|
|
2529
2514
|
createdAt: Date;
|
|
2515
|
+
name: string;
|
|
2530
2516
|
isUserLabel: boolean;
|
|
2531
2517
|
itemCount?: number | null | undefined;
|
|
2532
2518
|
userId?: string | number | null | undefined;
|
|
@@ -2548,11 +2534,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2548
2534
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2549
2535
|
id: string;
|
|
2550
2536
|
createdAt: Date;
|
|
2537
|
+
updatedAt: Date;
|
|
2551
2538
|
accountId: string;
|
|
2552
2539
|
itemId: string | number;
|
|
2553
2540
|
platformId: string;
|
|
2554
2541
|
platformUrl: string;
|
|
2555
|
-
updatedAt: Date;
|
|
2556
2542
|
platformPrice: number;
|
|
2557
2543
|
publishedAt: Date;
|
|
2558
2544
|
favoritesCount?: number | null | undefined;
|
|
@@ -2611,6 +2597,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2611
2597
|
id: string;
|
|
2612
2598
|
createdAt: Date;
|
|
2613
2599
|
itemId: string | number;
|
|
2600
|
+
requestId?: string | null | undefined;
|
|
2614
2601
|
data?: {
|
|
2615
2602
|
type: "ACTION_CANCELED";
|
|
2616
2603
|
data: {
|
|
@@ -2708,7 +2695,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2708
2695
|
type: "REPUBLISHING";
|
|
2709
2696
|
data: {
|
|
2710
2697
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2711
|
-
publishingDate?: Date | null | undefined;
|
|
2712
2698
|
priceDropPayload?: {
|
|
2713
2699
|
value: number;
|
|
2714
2700
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2716,10 +2702,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2716
2702
|
roundStep?: number | null | undefined;
|
|
2717
2703
|
maxRounds?: number | null | undefined;
|
|
2718
2704
|
} | null | undefined;
|
|
2719
|
-
|
|
2720
|
-
sourceAccountId?: string | null | undefined;
|
|
2705
|
+
publishingDate?: Date | null | undefined;
|
|
2721
2706
|
targetAccountId?: string | null | undefined;
|
|
2722
|
-
|
|
2707
|
+
isTransfer?: boolean | null | undefined;
|
|
2723
2708
|
};
|
|
2724
2709
|
} | {
|
|
2725
2710
|
type: "REPUBLISHING_RETRY";
|
|
@@ -2729,11 +2714,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2729
2714
|
attemptNumber: number;
|
|
2730
2715
|
previousHistoryId: string;
|
|
2731
2716
|
originalFailureDate: Date;
|
|
2732
|
-
fields?: {
|
|
2733
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2734
|
-
autoFixable: boolean;
|
|
2735
|
-
error?: string | null | undefined;
|
|
2736
|
-
}[] | null | undefined;
|
|
2737
2717
|
priceDropPayload?: {
|
|
2738
2718
|
value: number;
|
|
2739
2719
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2741,6 +2721,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2741
2721
|
roundStep?: number | null | undefined;
|
|
2742
2722
|
maxRounds?: number | null | undefined;
|
|
2743
2723
|
} | null | undefined;
|
|
2724
|
+
fields?: {
|
|
2725
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
2726
|
+
autoFixable: boolean;
|
|
2727
|
+
error?: string | null | undefined;
|
|
2728
|
+
}[] | null | undefined;
|
|
2744
2729
|
};
|
|
2745
2730
|
} | {
|
|
2746
2731
|
type: "SCHEDULED";
|
|
@@ -2764,24 +2749,24 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2764
2749
|
};
|
|
2765
2750
|
} | null | undefined;
|
|
2766
2751
|
accountId?: string | null | undefined;
|
|
2767
|
-
requestId?: string | null | undefined;
|
|
2768
2752
|
targetDate?: Date | null | undefined;
|
|
2769
2753
|
} | null | undefined;
|
|
2770
2754
|
}, {
|
|
2771
2755
|
id: string | number;
|
|
2772
|
-
name: string;
|
|
2773
2756
|
createdAt: Date;
|
|
2774
|
-
userId: string | number;
|
|
2775
2757
|
updatedAt: Date;
|
|
2758
|
+
name: string;
|
|
2759
|
+
userId: string | number;
|
|
2776
2760
|
sold: boolean;
|
|
2761
|
+
state?: number | null | undefined;
|
|
2777
2762
|
fees?: {
|
|
2778
2763
|
value: number;
|
|
2779
2764
|
type: string;
|
|
2780
2765
|
id: string | number;
|
|
2781
|
-
name: string;
|
|
2782
2766
|
createdAt: Date;
|
|
2783
|
-
userId: string | number;
|
|
2784
2767
|
updatedAt: Date;
|
|
2768
|
+
name: string;
|
|
2769
|
+
userId: string | number;
|
|
2785
2770
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
2786
2771
|
startDate: Date;
|
|
2787
2772
|
active: boolean;
|
|
@@ -2799,14 +2784,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2799
2784
|
estimatedPrice?: number | null | undefined;
|
|
2800
2785
|
purchaseDate?: Date | null | undefined;
|
|
2801
2786
|
sellingDate?: Date | null | undefined;
|
|
2802
|
-
state?: number | null | undefined;
|
|
2803
2787
|
labels?: {
|
|
2804
2788
|
itemId: string | number;
|
|
2805
2789
|
labelId: string | number;
|
|
2806
2790
|
label?: {
|
|
2807
2791
|
id: string | number;
|
|
2808
|
-
name: string;
|
|
2809
2792
|
createdAt: Date;
|
|
2793
|
+
name: string;
|
|
2810
2794
|
isUserLabel: boolean;
|
|
2811
2795
|
itemCount?: number | null | undefined;
|
|
2812
2796
|
userId?: string | number | null | undefined;
|
|
@@ -2828,11 +2812,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2828
2812
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
2829
2813
|
id: string;
|
|
2830
2814
|
createdAt: Date;
|
|
2815
|
+
updatedAt: Date;
|
|
2831
2816
|
accountId: string;
|
|
2832
2817
|
itemId: string | number;
|
|
2833
2818
|
platformId: string;
|
|
2834
2819
|
platformUrl: string;
|
|
2835
|
-
updatedAt: Date;
|
|
2836
2820
|
platformPrice: number;
|
|
2837
2821
|
publishedAt: Date;
|
|
2838
2822
|
favoritesCount?: number | null | undefined;
|
|
@@ -2891,6 +2875,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2891
2875
|
id: string;
|
|
2892
2876
|
createdAt: Date;
|
|
2893
2877
|
itemId: string | number;
|
|
2878
|
+
requestId?: string | null | undefined;
|
|
2894
2879
|
data?: {
|
|
2895
2880
|
type: "ACTION_CANCELED";
|
|
2896
2881
|
data: {
|
|
@@ -2988,7 +2973,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2988
2973
|
type: "REPUBLISHING";
|
|
2989
2974
|
data: {
|
|
2990
2975
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2991
|
-
publishingDate?: Date | null | undefined;
|
|
2992
2976
|
priceDropPayload?: {
|
|
2993
2977
|
value: number;
|
|
2994
2978
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -2996,10 +2980,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2996
2980
|
roundStep?: number | null | undefined;
|
|
2997
2981
|
maxRounds?: number | null | undefined;
|
|
2998
2982
|
} | null | undefined;
|
|
2999
|
-
|
|
3000
|
-
sourceAccountId?: string | null | undefined;
|
|
2983
|
+
publishingDate?: Date | null | undefined;
|
|
3001
2984
|
targetAccountId?: string | null | undefined;
|
|
3002
|
-
|
|
2985
|
+
isTransfer?: boolean | null | undefined;
|
|
3003
2986
|
};
|
|
3004
2987
|
} | {
|
|
3005
2988
|
type: "REPUBLISHING_RETRY";
|
|
@@ -3009,11 +2992,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3009
2992
|
attemptNumber: number;
|
|
3010
2993
|
previousHistoryId: string;
|
|
3011
2994
|
originalFailureDate: Date;
|
|
3012
|
-
fields?: {
|
|
3013
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3014
|
-
autoFixable: boolean;
|
|
3015
|
-
error?: string | null | undefined;
|
|
3016
|
-
}[] | null | undefined;
|
|
3017
2995
|
priceDropPayload?: {
|
|
3018
2996
|
value: number;
|
|
3019
2997
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3021,6 +2999,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3021
2999
|
roundStep?: number | null | undefined;
|
|
3022
3000
|
maxRounds?: number | null | undefined;
|
|
3023
3001
|
} | null | undefined;
|
|
3002
|
+
fields?: {
|
|
3003
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3004
|
+
autoFixable: boolean;
|
|
3005
|
+
error?: string | null | undefined;
|
|
3006
|
+
}[] | null | undefined;
|
|
3024
3007
|
};
|
|
3025
3008
|
} | {
|
|
3026
3009
|
type: "SCHEDULED";
|
|
@@ -3044,7 +3027,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3044
3027
|
};
|
|
3045
3028
|
} | null | undefined;
|
|
3046
3029
|
accountId?: string | null | undefined;
|
|
3047
|
-
requestId?: string | null | undefined;
|
|
3048
3030
|
targetDate?: Date | null | undefined;
|
|
3049
3031
|
} | null | undefined;
|
|
3050
3032
|
}>;
|
|
@@ -3054,19 +3036,20 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3054
3036
|
type: "ITEM";
|
|
3055
3037
|
item: {
|
|
3056
3038
|
id: string | number;
|
|
3057
|
-
name: string;
|
|
3058
3039
|
createdAt: Date;
|
|
3059
|
-
userId: string | number;
|
|
3060
3040
|
updatedAt: Date;
|
|
3041
|
+
name: string;
|
|
3042
|
+
userId: string | number;
|
|
3061
3043
|
sold: boolean;
|
|
3044
|
+
state?: number | null | undefined;
|
|
3062
3045
|
fees?: {
|
|
3063
3046
|
value: number;
|
|
3064
3047
|
type: string;
|
|
3065
3048
|
id: string | number;
|
|
3066
|
-
name: string;
|
|
3067
3049
|
createdAt: Date;
|
|
3068
|
-
userId: string | number;
|
|
3069
3050
|
updatedAt: Date;
|
|
3051
|
+
name: string;
|
|
3052
|
+
userId: string | number;
|
|
3070
3053
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3071
3054
|
startDate: Date;
|
|
3072
3055
|
active: boolean;
|
|
@@ -3084,14 +3067,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3084
3067
|
estimatedPrice?: number | null | undefined;
|
|
3085
3068
|
purchaseDate?: Date | null | undefined;
|
|
3086
3069
|
sellingDate?: Date | null | undefined;
|
|
3087
|
-
state?: number | null | undefined;
|
|
3088
3070
|
labels?: {
|
|
3089
3071
|
itemId: string | number;
|
|
3090
3072
|
labelId: string | number;
|
|
3091
3073
|
label?: {
|
|
3092
3074
|
id: string | number;
|
|
3093
|
-
name: string;
|
|
3094
3075
|
createdAt: Date;
|
|
3076
|
+
name: string;
|
|
3095
3077
|
isUserLabel: boolean;
|
|
3096
3078
|
itemCount?: number | null | undefined;
|
|
3097
3079
|
userId?: string | number | null | undefined;
|
|
@@ -3113,11 +3095,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3113
3095
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3114
3096
|
id: string;
|
|
3115
3097
|
createdAt: Date;
|
|
3098
|
+
updatedAt: Date;
|
|
3116
3099
|
accountId: string;
|
|
3117
3100
|
itemId: string | number;
|
|
3118
3101
|
platformId: string;
|
|
3119
3102
|
platformUrl: string;
|
|
3120
|
-
updatedAt: Date;
|
|
3121
3103
|
platformPrice: number;
|
|
3122
3104
|
publishedAt: Date;
|
|
3123
3105
|
favoritesCount?: number | null | undefined;
|
|
@@ -3176,6 +3158,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3176
3158
|
id: string;
|
|
3177
3159
|
createdAt: Date;
|
|
3178
3160
|
itemId: string | number;
|
|
3161
|
+
requestId?: string | null | undefined;
|
|
3179
3162
|
data?: {
|
|
3180
3163
|
type: "ACTION_CANCELED";
|
|
3181
3164
|
data: {
|
|
@@ -3273,7 +3256,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3273
3256
|
type: "REPUBLISHING";
|
|
3274
3257
|
data: {
|
|
3275
3258
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3276
|
-
publishingDate?: Date | null | undefined;
|
|
3277
3259
|
priceDropPayload?: {
|
|
3278
3260
|
value: number;
|
|
3279
3261
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3281,10 +3263,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3281
3263
|
roundStep?: number | null | undefined;
|
|
3282
3264
|
maxRounds?: number | null | undefined;
|
|
3283
3265
|
} | null | undefined;
|
|
3284
|
-
|
|
3285
|
-
sourceAccountId?: string | null | undefined;
|
|
3266
|
+
publishingDate?: Date | null | undefined;
|
|
3286
3267
|
targetAccountId?: string | null | undefined;
|
|
3287
|
-
|
|
3268
|
+
isTransfer?: boolean | null | undefined;
|
|
3288
3269
|
};
|
|
3289
3270
|
} | {
|
|
3290
3271
|
type: "REPUBLISHING_RETRY";
|
|
@@ -3294,11 +3275,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3294
3275
|
attemptNumber: number;
|
|
3295
3276
|
previousHistoryId: string;
|
|
3296
3277
|
originalFailureDate: Date;
|
|
3297
|
-
fields?: {
|
|
3298
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3299
|
-
autoFixable: boolean;
|
|
3300
|
-
error?: string | null | undefined;
|
|
3301
|
-
}[] | null | undefined;
|
|
3302
3278
|
priceDropPayload?: {
|
|
3303
3279
|
value: number;
|
|
3304
3280
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3306,6 +3282,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3306
3282
|
roundStep?: number | null | undefined;
|
|
3307
3283
|
maxRounds?: number | null | undefined;
|
|
3308
3284
|
} | null | undefined;
|
|
3285
|
+
fields?: {
|
|
3286
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3287
|
+
autoFixable: boolean;
|
|
3288
|
+
error?: string | null | undefined;
|
|
3289
|
+
}[] | null | undefined;
|
|
3309
3290
|
};
|
|
3310
3291
|
} | {
|
|
3311
3292
|
type: "SCHEDULED";
|
|
@@ -3329,7 +3310,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3329
3310
|
};
|
|
3330
3311
|
} | null | undefined;
|
|
3331
3312
|
accountId?: string | null | undefined;
|
|
3332
|
-
requestId?: string | null | undefined;
|
|
3333
3313
|
targetDate?: Date | null | undefined;
|
|
3334
3314
|
} | null | undefined;
|
|
3335
3315
|
};
|
|
@@ -3338,19 +3318,20 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3338
3318
|
type: "ITEM";
|
|
3339
3319
|
item: {
|
|
3340
3320
|
id: string | number;
|
|
3341
|
-
name: string;
|
|
3342
3321
|
createdAt: Date;
|
|
3343
|
-
userId: string | number;
|
|
3344
3322
|
updatedAt: Date;
|
|
3323
|
+
name: string;
|
|
3324
|
+
userId: string | number;
|
|
3345
3325
|
sold: boolean;
|
|
3326
|
+
state?: number | null | undefined;
|
|
3346
3327
|
fees?: {
|
|
3347
3328
|
value: number;
|
|
3348
3329
|
type: string;
|
|
3349
3330
|
id: string | number;
|
|
3350
|
-
name: string;
|
|
3351
3331
|
createdAt: Date;
|
|
3352
|
-
userId: string | number;
|
|
3353
3332
|
updatedAt: Date;
|
|
3333
|
+
name: string;
|
|
3334
|
+
userId: string | number;
|
|
3354
3335
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
3355
3336
|
startDate: Date;
|
|
3356
3337
|
active: boolean;
|
|
@@ -3368,14 +3349,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3368
3349
|
estimatedPrice?: number | null | undefined;
|
|
3369
3350
|
purchaseDate?: Date | null | undefined;
|
|
3370
3351
|
sellingDate?: Date | null | undefined;
|
|
3371
|
-
state?: number | null | undefined;
|
|
3372
3352
|
labels?: {
|
|
3373
3353
|
itemId: string | number;
|
|
3374
3354
|
labelId: string | number;
|
|
3375
3355
|
label?: {
|
|
3376
3356
|
id: string | number;
|
|
3377
|
-
name: string;
|
|
3378
3357
|
createdAt: Date;
|
|
3358
|
+
name: string;
|
|
3379
3359
|
isUserLabel: boolean;
|
|
3380
3360
|
itemCount?: number | null | undefined;
|
|
3381
3361
|
userId?: string | number | null | undefined;
|
|
@@ -3397,11 +3377,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3397
3377
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
3398
3378
|
id: string;
|
|
3399
3379
|
createdAt: Date;
|
|
3380
|
+
updatedAt: Date;
|
|
3400
3381
|
accountId: string;
|
|
3401
3382
|
itemId: string | number;
|
|
3402
3383
|
platformId: string;
|
|
3403
3384
|
platformUrl: string;
|
|
3404
|
-
updatedAt: Date;
|
|
3405
3385
|
platformPrice: number;
|
|
3406
3386
|
publishedAt: Date;
|
|
3407
3387
|
favoritesCount?: number | null | undefined;
|
|
@@ -3460,6 +3440,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3460
3440
|
id: string;
|
|
3461
3441
|
createdAt: Date;
|
|
3462
3442
|
itemId: string | number;
|
|
3443
|
+
requestId?: string | null | undefined;
|
|
3463
3444
|
data?: {
|
|
3464
3445
|
type: "ACTION_CANCELED";
|
|
3465
3446
|
data: {
|
|
@@ -3557,7 +3538,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3557
3538
|
type: "REPUBLISHING";
|
|
3558
3539
|
data: {
|
|
3559
3540
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
3560
|
-
publishingDate?: Date | null | undefined;
|
|
3561
3541
|
priceDropPayload?: {
|
|
3562
3542
|
value: number;
|
|
3563
3543
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3565,10 +3545,9 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3565
3545
|
roundStep?: number | null | undefined;
|
|
3566
3546
|
maxRounds?: number | null | undefined;
|
|
3567
3547
|
} | null | undefined;
|
|
3568
|
-
|
|
3569
|
-
sourceAccountId?: string | null | undefined;
|
|
3548
|
+
publishingDate?: Date | null | undefined;
|
|
3570
3549
|
targetAccountId?: string | null | undefined;
|
|
3571
|
-
|
|
3550
|
+
isTransfer?: boolean | null | undefined;
|
|
3572
3551
|
};
|
|
3573
3552
|
} | {
|
|
3574
3553
|
type: "REPUBLISHING_RETRY";
|
|
@@ -3578,11 +3557,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3578
3557
|
attemptNumber: number;
|
|
3579
3558
|
previousHistoryId: string;
|
|
3580
3559
|
originalFailureDate: Date;
|
|
3581
|
-
fields?: {
|
|
3582
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3583
|
-
autoFixable: boolean;
|
|
3584
|
-
error?: string | null | undefined;
|
|
3585
|
-
}[] | null | undefined;
|
|
3586
3560
|
priceDropPayload?: {
|
|
3587
3561
|
value: number;
|
|
3588
3562
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -3590,6 +3564,11 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3590
3564
|
roundStep?: number | null | undefined;
|
|
3591
3565
|
maxRounds?: number | null | undefined;
|
|
3592
3566
|
} | null | undefined;
|
|
3567
|
+
fields?: {
|
|
3568
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
3569
|
+
autoFixable: boolean;
|
|
3570
|
+
error?: string | null | undefined;
|
|
3571
|
+
}[] | null | undefined;
|
|
3593
3572
|
};
|
|
3594
3573
|
} | {
|
|
3595
3574
|
type: "SCHEDULED";
|
|
@@ -3613,7 +3592,6 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
3613
3592
|
};
|
|
3614
3593
|
} | null | undefined;
|
|
3615
3594
|
accountId?: string | null | undefined;
|
|
3616
|
-
requestId?: string | null | undefined;
|
|
3617
3595
|
targetDate?: Date | null | undefined;
|
|
3618
3596
|
} | null | undefined;
|
|
3619
3597
|
};
|
|
@@ -3840,14 +3818,14 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
3840
3818
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3841
3819
|
}, "strip", z.ZodTypeAny, {
|
|
3842
3820
|
id: string | number;
|
|
3843
|
-
name: string;
|
|
3844
3821
|
createdAt: Date;
|
|
3822
|
+
name: string;
|
|
3845
3823
|
itemCount?: number | null | undefined;
|
|
3846
3824
|
userId?: string | number | null | undefined;
|
|
3847
3825
|
}, {
|
|
3848
3826
|
id: string | number;
|
|
3849
|
-
name: string;
|
|
3850
3827
|
createdAt: Date;
|
|
3828
|
+
name: string;
|
|
3851
3829
|
itemCount?: number | null | undefined;
|
|
3852
3830
|
userId?: string | number | null | undefined;
|
|
3853
3831
|
}>;
|
|
@@ -3856,8 +3834,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
3856
3834
|
type: "BRAND";
|
|
3857
3835
|
brand: {
|
|
3858
3836
|
id: string | number;
|
|
3859
|
-
name: string;
|
|
3860
3837
|
createdAt: Date;
|
|
3838
|
+
name: string;
|
|
3861
3839
|
itemCount?: number | null | undefined;
|
|
3862
3840
|
userId?: string | number | null | undefined;
|
|
3863
3841
|
};
|
|
@@ -3865,8 +3843,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
3865
3843
|
type: "BRAND";
|
|
3866
3844
|
brand: {
|
|
3867
3845
|
id: string | number;
|
|
3868
|
-
name: string;
|
|
3869
3846
|
createdAt: Date;
|
|
3847
|
+
name: string;
|
|
3870
3848
|
itemCount?: number | null | undefined;
|
|
3871
3849
|
userId?: string | number | null | undefined;
|
|
3872
3850
|
};
|
|
@@ -4001,15 +3979,15 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4001
3979
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4002
3980
|
}, "strip", z.ZodTypeAny, {
|
|
4003
3981
|
id: string | number;
|
|
4004
|
-
name: string;
|
|
4005
3982
|
createdAt: Date;
|
|
3983
|
+
name: string;
|
|
4006
3984
|
isUserLabel: boolean;
|
|
4007
3985
|
itemCount?: number | null | undefined;
|
|
4008
3986
|
userId?: string | number | null | undefined;
|
|
4009
3987
|
}, {
|
|
4010
3988
|
id: string | number;
|
|
4011
|
-
name: string;
|
|
4012
3989
|
createdAt: Date;
|
|
3990
|
+
name: string;
|
|
4013
3991
|
isUserLabel: boolean;
|
|
4014
3992
|
itemCount?: number | null | undefined;
|
|
4015
3993
|
userId?: string | number | null | undefined;
|
|
@@ -4019,8 +3997,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4019
3997
|
type: "LABEL";
|
|
4020
3998
|
label: {
|
|
4021
3999
|
id: string | number;
|
|
4022
|
-
name: string;
|
|
4023
4000
|
createdAt: Date;
|
|
4001
|
+
name: string;
|
|
4024
4002
|
isUserLabel: boolean;
|
|
4025
4003
|
itemCount?: number | null | undefined;
|
|
4026
4004
|
userId?: string | number | null | undefined;
|
|
@@ -4029,8 +4007,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4029
4007
|
type: "LABEL";
|
|
4030
4008
|
label: {
|
|
4031
4009
|
id: string | number;
|
|
4032
|
-
name: string;
|
|
4033
4010
|
createdAt: Date;
|
|
4011
|
+
name: string;
|
|
4034
4012
|
isUserLabel: boolean;
|
|
4035
4013
|
itemCount?: number | null | undefined;
|
|
4036
4014
|
userId?: string | number | null | undefined;
|
|
@@ -4072,13 +4050,13 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4072
4050
|
createdAt: z.ZodDate;
|
|
4073
4051
|
}, "strip", z.ZodTypeAny, {
|
|
4074
4052
|
id: string | number;
|
|
4075
|
-
name: string;
|
|
4076
4053
|
createdAt: Date;
|
|
4054
|
+
name: string;
|
|
4077
4055
|
userId?: string | number | null | undefined;
|
|
4078
4056
|
}, {
|
|
4079
4057
|
id: string | number;
|
|
4080
|
-
name: string;
|
|
4081
4058
|
createdAt: Date;
|
|
4059
|
+
name: string;
|
|
4082
4060
|
userId?: string | number | null | undefined;
|
|
4083
4061
|
}>;
|
|
4084
4062
|
type: z.ZodLiteral<"PLACE">;
|
|
@@ -4086,16 +4064,16 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4086
4064
|
type: "PLACE";
|
|
4087
4065
|
place: {
|
|
4088
4066
|
id: string | number;
|
|
4089
|
-
name: string;
|
|
4090
4067
|
createdAt: Date;
|
|
4068
|
+
name: string;
|
|
4091
4069
|
userId?: string | number | null | undefined;
|
|
4092
4070
|
};
|
|
4093
4071
|
}, {
|
|
4094
4072
|
type: "PLACE";
|
|
4095
4073
|
place: {
|
|
4096
4074
|
id: string | number;
|
|
4097
|
-
name: string;
|
|
4098
4075
|
createdAt: Date;
|
|
4076
|
+
name: string;
|
|
4099
4077
|
userId?: string | number | null | undefined;
|
|
4100
4078
|
};
|
|
4101
4079
|
}>, z.ZodObject<{
|
|
@@ -4164,8 +4142,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4164
4142
|
type: "BRAND";
|
|
4165
4143
|
brand: {
|
|
4166
4144
|
id: string | number;
|
|
4167
|
-
name: string;
|
|
4168
4145
|
createdAt: Date;
|
|
4146
|
+
name: string;
|
|
4169
4147
|
itemCount?: number | null | undefined;
|
|
4170
4148
|
userId?: string | number | null | undefined;
|
|
4171
4149
|
};
|
|
@@ -4202,8 +4180,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4202
4180
|
type: "LABEL";
|
|
4203
4181
|
label: {
|
|
4204
4182
|
id: string | number;
|
|
4205
|
-
name: string;
|
|
4206
4183
|
createdAt: Date;
|
|
4184
|
+
name: string;
|
|
4207
4185
|
isUserLabel: boolean;
|
|
4208
4186
|
itemCount?: number | null | undefined;
|
|
4209
4187
|
userId?: string | number | null | undefined;
|
|
@@ -4219,8 +4197,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4219
4197
|
type: "PLACE";
|
|
4220
4198
|
place: {
|
|
4221
4199
|
id: string | number;
|
|
4222
|
-
name: string;
|
|
4223
4200
|
createdAt: Date;
|
|
4201
|
+
name: string;
|
|
4224
4202
|
userId?: string | number | null | undefined;
|
|
4225
4203
|
};
|
|
4226
4204
|
} | {
|
|
@@ -4245,8 +4223,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4245
4223
|
type: "BRAND";
|
|
4246
4224
|
brand: {
|
|
4247
4225
|
id: string | number;
|
|
4248
|
-
name: string;
|
|
4249
4226
|
createdAt: Date;
|
|
4227
|
+
name: string;
|
|
4250
4228
|
itemCount?: number | null | undefined;
|
|
4251
4229
|
userId?: string | number | null | undefined;
|
|
4252
4230
|
};
|
|
@@ -4283,8 +4261,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4283
4261
|
type: "LABEL";
|
|
4284
4262
|
label: {
|
|
4285
4263
|
id: string | number;
|
|
4286
|
-
name: string;
|
|
4287
4264
|
createdAt: Date;
|
|
4265
|
+
name: string;
|
|
4288
4266
|
isUserLabel: boolean;
|
|
4289
4267
|
itemCount?: number | null | undefined;
|
|
4290
4268
|
userId?: string | number | null | undefined;
|
|
@@ -4300,8 +4278,8 @@ export declare const UserWsPayloadResourceUpdatedSchema: z.ZodObject<{
|
|
|
4300
4278
|
type: "PLACE";
|
|
4301
4279
|
place: {
|
|
4302
4280
|
id: string | number;
|
|
4303
|
-
name: string;
|
|
4304
4281
|
createdAt: Date;
|
|
4282
|
+
name: string;
|
|
4305
4283
|
userId?: string | number | null | undefined;
|
|
4306
4284
|
};
|
|
4307
4285
|
} | {
|
|
@@ -4691,8 +4669,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4691
4669
|
isPinned: z.ZodBoolean;
|
|
4692
4670
|
}, "strip", z.ZodTypeAny, {
|
|
4693
4671
|
id: string;
|
|
4694
|
-
accountId: string;
|
|
4695
4672
|
updatedAt: Date;
|
|
4673
|
+
accountId: string;
|
|
4696
4674
|
platformConversationId: string;
|
|
4697
4675
|
isPinned: boolean;
|
|
4698
4676
|
account?: {
|
|
@@ -4774,8 +4752,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4774
4752
|
lastRead?: Date | null | undefined;
|
|
4775
4753
|
}, {
|
|
4776
4754
|
id: string;
|
|
4777
|
-
accountId: string;
|
|
4778
4755
|
updatedAt: Date;
|
|
4756
|
+
accountId: string;
|
|
4779
4757
|
platformConversationId: string;
|
|
4780
4758
|
isPinned: boolean;
|
|
4781
4759
|
account?: {
|
|
@@ -5061,8 +5039,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5061
5039
|
type: "CONVERSATION";
|
|
5062
5040
|
conversation: {
|
|
5063
5041
|
id: string;
|
|
5064
|
-
accountId: string;
|
|
5065
5042
|
updatedAt: Date;
|
|
5043
|
+
accountId: string;
|
|
5066
5044
|
platformConversationId: string;
|
|
5067
5045
|
isPinned: boolean;
|
|
5068
5046
|
account?: {
|
|
@@ -5191,8 +5169,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5191
5169
|
type: "CONVERSATION";
|
|
5192
5170
|
conversation: {
|
|
5193
5171
|
id: string;
|
|
5194
|
-
accountId: string;
|
|
5195
5172
|
updatedAt: Date;
|
|
5173
|
+
accountId: string;
|
|
5196
5174
|
platformConversationId: string;
|
|
5197
5175
|
isPinned: boolean;
|
|
5198
5176
|
account?: {
|
|
@@ -5409,10 +5387,10 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5409
5387
|
value: number;
|
|
5410
5388
|
type: string;
|
|
5411
5389
|
id: string | number;
|
|
5412
|
-
name: string;
|
|
5413
5390
|
createdAt: Date;
|
|
5414
|
-
userId: string | number;
|
|
5415
5391
|
updatedAt: Date;
|
|
5392
|
+
name: string;
|
|
5393
|
+
userId: string | number;
|
|
5416
5394
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5417
5395
|
startDate: Date;
|
|
5418
5396
|
active: boolean;
|
|
@@ -5424,10 +5402,10 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5424
5402
|
value: number;
|
|
5425
5403
|
type: string;
|
|
5426
5404
|
id: string | number;
|
|
5427
|
-
name: string;
|
|
5428
5405
|
createdAt: Date;
|
|
5429
|
-
userId: string | number;
|
|
5430
5406
|
updatedAt: Date;
|
|
5407
|
+
name: string;
|
|
5408
|
+
userId: string | number;
|
|
5431
5409
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
5432
5410
|
startDate: Date;
|
|
5433
5411
|
active: boolean;
|
|
@@ -5449,15 +5427,15 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5449
5427
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5450
5428
|
}, "strip", z.ZodTypeAny, {
|
|
5451
5429
|
id: string | number;
|
|
5452
|
-
name: string;
|
|
5453
5430
|
createdAt: Date;
|
|
5431
|
+
name: string;
|
|
5454
5432
|
isUserLabel: boolean;
|
|
5455
5433
|
itemCount?: number | null | undefined;
|
|
5456
5434
|
userId?: string | number | null | undefined;
|
|
5457
5435
|
}, {
|
|
5458
5436
|
id: string | number;
|
|
5459
|
-
name: string;
|
|
5460
5437
|
createdAt: Date;
|
|
5438
|
+
name: string;
|
|
5461
5439
|
isUserLabel: boolean;
|
|
5462
5440
|
itemCount?: number | null | undefined;
|
|
5463
5441
|
userId?: string | number | null | undefined;
|
|
@@ -5467,8 +5445,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5467
5445
|
labelId: string | number;
|
|
5468
5446
|
label?: {
|
|
5469
5447
|
id: string | number;
|
|
5470
|
-
name: string;
|
|
5471
5448
|
createdAt: Date;
|
|
5449
|
+
name: string;
|
|
5472
5450
|
isUserLabel: boolean;
|
|
5473
5451
|
itemCount?: number | null | undefined;
|
|
5474
5452
|
userId?: string | number | null | undefined;
|
|
@@ -5478,8 +5456,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5478
5456
|
labelId: string | number;
|
|
5479
5457
|
label?: {
|
|
5480
5458
|
id: string | number;
|
|
5481
|
-
name: string;
|
|
5482
5459
|
createdAt: Date;
|
|
5460
|
+
name: string;
|
|
5483
5461
|
isUserLabel: boolean;
|
|
5484
5462
|
itemCount?: number | null | undefined;
|
|
5485
5463
|
userId?: string | number | null | undefined;
|
|
@@ -6112,12 +6090,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6112
6090
|
maxRounds?: number | null | undefined;
|
|
6113
6091
|
}>>>;
|
|
6114
6092
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6115
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6116
6093
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6117
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6118
6094
|
}, "strip", z.ZodTypeAny, {
|
|
6119
6095
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6120
|
-
publishingDate?: Date | null | undefined;
|
|
6121
6096
|
priceDropPayload?: {
|
|
6122
6097
|
value: number;
|
|
6123
6098
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6125,13 +6100,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6125
6100
|
roundStep?: number | null | undefined;
|
|
6126
6101
|
maxRounds?: number | null | undefined;
|
|
6127
6102
|
} | null | undefined;
|
|
6128
|
-
|
|
6129
|
-
sourceAccountId?: string | null | undefined;
|
|
6103
|
+
publishingDate?: Date | null | undefined;
|
|
6130
6104
|
targetAccountId?: string | null | undefined;
|
|
6131
|
-
|
|
6105
|
+
isTransfer?: boolean | null | undefined;
|
|
6132
6106
|
}, {
|
|
6133
6107
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6134
|
-
publishingDate?: Date | null | undefined;
|
|
6135
6108
|
priceDropPayload?: {
|
|
6136
6109
|
value: number;
|
|
6137
6110
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6139,17 +6112,15 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6139
6112
|
roundStep?: number | null | undefined;
|
|
6140
6113
|
maxRounds?: number | null | undefined;
|
|
6141
6114
|
} | null | undefined;
|
|
6142
|
-
|
|
6143
|
-
sourceAccountId?: string | null | undefined;
|
|
6115
|
+
publishingDate?: Date | null | undefined;
|
|
6144
6116
|
targetAccountId?: string | null | undefined;
|
|
6145
|
-
|
|
6117
|
+
isTransfer?: boolean | null | undefined;
|
|
6146
6118
|
}>;
|
|
6147
6119
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
6148
6120
|
}, "strip", z.ZodTypeAny, {
|
|
6149
6121
|
type: "REPUBLISHING";
|
|
6150
6122
|
data: {
|
|
6151
6123
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6152
|
-
publishingDate?: Date | null | undefined;
|
|
6153
6124
|
priceDropPayload?: {
|
|
6154
6125
|
value: number;
|
|
6155
6126
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6157,16 +6128,14 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6157
6128
|
roundStep?: number | null | undefined;
|
|
6158
6129
|
maxRounds?: number | null | undefined;
|
|
6159
6130
|
} | null | undefined;
|
|
6160
|
-
|
|
6161
|
-
sourceAccountId?: string | null | undefined;
|
|
6131
|
+
publishingDate?: Date | null | undefined;
|
|
6162
6132
|
targetAccountId?: string | null | undefined;
|
|
6163
|
-
|
|
6133
|
+
isTransfer?: boolean | null | undefined;
|
|
6164
6134
|
};
|
|
6165
6135
|
}, {
|
|
6166
6136
|
type: "REPUBLISHING";
|
|
6167
6137
|
data: {
|
|
6168
6138
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6169
|
-
publishingDate?: Date | null | undefined;
|
|
6170
6139
|
priceDropPayload?: {
|
|
6171
6140
|
value: number;
|
|
6172
6141
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6174,10 +6143,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6174
6143
|
roundStep?: number | null | undefined;
|
|
6175
6144
|
maxRounds?: number | null | undefined;
|
|
6176
6145
|
} | null | undefined;
|
|
6177
|
-
|
|
6178
|
-
sourceAccountId?: string | null | undefined;
|
|
6146
|
+
publishingDate?: Date | null | undefined;
|
|
6179
6147
|
targetAccountId?: string | null | undefined;
|
|
6180
|
-
|
|
6148
|
+
isTransfer?: boolean | null | undefined;
|
|
6181
6149
|
};
|
|
6182
6150
|
}>, z.ZodObject<{
|
|
6183
6151
|
data: z.ZodObject<{
|
|
@@ -6224,11 +6192,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6224
6192
|
attemptNumber: number;
|
|
6225
6193
|
previousHistoryId: string;
|
|
6226
6194
|
originalFailureDate: Date;
|
|
6227
|
-
fields?: {
|
|
6228
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6229
|
-
autoFixable: boolean;
|
|
6230
|
-
error?: string | null | undefined;
|
|
6231
|
-
}[] | null | undefined;
|
|
6232
6195
|
priceDropPayload?: {
|
|
6233
6196
|
value: number;
|
|
6234
6197
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6236,17 +6199,17 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6236
6199
|
roundStep?: number | null | undefined;
|
|
6237
6200
|
maxRounds?: number | null | undefined;
|
|
6238
6201
|
} | null | undefined;
|
|
6202
|
+
fields?: {
|
|
6203
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6204
|
+
autoFixable: boolean;
|
|
6205
|
+
error?: string | null | undefined;
|
|
6206
|
+
}[] | null | undefined;
|
|
6239
6207
|
}, {
|
|
6240
6208
|
maxAttempts: number;
|
|
6241
6209
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6242
6210
|
attemptNumber: number;
|
|
6243
6211
|
previousHistoryId: string;
|
|
6244
6212
|
originalFailureDate: Date;
|
|
6245
|
-
fields?: {
|
|
6246
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6247
|
-
autoFixable: boolean;
|
|
6248
|
-
error?: string | null | undefined;
|
|
6249
|
-
}[] | null | undefined;
|
|
6250
6213
|
priceDropPayload?: {
|
|
6251
6214
|
value: number;
|
|
6252
6215
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6254,6 +6217,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6254
6217
|
roundStep?: number | null | undefined;
|
|
6255
6218
|
maxRounds?: number | null | undefined;
|
|
6256
6219
|
} | null | undefined;
|
|
6220
|
+
fields?: {
|
|
6221
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6222
|
+
autoFixable: boolean;
|
|
6223
|
+
error?: string | null | undefined;
|
|
6224
|
+
}[] | null | undefined;
|
|
6257
6225
|
}>;
|
|
6258
6226
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
6259
6227
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6264,11 +6232,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6264
6232
|
attemptNumber: number;
|
|
6265
6233
|
previousHistoryId: string;
|
|
6266
6234
|
originalFailureDate: Date;
|
|
6267
|
-
fields?: {
|
|
6268
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6269
|
-
autoFixable: boolean;
|
|
6270
|
-
error?: string | null | undefined;
|
|
6271
|
-
}[] | null | undefined;
|
|
6272
6235
|
priceDropPayload?: {
|
|
6273
6236
|
value: number;
|
|
6274
6237
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6276,6 +6239,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6276
6239
|
roundStep?: number | null | undefined;
|
|
6277
6240
|
maxRounds?: number | null | undefined;
|
|
6278
6241
|
} | null | undefined;
|
|
6242
|
+
fields?: {
|
|
6243
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6244
|
+
autoFixable: boolean;
|
|
6245
|
+
error?: string | null | undefined;
|
|
6246
|
+
}[] | null | undefined;
|
|
6279
6247
|
};
|
|
6280
6248
|
}, {
|
|
6281
6249
|
type: "REPUBLISHING_RETRY";
|
|
@@ -6285,11 +6253,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6285
6253
|
attemptNumber: number;
|
|
6286
6254
|
previousHistoryId: string;
|
|
6287
6255
|
originalFailureDate: Date;
|
|
6288
|
-
fields?: {
|
|
6289
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6290
|
-
autoFixable: boolean;
|
|
6291
|
-
error?: string | null | undefined;
|
|
6292
|
-
}[] | null | undefined;
|
|
6293
6256
|
priceDropPayload?: {
|
|
6294
6257
|
value: number;
|
|
6295
6258
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6297,6 +6260,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6297
6260
|
roundStep?: number | null | undefined;
|
|
6298
6261
|
maxRounds?: number | null | undefined;
|
|
6299
6262
|
} | null | undefined;
|
|
6263
|
+
fields?: {
|
|
6264
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6265
|
+
autoFixable: boolean;
|
|
6266
|
+
error?: string | null | undefined;
|
|
6267
|
+
}[] | null | undefined;
|
|
6300
6268
|
};
|
|
6301
6269
|
}>, z.ZodObject<{
|
|
6302
6270
|
data: z.ZodObject<{
|
|
@@ -6404,6 +6372,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6404
6372
|
id: string;
|
|
6405
6373
|
createdAt: Date;
|
|
6406
6374
|
itemId: string | number;
|
|
6375
|
+
requestId?: string | null | undefined;
|
|
6407
6376
|
data?: {
|
|
6408
6377
|
type: "ACTION_CANCELED";
|
|
6409
6378
|
data: {
|
|
@@ -6501,7 +6470,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6501
6470
|
type: "REPUBLISHING";
|
|
6502
6471
|
data: {
|
|
6503
6472
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6504
|
-
publishingDate?: Date | null | undefined;
|
|
6505
6473
|
priceDropPayload?: {
|
|
6506
6474
|
value: number;
|
|
6507
6475
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6509,10 +6477,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6509
6477
|
roundStep?: number | null | undefined;
|
|
6510
6478
|
maxRounds?: number | null | undefined;
|
|
6511
6479
|
} | null | undefined;
|
|
6512
|
-
|
|
6513
|
-
sourceAccountId?: string | null | undefined;
|
|
6480
|
+
publishingDate?: Date | null | undefined;
|
|
6514
6481
|
targetAccountId?: string | null | undefined;
|
|
6515
|
-
|
|
6482
|
+
isTransfer?: boolean | null | undefined;
|
|
6516
6483
|
};
|
|
6517
6484
|
} | {
|
|
6518
6485
|
type: "REPUBLISHING_RETRY";
|
|
@@ -6522,11 +6489,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6522
6489
|
attemptNumber: number;
|
|
6523
6490
|
previousHistoryId: string;
|
|
6524
6491
|
originalFailureDate: Date;
|
|
6525
|
-
fields?: {
|
|
6526
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6527
|
-
autoFixable: boolean;
|
|
6528
|
-
error?: string | null | undefined;
|
|
6529
|
-
}[] | null | undefined;
|
|
6530
6492
|
priceDropPayload?: {
|
|
6531
6493
|
value: number;
|
|
6532
6494
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6534,6 +6496,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6534
6496
|
roundStep?: number | null | undefined;
|
|
6535
6497
|
maxRounds?: number | null | undefined;
|
|
6536
6498
|
} | null | undefined;
|
|
6499
|
+
fields?: {
|
|
6500
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6501
|
+
autoFixable: boolean;
|
|
6502
|
+
error?: string | null | undefined;
|
|
6503
|
+
}[] | null | undefined;
|
|
6537
6504
|
};
|
|
6538
6505
|
} | {
|
|
6539
6506
|
type: "SCHEDULED";
|
|
@@ -6557,13 +6524,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6557
6524
|
};
|
|
6558
6525
|
} | null | undefined;
|
|
6559
6526
|
accountId?: string | null | undefined;
|
|
6560
|
-
requestId?: string | null | undefined;
|
|
6561
6527
|
targetDate?: Date | null | undefined;
|
|
6562
6528
|
}, {
|
|
6563
6529
|
type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
6564
6530
|
id: string;
|
|
6565
6531
|
createdAt: Date;
|
|
6566
6532
|
itemId: string | number;
|
|
6533
|
+
requestId?: string | null | undefined;
|
|
6567
6534
|
data?: {
|
|
6568
6535
|
type: "ACTION_CANCELED";
|
|
6569
6536
|
data: {
|
|
@@ -6661,7 +6628,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6661
6628
|
type: "REPUBLISHING";
|
|
6662
6629
|
data: {
|
|
6663
6630
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6664
|
-
publishingDate?: Date | null | undefined;
|
|
6665
6631
|
priceDropPayload?: {
|
|
6666
6632
|
value: number;
|
|
6667
6633
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6669,10 +6635,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6669
6635
|
roundStep?: number | null | undefined;
|
|
6670
6636
|
maxRounds?: number | null | undefined;
|
|
6671
6637
|
} | null | undefined;
|
|
6672
|
-
|
|
6673
|
-
sourceAccountId?: string | null | undefined;
|
|
6638
|
+
publishingDate?: Date | null | undefined;
|
|
6674
6639
|
targetAccountId?: string | null | undefined;
|
|
6675
|
-
|
|
6640
|
+
isTransfer?: boolean | null | undefined;
|
|
6676
6641
|
};
|
|
6677
6642
|
} | {
|
|
6678
6643
|
type: "REPUBLISHING_RETRY";
|
|
@@ -6682,11 +6647,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6682
6647
|
attemptNumber: number;
|
|
6683
6648
|
previousHistoryId: string;
|
|
6684
6649
|
originalFailureDate: Date;
|
|
6685
|
-
fields?: {
|
|
6686
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6687
|
-
autoFixable: boolean;
|
|
6688
|
-
error?: string | null | undefined;
|
|
6689
|
-
}[] | null | undefined;
|
|
6690
6650
|
priceDropPayload?: {
|
|
6691
6651
|
value: number;
|
|
6692
6652
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -6694,6 +6654,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6694
6654
|
roundStep?: number | null | undefined;
|
|
6695
6655
|
maxRounds?: number | null | undefined;
|
|
6696
6656
|
} | null | undefined;
|
|
6657
|
+
fields?: {
|
|
6658
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
6659
|
+
autoFixable: boolean;
|
|
6660
|
+
error?: string | null | undefined;
|
|
6661
|
+
}[] | null | undefined;
|
|
6697
6662
|
};
|
|
6698
6663
|
} | {
|
|
6699
6664
|
type: "SCHEDULED";
|
|
@@ -6717,7 +6682,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6717
6682
|
};
|
|
6718
6683
|
} | null | undefined;
|
|
6719
6684
|
accountId?: string | null | undefined;
|
|
6720
|
-
requestId?: string | null | undefined;
|
|
6721
6685
|
targetDate?: Date | null | undefined;
|
|
6722
6686
|
}>>>;
|
|
6723
6687
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -6787,11 +6751,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6787
6751
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
6788
6752
|
id: string;
|
|
6789
6753
|
createdAt: Date;
|
|
6754
|
+
updatedAt: Date;
|
|
6790
6755
|
accountId: string;
|
|
6791
6756
|
itemId: string | number;
|
|
6792
6757
|
platformId: string;
|
|
6793
6758
|
platformUrl: string;
|
|
6794
|
-
updatedAt: Date;
|
|
6795
6759
|
platformPrice: number;
|
|
6796
6760
|
publishedAt: Date;
|
|
6797
6761
|
favoritesCount?: number | null | undefined;
|
|
@@ -6816,11 +6780,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6816
6780
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
6817
6781
|
id: string;
|
|
6818
6782
|
createdAt: Date;
|
|
6783
|
+
updatedAt: Date;
|
|
6819
6784
|
accountId: string;
|
|
6820
6785
|
itemId: string | number;
|
|
6821
6786
|
platformId: string;
|
|
6822
6787
|
platformUrl: string;
|
|
6823
|
-
updatedAt: Date;
|
|
6824
6788
|
platformPrice: number;
|
|
6825
6789
|
publishedAt: Date;
|
|
6826
6790
|
favoritesCount?: number | null | undefined;
|
|
@@ -6846,19 +6810,20 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6846
6810
|
updatedAt: z.ZodDate;
|
|
6847
6811
|
}, "strip", z.ZodTypeAny, {
|
|
6848
6812
|
id: string | number;
|
|
6849
|
-
name: string;
|
|
6850
6813
|
createdAt: Date;
|
|
6851
|
-
userId: string | number;
|
|
6852
6814
|
updatedAt: Date;
|
|
6815
|
+
name: string;
|
|
6816
|
+
userId: string | number;
|
|
6853
6817
|
sold: boolean;
|
|
6818
|
+
state?: number | null | undefined;
|
|
6854
6819
|
fees?: {
|
|
6855
6820
|
value: number;
|
|
6856
6821
|
type: string;
|
|
6857
6822
|
id: string | number;
|
|
6858
|
-
name: string;
|
|
6859
6823
|
createdAt: Date;
|
|
6860
|
-
userId: string | number;
|
|
6861
6824
|
updatedAt: Date;
|
|
6825
|
+
name: string;
|
|
6826
|
+
userId: string | number;
|
|
6862
6827
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
6863
6828
|
startDate: Date;
|
|
6864
6829
|
active: boolean;
|
|
@@ -6876,14 +6841,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6876
6841
|
estimatedPrice?: number | null | undefined;
|
|
6877
6842
|
purchaseDate?: Date | null | undefined;
|
|
6878
6843
|
sellingDate?: Date | null | undefined;
|
|
6879
|
-
state?: number | null | undefined;
|
|
6880
6844
|
labels?: {
|
|
6881
6845
|
itemId: string | number;
|
|
6882
6846
|
labelId: string | number;
|
|
6883
6847
|
label?: {
|
|
6884
6848
|
id: string | number;
|
|
6885
|
-
name: string;
|
|
6886
6849
|
createdAt: Date;
|
|
6850
|
+
name: string;
|
|
6887
6851
|
isUserLabel: boolean;
|
|
6888
6852
|
itemCount?: number | null | undefined;
|
|
6889
6853
|
userId?: string | number | null | undefined;
|
|
@@ -6905,11 +6869,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6905
6869
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
6906
6870
|
id: string;
|
|
6907
6871
|
createdAt: Date;
|
|
6872
|
+
updatedAt: Date;
|
|
6908
6873
|
accountId: string;
|
|
6909
6874
|
itemId: string | number;
|
|
6910
6875
|
platformId: string;
|
|
6911
6876
|
platformUrl: string;
|
|
6912
|
-
updatedAt: Date;
|
|
6913
6877
|
platformPrice: number;
|
|
6914
6878
|
publishedAt: Date;
|
|
6915
6879
|
favoritesCount?: number | null | undefined;
|
|
@@ -6968,6 +6932,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
6968
6932
|
id: string;
|
|
6969
6933
|
createdAt: Date;
|
|
6970
6934
|
itemId: string | number;
|
|
6935
|
+
requestId?: string | null | undefined;
|
|
6971
6936
|
data?: {
|
|
6972
6937
|
type: "ACTION_CANCELED";
|
|
6973
6938
|
data: {
|
|
@@ -7065,7 +7030,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7065
7030
|
type: "REPUBLISHING";
|
|
7066
7031
|
data: {
|
|
7067
7032
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
7068
|
-
publishingDate?: Date | null | undefined;
|
|
7069
7033
|
priceDropPayload?: {
|
|
7070
7034
|
value: number;
|
|
7071
7035
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7073,10 +7037,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7073
7037
|
roundStep?: number | null | undefined;
|
|
7074
7038
|
maxRounds?: number | null | undefined;
|
|
7075
7039
|
} | null | undefined;
|
|
7076
|
-
|
|
7077
|
-
sourceAccountId?: string | null | undefined;
|
|
7040
|
+
publishingDate?: Date | null | undefined;
|
|
7078
7041
|
targetAccountId?: string | null | undefined;
|
|
7079
|
-
|
|
7042
|
+
isTransfer?: boolean | null | undefined;
|
|
7080
7043
|
};
|
|
7081
7044
|
} | {
|
|
7082
7045
|
type: "REPUBLISHING_RETRY";
|
|
@@ -7086,11 +7049,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7086
7049
|
attemptNumber: number;
|
|
7087
7050
|
previousHistoryId: string;
|
|
7088
7051
|
originalFailureDate: Date;
|
|
7089
|
-
fields?: {
|
|
7090
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7091
|
-
autoFixable: boolean;
|
|
7092
|
-
error?: string | null | undefined;
|
|
7093
|
-
}[] | null | undefined;
|
|
7094
7052
|
priceDropPayload?: {
|
|
7095
7053
|
value: number;
|
|
7096
7054
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7098,6 +7056,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7098
7056
|
roundStep?: number | null | undefined;
|
|
7099
7057
|
maxRounds?: number | null | undefined;
|
|
7100
7058
|
} | null | undefined;
|
|
7059
|
+
fields?: {
|
|
7060
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7061
|
+
autoFixable: boolean;
|
|
7062
|
+
error?: string | null | undefined;
|
|
7063
|
+
}[] | null | undefined;
|
|
7101
7064
|
};
|
|
7102
7065
|
} | {
|
|
7103
7066
|
type: "SCHEDULED";
|
|
@@ -7121,24 +7084,24 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7121
7084
|
};
|
|
7122
7085
|
} | null | undefined;
|
|
7123
7086
|
accountId?: string | null | undefined;
|
|
7124
|
-
requestId?: string | null | undefined;
|
|
7125
7087
|
targetDate?: Date | null | undefined;
|
|
7126
7088
|
} | null | undefined;
|
|
7127
7089
|
}, {
|
|
7128
7090
|
id: string | number;
|
|
7129
|
-
name: string;
|
|
7130
7091
|
createdAt: Date;
|
|
7131
|
-
userId: string | number;
|
|
7132
7092
|
updatedAt: Date;
|
|
7093
|
+
name: string;
|
|
7094
|
+
userId: string | number;
|
|
7133
7095
|
sold: boolean;
|
|
7096
|
+
state?: number | null | undefined;
|
|
7134
7097
|
fees?: {
|
|
7135
7098
|
value: number;
|
|
7136
7099
|
type: string;
|
|
7137
7100
|
id: string | number;
|
|
7138
|
-
name: string;
|
|
7139
7101
|
createdAt: Date;
|
|
7140
|
-
userId: string | number;
|
|
7141
7102
|
updatedAt: Date;
|
|
7103
|
+
name: string;
|
|
7104
|
+
userId: string | number;
|
|
7142
7105
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
7143
7106
|
startDate: Date;
|
|
7144
7107
|
active: boolean;
|
|
@@ -7156,14 +7119,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7156
7119
|
estimatedPrice?: number | null | undefined;
|
|
7157
7120
|
purchaseDate?: Date | null | undefined;
|
|
7158
7121
|
sellingDate?: Date | null | undefined;
|
|
7159
|
-
state?: number | null | undefined;
|
|
7160
7122
|
labels?: {
|
|
7161
7123
|
itemId: string | number;
|
|
7162
7124
|
labelId: string | number;
|
|
7163
7125
|
label?: {
|
|
7164
7126
|
id: string | number;
|
|
7165
|
-
name: string;
|
|
7166
7127
|
createdAt: Date;
|
|
7128
|
+
name: string;
|
|
7167
7129
|
isUserLabel: boolean;
|
|
7168
7130
|
itemCount?: number | null | undefined;
|
|
7169
7131
|
userId?: string | number | null | undefined;
|
|
@@ -7185,11 +7147,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7185
7147
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
7186
7148
|
id: string;
|
|
7187
7149
|
createdAt: Date;
|
|
7150
|
+
updatedAt: Date;
|
|
7188
7151
|
accountId: string;
|
|
7189
7152
|
itemId: string | number;
|
|
7190
7153
|
platformId: string;
|
|
7191
7154
|
platformUrl: string;
|
|
7192
|
-
updatedAt: Date;
|
|
7193
7155
|
platformPrice: number;
|
|
7194
7156
|
publishedAt: Date;
|
|
7195
7157
|
favoritesCount?: number | null | undefined;
|
|
@@ -7248,6 +7210,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7248
7210
|
id: string;
|
|
7249
7211
|
createdAt: Date;
|
|
7250
7212
|
itemId: string | number;
|
|
7213
|
+
requestId?: string | null | undefined;
|
|
7251
7214
|
data?: {
|
|
7252
7215
|
type: "ACTION_CANCELED";
|
|
7253
7216
|
data: {
|
|
@@ -7345,7 +7308,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7345
7308
|
type: "REPUBLISHING";
|
|
7346
7309
|
data: {
|
|
7347
7310
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
7348
|
-
publishingDate?: Date | null | undefined;
|
|
7349
7311
|
priceDropPayload?: {
|
|
7350
7312
|
value: number;
|
|
7351
7313
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7353,10 +7315,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7353
7315
|
roundStep?: number | null | undefined;
|
|
7354
7316
|
maxRounds?: number | null | undefined;
|
|
7355
7317
|
} | null | undefined;
|
|
7356
|
-
|
|
7357
|
-
sourceAccountId?: string | null | undefined;
|
|
7318
|
+
publishingDate?: Date | null | undefined;
|
|
7358
7319
|
targetAccountId?: string | null | undefined;
|
|
7359
|
-
|
|
7320
|
+
isTransfer?: boolean | null | undefined;
|
|
7360
7321
|
};
|
|
7361
7322
|
} | {
|
|
7362
7323
|
type: "REPUBLISHING_RETRY";
|
|
@@ -7366,11 +7327,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7366
7327
|
attemptNumber: number;
|
|
7367
7328
|
previousHistoryId: string;
|
|
7368
7329
|
originalFailureDate: Date;
|
|
7369
|
-
fields?: {
|
|
7370
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7371
|
-
autoFixable: boolean;
|
|
7372
|
-
error?: string | null | undefined;
|
|
7373
|
-
}[] | null | undefined;
|
|
7374
7330
|
priceDropPayload?: {
|
|
7375
7331
|
value: number;
|
|
7376
7332
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7378,6 +7334,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7378
7334
|
roundStep?: number | null | undefined;
|
|
7379
7335
|
maxRounds?: number | null | undefined;
|
|
7380
7336
|
} | null | undefined;
|
|
7337
|
+
fields?: {
|
|
7338
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7339
|
+
autoFixable: boolean;
|
|
7340
|
+
error?: string | null | undefined;
|
|
7341
|
+
}[] | null | undefined;
|
|
7381
7342
|
};
|
|
7382
7343
|
} | {
|
|
7383
7344
|
type: "SCHEDULED";
|
|
@@ -7401,7 +7362,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7401
7362
|
};
|
|
7402
7363
|
} | null | undefined;
|
|
7403
7364
|
accountId?: string | null | undefined;
|
|
7404
|
-
requestId?: string | null | undefined;
|
|
7405
7365
|
targetDate?: Date | null | undefined;
|
|
7406
7366
|
} | null | undefined;
|
|
7407
7367
|
}>;
|
|
@@ -7411,19 +7371,20 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7411
7371
|
type: "ITEM";
|
|
7412
7372
|
item: {
|
|
7413
7373
|
id: string | number;
|
|
7414
|
-
name: string;
|
|
7415
7374
|
createdAt: Date;
|
|
7416
|
-
userId: string | number;
|
|
7417
7375
|
updatedAt: Date;
|
|
7376
|
+
name: string;
|
|
7377
|
+
userId: string | number;
|
|
7418
7378
|
sold: boolean;
|
|
7379
|
+
state?: number | null | undefined;
|
|
7419
7380
|
fees?: {
|
|
7420
7381
|
value: number;
|
|
7421
7382
|
type: string;
|
|
7422
7383
|
id: string | number;
|
|
7423
|
-
name: string;
|
|
7424
7384
|
createdAt: Date;
|
|
7425
|
-
userId: string | number;
|
|
7426
7385
|
updatedAt: Date;
|
|
7386
|
+
name: string;
|
|
7387
|
+
userId: string | number;
|
|
7427
7388
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
7428
7389
|
startDate: Date;
|
|
7429
7390
|
active: boolean;
|
|
@@ -7441,14 +7402,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7441
7402
|
estimatedPrice?: number | null | undefined;
|
|
7442
7403
|
purchaseDate?: Date | null | undefined;
|
|
7443
7404
|
sellingDate?: Date | null | undefined;
|
|
7444
|
-
state?: number | null | undefined;
|
|
7445
7405
|
labels?: {
|
|
7446
7406
|
itemId: string | number;
|
|
7447
7407
|
labelId: string | number;
|
|
7448
7408
|
label?: {
|
|
7449
7409
|
id: string | number;
|
|
7450
|
-
name: string;
|
|
7451
7410
|
createdAt: Date;
|
|
7411
|
+
name: string;
|
|
7452
7412
|
isUserLabel: boolean;
|
|
7453
7413
|
itemCount?: number | null | undefined;
|
|
7454
7414
|
userId?: string | number | null | undefined;
|
|
@@ -7470,11 +7430,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7470
7430
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
7471
7431
|
id: string;
|
|
7472
7432
|
createdAt: Date;
|
|
7433
|
+
updatedAt: Date;
|
|
7473
7434
|
accountId: string;
|
|
7474
7435
|
itemId: string | number;
|
|
7475
7436
|
platformId: string;
|
|
7476
7437
|
platformUrl: string;
|
|
7477
|
-
updatedAt: Date;
|
|
7478
7438
|
platformPrice: number;
|
|
7479
7439
|
publishedAt: Date;
|
|
7480
7440
|
favoritesCount?: number | null | undefined;
|
|
@@ -7533,6 +7493,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7533
7493
|
id: string;
|
|
7534
7494
|
createdAt: Date;
|
|
7535
7495
|
itemId: string | number;
|
|
7496
|
+
requestId?: string | null | undefined;
|
|
7536
7497
|
data?: {
|
|
7537
7498
|
type: "ACTION_CANCELED";
|
|
7538
7499
|
data: {
|
|
@@ -7630,7 +7591,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7630
7591
|
type: "REPUBLISHING";
|
|
7631
7592
|
data: {
|
|
7632
7593
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
7633
|
-
publishingDate?: Date | null | undefined;
|
|
7634
7594
|
priceDropPayload?: {
|
|
7635
7595
|
value: number;
|
|
7636
7596
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7638,10 +7598,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7638
7598
|
roundStep?: number | null | undefined;
|
|
7639
7599
|
maxRounds?: number | null | undefined;
|
|
7640
7600
|
} | null | undefined;
|
|
7641
|
-
|
|
7642
|
-
sourceAccountId?: string | null | undefined;
|
|
7601
|
+
publishingDate?: Date | null | undefined;
|
|
7643
7602
|
targetAccountId?: string | null | undefined;
|
|
7644
|
-
|
|
7603
|
+
isTransfer?: boolean | null | undefined;
|
|
7645
7604
|
};
|
|
7646
7605
|
} | {
|
|
7647
7606
|
type: "REPUBLISHING_RETRY";
|
|
@@ -7651,11 +7610,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7651
7610
|
attemptNumber: number;
|
|
7652
7611
|
previousHistoryId: string;
|
|
7653
7612
|
originalFailureDate: Date;
|
|
7654
|
-
fields?: {
|
|
7655
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7656
|
-
autoFixable: boolean;
|
|
7657
|
-
error?: string | null | undefined;
|
|
7658
|
-
}[] | null | undefined;
|
|
7659
7613
|
priceDropPayload?: {
|
|
7660
7614
|
value: number;
|
|
7661
7615
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7663,6 +7617,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7663
7617
|
roundStep?: number | null | undefined;
|
|
7664
7618
|
maxRounds?: number | null | undefined;
|
|
7665
7619
|
} | null | undefined;
|
|
7620
|
+
fields?: {
|
|
7621
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7622
|
+
autoFixable: boolean;
|
|
7623
|
+
error?: string | null | undefined;
|
|
7624
|
+
}[] | null | undefined;
|
|
7666
7625
|
};
|
|
7667
7626
|
} | {
|
|
7668
7627
|
type: "SCHEDULED";
|
|
@@ -7686,7 +7645,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7686
7645
|
};
|
|
7687
7646
|
} | null | undefined;
|
|
7688
7647
|
accountId?: string | null | undefined;
|
|
7689
|
-
requestId?: string | null | undefined;
|
|
7690
7648
|
targetDate?: Date | null | undefined;
|
|
7691
7649
|
} | null | undefined;
|
|
7692
7650
|
};
|
|
@@ -7695,19 +7653,20 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7695
7653
|
type: "ITEM";
|
|
7696
7654
|
item: {
|
|
7697
7655
|
id: string | number;
|
|
7698
|
-
name: string;
|
|
7699
7656
|
createdAt: Date;
|
|
7700
|
-
userId: string | number;
|
|
7701
7657
|
updatedAt: Date;
|
|
7658
|
+
name: string;
|
|
7659
|
+
userId: string | number;
|
|
7702
7660
|
sold: boolean;
|
|
7661
|
+
state?: number | null | undefined;
|
|
7703
7662
|
fees?: {
|
|
7704
7663
|
value: number;
|
|
7705
7664
|
type: string;
|
|
7706
7665
|
id: string | number;
|
|
7707
|
-
name: string;
|
|
7708
7666
|
createdAt: Date;
|
|
7709
|
-
userId: string | number;
|
|
7710
7667
|
updatedAt: Date;
|
|
7668
|
+
name: string;
|
|
7669
|
+
userId: string | number;
|
|
7711
7670
|
recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
|
|
7712
7671
|
startDate: Date;
|
|
7713
7672
|
active: boolean;
|
|
@@ -7725,14 +7684,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7725
7684
|
estimatedPrice?: number | null | undefined;
|
|
7726
7685
|
purchaseDate?: Date | null | undefined;
|
|
7727
7686
|
sellingDate?: Date | null | undefined;
|
|
7728
|
-
state?: number | null | undefined;
|
|
7729
7687
|
labels?: {
|
|
7730
7688
|
itemId: string | number;
|
|
7731
7689
|
labelId: string | number;
|
|
7732
7690
|
label?: {
|
|
7733
7691
|
id: string | number;
|
|
7734
|
-
name: string;
|
|
7735
7692
|
createdAt: Date;
|
|
7693
|
+
name: string;
|
|
7736
7694
|
isUserLabel: boolean;
|
|
7737
7695
|
itemCount?: number | null | undefined;
|
|
7738
7696
|
userId?: string | number | null | undefined;
|
|
@@ -7754,11 +7712,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7754
7712
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
7755
7713
|
id: string;
|
|
7756
7714
|
createdAt: Date;
|
|
7715
|
+
updatedAt: Date;
|
|
7757
7716
|
accountId: string;
|
|
7758
7717
|
itemId: string | number;
|
|
7759
7718
|
platformId: string;
|
|
7760
7719
|
platformUrl: string;
|
|
7761
|
-
updatedAt: Date;
|
|
7762
7720
|
platformPrice: number;
|
|
7763
7721
|
publishedAt: Date;
|
|
7764
7722
|
favoritesCount?: number | null | undefined;
|
|
@@ -7817,6 +7775,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7817
7775
|
id: string;
|
|
7818
7776
|
createdAt: Date;
|
|
7819
7777
|
itemId: string | number;
|
|
7778
|
+
requestId?: string | null | undefined;
|
|
7820
7779
|
data?: {
|
|
7821
7780
|
type: "ACTION_CANCELED";
|
|
7822
7781
|
data: {
|
|
@@ -7914,7 +7873,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7914
7873
|
type: "REPUBLISHING";
|
|
7915
7874
|
data: {
|
|
7916
7875
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
7917
|
-
publishingDate?: Date | null | undefined;
|
|
7918
7876
|
priceDropPayload?: {
|
|
7919
7877
|
value: number;
|
|
7920
7878
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7922,10 +7880,9 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7922
7880
|
roundStep?: number | null | undefined;
|
|
7923
7881
|
maxRounds?: number | null | undefined;
|
|
7924
7882
|
} | null | undefined;
|
|
7925
|
-
|
|
7926
|
-
sourceAccountId?: string | null | undefined;
|
|
7883
|
+
publishingDate?: Date | null | undefined;
|
|
7927
7884
|
targetAccountId?: string | null | undefined;
|
|
7928
|
-
|
|
7885
|
+
isTransfer?: boolean | null | undefined;
|
|
7929
7886
|
};
|
|
7930
7887
|
} | {
|
|
7931
7888
|
type: "REPUBLISHING_RETRY";
|
|
@@ -7935,11 +7892,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7935
7892
|
attemptNumber: number;
|
|
7936
7893
|
previousHistoryId: string;
|
|
7937
7894
|
originalFailureDate: Date;
|
|
7938
|
-
fields?: {
|
|
7939
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7940
|
-
autoFixable: boolean;
|
|
7941
|
-
error?: string | null | undefined;
|
|
7942
|
-
}[] | null | undefined;
|
|
7943
7895
|
priceDropPayload?: {
|
|
7944
7896
|
value: number;
|
|
7945
7897
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -7947,6 +7899,11 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7947
7899
|
roundStep?: number | null | undefined;
|
|
7948
7900
|
maxRounds?: number | null | undefined;
|
|
7949
7901
|
} | null | undefined;
|
|
7902
|
+
fields?: {
|
|
7903
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
7904
|
+
autoFixable: boolean;
|
|
7905
|
+
error?: string | null | undefined;
|
|
7906
|
+
}[] | null | undefined;
|
|
7950
7907
|
};
|
|
7951
7908
|
} | {
|
|
7952
7909
|
type: "SCHEDULED";
|
|
@@ -7970,7 +7927,6 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7970
7927
|
};
|
|
7971
7928
|
} | null | undefined;
|
|
7972
7929
|
accountId?: string | null | undefined;
|
|
7973
|
-
requestId?: string | null | undefined;
|
|
7974
7930
|
targetDate?: Date | null | undefined;
|
|
7975
7931
|
} | null | undefined;
|
|
7976
7932
|
};
|
|
@@ -8189,14 +8145,14 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8189
8145
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8190
8146
|
}, "strip", z.ZodTypeAny, {
|
|
8191
8147
|
id: string | number;
|
|
8192
|
-
name: string;
|
|
8193
8148
|
createdAt: Date;
|
|
8149
|
+
name: string;
|
|
8194
8150
|
itemCount?: number | null | undefined;
|
|
8195
8151
|
userId?: string | number | null | undefined;
|
|
8196
8152
|
}, {
|
|
8197
8153
|
id: string | number;
|
|
8198
|
-
name: string;
|
|
8199
8154
|
createdAt: Date;
|
|
8155
|
+
name: string;
|
|
8200
8156
|
itemCount?: number | null | undefined;
|
|
8201
8157
|
userId?: string | number | null | undefined;
|
|
8202
8158
|
}>;
|
|
@@ -8205,8 +8161,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8205
8161
|
type: "BRAND";
|
|
8206
8162
|
brand: {
|
|
8207
8163
|
id: string | number;
|
|
8208
|
-
name: string;
|
|
8209
8164
|
createdAt: Date;
|
|
8165
|
+
name: string;
|
|
8210
8166
|
itemCount?: number | null | undefined;
|
|
8211
8167
|
userId?: string | number | null | undefined;
|
|
8212
8168
|
};
|
|
@@ -8214,8 +8170,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8214
8170
|
type: "BRAND";
|
|
8215
8171
|
brand: {
|
|
8216
8172
|
id: string | number;
|
|
8217
|
-
name: string;
|
|
8218
8173
|
createdAt: Date;
|
|
8174
|
+
name: string;
|
|
8219
8175
|
itemCount?: number | null | undefined;
|
|
8220
8176
|
userId?: string | number | null | undefined;
|
|
8221
8177
|
};
|
|
@@ -8350,15 +8306,15 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8350
8306
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8351
8307
|
}, "strip", z.ZodTypeAny, {
|
|
8352
8308
|
id: string | number;
|
|
8353
|
-
name: string;
|
|
8354
8309
|
createdAt: Date;
|
|
8310
|
+
name: string;
|
|
8355
8311
|
isUserLabel: boolean;
|
|
8356
8312
|
itemCount?: number | null | undefined;
|
|
8357
8313
|
userId?: string | number | null | undefined;
|
|
8358
8314
|
}, {
|
|
8359
8315
|
id: string | number;
|
|
8360
|
-
name: string;
|
|
8361
8316
|
createdAt: Date;
|
|
8317
|
+
name: string;
|
|
8362
8318
|
isUserLabel: boolean;
|
|
8363
8319
|
itemCount?: number | null | undefined;
|
|
8364
8320
|
userId?: string | number | null | undefined;
|
|
@@ -8368,8 +8324,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8368
8324
|
type: "LABEL";
|
|
8369
8325
|
label: {
|
|
8370
8326
|
id: string | number;
|
|
8371
|
-
name: string;
|
|
8372
8327
|
createdAt: Date;
|
|
8328
|
+
name: string;
|
|
8373
8329
|
isUserLabel: boolean;
|
|
8374
8330
|
itemCount?: number | null | undefined;
|
|
8375
8331
|
userId?: string | number | null | undefined;
|
|
@@ -8378,8 +8334,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8378
8334
|
type: "LABEL";
|
|
8379
8335
|
label: {
|
|
8380
8336
|
id: string | number;
|
|
8381
|
-
name: string;
|
|
8382
8337
|
createdAt: Date;
|
|
8338
|
+
name: string;
|
|
8383
8339
|
isUserLabel: boolean;
|
|
8384
8340
|
itemCount?: number | null | undefined;
|
|
8385
8341
|
userId?: string | number | null | undefined;
|
|
@@ -8421,13 +8377,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8421
8377
|
createdAt: z.ZodDate;
|
|
8422
8378
|
}, "strip", z.ZodTypeAny, {
|
|
8423
8379
|
id: string | number;
|
|
8424
|
-
name: string;
|
|
8425
8380
|
createdAt: Date;
|
|
8381
|
+
name: string;
|
|
8426
8382
|
userId?: string | number | null | undefined;
|
|
8427
8383
|
}, {
|
|
8428
8384
|
id: string | number;
|
|
8429
|
-
name: string;
|
|
8430
8385
|
createdAt: Date;
|
|
8386
|
+
name: string;
|
|
8431
8387
|
userId?: string | number | null | undefined;
|
|
8432
8388
|
}>;
|
|
8433
8389
|
type: z.ZodLiteral<"PLACE">;
|
|
@@ -8435,16 +8391,16 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8435
8391
|
type: "PLACE";
|
|
8436
8392
|
place: {
|
|
8437
8393
|
id: string | number;
|
|
8438
|
-
name: string;
|
|
8439
8394
|
createdAt: Date;
|
|
8395
|
+
name: string;
|
|
8440
8396
|
userId?: string | number | null | undefined;
|
|
8441
8397
|
};
|
|
8442
8398
|
}, {
|
|
8443
8399
|
type: "PLACE";
|
|
8444
8400
|
place: {
|
|
8445
8401
|
id: string | number;
|
|
8446
|
-
name: string;
|
|
8447
8402
|
createdAt: Date;
|
|
8403
|
+
name: string;
|
|
8448
8404
|
userId?: string | number | null | undefined;
|
|
8449
8405
|
};
|
|
8450
8406
|
}>, z.ZodObject<{
|
|
@@ -8513,8 +8469,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8513
8469
|
type: "BRAND";
|
|
8514
8470
|
brand: {
|
|
8515
8471
|
id: string | number;
|
|
8516
|
-
name: string;
|
|
8517
8472
|
createdAt: Date;
|
|
8473
|
+
name: string;
|
|
8518
8474
|
itemCount?: number | null | undefined;
|
|
8519
8475
|
userId?: string | number | null | undefined;
|
|
8520
8476
|
};
|
|
@@ -8551,8 +8507,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8551
8507
|
type: "LABEL";
|
|
8552
8508
|
label: {
|
|
8553
8509
|
id: string | number;
|
|
8554
|
-
name: string;
|
|
8555
8510
|
createdAt: Date;
|
|
8511
|
+
name: string;
|
|
8556
8512
|
isUserLabel: boolean;
|
|
8557
8513
|
itemCount?: number | null | undefined;
|
|
8558
8514
|
userId?: string | number | null | undefined;
|
|
@@ -8568,8 +8524,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8568
8524
|
type: "PLACE";
|
|
8569
8525
|
place: {
|
|
8570
8526
|
id: string | number;
|
|
8571
|
-
name: string;
|
|
8572
8527
|
createdAt: Date;
|
|
8528
|
+
name: string;
|
|
8573
8529
|
userId?: string | number | null | undefined;
|
|
8574
8530
|
};
|
|
8575
8531
|
} | {
|
|
@@ -8594,8 +8550,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8594
8550
|
type: "BRAND";
|
|
8595
8551
|
brand: {
|
|
8596
8552
|
id: string | number;
|
|
8597
|
-
name: string;
|
|
8598
8553
|
createdAt: Date;
|
|
8554
|
+
name: string;
|
|
8599
8555
|
itemCount?: number | null | undefined;
|
|
8600
8556
|
userId?: string | number | null | undefined;
|
|
8601
8557
|
};
|
|
@@ -8632,8 +8588,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8632
8588
|
type: "LABEL";
|
|
8633
8589
|
label: {
|
|
8634
8590
|
id: string | number;
|
|
8635
|
-
name: string;
|
|
8636
8591
|
createdAt: Date;
|
|
8592
|
+
name: string;
|
|
8637
8593
|
isUserLabel: boolean;
|
|
8638
8594
|
itemCount?: number | null | undefined;
|
|
8639
8595
|
userId?: string | number | null | undefined;
|
|
@@ -8649,8 +8605,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
8649
8605
|
type: "PLACE";
|
|
8650
8606
|
place: {
|
|
8651
8607
|
id: string | number;
|
|
8652
|
-
name: string;
|
|
8653
8608
|
createdAt: Date;
|
|
8609
|
+
name: string;
|
|
8654
8610
|
userId?: string | number | null | undefined;
|
|
8655
8611
|
};
|
|
8656
8612
|
} | {
|