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
@@ -1083,6 +1083,222 @@ export declare const ItemSchema: z.ZodObject<{
1083
1083
  error?: string | null | undefined;
1084
1084
  }[] | null | undefined;
1085
1085
  };
1086
+ }>, z.ZodObject<{
1087
+ data: z.ZodObject<{
1088
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1091
+ }, {
1092
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1093
+ }>;
1094
+ type: z.ZodLiteral<"UPDATED">;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ type: "UPDATED";
1097
+ data: {
1098
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1099
+ };
1100
+ }, {
1101
+ type: "UPDATED";
1102
+ data: {
1103
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1104
+ };
1105
+ }>, z.ZodObject<{
1106
+ data: z.ZodObject<{
1107
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
1108
+ post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1109
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1110
+ catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1111
+ catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1112
+ colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1113
+ colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1114
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1116
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1117
+ packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1118
+ photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1119
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1120
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1121
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1122
+ sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1123
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1124
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1125
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1126
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1127
+ isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1128
+ availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1129
+ material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1130
+ manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1131
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ status?: string | null | undefined;
1134
+ price?: number | null | undefined;
1135
+ currency?: string | null | undefined;
1136
+ brand?: string | null | undefined;
1137
+ catalog?: string | null | undefined;
1138
+ catalogId?: number | null | undefined;
1139
+ colors?: string[] | null | undefined;
1140
+ colorIds?: number[] | null | undefined;
1141
+ description?: string | null | undefined;
1142
+ measurementLength?: number | null | undefined;
1143
+ measurementWidth?: number | null | undefined;
1144
+ packageSizeId?: number | null | undefined;
1145
+ photoUrls?: string[] | null | undefined;
1146
+ size?: string | null | undefined;
1147
+ sizeId?: number | null | undefined;
1148
+ statusId?: number | null | undefined;
1149
+ title?: string | null | undefined;
1150
+ isDraft?: boolean | null | undefined;
1151
+ isArchived?: boolean | null | undefined;
1152
+ availableQuantity?: number | null | undefined;
1153
+ material?: number[] | null | undefined;
1154
+ manufacturerLabelling?: string | null | undefined;
1155
+ labels?: string[] | null | undefined;
1156
+ }, {
1157
+ status?: string | null | undefined;
1158
+ price?: number | null | undefined;
1159
+ currency?: string | null | undefined;
1160
+ brand?: string | null | undefined;
1161
+ catalog?: string | null | undefined;
1162
+ catalogId?: number | null | undefined;
1163
+ colors?: string[] | null | undefined;
1164
+ colorIds?: number[] | null | undefined;
1165
+ description?: string | null | undefined;
1166
+ measurementLength?: number | null | undefined;
1167
+ measurementWidth?: number | null | undefined;
1168
+ packageSizeId?: number | null | undefined;
1169
+ photoUrls?: string[] | null | undefined;
1170
+ size?: string | null | undefined;
1171
+ sizeId?: number | null | undefined;
1172
+ statusId?: number | null | undefined;
1173
+ title?: string | null | undefined;
1174
+ isDraft?: boolean | null | undefined;
1175
+ isArchived?: boolean | null | undefined;
1176
+ availableQuantity?: number | null | undefined;
1177
+ material?: number[] | null | undefined;
1178
+ manufacturerLabelling?: string | null | undefined;
1179
+ labels?: string[] | null | undefined;
1180
+ }>>>;
1181
+ targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1184
+ post?: {
1185
+ status?: string | null | undefined;
1186
+ price?: number | null | undefined;
1187
+ currency?: string | null | undefined;
1188
+ brand?: string | null | undefined;
1189
+ catalog?: string | null | undefined;
1190
+ catalogId?: number | null | undefined;
1191
+ colors?: string[] | null | undefined;
1192
+ colorIds?: number[] | null | undefined;
1193
+ description?: string | null | undefined;
1194
+ measurementLength?: number | null | undefined;
1195
+ measurementWidth?: number | null | undefined;
1196
+ packageSizeId?: number | null | undefined;
1197
+ photoUrls?: string[] | null | undefined;
1198
+ size?: string | null | undefined;
1199
+ sizeId?: number | null | undefined;
1200
+ statusId?: number | null | undefined;
1201
+ title?: string | null | undefined;
1202
+ isDraft?: boolean | null | undefined;
1203
+ isArchived?: boolean | null | undefined;
1204
+ availableQuantity?: number | null | undefined;
1205
+ material?: number[] | null | undefined;
1206
+ manufacturerLabelling?: string | null | undefined;
1207
+ labels?: string[] | null | undefined;
1208
+ } | null | undefined;
1209
+ targetDate?: Date | null | undefined;
1210
+ }, {
1211
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1212
+ post?: {
1213
+ status?: string | null | undefined;
1214
+ price?: number | null | undefined;
1215
+ currency?: string | null | undefined;
1216
+ brand?: string | null | undefined;
1217
+ catalog?: string | null | undefined;
1218
+ catalogId?: number | null | undefined;
1219
+ colors?: string[] | null | undefined;
1220
+ colorIds?: number[] | null | undefined;
1221
+ description?: string | null | undefined;
1222
+ measurementLength?: number | null | undefined;
1223
+ measurementWidth?: number | null | undefined;
1224
+ packageSizeId?: number | null | undefined;
1225
+ photoUrls?: string[] | null | undefined;
1226
+ size?: string | null | undefined;
1227
+ sizeId?: number | null | undefined;
1228
+ statusId?: number | null | undefined;
1229
+ title?: string | null | undefined;
1230
+ isDraft?: boolean | null | undefined;
1231
+ isArchived?: boolean | null | undefined;
1232
+ availableQuantity?: number | null | undefined;
1233
+ material?: number[] | null | undefined;
1234
+ manufacturerLabelling?: string | null | undefined;
1235
+ labels?: string[] | null | undefined;
1236
+ } | null | undefined;
1237
+ targetDate?: Date | null | undefined;
1238
+ }>;
1239
+ type: z.ZodLiteral<"UPDATING">;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ type: "UPDATING";
1242
+ data: {
1243
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1244
+ post?: {
1245
+ status?: string | null | undefined;
1246
+ price?: number | null | undefined;
1247
+ currency?: string | null | undefined;
1248
+ brand?: string | null | undefined;
1249
+ catalog?: string | null | undefined;
1250
+ catalogId?: number | null | undefined;
1251
+ colors?: string[] | null | undefined;
1252
+ colorIds?: number[] | null | undefined;
1253
+ description?: string | null | undefined;
1254
+ measurementLength?: number | null | undefined;
1255
+ measurementWidth?: number | null | undefined;
1256
+ packageSizeId?: number | null | undefined;
1257
+ photoUrls?: string[] | null | undefined;
1258
+ size?: string | null | undefined;
1259
+ sizeId?: number | null | undefined;
1260
+ statusId?: number | null | undefined;
1261
+ title?: string | null | undefined;
1262
+ isDraft?: boolean | null | undefined;
1263
+ isArchived?: boolean | null | undefined;
1264
+ availableQuantity?: number | null | undefined;
1265
+ material?: number[] | null | undefined;
1266
+ manufacturerLabelling?: string | null | undefined;
1267
+ labels?: string[] | null | undefined;
1268
+ } | null | undefined;
1269
+ targetDate?: Date | null | undefined;
1270
+ };
1271
+ }, {
1272
+ type: "UPDATING";
1273
+ data: {
1274
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1275
+ post?: {
1276
+ status?: string | null | undefined;
1277
+ price?: number | null | undefined;
1278
+ currency?: string | null | undefined;
1279
+ brand?: string | null | undefined;
1280
+ catalog?: string | null | undefined;
1281
+ catalogId?: number | null | undefined;
1282
+ colors?: string[] | null | undefined;
1283
+ colorIds?: number[] | null | undefined;
1284
+ description?: string | null | undefined;
1285
+ measurementLength?: number | null | undefined;
1286
+ measurementWidth?: number | null | undefined;
1287
+ packageSizeId?: number | null | undefined;
1288
+ photoUrls?: string[] | null | undefined;
1289
+ size?: string | null | undefined;
1290
+ sizeId?: number | null | undefined;
1291
+ statusId?: number | null | undefined;
1292
+ title?: string | null | undefined;
1293
+ isDraft?: boolean | null | undefined;
1294
+ isArchived?: boolean | null | undefined;
1295
+ availableQuantity?: number | null | undefined;
1296
+ material?: number[] | null | undefined;
1297
+ manufacturerLabelling?: string | null | undefined;
1298
+ labels?: string[] | null | undefined;
1299
+ } | null | undefined;
1300
+ targetDate?: Date | null | undefined;
1301
+ };
1086
1302
  }>]>>>;
