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
|
@@ -582,12 +582,9 @@ export declare const ItemHistoryDecodedPayloadRepublishingSchema: z.ZodObject<{
|
|
|
582
582
|
maxRounds?: number | null | undefined;
|
|
583
583
|
}>>>;
|
|
584
584
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
585
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
586
585
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
588
586
|
}, "strip", z.ZodTypeAny, {
|
|
589
587
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
590
|
-
publishingDate?: Date | null | undefined;
|
|
591
588
|
priceDropPayload?: {
|
|
592
589
|
value: number;
|
|
593
590
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -595,13 +592,11 @@ export declare const ItemHistoryDecodedPayloadRepublishingSchema: z.ZodObject<{
|
|
|
595
592
|
roundStep?: number | null | undefined;
|
|
596
593
|
maxRounds?: number | null | undefined;
|
|
597
594
|
} | null | undefined;
|
|
598
|
-
|
|
599
|
-
sourceAccountId?: string | null | undefined;
|
|
595
|
+
publishingDate?: Date | null | undefined;
|
|
600
596
|
targetAccountId?: string | null | undefined;
|
|
601
|
-
|
|
597
|
+
isTransfer?: boolean | null | undefined;
|
|
602
598
|
}, {
|
|
603
599
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
604
|
-
publishingDate?: Date | null | undefined;
|
|
605
600
|
priceDropPayload?: {
|
|
606
601
|
value: number;
|
|
607
602
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -609,17 +604,15 @@ export declare const ItemHistoryDecodedPayloadRepublishingSchema: z.ZodObject<{
|
|
|
609
604
|
roundStep?: number | null | undefined;
|
|
610
605
|
maxRounds?: number | null | undefined;
|
|
611
606
|
} | null | undefined;
|
|
612
|
-
|
|
613
|
-
sourceAccountId?: string | null | undefined;
|
|
607
|
+
publishingDate?: Date | null | undefined;
|
|
614
608
|
targetAccountId?: string | null | undefined;
|
|
615
|
-
|
|
609
|
+
isTransfer?: boolean | null | undefined;
|
|
616
610
|
}>;
|
|
617
611
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
618
612
|
}, "strip", z.ZodTypeAny, {
|
|
619
613
|
type: "REPUBLISHING";
|
|
620
614
|
data: {
|
|
621
615
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
622
|
-
publishingDate?: Date | null | undefined;
|
|
623
616
|
priceDropPayload?: {
|
|
624
617
|
value: number;
|
|
625
618
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -627,16 +620,14 @@ export declare const ItemHistoryDecodedPayloadRepublishingSchema: z.ZodObject<{
|
|
|
627
620
|
roundStep?: number | null | undefined;
|
|
628
621
|
maxRounds?: number | null | undefined;
|
|
629
622
|
} | null | undefined;
|
|
630
|
-
|
|
631
|
-
sourceAccountId?: string | null | undefined;
|
|
623
|
+
publishingDate?: Date | null | undefined;
|
|
632
624
|
targetAccountId?: string | null | undefined;
|
|
633
|
-
|
|
625
|
+
isTransfer?: boolean | null | undefined;
|
|
634
626
|
};
|
|
635
627
|
}, {
|
|
636
628
|
type: "REPUBLISHING";
|
|
637
629
|
data: {
|
|
638
630
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
639
|
-
publishingDate?: Date | null | undefined;
|
|
640
631
|
priceDropPayload?: {
|
|
641
632
|
value: number;
|
|
642
633
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -644,10 +635,9 @@ export declare const ItemHistoryDecodedPayloadRepublishingSchema: z.ZodObject<{
|
|
|
644
635
|
roundStep?: number | null | undefined;
|
|
645
636
|
maxRounds?: number | null | undefined;
|
|
646
637
|
} | null | undefined;
|
|
647
|
-
|
|
648
|
-
sourceAccountId?: string | null | undefined;
|
|
638
|
+
publishingDate?: Date | null | undefined;
|
|
649
639
|
targetAccountId?: string | null | undefined;
|
|
650
|
-
|
|
640
|
+
isTransfer?: boolean | null | undefined;
|
|
651
641
|
};
|
|
652
642
|
}>;
|
|
653
643
|
export type ItemHistoryDecodedPayloadRepublishing = z.infer<typeof ItemHistoryDecodedPayloadRepublishingSchema>;
|
|
@@ -696,11 +686,6 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
696
686
|
attemptNumber: number;
|
|
697
687
|
previousHistoryId: string;
|
|
698
688
|
originalFailureDate: Date;
|
|
699
|
-
fields?: {
|
|
700
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
701
|
-
autoFixable: boolean;
|
|
702
|
-
error?: string | null | undefined;
|
|
703
|
-
}[] | null | undefined;
|
|
704
689
|
priceDropPayload?: {
|
|
705
690
|
value: number;
|
|
706
691
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -708,17 +693,17 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
708
693
|
roundStep?: number | null | undefined;
|
|
709
694
|
maxRounds?: number | null | undefined;
|
|
710
695
|
} | null | undefined;
|
|
696
|
+
fields?: {
|
|
697
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
698
|
+
autoFixable: boolean;
|
|
699
|
+
error?: string | null | undefined;
|
|
700
|
+
}[] | null | undefined;
|
|
711
701
|
}, {
|
|
712
702
|
maxAttempts: number;
|
|
713
703
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
714
704
|
attemptNumber: number;
|
|
715
705
|
previousHistoryId: string;
|
|
716
706
|
originalFailureDate: Date;
|
|
717
|
-
fields?: {
|
|
718
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
719
|
-
autoFixable: boolean;
|
|
720
|
-
error?: string | null | undefined;
|
|
721
|
-
}[] | null | undefined;
|
|
722
707
|
priceDropPayload?: {
|
|
723
708
|
value: number;
|
|
724
709
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -726,6 +711,11 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
726
711
|
roundStep?: number | null | undefined;
|
|
727
712
|
maxRounds?: number | null | undefined;
|
|
728
713
|
} | null | undefined;
|
|
714
|
+
fields?: {
|
|
715
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
716
|
+
autoFixable: boolean;
|
|
717
|
+
error?: string | null | undefined;
|
|
718
|
+
}[] | null | undefined;
|
|
729
719
|
}>;
|
|
730
720
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
731
721
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -736,11 +726,6 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
736
726
|
attemptNumber: number;
|
|
737
727
|
previousHistoryId: string;
|
|
738
728
|
originalFailureDate: Date;
|
|
739
|
-
fields?: {
|
|
740
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
741
|
-
autoFixable: boolean;
|
|
742
|
-
error?: string | null | undefined;
|
|
743
|
-
}[] | null | undefined;
|
|
744
729
|
priceDropPayload?: {
|
|
745
730
|
value: number;
|
|
746
731
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -748,6 +733,11 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
748
733
|
roundStep?: number | null | undefined;
|
|
749
734
|
maxRounds?: number | null | undefined;
|
|
750
735
|
} | null | undefined;
|
|
736
|
+
fields?: {
|
|
737
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
738
|
+
autoFixable: boolean;
|
|
739
|
+
error?: string | null | undefined;
|
|
740
|
+
}[] | null | undefined;
|
|
751
741
|
};
|
|
752
742
|
}, {
|
|
753
743
|
type: "REPUBLISHING_RETRY";
|
|
@@ -757,11 +747,6 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
757
747
|
attemptNumber: number;
|
|
758
748
|
previousHistoryId: string;
|
|
759
749
|
originalFailureDate: Date;
|
|
760
|
-
fields?: {
|
|
761
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
762
|
-
autoFixable: boolean;
|
|
763
|
-
error?: string | null | undefined;
|
|
764
|
-
}[] | null | undefined;
|
|
765
750
|
priceDropPayload?: {
|
|
766
751
|
value: number;
|
|
767
752
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -769,6 +754,11 @@ export declare const ItemHistoryDecodedPayloadRepublishingRetrySchema: z.ZodObje
|
|
|
769
754
|
roundStep?: number | null | undefined;
|
|
770
755
|
maxRounds?: number | null | undefined;
|
|
771
756
|
} | null | undefined;
|
|
757
|
+
fields?: {
|
|
758
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
759
|
+
autoFixable: boolean;
|
|
760
|
+
error?: string | null | undefined;
|
|
761
|
+
}[] | null | undefined;
|
|
772
762
|
};
|
|
773
763
|
}>;
|
|
774
764
|
export type ItemHistoryDecodedPayloadRepublishingRetry = z.infer<typeof ItemHistoryDecodedPayloadRepublishingRetrySchema>;
|
|
@@ -1437,12 +1427,9 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1437
1427
|
maxRounds?: number | null | undefined;
|
|
1438
1428
|
}>>>;
|
|
1439
1429
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1440
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1441
1430
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1442
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1443
1431
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1432
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1445
|
-
publishingDate?: Date | null | undefined;
|
|
1446
1433
|
priceDropPayload?: {
|
|
1447
1434
|
value: number;
|
|
1448
1435
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1450,13 +1437,11 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1450
1437
|
roundStep?: number | null | undefined;
|
|
1451
1438
|
maxRounds?: number | null | undefined;
|
|
1452
1439
|
} | null | undefined;
|
|
1453
|
-
|
|
1454
|
-
sourceAccountId?: string | null | undefined;
|
|
1440
|
+
publishingDate?: Date | null | undefined;
|
|
1455
1441
|
targetAccountId?: string | null | undefined;
|
|
1456
|
-
|
|
1442
|
+
isTransfer?: boolean | null | undefined;
|
|
1457
1443
|
}, {
|
|
1458
1444
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1459
|
-
publishingDate?: Date | null | undefined;
|
|
1460
1445
|
priceDropPayload?: {
|
|
1461
1446
|
value: number;
|
|
1462
1447
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1464,17 +1449,15 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1464
1449
|
roundStep?: number | null | undefined;
|
|
1465
1450
|
maxRounds?: number | null | undefined;
|
|
1466
1451
|
} | null | undefined;
|
|
1467
|
-
|
|
1468
|
-
sourceAccountId?: string | null | undefined;
|
|
1452
|
+
publishingDate?: Date | null | undefined;
|
|
1469
1453
|
targetAccountId?: string | null | undefined;
|
|
1470
|
-
|
|
1454
|
+
isTransfer?: boolean | null | undefined;
|
|
1471
1455
|
}>;
|
|
1472
1456
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1473
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1474
1458
|
type: "REPUBLISHING";
|
|
1475
1459
|
data: {
|
|
1476
1460
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1477
|
-
publishingDate?: Date | null | undefined;
|
|
1478
1461
|
priceDropPayload?: {
|
|
1479
1462
|
value: number;
|
|
1480
1463
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1482,16 +1465,14 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1482
1465
|
roundStep?: number | null | undefined;
|
|
1483
1466
|
maxRounds?: number | null | undefined;
|
|
1484
1467
|
} | null | undefined;
|
|
1485
|
-
|
|
1486
|
-
sourceAccountId?: string | null | undefined;
|
|
1468
|
+
publishingDate?: Date | null | undefined;
|
|
1487
1469
|
targetAccountId?: string | null | undefined;
|
|
1488
|
-
|
|
1470
|
+
isTransfer?: boolean | null | undefined;
|
|
1489
1471
|
};
|
|
1490
1472
|
}, {
|
|
1491
1473
|
type: "REPUBLISHING";
|
|
1492
1474
|
data: {
|
|
1493
1475
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1494
|
-
publishingDate?: Date | null | undefined;
|
|
1495
1476
|
priceDropPayload?: {
|
|
1496
1477
|
value: number;
|
|
1497
1478
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1499,10 +1480,9 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1499
1480
|
roundStep?: number | null | undefined;
|
|
1500
1481
|
maxRounds?: number | null | undefined;
|
|
1501
1482
|
} | null | undefined;
|
|
1502
|
-
|
|
1503
|
-
sourceAccountId?: string | null | undefined;
|
|
1483
|
+
publishingDate?: Date | null | undefined;
|
|
1504
1484
|
targetAccountId?: string | null | undefined;
|
|
1505
|
-
|
|
1485
|
+
isTransfer?: boolean | null | undefined;
|
|
1506
1486
|
};
|
|
1507
1487
|
}>, z.ZodObject<{
|
|
1508
1488
|
data: z.ZodObject<{
|
|
@@ -1549,11 +1529,6 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1549
1529
|
attemptNumber: number;
|
|
1550
1530
|
previousHistoryId: string;
|
|
1551
1531
|
originalFailureDate: Date;
|
|
1552
|
-
fields?: {
|
|
1553
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1554
|
-
autoFixable: boolean;
|
|
1555
|
-
error?: string | null | undefined;
|
|
1556
|
-
}[] | null | undefined;
|
|
1557
1532
|
priceDropPayload?: {
|
|
1558
1533
|
value: number;
|
|
1559
1534
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1561,17 +1536,17 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1561
1536
|
roundStep?: number | null | undefined;
|
|
1562
1537
|
maxRounds?: number | null | undefined;
|
|
1563
1538
|
} | null | undefined;
|
|
1539
|
+
fields?: {
|
|
1540
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1541
|
+
autoFixable: boolean;
|
|
1542
|
+
error?: string | null | undefined;
|
|
1543
|
+
}[] | null | undefined;
|
|
1564
1544
|
}, {
|
|
1565
1545
|
maxAttempts: number;
|
|
1566
1546
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1567
1547
|
attemptNumber: number;
|
|
1568
1548
|
previousHistoryId: string;
|
|
1569
1549
|
originalFailureDate: Date;
|
|
1570
|
-
fields?: {
|
|
1571
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1572
|
-
autoFixable: boolean;
|
|
1573
|
-
error?: string | null | undefined;
|
|
1574
|
-
}[] | null | undefined;
|
|
1575
1550
|
priceDropPayload?: {
|
|
1576
1551
|
value: number;
|
|
1577
1552
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1579,6 +1554,11 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1579
1554
|
roundStep?: number | null | undefined;
|
|
1580
1555
|
maxRounds?: number | null | undefined;
|
|
1581
1556
|
} | null | undefined;
|
|
1557
|
+
fields?: {
|
|
1558
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1559
|
+
autoFixable: boolean;
|
|
1560
|
+
error?: string | null | undefined;
|
|
1561
|
+
}[] | null | undefined;
|
|
1582
1562
|
}>;
|
|
1583
1563
|
type: z.ZodLiteral<"REPUBLISHING_RETRY">;
|
|
1584
1564
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1589,11 +1569,6 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1589
1569
|
attemptNumber: number;
|
|
1590
1570
|
previousHistoryId: string;
|
|
1591
1571
|
originalFailureDate: Date;
|
|
1592
|
-
fields?: {
|
|
1593
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1594
|
-
autoFixable: boolean;
|
|
1595
|
-
error?: string | null | undefined;
|
|
1596
|
-
}[] | null | undefined;
|
|
1597
1572
|
priceDropPayload?: {
|
|
1598
1573
|
value: number;
|
|
1599
1574
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1601,6 +1576,11 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1601
1576
|
roundStep?: number | null | undefined;
|
|
1602
1577
|
maxRounds?: number | null | undefined;
|
|
1603
1578
|
} | null | undefined;
|
|
1579
|
+
fields?: {
|
|
1580
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1581
|
+
autoFixable: boolean;
|
|
1582
|
+
error?: string | null | undefined;
|
|
1583
|
+
}[] | null | undefined;
|
|
1604
1584
|
};
|
|
1605
1585
|
}, {
|
|
1606
1586
|
type: "REPUBLISHING_RETRY";
|
|
@@ -1610,11 +1590,6 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1610
1590
|
attemptNumber: number;
|
|
1611
1591
|
previousHistoryId: string;
|
|
1612
1592
|
originalFailureDate: Date;
|
|
1613
|
-
fields?: {
|
|
1614
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1615
|
-
autoFixable: boolean;
|
|
1616
|
-
error?: string | null | undefined;
|
|
1617
|
-
}[] | null | undefined;
|
|
1618
1593
|
priceDropPayload?: {
|
|
1619
1594
|
value: number;
|
|
1620
1595
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -1622,6 +1597,11 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1622
1597
|
roundStep?: number | null | undefined;
|
|
1623
1598
|
maxRounds?: number | null | undefined;
|
|
1624
1599
|
} | null | undefined;
|
|
1600
|
+
fields?: {
|
|
1601
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
1602
|
+
autoFixable: boolean;
|
|
1603
|
+
error?: string | null | undefined;
|
|
1604
|
+
}[] | null | undefined;
|
|
1625
1605
|
};
|
|
1626
1606
|
}>, z.ZodObject<{
|
|
1627
1607
|
data: z.ZodObject<{
|
package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryDecodedPayload.d.ts","sourceRoot":"","sources":["ItemHistoryDecodedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAcrB,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;EAGxD,CAAA;AACF,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAc1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ItemHistoryImageProcessingDoneSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const controlresell_connector_1 = require("controlresell-connector");
|
|
6
|
-
const
|
|
6
|
+
const ImageVariation_1 = require("../../images/ImageVariation");
|
|
7
7
|
exports.ItemHistoryImageProcessingDoneSchema = zod_1.z.object({
|
|
8
8
|
platform: controlresell_connector_1.AccountPlatformSchema,
|
|
9
|
-
variations: zod_1.z.array(
|
|
9
|
+
variations: zod_1.z.array(ImageVariation_1.ImageVariationSchema).nullish(),
|
|
10
10
|
originalPhashes: zod_1.z.array(zod_1.z.string()).nullish()
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=ItemHistoryImageProcessingDone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryImageProcessingDone.js","sourceRoot":"","sources":["ItemHistoryImageProcessingDone.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA6D;AAC7D,
|
|
1
|
+
{"version":3,"file":"ItemHistoryImageProcessingDone.js","sourceRoot":"","sources":["ItemHistoryImageProcessingDone.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA6D;AAC7D,gEAAgE;AAEnD,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,QAAQ,EAAE,+CAAqB;IAC/B,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,qCAAoB,CAAC,CAAC,OAAO,EAAE;IACnD,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACjD,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
import {AccountPlatformSchema} from "controlresell-connector"
|
|
3
|
-
import {
|
|
3
|
+
import {ImageVariationSchema} from "../../images/ImageVariation"
|
|
4
4
|
|
|
5
5
|
export const ItemHistoryImageProcessingDoneSchema = z.object({
|
|
6
6
|
platform: AccountPlatformSchema,
|
|
7
|
-
variations: z.array(
|
|
7
|
+
variations: z.array(ImageVariationSchema).nullish(),
|
|
8
8
|
originalPhashes: z.array(z.string()).nullish()
|
|
9
9
|
})
|
|
10
10
|
export type ItemHistoryImageProcessingDone = z.infer<typeof ItemHistoryImageProcessingDoneSchema>
|
|
@@ -22,12 +22,9 @@ export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
|
22
22
|
maxRounds?: number | null | undefined;
|
|
23
23
|
}>>>;
|
|
24
24
|
isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
|
-
sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
25
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
26
|
}, "strip", z.ZodTypeAny, {
|
|
29
27
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
30
|
-
publishingDate?: Date | null | undefined;
|
|
31
28
|
priceDropPayload?: {
|
|
32
29
|
value: number;
|
|
33
30
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -35,13 +32,11 @@ export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
|
35
32
|
roundStep?: number | null | undefined;
|
|
36
33
|
maxRounds?: number | null | undefined;
|
|
37
34
|
} | null | undefined;
|
|
38
|
-
|
|
39
|
-
sourceAccountId?: string | null | undefined;
|
|
35
|
+
publishingDate?: Date | null | undefined;
|
|
40
36
|
targetAccountId?: string | null | undefined;
|
|
41
|
-
|
|
37
|
+
isTransfer?: boolean | null | undefined;
|
|
42
38
|
}, {
|
|
43
39
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
44
|
-
publishingDate?: Date | null | undefined;
|
|
45
40
|
priceDropPayload?: {
|
|
46
41
|
value: number;
|
|
47
42
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -49,10 +44,9 @@ export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
|
49
44
|
roundStep?: number | null | undefined;
|
|
50
45
|
maxRounds?: number | null | undefined;
|
|
51
46
|
} | null | undefined;
|
|
52
|
-
|
|
53
|
-
sourceAccountId?: string | null | undefined;
|
|
47
|
+
publishingDate?: Date | null | undefined;
|
|
54
48
|
targetAccountId?: string | null | undefined;
|
|
55
|
-
|
|
49
|
+
isTransfer?: boolean | null | undefined;
|
|
56
50
|
}>;
|
|
57
51
|
export type ItemHistoryRepublishingPayload = z.infer<typeof ItemHistoryRepublishingPayloadSchema>;
|
|
58
52
|
//# sourceMappingURL=ItemHistoryRepublishingPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryRepublishingPayload.d.ts","sourceRoot":"","sources":["ItemHistoryRepublishingPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oCAAoC
|
|
1
|
+
{"version":3,"file":"ItemHistoryRepublishingPayload.d.ts","sourceRoot":"","sources":["ItemHistoryRepublishingPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/C,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js
CHANGED
|
@@ -9,8 +9,6 @@ exports.ItemHistoryRepublishingPayloadSchema = zod_1.z.object({
|
|
|
9
9
|
publishingDate: zod_1.z.coerce.date().nullish(),
|
|
10
10
|
priceDropPayload: PreferencePricePayload_1.PreferencePricePayloadSchema.nullish(),
|
|
11
11
|
isTransfer: zod_1.z.boolean().nullish(),
|
|
12
|
-
|
|
13
|
-
targetAccountId: zod_1.z.string().uuid().nullish(),
|
|
14
|
-
targetUserId: zod_1.z.number().nullish()
|
|
12
|
+
targetAccountId: zod_1.z.string().uuid().nullish()
|
|
15
13
|
});
|
|
16
14
|
//# sourceMappingURL=ItemHistoryRepublishingPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryRepublishingPayload.js","sourceRoot":"","sources":["ItemHistoryRepublishingPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA6D;AAC7D,0HAA0H;AAE7G,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,QAAQ,EAAE,+CAAqB;IAC/B,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACzC,gBAAgB,EAAE,qDAA4B,CAAC,OAAO,EAAE;IACxD,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IACjC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"ItemHistoryRepublishingPayload.js","sourceRoot":"","sources":["ItemHistoryRepublishingPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA6D;AAC7D,0HAA0H;AAE7G,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,QAAQ,EAAE,+CAAqB;IAC/B,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IACzC,gBAAgB,EAAE,qDAA4B,CAAC,OAAO,EAAE;IACxD,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IACjC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC/C,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.ts
CHANGED
|
@@ -7,8 +7,6 @@ export const ItemHistoryRepublishingPayloadSchema = z.object({
|
|
|
7
7
|
publishingDate: z.coerce.date().nullish(),
|
|
8
8
|
priceDropPayload: PreferencePricePayloadSchema.nullish(),
|
|
9
9
|
isTransfer: z.boolean().nullish(),
|
|
10
|
-
|
|
11
|
-
targetAccountId: z.string().uuid().nullish(),
|
|
12
|
-
targetUserId: z.number().nullish()
|
|
10
|
+
targetAccountId: z.string().uuid().nullish()
|
|
13
11
|
})
|
|
14
12
|
export type ItemHistoryRepublishingPayload = z.infer<typeof ItemHistoryRepublishingPayloadSchema>
|
|
@@ -43,11 +43,6 @@ export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
|
43
43
|
attemptNumber: number;
|
|
44
44
|
previousHistoryId: string;
|
|
45
45
|
originalFailureDate: Date;
|
|
46
|
-
fields?: {
|
|
47
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
48
|
-
autoFixable: boolean;
|
|
49
|
-
error?: string | null | undefined;
|
|
50
|
-
}[] | null | undefined;
|
|
51
46
|
priceDropPayload?: {
|
|
52
47
|
value: number;
|
|
53
48
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -55,17 +50,17 @@ export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
|
55
50
|
roundStep?: number | null | undefined;
|
|
56
51
|
maxRounds?: number | null | undefined;
|
|
57
52
|
} | null | undefined;
|
|
53
|
+
fields?: {
|
|
54
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
55
|
+
autoFixable: boolean;
|
|
56
|
+
error?: string | null | undefined;
|
|
57
|
+
}[] | null | undefined;
|
|
58
58
|
}, {
|
|
59
59
|
maxAttempts: number;
|
|
60
60
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
61
61
|
attemptNumber: number;
|
|
62
62
|
previousHistoryId: string;
|
|
63
63
|
originalFailureDate: Date;
|
|
64
|
-
fields?: {
|
|
65
|
-
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
66
|
-
autoFixable: boolean;
|
|
67
|
-
error?: string | null | undefined;
|
|
68
|
-
}[] | null | undefined;
|
|
69
64
|
priceDropPayload?: {
|
|
70
65
|
value: number;
|
|
71
66
|
type: "PERCENTAGE" | "ABSOLUTE";
|
|
@@ -73,6 +68,11 @@ export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
|
73
68
|
roundStep?: number | null | undefined;
|
|
74
69
|
maxRounds?: number | null | undefined;
|
|
75
70
|
} | null | undefined;
|
|
71
|
+
fields?: {
|
|
72
|
+
field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
|
|
73
|
+
autoFixable: boolean;
|
|
74
|
+
error?: string | null | undefined;
|
|
75
|
+
}[] | null | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
export type ItemHistoryRepublishingRetryPayload = z.infer<typeof ItemHistoryRepublishingRetryPayloadSchema>;
|
|
78
78
|
//# sourceMappingURL=ItemHistoryRepublishingRetryPayload.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ImageVariationSchema: z.ZodObject<{
|
|
3
3
|
fileId: z.ZodString;
|
|
4
4
|
seed: z.ZodNumber;
|
|
5
5
|
phash: z.ZodString;
|
|
@@ -21,5 +21,5 @@ export declare const RepublishImageVariationSchema: z.ZodObject<{
|
|
|
21
21
|
originalImageUrl: string;
|
|
22
22
|
originalPhash: string;
|
|
23
23
|
}>;
|
|
24
|
-
export type
|
|
25
|
-
//# sourceMappingURL=
|
|
24
|
+
export type ImageVariation = z.infer<typeof ImageVariationSchema>;
|
|
25
|
+
//# sourceMappingURL=ImageVariation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageVariation.d.ts","sourceRoot":"","sources":["ImageVariation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ImageVariationSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.
|
|
5
|
+
exports.ImageVariationSchema = zod_1.z.object({
|
|
6
6
|
fileId: zod_1.z.string().uuid(),
|
|
7
7
|
seed: zod_1.z.number(),
|
|
8
8
|
phash: zod_1.z.string(),
|
|
@@ -10,4 +10,4 @@ exports.RepublishImageVariationSchema = zod_1.z.object({
|
|
|
10
10
|
originalImageUrl: zod_1.z.string(),
|
|
11
11
|
originalPhash: zod_1.z.string()
|
|
12
12
|
});
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=ImageVariation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageVariation.js","sourceRoot":"","sources":["ImageVariation.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC5B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const ImageVariationSchema = z.object({
|
|
4
4
|
fileId: z.string().uuid(),
|
|
5
5
|
seed: z.number(),
|
|
6
6
|
phash: z.string(),
|
|
@@ -8,4 +8,4 @@ export const RepublishImageVariationSchema = z.object({
|
|
|
8
8
|
originalImageUrl: z.string(),
|
|
9
9
|
originalPhash: z.string()
|
|
10
10
|
})
|
|
11
|
-
export type
|
|
11
|
+
export type ImageVariation = z.infer<typeof ImageVariationSchema>
|
|
@@ -11,15 +11,15 @@ export declare const ItemLabelSchema: z.ZodObject<{
|
|
|
11
11
|
itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
id: string | number;
|
|
14
|
-
name: string;
|
|
15
14
|
createdAt: Date;
|
|
15
|
+
name: string;
|
|
16
16
|
isUserLabel: boolean;
|
|
17
17
|
itemCount?: number | null | undefined;
|
|
18
18
|
userId?: string | number | null | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
id: string | number;
|
|
21
|
-
name: string;
|
|
22
21
|
createdAt: Date;
|
|
22
|
+
name: string;
|
|
23
23
|
isUserLabel: boolean;
|
|
24
24
|
itemCount?: number | null | undefined;
|
|
25
25
|
userId?: string | number | null | undefined;
|
|
@@ -29,8 +29,8 @@ export declare const ItemLabelSchema: z.ZodObject<{
|
|
|
29
29
|
labelId: string | number;
|
|
30
30
|
label?: {
|
|
31
31
|
id: string | number;
|
|
32
|
-
name: string;
|
|
33
32
|
createdAt: Date;
|
|
33
|
+
name: string;
|
|
34
34
|
isUserLabel: boolean;
|
|
35
35
|
itemCount?: number | null | undefined;
|
|
36
36
|
userId?: string | number | null | undefined;
|
|
@@ -40,8 +40,8 @@ export declare const ItemLabelSchema: z.ZodObject<{
|
|
|
40
40
|
labelId: string | number;
|
|
41
41
|
label?: {
|
|
42
42
|
id: string | number;
|
|
43
|
-
name: string;
|
|
44
43
|
createdAt: Date;
|
|
44
|
+
name: string;
|
|
45
45
|
isUserLabel: boolean;
|
|
46
46
|
itemCount?: number | null | undefined;
|
|
47
47
|
userId?: string | number | null | undefined;
|
|
@@ -66,11 +66,11 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
66
66
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
67
67
|
id: string;
|
|
68
68
|
createdAt: Date;
|
|
69
|
+
updatedAt: Date;
|
|
69
70
|
accountId: string;
|
|
70
71
|
itemId: string | number;
|
|
71
72
|
platformId: string;
|
|
72
73
|
platformUrl: string;
|
|
73
|
-
updatedAt: Date;
|
|
74
74
|
platformPrice: number;
|
|
75
75
|
publishedAt: Date;
|
|
76
76
|
favoritesCount?: number | null | undefined;
|
|
@@ -95,11 +95,11 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
95
95
|
status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
|
|
96
96
|
id: string;
|
|
97
97
|
createdAt: Date;
|
|
98
|
+
updatedAt: Date;
|
|
98
99
|
accountId: string;
|
|
99
100
|
itemId: string | number;
|
|
100
101
|
platformId: string;
|
|
101
102
|
platformUrl: string;
|
|
102
|
-
updatedAt: Date;
|
|
103
103
|
platformPrice: number;
|
|
104
104
|
publishedAt: Date;
|
|
105
105
|
favoritesCount?: number | null | undefined;
|