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
@@ -944,6 +944,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
944
944
  id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
945
945
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
946
946
  name: z.ZodString;
947
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
948
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
949
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
949
950
  fileId: z.ZodString;
@@ -1399,12 +1400,45 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1399
1400
  data: z.ZodObject<{
1400
1401
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1401
1402
  publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1403
+ priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1404
+ type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
1405
+ value: z.ZodNumber;
1406
+ roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
1407
+ roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1408
+ maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ value: number;
1411
+ type: "PERCENTAGE" | "ABSOLUTE";
1412
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1413
+ roundStep?: number | null | undefined;
1414
+ maxRounds?: number | null | undefined;
1415
+ }, {
1416
+ value: number;
1417
+ type: "PERCENTAGE" | "ABSOLUTE";
1418
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1419
+ roundStep?: number | null | undefined;
1420
+ maxRounds?: number | null | undefined;
1421
+ }>>>;
1402
1422
  }, "strip", z.ZodTypeAny, {
1403
1423
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1404
1424
  publishingDate?: Date | null | undefined;
1425
+ priceDropPayload?: {
1426
+ value: number;
1427
+ type: "PERCENTAGE" | "ABSOLUTE";
1428
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1429
+ roundStep?: number | null | undefined;
1430
+ maxRounds?: number | null | undefined;
1431
+ } | null | undefined;
1405
1432
  }, {
1406
1433
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1407
1434
  publishingDate?: Date | null | undefined;
1435
+ priceDropPayload?: {
1436
+ value: number;
1437
+ type: "PERCENTAGE" | "ABSOLUTE";
1438
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1439
+ roundStep?: number | null | undefined;
1440
+ maxRounds?: number | null | undefined;
1441
+ } | null | undefined;
1408
1442
  }>;
1409
1443
  type: z.ZodLiteral<"REPUBLISHING">;
1410
1444
  }, "strip", z.ZodTypeAny, {
@@ -1412,12 +1446,26 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1412
1446
  data: {
1413
1447
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1414
1448
  publishingDate?: Date | null | undefined;
1449
+ priceDropPayload?: {
1450
+ value: number;
1451
+ type: "PERCENTAGE" | "ABSOLUTE";
1452
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1453
+ roundStep?: number | null | undefined;
1454
+ maxRounds?: number | null | undefined;
1455
+ } | null | undefined;
1415
1456
  };
1416
1457
  }, {
1417
1458
  type: "REPUBLISHING";
1418
1459
  data: {
1419
1460
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1420
1461
  publishingDate?: Date | null | undefined;
1462
+ priceDropPayload?: {
1463
+ value: number;
1464
+ type: "PERCENTAGE" | "ABSOLUTE";
1465
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1466
+ roundStep?: number | null | undefined;
1467
+ maxRounds?: number | null | undefined;
1468
+ } | null | undefined;
1421
1469
  };
1422
1470
  }>, z.ZodObject<{
1423
1471
  data: z.ZodObject<{
@@ -1447,6 +1495,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1447
1495
  createdAt: z.ZodDate;
1448
1496
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1449
1497
  accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1498
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1450
1499
  }, "strip", z.ZodTypeAny, {
1451
1500
  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";
1452
1501
  id: string;
@@ -1510,6 +1559,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1510
1559
  data: {
1511
1560
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1512
1561
  publishingDate?: Date | null | undefined;
1562
+ priceDropPayload?: {
1563
+ value: number;
1564
+ type: "PERCENTAGE" | "ABSOLUTE";
1565
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1566
+ roundStep?: number | null | undefined;
1567
+ maxRounds?: number | null | undefined;
1568
+ } | null | undefined;
1513
1569
  };
1514
1570
  } | {
1515
1571
  type: "SCHEDULED";
@@ -1520,6 +1576,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1520
1576
  } | null | undefined;
1521
1577
  accountId?: string | null | undefined;
1522
1578
  targetDate?: Date | null | undefined;
1579
+ requestId?: string | null | undefined;
1523
1580
  }, {
1524
1581
  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";
1525
1582
  id: string;
@@ -1583,6 +1640,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1583
1640
  data: {
1584
1641
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1585
1642
  publishingDate?: Date | null | undefined;
1643
+ priceDropPayload?: {
1644
+ value: number;
1645
+ type: "PERCENTAGE" | "ABSOLUTE";
1646
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1647
+ roundStep?: number | null | undefined;
1648
+ maxRounds?: number | null | undefined;
1649
+ } | null | undefined;
1586
1650
  };
1587
1651
  } | {
1588
1652
  type: "SCHEDULED";
@@ -1593,6 +1657,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1593
1657
  } | null | undefined;
