controlresell 2.8.7 → 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 +4 -5
- 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/OrderOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +183 -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 +153 -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 -0
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/User.d.ts +5 -0
- package/src/com/controlresell/models/users/User.d.ts.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.d.ts +3 -0
- package/src/com/controlresell/models/users/fields/FieldConfig.d.ts.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.js +2 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.ts +2 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +248 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
|
@@ -33,7 +33,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
33
33
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
34
34
|
name: z.ZodString;
|
|
35
35
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
36
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
37
37
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
startsAt: z.ZodDate;
|
|
39
39
|
endsAt: z.ZodDate;
|
|
@@ -48,7 +48,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
48
48
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
49
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
@@ -62,7 +62,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
62
62
|
ordersMaxDelay?: number | null | undefined;
|
|
63
63
|
conversationsMaxDelay?: number | null | undefined;
|
|
64
64
|
}, {
|
|
65
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
65
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
66
66
|
userId: string | number;
|
|
67
67
|
name: string;
|
|
68
68
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -77,6 +77,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
77
77
|
conversationsMaxDelay?: number | null | undefined;
|
|
78
78
|
}>>>;
|
|
79
79
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
81
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
80
82
|
}, "strip", z.ZodTypeAny, {
|
|
81
83
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
82
84
|
id: string;
|
|
@@ -90,7 +92,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
90
92
|
publishedAt: Date;
|
|
91
93
|
conversationId?: string | null | undefined;
|
|
92
94
|
account?: {
|
|
93
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
95
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
94
96
|
userId: string | number;
|
|
95
97
|
name: string;
|
|
96
98
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -104,6 +106,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
104
106
|
ordersMaxDelay?: number | null | undefined;
|
|
105
107
|
conversationsMaxDelay?: number | null | undefined;
|
|
106
108
|
} | null | undefined;
|
|
109
|
+
viewsCount?: number | null | undefined;
|
|
110
|
+
favoritesCount?: number | null | undefined;
|
|
107
111
|
}, {
|
|
108
112
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
109
113
|
id: string;
|
|
@@ -117,7 +121,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
117
121
|
publishedAt: Date;
|
|
118
122
|
conversationId?: string | null | undefined;
|
|
119
123
|
account?: {
|
|
120
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
124
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
121
125
|
userId: string | number;
|
|
122
126
|
name: string;
|
|
123
127
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -131,6 +135,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
131
135
|
ordersMaxDelay?: number | null | undefined;
|
|
132
136
|
conversationsMaxDelay?: number | null | undefined;
|
|
133
137
|
} | null | undefined;
|
|
138
|
+
viewsCount?: number | null | undefined;
|
|
139
|
+
favoritesCount?: number | null | undefined;
|
|
134
140
|
}>>>;
|
|
135
141
|
}, "strip", z.ZodTypeAny, {
|
|
136
142
|
orderId: string;
|
|
@@ -148,7 +154,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
148
154
|
publishedAt: Date;
|
|
149
155
|
conversationId?: string | null | undefined;
|
|
150
156
|
account?: {
|
|
151
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
157
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
152
158
|
userId: string | number;
|
|
153
159
|
name: string;
|
|
154
160
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -162,6 +168,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
162
168
|
ordersMaxDelay?: number | null | undefined;
|
|
163
169
|
conversationsMaxDelay?: number | null | undefined;
|
|
164
170
|
} | null | undefined;
|
|
171
|
+
viewsCount?: number | null | undefined;
|
|
172
|
+
favoritesCount?: number | null | undefined;
|
|
165
173
|
} | null | undefined;
|
|
166
174
|
}, {
|
|
167
175
|
orderId: string;
|
|
@@ -179,7 +187,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
179
187
|
publishedAt: Date;
|
|
180
188
|
conversationId?: string | null | undefined;
|
|
181
189
|
account?: {
|
|
182
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
190
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
183
191
|
userId: string | number;
|
|
184
192
|
name: string;
|
|
185
193
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -193,6 +201,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
193
201
|
ordersMaxDelay?: number | null | undefined;
|
|
194
202
|
conversationsMaxDelay?: number | null | undefined;
|
|
195
203
|
} | null | undefined;
|
|
204
|
+
viewsCount?: number | null | undefined;
|
|
205
|
+
favoritesCount?: number | null | undefined;
|
|
196
206
|
} | null | undefined;
|
|
197
207
|
}>, "many">>>;
|
|
198
208
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -422,7 +432,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
422
432
|
publishedAt: Date;
|
|
423
433
|
conversationId?: string | null | undefined;
|
|
424
434
|
account?: {
|
|
425
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
435
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
426
436
|
userId: string | number;
|
|
427
437
|
name: string;
|
|
428
438
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -436,6 +446,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
436
446
|
ordersMaxDelay?: number | null | undefined;
|
|
437
447
|
conversationsMaxDelay?: number | null | undefined;
|
|
438
448
|
} | null | undefined;
|
|
449
|
+
viewsCount?: number | null | undefined;
|
|
450
|
+
favoritesCount?: number | null | undefined;
|
|
439
451
|
} | null | undefined;
|
|
440
452
|
}[] | null | undefined;
|
|
441
453
|
conversationId?: string | null | undefined;
|
|
@@ -513,7 +525,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
513
525
|
publishedAt: Date;
|
|
514
526
|
conversationId?: string | null | undefined;
|
|
515
527
|
account?: {
|
|
516
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
528
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
517
529
|
userId: string | number;
|
|
518
530
|
name: string;
|
|
519
531
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -527,6 +539,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
527
539
|
ordersMaxDelay?: number | null | undefined;
|
|
528
540
|
conversationsMaxDelay?: number | null | undefined;
|
|
529
541
|
} | null | undefined;
|
|
542
|
+
viewsCount?: number | null | undefined;
|
|
543
|
+
favoritesCount?: number | null | undefined;
|
|
530
544
|
} | null | undefined;
|
|
531
545
|
}[] | null | undefined;
|
|
532
546
|
conversationId?: string | null | undefined;
|
|
@@ -585,6 +599,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
585
599
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
586
600
|
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
587
601
|
name: z.ZodString;
|
|
602
|
+
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
588
603
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
589
604
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
590
605
|
fileId: z.ZodString;
|
|
@@ -1040,12 +1055,45 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1040
1055
|
data: z.ZodObject<{
|
|
1041
1056
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1042
1057
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1058
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1059
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
1060
|
+
value: z.ZodNumber;
|
|
1061
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
1062
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1063
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1064
|
+
}, "strip", z.ZodTypeAny, {
|
|
1065
|
+
value: number;
|
|
1066
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1067
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1068
|
+
roundStep?: number | null | undefined;
|
|
1069
|
+
maxRounds?: number | null | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
value: number;
|
|
1072
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1073
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1074
|
+
roundStep?: number | null | undefined;
|
|
1075
|
+
maxRounds?: number | null | undefined;
|
|
1076
|
+
}>>>;
|
|
1043
1077
|
}, "strip", z.ZodTypeAny, {
|
|
1044
1078
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1045
1079
|
publishingDate?: Date | null | undefined;
|
|
1080
|
+
priceDropPayload?: {
|
|
1081
|
+
value: number;
|
|
1082
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1083
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1084
|
+
roundStep?: number | null | undefined;
|
|
1085
|
+
maxRounds?: number | null | undefined;
|
|
1086
|
+
} | null | undefined;
|
|
1046
1087
|
}, {
|
|
1047
1088
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1048
1089
|
publishingDate?: Date | null | undefined;
|
|
1090
|
+
priceDropPayload?: {
|
|
1091
|
+
value: number;
|
|
1092
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1093
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1094
|
+
roundStep?: number | null | undefined;
|
|
1095
|
+
maxRounds?: number | null | undefined;
|
|
1096
|
+
} | null | undefined;
|
|
1049
1097
|
}>;
|
|
1050
1098
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1051
1099
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1053,12 +1101,26 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1053
1101
|
data: {
|
|
1054
1102
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1055
1103
|
publishingDate?: Date | null | undefined;
|
|
1104
|
+
priceDropPayload?: {
|
|
1105
|
+
value: number;
|
|
1106
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1107
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1108
|
+
roundStep?: number | null | undefined;
|
|
1109
|
+
maxRounds?: number | null | undefined;
|
|
1110
|
+
} | null | undefined;
|
|
1056
1111
|
};
|
|
1057
1112
|
}, {
|
|
1058
1113
|
type: "REPUBLISHING";
|
|
1059
1114
|
data: {
|
|
1060
1115
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1061
1116
|
publishingDate?: Date | null | undefined;
|
|
1117
|
+
priceDropPayload?: {
|
|
1118
|
+
value: number;
|
|
1119
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1120
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1121
|
+
roundStep?: number | null | undefined;
|
|
1122
|
+
maxRounds?: number | null | undefined;
|
|
1123
|
+
} | null | undefined;
|
|
1062
1124
|
};
|
|
1063
1125
|
}>, z.ZodObject<{
|
|
1064
1126
|
data: z.ZodObject<{
|
|
@@ -1088,6 +1150,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1088
1150
|
createdAt: z.ZodDate;
|
|
1089
1151
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1090
1152
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1153
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1091
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1092
1155
|
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";
|
|
1093
1156
|
id: string;
|
|
@@ -1151,6 +1214,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1151
1214
|
data: {
|
|
1152
1215
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1153
1216
|
publishingDate?: Date | null | undefined;
|
|
1217
|
+
priceDropPayload?: {
|
|
1218
|
+
value: number;
|
|
1219
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1220
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1221
|
+
roundStep?: number | null | undefined;
|
|
1222
|
+
maxRounds?: number | null | undefined;
|
|
1223
|
+
} | null | undefined;
|
|
1154
1224
|
};
|
|
1155
1225
|
} | {
|
|
1156
1226
|
type: "SCHEDULED";
|
|
@@ -1161,6 +1231,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1161
1231
|
} | null | undefined;
|
|
1162
1232
|
accountId?: string | null | undefined;
|
|
1163
1233
|
targetDate?: Date | null | undefined;
|
|
1234
|
+
requestId?: string | null | undefined;
|
|
1164
1235
|
}, {
|
|
1165
1236
|
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";
|
|
1166
1237
|
id: string;
|
|
@@ -1224,6 +1295,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1224
1295
|
data: {
|
|
1225
1296
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1226
1297
|
publishingDate?: Date | null | undefined;
|
|
1298
|
+
priceDropPayload?: {
|
|
1299
|
+
value: number;
|
|
1300
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1301
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1302
|
+
roundStep?: number | null | undefined;
|
|
1303
|
+
maxRounds?: number | null | undefined;
|
|
1304
|
+
} | null | undefined;
|
|
1227
1305
|
};
|
|
1228
1306
|
} | {
|
|
1229
1307
|
type: "SCHEDULED";
|
|
@@ -1234,6 +1312,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1234
1312
|
} | null | undefined;
|
|
1235
1313
|
accountId?: string | null | undefined;
|
|
1236
1314
|
targetDate?: Date | null | undefined;
|
|
1315
|
+
requestId?: string | null | undefined;
|
|
1237
1316
|
}>>>;
|
|
1238
1317
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1239
1318
|
id: z.ZodString;
|
|
@@ -1252,7 +1331,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1252
1331
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1253
1332
|
name: z.ZodString;
|
|
1254
1333
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1255
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
1334
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
1256
1335
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1257
1336
|
startsAt: z.ZodDate;
|
|
1258
1337
|
endsAt: z.ZodDate;
|
|
@@ -1267,7 +1346,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1267
1346
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1268
1347
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1269
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1270
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1349
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1271
1350
|
userId: string | number;
|
|
1272
1351
|
name: string;
|
|
1273
1352
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1281,7 +1360,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1281
1360
|
ordersMaxDelay?: number | null | undefined;
|
|
1282
1361
|
conversationsMaxDelay?: number | null | undefined;
|
|
1283
1362
|
}, {
|
|
1284
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1363
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1285
1364
|
userId: string | number;
|
|
1286
1365
|
name: string;
|
|
1287
1366
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1296,6 +1375,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1296
1375
|
conversationsMaxDelay?: number | null | undefined;
|
|
1297
1376
|
}>>>;
|
|
1298
1377
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1378
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1379
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1299
1380
|
}, "strip", z.ZodTypeAny, {
|
|
1300
1381
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1301
1382
|
id: string;
|
|
@@ -1309,7 +1390,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1309
1390
|
publishedAt: Date;
|
|
1310
1391
|
conversationId?: string | null | undefined;
|
|
1311
1392
|
account?: {
|
|
1312
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1393
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1313
1394
|
userId: string | number;
|
|
1314
1395
|
name: string;
|
|
1315
1396
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1323,6 +1404,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1323
1404
|
ordersMaxDelay?: number | null | undefined;
|
|
1324
1405
|
conversationsMaxDelay?: number | null | undefined;
|
|
1325
1406
|
} | null | undefined;
|
|
1407
|
+
viewsCount?: number | null | undefined;
|
|
1408
|
+
favoritesCount?: number | null | undefined;
|
|
1326
1409
|
}, {
|
|
1327
1410
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1328
1411
|
id: string;
|
|
@@ -1336,7 +1419,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1336
1419
|
publishedAt: Date;
|
|
1337
1420
|
conversationId?: string | null | undefined;
|
|
1338
1421
|
account?: {
|
|
1339
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1422
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1340
1423
|
userId: string | number;
|
|
1341
1424
|
name: string;
|
|
1342
1425
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1350,6 +1433,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1350
1433
|
ordersMaxDelay?: number | null | undefined;
|
|
1351
1434
|
conversationsMaxDelay?: number | null | undefined;
|
|
1352
1435
|
} | null | undefined;
|
|
1436
|
+
viewsCount?: number | null | undefined;
|
|
1437
|
+
favoritesCount?: number | null | undefined;
|
|
1353
1438
|
}>, "many">>>;
|
|
1354
1439
|
createdAt: z.ZodDate;
|
|
1355
1440
|
updatedAt: z.ZodDate;
|
|
@@ -1399,6 +1484,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1399
1484
|
estimatedPrice?: number | null | undefined;
|
|
1400
1485
|
purchaseDate?: Date | null | undefined;
|
|
1401
1486
|
sellingDate?: Date | null | undefined;
|
|
1487
|
+
sku?: string | null | undefined;
|
|
1402
1488
|
files?: {
|
|
1403
1489
|
fileId: string;
|
|
1404
1490
|
itemId: string | number;
|
|
@@ -1504,6 +1590,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1504
1590
|
data: {
|
|
1505
1591
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1506
1592
|
publishingDate?: Date | null | undefined;
|
|
1593
|
+
priceDropPayload?: {
|
|
1594
|
+
value: number;
|
|
1595
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1596
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1597
|
+
roundStep?: number | null | undefined;
|
|
1598
|
+
maxRounds?: number | null | undefined;
|
|
1599
|
+
} | null | undefined;
|
|
1507
1600
|
};
|
|
1508
1601
|
} | {
|
|
1509
1602
|
type: "SCHEDULED";
|
|
@@ -1514,6 +1607,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1514
1607
|
} | null | undefined;
|
|
1515
1608
|
accountId?: string | null | undefined;
|
|
1516
1609
|
targetDate?: Date | null | undefined;
|
|
1610
|
+
requestId?: string | null | undefined;
|
|
1517
1611
|
} | null | undefined;
|
|
1518
1612
|
platforms?: {
|
|
1519
1613
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1528,7 +1622,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1528
1622
|
publishedAt: Date;
|
|
1529
1623
|
conversationId?: string | null | undefined;
|
|
1530
1624
|
account?: {
|
|
1531
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1625
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1532
1626
|
userId: string | number;
|
|
1533
1627
|
name: string;
|
|
1534
1628
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1542,6 +1636,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1542
1636
|
ordersMaxDelay?: number | null | undefined;
|
|
1543
1637
|
conversationsMaxDelay?: number | null | undefined;
|
|
1544
1638
|
} | null | undefined;
|
|
1639
|
+
viewsCount?: number | null | undefined;
|
|
1640
|
+
favoritesCount?: number | null | undefined;
|
|
1545
1641
|
}[] | null | undefined;
|
|
1546
1642
|
}, {
|
|
1547
1643
|
id: string | number;
|
|
@@ -1589,6 +1685,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1589
1685
|
estimatedPrice?: number | null | undefined;
|
|
1590
1686
|
purchaseDate?: Date | null | undefined;
|
|
1591
1687
|
sellingDate?: Date | null | undefined;
|
|
1688
|
+
sku?: string | null | undefined;
|
|
1592
1689
|
files?: {
|
|
1593
1690
|
fileId: string;
|
|
1594
1691
|
itemId: string | number;
|
|
@@ -1694,6 +1791,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1694
1791
|
data: {
|
|
1695
1792
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1696
1793
|
publishingDate?: Date | null | undefined;
|
|
1794
|
+
priceDropPayload?: {
|
|
1795
|
+
value: number;
|
|
1796
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1797
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1798
|
+
roundStep?: number | null | undefined;
|
|
1799
|
+
maxRounds?: number | null | undefined;
|
|
1800
|
+
} | null | undefined;
|
|
1697
1801
|
};
|
|
1698
1802
|
} | {
|
|
1699
1803
|
type: "SCHEDULED";
|
|
@@ -1704,6 +1808,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1704
1808
|
} | null | undefined;
|
|
1705
1809
|
accountId?: string | null | undefined;
|
|
1706
1810
|
targetDate?: Date | null | undefined;
|
|
1811
|
+
requestId?: string | null | undefined;
|
|
1707
1812
|
} | null | undefined;
|
|
1708
1813
|
platforms?: {
|
|
1709
1814
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1718,7 +1823,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1718
1823
|
publishedAt: Date;
|
|
1719
1824
|
conversationId?: string | null | undefined;
|
|
1720
1825
|
account?: {
|
|
1721
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1826
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1722
1827
|
userId: string | number;
|
|
1723
1828
|
name: string;
|
|
1724
1829
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1732,6 +1837,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1732
1837
|
ordersMaxDelay?: number | null | undefined;
|
|
1733
1838
|
conversationsMaxDelay?: number | null | undefined;
|
|
1734
1839
|
} | null | undefined;
|
|
1840
|
+
viewsCount?: number | null | undefined;
|
|
1841
|
+
favoritesCount?: number | null | undefined;
|
|
1735
1842
|
}[] | null | undefined;
|
|
1736
1843
|
}>, "many">;
|
|
1737
1844
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1781,6 +1888,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1781
1888
|
estimatedPrice?: number | null | undefined;
|
|
1782
1889
|
purchaseDate?: Date | null | undefined;
|
|
1783
1890
|
sellingDate?: Date | null | undefined;
|
|
1891
|
+
sku?: string | null | undefined;
|
|
1784
1892
|
files?: {
|
|
1785
1893
|
fileId: string;
|
|
1786
1894
|
itemId: string | number;
|
|
@@ -1886,6 +1994,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1886
1994
|
data: {
|
|
1887
1995
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1888
1996
|
publishingDate?: Date | null | undefined;
|
|
1997
|
+
priceDropPayload?: {
|
|
1998
|
+
value: number;
|
|
1999
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2000
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2001
|
+
roundStep?: number | null | undefined;
|
|
2002
|
+
maxRounds?: number | null | undefined;
|
|
2003
|
+
} | null | undefined;
|
|
1889
2004
|
};
|
|
1890
2005
|
} | {
|
|
1891
2006
|
type: "SCHEDULED";
|
|
@@ -1896,6 +2011,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1896
2011
|
} | null | undefined;
|
|
1897
2012
|
accountId?: string | null | undefined;
|
|
1898
2013
|
targetDate?: Date | null | undefined;
|
|
2014
|
+
requestId?: string | null | undefined;
|
|
1899
2015
|
} | null | undefined;
|
|
1900
2016
|
platforms?: {
|
|
1901
2017
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1910,7 +2026,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1910
2026
|
publishedAt: Date;
|
|
1911
2027
|
conversationId?: string | null | undefined;
|
|
1912
2028
|
account?: {
|
|
1913
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2029
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1914
2030
|
userId: string | number;
|
|
1915
2031
|
name: string;
|
|
1916
2032
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1924,6 +2040,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1924
2040
|
ordersMaxDelay?: number | null | undefined;
|
|
1925
2041
|
conversationsMaxDelay?: number | null | undefined;
|
|
1926
2042
|
} | null | undefined;
|
|
2043
|
+
viewsCount?: number | null | undefined;
|
|
2044
|
+
favoritesCount?: number | null | undefined;
|
|
1927
2045
|
}[] | null | undefined;
|
|
1928
2046
|
}[];
|
|
1929
2047
|
order: {
|
|
@@ -1950,7 +2068,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1950
2068
|
publishedAt: Date;
|
|
1951
2069
|
conversationId?: string | null | undefined;
|
|
1952
2070
|
account?: {
|
|
1953
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2071
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1954
2072
|
userId: string | number;
|
|
1955
2073
|
name: string;
|
|
1956
2074
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1964,6 +2082,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
1964
2082
|
ordersMaxDelay?: number | null | undefined;
|
|
1965
2083
|
conversationsMaxDelay?: number | null | undefined;
|
|
1966
2084
|
} | null | undefined;
|
|
2085
|
+
viewsCount?: number | null | undefined;
|
|
2086
|
+
favoritesCount?: number | null | undefined;
|
|
1967
2087
|
} | null | undefined;
|
|
1968
2088
|
}[] | null | undefined;
|
|
1969
2089
|
conversationId?: string | null | undefined;
|
|
@@ -2065,6 +2185,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2065
2185
|
estimatedPrice?: number | null | undefined;
|
|
2066
2186
|
purchaseDate?: Date | null | undefined;
|
|
2067
2187
|
sellingDate?: Date | null | undefined;
|
|
2188
|
+
sku?: string | null | undefined;
|
|
2068
2189
|
files?: {
|
|
2069
2190
|
fileId: string;
|
|
2070
2191
|
itemId: string | number;
|
|
@@ -2170,6 +2291,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2170
2291
|
data: {
|
|
2171
2292
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2172
2293
|
publishingDate?: Date | null | undefined;
|
|
2294
|
+
priceDropPayload?: {
|
|
2295
|
+
value: number;
|
|
2296
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2297
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2298
|
+
roundStep?: number | null | undefined;
|
|
2299
|
+
maxRounds?: number | null | undefined;
|
|
2300
|
+
} | null | undefined;
|
|
2173
2301
|
};
|
|
2174
2302
|
} | {
|
|
2175
2303
|
type: "SCHEDULED";
|
|
@@ -2180,6 +2308,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2180
2308
|
} | null | undefined;
|
|
2181
2309
|
accountId?: string | null | undefined;
|
|
2182
2310
|
targetDate?: Date | null | undefined;
|
|
2311
|
+
requestId?: string | null | undefined;
|
|
2183
2312
|
} | null | undefined;
|
|
2184
2313
|
platforms?: {
|
|
2185
2314
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2194,7 +2323,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2194
2323
|
publishedAt: Date;
|
|
2195
2324
|
conversationId?: string | null | undefined;
|
|
2196
2325
|
account?: {
|
|
2197
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2326
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2198
2327
|
userId: string | number;
|
|
2199
2328
|
name: string;
|
|
2200
2329
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2208,6 +2337,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2208
2337
|
ordersMaxDelay?: number | null | undefined;
|
|
2209
2338
|
conversationsMaxDelay?: number | null | undefined;
|
|
2210
2339
|
} | null | undefined;
|
|
2340
|
+
viewsCount?: number | null | undefined;
|
|
2341
|
+
favoritesCount?: number | null | undefined;
|
|
2211
2342
|
}[] | null | undefined;
|
|
2212
2343
|
}[];
|
|
2213
2344
|
order: {
|
|
@@ -2234,7 +2365,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2234
2365
|
publishedAt: Date;
|
|
2235
2366
|
conversationId?: string | null | undefined;
|
|
2236
2367
|
account?: {
|
|
2237
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2368
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2238
2369
|
userId: string | number;
|
|
2239
2370
|
name: string;
|
|
2240
2371
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2248,6 +2379,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2248
2379
|
ordersMaxDelay?: number | null | undefined;
|
|
2249
2380
|
conversationsMaxDelay?: number | null | undefined;
|
|
2250
2381
|
} | null | undefined;
|
|
2382
|
+
viewsCount?: number | null | undefined;
|
|
2383
|
+
favoritesCount?: number | null | undefined;
|
|
2251
2384
|
} | null | undefined;
|
|
2252
2385
|
}[] | null | undefined;
|
|
2253
2386
|
conversationId?: string | null | undefined;
|
|
@@ -2354,6 +2487,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2354
2487
|
estimatedPrice?: number | null | undefined;
|
|
2355
2488
|
purchaseDate?: Date | null | undefined;
|
|
2356
2489
|
sellingDate?: Date | null | undefined;
|
|
2490
|
+
sku?: string | null | undefined;
|
|
2357
2491
|
files?: {
|
|
2358
2492
|
fileId: string;
|
|
2359
2493
|
itemId: string | number;
|
|
@@ -2459,6 +2593,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2459
2593
|
data: {
|
|
2460
2594
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2461
2595
|
publishingDate?: Date | null | undefined;
|
|
2596
|
+
priceDropPayload?: {
|
|
2597
|
+
value: number;
|
|
2598
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2599
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2600
|
+
roundStep?: number | null | undefined;
|
|
2601
|
+
maxRounds?: number | null | undefined;
|
|
2602
|
+
} | null | undefined;
|
|
2462
2603
|
};
|
|
2463
2604
|
} | {
|
|
2464
2605
|
type: "SCHEDULED";
|
|
@@ -2469,6 +2610,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2469
2610
|
} | null | undefined;
|
|
2470
2611
|
accountId?: string | null | undefined;
|
|
2471
2612
|
targetDate?: Date | null | undefined;
|
|
2613
|
+
requestId?: string | null | undefined;
|
|
2472
2614
|
} | null | undefined;
|
|
2473
2615
|
platforms?: {
|
|
2474
2616
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2483,7 +2625,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2483
2625
|
publishedAt: Date;
|
|
2484
2626
|
conversationId?: string | null | undefined;
|
|
2485
2627
|
account?: {
|
|
2486
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2628
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2487
2629
|
userId: string | number;
|
|
2488
2630
|
name: string;
|
|
2489
2631
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2497,6 +2639,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2497
2639
|
ordersMaxDelay?: number | null | undefined;
|
|
2498
2640
|
conversationsMaxDelay?: number | null | undefined;
|
|
2499
2641
|
} | null | undefined;
|
|
2642
|
+
viewsCount?: number | null | undefined;
|
|
2643
|
+
favoritesCount?: number | null | undefined;
|
|
2500
2644
|
}[] | null | undefined;
|
|
2501
2645
|
}[];
|
|
2502
2646
|
order: {
|
|
@@ -2523,7 +2667,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2523
2667
|
publishedAt: Date;
|
|
2524
2668
|
conversationId?: string | null | undefined;
|
|
2525
2669
|
account?: {
|
|
2526
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2670
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2527
2671
|
userId: string | number;
|
|
2528
2672
|
name: string;
|
|
2529
2673
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2537,6 +2681,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2537
2681
|
ordersMaxDelay?: number | null | undefined;
|
|
2538
2682
|
conversationsMaxDelay?: number | null | undefined;
|
|
2539
2683
|
} | null | undefined;
|
|
2684
|
+
viewsCount?: number | null | undefined;
|
|
2685
|
+
favoritesCount?: number | null | undefined;
|
|
2540
2686
|
} | null | undefined;
|
|
2541
2687
|
}[] | null | undefined;
|
|
2542
2688
|
conversationId?: string | null | undefined;
|
|
@@ -2644,6 +2790,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2644
2790
|
estimatedPrice?: number | null | undefined;
|
|
2645
2791
|
purchaseDate?: Date | null | undefined;
|
|
2646
2792
|
sellingDate?: Date | null | undefined;
|
|
2793
|
+
sku?: string | null | undefined;
|
|
2647
2794
|
files?: {
|
|
2648
2795
|
fileId: string;
|
|
2649
2796
|
itemId: string | number;
|
|
@@ -2749,6 +2896,13 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2749
2896
|
data: {
|
|
2750
2897
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2751
2898
|
publishingDate?: Date | null | undefined;
|
|
2899
|
+
priceDropPayload?: {
|
|
2900
|
+
value: number;
|
|
2901
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2902
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2903
|
+
roundStep?: number | null | undefined;
|
|
2904
|
+
maxRounds?: number | null | undefined;
|
|
2905
|
+
} | null | undefined;
|
|
2752
2906
|
};
|
|
2753
2907
|
} | {
|
|
2754
2908
|
type: "SCHEDULED";
|
|
@@ -2759,6 +2913,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2759
2913
|
} | null | undefined;
|
|
2760
2914
|
accountId?: string | null | undefined;
|
|
2761
2915
|
targetDate?: Date | null | undefined;
|
|
2916
|
+
requestId?: string | null | undefined;
|
|
2762
2917
|
} | null | undefined;
|
|
2763
2918
|
platforms?: {
|
|
2764
2919
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2773,7 +2928,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2773
2928
|
publishedAt: Date;
|
|
2774
2929
|
conversationId?: string | null | undefined;
|
|
2775
2930
|
account?: {
|
|
2776
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2931
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2777
2932
|
userId: string | number;
|
|
2778
2933
|
name: string;
|
|
2779
2934
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2787,6 +2942,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2787
2942
|
ordersMaxDelay?: number | null | undefined;
|
|
2788
2943
|
conversationsMaxDelay?: number | null | undefined;
|
|
2789
2944
|
} | null | undefined;
|
|
2945
|
+
viewsCount?: number | null | undefined;
|
|
2946
|
+
favoritesCount?: number | null | undefined;
|
|
2790
2947
|
}[] | null | undefined;
|
|
2791
2948
|
}[];
|
|
2792
2949
|
order: {
|
|
@@ -2813,7 +2970,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2813
2970
|
publishedAt: Date;
|
|
2814
2971
|
conversationId?: string | null | undefined;
|
|
2815
2972
|
account?: {
|
|
2816
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2973
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2817
2974
|
userId: string | number;
|
|
2818
2975
|
name: string;
|
|
2819
2976
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2827,6 +2984,8 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2827
2984
|
ordersMaxDelay?: number | null | undefined;
|
|
2828
2985
|
conversationsMaxDelay?: number | null | undefined;
|
|
2829
2986
|
} | null | undefined;
|
|
2987
|
+
viewsCount?: number | null | undefined;
|
|
2988
|
+
favoritesCount?: number | null | undefined;
|
|
2830
2989
|
} | null | undefined;
|
|
2831
2990
|
}[] | null | undefined;
|
|
2832
2991
|
conversationId?: string | null | undefined;
|