controlresell 2.8.22 → 2.8.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.d.ts +16 -0
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js +10 -0
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.js.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/DailyMetrics.ts +8 -0
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.d.ts +16 -0
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js +10 -0
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.js.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/HourlyMetrics.ts +8 -0
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.d.ts +62 -0
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js +14 -0
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.js.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/ItemMetricsResponse.ts +12 -0
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.d.ts +96 -0
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.d.ts.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js +9 -0
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.js.map +1 -0
- package/src/com/controlresell/models/platforms/metrics/ItemsMetricsResponse.ts +7 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +23 -9
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +176 -24
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +17 -7
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +148 -20
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/UpdateUserPayload.d.ts +5 -5
- package/src/com/controlresell/models/users/User.d.ts +5 -5
- package/src/com/controlresell/models/users/fields/FieldConfig.d.ts +3 -3
- package/src/com/controlresell/models/users/fields/FieldConfig.js +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.js.map +1 -1
- package/src/com/controlresell/models/users/fields/FieldConfig.ts +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +238 -18
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/index.d.ts +4 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +10 -2
- package/src/index.js.map +1 -1
- package/src/index.ts +4 -0
|
@@ -1400,12 +1400,45 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1400
1400
|
data: z.ZodObject<{
|
|
1401
1401
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1402
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
|
+
}>>>;
|
|
1403
1422
|
}, "strip", z.ZodTypeAny, {
|
|
1404
1423
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1405
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;
|
|
1406
1432
|
}, {
|
|
1407
1433
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1408
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;
|
|
1409
1442
|
}>;
|
|
1410
1443
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
1411
1444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1413,12 +1446,26 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1413
1446
|
data: {
|
|
1414
1447
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1415
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;
|
|
1416
1456
|
};
|
|
1417
1457
|
}, {
|
|
1418
1458
|
type: "REPUBLISHING";
|
|
1419
1459
|
data: {
|
|
1420
1460
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1421
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;
|
|
1422
1469
|
};
|
|
1423
1470
|
}>, z.ZodObject<{
|
|
1424
1471
|
data: z.ZodObject<{
|
|
@@ -1448,6 +1495,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1448
1495
|
createdAt: z.ZodDate;
|
|
1449
1496
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1450
1497
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1498
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1452
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";
|
|
1453
1501
|
id: string;
|
|
@@ -1511,6 +1559,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1511
1559
|
data: {
|
|
1512
1560
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1513
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;
|
|
1514
1569
|
};
|
|
1515
1570
|
} | {
|
|
1516
1571
|
type: "SCHEDULED";
|
|
@@ -1521,6 +1576,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1521
1576
|
} | null | undefined;
|
|
1522
1577
|
accountId?: string | null | undefined;
|
|
1523
1578
|
targetDate?: Date | null | undefined;
|
|
1579
|
+
requestId?: string | null | undefined;
|
|
1524
1580
|
}, {
|
|
1525
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";
|
|
1526
1582
|
id: string;
|
|
@@ -1584,6 +1640,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1584
1640
|
data: {
|
|
1585
1641
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1586
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;
|
|
1587
1650
|
};
|
|
1588
1651
|
} | {
|
|
1589
1652
|
type: "SCHEDULED";
|
|
@@ -1594,6 +1657,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1594
1657
|
} | null | undefined;
|
|
1595
1658
|
accountId?: string | null | undefined;
|
|
1596
1659
|
targetDate?: Date | null | undefined;
|
|
1660
|
+
requestId?: string | null | undefined;
|
|
1597
1661
|
}>>>;
|
|
1598
1662
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1599
1663
|
id: z.ZodString;
|
|
@@ -1612,7 +1676,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1612
1676
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1613
1677
|
name: z.ZodString;
|
|
1614
1678
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
1679
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
1616
1680
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1617
1681
|
startsAt: z.ZodDate;
|
|
1618
1682
|
endsAt: z.ZodDate;
|
|
@@ -1627,7 +1691,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1627
1691
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1628
1692
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1629
1693
|
}, "strip", z.ZodTypeAny, {
|
|
1630
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1694
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1631
1695
|
userId: string | number;
|
|
1632
1696
|
name: string;
|
|
1633
1697
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1641,7 +1705,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1641
1705
|
ordersMaxDelay?: number | null | undefined;
|
|
1642
1706
|
conversationsMaxDelay?: number | null | undefined;
|
|
1643
1707
|
}, {
|
|
1644
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1708
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1645
1709
|
userId: string | number;
|
|
1646
1710
|
name: string;
|
|
1647
1711
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1656,6 +1720,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1656
1720
|
conversationsMaxDelay?: number | null | undefined;
|
|
1657
1721
|
}>>>;
|
|
1658
1722
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1723
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1724
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1659
1725
|
}, "strip", z.ZodTypeAny, {
|
|
1660
1726
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1661
1727
|
id: string;
|
|
@@ -1669,7 +1735,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1669
1735
|
publishedAt: Date;
|
|
1670
1736
|
conversationId?: string | null | undefined;
|
|
1671
1737
|
account?: {
|
|
1672
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1738
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1673
1739
|
userId: string | number;
|
|
1674
1740
|
name: string;
|
|
1675
1741
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1683,6 +1749,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1683
1749
|
ordersMaxDelay?: number | null | undefined;
|
|
1684
1750
|
conversationsMaxDelay?: number | null | undefined;
|
|
1685
1751
|
} | null | undefined;
|
|
1752
|
+
viewsCount?: number | null | undefined;
|
|
1753
|
+
favoritesCount?: number | null | undefined;
|
|
1686
1754
|
}, {
|
|
1687
1755
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
1688
1756
|
id: string;
|
|
@@ -1696,7 +1764,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1696
1764
|
publishedAt: Date;
|
|
1697
1765
|
conversationId?: string | null | undefined;
|
|
1698
1766
|
account?: {
|
|
1699
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1767
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1700
1768
|
userId: string | number;
|
|
1701
1769
|
name: string;
|
|
1702
1770
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1710,6 +1778,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1710
1778
|
ordersMaxDelay?: number | null | undefined;
|
|
1711
1779
|
conversationsMaxDelay?: number | null | undefined;
|
|
1712
1780
|
} | null | undefined;
|
|
1781
|
+
viewsCount?: number | null | undefined;
|
|
1782
|
+
favoritesCount?: number | null | undefined;
|
|
1713
1783
|
}>, "many">>>;
|
|
1714
1784
|
createdAt: z.ZodDate;
|
|
1715
1785
|
updatedAt: z.ZodDate;
|
|
@@ -1865,6 +1935,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1865
1935
|
data: {
|
|
1866
1936
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1867
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;
|
|
1868
1945
|
};
|
|
1869
1946
|
} | {
|
|
1870
1947
|
type: "SCHEDULED";
|
|
@@ -1875,6 +1952,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1875
1952
|
} | null | undefined;
|
|
1876
1953
|
accountId?: string | null | undefined;
|
|
1877
1954
|
targetDate?: Date | null | undefined;
|
|
1955
|
+
requestId?: string | null | undefined;
|
|
1878
1956
|
} | null | undefined;
|
|
1879
1957
|
platforms?: {
|
|
1880
1958
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -1889,7 +1967,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1889
1967
|
publishedAt: Date;
|
|
1890
1968
|
conversationId?: string | null | undefined;
|
|
1891
1969
|
account?: {
|
|
1892
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
1970
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
1893
1971
|
userId: string | number;
|
|
1894
1972
|
name: string;
|
|
1895
1973
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -1903,6 +1981,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
1903
1981
|
ordersMaxDelay?: number | null | undefined;
|
|
1904
1982
|
conversationsMaxDelay?: number | null | undefined;
|
|
1905
1983
|
} | null | undefined;
|
|
1984
|
+
viewsCount?: number | null | undefined;
|
|
1985
|
+
favoritesCount?: number | null | undefined;
|
|
1906
1986
|
}[] | null | undefined;
|
|
1907
1987
|
}, {
|
|
1908
1988
|
id: string | number;
|
|
@@ -2056,6 +2136,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2056
2136
|
data: {
|
|
2057
2137
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2058
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;
|
|
2059
2146
|
};
|
|
2060
2147
|
} | {
|
|
2061
2148
|
type: "SCHEDULED";
|
|
@@ -2066,6 +2153,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2066
2153
|
} | null | undefined;
|
|
2067
2154
|
accountId?: string | null | undefined;
|
|
2068
2155
|
targetDate?: Date | null | undefined;
|
|
2156
|
+
requestId?: string | null | undefined;
|
|
2069
2157
|
} | null | undefined;
|
|
2070
2158
|
platforms?: {
|
|
2071
2159
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2080,7 +2168,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2080
2168
|
publishedAt: Date;
|
|
2081
2169
|
conversationId?: string | null | undefined;
|
|
2082
2170
|
account?: {
|
|
2083
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2171
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2084
2172
|
userId: string | number;
|
|
2085
2173
|
name: string;
|
|
2086
2174
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2094,6 +2182,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2094
2182
|
ordersMaxDelay?: number | null | undefined;
|
|
2095
2183
|
conversationsMaxDelay?: number | null | undefined;
|
|
2096
2184
|
} | null | undefined;
|
|
2185
|
+
viewsCount?: number | null | undefined;
|
|
2186
|
+
favoritesCount?: number | null | undefined;
|
|
2097
2187
|
}[] | null | undefined;
|
|
2098
2188
|
}>;
|
|
2099
2189
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2252,6 +2342,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2252
2342
|
data: {
|
|
2253
2343
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2254
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;
|
|
2255
2352
|
};
|
|
2256
2353
|
} | {
|
|
2257
2354
|
type: "SCHEDULED";
|
|
@@ -2262,6 +2359,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2262
2359
|
} | null | undefined;
|
|
2263
2360
|
accountId?: string | null | undefined;
|
|
2264
2361
|
targetDate?: Date | null | undefined;
|
|
2362
|
+
requestId?: string | null | undefined;
|
|
2265
2363
|
} | null | undefined;
|
|
2266
2364
|
platforms?: {
|
|
2267
2365
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2276,7 +2374,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2276
2374
|
publishedAt: Date;
|
|
2277
2375
|
conversationId?: string | null | undefined;
|
|
2278
2376
|
account?: {
|
|
2279
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2377
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2280
2378
|
userId: string | number;
|
|
2281
2379
|
name: string;
|
|
2282
2380
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2290,6 +2388,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2290
2388
|
ordersMaxDelay?: number | null | undefined;
|
|
2291
2389
|
conversationsMaxDelay?: number | null | undefined;
|
|
2292
2390
|
} | null | undefined;
|
|
2391
|
+
viewsCount?: number | null | undefined;
|
|
2392
|
+
favoritesCount?: number | null | undefined;
|
|
2293
2393
|
}[] | null | undefined;
|
|
2294
2394
|
};
|
|
2295
2395
|
deleted?: boolean | null | undefined;
|
|
@@ -2447,6 +2547,13 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2447
2547
|
data: {
|
|
2448
2548
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2449
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;
|
|
2450
2557
|
};
|
|
2451
2558
|
} | {
|
|
2452
2559
|
type: "SCHEDULED";
|
|
@@ -2457,6 +2564,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2457
2564
|
} | null | undefined;
|
|
2458
2565
|
accountId?: string | null | undefined;
|
|
2459
2566
|
targetDate?: Date | null | undefined;
|
|
2567
|
+
requestId?: string | null | undefined;
|
|
2460
2568
|
} | null | undefined;
|
|
2461
2569
|
platforms?: {
|
|
2462
2570
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -2471,7 +2579,7 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2471
2579
|
publishedAt: Date;
|
|
2472
2580
|
conversationId?: string | null | undefined;
|
|
2473
2581
|
account?: {
|
|
2474
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
2582
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
2475
2583
|
userId: string | number;
|
|
2476
2584
|
name: string;
|
|
2477
2585
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -2485,6 +2593,8 @@ export declare const UserWsPayloadItemUpdatedSchema: z.ZodObject<{
|
|
|
2485
2593
|
ordersMaxDelay?: number | null | undefined;
|
|
2486
2594
|
conversationsMaxDelay?: number | null | undefined;
|
|
2487
2595
|
} | null | undefined;
|
|
2596
|
+
viewsCount?: number | null | undefined;
|
|
2597
|
+
favoritesCount?: number | null | undefined;
|
|
2488
2598
|
}[] | null | undefined;
|
|
2489
2599
|
};
|
|
2490
2600
|
deleted?: boolean | null | undefined;
|
|
@@ -4629,12 +4739,45 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4629
4739
|
data: z.ZodObject<{
|
|
4630
4740
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
4631
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
|
+
}>>>;
|
|
4632
4761
|
}, "strip", z.ZodTypeAny, {
|
|
4633
4762
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4634
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;
|
|
4635
4771
|
}, {
|
|
4636
4772
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4637
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;
|
|
4638
4781
|
}>;
|
|
4639
4782
|
type: z.ZodLiteral<"REPUBLISHING">;
|
|
4640
4783
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4642,12 +4785,26 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4642
4785
|
data: {
|
|
4643
4786
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4644
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;
|
|
4645
4795
|
};
|
|
4646
4796
|
}, {
|
|
4647
4797
|
type: "REPUBLISHING";
|
|
4648
4798
|
data: {
|
|
4649
4799
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4650
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;
|
|
4651
4808
|
};
|
|
4652
4809
|
}>, z.ZodObject<{
|
|
4653
4810
|
data: z.ZodObject<{
|
|
@@ -4677,6 +4834,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4677
4834
|
createdAt: z.ZodDate;
|
|
4678
4835
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
4679
4836
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4837
|
+
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4680
4838
|
}, "strip", z.ZodTypeAny, {
|
|
4681
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";
|
|
4682
4840
|
id: string;
|
|
@@ -4740,6 +4898,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4740
4898
|
data: {
|
|
4741
4899
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4742
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;
|
|
4743
4908
|
};
|
|
4744
4909
|
} | {
|
|
4745
4910
|
type: "SCHEDULED";
|
|
@@ -4750,6 +4915,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4750
4915
|
} | null | undefined;
|
|
4751
4916
|
accountId?: string | null | undefined;
|
|
4752
4917
|
targetDate?: Date | null | undefined;
|
|
4918
|
+
requestId?: string | null | undefined;
|
|
4753
4919
|
}, {
|
|
4754
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";
|
|
4755
4921
|
id: string;
|
|
@@ -4813,6 +4979,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4813
4979
|
data: {
|
|
4814
4980
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
4815
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;
|
|
4816
4989
|
};
|
|
4817
4990
|
} | {
|
|
4818
4991
|
type: "SCHEDULED";
|
|
@@ -4823,6 +4996,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4823
4996
|
} | null | undefined;
|
|
4824
4997
|
accountId?: string | null | undefined;
|
|
4825
4998
|
targetDate?: Date | null | undefined;
|
|
4999
|
+
requestId?: string | null | undefined;
|
|
4826
5000
|
}>>>;
|
|
4827
5001
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4828
5002
|
id: z.ZodString;
|
|
@@ -4841,7 +5015,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4841
5015
|
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
4842
5016
|
name: z.ZodString;
|
|
4843
5017
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4844
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR"]>;
|
|
5018
|
+
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "ERROR", "LOCKED"]>;
|
|
4845
5019
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4846
5020
|
startsAt: z.ZodDate;
|
|
4847
5021
|
endsAt: z.ZodDate;
|
|
@@ -4856,7 +5030,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4856
5030
|
ordersMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4857
5031
|
conversationsMaxDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4858
5032
|
}, "strip", z.ZodTypeAny, {
|
|
4859
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5033
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4860
5034
|
userId: string | number;
|
|
4861
5035
|
name: string;
|
|
4862
5036
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -4870,7 +5044,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4870
5044
|
ordersMaxDelay?: number | null | undefined;
|
|
4871
5045
|
conversationsMaxDelay?: number | null | undefined;
|
|
4872
5046
|
}, {
|
|
4873
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5047
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4874
5048
|
userId: string | number;
|
|
4875
5049
|
name: string;
|
|
4876
5050
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -4885,6 +5059,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4885
5059
|
conversationsMaxDelay?: number | null | undefined;
|
|
4886
5060
|
}>>>;
|
|
4887
5061
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5062
|
+
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5063
|
+
favoritesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4888
5064
|
}, "strip", z.ZodTypeAny, {
|
|
4889
5065
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4890
5066
|
id: string;
|
|
@@ -4898,7 +5074,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4898
5074
|
publishedAt: Date;
|
|
4899
5075
|
conversationId?: string | null | undefined;
|
|
4900
5076
|
account?: {
|
|
4901
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5077
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4902
5078
|
userId: string | number;
|
|
4903
5079
|
name: string;
|
|
4904
5080
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -4912,6 +5088,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4912
5088
|
ordersMaxDelay?: number | null | undefined;
|
|
4913
5089
|
conversationsMaxDelay?: number | null | undefined;
|
|
4914
5090
|
} | null | undefined;
|
|
5091
|
+
viewsCount?: number | null | undefined;
|
|
5092
|
+
favoritesCount?: number | null | undefined;
|
|
4915
5093
|
}, {
|
|
4916
5094
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
4917
5095
|
id: string;
|
|
@@ -4925,7 +5103,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4925
5103
|
publishedAt: Date;
|
|
4926
5104
|
conversationId?: string | null | undefined;
|
|
4927
5105
|
account?: {
|
|
4928
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5106
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
4929
5107
|
userId: string | number;
|
|
4930
5108
|
name: string;
|
|
4931
5109
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -4939,6 +5117,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4939
5117
|
ordersMaxDelay?: number | null | undefined;
|
|
4940
5118
|
conversationsMaxDelay?: number | null | undefined;
|
|
4941
5119
|
} | null | undefined;
|
|
5120
|
+
viewsCount?: number | null | undefined;
|
|
5121
|
+
favoritesCount?: number | null | undefined;
|
|
4942
5122
|
}>, "many">>>;
|
|
4943
5123
|
createdAt: z.ZodDate;
|
|
4944
5124
|
updatedAt: z.ZodDate;
|
|
@@ -5094,6 +5274,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5094
5274
|
data: {
|
|
5095
5275
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
5096
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;
|
|
5097
5284
|
};
|
|
5098
5285
|
} | {
|
|
5099
5286
|
type: "SCHEDULED";
|
|
@@ -5104,6 +5291,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5104
5291
|
} | null | undefined;
|
|
5105
5292
|
accountId?: string | null | undefined;
|
|
5106
5293
|
targetDate?: Date | null | undefined;
|
|
5294
|
+
requestId?: string | null | undefined;
|
|
5107
5295
|
} | null | undefined;
|
|
5108
5296
|
platforms?: {
|
|
5109
5297
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -5118,7 +5306,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5118
5306
|
publishedAt: Date;
|
|
5119
5307
|
conversationId?: string | null | undefined;
|
|
5120
5308
|
account?: {
|
|
5121
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5309
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
5122
5310
|
userId: string | number;
|
|
5123
5311
|
name: string;
|
|
5124
5312
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -5132,6 +5320,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5132
5320
|
ordersMaxDelay?: number | null | undefined;
|
|
5133
5321
|
conversationsMaxDelay?: number | null | undefined;
|
|
5134
5322
|
} | null | undefined;
|
|
5323
|
+
viewsCount?: number | null | undefined;
|
|
5324
|
+
favoritesCount?: number | null | undefined;
|
|
5135
5325
|
}[] | null | undefined;
|
|
5136
5326
|
}, {
|
|
5137
5327
|
id: string | number;
|
|
@@ -5285,6 +5475,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5285
5475
|
data: {
|
|
5286
5476
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
5287
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;
|
|
5288
5485
|
};
|
|
5289
5486
|
} | {
|
|
5290
5487
|
type: "SCHEDULED";
|
|
@@ -5295,6 +5492,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5295
5492
|
} | null | undefined;
|
|
5296
5493
|
accountId?: string | null | undefined;
|
|
5297
5494
|
targetDate?: Date | null | undefined;
|
|
5495
|
+
requestId?: string | null | undefined;
|
|
5298
5496
|
} | null | undefined;
|
|
5299
5497
|
platforms?: {
|
|
5300
5498
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -5309,7 +5507,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5309
5507
|
publishedAt: Date;
|
|
5310
5508
|
conversationId?: string | null | undefined;
|
|
5311
5509
|
account?: {
|
|
5312
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5510
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
5313
5511
|
userId: string | number;
|
|
5314
5512
|
name: string;
|
|
5315
5513
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -5323,6 +5521,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5323
5521
|
ordersMaxDelay?: number | null | undefined;
|
|
5324
5522
|
conversationsMaxDelay?: number | null | undefined;
|
|
5325
5523
|
} | null | undefined;
|
|
5524
|
+
viewsCount?: number | null | undefined;
|
|
5525
|
+
favoritesCount?: number | null | undefined;
|
|
5326
5526
|
}[] | null | undefined;
|
|
5327
5527
|
}>;
|
|
5328
5528
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -5481,6 +5681,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5481
5681
|
data: {
|
|
5482
5682
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
5483
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;
|
|
5484
5691
|
};
|
|
5485
5692
|
} | {
|
|
5486
5693
|
type: "SCHEDULED";
|
|
@@ -5491,6 +5698,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5491
5698
|
} | null | undefined;
|
|
5492
5699
|
accountId?: string | null | undefined;
|
|
5493
5700
|
targetDate?: Date | null | undefined;
|
|
5701
|
+
requestId?: string | null | undefined;
|
|
5494
5702
|
} | null | undefined;
|
|
5495
5703
|
platforms?: {
|
|
5496
5704
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -5505,7 +5713,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5505
5713
|
publishedAt: Date;
|
|
5506
5714
|
conversationId?: string | null | undefined;
|
|
5507
5715
|
account?: {
|
|
5508
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5716
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
5509
5717
|
userId: string | number;
|
|
5510
5718
|
name: string;
|
|
5511
5719
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -5519,6 +5727,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5519
5727
|
ordersMaxDelay?: number | null | undefined;
|
|
5520
5728
|
conversationsMaxDelay?: number | null | undefined;
|
|
5521
5729
|
} | null | undefined;
|
|
5730
|
+
viewsCount?: number | null | undefined;
|
|
5731
|
+
favoritesCount?: number | null | undefined;
|
|
5522
5732
|
}[] | null | undefined;
|
|
5523
5733
|
};
|
|
5524
5734
|
deleted?: boolean | null | undefined;
|
|
@@ -5676,6 +5886,13 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5676
5886
|
data: {
|
|
5677
5887
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
5678
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;
|
|
5679
5896
|
};
|
|
5680
5897
|
} | {
|
|
5681
5898
|
type: "SCHEDULED";
|
|
@@ -5686,6 +5903,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5686
5903
|
} | null | undefined;
|
|
5687
5904
|
accountId?: string | null | undefined;
|
|
5688
5905
|
targetDate?: Date | null | undefined;
|
|
5906
|
+
requestId?: string | null | undefined;
|
|
5689
5907
|
} | null | undefined;
|
|
5690
5908
|
platforms?: {
|
|
5691
5909
|
status: "ARCHIVED" | "DISPUTE" | "DELETED" | "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN";
|
|
@@ -5700,7 +5918,7 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5700
5918
|
publishedAt: Date;
|
|
5701
5919
|
conversationId?: string | null | undefined;
|
|
5702
5920
|
account?: {
|
|
5703
|
-
status: "CONNECTED" | "DISCONNECTED" | "ERROR";
|
|
5921
|
+
status: "CONNECTED" | "DISCONNECTED" | "ERROR" | "LOCKED";
|
|
5704
5922
|
userId: string | number;
|
|
5705
5923
|
name: string;
|
|
5706
5924
|
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
@@ -5714,6 +5932,8 @@ export declare const UserWsPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
5714
5932
|
ordersMaxDelay?: number | null | undefined;
|
|
5715
5933
|
conversationsMaxDelay?: number | null | undefined;
|
|
5716
5934
|
} | null | undefined;
|
|
5935
|
+
viewsCount?: number | null | undefined;
|
|
5936
|
+
favoritesCount?: number | null | undefined;
|
|
5717
5937
|
}[] | null | undefined;
|
|
5718
5938
|
};
|
|
5719
5939
|
deleted?: boolean | null | undefined;
|