1087
1303
  createdAt: z.ZodDate;
1088
1304
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1247,6 +1463,42 @@ export declare const ItemSchema: z.ZodObject<{
1247
1463
  error?: string | null | undefined;
1248
1464
  }[] | null | undefined;
1249
1465
  };
1466
+ } | {
1467
+ type: "UPDATED";
1468
+ data: {
1469
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1470
+ };
1471
+ } | {
1472
+ type: "UPDATING";
1473
+ data: {
1474
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1475
+ post?: {
1476
+ status?: string | null | undefined;
1477
+ price?: number | null | undefined;
1478
+ currency?: string | null | undefined;
1479
+ brand?: string | null | undefined;
1480
+ catalog?: string | null | undefined;
1481
+ catalogId?: number | null | undefined;
1482
+ colors?: string[] | null | undefined;
1483
+ colorIds?: number[] | null | undefined;
1484
+ description?: string | null | undefined;
1485
+ measurementLength?: number | null | undefined;
1486
+ measurementWidth?: number | null | undefined;
1487
+ packageSizeId?: number | null | undefined;
1488
+ photoUrls?: string[] | null | undefined;
1489
+ size?: string | null | undefined;
1490
+ sizeId?: number | null | undefined;
1491
+ statusId?: number | null | undefined;
1492
+ title?: string | null | undefined;
1493
+ isDraft?: boolean | null | undefined;
1494
+ isArchived?: boolean | null | undefined;
1495
+ availableQuantity?: number | null | undefined;
1496
+ material?: number[] | null | undefined;
1497
+ manufacturerLabelling?: string | null | undefined;
1498
+ labels?: string[] | null | undefined;
1499
+ } | null | undefined;
1500
+ targetDate?: Date | null | undefined;
1501
+ };
1250
1502
  } | null | undefined;
