controlresell 2.9.6 → 2.9.8

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 (60) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/responses/items/ItemAction.d.ts +1 -1
  3. package/src/com/controlresell/api/responses/items/ItemAction.d.ts.map +1 -1
  4. package/src/com/controlresell/api/responses/items/ItemAction.js +1 -1
  5. package/src/com/controlresell/api/responses/items/ItemAction.js.map +1 -1
  6. package/src/com/controlresell/api/responses/items/ItemAction.ts +1 -1
  7. package/src/com/controlresell/api/responses/items/ItemActions.d.ts +3 -3
  8. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +439 -7
  9. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  10. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +365 -5
  11. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  12. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +864 -0
  13. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  14. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +864 -0
  15. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
  16. package/src/com/controlresell/inventory/models/items/Item.d.ts +720 -0
  17. package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
  18. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +755 -2271
  19. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
  20. package/src/com/controlresell/inventory/models/items/ItemUpdate.js +2 -2
  21. package/src/com/controlresell/inventory/models/items/ItemUpdate.js.map +1 -1
  22. package/src/com/controlresell/inventory/models/items/ItemUpdate.ts +2 -2
  23. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +864 -0
  24. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
  25. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +288 -0
  26. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
  27. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +288 -0
  28. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
  29. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +436 -0
  30. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
  31. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +13 -1
  32. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -1
  33. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.ts +17 -1
  34. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +10 -0
  35. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts.map +1 -0
  36. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js +6 -0
  37. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js.map +1 -0
  38. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.ts +7 -0
  39. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +136 -0
  40. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -0
  41. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js +9 -0
  42. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -0
  43. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.ts +10 -0
  44. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +990 -2794
  45. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  46. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +708 -2224
  47. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  48. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js +2 -2
  49. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.js.map +1 -1
  50. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.ts +2 -2
  51. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +2924 -5956
  52. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  53. package/src/com/controlresell/models/users/ws/UserWsPayload.js +2 -2
  54. package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
  55. package/src/com/controlresell/models/users/ws/UserWsPayload.ts +2 -2
  56. package/src/index.d.ts +2 -0
  57. package/src/index.d.ts.map +1 -1
  58. package/src/index.js +2 -0
  59. package/src/index.js.map +1 -1
  60. package/src/index.ts +2 -0
@@ -1040,6 +1040,222 @@ export declare const ListedItemSchema: z.ZodObject<{
1040
1040
  error?: string | null | undefined;
1041
1041
  }[] | null | undefined;
1042
1042
  };
