controlresell 2.24.2 → 2.24.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 +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/analysis/ItemAnalysisUpdate.d.ts +5225 -0
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.d.ts.map +1 -0
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.js +6 -0
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.js.map +1 -0
- package/src/com/controlresell/models/items/analysis/ItemAnalysisUpdate.ts +7 -0
- 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 +12983 -2495
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +5 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.js.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +7 -0
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +1 -0
package/src/com/controlresell/models/items/history/data/ItemHistoryFailedToPublishPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryFailedToPublishPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -18,7 +18,7 @@ export declare const ItemHistoryFailedToPublishPayloadSchema: z.ZodObject<{
|
|
|
18
18
|
}>, "many">>>;
|
|
19
19
|
itemHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
21
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
22
22
|
accountId?: string | null | undefined;
|
|
23
23
|
reason?: string | null | undefined;
|
|
24
24
|
fields?: {
|
|
@@ -28,7 +28,7 @@ export declare const ItemHistoryFailedToPublishPayloadSchema: z.ZodObject<{
|
|
|
28
28
|
}[] | null | undefined;
|
|
29
29
|
itemHistoryId?: string | null | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
31
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
32
32
|
accountId?: string | null | undefined;
|
|
33
33
|
reason?: string | null | undefined;
|
|
34
34
|
fields?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryImageProcessingDoneSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
variations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5
5
|
fileId: z.ZodString;
|
|
6
6
|
seed: z.ZodNumber;
|
|
@@ -32,7 +32,7 @@ export declare const ItemHistoryImageProcessingDoneSchema: z.ZodObject<{
|
|
|
32
32
|
originalPhashes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
33
33
|
historyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
35
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
36
36
|
variations?: {
|
|
37
37
|
fileId: string;
|
|
38
38
|
seed: number;
|
|
@@ -46,7 +46,7 @@ export declare const ItemHistoryImageProcessingDoneSchema: z.ZodObject<{
|
|
|
46
46
|
originalPhashes?: string[] | null | undefined;
|
|
47
47
|
historyId?: string | null | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
49
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
50
50
|
variations?: {
|
|
51
51
|
fileId: string;
|
|
52
52
|
seed: number;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryPublishedPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
accountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
itemHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
7
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
8
8
|
accountId?: string | null | undefined;
|
|
9
9
|
itemHistoryId?: string | null | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
11
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
12
12
|
accountId?: string | null | undefined;
|
|
13
13
|
itemHistoryId?: string | null | undefined;
|
|
14
14
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5
5
|
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
6
|
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -112,7 +112,7 @@ export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
|
112
112
|
targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
113
|
allowIfDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
115
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
116
116
|
payload?: {
|
|
117
117
|
priceDropPayload?: {
|
|
118
118
|
value: number;
|
|
@@ -142,7 +142,7 @@ export declare const ItemHistoryRepublishingPayloadSchema: z.ZodObject<{
|
|
|
142
142
|
targetAccountId?: string | null | undefined;
|
|
143
143
|
allowIfDeleted?: boolean | null | undefined;
|
|
144
144
|
}, {
|
|
145
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
145
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
146
146
|
payload?: {
|
|
147
147
|
priceDropPayload?: {
|
|
148
148
|
value: number;
|
package/src/com/controlresell/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
attemptNumber: z.ZodNumber;
|
|
5
5
|
maxAttempts: z.ZodNumber;
|
|
6
6
|
previousHistoryId: z.ZodString;
|
|
@@ -126,7 +126,7 @@ export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
|
126
126
|
}>>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
maxAttempts: number;
|
|
129
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
129
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
130
130
|
attemptNumber: number;
|
|
131
131
|
previousHistoryId: string;
|
|
132
132
|
originalFailureDate: Date;
|
|
@@ -161,7 +161,7 @@ export declare const ItemHistoryRepublishingRetryPayloadSchema: z.ZodObject<{
|
|
|
161
161
|
}[] | null | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
maxAttempts: number;
|
|
164
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
164
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
165
165
|
attemptNumber: number;
|
|
166
166
|
previousHistoryId: string;
|
|
167
167
|
originalFailureDate: Date;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryScheduledPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
6
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
7
7
|
publishingDate?: Date | null | undefined;
|
|
8
8
|
}, {
|
|
9
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
9
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
10
10
|
publishingDate?: Date | null | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export type ItemHistoryScheduledPayload = z.infer<typeof ItemHistoryScheduledPayloadSchema>;
|
package/src/com/controlresell/models/items/history/data/ItemHistoryScheduledRetryPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryScheduledRetryPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
attemptNumber: z.ZodNumber;
|
|
5
5
|
maxAttempts: z.ZodNumber;
|
|
6
6
|
previousHistoryId: z.ZodString;
|
|
@@ -20,7 +20,7 @@ export declare const ItemHistoryScheduledRetryPayloadSchema: z.ZodObject<{
|
|
|
20
20
|
}>, "many">>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
maxAttempts: number;
|
|
23
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
23
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
24
24
|
attemptNumber: number;
|
|
25
25
|
previousHistoryId: string;
|
|
26
26
|
originalFailureDate: Date;
|
|
@@ -31,7 +31,7 @@ export declare const ItemHistoryScheduledRetryPayloadSchema: z.ZodObject<{
|
|
|
31
31
|
}[] | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
maxAttempts: number;
|
|
34
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
34
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
35
35
|
attemptNumber: number;
|
|
36
36
|
previousHistoryId: string;
|
|
37
37
|
originalFailureDate: Date;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryUpdatedPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
5
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
6
6
|
}, {
|
|
7
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
7
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
8
8
|
}>;
|
|
9
9
|
export type ItemHistoryUpdatedPayload = z.infer<typeof ItemHistoryUpdatedPayloadSchema>;
|
|
10
10
|
//# sourceMappingURL=ItemHistoryUpdatedPayload.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ItemHistoryUpdatingPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
5
|
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
6
|
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
@@ -45,7 +45,7 @@ export declare const ItemHistoryUpdatingPayloadSchema: z.ZodObject<{
|
|
|
45
45
|
}>>>;
|
|
46
46
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
48
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
49
49
|
payload?: {
|
|
50
50
|
priceDropPayload?: {
|
|
51
51
|
value: number;
|
|
@@ -58,7 +58,7 @@ export declare const ItemHistoryUpdatingPayloadSchema: z.ZodObject<{
|
|
|
58
58
|
} | null | undefined;
|
|
59
59
|
targetDate?: Date | null | undefined;
|
|
60
60
|
}, {
|
|
61
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
61
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
62
62
|
payload?: {
|
|
63
63
|
priceDropPayload?: {
|
|
64
64
|
value: number;
|
|
@@ -13,7 +13,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
13
13
|
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
14
|
userId: z.ZodNumber;
|
|
15
15
|
accountId: z.ZodString;
|
|
16
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
16
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -63,7 +63,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
63
63
|
name: string;
|
|
64
64
|
userId: number;
|
|
65
65
|
accountId: string;
|
|
66
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
66
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
67
67
|
locale?: string | null | undefined;
|
|
68
68
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
69
69
|
night?: {
|
|
@@ -90,7 +90,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
90
90
|
name: string;
|
|
91
91
|
userId: number;
|
|
92
92
|
accountId: string;
|
|
93
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
93
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
94
94
|
status?: unknown;
|
|
95
95
|
locale?: string | null | undefined;
|
|
96
96
|
lockReason?: unknown;
|
|
@@ -137,7 +137,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
137
137
|
name: string;
|
|
138
138
|
userId: number;
|
|
139
139
|
accountId: string;
|
|
140
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
140
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
141
141
|
locale?: string | null | undefined;
|
|
142
142
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
143
143
|
night?: {
|
|
@@ -179,7 +179,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
179
179
|
name: string;
|
|
180
180
|
userId: number;
|
|
181
181
|
accountId: string;
|
|
182
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
182
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
183
183
|
status?: unknown;
|
|
184
184
|
locale?: string | null | undefined;
|
|
185
185
|
lockReason?: unknown;
|
|
@@ -249,7 +249,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
249
249
|
account: z.ZodObject<{
|
|
250
250
|
userId: z.ZodNumber;
|
|
251
251
|
accountId: z.ZodString;
|
|
252
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
252
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
253
253
|
name: z.ZodString;
|
|
254
254
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
255
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -299,7 +299,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
299
299
|
name: string;
|
|
300
300
|
userId: number;
|
|
301
301
|
accountId: string;
|
|
302
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
302
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
303
303
|
locale?: string | null | undefined;
|
|
304
304
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
305
305
|
night?: {
|
|
@@ -326,7 +326,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
326
326
|
name: string;
|
|
327
327
|
userId: number;
|
|
328
328
|
accountId: string;
|
|
329
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
329
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
330
330
|
status?: unknown;
|
|
331
331
|
locale?: string | null | undefined;
|
|
332
332
|
lockReason?: unknown;
|
|
@@ -357,7 +357,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
357
357
|
name: string;
|
|
358
358
|
userId: number;
|
|
359
359
|
accountId: string;
|
|
360
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
360
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
361
361
|
locale?: string | null | undefined;
|
|
362
362
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
363
363
|
night?: {
|
|
@@ -436,7 +436,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
436
436
|
name: string;
|
|
437
437
|
userId: number;
|
|
438
438
|
accountId: string;
|
|
439
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
439
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
440
440
|
status?: unknown;
|
|
441
441
|
locale?: string | null | undefined;
|
|
442
442
|
lockReason?: unknown;
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformBrandsPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BatchUpsertPlatformBrandsPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
brands: z.ZodArray<z.ZodObject<{
|
|
5
5
|
platformBrandId: z.ZodString;
|
|
6
6
|
name: z.ZodString;
|
|
@@ -21,7 +21,7 @@ export declare const BatchUpsertPlatformBrandsPayloadSchema: z.ZodObject<{
|
|
|
21
21
|
normalizedName: string;
|
|
22
22
|
}>, "many">;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
24
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
25
25
|
brands: {
|
|
26
26
|
name: string;
|
|
27
27
|
platformBrandId: string;
|
|
@@ -30,7 +30,7 @@ export declare const BatchUpsertPlatformBrandsPayloadSchema: z.ZodObject<{
|
|
|
30
30
|
normalizedName: string;
|
|
31
31
|
}[];
|
|
32
32
|
}, {
|
|
33
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
33
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
34
34
|
brands: {
|
|
35
35
|
name: string;
|
|
36
36
|
platformBrandId: string;
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformCategoriesPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BatchUpsertPlatformCategoriesPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
categories: z.ZodArray<z.ZodObject<{
|
|
5
5
|
platformCategoryId: z.ZodString;
|
|
6
6
|
platformCategoryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -30,7 +30,7 @@ export declare const BatchUpsertPlatformCategoriesPayloadSchema: z.ZodObject<{
|
|
|
30
30
|
titlesByLocale?: Record<string, string> | null | undefined;
|
|
31
31
|
}>, "many">;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
33
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
34
34
|
categories: {
|
|
35
35
|
title: string;
|
|
36
36
|
platformCategoryId: string;
|
|
@@ -42,7 +42,7 @@ export declare const BatchUpsertPlatformCategoriesPayloadSchema: z.ZodObject<{
|
|
|
42
42
|
titlesByLocale?: Record<string, string> | null | undefined;
|
|
43
43
|
}[];
|
|
44
44
|
}, {
|
|
45
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
45
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
46
46
|
categories: {
|
|
47
47
|
title: string;
|
|
48
48
|
platformCategoryId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BatchUpsertPlatformCategoryFieldsPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
fields: z.ZodArray<z.ZodObject<{
|
|
5
5
|
fieldKey: z.ZodString;
|
|
6
6
|
fieldType: z.ZodString;
|
|
@@ -24,7 +24,7 @@ export declare const BatchUpsertPlatformCategoryFieldsPayloadSchema: z.ZodObject
|
|
|
24
24
|
descriptionsByLocale?: Record<string, string> | null | undefined;
|
|
25
25
|
}>, "many">;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
27
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
28
28
|
fields: {
|
|
29
29
|
fieldKey: string;
|
|
30
30
|
fieldType: string;
|
|
@@ -34,7 +34,7 @@ export declare const BatchUpsertPlatformCategoryFieldsPayloadSchema: z.ZodObject
|
|
|
34
34
|
descriptionsByLocale?: Record<string, string> | null | undefined;
|
|
35
35
|
}[];
|
|
36
36
|
}, {
|
|
37
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
37
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
38
38
|
fields: {
|
|
39
39
|
fieldKey: string;
|
|
40
40
|
fieldType: string;
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
enums: z.ZodArray<z.ZodObject<{
|
|
5
5
|
enumType: z.ZodString;
|
|
6
6
|
platformValue: z.ZodString;
|
|
@@ -43,7 +43,7 @@ export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
|
43
43
|
titlesByLocale: Record<string, string>;
|
|
44
44
|
}>, "many">;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
46
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
47
47
|
enums: {
|
|
48
48
|
enumType: string;
|
|
49
49
|
platformValueId: string;
|
|
@@ -60,7 +60,7 @@ export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
|
60
60
|
titlesByLocale: Record<string, string>;
|
|
61
61
|
}[];
|
|
62
62
|
}, {
|
|
63
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
63
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
64
64
|
enums: {
|
|
65
65
|
enumType: string;
|
|
66
66
|
platformValueId: string;
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformSizesPayload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BatchUpsertPlatformSizesPayloadSchema: z.ZodObject<{
|
|
3
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
3
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
4
4
|
sizes: z.ZodArray<z.ZodObject<{
|
|
5
5
|
platformSizeId: z.ZodString;
|
|
6
6
|
platformCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,7 +33,7 @@ export declare const BatchUpsertPlatformSizesPayloadSchema: z.ZodObject<{
|
|
|
33
33
|
sizeGroupId?: string | null | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
36
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
37
37
|
sizes: {
|
|
38
38
|
title: string;
|
|
39
39
|
platformSizeId: string;
|
|
@@ -46,7 +46,7 @@ export declare const BatchUpsertPlatformSizesPayloadSchema: z.ZodObject<{
|
|
|
46
46
|
sizeGroupId?: string | null | undefined;
|
|
47
47
|
}[];
|
|
48
48
|
}, {
|
|
49
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
49
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
50
50
|
sizes: {
|
|
51
51
|
title: string;
|
|
52
52
|
platformSizeId: string;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const BrandMappingSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
internalBrandId: z.ZodNumber;
|
|
5
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
5
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
6
6
|
platformBrandId: z.ZodString;
|
|
7
7
|
confidence: z.ZodNumber;
|
|
8
8
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -13,7 +13,7 @@ export declare const BrandMappingSchema: z.ZodObject<{
|
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
id: string;
|
|
15
15
|
createdAt: Date;
|
|
16
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
16
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
17
17
|
platformBrandId: string;
|
|
18
18
|
confidence: number;
|
|
19
19
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -24,7 +24,7 @@ export declare const BrandMappingSchema: z.ZodObject<{
|
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
26
|
createdAt: Date;
|
|
27
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
27
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
28
28
|
platformBrandId: string;
|
|
29
29
|
confidence: number;
|
|
30
30
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CategoryMappingSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
internalCategoryId: z.ZodNumber;
|
|
5
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
5
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
6
6
|
platformCategoryId: z.ZodString;
|
|
7
7
|
confidence: z.ZodNumber;
|
|
8
8
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -13,7 +13,7 @@ export declare const CategoryMappingSchema: z.ZodObject<{
|
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
id: string;
|
|
15
15
|
createdAt: Date;
|
|
16
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
16
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
17
17
|
platformCategoryId: string;
|
|
18
18
|
internalCategoryId: number;
|
|
19
19
|
confidence: number;
|
|
@@ -24,7 +24,7 @@ export declare const CategoryMappingSchema: z.ZodObject<{
|
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
26
|
createdAt: Date;
|
|
27
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
27
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
28
28
|
platformCategoryId: string;
|
|
29
29
|
internalCategoryId: number;
|
|
30
30
|
confidence: number;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateBrandMappingPayloadSchema: z.ZodObject<{
|
|
3
3
|
internalBrandId: z.ZodNumber;
|
|
4
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
4
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
5
5
|
platformBrandId: z.ZodString;
|
|
6
6
|
confidence: z.ZodNumber;
|
|
7
7
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
9
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
10
10
|
platformBrandId: string;
|
|
11
11
|
confidence: number;
|
|
12
12
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
13
13
|
internalBrandId: number;
|
|
14
14
|
}, {
|
|
15
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
15
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
16
16
|
platformBrandId: string;
|
|
17
17
|
confidence: number;
|
|
18
18
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateCategoryMappingPayloadSchema: z.ZodObject<{
|
|
3
3
|
internalCategoryId: z.ZodNumber;
|
|
4
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
4
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
5
5
|
platformCategoryId: z.ZodString;
|
|
6
6
|
confidence: z.ZodNumber;
|
|
7
7
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
9
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
10
10
|
platformCategoryId: string;
|
|
11
11
|
internalCategoryId: number;
|
|
12
12
|
confidence: number;
|
|
13
13
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
14
14
|
}, {
|
|
15
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
15
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
16
16
|
platformCategoryId: string;
|
|
17
17
|
internalCategoryId: number;
|
|
18
18
|
confidence: number;
|
|
@@ -6,12 +6,12 @@ export declare const CreateEnumMappingPayloadSchema: z.ZodObject<{
|
|
|
6
6
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
7
7
|
enumType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
internalValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>>>;
|
|
9
|
+
platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>>>;
|
|
10
10
|
platformValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
confidence: number;
|
|
13
13
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
14
|
-
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
14
|
+
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
15
15
|
enumType?: string | null | undefined;
|
|
16
16
|
platformValue?: string | null | undefined;
|
|
17
17
|
internalValue?: string | null | undefined;
|
|
@@ -20,7 +20,7 @@ export declare const CreateEnumMappingPayloadSchema: z.ZodObject<{
|
|
|
20
20
|
}, {
|
|
21
21
|
confidence: number;
|
|
22
22
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
23
|
-
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
23
|
+
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
24
24
|
enumType?: string | null | undefined;
|
|
25
25
|
platformValue?: string | null | undefined;
|
|
26
26
|
internalValue?: string | null | undefined;
|
|
@@ -2,19 +2,19 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CreateSizeMappingPayloadSchema: z.ZodObject<{
|
|
3
3
|
internalSizeId: z.ZodNumber;
|
|
4
4
|
internalCategoryId: z.ZodNumber;
|
|
5
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
5
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
6
6
|
platformSizeId: z.ZodString;
|
|
7
7
|
confidence: z.ZodNumber;
|
|
8
8
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
10
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
11
11
|
platformSizeId: string;
|
|
12
12
|
internalSizeId: number;
|
|
13
13
|
internalCategoryId: number;
|
|
14
14
|
confidence: number;
|
|
15
15
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
16
16
|
}, {
|
|
17
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
17
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
18
18
|
platformSizeId: string;
|
|
19
19
|
internalSizeId: number;
|
|
20
20
|
internalCategoryId: number;
|
|
@@ -11,7 +11,7 @@ export declare const EnumMappingSchema: z.ZodObject<{
|
|
|
11
11
|
createdAt: z.ZodDate;
|
|
12
12
|
enumType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
internalValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>>>;
|
|
14
|
+
platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>>>;
|
|
15
15
|
platformValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
id: string;
|
|
@@ -21,7 +21,7 @@ export declare const EnumMappingSchema: z.ZodObject<{
|
|
|
21
21
|
verified: boolean;
|
|
22
22
|
platformEnumId: string;
|
|
23
23
|
internalEnumId: number;
|
|
24
|
-
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
24
|
+
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
25
25
|
enumType?: string | null | undefined;
|
|
26
26
|
verifiedBy?: number | null | undefined;
|
|
27
27
|
verifiedAt?: Date | null | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const EnumMappingSchema: z.ZodObject<{
|
|
|
35
35
|
verified: boolean;
|
|
36
36
|
platformEnumId: string;
|
|
37
37
|
internalEnumId: number;
|
|
38
|
-
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
38
|
+
platform?: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE" | null | undefined;
|
|
39
39
|
enumType?: string | null | undefined;
|
|
40
40
|
verifiedBy?: number | null | undefined;
|
|
41
41
|
verifiedAt?: Date | null | undefined;
|