1251
1503
  accountId?: string | null | undefined;
1252
1504
  requestId?: string | null | undefined;
@@ -1410,6 +1662,42 @@ export declare const ItemSchema: z.ZodObject<{
1410
1662
  error?: string | null | undefined;
1411
1663
  }[] | null | undefined;
1412
1664
  };
1665
+ } | {
1666
+ type: "UPDATED";
1667
+ data: {
1668
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1669
+ };
1670
+ } | {
1671
+ type: "UPDATING";
1672
+ data: {
1673
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
1674
+ post?: {
1675
+ status?: string | null | undefined;
1676
+ price?: number | null | undefined;
1677
+ currency?: string | null | undefined;
1678
+ brand?: string | null | undefined;
1679
+ catalog?: string | null | undefined;
1680
+ catalogId?: number | null | undefined;
1681
+ colors?: string[] | null | undefined;
1682
+ colorIds?: number[] | null | undefined;
1683
+ description?: string | null | undefined;
1684
+ measurementLength?: number | null | undefined;
1685
+ measurementWidth?: number | null | undefined;
1686
+ packageSizeId?: number | null | undefined;
1687
+ photoUrls?: string[] | null | undefined;
1688
+ size?: string | null | undefined;
1689
+ sizeId?: number | null | undefined;
1690
+ statusId?: number | null | undefined;
1691
+ title?: string | null | undefined;
1692
+ isDraft?: boolean | null | undefined;
1693
+ isArchived?: boolean | null | undefined;
1694
+ availableQuantity?: number | null | undefined;
1695
+ material?: number[] | null | undefined;
1696
+ manufacturerLabelling?: string | null | undefined;
1697
+ labels?: string[] | null | undefined;
1698
+ } | null | undefined;
1699
+ targetDate?: Date | null | undefined;
1700
+ };
1413
1701
  } | null | undefined;
