controlresell 2.18.2 → 2.18.4
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 +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +2 -5
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +0 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +0 -1
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +159 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js +10 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.ts +11 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +136 -356
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +116 -300
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +12 -12
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -5
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +3 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +1 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
- package/src/com/controlresell/models/items/CreatedItems.d.ts +272 -712
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +232 -600
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +136 -356
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts +45 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js +6 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.ts +7 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +272 -712
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +96 -244
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +96 -244
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +150 -374
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +57 -133
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.ts +2 -1
- package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
- package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +156 -412
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +136 -356
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +136 -356
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +7 -7
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +310 -750
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +10 -10
- package/src/index.d.ts +2 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +2 -0
|
@@ -1427,7 +1427,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1427
1427
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1428
1428
|
id: z.ZodString;
|
|
1429
1429
|
itemId: z.ZodNumber;
|
|
1430
|
-
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "CANCELED", "DISPUTE", "DELETING", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
1430
|
+
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "FAILED_TO_UPDATE", "CANCELED", "DISPUTE", "DELETING", "DELETED", "DELETE_CANCELED", "FAILED_TO_DELETE", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
1431
1431
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1432
1432
|
data: z.ZodObject<{
|
|
1433
1433
|
targetItemHistoryId: z.ZodString;
|
|
@@ -2710,149 +2710,73 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2710
2710
|
}>, z.ZodObject<{
|
|
2711
2711
|
data: z.ZodObject<{
|
|
2712
2712
|
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2737
|
-
material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2738
|
-
manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2739
|
-
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2713
|
+
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2714
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2715
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
2716
|
+
value: z.ZodNumber;
|
|
2717
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
2718
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2719
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
2720
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2721
|
+
}, "strip", z.ZodTypeAny, {
|
|
2722
|
+
value: number;
|
|
2723
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2724
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2725
|
+
roundStep?: number | null | undefined;
|
|
2726
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2727
|
+
maxRounds?: number | null | undefined;
|
|
2728
|
+
}, {
|
|
2729
|
+
value: number;
|
|
2730
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2731
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2732
|
+
roundStep?: number | null | undefined;
|
|
2733
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2734
|
+
maxRounds?: number | null | undefined;
|
|
2735
|
+
}>>>;
|
|
2740
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
price?: number | null | undefined;
|
|
2750
|
-
currency?: string | null | undefined;
|
|
2751
|
-
catalog?: string | null | undefined;
|
|
2752
|
-
catalogId?: number | null | undefined;
|
|
2753
|
-
colors?: string[] | null | undefined;
|
|
2754
|
-
measurementLength?: number | null | undefined;
|
|
2755
|
-
measurementWidth?: number | null | undefined;
|
|
2756
|
-
photoUrls?: string[] | null | undefined;
|
|
2757
|
-
size?: string | null | undefined;
|
|
2758
|
-
isDraft?: boolean | null | undefined;
|
|
2759
|
-
isArchived?: boolean | null | undefined;
|
|
2760
|
-
isUnisex?: boolean | null | undefined;
|
|
2761
|
-
availableQuantity?: number | null | undefined;
|
|
2762
|
-
material?: number[] | null | undefined;
|
|
2763
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2764
|
-
labels?: string[] | null | undefined;
|
|
2765
|
-
isHidden?: boolean | null | undefined;
|
|
2766
|
-
isDeleted?: boolean | null | undefined;
|
|
2737
|
+
priceDropPayload?: {
|
|
2738
|
+
value: number;
|
|
2739
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2740
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2741
|
+
roundStep?: number | null | undefined;
|
|
2742
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2743
|
+
maxRounds?: number | null | undefined;
|
|
2744
|
+
} | null | undefined;
|
|
2767
2745
|
}, {
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
price?: number | null | undefined;
|
|
2777
|
-
currency?: string | null | undefined;
|
|
2778
|
-
catalog?: string | null | undefined;
|
|
2779
|
-
catalogId?: number | null | undefined;
|
|
2780
|
-
colors?: string[] | null | undefined;
|
|
2781
|
-
measurementLength?: number | null | undefined;
|
|
2782
|
-
measurementWidth?: number | null | undefined;
|
|
2783
|
-
photoUrls?: string[] | null | undefined;
|
|
2784
|
-
size?: string | null | undefined;
|
|
2785
|
-
isDraft?: boolean | null | undefined;
|
|
2786
|
-
isArchived?: boolean | null | undefined;
|
|
2787
|
-
isUnisex?: boolean | null | undefined;
|
|
2788
|
-
availableQuantity?: number | null | undefined;
|
|
2789
|
-
material?: number[] | null | undefined;
|
|
2790
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2791
|
-
labels?: string[] | null | undefined;
|
|
2792
|
-
isHidden?: boolean | null | undefined;
|
|
2793
|
-
isDeleted?: boolean | null | undefined;
|
|
2746
|
+
priceDropPayload?: {
|
|
2747
|
+
value: number;
|
|
2748
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2749
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2750
|
+
roundStep?: number | null | undefined;
|
|
2751
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2752
|
+
maxRounds?: number | null | undefined;
|
|
2753
|
+
} | null | undefined;
|
|
2794
2754
|
}>>>;
|
|
2795
2755
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2796
2756
|
}, "strip", z.ZodTypeAny, {
|
|
2797
2757
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
price?: number | null | undefined;
|
|
2808
|
-
currency?: string | null | undefined;
|
|
2809
|
-
catalog?: string | null | undefined;
|
|
2810
|
-
catalogId?: number | null | undefined;
|
|
2811
|
-
colors?: string[] | null | undefined;
|
|
2812
|
-
measurementLength?: number | null | undefined;
|
|
2813
|
-
measurementWidth?: number | null | undefined;
|
|
2814
|
-
photoUrls?: string[] | null | undefined;
|
|
2815
|
-
size?: string | null | undefined;
|
|
2816
|
-
isDraft?: boolean | null | undefined;
|
|
2817
|
-
isArchived?: boolean | null | undefined;
|
|
2818
|
-
isUnisex?: boolean | null | undefined;
|
|
2819
|
-
availableQuantity?: number | null | undefined;
|
|
2820
|
-
material?: number[] | null | undefined;
|
|
2821
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2822
|
-
labels?: string[] | null | undefined;
|
|
2823
|
-
isHidden?: boolean | null | undefined;
|
|
2824
|
-
isDeleted?: boolean | null | undefined;
|
|
2758
|
+
payload?: {
|
|
2759
|
+
priceDropPayload?: {
|
|
2760
|
+
value: number;
|
|
2761
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2762
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2763
|
+
roundStep?: number | null | undefined;
|
|
2764
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2765
|
+
maxRounds?: number | null | undefined;
|
|
2766
|
+
} | null | undefined;
|
|
2825
2767
|
} | null | undefined;
|
|
2826
2768
|
targetDate?: Date | null | undefined;
|
|
2827
2769
|
}, {
|
|
2828
2770
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
price?: number | null | undefined;
|
|
2839
|
-
currency?: string | null | undefined;
|
|
2840
|
-
catalog?: string | null | undefined;
|
|
2841
|
-
catalogId?: number | null | undefined;
|
|
2842
|
-
colors?: string[] | null | undefined;
|
|
2843
|
-
measurementLength?: number | null | undefined;
|
|
2844
|
-
measurementWidth?: number | null | undefined;
|
|
2845
|
-
photoUrls?: string[] | null | undefined;
|
|
2846
|
-
size?: string | null | undefined;
|
|
2847
|
-
isDraft?: boolean | null | undefined;
|
|
2848
|
-
isArchived?: boolean | null | undefined;
|
|
2849
|
-
isUnisex?: boolean | null | undefined;
|
|
2850
|
-
availableQuantity?: number | null | undefined;
|
|
2851
|
-
material?: number[] | null | undefined;
|
|
2852
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2853
|
-
labels?: string[] | null | undefined;
|
|
2854
|
-
isHidden?: boolean | null | undefined;
|
|
2855
|
-
isDeleted?: boolean | null | undefined;
|
|
2771
|
+
payload?: {
|
|
2772
|
+
priceDropPayload?: {
|
|
2773
|
+
value: number;
|
|
2774
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2775
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2776
|
+
roundStep?: number | null | undefined;
|
|
2777
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2778
|
+
maxRounds?: number | null | undefined;
|
|
2779
|
+
} | null | undefined;
|
|
2856
2780
|
} | null | undefined;
|
|
2857
2781
|
targetDate?: Date | null | undefined;
|
|
2858
2782
|
}>;
|
|
@@ -2861,33 +2785,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2861
2785
|
type: "UPDATING";
|
|
2862
2786
|
data: {
|
|
2863
2787
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
price?: number | null | undefined;
|
|
2874
|
-
currency?: string | null | undefined;
|
|
2875
|
-
catalog?: string | null | undefined;
|
|
2876
|
-
catalogId?: number | null | undefined;
|
|
2877
|
-
colors?: string[] | null | undefined;
|
|
2878
|
-
measurementLength?: number | null | undefined;
|
|
2879
|
-
measurementWidth?: number | null | undefined;
|
|
2880
|
-
photoUrls?: string[] | null | undefined;
|
|
2881
|
-
size?: string | null | undefined;
|
|
2882
|
-
isDraft?: boolean | null | undefined;
|
|
2883
|
-
isArchived?: boolean | null | undefined;
|
|
2884
|
-
isUnisex?: boolean | null | undefined;
|
|
2885
|
-
availableQuantity?: number | null | undefined;
|
|
2886
|
-
material?: number[] | null | undefined;
|
|
2887
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2888
|
-
labels?: string[] | null | undefined;
|
|
2889
|
-
isHidden?: boolean | null | undefined;
|
|
2890
|
-
isDeleted?: boolean | null | undefined;
|
|
2788
|
+
payload?: {
|
|
2789
|
+
priceDropPayload?: {
|
|
2790
|
+
value: number;
|
|
2791
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2792
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2793
|
+
roundStep?: number | null | undefined;
|
|
2794
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2795
|
+
maxRounds?: number | null | undefined;
|
|
2796
|
+
} | null | undefined;
|
|
2891
2797
|
} | null | undefined;
|
|
2892
2798
|
targetDate?: Date | null | undefined;
|
|
2893
2799
|
};
|
|
@@ -2895,33 +2801,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2895
2801
|
type: "UPDATING";
|
|
2896
2802
|
data: {
|
|
2897
2803
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
price?: number | null | undefined;
|
|
2908
|
-
currency?: string | null | undefined;
|
|
2909
|
-
catalog?: string | null | undefined;
|
|
2910
|
-
catalogId?: number | null | undefined;
|
|
2911
|
-
colors?: string[] | null | undefined;
|
|
2912
|
-
measurementLength?: number | null | undefined;
|
|
2913
|
-
measurementWidth?: number | null | undefined;
|
|
2914
|
-
photoUrls?: string[] | null | undefined;
|
|
2915
|
-
size?: string | null | undefined;
|
|
2916
|
-
isDraft?: boolean | null | undefined;
|
|
2917
|
-
isArchived?: boolean | null | undefined;
|
|
2918
|
-
isUnisex?: boolean | null | undefined;
|
|
2919
|
-
availableQuantity?: number | null | undefined;
|
|
2920
|
-
material?: number[] | null | undefined;
|
|
2921
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2922
|
-
labels?: string[] | null | undefined;
|
|
2923
|
-
isHidden?: boolean | null | undefined;
|
|
2924
|
-
isDeleted?: boolean | null | undefined;
|
|
2804
|
+
payload?: {
|
|
2805
|
+
priceDropPayload?: {
|
|
2806
|
+
value: number;
|
|
2807
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2808
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2809
|
+
roundStep?: number | null | undefined;
|
|
2810
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2811
|
+
maxRounds?: number | null | undefined;
|
|
2812
|
+
} | null | undefined;
|
|
2925
2813
|
} | null | undefined;
|
|
2926
2814
|
targetDate?: Date | null | undefined;
|
|
2927
2815
|
};
|
|
@@ -2932,7 +2820,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2932
2820
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
2821
|
targetHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2934
2822
|
}, "strip", z.ZodTypeAny, {
|
|
2935
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2823
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2936
2824
|
id: string;
|
|
2937
2825
|
createdAt: Date;
|
|
2938
2826
|
itemId: number;
|
|
@@ -3149,33 +3037,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3149
3037
|
type: "UPDATING";
|
|
3150
3038
|
data: {
|
|
3151
3039
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
price?: number | null | undefined;
|
|
3162
|
-
currency?: string | null | undefined;
|
|
3163
|
-
catalog?: string | null | undefined;
|
|
3164
|
-
catalogId?: number | null | undefined;
|
|
3165
|
-
colors?: string[] | null | undefined;
|
|
3166
|
-
measurementLength?: number | null | undefined;
|
|
3167
|
-
measurementWidth?: number | null | undefined;
|
|
3168
|
-
photoUrls?: string[] | null | undefined;
|
|
3169
|
-
size?: string | null | undefined;
|
|
3170
|
-
isDraft?: boolean | null | undefined;
|
|
3171
|
-
isArchived?: boolean | null | undefined;
|
|
3172
|
-
isUnisex?: boolean | null | undefined;
|
|
3173
|
-
availableQuantity?: number | null | undefined;
|
|
3174
|
-
material?: number[] | null | undefined;
|
|
3175
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3176
|
-
labels?: string[] | null | undefined;
|
|
3177
|
-
isHidden?: boolean | null | undefined;
|
|
3178
|
-
isDeleted?: boolean | null | undefined;
|
|
3040
|
+
payload?: {
|
|
3041
|
+
priceDropPayload?: {
|
|
3042
|
+
value: number;
|
|
3043
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3044
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3045
|
+
roundStep?: number | null | undefined;
|
|
3046
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3047
|
+
maxRounds?: number | null | undefined;
|
|
3048
|
+
} | null | undefined;
|
|
3179
3049
|
} | null | undefined;
|
|
3180
3050
|
targetDate?: Date | null | undefined;
|
|
3181
3051
|
};
|
|
@@ -3185,7 +3055,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3185
3055
|
requestId?: string | null | undefined;
|
|
3186
3056
|
targetHistoryId?: string | null | undefined;
|
|
3187
3057
|
}, {
|
|
3188
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3058
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3189
3059
|
id: string;
|
|
3190
3060
|
createdAt: Date;
|
|
3191
3061
|
itemId: number;
|
|
@@ -3402,33 +3272,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3402
3272
|
type: "UPDATING";
|
|
3403
3273
|
data: {
|
|
3404
3274
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
price?: number | null | undefined;
|
|
3415
|
-
currency?: string | null | undefined;
|
|
3416
|
-
catalog?: string | null | undefined;
|
|
3417
|
-
catalogId?: number | null | undefined;
|
|
3418
|
-
colors?: string[] | null | undefined;
|
|
3419
|
-
measurementLength?: number | null | undefined;
|
|
3420
|
-
measurementWidth?: number | null | undefined;
|
|
3421
|
-
photoUrls?: string[] | null | undefined;
|
|
3422
|
-
size?: string | null | undefined;
|
|
3423
|
-
isDraft?: boolean | null | undefined;
|
|
3424
|
-
isArchived?: boolean | null | undefined;
|
|
3425
|
-
isUnisex?: boolean | null | undefined;
|
|
3426
|
-
availableQuantity?: number | null | undefined;
|
|
3427
|
-
material?: number[] | null | undefined;
|
|
3428
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3429
|
-
labels?: string[] | null | undefined;
|
|
3430
|
-
isHidden?: boolean | null | undefined;
|
|
3431
|
-
isDeleted?: boolean | null | undefined;
|
|
3275
|
+
payload?: {
|
|
3276
|
+
priceDropPayload?: {
|
|
3277
|
+
value: number;
|
|
3278
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3279
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3280
|
+
roundStep?: number | null | undefined;
|
|
3281
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3282
|
+
maxRounds?: number | null | undefined;
|
|
3283
|
+
} | null | undefined;
|
|
3432
3284
|
} | null | undefined;
|
|
3433
3285
|
targetDate?: Date | null | undefined;
|
|
3434
3286
|
};
|
|
@@ -3743,7 +3595,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3743
3595
|
sellingPlaceId?: number | null | undefined;
|
|
3744
3596
|
feesSum?: number | null | undefined;
|
|
3745
3597
|
lastHistory?: {
|
|
3746
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3598
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3747
3599
|
id: string;
|
|
3748
3600
|
createdAt: Date;
|
|
3749
3601
|
itemId: number;
|
|
@@ -3960,33 +3812,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
3960
3812
|
type: "UPDATING";
|
|
3961
3813
|
data: {
|
|
3962
3814
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
price?: number | null | undefined;
|
|
3973
|
-
currency?: string | null | undefined;
|
|
3974
|
-
catalog?: string | null | undefined;
|
|
3975
|
-
catalogId?: number | null | undefined;
|
|
3976
|
-
colors?: string[] | null | undefined;
|
|
3977
|
-
measurementLength?: number | null | undefined;
|
|
3978
|
-
measurementWidth?: number | null | undefined;
|
|
3979
|
-
photoUrls?: string[] | null | undefined;
|
|
3980
|
-
size?: string | null | undefined;
|
|
3981
|
-
isDraft?: boolean | null | undefined;
|
|
3982
|
-
isArchived?: boolean | null | undefined;
|
|
3983
|
-
isUnisex?: boolean | null | undefined;
|
|
3984
|
-
availableQuantity?: number | null | undefined;
|
|
3985
|
-
material?: number[] | null | undefined;
|
|
3986
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3987
|
-
labels?: string[] | null | undefined;
|
|
3988
|
-
isHidden?: boolean | null | undefined;
|
|
3989
|
-
isDeleted?: boolean | null | undefined;
|
|
3815
|
+
payload?: {
|
|
3816
|
+
priceDropPayload?: {
|
|
3817
|
+
value: number;
|
|
3818
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3819
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3820
|
+
roundStep?: number | null | undefined;
|
|
3821
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3822
|
+
maxRounds?: number | null | undefined;
|
|
3823
|
+
} | null | undefined;
|
|
3990
3824
|
} | null | undefined;
|
|
3991
3825
|
targetDate?: Date | null | undefined;
|
|
3992
3826
|
};
|
|
@@ -4111,7 +3945,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4111
3945
|
sellingPlaceId?: number | null | undefined;
|
|
4112
3946
|
feesSum?: number | null | undefined;
|
|
4113
3947
|
lastHistory?: {
|
|
4114
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3948
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
4115
3949
|
id: string;
|
|
4116
3950
|
createdAt: Date;
|
|
4117
3951
|
itemId: number;
|
|
@@ -4328,33 +4162,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4328
4162
|
type: "UPDATING";
|
|
4329
4163
|
data: {
|
|
4330
4164
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
price?: number | null | undefined;
|
|
4341
|
-
currency?: string | null | undefined;
|
|
4342
|
-
catalog?: string | null | undefined;
|
|
4343
|
-
catalogId?: number | null | undefined;
|
|
4344
|
-
colors?: string[] | null | undefined;
|
|
4345
|
-
measurementLength?: number | null | undefined;
|
|
4346
|
-
measurementWidth?: number | null | undefined;
|
|
4347
|
-
photoUrls?: string[] | null | undefined;
|
|
4348
|
-
size?: string | null | undefined;
|
|
4349
|
-
isDraft?: boolean | null | undefined;
|
|
4350
|
-
isArchived?: boolean | null | undefined;
|
|
4351
|
-
isUnisex?: boolean | null | undefined;
|
|
4352
|
-
availableQuantity?: number | null | undefined;
|
|
4353
|
-
material?: number[] | null | undefined;
|
|
4354
|
-
manufacturerLabelling?: string | null | undefined;
|
|
4355
|
-
labels?: string[] | null | undefined;
|
|
4356
|
-
isHidden?: boolean | null | undefined;
|
|
4357
|
-
isDeleted?: boolean | null | undefined;
|
|
4165
|
+
payload?: {
|
|
4166
|
+
priceDropPayload?: {
|
|
4167
|
+
value: number;
|
|
4168
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
4169
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
4170
|
+
roundStep?: number | null | undefined;
|
|
4171
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
4172
|
+
maxRounds?: number | null | undefined;
|
|
4173
|
+
} | null | undefined;
|
|
4358
4174
|
} | null | undefined;
|
|
4359
4175
|
targetDate?: Date | null | undefined;
|
|
4360
4176
|
};
|
|
@@ -4481,7 +4297,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4481
4297
|
sellingPlaceId?: number | null | undefined;
|
|
4482
4298
|
feesSum?: number | null | undefined;
|
|
4483
4299
|
lastHistory?: {
|
|
4484
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
4300
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
4485
4301
|
id: string;
|
|
4486
4302
|
createdAt: Date;
|
|
4487
4303
|
itemId: number;
|
|
@@ -4698,33 +4514,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
4698
4514
|
type: "UPDATING";
|
|
4699
4515
|
data: {
|
|
4700
4516
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
price?: number | null | undefined;
|
|
4711
|
-
currency?: string | null | undefined;
|
|
4712
|
-
catalog?: string | null | undefined;
|
|
4713
|
-
catalogId?: number | null | undefined;
|
|
4714
|
-
colors?: string[] | null | undefined;
|
|
4715
|
-
measurementLength?: number | null | undefined;
|
|
4716
|
-
measurementWidth?: number | null | undefined;
|
|
4717
|
-
photoUrls?: string[] | null | undefined;
|
|
4718
|
-
size?: string | null | undefined;
|
|
4719
|
-
isDraft?: boolean | null | undefined;
|
|
4720
|
-
isArchived?: boolean | null | undefined;
|
|
4721
|
-
isUnisex?: boolean | null | undefined;
|
|
4722
|
-
availableQuantity?: number | null | undefined;
|
|
4723
|
-
material?: number[] | null | undefined;
|
|
4724
|
-
manufacturerLabelling?: string | null | undefined;
|
|
4725
|
-
labels?: string[] | null | undefined;
|
|
4726
|
-
isHidden?: boolean | null | undefined;
|
|
4727
|
-
isDeleted?: boolean | null | undefined;
|
|
4517
|
+
payload?: {
|
|
4518
|
+
priceDropPayload?: {
|
|
4519
|
+
value: number;
|
|
4520
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
4521
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
4522
|
+
roundStep?: number | null | undefined;
|
|
4523
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
4524
|
+
maxRounds?: number | null | undefined;
|
|
4525
|
+
} | null | undefined;
|
|
4728
4526
|
} | null | undefined;
|
|
4729
4527
|
targetDate?: Date | null | undefined;
|
|
4730
4528
|
};
|
|
@@ -5039,7 +4837,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5039
4837
|
sellingPlaceId?: number | null | undefined;
|
|
5040
4838
|
feesSum?: number | null | undefined;
|
|
5041
4839
|
lastHistory?: {
|
|
5042
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
4840
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
5043
4841
|
id: string;
|
|
5044
4842
|
createdAt: Date;
|
|
5045
4843
|
itemId: number;
|
|
@@ -5256,33 +5054,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
5256
5054
|
type: "UPDATING";
|
|
5257
5055
|
data: {
|
|
5258
5056
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
price?: number | null | undefined;
|
|
5269
|
-
currency?: string | null | undefined;
|
|
5270
|
-
catalog?: string | null | undefined;
|
|
5271
|
-
catalogId?: number | null | undefined;
|
|
5272
|
-
colors?: string[] | null | undefined;
|
|
5273
|
-
measurementLength?: number | null | undefined;
|
|
5274
|
-
measurementWidth?: number | null | undefined;
|
|
5275
|
-
photoUrls?: string[] | null | undefined;
|
|
5276
|
-
size?: string | null | undefined;
|
|
5277
|
-
isDraft?: boolean | null | undefined;
|
|
5278
|
-
isArchived?: boolean | null | undefined;
|
|
5279
|
-
isUnisex?: boolean | null | undefined;
|
|
5280
|
-
availableQuantity?: number | null | undefined;
|
|
5281
|
-
material?: number[] | null | undefined;
|
|
5282
|
-
manufacturerLabelling?: string | null | undefined;
|
|
5283
|
-
labels?: string[] | null | undefined;
|
|
5284
|
-
isHidden?: boolean | null | undefined;
|
|
5285
|
-
isDeleted?: boolean | null | undefined;
|
|
5057
|
+
payload?: {
|
|
5058
|
+
priceDropPayload?: {
|
|
5059
|
+
value: number;
|
|
5060
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
5061
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
5062
|
+
roundStep?: number | null | undefined;
|
|
5063
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
5064
|
+
maxRounds?: number | null | undefined;
|
|
5065
|
+
} | null | undefined;
|
|
5286
5066
|
} | null | undefined;
|
|
5287
5067
|
targetDate?: Date | null | undefined;
|
|
5288
5068
|
};
|