controlresell 2.2.9 → 2.2.11
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/models/application/RabbitMQRoutingKey.d.ts +1 -1
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.js +1 -1
- package/src/com/controlresell/models/application/RabbitMQRoutingKey.ts +1 -1
- 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 +56 -7
- package/src/com/controlresell/models/items/Item.d.ts +44 -5
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +56 -7
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +56 -7
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +32 -3
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +32 -3
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +19 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +5 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +5 -0
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +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/ItemHistoryRepublishing.d.ts +9 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishing.js +8 -0
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishing.ts +7 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.d.ts +3 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.js +1 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequest.ts +1 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +8 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.js +2 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.ts +2 -1
- package/src/com/controlresell/models/items/platforms/PlatformInfo.d.ts +3 -0
- package/src/com/controlresell/models/items/platforms/PlatformInfo.js +2 -1
- package/src/com/controlresell/models/items/platforms/PlatformInfo.ts +2 -1
- package/src/com/controlresell/models/items/platforms/RepublishRequestWithItem.d.ts +131 -0
- package/src/com/controlresell/models/items/platforms/RepublishRequestWithItem.js +11 -0
- package/src/com/controlresell/models/items/platforms/RepublishRequestWithItem.ts +10 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +56 -7
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +56 -7
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +56 -7
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +2163 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.js +8 -0
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.ts +8 -0
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.js +1 -1
- package/src/com/controlresell/models/preferences/payloads/vision/PreferenceVisionPayload.ts +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +9 -3
- package/src/index.ts +3 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RepublishRequestWithItemSchema: z.ZodObject<{
|
|
3
|
+
request: z.ZodObject<{
|
|
4
|
+
visionPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
+
doRemoveBackground: z.ZodBoolean;
|
|
6
|
+
doSmartCrop: z.ZodBoolean;
|
|
7
|
+
doChangeBackground: z.ZodBoolean;
|
|
8
|
+
doRotate: z.ZodBoolean;
|
|
9
|
+
doAddBorders: z.ZodBoolean;
|
|
10
|
+
shadow: z.ZodBoolean;
|
|
11
|
+
targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
doRemoveBackground: boolean;
|
|
20
|
+
doSmartCrop: boolean;
|
|
21
|
+
doChangeBackground: boolean;
|
|
22
|
+
doRotate: boolean;
|
|
23
|
+
doAddBorders: boolean;
|
|
24
|
+
shadow: boolean;
|
|
25
|
+
targetWidth?: number | null | undefined;
|
|
26
|
+
targetHeight?: number | null | undefined;
|
|
27
|
+
newBackgroundColor?: string | null | undefined;
|
|
28
|
+
newBackgroundUrl?: string | null | undefined;
|
|
29
|
+
rotationAngle?: number | null | undefined;
|
|
30
|
+
borderSize?: number | null | undefined;
|
|
31
|
+
borderColor?: string | null | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
doRemoveBackground: boolean;
|
|
34
|
+
doSmartCrop: boolean;
|
|
35
|
+
doChangeBackground: boolean;
|
|
36
|
+
doRotate: boolean;
|
|
37
|
+
doAddBorders: boolean;
|
|
38
|
+
shadow: boolean;
|
|
39
|
+
targetWidth?: number | null | undefined;
|
|
40
|
+
targetHeight?: number | null | undefined;
|
|
41
|
+
newBackgroundColor?: string | null | undefined;
|
|
42
|
+
newBackgroundUrl?: string | null | undefined;
|
|
43
|
+
rotationAngle?: number | null | undefined;
|
|
44
|
+
borderSize?: number | null | undefined;
|
|
45
|
+
borderColor?: string | null | undefined;
|
|
46
|
+
}>>>;
|
|
47
|
+
accountsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
accountsId?: string[] | null | undefined;
|
|
50
|
+
visionPayload?: {
|
|
51
|
+
doRemoveBackground: boolean;
|
|
52
|
+
doSmartCrop: boolean;
|
|
53
|
+
doChangeBackground: boolean;
|
|
54
|
+
doRotate: boolean;
|
|
55
|
+
doAddBorders: boolean;
|
|
56
|
+
shadow: boolean;
|
|
57
|
+
targetWidth?: number | null | undefined;
|
|
58
|
+
targetHeight?: number | null | undefined;
|
|
59
|
+
newBackgroundColor?: string | null | undefined;
|
|
60
|
+
newBackgroundUrl?: string | null | undefined;
|
|
61
|
+
rotationAngle?: number | null | undefined;
|
|
62
|
+
borderSize?: number | null | undefined;
|
|
63
|
+
borderColor?: string | null | undefined;
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
accountsId?: string[] | null | undefined;
|
|
67
|
+
visionPayload?: {
|
|
68
|
+
doRemoveBackground: boolean;
|
|
69
|
+
doSmartCrop: boolean;
|
|
70
|
+
doChangeBackground: boolean;
|
|
71
|
+
doRotate: boolean;
|
|
72
|
+
doAddBorders: boolean;
|
|
73
|
+
shadow: boolean;
|
|
74
|
+
targetWidth?: number | null | undefined;
|
|
75
|
+
targetHeight?: number | null | undefined;
|
|
76
|
+
newBackgroundColor?: string | null | undefined;
|
|
77
|
+
newBackgroundUrl?: string | null | undefined;
|
|
78
|
+
rotationAngle?: number | null | undefined;
|
|
79
|
+
borderSize?: number | null | undefined;
|
|
80
|
+
borderColor?: string | null | undefined;
|
|
81
|
+
} | null | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
itemId: z.ZodNumber;
|
|
84
|
+
userId: z.ZodNumber;
|
|
85
|
+
platformId: z.ZodString;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
userId: number;
|
|
88
|
+
itemId: number;
|
|
89
|
+
platformId: string;
|
|
90
|
+
request: {
|
|
91
|
+
accountsId?: string[] | null | undefined;
|
|
92
|
+
visionPayload?: {
|
|
93
|
+
doRemoveBackground: boolean;
|
|
94
|
+
doSmartCrop: boolean;
|
|
95
|
+
doChangeBackground: boolean;
|
|
96
|
+
doRotate: boolean;
|
|
97
|
+
doAddBorders: boolean;
|
|
98
|
+
shadow: boolean;
|
|
99
|
+
targetWidth?: number | null | undefined;
|
|
100
|
+
targetHeight?: number | null | undefined;
|
|
101
|
+
newBackgroundColor?: string | null | undefined;
|
|
102
|
+
newBackgroundUrl?: string | null | undefined;
|
|
103
|
+
rotationAngle?: number | null | undefined;
|
|
104
|
+
borderSize?: number | null | undefined;
|
|
105
|
+
borderColor?: string | null | undefined;
|
|
106
|
+
} | null | undefined;
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
userId: number;
|
|
110
|
+
itemId: number;
|
|
111
|
+
platformId: string;
|
|
112
|
+
request: {
|
|
113
|
+
accountsId?: string[] | null | undefined;
|
|
114
|
+
visionPayload?: {
|
|
115
|
+
doRemoveBackground: boolean;
|
|
116
|
+
doSmartCrop: boolean;
|
|
117
|
+
doChangeBackground: boolean;
|
|
118
|
+
doRotate: boolean;
|
|
119
|
+
doAddBorders: boolean;
|
|
120
|
+
shadow: boolean;
|
|
121
|
+
targetWidth?: number | null | undefined;
|
|
122
|
+
targetHeight?: number | null | undefined;
|
|
123
|
+
newBackgroundColor?: string | null | undefined;
|
|
124
|
+
newBackgroundUrl?: string | null | undefined;
|
|
125
|
+
rotationAngle?: number | null | undefined;
|
|
126
|
+
borderSize?: number | null | undefined;
|
|
127
|
+
borderColor?: string | null | undefined;
|
|
128
|
+
} | null | undefined;
|
|
129
|
+
};
|
|
130
|
+
}>;
|
|
131
|
+
export type RepublishRequestWithItem = z.infer<typeof RepublishRequestWithItemSchema>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RepublishRequestWithItemSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const RepublishRequest_1 = require("./RepublishRequest");
|
|
6
|
+
exports.RepublishRequestWithItemSchema = zod_1.z.object({
|
|
7
|
+
request: RepublishRequest_1.RepublishRequestSchema,
|
|
8
|
+
itemId: zod_1.z.number(),
|
|
9
|
+
userId: zod_1.z.number(),
|
|
10
|
+
platformId: zod_1.z.string()
|
|
11
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {RepublishRequestSchema} from "./RepublishRequest"
|
|
3
|
+
|
|
4
|
+
export const RepublishRequestWithItemSchema = z.object({
|
|
5
|
+
request: RepublishRequestSchema,
|
|
6
|
+
itemId: z.number(),
|
|
7
|
+
userId: z.number(),
|
|
8
|
+
platformId: z.string()
|
|
9
|
+
})
|
|
10
|
+
export type RepublishRequestWithItem = z.infer<typeof RepublishRequestWithItemSchema>
|
|
@@ -510,7 +510,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
510
510
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
511
511
|
id: z.ZodString;
|
|
512
512
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
513
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
513
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
514
514
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
515
515
|
type: z.ZodLiteral<"EMPTY">;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -618,10 +618,29 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
618
618
|
soldOrderId: string;
|
|
619
619
|
soldConversationId?: string | null | undefined;
|
|
620
620
|
};
|
|
621
|
+
}>, z.ZodObject<{
|
|
622
|
+
type: z.ZodLiteral<"REPUBLISHING">;
|
|
623
|
+
data: z.ZodObject<{
|
|
624
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
platform: "VINTED" | "SHOPIFY";
|
|
627
|
+
}, {
|
|
628
|
+
platform: "VINTED" | "SHOPIFY";
|
|
629
|
+
}>;
|
|
630
|
+
}, "strip", z.ZodTypeAny, {
|
|
631
|
+
type: "REPUBLISHING";
|
|
632
|
+
data: {
|
|
633
|
+
platform: "VINTED" | "SHOPIFY";
|
|
634
|
+
};
|
|
635
|
+
}, {
|
|
636
|
+
type: "REPUBLISHING";
|
|
637
|
+
data: {
|
|
638
|
+
platform: "VINTED" | "SHOPIFY";
|
|
639
|
+
};
|
|
621
640
|
}>]>>>;
|
|
622
641
|
createdAt: z.ZodDate;
|
|
623
642
|
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
643
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
625
644
|
id: string;
|
|
626
645
|
createdAt: Date;
|
|
627
646
|
itemId: string | number;
|
|
@@ -652,9 +671,14 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
652
671
|
soldOrderId: string;
|
|
653
672
|
soldConversationId?: string | null | undefined;
|
|
654
673
|
};
|
|
674
|
+
} | {
|
|
675
|
+
type: "REPUBLISHING";
|
|
676
|
+
data: {
|
|
677
|
+
platform: "VINTED" | "SHOPIFY";
|
|
678
|
+
};
|
|
655
679
|
} | null | undefined;
|
|
656
680
|
}, {
|
|
657
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
681
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
658
682
|
id: string;
|
|
659
683
|
createdAt: Date;
|
|
660
684
|
itemId: string | number;
|
|
@@ -685,6 +709,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
685
709
|
soldOrderId: string;
|
|
686
710
|
soldConversationId?: string | null | undefined;
|
|
687
711
|
};
|
|
712
|
+
} | {
|
|
713
|
+
type: "REPUBLISHING";
|
|
714
|
+
data: {
|
|
715
|
+
platform: "VINTED" | "SHOPIFY";
|
|
716
|
+
};
|
|
688
717
|
} | null | undefined;
|
|
689
718
|
}>>>;
|
|
690
719
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -851,7 +880,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
851
880
|
fieldId: string | number;
|
|
852
881
|
}[] | null | undefined;
|
|
853
882
|
lastHistory?: {
|
|
854
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
883
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
855
884
|
id: string;
|
|
856
885
|
createdAt: Date;
|
|
857
886
|
itemId: string | number;
|
|
@@ -882,6 +911,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
882
911
|
soldOrderId: string;
|
|
883
912
|
soldConversationId?: string | null | undefined;
|
|
884
913
|
};
|
|
914
|
+
} | {
|
|
915
|
+
type: "REPUBLISHING";
|
|
916
|
+
data: {
|
|
917
|
+
platform: "VINTED" | "SHOPIFY";
|
|
918
|
+
};
|
|
885
919
|
} | null | undefined;
|
|
886
920
|
} | null | undefined;
|
|
887
921
|
}, {
|
|
@@ -988,7 +1022,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
988
1022
|
fieldId: string | number;
|
|
989
1023
|
}[] | null | undefined;
|
|
990
1024
|
lastHistory?: {
|
|
991
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1025
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
992
1026
|
id: string;
|
|
993
1027
|
createdAt: Date;
|
|
994
1028
|
itemId: string | number;
|
|
@@ -1019,6 +1053,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1019
1053
|
soldOrderId: string;
|
|
1020
1054
|
soldConversationId?: string | null | undefined;
|
|
1021
1055
|
};
|
|
1056
|
+
} | {
|
|
1057
|
+
type: "REPUBLISHING";
|
|
1058
|
+
data: {
|
|
1059
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1060
|
+
};
|
|
1022
1061
|
} | null | undefined;
|
|
1023
1062
|
} | null | undefined;
|
|
1024
1063
|
}>, "many">;
|
|
@@ -1127,7 +1166,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1127
1166
|
fieldId: string | number;
|
|
1128
1167
|
}[] | null | undefined;
|
|
1129
1168
|
lastHistory?: {
|
|
1130
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1169
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1131
1170
|
id: string;
|
|
1132
1171
|
createdAt: Date;
|
|
1133
1172
|
itemId: string | number;
|
|
@@ -1158,6 +1197,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1158
1197
|
soldOrderId: string;
|
|
1159
1198
|
soldConversationId?: string | null | undefined;
|
|
1160
1199
|
};
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "REPUBLISHING";
|
|
1202
|
+
data: {
|
|
1203
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1204
|
+
};
|
|
1161
1205
|
} | null | undefined;
|
|
1162
1206
|
} | null | undefined;
|
|
1163
1207
|
}[];
|
|
@@ -1316,7 +1360,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1316
1360
|
fieldId: string | number;
|
|
1317
1361
|
}[] | null | undefined;
|
|
1318
1362
|
lastHistory?: {
|
|
1319
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1363
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1320
1364
|
id: string;
|
|
1321
1365
|
createdAt: Date;
|
|
1322
1366
|
itemId: string | number;
|
|
@@ -1347,6 +1391,11 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1347
1391
|
soldOrderId: string;
|
|
1348
1392
|
soldConversationId?: string | null | undefined;
|
|
1349
1393
|
};
|
|
1394
|
+
} | {
|
|
1395
|
+
type: "REPUBLISHING";
|
|
1396
|
+
data: {
|
|
1397
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1398
|
+
};
|
|
1350
1399
|
} | null | undefined;
|
|
1351
1400
|
} | null | undefined;
|
|
1352
1401
|
}[];
|
|
@@ -385,7 +385,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
385
385
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
386
386
|
id: z.ZodString;
|
|
387
387
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
388
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
388
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
389
389
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
390
390
|
type: z.ZodLiteral<"EMPTY">;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -493,10 +493,29 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
493
493
|
soldOrderId: string;
|
|
494
494
|
soldConversationId?: string | null | undefined;
|
|
495
495
|
};
|
|
496
|
+
}>, z.ZodObject<{
|
|
497
|
+
type: z.ZodLiteral<"REPUBLISHING">;
|
|
498
|
+
data: z.ZodObject<{
|
|
499
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
500
|
+
}, "strip", z.ZodTypeAny, {
|
|
501
|
+
platform: "VINTED" | "SHOPIFY";
|
|
502
|
+
}, {
|
|
503
|
+
platform: "VINTED" | "SHOPIFY";
|
|
504
|
+
}>;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
type: "REPUBLISHING";
|
|
507
|
+
data: {
|
|
508
|
+
platform: "VINTED" | "SHOPIFY";
|
|
509
|
+
};
|
|
510
|
+
}, {
|
|
511
|
+
type: "REPUBLISHING";
|
|
512
|
+
data: {
|
|
513
|
+
platform: "VINTED" | "SHOPIFY";
|
|
514
|
+
};
|
|
496
515
|
}>]>>>;
|
|
497
516
|
createdAt: z.ZodDate;
|
|
498
517
|
}, "strip", z.ZodTypeAny, {
|
|
499
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
518
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
500
519
|
id: string;
|
|
501
520
|
createdAt: Date;
|
|
502
521
|
itemId: string | number;
|
|
@@ -527,9 +546,14 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
527
546
|
soldOrderId: string;
|
|
528
547
|
soldConversationId?: string | null | undefined;
|
|
529
548
|
};
|
|
549
|
+
} | {
|
|
550
|
+
type: "REPUBLISHING";
|
|
551
|
+
data: {
|
|
552
|
+
platform: "VINTED" | "SHOPIFY";
|
|
553
|
+
};
|
|
530
554
|
} | null | undefined;
|
|
531
555
|
}, {
|
|
532
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
556
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
533
557
|
id: string;
|
|
534
558
|
createdAt: Date;
|
|
535
559
|
itemId: string | number;
|
|
@@ -560,6 +584,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
560
584
|
soldOrderId: string;
|
|
561
585
|
soldConversationId?: string | null | undefined;
|
|
562
586
|
};
|
|
587
|
+
} | {
|
|
588
|
+
type: "REPUBLISHING";
|
|
589
|
+
data: {
|
|
590
|
+
platform: "VINTED" | "SHOPIFY";
|
|
591
|
+
};
|
|
563
592
|
} | null | undefined;
|
|
564
593
|
}>>>;
|
|
565
594
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -726,7 +755,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
726
755
|
fieldId: string | number;
|
|
727
756
|
}[] | null | undefined;
|
|
728
757
|
lastHistory?: {
|
|
729
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
758
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
730
759
|
id: string;
|
|
731
760
|
createdAt: Date;
|
|
732
761
|
itemId: string | number;
|
|
@@ -757,6 +786,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
757
786
|
soldOrderId: string;
|
|
758
787
|
soldConversationId?: string | null | undefined;
|
|
759
788
|
};
|
|
789
|
+
} | {
|
|
790
|
+
type: "REPUBLISHING";
|
|
791
|
+
data: {
|
|
792
|
+
platform: "VINTED" | "SHOPIFY";
|
|
793
|
+
};
|
|
760
794
|
} | null | undefined;
|
|
761
795
|
} | null | undefined;
|
|
762
796
|
}, {
|
|
@@ -863,7 +897,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
863
897
|
fieldId: string | number;
|
|
864
898
|
}[] | null | undefined;
|
|
865
899
|
lastHistory?: {
|
|
866
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
900
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
867
901
|
id: string;
|
|
868
902
|
createdAt: Date;
|
|
869
903
|
itemId: string | number;
|
|
@@ -894,6 +928,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
894
928
|
soldOrderId: string;
|
|
895
929
|
soldConversationId?: string | null | undefined;
|
|
896
930
|
};
|
|
931
|
+
} | {
|
|
932
|
+
type: "REPUBLISHING";
|
|
933
|
+
data: {
|
|
934
|
+
platform: "VINTED" | "SHOPIFY";
|
|
935
|
+
};
|
|
897
936
|
} | null | undefined;
|
|
898
937
|
} | null | undefined;
|
|
899
938
|
}>, "many">;
|
|
@@ -1002,7 +1041,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1002
1041
|
fieldId: string | number;
|
|
1003
1042
|
}[] | null | undefined;
|
|
1004
1043
|
lastHistory?: {
|
|
1005
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1044
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1006
1045
|
id: string;
|
|
1007
1046
|
createdAt: Date;
|
|
1008
1047
|
itemId: string | number;
|
|
@@ -1033,6 +1072,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1033
1072
|
soldOrderId: string;
|
|
1034
1073
|
soldConversationId?: string | null | undefined;
|
|
1035
1074
|
};
|
|
1075
|
+
} | {
|
|
1076
|
+
type: "REPUBLISHING";
|
|
1077
|
+
data: {
|
|
1078
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1079
|
+
};
|
|
1036
1080
|
} | null | undefined;
|
|
1037
1081
|
} | null | undefined;
|
|
1038
1082
|
}[];
|
|
@@ -1170,7 +1214,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1170
1214
|
fieldId: string | number;
|
|
1171
1215
|
}[] | null | undefined;
|
|
1172
1216
|
lastHistory?: {
|
|
1173
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1217
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1174
1218
|
id: string;
|
|
1175
1219
|
createdAt: Date;
|
|
1176
1220
|
itemId: string | number;
|
|
@@ -1201,6 +1245,11 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1201
1245
|
soldOrderId: string;
|
|
1202
1246
|
soldConversationId?: string | null | undefined;
|
|
1203
1247
|
};
|
|
1248
|
+
} | {
|
|
1249
|
+
type: "REPUBLISHING";
|
|
1250
|
+
data: {
|
|
1251
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1252
|
+
};
|
|
1204
1253
|
} | null | undefined;
|
|
1205
1254
|
} | null | undefined;
|
|
1206
1255
|
}[];
|
|
@@ -220,7 +220,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
220
220
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
221
221
|
id: z.ZodString;
|
|
222
222
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
223
|
-
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
223
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
224
224
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
225
225
|
type: z.ZodLiteral<"EMPTY">;
|
|
226
226
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -328,10 +328,29 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
328
328
|
soldOrderId: string;
|
|
329
329
|
soldConversationId?: string | null | undefined;
|
|
330
330
|
};
|
|
331
|
+
}>, z.ZodObject<{
|
|
332
|
+
type: z.ZodLiteral<"REPUBLISHING">;
|
|
333
|
+
data: z.ZodObject<{
|
|
334
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
platform: "VINTED" | "SHOPIFY";
|
|
337
|
+
}, {
|
|
338
|
+
platform: "VINTED" | "SHOPIFY";
|
|
339
|
+
}>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
type: "REPUBLISHING";
|
|
342
|
+
data: {
|
|
343
|
+
platform: "VINTED" | "SHOPIFY";
|
|
344
|
+
};
|
|
345
|
+
}, {
|
|
346
|
+
type: "REPUBLISHING";
|
|
347
|
+
data: {
|
|
348
|
+
platform: "VINTED" | "SHOPIFY";
|
|
349
|
+
};
|
|
331
350
|
}>]>>>;
|
|
332
351
|
createdAt: z.ZodDate;
|
|
333
352
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
353
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
335
354
|
id: string;
|
|
336
355
|
createdAt: Date;
|
|
337
356
|
itemId: string | number;
|
|
@@ -362,9 +381,14 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
362
381
|
soldOrderId: string;
|
|
363
382
|
soldConversationId?: string | null | undefined;
|
|
364
383
|
};
|
|
384
|
+
} | {
|
|
385
|
+
type: "REPUBLISHING";
|
|
386
|
+
data: {
|
|
387
|
+
platform: "VINTED" | "SHOPIFY";
|
|
388
|
+
};
|
|
365
389
|
} | null | undefined;
|
|
366
390
|
}, {
|
|
367
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
391
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
368
392
|
id: string;
|
|
369
393
|
createdAt: Date;
|
|
370
394
|
itemId: string | number;
|
|
@@ -395,6 +419,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
395
419
|
soldOrderId: string;
|
|
396
420
|
soldConversationId?: string | null | undefined;
|
|
397
421
|
};
|
|
422
|
+
} | {
|
|
423
|
+
type: "REPUBLISHING";
|
|
424
|
+
data: {
|
|
425
|
+
platform: "VINTED" | "SHOPIFY";
|
|
426
|
+
};
|
|
398
427
|
} | null | undefined;
|
|
399
428
|
}>>>;
|
|
400
429
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -561,7 +590,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
561
590
|
fieldId: string | number;
|
|
562
591
|
}[] | null | undefined;
|
|
563
592
|
lastHistory?: {
|
|
564
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
593
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
565
594
|
id: string;
|
|
566
595
|
createdAt: Date;
|
|
567
596
|
itemId: string | number;
|
|
@@ -592,6 +621,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
592
621
|
soldOrderId: string;
|
|
593
622
|
soldConversationId?: string | null | undefined;
|
|
594
623
|
};
|
|
624
|
+
} | {
|
|
625
|
+
type: "REPUBLISHING";
|
|
626
|
+
data: {
|
|
627
|
+
platform: "VINTED" | "SHOPIFY";
|
|
628
|
+
};
|
|
595
629
|
} | null | undefined;
|
|
596
630
|
} | null | undefined;
|
|
597
631
|
}, {
|
|
@@ -698,7 +732,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
698
732
|
fieldId: string | number;
|
|
699
733
|
}[] | null | undefined;
|
|
700
734
|
lastHistory?: {
|
|
701
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
735
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
702
736
|
id: string;
|
|
703
737
|
createdAt: Date;
|
|
704
738
|
itemId: string | number;
|
|
@@ -729,6 +763,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
729
763
|
soldOrderId: string;
|
|
730
764
|
soldConversationId?: string | null | undefined;
|
|
731
765
|
};
|
|
766
|
+
} | {
|
|
767
|
+
type: "REPUBLISHING";
|
|
768
|
+
data: {
|
|
769
|
+
platform: "VINTED" | "SHOPIFY";
|
|
770
|
+
};
|
|
732
771
|
} | null | undefined;
|
|
733
772
|
} | null | undefined;
|
|
734
773
|
}>, "many">>>;
|
|
@@ -856,7 +895,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
856
895
|
fieldId: string | number;
|
|
857
896
|
}[] | null | undefined;
|
|
858
897
|
lastHistory?: {
|
|
859
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
898
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
860
899
|
id: string;
|
|
861
900
|
createdAt: Date;
|
|
862
901
|
itemId: string | number;
|
|
@@ -887,6 +926,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
887
926
|
soldOrderId: string;
|
|
888
927
|
soldConversationId?: string | null | undefined;
|
|
889
928
|
};
|
|
929
|
+
} | {
|
|
930
|
+
type: "REPUBLISHING";
|
|
931
|
+
data: {
|
|
932
|
+
platform: "VINTED" | "SHOPIFY";
|
|
933
|
+
};
|
|
890
934
|
} | null | undefined;
|
|
891
935
|
} | null | undefined;
|
|
892
936
|
}[] | null | undefined;
|
|
@@ -1002,7 +1046,7 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
1002
1046
|
fieldId: string | number;
|
|
1003
1047
|
}[] | null | undefined;
|
|
1004
1048
|
lastHistory?: {
|
|
1005
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1049
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
1006
1050
|
id: string;
|
|
1007
1051
|
createdAt: Date;
|
|
1008
1052
|
itemId: string | number;
|
|
@@ -1033,6 +1077,11 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
|
|
|
1033
1077
|
soldOrderId: string;
|
|
1034
1078
|
soldConversationId?: string | null | undefined;
|
|
1035
1079
|
};
|
|
1080
|
+
} | {
|
|
1081
|
+
type: "REPUBLISHING";
|
|
1082
|
+
data: {
|
|
1083
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1084
|
+
};
|
|
1036
1085
|
} | null | undefined;
|
|
1037
1086
|
} | null | undefined;
|
|
1038
1087
|
}[] | null | undefined;
|