1594
1658
  accountId?: string | null | undefined;
1595
1659
  targetDate?: Date | null | undefined;
1660
+ requestId?: string | null | undefined;
1596
1661
  }>>>;
1597
1662
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1598
1663
  id: z.ZodString;
@@ -1611,7 +1676,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1611
1676
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1612
1677
  name: z.ZodString;
1613
1678
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1614
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
1679
+ status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
1615
1680
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1616
1681
  startsAt: z.ZodDate;
1617
1682
  endsAt: z.ZodDate;
@@ -1626,7 +1691,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1626
1691
  ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1627
1692
  conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1628
1693
  }, "strip", z.ZodTypeAny, {
1629
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1694
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1630
1695
  userId: string | number;
1631
1696
  name: string;
1632
1697
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1640,7 +1705,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1640
1705
  ordersMaxDelay?: number | null | undefined;
1641
1706
  conversationsMaxDelay?: number | null | undefined;
1642
1707
  }, {
1643
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1708
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1644
1709
  userId: string | number;
1645
1710
  name: string;
1646
1711
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1655,6 +1720,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1655
1720
  conversationsMaxDelay?: number | null | undefined;
1656
1721
  }>>>;
1657
1722
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1723
+ viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1724
+ favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1658
1725
  }, "strip", z.ZodTypeAny, {
1659
1726
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
1660
1727
  id: string;
@@ -1668,7 +1735,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1668
1735
  publishedAt: Date;
1669
1736
  conversationId?: string | null | undefined;
1670
1737
  account?: {
1671
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1738
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1672
1739
  userId: string | number;
1673
1740
  name: string;
1674
1741
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1682,6 +1749,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1682
1749
  ordersMaxDelay?: number | null | undefined;
1683
1750
  conversationsMaxDelay?: number | null | undefined;
1684
1751
  } | null | undefined;
1752
+ viewsCount?: number | null | undefined;
1753
+ favoritesCount?: number | null | undefined;
1685
1754
  }, {
1686
1755
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
1687
1756
  id: string;
@@ -1695,7 +1764,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1695
1764
  publishedAt: Date;
1696
1765
  conversationId?: string | null | undefined;
1697
1766
  account?: {
1698
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1767
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1699
1768
  userId: string | number;
1700
1769
  name: string;
1701
1770
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1709,6 +1778,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1709
1778
  ordersMaxDelay?: number | null | undefined;
1710
1779
  conversationsMaxDelay?: number | null | undefined;
1711
1780
  } | null | undefined;
1781
+ viewsCount?: number | null | undefined;
1782
+ favoritesCount?: number | null | undefined;
1712
1783
  }>, "many">>>;
1713
1784
  createdAt: z.ZodDate;
1714
1785
  updatedAt: z.ZodDate;
@@ -1758,6 +1829,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1758
1829
  estimatedPrice?: number | null | undefined;
1759
1830
  purchaseDate?: Date | null | undefined;
1760
1831
  sellingDate?: Date | null | undefined;
1832
+ sku?: string | null | undefined;
1761
1833
  files?: {
1762
1834
  fileId: string;
1763
1835
  itemId: string | number;
@@ -1863,6 +1935,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1863
1935
  data: {
1864
1936
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1865
1937
  publishingDate?: Date | null | undefined;
1938
+ priceDropPayload?: {
1939
+ value: number;
1940
+ type: "PERCENTAGE" | "ABSOLUTE";
1941
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1942
+ roundStep?: number | null | undefined;
1943
+ maxRounds?: number | null | undefined;
1944
+ } | null | undefined;
1866
1945
  };
1867
1946
  } | {
1868
1947
  type: "SCHEDULED";
@@ -1873,6 +1952,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1873
1952
  } | null | undefined;
1874
1953
  accountId?: string | null | undefined;
1875
1954
  targetDate?: Date | null | undefined;
1955
+ requestId?: string | null | undefined;
1876
1956
  } | null | undefined;