1414
1702
  accountId?: string | null | undefined;
1415
1703
  requestId?: string | null | undefined;
@@ -2397,6 +2685,222 @@ export declare const ItemSchema: z.ZodObject<{
2397
2685
  error?: string | null | undefined;
2398
2686
  }[] | null | undefined;
2399
2687
  };
2688
+ }>, z.ZodObject<{
2689
+ data: z.ZodObject<{
2690
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2693
+ }, {
2694
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2695
+ }>;
2696
+ type: z.ZodLiteral<"UPDATED">;
2697
+ }, "strip", z.ZodTypeAny, {
2698
+ type: "UPDATED";
2699
+ data: {
2700
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2701
+ };
2702
+ }, {
2703
+ type: "UPDATED";
2704
+ data: {
2705
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2706
+ };
2707
+ }>, z.ZodObject<{
2708
+ data: z.ZodObject<{
2709
+ platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
2710
+ post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2711
+ brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2712
+ catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2713
+ catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2714
+ colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2715
+ colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2716
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2717
+ measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2718
+ measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2719
+ packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2720
+ photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2721
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2722
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2723
+ size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2724
+ sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2725
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
+ statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2727
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2728
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2729
+ isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2730
+ availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2731
+ material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2732
+ manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2733
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ status?: string | null | undefined;
2736
+ price?: number | null | undefined;
2737
+ currency?: string | null | undefined;
2738
+ brand?: string | null | undefined;
2739
+ catalog?: string | null | undefined;
2740
+ catalogId?: number | null | undefined;
2741
+ colors?: string[] | null | undefined;
2742
+ colorIds?: number[] | null | undefined;
2743
+ description?: string | null | undefined;
2744
+ measurementLength?: number | null | undefined;
2745
+ measurementWidth?: number | null | undefined;
2746
+ packageSizeId?: number | null | undefined;
2747
+ photoUrls?: string[] | null | undefined;
2748
+ size?: string | null | undefined;
2749
+ sizeId?: number | null | undefined;
2750
+ statusId?: number | null | undefined;
2751
+ title?: string | null | undefined;
2752
+ isDraft?: boolean | null | undefined;
2753
+ isArchived?: boolean | null | undefined;
2754
+ availableQuantity?: number | null | undefined;
2755
+ material?: number[] | null | undefined;
2756
+ manufacturerLabelling?: string | null | undefined;
2757
+ labels?: string[] | null | undefined;
2758
+ }, {
2759
+ status?: string | null | undefined;
2760
+ price?: number | null | undefined;
2761
+ currency?: string | null | undefined;
2762
+ brand?: string | null | undefined;
2763
+ catalog?: string | null | undefined;
2764
+ catalogId?: number | null | undefined;
2765
+ colors?: string[] | null | undefined;
2766
+ colorIds?: number[] | null | undefined;
2767
+ description?: string | null | undefined;
2768
+ measurementLength?: number | null | undefined;
2769
+ measurementWidth?: number | null | undefined;
2770
+ packageSizeId?: number | null | undefined;
2771
+ photoUrls?: string[] | null | undefined;
2772
+ size?: string | null | undefined;
2773
+ sizeId?: number | null | undefined;
2774
+ statusId?: number | null | undefined;
2775
+ title?: string | null | undefined;
2776
+ isDraft?: boolean | null | undefined;
2777
+ isArchived?: boolean | null | undefined;
2778
+ availableQuantity?: number | null | undefined;
2779
+ material?: number[] | null | undefined;
2780
+ manufacturerLabelling?: string | null | undefined;
2781
+ labels?: string[] | null | undefined;
2782
+ }>>>;
2783
+ targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2784
+ }, "strip", z.ZodTypeAny, {
2785
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2786
+ post?: {
2787
+ status?: string | null | undefined;
2788
+ price?: number | null | undefined;
2789
+ currency?: string | null | undefined;
2790
+ brand?: string | null | undefined;
2791
+ catalog?: string | null | undefined;
2792
+ catalogId?: number | null | undefined;
2793
+ colors?: string[] | null | undefined;
2794
+ colorIds?: number[] | null | undefined;
2795
+ description?: string | null | undefined;
2796
+ measurementLength?: number | null | undefined;
2797
+ measurementWidth?: number | null | undefined;
2798
+ packageSizeId?: number | null | undefined;
2799
+ photoUrls?: string[] | null | undefined;
2800
+ size?: string | null | undefined;
2801
+ sizeId?: number | null | undefined;
2802
+ statusId?: number | null | undefined;
2803
+ title?: string | null | undefined;
2804
+ isDraft?: boolean | null | undefined;
2805
+ isArchived?: boolean | null | undefined;
2806
+ availableQuantity?: number | null | undefined;
2807
+ material?: number[] | null | undefined;
2808
+ manufacturerLabelling?: string | null | undefined;
2809
+ labels?: string[] | null | undefined;
2810
+ } | null | undefined;
2811
+ targetDate?: Date | null | undefined;
2812
+ }, {
2813
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2814
+ post?: {
2815
+ status?: string | null | undefined;
2816
+ price?: number | null | undefined;
2817
+ currency?: string | null | undefined;
2818
+ brand?: string | null | undefined;
2819
+ catalog?: string | null | undefined;
2820
+ catalogId?: number | null | undefined;
2821
+ colors?: string[] | null | undefined;
2822
+ colorIds?: number[] | null | undefined;
2823
+ description?: string | null | undefined;
2824
+ measurementLength?: number | null | undefined;
2825
+ measurementWidth?: number | null | undefined;
2826
+ packageSizeId?: number | null | undefined;
2827
+ photoUrls?: string[] | null | undefined;
2828
+ size?: string | null | undefined;
2829
+ sizeId?: number | null | undefined;
2830
+ statusId?: number | null | undefined;
2831
+ title?: string | null | undefined;
2832
+ isDraft?: boolean | null | undefined;
2833
+ isArchived?: boolean | null | undefined;
2834
+ availableQuantity?: number | null | undefined;
2835
+ material?: number[] | null | undefined;
2836
+ manufacturerLabelling?: string | null | undefined;
2837
+ labels?: string[] | null | undefined;
2838
+ } | null | undefined;
2839
+ targetDate?: Date | null | undefined;
2840
+ }>;
2841
+ type: z.ZodLiteral<"UPDATING">;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ type: "UPDATING";
2844
+ data: {
2845
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2846
+ post?: {
2847
+ status?: string | null | undefined;
2848
+ price?: number | null | undefined;
2849
+ currency?: string | null | undefined;
2850
+ brand?: string | null | undefined;
2851
+ catalog?: string | null | undefined;
2852
+ catalogId?: number | null | undefined;
2853
+ colors?: string[] | null | undefined;
2854
+ colorIds?: number[] | null | undefined;
2855
+ description?: string | null | undefined;
2856
+ measurementLength?: number | null | undefined;
2857
+ measurementWidth?: number | null | undefined;
2858
+ packageSizeId?: number | null | undefined;
2859
+ photoUrls?: string[] | null | undefined;
2860
+ size?: string | null | undefined;
2861
+ sizeId?: number | null | undefined;
2862
+ statusId?: number | null | undefined;
2863
+ title?: string | null | undefined;
2864
+ isDraft?: boolean | null | undefined;
2865
+ isArchived?: boolean | null | undefined;
2866
+ availableQuantity?: number | null | undefined;
2867
+ material?: number[] | null | undefined;
2868
+ manufacturerLabelling?: string | null | undefined;
2869
+ labels?: string[] | null | undefined;
2870
+ } | null | undefined;
2871
+ targetDate?: Date | null | undefined;
2872
+ };
2873
+ }, {
2874
+ type: "UPDATING";
2875
+ data: {
2876
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
2877
+ post?: {
2878
+ status?: string | null | undefined;
2879
+ price?: number | null | undefined;
2880
+ currency?: string | null | undefined;
2881
+ brand?: string | null | undefined;
2882
+ catalog?: string | null | undefined;
2883
+ catalogId?: number | null | undefined;
2884
+ colors?: string[] | null | undefined;
2885
+ colorIds?: number[] | null | undefined;
2886
+ description?: string | null | undefined;
2887
+ measurementLength?: number | null | undefined;
2888
+ measurementWidth?: number | null | undefined;
2889
+ packageSizeId?: number | null | undefined;
2890
+ photoUrls?: string[] | null | undefined;
2891
+ size?: string | null | undefined;
2892
+ sizeId?: number | null | undefined;
2893
+ statusId?: number | null | undefined;
2894
+ title?: string | null | undefined;
2895
+ isDraft?: boolean | null | undefined;
2896
+ isArchived?: boolean | null | undefined;
2897
+ availableQuantity?: number | null | undefined;
2898
+ material?: number[] | null | undefined;
2899
+ manufacturerLabelling?: string | null | undefined;
2900
+ labels?: string[] | null | undefined;
2901
+ } | null | undefined;
2902
+ targetDate?: Date | null | undefined;
2903
+ };
2400
2904
  }>]>>>;
