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.
Files changed (27) hide show
  1. package/package.json +4 -5
  2. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
  3. package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
  5. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
  6. package/src/com/controlresell/models/platforms/orders/Order.d.ts +23 -9
  7. package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
  8. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  9. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +183 -24
  10. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  11. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +17 -7
  12. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
  13. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +153 -20
  14. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  15. package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +5 -0
  16. package/src/com/controlresell/models/users/UpdateUserPayload.d.ts.map +1 -1
  17. package/src/com/controlresell/models/users/User.d.ts +5 -0
  18. package/src/com/controlresell/models/users/User.d.ts.map +1 -1
  19. package/src/com/controlresell/models/users/fields/FieldConfig.d.ts +3 -0
  20. package/src/com/controlresell/models/users/fields/FieldConfig.d.ts.map +1 -1
  21. package/src/com/controlresell/models/users/fields/FieldConfig.js +2 -1
  22. package/src/com/controlresell/models/users/fields/FieldConfig.js.map +1 -1
  23. package/src/com/controlresell/models/users/fields/FieldConfig.ts +2 -1
  24. package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
  25. package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
  26. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +248 -18
  27. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
@@ -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;
@@ -582,6 +596,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
582
596
  id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
583
597
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
584
598
  name: z.ZodString;
599
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
585
600
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
601
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
587
602
  fileId: z.ZodString;
@@ -1037,12 +1052,45 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1037
1052
  data: z.ZodObject<{
1038
1053
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1039
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
+ }>>>;
1040
1074
  }, "strip", z.ZodTypeAny, {
1041
1075
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1042
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;
1043
1084
  }, {
1044
1085
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1045
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;
1046
1094
  }>;
1047
1095
  type: z.ZodLiteral<"REPUBLISHING">;
1048
1096
  }, "strip", z.ZodTypeAny, {
@@ -1050,12 +1098,26 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1050
1098
  data: {
1051
1099
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1052
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;
1053
1108
  };
1054
1109
  }, {
1055
1110
  type: "REPUBLISHING";
1056
1111
  data: {
1057
1112
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1058
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;
1059
1121
  };
1060
1122
  }>, z.ZodObject<{
1061
1123
  data: z.ZodObject<{
@@ -1085,6 +1147,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1085
1147
  createdAt: z.ZodDate;
1086
1148
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1087
1149
  accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1150
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
1151
  }, "strip", z.ZodTypeAny, {
1089
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";
1090
1153
  id: string;
@@ -1148,6 +1211,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1148
1211
  data: {
1149
1212
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1150
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;
1151
1221
  };
1152
1222
  } | {
1153
1223
  type: "SCHEDULED";
@@ -1158,6 +1228,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1158
1228
  } | null | undefined;
1159
1229
  accountId?: string | null | undefined;
1160
1230
  targetDate?: Date | null | undefined;
1231
+ requestId?: string | null | undefined;
1161
1232
  }, {
1162
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";
1163
1234
  id: string;
@@ -1221,6 +1292,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1221
1292
  data: {
1222
1293
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1223
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;
1224
1302
  };
1225
1303
  } | {
1226
1304
  type: "SCHEDULED";
@@ -1231,6 +1309,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1231
1309
  } | null | undefined;
1232
1310
  accountId?: string | null | undefined;
1233
1311
  targetDate?: Date | null | undefined;
1312
+ requestId?: string | null | undefined;
1234
1313
  }>>>;
1235
1314
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1236
1315
  id: z.ZodString;
@@ -1249,7 +1328,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1249
1328
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1250
1329
  name: z.ZodString;
1251
1330
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1252
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
1331
+ status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
1253
1332
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1254
1333
  startsAt: z.ZodDate;
1255
1334
  endsAt: z.ZodDate;
@@ -1264,7 +1343,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1264
1343
  ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1265
1344
  conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1266
1345
  }, "strip", z.ZodTypeAny, {
1267
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1346
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1268
1347
  userId: string | number;
1269
1348
  name: string;
1270
1349
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1278,7 +1357,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1278
1357
  ordersMaxDelay?: number | null | undefined;
1279
1358
  conversationsMaxDelay?: number | null | undefined;
1280
1359
  }, {
1281
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1360
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1282
1361
  userId: string | number;
1283
1362
  name: string;
1284
1363
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1293,6 +1372,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1293
1372
  conversationsMaxDelay?: number | null | undefined;
1294
1373
  }>>>;