1877
1957
  platforms?: {
1878
1958
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -1887,7 +1967,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1887
1967
  publishedAt: Date;
1888
1968
  conversationId?: string | null | undefined;
1889
1969
  account?: {
1890
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
1970
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
1891
1971
  userId: string | number;
1892
1972
  name: string;
1893
1973
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -1901,6 +1981,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1901
1981
  ordersMaxDelay?: number | null | undefined;
1902
1982
  conversationsMaxDelay?: number | null | undefined;
1903
1983
  } | null | undefined;
1984
+ viewsCount?: number | null | undefined;
1985
+ favoritesCount?: number | null | undefined;
1904
1986
  }[] | null | undefined;
1905
1987
  }, {
1906
1988
  id: string | number;
@@ -1948,6 +2030,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
1948
2030
  estimatedPrice?: number | null | undefined;
1949
2031
  purchaseDate?: Date | null | undefined;
1950
2032
  sellingDate?: Date | null | undefined;
2033
+ sku?: string | null | undefined;
1951
2034
  files?: {
1952
2035
  fileId: string;
1953
2036
  itemId: string | number;
@@ -2053,6 +2136,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2053
2136
  data: {
2054
2137
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2055
2138
  publishingDate?: Date | null | undefined;
2139
+ priceDropPayload?: {
2140
+ value: number;
2141
+ type: "PERCENTAGE" | "ABSOLUTE";
2142
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2143
+ roundStep?: number | null | undefined;
2144
+ maxRounds?: number | null | undefined;
2145
+ } | null | undefined;
2056
2146
  };
2057
2147
  } | {
2058
2148
  type: "SCHEDULED";
@@ -2063,6 +2153,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2063
2153
  } | null | undefined;
2064
2154
  accountId?: string | null | undefined;
2065
2155
  targetDate?: Date | null | undefined;
2156
+ requestId?: string | null | undefined;
2066
2157
  } | null | undefined;
2067
2158
  platforms?: {
2068
2159
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -2077,7 +2168,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2077
2168
  publishedAt: Date;
2078
2169
  conversationId?: string | null | undefined;
2079
2170
  account?: {
2080
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2171
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
2081
2172
  userId: string | number;
2082
2173
  name: string;
2083
2174
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -2091,6 +2182,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2091
2182
  ordersMaxDelay?: number | null | undefined;
2092
2183
  conversationsMaxDelay?: number | null | undefined;
2093
2184
  } | null | undefined;
2185
+ viewsCount?: number | null | undefined;
2186
+ favoritesCount?: number | null | undefined;
2094
2187
  }[] | null | undefined;
2095
2188
  }>;
2096
2189
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -2143,6 +2236,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2143
2236
  estimatedPrice?: number | null | undefined;
2144
2237
  purchaseDate?: Date | null | undefined;
2145
2238
  sellingDate?: Date | null | undefined;
2239
+ sku?: string | null | undefined;
2146
2240
  files?: {
2147
2241
  fileId: string;
2148
2242
  itemId: string | number;
@@ -2248,6 +2342,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2248
2342
  data: {
2249
2343
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2250
2344
  publishingDate?: Date | null | undefined;
2345
+ priceDropPayload?: {
2346
+ value: number;
2347
+ type: "PERCENTAGE" | "ABSOLUTE";
2348
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2349
+ roundStep?: number | null | undefined;
2350
+ maxRounds?: number | null | undefined;
2351
+ } | null | undefined;
2251
2352
  };
2252
2353
  } | {
2253
2354
  type: "SCHEDULED";
@@ -2258,6 +2359,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2258
2359
  } | null | undefined;
2259
2360
  accountId?: string | null | undefined;
2260
2361
  targetDate?: Date | null | undefined;
2362
+ requestId?: string | null | undefined;
2261
2363
  } | null | undefined;
2262
2364
  platforms?: {
2263
2365
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -2272,7 +2374,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2272
2374
  publishedAt: Date;
2273
2375
  conversationId?: string | null | undefined;
2274
2376
  account?: {
2275
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2377
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
2276
2378
  userId: string | number;
2277
2379
  name: string;
2278
2380
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -2286,6 +2388,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2286
2388
  ordersMaxDelay?: number | null | undefined;
2287
2389
  conversationsMaxDelay?: number | null | undefined;
2288
2390
  } | null | undefined;
2391
+ viewsCount?: number | null | undefined;
2392
+ favoritesCount?: number | null | undefined;
2289
2393
  }[] | null | undefined;
2290
2394
  };
2291
2395
  deleted?: boolean | null | undefined;