2401
2905
  createdAt: z.ZodDate;
2402
2906
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2561,6 +3065,42 @@ export declare const ItemSchema: z.ZodObject<{
2561
3065
  error?: string | null | undefined;
2562
3066
  }[] | null | undefined;
2563
3067
  };
3068
+ } | {
3069
+ type: "UPDATED";
3070
+ data: {
3071
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3072
+ };
3073
+ } | {
3074
+ type: "UPDATING";
3075
+ data: {
3076
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3077
+ post?: {
3078
+ status?: string | null | undefined;
3079
+ price?: number | null | undefined;
3080
+ currency?: string | null | undefined;
3081
+ brand?: string | null | undefined;
3082
+ catalog?: string | null | undefined;
3083
+ catalogId?: number | null | undefined;
3084
+ colors?: string[] | null | undefined;
3085
+ colorIds?: number[] | null | undefined;
3086
+ description?: string | null | undefined;
3087
+ measurementLength?: number | null | undefined;
3088
+ measurementWidth?: number | null | undefined;
3089
+ packageSizeId?: number | null | undefined;
3090
+ photoUrls?: string[] | null | undefined;
3091
+ size?: string | null | undefined;
3092
+ sizeId?: number | null | undefined;
3093
+ statusId?: number | null | undefined;
3094
+ title?: string | null | undefined;
3095
+ isDraft?: boolean | null | undefined;
3096
+ isArchived?: boolean | null | undefined;
3097
+ availableQuantity?: number | null | undefined;
3098
+ material?: number[] | null | undefined;
3099
+ manufacturerLabelling?: string | null | undefined;
3100
+ labels?: string[] | null | undefined;
3101
+ } | null | undefined;
3102
+ targetDate?: Date | null | undefined;
3103
+ };
2564
3104
  } | null | undefined;
