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.
- package/package.json +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +2 -5
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +0 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +0 -1
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +159 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js +10 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.ts +11 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +136 -356
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +116 -300
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +12 -12
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -5
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +3 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +1 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
- package/src/com/controlresell/models/items/CreatedItems.d.ts +272 -712
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +232 -600
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +136 -356
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts +45 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js +6 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.ts +7 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +272 -712
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +96 -244
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +96 -244
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +150 -374
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +57 -133
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.ts +2 -1
- package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
- package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +156 -412
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +136 -356
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +136 -356
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +7 -7
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +310 -750
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +10 -10
- package/src/index.d.ts +2 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- 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
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
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
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
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
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
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
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
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
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
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
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
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
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
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
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
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
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
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
|
|
1
|
+
{"version":3,"file":"ItemHistory.d.ts","sourceRoot":"","sources":["ItemHistory.ts"],"names":[],"mappings":"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"}
|