@@ -2337,6 +2441,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2337
2441
  estimatedPrice?: number | null | undefined;
2338
2442
  purchaseDate?: Date | null | undefined;
2339
2443
  sellingDate?: Date | null | undefined;
2444
+ sku?: string | null | undefined;
2340
2445
  files?: {
2341
2446
  fileId: string;
2342
2447
  itemId: string | number;
@@ -2442,6 +2547,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2442
2547
  data: {
2443
2548
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2444
2549
  publishingDate?: Date | null | undefined;
2550
+ priceDropPayload?: {
2551
+ value: number;
2552
+ type: "PERCENTAGE" | "ABSOLUTE";
2553
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2554
+ roundStep?: number | null | undefined;
2555
+ maxRounds?: number | null | undefined;
2556
+ } | null | undefined;
2445
2557
  };
2446
2558
  } | {
2447
2559
  type: "SCHEDULED";
@@ -2452,6 +2564,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2452
2564
  } | null | undefined;
2453
2565
  accountId?: string | null | undefined;
2454
2566
  targetDate?: Date | null | undefined;
2567
+ requestId?: string | null | undefined;
2455
2568
  } | null | undefined;
2456
2569
  platforms?: {
2457
2570
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -2466,7 +2579,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2466
2579
  publishedAt: Date;
2467
2580
  conversationId?: string | null | undefined;
2468
2581
  account?: {
2469
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
2582
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
2470
2583
  userId: string | number;
2471
2584
  name: string;
2472
2585
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -2480,6 +2593,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
2480
2593
  ordersMaxDelay?: number | null | undefined;
2481
2594
  conversationsMaxDelay?: number | null | undefined;
2482
2595
  } | null | undefined;
2596
+ viewsCount?: number | null | undefined;
2597
+ favoritesCount?: number | null | undefined;
2483
2598
  }[] | null | undefined;
2484
2599
  };
2485
2600
  deleted?: boolean | null | undefined;
@@ -4168,6 +4283,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4168
4283
  id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4169
4284
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4170
4285
  name: z.ZodString;
4286
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
4287
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
4288
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4173
4289
  fileId: z.ZodString;
@@ -4623,12 +4739,45 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4623
4739
  data: z.ZodObject<{
4624
4740
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
4625
4741
  publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4742
+ priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4743
+ type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
4744
+ value: z.ZodNumber;
4745
+ roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
4746
+ roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4747
+ maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4748
+ }, "strip", z.ZodTypeAny, {
4749
+ value: number;
4750
+ type: "PERCENTAGE" | "ABSOLUTE";
4751
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4752
+ roundStep?: number | null | undefined;
4753
+ maxRounds?: number | null | undefined;
4754
+ }, {
4755
+ value: number;
4756
+ type: "PERCENTAGE" | "ABSOLUTE";
4757
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4758
+ roundStep?: number | null | undefined;
4759
+ maxRounds?: number | null | undefined;
4760
+ }>>>;
4626
4761
  }, "strip", z.ZodTypeAny, {
4627
4762
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4628
4763
  publishingDate?: Date | null | undefined;
4764
+ priceDropPayload?: {
4765
+ value: number;
4766
+ type: "PERCENTAGE" | "ABSOLUTE";
4767
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4768
+ roundStep?: number | null | undefined;
4769
+ maxRounds?: number | null | undefined;
4770
+ } | null | undefined;
4629
4771
  }, {
4630
4772
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4631
4773
  publishingDate?: Date | null | undefined;
4774
+ priceDropPayload?: {
4775
+ value: number;
4776
+ type: "PERCENTAGE" | "ABSOLUTE";
4777
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4778
+ roundStep?: number | null | undefined;
4779
+ maxRounds?: number | null | undefined;
4780
+ } | null | undefined;
4632
4781
  }>;
4633
4782
  type: z.ZodLiteral<"REPUBLISHING">;