2565
3105
  accountId?: string | null | undefined;
2566
3106
  requestId?: string | null | undefined;
@@ -2724,6 +3264,42 @@ export declare const ItemSchema: z.ZodObject<{
2724
3264
  error?: string | null | undefined;
2725
3265
  }[] | null | undefined;
2726
3266
  };
3267
+ } | {
3268
+ type: "UPDATED";
3269
+ data: {
3270
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3271
+ };
3272
+ } | {
3273
+ type: "UPDATING";
3274
+ data: {
3275
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3276
+ post?: {
3277
+ status?: string | null | undefined;
3278
+ price?: number | null | undefined;
3279
+ currency?: string | null | undefined;
3280
+ brand?: string | null | undefined;
3281
+ catalog?: string | null | undefined;
3282
+ catalogId?: number | null | undefined;
3283
+ colors?: string[] | null | undefined;
3284
+ colorIds?: number[] | null | undefined;
3285
+ description?: string | null | undefined;
3286
+ measurementLength?: number | null | undefined;
3287
+ measurementWidth?: number | null | undefined;
3288
+ packageSizeId?: number | null | undefined;
3289
+ photoUrls?: string[] | null | undefined;
3290
+ size?: string | null | undefined;
3291
+ sizeId?: number | null | undefined;
3292
+ statusId?: number | null | undefined;
3293
+ title?: string | null | undefined;
3294
+ isDraft?: boolean | null | undefined;
3295
+ isArchived?: boolean | null | undefined;
3296
+ availableQuantity?: number | null | undefined;
3297
+ material?: number[] | null | undefined;
3298
+ manufacturerLabelling?: string | null | undefined;
3299
+ labels?: string[] | null | undefined;
3300
+ } | null | undefined;
3301
+ targetDate?: Date | null | undefined;
3302
+ };
2727
3303
  } | null | undefined;
