controlresell 2.18.2 → 2.18.4

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 (95) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +3 -3
  3. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +1 -1
  4. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -1
  5. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +1 -1
  6. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -1
  7. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +1 -1
  8. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +2 -5
  9. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
  10. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +0 -1
  11. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
  12. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +0 -1
  13. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +159 -0
  14. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts.map +1 -0
  15. package/src/com/controlresell/api/requests/items/update/UpdateRequest.js +10 -0
  16. package/src/com/controlresell/api/requests/items/update/UpdateRequest.js.map +1 -0
  17. package/src/com/controlresell/api/requests/items/update/UpdateRequest.ts +11 -0
  18. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +136 -356
  19. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  20. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +116 -300
  21. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  22. package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
  23. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +12 -12
  24. package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
  25. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -3
  26. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts +1 -1
  27. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts.map +1 -1
  28. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js +1 -1
  29. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js.map +1 -1
  30. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.ts +1 -1
  31. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -3
  32. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -3
  33. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -5
  34. package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +3 -3
  35. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +3 -0
  36. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
  37. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +1 -0
  38. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
  39. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +1 -0
  40. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
  41. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
  42. package/src/com/controlresell/models/items/CreatedItems.d.ts +272 -712
  43. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  44. package/src/com/controlresell/models/items/Item.d.ts +232 -600
  45. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  46. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
  47. package/src/com/controlresell/models/items/ItemUpdate.d.ts +136 -356
  48. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  49. package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts +45 -0
  50. package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts.map +1 -0
  51. package/src/com/controlresell/models/items/ItemUpdatePayload.js +6 -0
  52. package/src/com/controlresell/models/items/ItemUpdatePayload.js.map +1 -0
  53. package/src/com/controlresell/models/items/ItemUpdatePayload.ts +7 -0
  54. package/src/com/controlresell/models/items/UpdatedItem.d.ts +272 -712
  55. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  56. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +96 -244
  57. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
  58. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +96 -244
  59. package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
  60. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +150 -374
  61. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
  62. package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
  63. package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
  64. package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
  65. package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
  66. package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
  67. package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
  68. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +57 -133
  69. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -1
  70. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js +2 -2
  71. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -1
  72. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.ts +2 -1
  73. package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +3 -3
  74. package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +3 -3
  75. package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
  76. package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
  77. package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
  78. package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
  79. package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
  80. package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +3 -3
  81. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +156 -412
  82. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  83. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +136 -356
  84. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  85. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +136 -356
  86. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  87. package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +7 -7
  88. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +310 -750
  89. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  90. package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +10 -10
  91. package/src/index.d.ts +2 -0
  92. package/src/index.d.ts.map +1 -1
  93. package/src/index.js +2 -0
  94. package/src/index.js.map +1 -1
  95. package/src/index.ts +2 -0
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const ItemHistorySchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  itemId: z.ZodNumber;
5
- type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "CANCELED", "DISPUTE", "DELETING", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
5
+ type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "FAILED_TO_UPDATE", "CANCELED", "DISPUTE", "DELETING", "DELETED", "DELETE_CANCELED", "FAILED_TO_DELETE", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
6
6
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7
7
  data: z.ZodObject<{
8
8
  targetItemHistoryId: z.ZodString;
@@ -1285,149 +1285,73 @@ export declare const ItemHistorySchema: z.ZodObject<{
1285
1285
  }>, z.ZodObject<{
1286
1286
  data: z.ZodObject<{
1287
1287
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
1288
- post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1289
- brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
- catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1291
- catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1292
- colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1293
- colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1294
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1295
- measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1296
- measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1297
- packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1298
- photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1299
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1300
- currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1301
- size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1302
- sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1303
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1304
- statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1305
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
- isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1307
- isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1308
- isHidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1309
- isDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1310
- isUnisex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1311
- availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1312
- material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1313
- manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1314
- labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1288
+ payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1289
+ priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1290
+ type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
1291
+ value: z.ZodNumber;
1292
+ roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
1293
+ roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1294
+ negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
1295
+ maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ value: number;
1298
+ type: "PERCENTAGE" | "ABSOLUTE";
1299
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1300
+ roundStep?: number | null | undefined;
1301
+ negotiationProfile?: "AUTO" | null | undefined;
1302
+ maxRounds?: number | null | undefined;
1303
+ }, {
1304
+ value: number;
1305
+ type: "PERCENTAGE" | "ABSOLUTE";
1306
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1307
+ roundStep?: number | null | undefined;
1308
+ negotiationProfile?: "AUTO" | null | undefined;
1309
+ maxRounds?: number | null | undefined;
1310
+ }>>>;
1315
1311
  }, "strip", z.ZodTypeAny, {
1316
- status?: string | null | undefined;
1317
- title?: string | null | undefined;
1318
- description?: string | null | undefined;
1319
- brand?: string | null | undefined;
1320
- statusId?: number | null | undefined;
1321
- sizeId?: number | null | undefined;
1322
- colorIds?: number[] | null | undefined;
1323
- packageSizeId?: number | null | undefined;
1324
- price?: number | null | undefined;
1325
- currency?: string | null | undefined;
1326
- catalog?: string | null | undefined;
1327
- catalogId?: number | null | undefined;
1328
- colors?: string[] | null | undefined;
1329
- measurementLength?: number | null | undefined;
1330
- measurementWidth?: number | null | undefined;
1331
- photoUrls?: string[] | null | undefined;
1332
- size?: string | null | undefined;
1333
- isDraft?: boolean | null | undefined;
1334
- isArchived?: boolean | null | undefined;
1335
- isUnisex?: boolean | null | undefined;
1336
- availableQuantity?: number | null | undefined;
1337
- material?: number[] | null | undefined;
1338
- manufacturerLabelling?: string | null | undefined;
1339
- labels?: string[] | null | undefined;
1340
- isHidden?: boolean | null | undefined;
1341
- isDeleted?: boolean | null | undefined;
1312
+ priceDropPayload?: {
1313
+ value: number;
1314
+ type: "PERCENTAGE" | "ABSOLUTE";
1315
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1316
+ roundStep?: number | null | undefined;
1317
+ negotiationProfile?: "AUTO" | null | undefined;
1318
+ maxRounds?: number | null | undefined;
1319
+ } | null | undefined;
1342
1320
  }, {
1343
- status?: string | null | undefined;
1344
- title?: string | null | undefined;
1345
- description?: string | null | undefined;
1346
- brand?: string | null | undefined;
1347
- statusId?: number | null | undefined;
1348
- sizeId?: number | null | undefined;
1349
- colorIds?: number[] | null | undefined;
1350
- packageSizeId?: number | null | undefined;
1351
- price?: number | null | undefined;
1352
- currency?: string | null | undefined;
1353
- catalog?: string | null | undefined;
1354
- catalogId?: number | null | undefined;
1355
- colors?: string[] | null | undefined;
1356
- measurementLength?: number | null | undefined;
1357
- measurementWidth?: number | null | undefined;
1358
- photoUrls?: string[] | null | undefined;
1359
- size?: string | null | undefined;
1360
- isDraft?: boolean | null | undefined;
1361
- isArchived?: boolean | null | undefined;
1362
- isUnisex?: boolean | null | undefined;
1363
- availableQuantity?: number | null | undefined;
1364
- material?: number[] | null | undefined;
1365
- manufacturerLabelling?: string | null | undefined;
1366
- labels?: string[] | null | undefined;
1367
- isHidden?: boolean | null | undefined;
1368
- isDeleted?: boolean | null | undefined;
1321
+ priceDropPayload?: {
1322
+ value: number;
1323
+ type: "PERCENTAGE" | "ABSOLUTE";
1324
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1325
+ roundStep?: number | null | undefined;
1326
+ negotiationProfile?: "AUTO" | null | undefined;
1327
+ maxRounds?: number | null | undefined;
1328
+ } | null | undefined;
1369
1329
  }>>>;
1370
1330
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1371
1331
  }, "strip", z.ZodTypeAny, {
1372
1332
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1373
- post?: {
1374
- status?: string | null | undefined;
1375
- title?: string | null | undefined;
1376
- description?: string | null | undefined;
1377
- brand?: string | null | undefined;
1378
- statusId?: number | null | undefined;
1379
- sizeId?: number | null | undefined;
1380
- colorIds?: number[] | null | undefined;
1381
- packageSizeId?: number | null | undefined;
1382
- price?: number | null | undefined;
1383
- currency?: string | null | undefined;
1384
- catalog?: string | null | undefined;
1385
- catalogId?: number | null | undefined;
1386
- colors?: string[] | null | undefined;
1387
- measurementLength?: number | null | undefined;
1388
- measurementWidth?: number | null | undefined;
1389
- photoUrls?: string[] | null | undefined;
1390
- size?: string | null | undefined;
1391
- isDraft?: boolean | null | undefined;
1392
- isArchived?: boolean | null | undefined;
1393
- isUnisex?: boolean | null | undefined;
1394
- availableQuantity?: number | null | undefined;
1395
- material?: number[] | null | undefined;
1396
- manufacturerLabelling?: string | null | undefined;
1397
- labels?: string[] | null | undefined;
1398
- isHidden?: boolean | null | undefined;
1399
- isDeleted?: boolean | null | undefined;
1333
+ payload?: {
1334
+ priceDropPayload?: {
1335
+ value: number;
1336
+ type: "PERCENTAGE" | "ABSOLUTE";
1337
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1338
+ roundStep?: number | null | undefined;
1339
+ negotiationProfile?: "AUTO" | null | undefined;
1340
+ maxRounds?: number | null | undefined;
1341
+ } | null | undefined;
1400
1342
  } | null | undefined;
1401
1343
  targetDate?: Date | null | undefined;
1402
1344
  }, {
1403
1345
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1404
- post?: {
1405
- status?: string | null | undefined;
1406
- title?: string | null | undefined;
1407
- description?: string | null | undefined;
1408
- brand?: string | null | undefined;
1409
- statusId?: number | null | undefined;
1410
- sizeId?: number | null | undefined;
1411
- colorIds?: number[] | null | undefined;
1412
- packageSizeId?: number | null | undefined;
1413
- price?: number | null | undefined;
1414
- currency?: string | null | undefined;
1415
- catalog?: string | null | undefined;
1416
- catalogId?: number | null | undefined;
1417
- colors?: string[] | null | undefined;
1418
- measurementLength?: number | null | undefined;
1419
- measurementWidth?: number | null | undefined;
1420
- photoUrls?: string[] | null | undefined;
1421
- size?: string | null | undefined;
1422
- isDraft?: boolean | null | undefined;
1423
- isArchived?: boolean | null | undefined;
1424
- isUnisex?: boolean | null | undefined;
1425
- availableQuantity?: number | null | undefined;
1426
- material?: number[] | null | undefined;
1427
- manufacturerLabelling?: string | null | undefined;
1428
- labels?: string[] | null | undefined;
1429
- isHidden?: boolean | null | undefined;
1430
- isDeleted?: boolean | null | undefined;
1346
+ payload?: {
1347
+ priceDropPayload?: {
1348
+ value: number;
1349
+ type: "PERCENTAGE" | "ABSOLUTE";
1350
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1351
+ roundStep?: number | null | undefined;
1352
+ negotiationProfile?: "AUTO" | null | undefined;
1353
+ maxRounds?: number | null | undefined;
1354
+ } | null | undefined;
1431
1355
  } | null | undefined;
1432
1356
  targetDate?: Date | null | undefined;
1433
1357
  }>;
@@ -1436,33 +1360,15 @@ export declare const ItemHistorySchema: z.ZodObject<{
1436
1360
  type: "UPDATING";
1437
1361
  data: {
1438
1362
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1439
- post?: {
1440
- status?: string | null | undefined;
1441
- title?: string | null | undefined;
1442
- description?: string | null | undefined;
1443
- brand?: string | null | undefined;
1444
- statusId?: number | null | undefined;
1445
- sizeId?: number | null | undefined;
1446
- colorIds?: number[] | null | undefined;
1447
- packageSizeId?: number | null | undefined;
1448
- price?: number | null | undefined;
1449
- currency?: string | null | undefined;
1450
- catalog?: string | null | undefined;
1451
- catalogId?: number | null | undefined;
1452
- colors?: string[] | null | undefined;
1453
- measurementLength?: number | null | undefined;
1454
- measurementWidth?: number | null | undefined;
1455
- photoUrls?: string[] | null | undefined;
1456
- size?: string | null | undefined;
1457
- isDraft?: boolean | null | undefined;
1458
- isArchived?: boolean | null | undefined;
1459
- isUnisex?: boolean | null | undefined;
1460
- availableQuantity?: number | null | undefined;
1461
- material?: number[] | null | undefined;
1462
- manufacturerLabelling?: string | null | undefined;
1463
- labels?: string[] | null | undefined;
1464
- isHidden?: boolean | null | undefined;
1465
- isDeleted?: boolean | null | undefined;
1363
+ payload?: {
1364
+ priceDropPayload?: {
1365
+ value: number;
1366
+ type: "PERCENTAGE" | "ABSOLUTE";
1367
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1368
+ roundStep?: number | null | undefined;
1369
+ negotiationProfile?: "AUTO" | null | undefined;
1370
+ maxRounds?: number | null | undefined;
1371
+ } | null | undefined;
1466
1372
  } | null | undefined;
1467
1373
  targetDate?: Date | null | undefined;
1468
1374
  };
@@ -1470,33 +1376,15 @@ export declare const ItemHistorySchema: z.ZodObject<{
1470
1376
  type: "UPDATING";
1471
1377
  data: {
1472
1378
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1473
- post?: {
1474
- status?: string | null | undefined;
1475
- title?: string | null | undefined;
1476
- description?: string | null | undefined;
1477
- brand?: string | null | undefined;
1478
- statusId?: number | null | undefined;
1479
- sizeId?: number | null | undefined;
1480
- colorIds?: number[] | null | undefined;
1481
- packageSizeId?: number | null | undefined;
1482
- price?: number | null | undefined;
1483
- currency?: string | null | undefined;
1484
- catalog?: string | null | undefined;
1485
- catalogId?: number | null | undefined;
1486
- colors?: string[] | null | undefined;
1487
- measurementLength?: number | null | undefined;
1488
- measurementWidth?: number | null | undefined;
1489
- photoUrls?: string[] | null | undefined;
1490
- size?: string | null | undefined;
1491
- isDraft?: boolean | null | undefined;
1492
- isArchived?: boolean | null | undefined;
1493
- isUnisex?: boolean | null | undefined;
1494
- availableQuantity?: number | null | undefined;
1495
- material?: number[] | null | undefined;
1496
- manufacturerLabelling?: string | null | undefined;
1497
- labels?: string[] | null | undefined;
1498
- isHidden?: boolean | null | undefined;
1499
- isDeleted?: boolean | null | undefined;
1379
+ payload?: {
1380
+ priceDropPayload?: {
1381
+ value: number;
1382
+ type: "PERCENTAGE" | "ABSOLUTE";
1383
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1384
+ roundStep?: number | null | undefined;
1385
+ negotiationProfile?: "AUTO" | null | undefined;
1386
+ maxRounds?: number | null | undefined;
1387
+ } | null | undefined;
1500
1388
  } | null | undefined;
1501
1389
  targetDate?: Date | null | undefined;
1502
1390
  };
@@ -1507,7 +1395,7 @@ export declare const ItemHistorySchema: z.ZodObject<{
1507
1395
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
1396
  targetHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1509
1397
  }, "strip", z.ZodTypeAny, {
1510
- type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
1398
+ type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
1511
1399
  id: string;
1512
1400
  createdAt: Date;
1513
1401
  itemId: number;
@@ -1724,33 +1612,15 @@ export declare const ItemHistorySchema: z.ZodObject<{
1724
1612
  type: "UPDATING";
1725
1613
  data: {
1726
1614
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1727
- post?: {
1728
- status?: string | null | undefined;
1729
- title?: string | null | undefined;
1730
- description?: string | null | undefined;
1731
- brand?: string | null | undefined;
1732
- statusId?: number | null | undefined;
1733
- sizeId?: number | null | undefined;
1734
- colorIds?: number[] | null | undefined;
1735
- packageSizeId?: number | null | undefined;
1736
- price?: number | null | undefined;
1737
- currency?: string | null | undefined;
1738
- catalog?: string | null | undefined;
1739
- catalogId?: number | null | undefined;
1740
- colors?: string[] | null | undefined;
1741
- measurementLength?: number | null | undefined;
1742
- measurementWidth?: number | null | undefined;
1743
- photoUrls?: string[] | null | undefined;
1744
- size?: string | null | undefined;
1745
- isDraft?: boolean | null | undefined;
1746
- isArchived?: boolean | null | undefined;
1747
- isUnisex?: boolean | null | undefined;
1748
- availableQuantity?: number | null | undefined;
1749
- material?: number[] | null | undefined;
1750
- manufacturerLabelling?: string | null | undefined;
1751
- labels?: string[] | null | undefined;
1752
- isHidden?: boolean | null | undefined;
1753
- isDeleted?: boolean | null | undefined;
1615
+ payload?: {
1616
+ priceDropPayload?: {
1617
+ value: number;
1618
+ type: "PERCENTAGE" | "ABSOLUTE";
1619
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1620
+ roundStep?: number | null | undefined;
1621
+ negotiationProfile?: "AUTO" | null | undefined;
1622
+ maxRounds?: number | null | undefined;
1623
+ } | null | undefined;
1754
1624
  } | null | undefined;
1755
1625
  targetDate?: Date | null | undefined;
1756
1626
  };
@@ -1760,7 +1630,7 @@ export declare const ItemHistorySchema: z.ZodObject<{
1760
1630
  requestId?: string | null | undefined;
1761
1631
  targetHistoryId?: string | null | undefined;
1762
1632
  }, {
1763
- type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
1633
+ type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
1764
1634
  id: string;
1765
1635
  createdAt: Date;
1766
1636
  itemId: number;
@@ -1977,33 +1847,15 @@ export declare const ItemHistorySchema: z.ZodObject<{
1977
1847
  type: "UPDATING";
1978
1848
  data: {
1979
1849
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
1980
- post?: {
1981
- status?: string | null | undefined;
1982
- title?: string | null | undefined;
1983
- description?: string | null | undefined;
1984
- brand?: string | null | undefined;
1985
- statusId?: number | null | undefined;
1986
- sizeId?: number | null | undefined;
1987
- colorIds?: number[] | null | undefined;
1988
- packageSizeId?: number | null | undefined;
1989
- price?: number | null | undefined;
1990
- currency?: string | null | undefined;
1991
- catalog?: string | null | undefined;
1992
- catalogId?: number | null | undefined;
1993
- colors?: string[] | null | undefined;
1994
- measurementLength?: number | null | undefined;
1995
- measurementWidth?: number | null | undefined;
1996
- photoUrls?: string[] | null | undefined;
1997
- size?: string | null | undefined;
1998
- isDraft?: boolean | null | undefined;
1999
- isArchived?: boolean | null | undefined;
2000
- isUnisex?: boolean | null | undefined;
2001
- availableQuantity?: number | null | undefined;
2002
- material?: number[] | null | undefined;
2003
- manufacturerLabelling?: string | null | undefined;
2004
- labels?: string[] | null | undefined;
2005
- isHidden?: boolean | null | undefined;
2006
- isDeleted?: boolean | null | undefined;
1850
+ payload?: {
1851
+ priceDropPayload?: {
1852
+ value: number;
1853
+ type: "PERCENTAGE" | "ABSOLUTE";
1854
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
1855
+ roundStep?: number | null | undefined;
1856
+ negotiationProfile?: "AUTO" | null | undefined;
1857
+ maxRounds?: number | null | undefined;
1858
+ } | null | undefined;
2007
1859
  } | null | undefined;
2008
1860
  targetDate?: Date | null | undefined;
2009
1861
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ItemHistory.d.ts","sourceRoot":"","sources":["ItemHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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