4634
4783
  }, "strip", z.ZodTypeAny, {
@@ -4636,12 +4785,26 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4636
4785
  data: {
4637
4786
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4638
4787
  publishingDate?: Date | null | undefined;
4788
+ priceDropPayload?: {
4789
+ value: number;
4790
+ type: "PERCENTAGE" | "ABSOLUTE";
4791
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4792
+ roundStep?: number | null | undefined;
4793
+ maxRounds?: number | null | undefined;
4794
+ } | null | undefined;
4639
4795
  };
4640
4796
  }, {
4641
4797
  type: "REPUBLISHING";
4642
4798
  data: {
4643
4799
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4644
4800
  publishingDate?: Date | null | undefined;
4801
+ priceDropPayload?: {
4802
+ value: number;
4803
+ type: "PERCENTAGE" | "ABSOLUTE";
4804
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4805
+ roundStep?: number | null | undefined;
4806
+ maxRounds?: number | null | undefined;
4807
+ } | null | undefined;
4645
4808
  };
4646
4809
  }>, z.ZodObject<{
4647
4810
  data: z.ZodObject<{
@@ -4671,6 +4834,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4671
4834
  createdAt: z.ZodDate;
4672
4835
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4673
4836
  accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4674
4838
  }, "strip", z.ZodTypeAny, {
4675
4839
  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";
4676
4840
  id: string;
@@ -4734,6 +4898,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4734
4898
  data: {
4735
4899
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4736
4900
  publishingDate?: Date | null | undefined;
4901
+ priceDropPayload?: {
4902
+ value: number;
4903
+ type: "PERCENTAGE" | "ABSOLUTE";
4904
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4905
+ roundStep?: number | null | undefined;
4906
+ maxRounds?: number | null | undefined;
4907
+ } | null | undefined;
4737
4908
  };
4738
4909
  } | {
4739
4910
  type: "SCHEDULED";
@@ -4744,6 +4915,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4744
4915
  } | null | undefined;
4745
4916
  accountId?: string | null | undefined;
4746
4917
  targetDate?: Date | null | undefined;
4918
+ requestId?: string | null | undefined;
4747
4919
  }, {
4748
4920
  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";
4749
4921
  id: string;
@@ -4807,6 +4979,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4807
4979
  data: {
4808
4980
  platform: "ETSY" | "SHOPIFY" | "VINTED";
4809
4981
  publishingDate?: Date | null | undefined;
4982
+ priceDropPayload?: {
4983
+ value: number;
4984
+ type: "PERCENTAGE" | "ABSOLUTE";
4985
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4986
+ roundStep?: number | null | undefined;
4987
+ maxRounds?: number | null | undefined;
4988
+ } | null | undefined;
4810
4989
  };
4811
4990
  } | {
4812
4991
  type: "SCHEDULED";
@@ -4817,6 +4996,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4817
4996
  } | null | undefined;
4818
4997
  accountId?: string | null | undefined;
4819
4998
  targetDate?: Date | null | undefined;
4999
+ requestId?: string | null | undefined;
4820
5000
  }>>>;
4821
5001
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
4822
5002
  id: z.ZodString;
@@ -4835,7 +5015,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4835
5015
  platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
4836
5016
  name: z.ZodString;
4837
5017
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4838
- status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
5018
+ status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
4839
5019
  night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4840
5020
  startsAt: z.ZodDate;
4841
5021
  endsAt: z.ZodDate;
@@ -4850,7 +5030,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4850
5030
  ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4851
5031
  conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4852
5032
  }, "strip", z.ZodTypeAny, {
4853
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5033
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
4854
5034
  userId: string | number;
4855
5035
  name: string;
4856
5036
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -4864,7 +5044,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4864
5044
  ordersMaxDelay?: number | null | undefined;
4865
5045
  conversationsMaxDelay?: number | null | undefined;
4866
5046
  }, {
4867
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5047
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
4868
5048
  userId: string | number;
4869
5049
  name: string;
4870
5050
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -4879,6 +5059,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4879
5059
  conversationsMaxDelay?: number | null | undefined;
4880
5060
  }>>>;
4881
5061
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5062
+ viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5063
+ favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4882
5064
  }, "strip", z.ZodTypeAny, {
4883
5065
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
4884
5066
  id: string;
@@ -4892,7 +5074,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4892
5074
  publishedAt: Date;
4893
5075
  conversationId?: string | null | undefined;
4894
5076
  account?: {
4895
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5077
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
4896
5078
  userId: string | number;
4897
5079
  name: string;
4898
5080
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -4906,6 +5088,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4906
5088
  ordersMaxDelay?: number | null | undefined;
4907
5089
  conversationsMaxDelay?: number | null | undefined;
4908
5090
  } | null | undefined;
5091
+ viewsCount?: number | null | undefined;
5092
+ favoritesCount?: number | null | undefined;
4909
5093
  }, {
4910
5094
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
4911
5095
  id: string;
@@ -4919,7 +5103,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4919
5103
  publishedAt: Date;
4920
5104
  conversationId?: string | null | undefined;
4921
5105
  account?: {
4922
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5106
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
4923
5107
  userId: string | number;
4924
5108
  name: string;
4925
5109
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -4933,6 +5117,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4933
5117
  ordersMaxDelay?: number | null | undefined;
4934
5118
  conversationsMaxDelay?: number | null | undefined;
4935
5119
  } | null | undefined;
5120
+ viewsCount?: number | null | undefined;
5121
+ favoritesCount?: number | null | undefined;
4936
5122
  }>, "many">>>;