2728
3304
  accountId?: string | null | undefined;
2729
3305
  requestId?: string | null | undefined;
@@ -2980,6 +3556,42 @@ export declare const ItemSchema: z.ZodObject<{
2980
3556
  error?: string | null | undefined;
2981
3557
  }[] | null | undefined;
2982
3558
  };
3559
+ } | {
3560
+ type: "UPDATED";
3561
+ data: {
3562
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3563
+ };
3564
+ } | {
3565
+ type: "UPDATING";
3566
+ data: {
3567
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3568
+ post?: {
3569
+ status?: string | null | undefined;
3570
+ price?: number | null | undefined;
3571
+ currency?: string | null | undefined;
3572
+ brand?: string | null | undefined;
3573
+ catalog?: string | null | undefined;
3574
+ catalogId?: number | null | undefined;
3575
+ colors?: string[] | null | undefined;
3576
+ colorIds?: number[] | null | undefined;
3577
+ description?: string | null | undefined;
3578
+ measurementLength?: number | null | undefined;
3579
+ measurementWidth?: number | null | undefined;
3580
+ packageSizeId?: number | null | undefined;
3581
+ photoUrls?: string[] | null | undefined;
3582
+ size?: string | null | undefined;
3583
+ sizeId?: number | null | undefined;
3584
+ statusId?: number | null | undefined;
3585
+ title?: string | null | undefined;
3586
+ isDraft?: boolean | null | undefined;
3587
+ isArchived?: boolean | null | undefined;
3588
+ availableQuantity?: number | null | undefined;
3589
+ material?: number[] | null | undefined;
3590
+ manufacturerLabelling?: string | null | undefined;
3591
+ labels?: string[] | null | undefined;
3592
+ } | null | undefined;
3593
+ targetDate?: Date | null | undefined;
3594
+ };
2983
3595
  } | null | undefined;
2984
3596
  accountId?: string | null | undefined;
2985
3597
  requestId?: string | null | undefined;
@@ -3174,6 +3786,42 @@ export declare const ItemSchema: z.ZodObject<{
3174
3786
  error?: string | null | undefined;
3175
3787
  }[] | null | undefined;
3176
3788
  };
3789
+ } | {
3790
+ type: "UPDATED";
3791
+ data: {
3792
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3793
+ };
3794
+ } | {
3795
+ type: "UPDATING";
3796
+ data: {
3797
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
3798
+ post?: {
3799
+ status?: string | null | undefined;
3800
+ price?: number | null | undefined;
3801
+ currency?: string | null | undefined;
3802
+ brand?: string | null | undefined;
3803
+ catalog?: string | null | undefined;
3804
+ catalogId?: number | null | undefined;
3805
+ colors?: string[] | null | undefined;
3806
+ colorIds?: number[] | null | undefined;
3807
+ description?: string | null | undefined;
3808
+ measurementLength?: number | null | undefined;
3809
+ measurementWidth?: number | null | undefined;
3810
+ packageSizeId?: number | null | undefined;
3811
+ photoUrls?: string[] | null | undefined;
3812
+ size?: string | null | undefined;
3813
+ sizeId?: number | null | undefined;
3814
+ statusId?: number | null | undefined;
3815
+ title?: string | null | undefined;
3816
+ isDraft?: boolean | null | undefined;
3817
+ isArchived?: boolean | null | undefined;
3818
+ availableQuantity?: number | null | undefined;
3819
+ material?: number[] | null | undefined;
3820
+ manufacturerLabelling?: string | null | undefined;
3821
+ labels?: string[] | null | undefined;
3822
+ } | null | undefined;
3823
+ targetDate?: Date | null | undefined;
3824
+ };
3177
3825
  } | null | undefined;