1295
1374
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1375
+ viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1376
+ favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1296
1377
  }, "strip", z.ZodTypeAny, {
1297
1378
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
1298
1379
  id: string;
@@ -1306,7 +1387,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1306
1387
  publishedAt: Date;
1307
1388
  conversationId?: string | null | undefined;
1308
1389
  account?: {
1309
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1390
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1310
1391
  userId: string | number;
1311
1392
  name: string;
1312
1393
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1320,6 +1401,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1320
1401
  ordersMaxDelay?: number | null | undefined;
1321
1402
  conversationsMaxDelay?: number | null | undefined;
1322
1403
  } | null | undefined;
1404
+ viewsCount?: number | null | undefined;
1405
+ favoritesCount?: number | null | undefined;
1323
1406
  }, {
1324
1407
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
1325
1408
  id: string;
@@ -1333,7 +1416,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1333
1416
  publishedAt: Date;
1334
1417
  conversationId?: string | null | undefined;
1335
1418
  account?: {
1336
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1419
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1337
1420
  userId: string | number;
1338
1421
  name: string;
1339
1422
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1347,6 +1430,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1347
1430
  ordersMaxDelay?: number | null | undefined;
1348
1431
  conversationsMaxDelay?: number | null | undefined;
1349
1432
  } | null | undefined;
1433
+ viewsCount?: number | null | undefined;
1434
+ favoritesCount?: number | null | undefined;
1350
1435
  }>, "many">>>;
1351
1436
  createdAt: z.ZodDate;
1352
1437
  updatedAt: z.ZodDate;
@@ -1396,6 +1481,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1396
1481
  estimatedPrice?: number | null | undefined;
1397
1482
  purchaseDate?: Date | null | undefined;
1398
1483
  sellingDate?: Date | null | undefined;
1484
+ sku?: string | null | undefined;
1399
1485
  files?: {
1400
1486
  fileId: string;
1401
1487
  itemId: string | number;
@@ -1501,6 +1587,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1501
1587
  data: {
1502
1588
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1503
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;
1504
1597
  };
1505
1598
  } | {
1506
1599
  type: "SCHEDULED";
@@ -1511,6 +1604,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1511
1604
  } | null | undefined;
1512
1605
  accountId?: string | null | undefined;
1513
1606
  targetDate?: Date | null | undefined;
1607
+ requestId?: string | null | undefined;
1514
1608
  } | null | undefined;
1515
1609
  platforms?: {
1516
1610
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -1525,7 +1619,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1525
1619
  publishedAt: Date;
1526
1620
  conversationId?: string | null | undefined;
1527
1621
  account?: {
1528
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1622
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1529
1623
  userId: string | number;
1530
1624
  name: string;
1531
1625
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1539,6 +1633,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1539
1633
  ordersMaxDelay?: number | null | undefined;
1540
1634
  conversationsMaxDelay?: number | null | undefined;
1541
1635
  } | null | undefined;
1636
+ viewsCount?: number | null | undefined;
1637
+ favoritesCount?: number | null | undefined;
1542
1638
  }[] | null | undefined;
1543
1639
  }, {
1544
1640
  id: string | number;
@@ -1586,6 +1682,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1586
1682
  estimatedPrice?: number | null | undefined;
1587
1683
  purchaseDate?: Date | null | undefined;
1588
1684
  sellingDate?: Date | null | undefined;
1685
+ sku?: string | null | undefined;
1589
1686
  files?: {
1590
1687
  fileId: string;
1591
1688
  itemId: string | number;
@@ -1691,6 +1788,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1691
1788
  data: {
1692
1789
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1693
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;
1694
1798
  };
1695
1799
  } | {
1696
1800
  type: "SCHEDULED";
@@ -1701,6 +1805,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1701
1805
  } | null | undefined;
1702
1806
  accountId?: string | null | undefined;
1703
1807
  targetDate?: Date | null | undefined;
1808
+ requestId?: string | null | undefined;
1704
1809
  } | null | undefined;