1043
+ }>, z.ZodObject<{
1044
+ data: z.ZodObject<{
1045
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1048
+ }, {
1049
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1050
+ }>;
1051
+ type: z.ZodLiteral<"UPDATED">;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ type: "UPDATED";
1054
+ data: {
1055
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1056
+ };
1057
+ }, {
1058
+ type: "UPDATED";
1059
+ data: {
1060
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1061
+ };
1062
+ }>, z.ZodObject<{
1063
+ data: z.ZodObject<{
1064
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1065
+ post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1066
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1067
+ catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1069
+ colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1070
+ colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1071
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1073
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1074
+ packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1075
+ photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1076
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1077
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1080
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1082
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1084
+ isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1085
+ availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1086
+ material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1087
+ manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ status?: string | null | undefined;
1091
+ price?: number | null | undefined;
1092
+ currency?: string | null | undefined;
1093
+ brand?: string | null | undefined;
1094
+ catalog?: string | null | undefined;
1095
+ catalogId?: number | null | undefined;
1096
+ colors?: string[] | null | undefined;
1097
+ colorIds?: number[] | null | undefined;
1098
+ description?: string | null | undefined;
1099
+ measurementLength?: number | null | undefined;
1100
+ measurementWidth?: number | null | undefined;
1101
+ packageSizeId?: number | null | undefined;
1102
+ photoUrls?: string[] | null | undefined;
1103
+ size?: string | null | undefined;
1104
+ sizeId?: number | null | undefined;
1105
+ statusId?: number | null | undefined;
1106
+ title?: string | null | undefined;
1107
+ isDraft?: boolean | null | undefined;
1108
+ isArchived?: boolean | null | undefined;
1109
+ availableQuantity?: number | null | undefined;
1110
+ material?: number[] | null | undefined;
1111
+ manufacturerLabelling?: string | null | undefined;
1112
+ labels?: string[] | null | undefined;
1113
+ }, {
1114
+ status?: string | null | undefined;
1115
+ price?: number | null | undefined;
1116
+ currency?: string | null | undefined;
1117
+ brand?: string | null | undefined;
1118
+ catalog?: string | null | undefined;
1119
+ catalogId?: number | null | undefined;
1120
+ colors?: string[] | null | undefined;
1121
+ colorIds?: number[] | null | undefined;
1122
+ description?: string | null | undefined;
1123
+ measurementLength?: number | null | undefined;
1124
+ measurementWidth?: number | null | undefined;
1125
+ packageSizeId?: number | null | undefined;
1126
+ photoUrls?: string[] | null | undefined;
1127
+ size?: string | null | undefined;
1128
+ sizeId?: number | null | undefined;
1129
+ statusId?: number | null | undefined;
1130
+ title?: string | null | undefined;
1131
+ isDraft?: boolean | null | undefined;
1132
+ isArchived?: boolean | null | undefined;
1133
+ availableQuantity?: number | null | undefined;
1134
+ material?: number[] | null | undefined;
1135
+ manufacturerLabelling?: string | null | undefined;
1136
+ labels?: string[] | null | undefined;
1137
+ }>>>;
1138
+ targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1141
+ post?: {
1142
+ status?: string | null | undefined;
1143
+ price?: number | null | undefined;
1144
+ currency?: string | null | undefined;
1145
+ brand?: string | null | undefined;
1146
+ catalog?: string | null | undefined;
1147
+ catalogId?: number | null | undefined;
1148
+ colors?: string[] | null | undefined;
1149
+ colorIds?: number[] | null | undefined;
1150
+ description?: string | null | undefined;
1151
+ measurementLength?: number | null | undefined;
1152
+ measurementWidth?: number | null | undefined;
1153
+ packageSizeId?: number | null | undefined;
1154
+ photoUrls?: string[] | null | undefined;
1155
+ size?: string | null | undefined;
1156
+ sizeId?: number | null | undefined;
1157
+ statusId?: number | null | undefined;
1158
+ title?: string | null | undefined;
1159
+ isDraft?: boolean | null | undefined;
1160
+ isArchived?: boolean | null | undefined;
1161
+ availableQuantity?: number | null | undefined;
1162
+ material?: number[] | null | undefined;
1163
+ manufacturerLabelling?: string | null | undefined;
1164
+ labels?: string[] | null | undefined;
1165
+ } | null | undefined;
1166
+ targetDate?: Date | null | undefined;
1167
+ }, {
1168
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1169
+ post?: {
1170
+ status?: string | null | undefined;
1171
+ price?: number | null | undefined;
1172
+ currency?: string | null | undefined;
1173
+ brand?: string | null | undefined;
1174
+ catalog?: string | null | undefined;
1175
+ catalogId?: number | null | undefined;
1176
+ colors?: string[] | null | undefined;
1177
+ colorIds?: number[] | null | undefined;
1178
+ description?: string | null | undefined;
1179
+ measurementLength?: number | null | undefined;
1180
+ measurementWidth?: number | null | undefined;
1181
+ packageSizeId?: number | null | undefined;
1182
+ photoUrls?: string[] | null | undefined;
1183
+ size?: string | null | undefined;
1184
+ sizeId?: number | null | undefined;
1185
+ statusId?: number | null | undefined;
1186
+ title?: string | null | undefined;
1187
+ isDraft?: boolean | null | undefined;
1188
+ isArchived?: boolean | null | undefined;
1189
+ availableQuantity?: number | null | undefined;
1190
+ material?: number[] | null | undefined;
1191
+ manufacturerLabelling?: string | null | undefined;
1192
+ labels?: string[] | null | undefined;
1193
+ } | null | undefined;
1194
+ targetDate?: Date | null | undefined;
1195
+ }>;
1196
+ type: z.ZodLiteral<"UPDATING">;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ type: "UPDATING";
1199
+ data: {
1200
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1201
+ post?: {
1202
+ status?: string | null | undefined;
1203
+ price?: number | null | undefined;
1204
+ currency?: string | null | undefined;
1205
+ brand?: string | null | undefined;
1206
+ catalog?: string | null | undefined;
1207
+ catalogId?: number | null | undefined;
1208
+ colors?: string[] | null | undefined;
1209
+ colorIds?: number[] | null | undefined;
1210
+ description?: string | null | undefined;
1211
+ measurementLength?: number | null | undefined;
1212
+ measurementWidth?: number | null | undefined;
1213
+ packageSizeId?: number | null | undefined;
1214
+ photoUrls?: string[] | null | undefined;
1215
+ size?: string | null | undefined;
1216
+ sizeId?: number | null | undefined;
1217
+ statusId?: number | null | undefined;
1218
+ title?: string | null | undefined;
1219
+ isDraft?: boolean | null | undefined;
1220
+ isArchived?: boolean | null | undefined;
1221
+ availableQuantity?: number | null | undefined;
1222
+ material?: number[] | null | undefined;
1223
+ manufacturerLabelling?: string | null | undefined;
1224
+ labels?: string[] | null | undefined;
1225
+ } | null | undefined;
1226
+ targetDate?: Date | null | undefined;
1227
+ };
1228
+ }, {
1229
+ type: "UPDATING";
1230
+ data: {
1231
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1232
+ post?: {
1233
+ status?: string | null | undefined;
1234
+ price?: number | null | undefined;
1235
+ currency?: string | null | undefined;
1236
+ brand?: string | null | undefined;
1237
+ catalog?: string | null | undefined;
1238
+ catalogId?: number | null | undefined;
1239
+ colors?: string[] | null | undefined;
1240
+ colorIds?: number[] | null | undefined;
1241
+ description?: string | null | undefined;
1242
+ measurementLength?: number | null | undefined;
1243
+ measurementWidth?: number | null | undefined;
1244
+ packageSizeId?: number | null | undefined;
1245
+ photoUrls?: string[] | null | undefined;
1246
+ size?: string | null | undefined;
1247
+ sizeId?: number | null | undefined;
1248
+ statusId?: number | null | undefined;
1249
+ title?: string | null | undefined;
1250
+ isDraft?: boolean | null | undefined;
1251
+ isArchived?: boolean | null | undefined;
1252
+ availableQuantity?: number | null | undefined;
1253
+ material?: number[] | null | undefined;
1254
+ manufacturerLabelling?: string | null | undefined;
1255
+ labels?: string[] | null | undefined;
1256
+ } | null | undefined;
1257
+ targetDate?: Date | null | undefined;
1258
+ };
1043
1259
  }>]>>>;