4937
5123
  createdAt: z.ZodDate;
4938
5124
  updatedAt: z.ZodDate;
@@ -4982,6 +5168,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
4982
5168
  estimatedPrice?: number | null | undefined;
4983
5169
  purchaseDate?: Date | null | undefined;
4984
5170
  sellingDate?: Date | null | undefined;
5171
+ sku?: string | null | undefined;
4985
5172
  files?: {
4986
5173
  fileId: string;
4987
5174
  itemId: string | number;
@@ -5087,6 +5274,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5087
5274
  data: {
5088
5275
  platform: "ETSY" | "SHOPIFY" | "VINTED";
5089
5276
  publishingDate?: Date | null | undefined;
5277
+ priceDropPayload?: {
5278
+ value: number;
5279
+ type: "PERCENTAGE" | "ABSOLUTE";
5280
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5281
+ roundStep?: number | null | undefined;
5282
+ maxRounds?: number | null | undefined;
5283
+ } | null | undefined;
5090
5284
  };
5091
5285
  } | {
5092
5286
  type: "SCHEDULED";
@@ -5097,6 +5291,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5097
5291
  } | null | undefined;
5098
5292
  accountId?: string | null | undefined;
5099
5293
  targetDate?: Date | null | undefined;
5294
+ requestId?: string | null | undefined;
5100
5295
  } | null | undefined;
5101
5296
  platforms?: {
5102
5297
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -5111,7 +5306,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5111
5306
  publishedAt: Date;
5112
5307
  conversationId?: string | null | undefined;
5113
5308
  account?: {
5114
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5309
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
5115
5310
  userId: string | number;
5116
5311
  name: string;
5117
5312
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -5125,6 +5320,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5125
5320
  ordersMaxDelay?: number | null | undefined;
5126
5321
  conversationsMaxDelay?: number | null | undefined;
5127
5322
  } | null | undefined;
5323
+ viewsCount?: number | null | undefined;
5324
+ favoritesCount?: number | null | undefined;
5128
5325
  }[] | null | undefined;
5129
5326
  }, {
5130
5327
  id: string | number;
@@ -5172,6 +5369,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5172
5369
  estimatedPrice?: number | null | undefined;
5173
5370
  purchaseDate?: Date | null | undefined;
5174
5371
  sellingDate?: Date | null | undefined;
5372
+ sku?: string | null | undefined;
5175
5373
  files?: {
5176
5374
  fileId: string;
5177
5375
  itemId: string | number;
@@ -5277,6 +5475,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5277
5475
  data: {
5278
5476
  platform: "ETSY" | "SHOPIFY" | "VINTED";
5279
5477
  publishingDate?: Date | null | undefined;
5478
+ priceDropPayload?: {
5479
+ value: number;
5480
+ type: "PERCENTAGE" | "ABSOLUTE";
5481
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5482
+ roundStep?: number | null | undefined;
5483
+ maxRounds?: number | null | undefined;
5484
+ } | null | undefined;
5280
5485
  };
5281
5486
  } | {
5282
5487
  type: "SCHEDULED";
@@ -5287,6 +5492,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5287
5492
  } | null | undefined;
5288
5493
  accountId?: string | null | undefined;
5289
5494
  targetDate?: Date | null | undefined;
5495
+ requestId?: string | null | undefined;
5290
5496
  } | null | undefined;
5291
5497
  platforms?: {
5292
5498
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -5301,7 +5507,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5301
5507
  publishedAt: Date;
5302
5508
  conversationId?: string | null | undefined;
5303
5509
  account?: {
5304
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5510
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
5305
5511
  userId: string | number;
5306
5512
  name: string;
5307
5513
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -5315,6 +5521,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5315
5521
  ordersMaxDelay?: number | null | undefined;
5316
5522
  conversationsMaxDelay?: number | null | undefined;
5317
5523
  } | null | undefined;
5524
+ viewsCount?: number | null | undefined;
5525
+ favoritesCount?: number | null | undefined;
5318
5526
  }[] | null | undefined;