1705
1810
  platforms?: {
1706
1811
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -1715,7 +1820,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1715
1820
  publishedAt: Date;
1716
1821
  conversationId?: string | null | undefined;
1717
1822
  account?: {
1718
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1823
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1719
1824
  userId: string | number;
1720
1825
  name: string;
1721
1826
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1729,6 +1834,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1729
1834
  ordersMaxDelay?: number | null | undefined;
1730
1835
  conversationsMaxDelay?: number | null | undefined;
1731
1836
  } | null | undefined;
1837
+ viewsCount?: number | null | undefined;
1838
+ favoritesCount?: number | null | undefined;
1732
1839
  }[] | null | undefined;
1733
1840
  }>, "many">;
1734
1841
  }, "strip", z.ZodTypeAny, {
@@ -1778,6 +1885,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1778
1885
  estimatedPrice?: number | null | undefined;
1779
1886
  purchaseDate?: Date | null | undefined;
1780
1887
  sellingDate?: Date | null | undefined;
1888
+ sku?: string | null | undefined;
1781
1889
  files?: {
1782
1890
  fileId: string;
1783
1891
  itemId: string | number;
@@ -1883,6 +1991,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1883
1991
  data: {
1884
1992
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1885
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;
1886
2001
  };
1887
2002
  } | {
1888
2003
  type: "SCHEDULED";
@@ -1893,6 +2008,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1893
2008
  } | null | undefined;
1894
2009
  accountId?: string | null | undefined;
1895
2010
  targetDate?: Date | null | undefined;
2011
+ requestId?: string | null | undefined;
1896
2012
  } | null | undefined;
1897
2013
  platforms?: {
1898
2014
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -1907,7 +2023,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1907
2023
  publishedAt: Date;
1908
2024
  conversationId?: string | null | undefined;
1909
2025
  account?: {
1910
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2026
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1911
2027
  userId: string | number;
1912
2028
  name: string;
1913
2029
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1921,6 +2037,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1921
2037
  ordersMaxDelay?: number | null | undefined;
1922
2038
  conversationsMaxDelay?: number | null | undefined;
1923
2039
  } | null | undefined;
2040
+ viewsCount?: number | null | undefined;
2041
+ favoritesCount?: number | null | undefined;
1924
2042
  }[] | null | undefined;
1925
2043
  }[];
1926
2044
  order: {
@@ -1947,7 +2065,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1947
2065
  publishedAt: Date;
1948
2066
  conversationId?: string | null | undefined;
1949
2067
  account?: {
1950
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2068
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1951
2069
  userId: string | number;
1952
2070
  name: string;
1953
2071
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1961,6 +2079,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1961
2079
  ordersMaxDelay?: number | null | undefined;
1962
2080
  conversationsMaxDelay?: number | null | undefined;
1963
2081
  } | null | undefined;
2082
+ viewsCount?: number | null | undefined;
2083
+ favoritesCount?: number | null | undefined;
1964
2084
  } | null | undefined;
1965
2085
  }[] | null | undefined;
1966
2086
  conversationId?: string | null | undefined;
@@ -2062,6 +2182,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2062
2182
  estimatedPrice?: number | null | undefined;
2063
2183
  purchaseDate?: Date | null | undefined;
2064
2184
  sellingDate?: Date | null | undefined;
2185
+ sku?: string | null | undefined;
2065
2186
  files?: {
2066
2187
  fileId: string;
2067
2188
  itemId: string | number;
@@ -2167,6 +2288,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2167
2288
  data: {
2168
2289
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2169
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;
2170
2298
  };
2171
2299
  } | {
2172
2300
  type: "SCHEDULED";
@@ -2177,6 +2305,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2177
2305
  } | null | undefined;
2178
2306
  accountId?: string | null | undefined;
2179
2307
  targetDate?: Date | null | undefined;
2308
+ requestId?: string | null | undefined;
2180
2309
  } | null | undefined;