1044
1260
  createdAt: z.ZodDate;
1045
1261
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1204,6 +1420,42 @@ export declare const ListedItemSchema: z.ZodObject<{
1204
1420
  error?: string | null | undefined;
1205
1421
  }[] | null | undefined;
1206
1422
  };
1423
+ } | {
1424
+ type: "UPDATED";
1425
+ data: {
1426
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1427
+ };
1428
+ } | {
1429
+ type: "UPDATING";
1430
+ data: {
1431
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1432
+ post?: {
1433
+ status?: string | null | undefined;
1434
+ price?: number | null | undefined;
1435
+ currency?: string | null | undefined;
1436
+ brand?: string | null | undefined;
1437
+ catalog?: string | null | undefined;
1438
+ catalogId?: number | null | undefined;
1439
+ colors?: string[] | null | undefined;
1440
+ colorIds?: number[] | null | undefined;
1441
+ description?: string | null | undefined;
1442
+ measurementLength?: number | null | undefined;
1443
+ measurementWidth?: number | null | undefined;
1444
+ packageSizeId?: number | null | undefined;
1445
+ photoUrls?: string[] | null | undefined;
1446
+ size?: string | null | undefined;
1447
+ sizeId?: number | null | undefined;
1448
+ statusId?: number | null | undefined;
1449
+ title?: string | null | undefined;
1450
+ isDraft?: boolean | null | undefined;
1451
+ isArchived?: boolean | null | undefined;
1452
+ availableQuantity?: number | null | undefined;
1453
+ material?: number[] | null | undefined;
1454
+ manufacturerLabelling?: string | null | undefined;
1455
+ labels?: string[] | null | undefined;
1456
+ } | null | undefined;
1457
+ targetDate?: Date | null | undefined;
1458
+ };
1207
1459
  } | null | undefined;