5319
5527
  }>;
5320
5528
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -5367,6 +5575,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5367
5575
  estimatedPrice?: number | null | undefined;
5368
5576
  purchaseDate?: Date | null | undefined;
5369
5577
  sellingDate?: Date | null | undefined;
5578
+ sku?: string | null | undefined;
5370
5579
  files?: {
5371
5580
  fileId: string;
5372
5581
  itemId: string | number;
@@ -5472,6 +5681,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5472
5681
  data: {
5473
5682
  platform: "ETSY" | "SHOPIFY" | "VINTED";
5474
5683
  publishingDate?: Date | null | undefined;
5684
+ priceDropPayload?: {
5685
+ value: number;
5686
+ type: "PERCENTAGE" | "ABSOLUTE";
5687
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5688
+ roundStep?: number | null | undefined;
5689
+ maxRounds?: number | null | undefined;
5690
+ } | null | undefined;
5475
5691
  };
5476
5692
  } | {
5477
5693
  type: "SCHEDULED";
@@ -5482,6 +5698,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5482
5698
  } | null | undefined;
5483
5699
  accountId?: string | null | undefined;
5484
5700
  targetDate?: Date | null | undefined;
5701
+ requestId?: string | null | undefined;
5485
5702
  } | null | undefined;
5486
5703
  platforms?: {
5487
5704
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -5496,7 +5713,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5496
5713
  publishedAt: Date;
5497
5714
  conversationId?: string | null | undefined;
5498
5715
  account?: {
5499
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5716
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
5500
5717
  userId: string | number;
5501
5718
  name: string;
5502
5719
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -5510,6 +5727,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5510
5727
  ordersMaxDelay?: number | null | undefined;
5511
5728
  conversationsMaxDelay?: number | null | undefined;
5512
5729
  } | null | undefined;
5730
+ viewsCount?: number | null | undefined;
5731
+ favoritesCount?: number | null | undefined;
5513
5732
  }[] | null | undefined;
5514
5733
  };
5515
5734
  deleted?: boolean | null | undefined;
@@ -5561,6 +5780,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5561
5780
  estimatedPrice?: number | null | undefined;
5562
5781
  purchaseDate?: Date | null | undefined;
5563
5782
  sellingDate?: Date | null | undefined;
5783
+ sku?: string | null | undefined;
5564
5784
  files?: {
5565
5785
  fileId: string;
5566
5786
  itemId: string | number;
@@ -5666,6 +5886,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5666
5886
  data: {
5667
5887
  platform: "ETSY" | "SHOPIFY" | "VINTED";
5668
5888
  publishingDate?: Date | null | undefined;
5889
+ priceDropPayload?: {
5890
+ value: number;
5891
+ type: "PERCENTAGE" | "ABSOLUTE";
5892
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5893
+ roundStep?: number | null | undefined;
5894
+ maxRounds?: number | null | undefined;
5895
+ } | null | undefined;
5669
5896
  };
5670
5897
  } | {
5671
5898
  type: "SCHEDULED";
@@ -5676,6 +5903,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5676
5903
  } | null | undefined;
5677
5904
  accountId?: string | null | undefined;
5678
5905
  targetDate?: Date | null | undefined;
5906
+ requestId?: string | null | undefined;
5679
5907
  } | null | undefined;
5680
5908
  platforms?: {
5681
5909
  status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
@@ -5690,7 +5918,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5690
5918
  publishedAt: Date;
5691
5919
  conversationId?: string | null | undefined;
5692
5920
  account?: {
5693
- status: "CONNECTED" | "DISCONNECTED" | "ERROR";
5921
+ status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
5694
5922
  userId: string | number;
5695
5923
  name: string;
5696
5924
  platform: "ETSY" | "SHOPIFY" | "VINTED";
@@ -5704,6 +5932,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
5704
5932
  ordersMaxDelay?: number | null | undefined;
5705
5933
  conversationsMaxDelay?: number | null | undefined;
5706
5934
  } | null | undefined;
5935
+ viewsCount?: number | null | undefined;
5936
+ favoritesCount?: number | null | undefined;
5707
5937
  }[] | null | undefined;
5708
5938
  };
5709
5939
  deleted?: boolean | null | undefined;