2181
2310
  platforms?: {
2182
2311
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -2191,7 +2320,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2191
2320
  publishedAt: Date;
2192
2321
  conversationId?: string | null | undefined;
2193
2322
  account?: {
2194
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2323
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
2195
2324
  userId: string | number;
2196
2325
  name: string;
2197
2326
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -2205,6 +2334,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2205
2334
  ordersMaxDelay?: number | null | undefined;
2206
2335
  conversationsMaxDelay?: number | null | undefined;
2207
2336
  } | null | undefined;
2337
+ viewsCount?: number | null | undefined;
2338
+ favoritesCount?: number | null | undefined;
2208
2339
  }[] | null | undefined;
2209
2340
  }[];
2210
2341
  order: {
@@ -2231,7 +2362,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2231
2362
  publishedAt: Date;
2232
2363
  conversationId?: string | null | undefined;
2233
2364
  account?: {
2234
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2365
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
2235
2366
  userId: string | number;
2236
2367
  name: string;
2237
2368
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -2245,6 +2376,8 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2245
2376
  ordersMaxDelay?: number | null | undefined;
2246
2377
  conversationsMaxDelay?: number | null | undefined;
2247
2378
  } | null | undefined;
2379
+ viewsCount?: number | null | undefined;
2380
+ favoritesCount?: number | null | undefined;
2248
2381
  } | null | undefined;
2249
2382
  }[] | null | undefined;
2250
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -11,11 +11,14 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
11
11
  fieldConfigs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
12
  id: z.ZodString;
13
13
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
15
  }, "strip", z.ZodTypeAny, {
15
16
  id: string;
17
+ order?: number | null | undefined;
16
18
  defaultValue?: string | null | undefined;
17
19
  }, {
18
20
  id: string;
21
+ order?: number | null | undefined;
19
22
  defaultValue?: string | null | undefined;
20
23
  }>, "many">>>;
21
24
  }, "strip", z.ZodTypeAny, {
@@ -29,6 +32,7 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
29
32
  countryDialCode?: string | null | undefined;
30
33
  fieldConfigs?: {
31
34
  id: string;
35
+ order?: number | null | undefined;
32
36
  defaultValue?: string | null | undefined;
33
37
  }[] | null | undefined;
34
38
  }, {
@@ -42,6 +46,7 @@ export declare const UpdateUserPayloadSchema: z.ZodObject<{
42
46
  countryDialCode?: string | null | undefined;
43
47
  fieldConfigs?: {
44
48
  id: string;
49
+ order?: number | null | undefined;
45
50
  defaultValue?: string | null | undefined;
46
51
  }[] | null | undefined;
47
52
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateUserPayload.d.ts","sourceRoot":"","sources":["UpdateUserPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"UpdateUserPayload.d.ts","sourceRoot":"","sources":["UpdateUserPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -49,11 +49,14 @@ export declare const UserSchema: z.ZodObject<{
49
49
  fieldConfigs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
50
50
  id: z.ZodString;
51
51
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
53
  }, "strip", z.ZodTypeAny, {
53
54
  id: string;
55
+ order?: number | null | undefined;
54
56
  defaultValue?: string | null | undefined;
55
57
  }, {
56
58
  id: string;
59
+ order?: number | null | undefined;
57
60
  defaultValue?: string | null | undefined;
58
61
  }>, "many">>>;
59
62
  createdAt: z.ZodDate;
@@ -74,6 +77,7 @@ export declare const UserSchema: z.ZodObject<{
74
77
  countryDialCode?: string | null | undefined;
75
78
  fieldConfigs?: {
76
79
  id: string;
80
+ order?: number | null | undefined;
77
81
  defaultValue?: string | null | undefined;
78
82
  }[] | null | undefined;
79
83
  customers?: {
@@ -104,6 +108,7 @@ export declare const UserSchema: z.ZodObject<{
104
108
  countryDialCode?: string | null | undefined;
105
109
  fieldConfigs?: {
106
110
  id: string;
111
+ order?: number | null | undefined;
107
112
  defaultValue?: string | null | undefined;
108
113
  }[] | null | undefined;
109
114
  customers?: {
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAerB,CAAA;AACF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAerB,CAAA;AACF,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA"}