1208
1460
  accountId?: string | null | undefined;
1209
1461
  requestId?: string | null | undefined;
@@ -1367,6 +1619,42 @@ export declare const ListedItemSchema: z.ZodObject<{
1367
1619
  error?: string | null | undefined;
1368
1620
  }[] | null | undefined;
1369
1621
  };
1622
+ } | {
1623
+ type: "UPDATED";
1624
+ data: {
1625
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1626
+ };
1627
+ } | {
1628
+ type: "UPDATING";
1629
+ data: {
1630
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1631
+ post?: {
1632
+ status?: string | null | undefined;
1633
+ price?: number | null | undefined;
1634
+ currency?: string | null | undefined;
1635
+ brand?: string | null | undefined;
1636
+ catalog?: string | null | undefined;
1637
+ catalogId?: number | null | undefined;
1638
+ colors?: string[] | null | undefined;
1639
+ colorIds?: number[] | null | undefined;
1640
+ description?: string | null | undefined;
1641
+ measurementLength?: number | null | undefined;
1642
+ measurementWidth?: number | null | undefined;
1643
+ packageSizeId?: number | null | undefined;
1644
+ photoUrls?: string[] | null | undefined;
1645
+ size?: string | null | undefined;
1646
+ sizeId?: number | null | undefined;
1647
+ statusId?: number | null | undefined;
1648
+ title?: string | null | undefined;
1649
+ isDraft?: boolean | null | undefined;
1650
+ isArchived?: boolean | null | undefined;
1651
+ availableQuantity?: number | null | undefined;
1652
+ material?: number[] | null | undefined;
1653
+ manufacturerLabelling?: string | null | undefined;
1654
+ labels?: string[] | null | undefined;
1655
+ } | null | undefined;
1656
+ targetDate?: Date | null | undefined;
1657
+ };
1370
1658
  } | null | undefined;
1371
1659
  accountId?: string | null | undefined;
1372
1660
  requestId?: string | null | undefined;
@@ -1495,11 +1783,11 @@ export declare const ListedItemSchema: z.ZodObject<{
1495
1783
  favoritesCount?: number | null | undefined;
1496
1784
  }>, "many">>>;
