controlresell 2.8.22 → 2.8.23
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 +3 -3
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +23 -9
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +176 -24
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +17 -7
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +148 -20
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +5 -5
- package/src/com/controlresell/models/users/User.d.ts +5 -5
- package/src/com/controlresell/models/users/fields/FieldConfig.d.ts +3 -3
- package/src/com/controlresell/models/users/fields/FieldConfig.js +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.ts +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +238 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
|
@@ -19,7 +19,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
19
19
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
20
20
|
name: z.ZodString;
|
|
21
21
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
22
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
23
23
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
startsAt: z.ZodDate;
|
|
25
25
|
endsAt: z.ZodDate;
|
|
@@ -34,7 +34,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
34
34
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
37
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
38
38
|
userId: string | number;
|
|
39
39
|
name: string;
|
|
40
40
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -48,7 +48,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
48
48
|
ordersMaxDelay?: number | null | undefined;
|
|
49
49
|
conversationsMaxDelay?: number | null | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
51
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
52
52
|
userId: string | number;
|
|
53
53
|
name: string;
|
|
54
54
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -63,6 +63,8 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
63
63
|
conversationsMaxDelay?: number | null | undefined;
|
|
64
64
|
}>>>;
|
|
65
65
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
68
|
}, "strip", z.ZodTypeAny, {
|
|
67
69
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
68
70
|
id: string;
|
|
@@ -76,7 +78,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
76
78
|
publishedAt: Date;
|
|
77
79
|
conversationId?: string | null | undefined;
|
|
78
80
|
account?: {
|
|
79
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
81
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
80
82
|
userId: string | number;
|
|
81
83
|
name: string;
|
|
82
84
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -90,6 +92,8 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
90
92
|
ordersMaxDelay?: number | null | undefined;
|
|
91
93
|
conversationsMaxDelay?: number | null | undefined;
|
|
92
94
|
} | null | undefined;
|
|
95
|
+
viewsCount?: number | null | undefined;
|
|
96
|
+
favoritesCount?: number | null | undefined;
|
|
93
97
|
}, {
|
|
94
98
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
95
99
|
id: string;
|
|
@@ -103,7 +107,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
103
107
|
publishedAt: Date;
|
|
104
108
|
conversationId?: string | null | undefined;
|
|
105
109
|
account?: {
|
|
106
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
110
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
107
111
|
userId: string | number;
|
|
108
112
|
name: string;
|
|
109
113
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -117,6 +121,8 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
117
121
|
ordersMaxDelay?: number | null | undefined;
|
|
118
122
|
conversationsMaxDelay?: number | null | undefined;
|
|
119
123
|
} | null | undefined;
|
|
124
|
+
viewsCount?: number | null | undefined;
|
|
125
|
+
favoritesCount?: number | null | undefined;
|
|
120
126
|
}>>>;
|
|
121
127
|
}, "strip", z.ZodTypeAny, {
|
|
122
128
|
orderId: string;
|
|
@@ -134,7 +140,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
134
140
|
publishedAt: Date;
|
|
135
141
|
conversationId?: string | null | undefined;
|
|
136
142
|
account?: {
|
|
137
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
143
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
138
144
|
userId: string | number;
|
|
139
145
|
name: string;
|
|
140
146
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -148,6 +154,8 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
148
154
|
ordersMaxDelay?: number | null | undefined;
|
|
149
155
|
conversationsMaxDelay?: number | null | undefined;
|
|
150
156
|
} | null | undefined;
|
|
157
|
+
viewsCount?: number | null | undefined;
|
|
158
|
+
favoritesCount?: number | null | undefined;
|
|
151
159
|
} | null | undefined;
|
|
152
160
|
}, {
|
|
153
161
|
orderId: string;
|
|
@@ -165,7 +173,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
165
173
|
publishedAt: Date;
|
|
166
174
|
conversationId?: string | null | undefined;
|
|
167
175
|
account?: {
|
|
168
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
176
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
169
177
|
userId: string | number;
|
|
170
178
|
name: string;
|
|
171
179
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -179,6 +187,8 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
179
187
|
ordersMaxDelay?: number | null | undefined;
|
|
180
188
|
conversationsMaxDelay?: number | null | undefined;
|
|
181
189
|
} | null | undefined;
|
|
190
|
+
viewsCount?: number | null | undefined;
|
|
191
|
+
favoritesCount?: number | null | undefined;
|
|
182
192
|
} | null | undefined;
|
|
183
193
|
}>;
|
|
184
194
|
export type ItemInOrder = z.infer<typeof ItemInOrderSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemInOrder.d.ts","sourceRoot":"","sources":["ItemInOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"ItemInOrder.d.ts","sourceRoot":"","sources":["ItemInOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|
|
@@ -30,7 +30,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
30
30
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
31
31
|
name: z.ZodString;
|
|
32
32
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
33
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
34
34
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
35
|
startsAt: z.ZodDate;
|
|
36
36
|
endsAt: z.ZodDate;
|
|
@@ -45,7 +45,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
45
45
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
48
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
49
49
|
userId: string | number;
|
|
50
50
|
name: string;
|
|
51
51
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -59,7 +59,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
59
59
|
ordersMaxDelay?: number | null | undefined;
|
|
60
60
|
conversationsMaxDelay?: number | null | undefined;
|
|
61
61
|
}, {
|
|
62
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
62
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
63
63
|
userId: string | number;
|
|
64
64
|
name: string;
|
|
65
65
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -74,6 +74,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
74
74
|
conversationsMaxDelay?: number | null | undefined;
|
|
75
75
|
}>>>;
|
|
76
76
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
79
|
}, "strip", z.ZodTypeAny, {
|
|
78
80
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
79
81
|
id: string;
|
|
@@ -87,7 +89,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
87
89
|
publishedAt: Date;
|
|
88
90
|
conversationId?: string | null | undefined;
|
|
89
91
|
account?: {
|
|
90
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
92
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
91
93
|
userId: string | number;
|
|
92
94
|
name: string;
|
|
93
95
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -101,6 +103,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
101
103
|
ordersMaxDelay?: number | null | undefined;
|
|
102
104
|
conversationsMaxDelay?: number | null | undefined;
|
|
103
105
|
} | null | undefined;
|
|
106
|
+
viewsCount?: number | null | undefined;
|
|
107
|
+
favoritesCount?: number | null | undefined;
|
|
104
108
|
}, {
|
|
105
109
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
106
110
|
id: string;
|
|
@@ -114,7 +118,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
114
118
|
publishedAt: Date;
|
|
115
119
|
conversationId?: string | null | undefined;
|
|
116
120
|
account?: {
|
|
117
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
121
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
118
122
|
userId: string | number;
|
|
119
123
|
name: string;
|
|
120
124
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -128,6 +132,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
128
132
|
ordersMaxDelay?: number | null | undefined;
|
|
129
133
|
conversationsMaxDelay?: number | null | undefined;
|
|
130
134
|
} | null | undefined;
|
|
135
|
+
viewsCount?: number | null | undefined;
|
|
136
|
+
favoritesCount?: number | null | undefined;
|
|
131
137
|
}>>>;
|
|
132
138
|
}, "strip", z.ZodTypeAny, {
|
|
133
139
|
orderId: string;
|
|
@@ -145,7 +151,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
145
151
|
publishedAt: Date;
|
|
146
152
|
conversationId?: string | null | undefined;
|
|
147
153
|
account?: {
|
|
148
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
154
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
149
155
|
userId: string | number;
|
|
150
156
|
name: string;
|
|
151
157
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -159,6 +165,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
159
165
|
ordersMaxDelay?: number | null | undefined;
|
|
160
166
|
conversationsMaxDelay?: number | null | undefined;
|
|
161
167
|
} | null | undefined;
|
|
168
|
+
viewsCount?: number | null | undefined;
|
|
169
|
+
favoritesCount?: number | null | undefined;
|
|
162
170
|
} | null | undefined;
|
|
163
171
|
}, {
|
|
164
172
|
orderId: string;
|
|
@@ -176,7 +184,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
176
184
|
publishedAt: Date;
|
|
177
185
|
conversationId?: string | null | undefined;
|
|
178
186
|
account?: {
|
|
179
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
187
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
180
188
|
userId: string | number;
|
|
181
189
|
name: string;
|
|
182
190
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -190,6 +198,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
190
198
|
ordersMaxDelay?: number | null | undefined;
|
|
191
199
|
conversationsMaxDelay?: number | null | undefined;
|
|
192
200
|
} | null | undefined;
|
|
201
|
+
viewsCount?: number | null | undefined;
|
|
202
|
+
favoritesCount?: number | null | undefined;
|
|
193
203
|
} | null | undefined;
|
|
194
204
|
}>, "many">>>;
|
|
195
205
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -419,7 +429,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
419
429
|
publishedAt: Date;
|
|
420
430
|
conversationId?: string | null | undefined;
|
|
421
431
|
account?: {
|
|
422
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
432
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
423
433
|
userId: string | number;
|
|
424
434
|
name: string;
|
|
425
435
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -433,6 +443,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
433
443
|
ordersMaxDelay?: number | null | undefined;
|
|
434
444
|
conversationsMaxDelay?: number | null | undefined;
|
|
435
445
|
} | null | undefined;
|
|
446
|
+
viewsCount?: number | null | undefined;
|
|
447
|
+
favoritesCount?: number | null | undefined;
|
|
436
448
|
} | null | undefined;
|
|
437
449
|
}[] | null | undefined;
|
|
438
450
|
conversationId?: string | null | undefined;
|
|
@@ -510,7 +522,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
510
522
|
publishedAt: Date;
|
|
511
523
|
conversationId?: string | null | undefined;
|
|
512
524
|
account?: {
|
|
513
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
525
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
514
526
|
userId: string | number;
|
|
515
527
|
name: string;
|
|
516
528
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -524,6 +536,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
524
536
|
ordersMaxDelay?: number | null | undefined;
|
|
525
537
|
conversationsMaxDelay?: number | null | undefined;
|
|
526
538
|
} | null | undefined;
|
|
539
|
+
viewsCount?: number | null | undefined;
|
|
540
|
+
favoritesCount?: number | null | undefined;
|
|
527
541
|
} | null | undefined;
|
|
528
542
|
}[] | null | undefined;
|
|
529
543
|
conversationId?: string | null | undefined;
|
|
@@ -1038,12 +1052,45 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1038
1052
|
data: z.ZodObject<{
|
|
1039
1053
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1040
1054
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1055
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1056
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
1057
|
+
value: z.ZodNumber;
|
|
1058
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
1059
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1060
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
value: number;
|
|
1063
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1064
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1065
|
+
roundStep?: number | null | undefined;
|
|
1066
|
+
maxRounds?: number | null | undefined;
|
|
1067
|
+
}, {
|
|
1068
|
+
value: number;
|
|
1069
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1070
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1071
|
+
roundStep?: number | null | undefined;
|
|
1072
|
+
maxRounds?: number | null | undefined;
|
|
1073
|
+
}>>>;
|
|
1041
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1075
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1043
1076
|
publishingDate?: Date | null | undefined;
|
|
1077
|
+
priceDropPayload?: {
|
|
1078
|
+
value: number;
|
|
1079
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1080
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1081
|
+
roundStep?: number | null | undefined;
|
|
1082
|
+
maxRounds?: number | null | undefined;
|
|
1083
|
+
} | null | undefined;
|
|
1044
1084
|
}, {
|
|
1045
1085
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1046
1086
|
publishingDate?: Date | null | undefined;
|
|
1087
|
+
priceDropPayload?: {
|
|
1088
|
+
value: number;
|
|
1089
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1090
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1091
|
+
roundStep?: number | null | undefined;
|
|
1092
|
+
maxRounds?: number | null | undefined;
|
|
1093
|
+
} | null | undefined;
|
|
1047
1094
|
}>;
|
|
1048
1095
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1049
1096
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1051,12 +1098,26 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1051
1098
|
data: {
|
|
1052
1099
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1053
1100
|
publishingDate?: Date | null | undefined;
|
|
1101
|
+
priceDropPayload?: {
|
|
1102
|
+
value: number;
|
|
1103
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1104
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1105
|
+
roundStep?: number | null | undefined;
|
|
1106
|
+
maxRounds?: number | null | undefined;
|
|
1107
|
+
} | null | undefined;
|
|
1054
1108
|
};
|
|
1055
1109
|
}, {
|
|
1056
1110
|
type: "REPUBLISHING";
|
|
1057
1111
|
data: {
|
|
1058
1112
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1059
1113
|
publishingDate?: Date | null | undefined;
|
|
1114
|
+
priceDropPayload?: {
|
|
1115
|
+
value: number;
|
|
1116
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1117
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1118
|
+
roundStep?: number | null | undefined;
|
|
1119
|
+
maxRounds?: number | null | undefined;
|
|
1120
|
+
} | null | undefined;
|
|
1060
1121
|
};
|
|
1061
1122
|
}>, z.ZodObject<{
|
|
1062
1123
|
data: z.ZodObject<{
|
|
@@ -1086,6 +1147,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1086
1147
|
createdAt: z.ZodDate;
|
|
1087
1148
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1088
1149
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
1151
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1152
|
type: "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1091
1153
|
id: string;
|
|
@@ -1149,6 +1211,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1149
1211
|
data: {
|
|
1150
1212
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1151
1213
|
publishingDate?: Date | null | undefined;
|
|
1214
|
+
priceDropPayload?: {
|
|
1215
|
+
value: number;
|
|
1216
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1217
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1218
|
+
roundStep?: number | null | undefined;
|
|
1219
|
+
maxRounds?: number | null | undefined;
|
|
1220
|
+
} | null | undefined;
|
|
1152
1221
|
};
|
|
1153
1222
|
} | {
|
|
1154
1223
|
type: "SCHEDULED";
|
|
@@ -1159,6 +1228,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1159
1228
|
} | null | undefined;
|
|
1160
1229
|
accountId?: string | null | undefined;
|
|
1161
1230
|
targetDate?: Date | null | undefined;
|
|
1231
|
+
requestId?: string | null | undefined;
|
|
1162
1232
|
}, {
|
|
1163
1233
|
type: "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1164
1234
|
id: string;
|
|
@@ -1222,6 +1292,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1222
1292
|
data: {
|
|
1223
1293
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1224
1294
|
publishingDate?: Date | null | undefined;
|
|
1295
|
+
priceDropPayload?: {
|
|
1296
|
+
value: number;
|
|
1297
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1298
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1299
|
+
roundStep?: number | null | undefined;
|
|
1300
|
+
maxRounds?: number | null | undefined;
|
|
1301
|
+
} | null | undefined;
|
|
1225
1302
|
};
|
|
1226
1303
|
} | {
|
|
1227
1304
|
type: "SCHEDULED";
|
|
@@ -1232,6 +1309,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1232
1309
|
} | null | undefined;
|
|
1233
1310
|
accountId?: string | null | undefined;
|
|
1234
1311
|
targetDate?: Date | null | undefined;
|
|
1312
|
+
requestId?: string | null | undefined;
|
|
1235
1313
|
}>>>;
|
|
1236
1314
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1237
1315
|
id: z.ZodString;
|
|
@@ -1250,7 +1328,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1250
1328
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1251
1329
|
name: z.ZodString;
|
|
1252
1330
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
1331
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
1254
1332
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1255
1333
|
startsAt: z.ZodDate;
|
|
1256
1334
|
endsAt: z.ZodDate;
|
|
@@ -1265,7 +1343,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1265
1343
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1266
1344
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1267
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1268
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1346
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1269
1347
|
userId: string | number;
|
|
1270
1348
|
name: string;
|
|
1271
1349
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1279,7 +1357,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1279
1357
|
ordersMaxDelay?: number | null | undefined;
|
|
1280
1358
|
conversationsMaxDelay?: number | null | undefined;
|
|
1281
1359
|
}, {
|
|
1282
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1360
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1283
1361
|
userId: string | number;
|
|
1284
1362
|
name: string;
|
|
1285
1363
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1294,6 +1372,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1294
1372
|
conversationsMaxDelay?: number | null | undefined;
|
|
1295
1373
|
}>>>;
|
|
1296
1374
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1375
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1376
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1297
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1298
1378
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1299
1379
|
id: string;
|
|
@@ -1307,7 +1387,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1307
1387
|
publishedAt: Date;
|
|
1308
1388
|
conversationId?: string | null | undefined;
|
|
1309
1389
|
account?: {
|
|
1310
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1390
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1311
1391
|
userId: string | number;
|
|
1312
1392
|
name: string;
|
|
1313
1393
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1321,6 +1401,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1321
1401
|
ordersMaxDelay?: number | null | undefined;
|
|
1322
1402
|
conversationsMaxDelay?: number | null | undefined;
|
|
1323
1403
|
} | null | undefined;
|
|
1404
|
+
viewsCount?: number | null | undefined;
|
|
1405
|
+
favoritesCount?: number | null | undefined;
|
|
1324
1406
|
}, {
|
|
1325
1407
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1326
1408
|
id: string;
|
|
@@ -1334,7 +1416,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1334
1416
|
publishedAt: Date;
|
|
1335
1417
|
conversationId?: string | null | undefined;
|
|
1336
1418
|
account?: {
|
|
1337
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1419
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1338
1420
|
userId: string | number;
|
|
1339
1421
|
name: string;
|
|
1340
1422
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1348,6 +1430,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1348
1430
|
ordersMaxDelay?: number | null | undefined;
|
|
1349
1431
|
conversationsMaxDelay?: number | null | undefined;
|
|
1350
1432
|
} | null | undefined;
|
|
1433
|
+
viewsCount?: number | null | undefined;
|
|
1434
|
+
favoritesCount?: number | null | undefined;
|
|
1351
1435
|
}>, "many">>>;
|
|
1352
1436
|
createdAt: z.ZodDate;
|
|
1353
1437
|
updatedAt: z.ZodDate;
|
|
@@ -1503,6 +1587,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1503
1587
|
data: {
|
|
1504
1588
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1505
1589
|
publishingDate?: Date | null | undefined;
|
|
1590
|
+
priceDropPayload?: {
|
|
1591
|
+
value: number;
|
|
1592
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1593
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1594
|
+
roundStep?: number | null | undefined;
|
|
1595
|
+
maxRounds?: number | null | undefined;
|
|
1596
|
+
} | null | undefined;
|
|
1506
1597
|
};
|
|
1507
1598
|
} | {
|
|
1508
1599
|
type: "SCHEDULED";
|
|
@@ -1513,6 +1604,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1513
1604
|
} | null | undefined;
|
|
1514
1605
|
accountId?: string | null | undefined;
|
|
1515
1606
|
targetDate?: Date | null | undefined;
|
|
1607
|
+
requestId?: string | null | undefined;
|
|
1516
1608
|
} | null | undefined;
|
|
1517
1609
|
platforms?: {
|
|
1518
1610
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1527,7 +1619,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1527
1619
|
publishedAt: Date;
|
|
1528
1620
|
conversationId?: string | null | undefined;
|
|
1529
1621
|
account?: {
|
|
1530
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1622
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1531
1623
|
userId: string | number;
|
|
1532
1624
|
name: string;
|
|
1533
1625
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1541,6 +1633,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1541
1633
|
ordersMaxDelay?: number | null | undefined;
|
|
1542
1634
|
conversationsMaxDelay?: number | null | undefined;
|
|
1543
1635
|
} | null | undefined;
|
|
1636
|
+
viewsCount?: number | null | undefined;
|
|
1637
|
+
favoritesCount?: number | null | undefined;
|
|
1544
1638
|
}[] | null | undefined;
|
|
1545
1639
|
}, {
|
|
1546
1640
|
id: string | number;
|
|
@@ -1694,6 +1788,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1694
1788
|
data: {
|
|
1695
1789
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1696
1790
|
publishingDate?: Date | null | undefined;
|
|
1791
|
+
priceDropPayload?: {
|
|
1792
|
+
value: number;
|
|
1793
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1794
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1795
|
+
roundStep?: number | null | undefined;
|
|
1796
|
+
maxRounds?: number | null | undefined;
|
|
1797
|
+
} | null | undefined;
|
|
1697
1798
|
};
|
|
1698
1799
|
} | {
|
|
1699
1800
|
type: "SCHEDULED";
|
|
@@ -1704,6 +1805,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1704
1805
|
} | null | undefined;
|
|
1705
1806
|
accountId?: string | null | undefined;
|
|
1706
1807
|
targetDate?: Date | null | undefined;
|
|
1808
|
+
requestId?: string | null | undefined;
|
|
1707
1809
|
} | null | undefined;
|
|
1708
1810
|
platforms?: {
|
|
1709
1811
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1718,7 +1820,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1718
1820
|
publishedAt: Date;
|
|
1719
1821
|
conversationId?: string | null | undefined;
|
|
1720
1822
|
account?: {
|
|
1721
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1823
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1722
1824
|
userId: string | number;
|
|
1723
1825
|
name: string;
|
|
1724
1826
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1732,6 +1834,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1732
1834
|
ordersMaxDelay?: number | null | undefined;
|
|
1733
1835
|
conversationsMaxDelay?: number | null | undefined;
|
|
1734
1836
|
} | null | undefined;
|
|
1837
|
+
viewsCount?: number | null | undefined;
|
|
1838
|
+
favoritesCount?: number | null | undefined;
|
|
1735
1839
|
}[] | null | undefined;
|
|
1736
1840
|
}>, "many">;
|
|
1737
1841
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1887,6 +1991,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1887
1991
|
data: {
|
|
1888
1992
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1889
1993
|
publishingDate?: Date | null | undefined;
|
|
1994
|
+
priceDropPayload?: {
|
|
1995
|
+
value: number;
|
|
1996
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1997
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1998
|
+
roundStep?: number | null | undefined;
|
|
1999
|
+
maxRounds?: number | null | undefined;
|
|
2000
|
+
} | null | undefined;
|
|
1890
2001
|
};
|
|
1891
2002
|
} | {
|
|
1892
2003
|
type: "SCHEDULED";
|
|
@@ -1897,6 +2008,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1897
2008
|
} | null | undefined;
|
|
1898
2009
|
accountId?: string | null | undefined;
|
|
1899
2010
|
targetDate?: Date | null | undefined;
|
|
2011
|
+
requestId?: string | null | undefined;
|
|
1900
2012
|
} | null | undefined;
|
|
1901
2013
|
platforms?: {
|
|
1902
2014
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1911,7 +2023,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1911
2023
|
publishedAt: Date;
|
|
1912
2024
|
conversationId?: string | null | undefined;
|
|
1913
2025
|
account?: {
|
|
1914
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2026
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1915
2027
|
userId: string | number;
|
|
1916
2028
|
name: string;
|
|
1917
2029
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1925,6 +2037,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1925
2037
|
ordersMaxDelay?: number | null | undefined;
|
|
1926
2038
|
conversationsMaxDelay?: number | null | undefined;
|
|
1927
2039
|
} | null | undefined;
|
|
2040
|
+
viewsCount?: number | null | undefined;
|
|
2041
|
+
favoritesCount?: number | null | undefined;
|
|
1928
2042
|
}[] | null | undefined;
|
|
1929
2043
|
}[];
|
|
1930
2044
|
order: {
|
|
@@ -1951,7 +2065,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1951
2065
|
publishedAt: Date;
|
|
1952
2066
|
conversationId?: string | null | undefined;
|
|
1953
2067
|
account?: {
|
|
1954
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2068
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1955
2069
|
userId: string | number;
|
|
1956
2070
|
name: string;
|
|
1957
2071
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1965,6 +2079,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1965
2079
|
ordersMaxDelay?: number | null | undefined;
|
|
1966
2080
|
conversationsMaxDelay?: number | null | undefined;
|
|
1967
2081
|
} | null | undefined;
|
|
2082
|
+
viewsCount?: number | null | undefined;
|
|
2083
|
+
favoritesCount?: number | null | undefined;
|
|
1968
2084
|
} | null | undefined;
|
|
1969
2085
|
}[] | null | undefined;
|
|
1970
2086
|
conversationId?: string | null | undefined;
|
|
@@ -2172,6 +2288,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2172
2288
|
data: {
|
|
2173
2289
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2174
2290
|
publishingDate?: Date | null | undefined;
|
|
2291
|
+
priceDropPayload?: {
|
|
2292
|
+
value: number;
|
|
2293
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2294
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2295
|
+
roundStep?: number | null | undefined;
|
|
2296
|
+
maxRounds?: number | null | undefined;
|
|
2297
|
+
} | null | undefined;
|
|
2175
2298
|
};
|
|
2176
2299
|
} | {
|
|
2177
2300
|
type: "SCHEDULED";
|
|
@@ -2182,6 +2305,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2182
2305
|
} | null | undefined;
|
|
2183
2306
|
accountId?: string | null | undefined;
|
|
2184
2307
|
targetDate?: Date | null | undefined;
|
|
2308
|
+
requestId?: string | null | undefined;
|
|
2185
2309
|
} | null | undefined;
|
|
2186
2310
|
platforms?: {
|
|
2187
2311
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2196,7 +2320,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2196
2320
|
publishedAt: Date;
|
|
2197
2321
|
conversationId?: string | null | undefined;
|
|
2198
2322
|
account?: {
|
|
2199
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2323
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2200
2324
|
userId: string | number;
|
|
2201
2325
|
name: string;
|
|
2202
2326
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2210,6 +2334,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2210
2334
|
ordersMaxDelay?: number | null | undefined;
|
|
2211
2335
|
conversationsMaxDelay?: number | null | undefined;
|
|
2212
2336
|
} | null | undefined;
|
|
2337
|
+
viewsCount?: number | null | undefined;
|
|
2338
|
+
favoritesCount?: number | null | undefined;
|
|
2213
2339
|
}[] | null | undefined;
|
|
2214
2340
|
}[];
|
|
2215
2341
|
order: {
|
|
@@ -2236,7 +2362,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2236
2362
|
publishedAt: Date;
|
|
2237
2363
|
conversationId?: string | null | undefined;
|
|
2238
2364
|
account?: {
|
|
2239
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2365
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2240
2366
|
userId: string | number;
|
|
2241
2367
|
name: string;
|
|
2242
2368
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2250,6 +2376,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2250
2376
|
ordersMaxDelay?: number | null | undefined;
|
|
2251
2377
|
conversationsMaxDelay?: number | null | undefined;
|
|
2252
2378
|
} | null | undefined;
|
|
2379
|
+
viewsCount?: number | null | undefined;
|
|
2380
|
+
favoritesCount?: number | null | undefined;
|
|
2253
2381
|
} | null | undefined;
|
|
2254
2382
|
}[] | null | undefined;
|
|
2255
2383
|
conversationId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"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"}
|