3178
3826
  accountId?: string | null | undefined;
3179
3827
  requestId?: string | null | undefined;
@@ -3428,6 +4076,42 @@ export declare const ItemSchema: z.ZodObject<{
3428
4076
  error?: string | null | undefined;
3429
4077
  }[] | null | undefined;
3430
4078
  };
4079
+ } | {
4080
+ type: "UPDATED";
4081
+ data: {
4082
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
4083
+ };
4084
+ } | {
4085
+ type: "UPDATING";
4086
+ data: {
4087
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
4088
+ post?: {
4089
+ status?: string | null | undefined;
4090
+ price?: number | null | undefined;
4091
+ currency?: string | null | undefined;
4092
+ brand?: string | null | undefined;
4093
+ catalog?: string | null | undefined;
4094
+ catalogId?: number | null | undefined;
4095
+ colors?: string[] | null | undefined;
4096
+ colorIds?: number[] | null | undefined;
4097
+ description?: string | null | undefined;
4098
+ measurementLength?: number | null | undefined;
4099
+ measurementWidth?: number | null | undefined;
4100
+ packageSizeId?: number | null | undefined;
4101
+ photoUrls?: string[] | null | undefined;
4102
+ size?: string | null | undefined;
4103
+ sizeId?: number | null | undefined;
4104
+ statusId?: number | null | undefined;
4105
+ title?: string | null | undefined;
4106
+ isDraft?: boolean | null | undefined;
4107
+ isArchived?: boolean | null | undefined;
4108
+ availableQuantity?: number | null | undefined;
4109
+ material?: number[] | null | undefined;
4110
+ manufacturerLabelling?: string | null | undefined;
4111
+ labels?: string[] | null | undefined;
4112
+ } | null | undefined;
4113
+ targetDate?: Date | null | undefined;
4114
+ };
3431
4115
  } | null | undefined;
3432
4116
  accountId?: string | null | undefined;
3433
4117
  requestId?: string | null | undefined;
@@ -3622,6 +4306,42 @@ export declare const ItemSchema: z.ZodObject<{
3622
4306
  error?: string | null | undefined;
3623
4307
  }[] | null | undefined;
3624
4308
  };
4309
+ } | {
4310
+ type: "UPDATED";
4311
+ data: {
4312
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
4313
+ };
4314
+ } | {
4315
+ type: "UPDATING";
4316
+ data: {
4317
+ platform: "ETSY" | "SHOPIFY" | "VINTED";
4318
+ post?: {
4319
+ status?: string | null | undefined;
4320
+ price?: number | null | undefined;
4321
+ currency?: string | null | undefined;
4322
+ brand?: string | null | undefined;
4323
+ catalog?: string | null | undefined;
4324
+ catalogId?: number | null | undefined;
4325
+ colors?: string[] | null | undefined;
4326
+ colorIds?: number[] | null | undefined;
4327
+ description?: string | null | undefined;
4328
+ measurementLength?: number | null | undefined;
4329
+ measurementWidth?: number | null | undefined;
4330
+ packageSizeId?: number | null | undefined;
4331
+ photoUrls?: string[] | null | undefined;
4332
+ size?: string | null | undefined;
4333
+ sizeId?: number | null | undefined;
4334
+ statusId?: number | null | undefined;
4335
+ title?: string | null | undefined;
4336
+ isDraft?: boolean | null | undefined;
4337
+ isArchived?: boolean | null | undefined;
4338
+ availableQuantity?: number | null | undefined;
4339
+ material?: number[] | null | undefined;
4340
+ manufacturerLabelling?: string | null | undefined;
4341
+ labels?: string[] | null | undefined;
4342
+ } | null | undefined;
4343
+ targetDate?: Date | null | undefined;
4344
+ };
3625
4345
  } | null | undefined;
3626
4346
  accountId?: string | null | undefined;
3627
4347
  requestId?: string | null | undefined;