controlresell 2.24.2 → 2.24.3
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 +2 -2
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +0 -7
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +108 -108
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +88 -88
- package/src/com/controlresell/models/conversations/Conversation.d.ts +9 -9
- package/src/com/controlresell/models/conversations/ConversationFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +11 -11
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +13 -13
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +13 -13
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -5
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -7
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -7
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/CreateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/conversations/users/UpdateConversationUserPayload.d.ts +2 -2
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts +5 -5
- 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 +315 -315
- package/src/com/controlresell/models/items/Item.d.ts +169 -169
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +108 -108
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +315 -315
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +63 -63
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +63 -63
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +90 -90
- package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryImageProcessingDone.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryPublishedPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -5
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformBrandsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoryFieldsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/BrandMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CategoryMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateBrandMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateCategoryMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateEnumMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/CreateSizeMappingPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/EnumMapping.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +228 -228
- package/src/com/controlresell/models/metadata/platforms/MappingInfo.d.ts +15 -15
- package/src/com/controlresell/models/metadata/platforms/PlatformBrand.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformCategory.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformEnum.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/PlatformSize.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/RecomputeCategoryRequiredAttributesPayload.d.ts +3 -3
- package/src/com/controlresell/models/metadata/platforms/SizeMapping.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -9
- package/src/com/controlresell/models/platforms/orders/OrderFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +141 -141
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -7
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +119 -119
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts +13 -0
- package/src/com/controlresell/models/subscriptions/UserLimits.d.ts.map +1 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.js +2 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.js.map +1 -1
- package/src/com/controlresell/models/subscriptions/UserLimits.ts +2 -1
- package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -9
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -7
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +119 -119
- package/src/com/controlresell/models/users/platforms/CreateUserOnPlatformPayload.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -5
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -5
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/UserOnPlatformRequest.d.ts +3 -3
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts +19 -0
- package/src/com/controlresell/models/users/ws/UserLimitsUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +280 -242
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
|
@@ -328,7 +328,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
328
328
|
type: "EMPTY";
|
|
329
329
|
}>, z.ZodObject<{
|
|
330
330
|
data: z.ZodObject<{
|
|
331
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
331
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
332
332
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
333
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
334
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -346,7 +346,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
346
346
|
}>, "many">>>;
|
|
347
347
|
itemHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
349
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
350
350
|
accountId?: string | null | undefined;
|
|
351
351
|
reason?: string | null | undefined;
|
|
352
352
|
fields?: {
|
|
@@ -356,7 +356,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
356
356
|
}[] | null | undefined;
|
|
357
357
|
itemHistoryId?: string | null | undefined;
|
|
358
358
|
}, {
|
|
359
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
359
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
360
360
|
accountId?: string | null | undefined;
|
|
361
361
|
reason?: string | null | undefined;
|
|
362
362
|
fields?: {
|
|
@@ -370,7 +370,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
371
|
type: "FAILED_TO_PUBLISH";
|
|
372
372
|
data: {
|
|
373
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
373
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
374
374
|
accountId?: string | null | undefined;
|
|
375
375
|
reason?: string | null | undefined;
|
|
376
376
|
fields?: {
|
|
@@ -383,7 +383,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
383
383
|
}, {
|
|
384
384
|
type: "FAILED_TO_PUBLISH";
|
|
385
385
|
data: {
|
|
386
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
386
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
387
387
|
accountId?: string | null | undefined;
|
|
388
388
|
reason?: string | null | undefined;
|
|
389
389
|
fields?: {
|
|
@@ -395,7 +395,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
395
395
|
};
|
|
396
396
|
}>, z.ZodObject<{
|
|
397
397
|
data: z.ZodObject<{
|
|
398
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
398
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
399
399
|
variations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
400
400
|
fileId: z.ZodString;
|
|
401
401
|
seed: z.ZodNumber;
|
|
@@ -427,7 +427,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
427
427
|
originalPhashes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
428
428
|
historyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
430
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
431
431
|
variations?: {
|
|
432
432
|
fileId: string;
|
|
433
433
|
seed: number;
|
|
@@ -441,7 +441,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
441
441
|
originalPhashes?: string[] | null | undefined;
|
|
442
442
|
historyId?: string | null | undefined;
|
|
443
443
|
}, {
|
|
444
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
444
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
445
445
|
variations?: {
|
|
446
446
|
fileId: string;
|
|
447
447
|
seed: number;
|
|
@@ -459,7 +459,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
459
459
|
}, "strip", z.ZodTypeAny, {
|
|
460
460
|
type: "IMAGE_PROCESSING_DONE";
|
|
461
461
|
data: {
|
|
462
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
462
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
463
463
|
variations?: {
|
|
464
464
|
fileId: string;
|
|
465
465
|
seed: number;
|
|
@@ -476,7 +476,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
476
476
|
}, {
|
|
477
477
|
type: "IMAGE_PROCESSING_DONE";
|
|
478
478
|
data: {
|
|
479
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
479
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
480
480
|
variations?: {
|
|
481
481
|
fileId: string;
|
|
482
482
|
seed: number;
|
|
@@ -995,15 +995,15 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
995
995
|
};
|
|
996
996
|
}>, z.ZodObject<{
|
|
997
997
|
data: z.ZodObject<{
|
|
998
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
998
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
999
999
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1000
1000
|
itemHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1001
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1002
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1003
1003
|
accountId?: string | null | undefined;
|
|
1004
1004
|
itemHistoryId?: string | null | undefined;
|
|
1005
1005
|
}, {
|
|
1006
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1006
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1007
1007
|
accountId?: string | null | undefined;
|
|
1008
1008
|
itemHistoryId?: string | null | undefined;
|
|
1009
1009
|
}>;
|
|
@@ -1011,20 +1011,20 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1011
1011
|
}, "strip", z.ZodTypeAny, {
|
|
1012
1012
|
type: "PUBLISHED";
|
|
1013
1013
|
data: {
|
|
1014
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1014
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1015
1015
|
accountId?: string | null | undefined;
|
|
1016
1016
|
itemHistoryId?: string | null | undefined;
|
|
1017
1017
|
};
|
|
1018
1018
|
}, {
|
|
1019
1019
|
type: "PUBLISHED";
|
|
1020
1020
|
data: {
|
|
1021
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1021
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1022
1022
|
accountId?: string | null | undefined;
|
|
1023
1023
|
itemHistoryId?: string | null | undefined;
|
|
1024
1024
|
};
|
|
1025
1025
|
}>, z.ZodObject<{
|
|
1026
1026
|
data: z.ZodObject<{
|
|
1027
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1027
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1028
1028
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1029
1029
|
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1030
1030
|
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1136,7 +1136,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1136
1136
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1137
|
allowIfDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1138
1138
|
}, "strip", z.ZodTypeAny, {
|
|
1139
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1139
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1140
1140
|
payload?: {
|
|
1141
1141
|
priceDropPayload?: {
|
|
1142
1142
|
value: number;
|
|
@@ -1166,7 +1166,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1166
1166
|
targetAccountId?: string | null | undefined;
|
|
1167
1167
|
allowIfDeleted?: boolean | null | undefined;
|
|
1168
1168
|
}, {
|
|
1169
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1169
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1170
1170
|
payload?: {
|
|
1171
1171
|
priceDropPayload?: {
|
|
1172
1172
|
value: number;
|
|
@@ -1200,7 +1200,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1200
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1201
1201
|
type: "REPUBLISHING";
|
|
1202
1202
|
data: {
|
|
1203
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1203
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1204
1204
|
payload?: {
|
|
1205
1205
|
priceDropPayload?: {
|
|
1206
1206
|
value: number;
|
|
@@ -1233,7 +1233,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1233
1233
|
}, {
|
|
1234
1234
|
type: "REPUBLISHING";
|
|
1235
1235
|
data: {
|
|
1236
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1236
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1237
1237
|
payload?: {
|
|
1238
1238
|
priceDropPayload?: {
|
|
1239
1239
|
value: number;
|
|
@@ -1265,7 +1265,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1265
1265
|
};
|
|
1266
1266
|
}>, z.ZodObject<{
|
|
1267
1267
|
data: z.ZodObject<{
|
|
1268
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1268
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1269
1269
|
attemptNumber: z.ZodNumber;
|
|
1270
1270
|
maxAttempts: z.ZodNumber;
|
|
1271
1271
|
previousHistoryId: z.ZodString;
|
|
@@ -1391,7 +1391,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1391
1391
|
}>>>;
|
|
1392
1392
|
}, "strip", z.ZodTypeAny, {
|
|
1393
1393
|
maxAttempts: number;
|
|
1394
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1394
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1395
1395
|
attemptNumber: number;
|
|
1396
1396
|
previousHistoryId: string;
|
|
1397
1397
|
originalFailureDate: Date;
|
|
@@ -1426,7 +1426,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1426
1426
|
}[] | null | undefined;
|
|
1427
1427
|
}, {
|
|
1428
1428
|
maxAttempts: number;
|
|
1429
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1429
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1430
1430
|
attemptNumber: number;
|
|
1431
1431
|
previousHistoryId: string;
|
|
1432
1432
|
originalFailureDate: Date;
|
|
@@ -1465,7 +1465,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1465
1465
|
type: "REPUBLISHING_RETRY";
|
|
1466
1466
|
data: {
|
|
1467
1467
|
maxAttempts: number;
|
|
1468
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1468
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1469
1469
|
attemptNumber: number;
|
|
1470
1470
|
previousHistoryId: string;
|
|
1471
1471
|
originalFailureDate: Date;
|
|
@@ -1503,7 +1503,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1503
1503
|
type: "REPUBLISHING_RETRY";
|
|
1504
1504
|
data: {
|
|
1505
1505
|
maxAttempts: number;
|
|
1506
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1506
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1507
1507
|
attemptNumber: number;
|
|
1508
1508
|
previousHistoryId: string;
|
|
1509
1509
|
originalFailureDate: Date;
|
|
@@ -1539,31 +1539,31 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1539
1539
|
};
|
|
1540
1540
|
}>, z.ZodObject<{
|
|
1541
1541
|
data: z.ZodObject<{
|
|
1542
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1542
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1543
1543
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1544
1544
|
}, "strip", z.ZodTypeAny, {
|
|
1545
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1545
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1546
1546
|
publishingDate?: Date | null | undefined;
|
|
1547
1547
|
}, {
|
|
1548
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1548
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1549
1549
|
publishingDate?: Date | null | undefined;
|
|
1550
1550
|
}>;
|
|
1551
1551
|
type: z.ZodLiteral<"SCHEDULED">;
|
|
1552
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1553
1553
|
type: "SCHEDULED";
|
|
1554
1554
|
data: {
|
|
1555
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1555
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1556
1556
|
publishingDate?: Date | null | undefined;
|
|
1557
1557
|
};
|
|
1558
1558
|
}, {
|
|
1559
1559
|
type: "SCHEDULED";
|
|
1560
1560
|
data: {
|
|
1561
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1561
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1562
1562
|
publishingDate?: Date | null | undefined;
|
|
1563
1563
|
};
|
|
1564
1564
|
}>, z.ZodObject<{
|
|
1565
1565
|
data: z.ZodObject<{
|
|
1566
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1566
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1567
1567
|
attemptNumber: z.ZodNumber;
|
|
1568
1568
|
maxAttempts: z.ZodNumber;
|
|
1569
1569
|
previousHistoryId: z.ZodString;
|
|
@@ -1583,7 +1583,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1583
1583
|
}>, "many">>>;
|
|
1584
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
1585
|
maxAttempts: number;
|
|
1586
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1586
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1587
1587
|
attemptNumber: number;
|
|
1588
1588
|
previousHistoryId: string;
|
|
1589
1589
|
originalFailureDate: Date;
|
|
@@ -1594,7 +1594,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1594
1594
|
}[] | null | undefined;
|
|
1595
1595
|
}, {
|
|
1596
1596
|
maxAttempts: number;
|
|
1597
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1597
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1598
1598
|
attemptNumber: number;
|
|
1599
1599
|
previousHistoryId: string;
|
|
1600
1600
|
originalFailureDate: Date;
|
|
@@ -1609,7 +1609,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1609
1609
|
type: "SCHEDULED_RETRY";
|
|
1610
1610
|
data: {
|
|
1611
1611
|
maxAttempts: number;
|
|
1612
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1612
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1613
1613
|
attemptNumber: number;
|
|
1614
1614
|
previousHistoryId: string;
|
|
1615
1615
|
originalFailureDate: Date;
|
|
@@ -1623,7 +1623,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1623
1623
|
type: "SCHEDULED_RETRY";
|
|
1624
1624
|
data: {
|
|
1625
1625
|
maxAttempts: number;
|
|
1626
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1626
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1627
1627
|
attemptNumber: number;
|
|
1628
1628
|
previousHistoryId: string;
|
|
1629
1629
|
originalFailureDate: Date;
|
|
@@ -1635,26 +1635,26 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1635
1635
|
};
|
|
1636
1636
|
}>, z.ZodObject<{
|
|
1637
1637
|
data: z.ZodObject<{
|
|
1638
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1638
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1639
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1640
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1641
1641
|
}, {
|
|
1642
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1642
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1643
1643
|
}>;
|
|
1644
1644
|
type: z.ZodLiteral<"UPDATED">;
|
|
1645
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1646
1646
|
type: "UPDATED";
|
|
1647
1647
|
data: {
|
|
1648
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1648
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1649
1649
|
};
|
|
1650
1650
|
}, {
|
|
1651
1651
|
type: "UPDATED";
|
|
1652
1652
|
data: {
|
|
1653
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1653
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1654
1654
|
};
|
|
1655
1655
|
}>, z.ZodObject<{
|
|
1656
1656
|
data: z.ZodObject<{
|
|
1657
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1657
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
1658
1658
|
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1659
1659
|
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1660
1660
|
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
@@ -1699,7 +1699,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1699
1699
|
}>>>;
|
|
1700
1700
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1701
1701
|
}, "strip", z.ZodTypeAny, {
|
|
1702
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1702
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1703
1703
|
payload?: {
|
|
1704
1704
|
priceDropPayload?: {
|
|
1705
1705
|
value: number;
|
|
@@ -1712,7 +1712,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1712
1712
|
} | null | undefined;
|
|
1713
1713
|
targetDate?: Date | null | undefined;
|
|
1714
1714
|
}, {
|
|
1715
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1715
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1716
1716
|
payload?: {
|
|
1717
1717
|
priceDropPayload?: {
|
|
1718
1718
|
value: number;
|
|
@@ -1729,7 +1729,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1729
1729
|
}, "strip", z.ZodTypeAny, {
|
|
1730
1730
|
type: "UPDATING";
|
|
1731
1731
|
data: {
|
|
1732
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1732
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1733
1733
|
payload?: {
|
|
1734
1734
|
priceDropPayload?: {
|
|
1735
1735
|
value: number;
|
|
@@ -1745,7 +1745,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1745
1745
|
}, {
|
|
1746
1746
|
type: "UPDATING";
|
|
1747
1747
|
data: {
|
|
1748
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1748
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1749
1749
|
payload?: {
|
|
1750
1750
|
priceDropPayload?: {
|
|
1751
1751
|
value: number;
|
|
@@ -1798,7 +1798,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1798
1798
|
} | {
|
|
1799
1799
|
type: "FAILED_TO_PUBLISH";
|
|
1800
1800
|
data: {
|
|
1801
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1801
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1802
1802
|
accountId?: string | null | undefined;
|
|
1803
1803
|
reason?: string | null | undefined;
|
|
1804
1804
|
fields?: {
|
|
@@ -1811,7 +1811,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1811
1811
|
} | {
|
|
1812
1812
|
type: "IMAGE_PROCESSING_DONE";
|
|
1813
1813
|
data: {
|
|
1814
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1814
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1815
1815
|
variations?: {
|
|
1816
1816
|
fileId: string;
|
|
1817
1817
|
seed: number;
|
|
@@ -1893,14 +1893,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1893
1893
|
} | {
|
|
1894
1894
|
type: "PUBLISHED";
|
|
1895
1895
|
data: {
|
|
1896
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1896
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1897
1897
|
accountId?: string | null | undefined;
|
|
1898
1898
|
itemHistoryId?: string | null | undefined;
|
|
1899
1899
|
};
|
|
1900
1900
|
} | {
|
|
1901
1901
|
type: "REPUBLISHING";
|
|
1902
1902
|
data: {
|
|
1903
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1903
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1904
1904
|
payload?: {
|
|
1905
1905
|
priceDropPayload?: {
|
|
1906
1906
|
value: number;
|
|
@@ -1934,7 +1934,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1934
1934
|
type: "REPUBLISHING_RETRY";
|
|
1935
1935
|
data: {
|
|
1936
1936
|
maxAttempts: number;
|
|
1937
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1937
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1938
1938
|
attemptNumber: number;
|
|
1939
1939
|
previousHistoryId: string;
|
|
1940
1940
|
originalFailureDate: Date;
|
|
@@ -1971,14 +1971,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1971
1971
|
} | {
|
|
1972
1972
|
type: "SCHEDULED";
|
|
1973
1973
|
data: {
|
|
1974
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1974
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1975
1975
|
publishingDate?: Date | null | undefined;
|
|
1976
1976
|
};
|
|
1977
1977
|
} | {
|
|
1978
1978
|
type: "SCHEDULED_RETRY";
|
|
1979
1979
|
data: {
|
|
1980
1980
|
maxAttempts: number;
|
|
1981
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1981
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1982
1982
|
attemptNumber: number;
|
|
1983
1983
|
previousHistoryId: string;
|
|
1984
1984
|
originalFailureDate: Date;
|
|
@@ -1991,12 +1991,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
1991
1991
|
} | {
|
|
1992
1992
|
type: "UPDATED";
|
|
1993
1993
|
data: {
|
|
1994
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1994
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1995
1995
|
};
|
|
1996
1996
|
} | {
|
|
1997
1997
|
type: "UPDATING";
|
|
1998
1998
|
data: {
|
|
1999
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1999
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2000
2000
|
payload?: {
|
|
2001
2001
|
priceDropPayload?: {
|
|
2002
2002
|
value: number;
|
|
@@ -2048,7 +2048,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2048
2048
|
} | {
|
|
2049
2049
|
type: "FAILED_TO_PUBLISH";
|
|
2050
2050
|
data: {
|
|
2051
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2051
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2052
2052
|
accountId?: string | null | undefined;
|
|
2053
2053
|
reason?: string | null | undefined;
|
|
2054
2054
|
fields?: {
|
|
@@ -2061,7 +2061,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2061
2061
|
} | {
|
|
2062
2062
|
type: "IMAGE_PROCESSING_DONE";
|
|
2063
2063
|
data: {
|
|
2064
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2064
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2065
2065
|
variations?: {
|
|
2066
2066
|
fileId: string;
|
|
2067
2067
|
seed: number;
|
|
@@ -2143,14 +2143,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2143
2143
|
} | {
|
|
2144
2144
|
type: "PUBLISHED";
|
|
2145
2145
|
data: {
|
|
2146
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2146
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2147
2147
|
accountId?: string | null | undefined;
|
|
2148
2148
|
itemHistoryId?: string | null | undefined;
|
|
2149
2149
|
};
|
|
2150
2150
|
} | {
|
|
2151
2151
|
type: "REPUBLISHING";
|
|
2152
2152
|
data: {
|
|
2153
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2153
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2154
2154
|
payload?: {
|
|
2155
2155
|
priceDropPayload?: {
|
|
2156
2156
|
value: number;
|
|
@@ -2184,7 +2184,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2184
2184
|
type: "REPUBLISHING_RETRY";
|
|
2185
2185
|
data: {
|
|
2186
2186
|
maxAttempts: number;
|
|
2187
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2187
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2188
2188
|
attemptNumber: number;
|
|
2189
2189
|
previousHistoryId: string;
|
|
2190
2190
|
originalFailureDate: Date;
|
|
@@ -2221,14 +2221,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2221
2221
|
} | {
|
|
2222
2222
|
type: "SCHEDULED";
|
|
2223
2223
|
data: {
|
|
2224
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2224
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2225
2225
|
publishingDate?: Date | null | undefined;
|
|
2226
2226
|
};
|
|
2227
2227
|
} | {
|
|
2228
2228
|
type: "SCHEDULED_RETRY";
|
|
2229
2229
|
data: {
|
|
2230
2230
|
maxAttempts: number;
|
|
2231
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2231
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2232
2232
|
attemptNumber: number;
|
|
2233
2233
|
previousHistoryId: string;
|
|
2234
2234
|
originalFailureDate: Date;
|
|
@@ -2241,12 +2241,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2241
2241
|
} | {
|
|
2242
2242
|
type: "UPDATED";
|
|
2243
2243
|
data: {
|
|
2244
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2244
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2245
2245
|
};
|
|
2246
2246
|
} | {
|
|
2247
2247
|
type: "UPDATING";
|
|
2248
2248
|
data: {
|
|
2249
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2249
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2250
2250
|
payload?: {
|
|
2251
2251
|
priceDropPayload?: {
|
|
2252
2252
|
value: number;
|
|
@@ -2279,7 +2279,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2279
2279
|
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2280
2280
|
userId: z.ZodNumber;
|
|
2281
2281
|
accountId: z.ZodString;
|
|
2282
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
2282
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
2283
2283
|
name: z.ZodString;
|
|
2284
2284
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2285
2285
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -2329,7 +2329,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2329
2329
|
name: string;
|
|
2330
2330
|
userId: number;
|
|
2331
2331
|
accountId: string;
|
|
2332
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2332
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2333
2333
|
locale?: string | null | undefined;
|
|
2334
2334
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2335
2335
|
night?: {
|
|
@@ -2356,7 +2356,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2356
2356
|
name: string;
|
|
2357
2357
|
userId: number;
|
|
2358
2358
|
accountId: string;
|
|
2359
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2359
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2360
2360
|
status?: unknown;
|
|
2361
2361
|
locale?: string | null | undefined;
|
|
2362
2362
|
lockReason?: unknown;
|
|
@@ -2403,7 +2403,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2403
2403
|
name: string;
|
|
2404
2404
|
userId: number;
|
|
2405
2405
|
accountId: string;
|
|
2406
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2406
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2407
2407
|
locale?: string | null | undefined;
|
|
2408
2408
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
2409
2409
|
night?: {
|
|
@@ -2445,7 +2445,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
2445
2445
|
name: string;
|
|
2446
2446
|
userId: number;
|
|
2447
2447
|
accountId: string;
|
|
2448
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2448
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
2449
2449
|
status?: unknown;
|
|
2450
2450
|
locale?: string | null | undefined;
|
|
2451
2451
|
lockReason?: unknown;
|
|
@@ -3281,7 +3281,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3281
3281
|
name: string;
|
|
3282
3282
|
userId: number;
|
|
3283
3283
|
accountId: string;
|
|
3284
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3284
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3285
3285
|
locale?: string | null | undefined;
|
|
3286
3286
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
3287
3287
|
night?: {
|
|
@@ -3378,7 +3378,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3378
3378
|
} | {
|
|
3379
3379
|
type: "FAILED_TO_PUBLISH";
|
|
3380
3380
|
data: {
|
|
3381
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3381
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3382
3382
|
accountId?: string | null | undefined;
|
|
3383
3383
|
reason?: string | null | undefined;
|
|
3384
3384
|
fields?: {
|
|
@@ -3391,7 +3391,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3391
3391
|
} | {
|
|
3392
3392
|
type: "IMAGE_PROCESSING_DONE";
|
|
3393
3393
|
data: {
|
|
3394
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3394
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3395
3395
|
variations?: {
|
|
3396
3396
|
fileId: string;
|
|
3397
3397
|
seed: number;
|
|
@@ -3473,14 +3473,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3473
3473
|
} | {
|
|
3474
3474
|
type: "PUBLISHED";
|
|
3475
3475
|
data: {
|
|
3476
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3476
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3477
3477
|
accountId?: string | null | undefined;
|
|
3478
3478
|
itemHistoryId?: string | null | undefined;
|
|
3479
3479
|
};
|
|
3480
3480
|
} | {
|
|
3481
3481
|
type: "REPUBLISHING";
|
|
3482
3482
|
data: {
|
|
3483
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3483
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3484
3484
|
payload?: {
|
|
3485
3485
|
priceDropPayload?: {
|
|
3486
3486
|
value: number;
|
|
@@ -3514,7 +3514,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3514
3514
|
type: "REPUBLISHING_RETRY";
|
|
3515
3515
|
data: {
|
|
3516
3516
|
maxAttempts: number;
|
|
3517
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3517
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3518
3518
|
attemptNumber: number;
|
|
3519
3519
|
previousHistoryId: string;
|
|
3520
3520
|
originalFailureDate: Date;
|
|
@@ -3551,14 +3551,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3551
3551
|
} | {
|
|
3552
3552
|
type: "SCHEDULED";
|
|
3553
3553
|
data: {
|
|
3554
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3554
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3555
3555
|
publishingDate?: Date | null | undefined;
|
|
3556
3556
|
};
|
|
3557
3557
|
} | {
|
|
3558
3558
|
type: "SCHEDULED_RETRY";
|
|
3559
3559
|
data: {
|
|
3560
3560
|
maxAttempts: number;
|
|
3561
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3561
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3562
3562
|
attemptNumber: number;
|
|
3563
3563
|
previousHistoryId: string;
|
|
3564
3564
|
originalFailureDate: Date;
|
|
@@ -3571,12 +3571,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3571
3571
|
} | {
|
|
3572
3572
|
type: "UPDATED";
|
|
3573
3573
|
data: {
|
|
3574
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3574
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3575
3575
|
};
|
|
3576
3576
|
} | {
|
|
3577
3577
|
type: "UPDATING";
|
|
3578
3578
|
data: {
|
|
3579
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3579
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3580
3580
|
payload?: {
|
|
3581
3581
|
priceDropPayload?: {
|
|
3582
3582
|
value: number;
|
|
@@ -3781,7 +3781,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3781
3781
|
name: string;
|
|
3782
3782
|
userId: number;
|
|
3783
3783
|
accountId: string;
|
|
3784
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3784
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3785
3785
|
status?: unknown;
|
|
3786
3786
|
locale?: string | null | undefined;
|
|
3787
3787
|
lockReason?: unknown;
|
|
@@ -3879,7 +3879,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3879
3879
|
} | {
|
|
3880
3880
|
type: "FAILED_TO_PUBLISH";
|
|
3881
3881
|
data: {
|
|
3882
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3882
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3883
3883
|
accountId?: string | null | undefined;
|
|
3884
3884
|
reason?: string | null | undefined;
|
|
3885
3885
|
fields?: {
|
|
@@ -3892,7 +3892,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3892
3892
|
} | {
|
|
3893
3893
|
type: "IMAGE_PROCESSING_DONE";
|
|
3894
3894
|
data: {
|
|
3895
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3895
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3896
3896
|
variations?: {
|
|
3897
3897
|
fileId: string;
|
|
3898
3898
|
seed: number;
|
|
@@ -3974,14 +3974,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
3974
3974
|
} | {
|
|
3975
3975
|
type: "PUBLISHED";
|
|
3976
3976
|
data: {
|
|
3977
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3977
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3978
3978
|
accountId?: string | null | undefined;
|
|
3979
3979
|
itemHistoryId?: string | null | undefined;
|
|
3980
3980
|
};
|
|
3981
3981
|
} | {
|
|
3982
3982
|
type: "REPUBLISHING";
|
|
3983
3983
|
data: {
|
|
3984
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3984
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
3985
3985
|
payload?: {
|
|
3986
3986
|
priceDropPayload?: {
|
|
3987
3987
|
value: number;
|
|
@@ -4015,7 +4015,7 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4015
4015
|
type: "REPUBLISHING_RETRY";
|
|
4016
4016
|
data: {
|
|
4017
4017
|
maxAttempts: number;
|
|
4018
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4018
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4019
4019
|
attemptNumber: number;
|
|
4020
4020
|
previousHistoryId: string;
|
|
4021
4021
|
originalFailureDate: Date;
|
|
@@ -4052,14 +4052,14 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4052
4052
|
} | {
|
|
4053
4053
|
type: "SCHEDULED";
|
|
4054
4054
|
data: {
|
|
4055
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4055
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4056
4056
|
publishingDate?: Date | null | undefined;
|
|
4057
4057
|
};
|
|
4058
4058
|
} | {
|
|
4059
4059
|
type: "SCHEDULED_RETRY";
|
|
4060
4060
|
data: {
|
|
4061
4061
|
maxAttempts: number;
|
|
4062
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4062
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4063
4063
|
attemptNumber: number;
|
|
4064
4064
|
previousHistoryId: string;
|
|
4065
4065
|
originalFailureDate: Date;
|
|
@@ -4072,12 +4072,12 @@ export declare const ListedItemSchema: z.ZodObject<{
|
|
|
4072
4072
|
} | {
|
|
4073
4073
|
type: "UPDATED";
|
|
4074
4074
|
data: {
|
|
4075
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4075
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4076
4076
|
};
|
|
4077
4077
|
} | {
|
|
4078
4078
|
type: "UPDATING";
|
|
4079
4079
|
data: {
|
|
4080
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4080
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
4081
4081
|
payload?: {
|
|
4082
4082
|
priceDropPayload?: {
|
|
4083
4083
|
value: number;
|