1497
1785
  actions: z.ZodObject<{
1498
- perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodEnum<["PUBLISH", "REPUBLISH"]>, "many">>;
1786
+ perAccount: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodEnum<["PUBLISH", "PUBLISH_CANCEL", "REPUBLISH", "REPUBLISH_CANCEL", "UPDATE"]>, "many">>;
1499
1787
  }, "strip", z.ZodTypeAny, {
1500
- perAccount: Record<string, ("REPUBLISH" | "PUBLISH")[]>;
1788
+ perAccount: Record<string, ("REPUBLISH" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE")[]>;
1501
1789
  }, {
1502
- perAccount: Record<string, ("REPUBLISH" | "PUBLISH")[]>;
1790
+ perAccount: Record<string, ("REPUBLISH" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE")[]>;
1503
1791
  }>;
1504
1792
  createdAt: z.ZodDate;
1505
1793
  updatedAt: z.ZodDate;
@@ -1511,7 +1799,7 @@ export declare const ListedItemSchema: z.ZodObject<{
1511
1799
  createdAt: Date;
1512
1800
  sold: boolean;
1513
1801
  actions: {
1514
- perAccount: Record<string, ("REPUBLISH" | "PUBLISH")[]>;
1802
+ perAccount: Record<string, ("REPUBLISH" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE")[]>;
1515
1803
  };
1516
1804
  state?: number | null | undefined;
1517
1805
  colorIds?: number[] | null | undefined;
@@ -1736,6 +2024,42 @@ export declare const ListedItemSchema: z.ZodObject<{
1736
2024
  error?: string | null | undefined;
1737
2025
  }[] | null | undefined;
1738
2026
  };
2027
+ } | {
2028
+ type: "UPDATED";
2029
+ data: {
2030
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2031
+ };
2032
+ } | {
2033
+ type: "UPDATING";
2034
+ data: {
2035
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2036
+ post?: {
2037
+ status?: string | null | undefined;
2038
+ price?: number | null | undefined;
2039
+ currency?: string | null | undefined;
2040
+ brand?: string | null | undefined;
2041
+ catalog?: string | null | undefined;
2042
+ catalogId?: number | null | undefined;
2043
+ colors?: string[] | null | undefined;
2044
+ colorIds?: number[] | null | undefined;
2045
+ description?: string | null | undefined;
2046
+ measurementLength?: number | null | undefined;
2047
+ measurementWidth?: number | null | undefined;
2048
+ packageSizeId?: number | null | undefined;
2049
+ photoUrls?: string[] | null | undefined;
2050
+ size?: string | null | undefined;
2051
+ sizeId?: number | null | undefined;
2052
+ statusId?: number | null | undefined;
2053
+ title?: string | null | undefined;
2054
+ isDraft?: boolean | null | undefined;
2055
+ isArchived?: boolean | null | undefined;
2056
+ availableQuantity?: number | null | undefined;
2057
+ material?: number[] | null | undefined;
2058
+ manufacturerLabelling?: string | null | undefined;
2059
+ labels?: string[] | null | undefined;
2060
+ } | null | undefined;
2061
+ targetDate?: Date | null | undefined;
2062
+ };
1739
2063
  } | null | undefined;
1740
2064
  accountId?: string | null | undefined;
1741
2065
  requestId?: string | null | undefined;
@@ -1779,7 +2103,7 @@ export declare const ListedItemSchema: z.ZodObject<{
1779
2103
  createdAt: Date;
1780
2104
  sold: boolean;
1781
2105
  actions: {
1782
- perAccount: Record<string, ("REPUBLISH" | "PUBLISH")[]>;
2106
+ perAccount: Record<string, ("REPUBLISH" | "PUBLISH" | "PUBLISH_CANCEL" | "REPUBLISH_CANCEL" | "UPDATE")[]>;
1783
2107
  };
1784
2108
  state?: number | null | undefined;
1785
2109
  colorIds?: number[] | null | undefined;
@@ -2004,6 +2328,42 @@ export declare const ListedItemSchema: z.ZodObject<{
2004
2328
  error?: string | null | undefined;
2005
2329
  }[] | null | undefined;
2006
2330
  };
2331
+ } | {
2332
+ type: "UPDATED";
2333
+ data: {
2334
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2335
+ };
2336
+ } | {
2337
+ type: "UPDATING";
2338
+ data: {
2339
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2340
+ post?: {
2341
+ status?: string | null | undefined;
2342
+ price?: number | null | undefined;
2343
+ currency?: string | null | undefined;
2344
+ brand?: string | null | undefined;
2345
+ catalog?: string | null | undefined;
2346
+ catalogId?: number | null | undefined;
2347
+ colors?: string[] | null | undefined;
2348
+ colorIds?: number[] | null | undefined;
2349
+ description?: string | null | undefined;
2350
+ measurementLength?: number | null | undefined;
2351
+ measurementWidth?: number | null | undefined;
2352
+ packageSizeId?: number | null | undefined;
2353
+ photoUrls?: string[] | null | undefined;
2354
+ size?: string | null | undefined;
2355
+ sizeId?: number | null | undefined;
2356
+ statusId?: number | null | undefined;
2357
+ title?: string | null | undefined;
2358
+ isDraft?: boolean | null | undefined;
2359
+ isArchived?: boolean | null | undefined;
2360
+ availableQuantity?: number | null | undefined;
2361
+ material?: number[] | null | undefined;
2362
+ manufacturerLabelling?: string | null | undefined;
2363
+ labels?: string[] | null | undefined;
2364
+ } | null | undefined;
2365
+ targetDate?: Date | null | undefined;
2366
+ };
2007
2367
  } | null | undefined;
2008
2368
  accountId?: string | null | undefined;
2009
2369
  requestId?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ListedItem.d.ts","sourceRoot":"","sources":["ListedItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AASrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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