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
|
@@ -3,7 +3,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
3
3
|
category: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
internalCategoryId: z.ZodNumber;
|
|
6
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
6
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
7
7
|
platformCategoryId: z.ZodString;
|
|
8
8
|
confidence: z.ZodNumber;
|
|
9
9
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -14,7 +14,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
id: string;
|
|
16
16
|
createdAt: Date;
|
|
17
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
17
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
18
18
|
platformCategoryId: string;
|
|
19
19
|
internalCategoryId: number;
|
|
20
20
|
confidence: number;
|
|
@@ -25,7 +25,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
25
25
|
}, {
|
|
26
26
|
id: string;
|
|
27
27
|
createdAt: Date;
|
|
28
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
28
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
29
29
|
platformCategoryId: string;
|
|
30
30
|
internalCategoryId: number;
|
|
31
31
|
confidence: number;
|
|
@@ -37,7 +37,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
37
37
|
brand: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
38
|
id: z.ZodString;
|
|
39
39
|
internalBrandId: z.ZodNumber;
|
|
40
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
40
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
41
41
|
platformBrandId: z.ZodString;
|
|
42
42
|
confidence: z.ZodNumber;
|
|
43
43
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -48,7 +48,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
id: string;
|
|
50
50
|
createdAt: Date;
|
|
51
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
51
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
52
52
|
platformBrandId: string;
|
|
53
53
|
confidence: number;
|
|
54
54
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -59,7 +59,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
59
59
|
}, {
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: Date;
|
|
62
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
62
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
63
63
|
platformBrandId: string;
|
|
64
64
|
confidence: number;
|
|
65
65
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -72,7 +72,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
72
72
|
id: z.ZodString;
|
|
73
73
|
internalSizeId: z.ZodNumber;
|
|
74
74
|
internalCategoryId: z.ZodNumber;
|
|
75
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
75
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
76
76
|
platformSizeId: z.ZodString;
|
|
77
77
|
confidence: z.ZodNumber;
|
|
78
78
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -83,7 +83,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
id: string;
|
|
85
85
|
createdAt: Date;
|
|
86
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
86
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
87
87
|
platformSizeId: string;
|
|
88
88
|
internalSizeId: number;
|
|
89
89
|
internalCategoryId: number;
|
|
@@ -95,7 +95,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
95
95
|
}, {
|
|
96
96
|
id: string;
|
|
97
97
|
createdAt: Date;
|
|
98
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
98
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
99
99
|
platformSizeId: string;
|
|
100
100
|
internalSizeId: number;
|
|
101
101
|
internalCategoryId: number;
|
|
@@ -111,7 +111,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
111
111
|
brand?: {
|
|
112
112
|
id: string;
|
|
113
113
|
createdAt: Date;
|
|
114
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
114
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
115
115
|
platformBrandId: string;
|
|
116
116
|
confidence: number;
|
|
117
117
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -124,7 +124,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
124
124
|
size?: {
|
|
125
125
|
id: string;
|
|
126
126
|
createdAt: Date;
|
|
127
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
127
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
128
128
|
platformSizeId: string;
|
|
129
129
|
internalSizeId: number;
|
|
130
130
|
internalCategoryId: number;
|
|
@@ -138,7 +138,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
138
138
|
category?: {
|
|
139
139
|
id: string;
|
|
140
140
|
createdAt: Date;
|
|
141
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
141
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
142
142
|
platformCategoryId: string;
|
|
143
143
|
internalCategoryId: number;
|
|
144
144
|
confidence: number;
|
|
@@ -151,7 +151,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
151
151
|
brand?: {
|
|
152
152
|
id: string;
|
|
153
153
|
createdAt: Date;
|
|
154
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
154
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
155
155
|
platformBrandId: string;
|
|
156
156
|
confidence: number;
|
|
157
157
|
mappingMethod: "MANUAL" | "EXACT_MATCH" | "FUZZY_MATCH" | "RULE_BASED" | "ML_SUGGESTED";
|
|
@@ -164,7 +164,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
164
164
|
size?: {
|
|
165
165
|
id: string;
|
|
166
166
|
createdAt: Date;
|
|
167
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
167
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
168
168
|
platformSizeId: string;
|
|
169
169
|
internalSizeId: number;
|
|
170
170
|
internalCategoryId: number;
|
|
@@ -178,7 +178,7 @@ export declare const MappingInfoSchema: z.ZodObject<{
|
|
|
178
178
|
category?: {
|
|
179
179
|
id: string;
|
|
180
180
|
createdAt: Date;
|
|
181
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
181
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
182
182
|
platformCategoryId: string;
|
|
183
183
|
internalCategoryId: number;
|
|
184
184
|
confidence: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PlatformBrandSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
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
|
name: z.ZodString;
|
|
7
7
|
normalizedName: z.ZodString;
|
|
@@ -10,7 +10,7 @@ export declare const PlatformBrandSchema: z.ZodObject<{
|
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
name: string;
|
|
12
12
|
id: string;
|
|
13
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
13
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
14
14
|
platformBrandId: string;
|
|
15
15
|
isActive: boolean;
|
|
16
16
|
metadata: Record<string, string>;
|
|
@@ -18,7 +18,7 @@ export declare const PlatformBrandSchema: z.ZodObject<{
|
|
|
18
18
|
}, {
|
|
19
19
|
name: string;
|
|
20
20
|
id: string;
|
|
21
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
21
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
22
22
|
platformBrandId: string;
|
|
23
23
|
isActive: boolean;
|
|
24
24
|
metadata: Record<string, string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PlatformCategorySchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
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
|
platformCategoryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
title: z.ZodString;
|
|
@@ -12,7 +12,7 @@ export declare const PlatformCategorySchema: z.ZodObject<{
|
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
title: string;
|
|
14
14
|
id: string;
|
|
15
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
15
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
16
16
|
platformCategoryId: string;
|
|
17
17
|
isActive: boolean;
|
|
18
18
|
metadata: Record<string, string>;
|
|
@@ -22,7 +22,7 @@ export declare const PlatformCategorySchema: z.ZodObject<{
|
|
|
22
22
|
}, {
|
|
23
23
|
title: string;
|
|
24
24
|
id: string;
|
|
25
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
25
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
26
26
|
platformCategoryId: string;
|
|
27
27
|
isActive: boolean;
|
|
28
28
|
metadata: Record<string, string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PlatformEnumSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
4
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
5
5
|
enumType: z.ZodString;
|
|
6
6
|
platformValue: z.ZodString;
|
|
7
7
|
platformValueId: z.ZodString;
|
|
@@ -12,7 +12,7 @@ export declare const PlatformEnumSchema: z.ZodObject<{
|
|
|
12
12
|
titlesByLocale: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
id: string;
|
|
15
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
15
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
16
16
|
enumType: string;
|
|
17
17
|
platformValueId: string;
|
|
18
18
|
displayName: string;
|
|
@@ -23,7 +23,7 @@ export declare const PlatformEnumSchema: z.ZodObject<{
|
|
|
23
23
|
platformCategoryIds?: string[] | null | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
26
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
27
27
|
enumType: string;
|
|
28
28
|
platformValueId: string;
|
|
29
29
|
displayName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PlatformSizeSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
4
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
5
5
|
platformSizeId: z.ZodString;
|
|
6
6
|
platformCategoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
sizeGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14,7 +14,7 @@ export declare const PlatformSizeSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
title: string;
|
|
16
16
|
id: string;
|
|
17
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
17
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
18
18
|
platformSizeId: string;
|
|
19
19
|
isActive: boolean;
|
|
20
20
|
metadata: Record<string, string>;
|
|
@@ -26,7 +26,7 @@ export declare const PlatformSizeSchema: z.ZodObject<{
|
|
|
26
26
|
}, {
|
|
27
27
|
title: string;
|
|
28
28
|
id: string;
|
|
29
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
29
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
30
30
|
platformSizeId: string;
|
|
31
31
|
isActive: boolean;
|
|
32
32
|
metadata: Record<string, string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const RecomputeCategoryRequiredAttributesPayloadSchema: 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 RecomputeCategoryRequiredAttributesPayload = z.infer<typeof RecomputeCategoryRequiredAttributesPayloadSchema>;
|
|
10
10
|
//# sourceMappingURL=RecomputeCategoryRequiredAttributesPayload.d.ts.map
|
|
@@ -3,7 +3,7 @@ export declare const SizeMappingSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
internalSizeId: z.ZodNumber;
|
|
5
5
|
internalCategoryId: z.ZodNumber;
|
|
6
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
6
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
7
7
|
platformSizeId: z.ZodString;
|
|
8
8
|
confidence: z.ZodNumber;
|
|
9
9
|
mappingMethod: z.ZodEnum<["MANUAL", "EXACT_MATCH", "FUZZY_MATCH", "RULE_BASED", "ML_SUGGESTED"]>;
|
|
@@ -14,7 +14,7 @@ export declare const SizeMappingSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
id: string;
|
|
16
16
|
createdAt: Date;
|
|
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;
|
|
@@ -26,7 +26,7 @@ export declare const SizeMappingSchema: z.ZodObject<{
|
|
|
26
26
|
}, {
|
|
27
27
|
id: string;
|
|
28
28
|
createdAt: Date;
|
|
29
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
29
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
30
30
|
platformSizeId: string;
|
|
31
31
|
internalSizeId: number;
|
|
32
32
|
internalCategoryId: number;
|
|
@@ -26,7 +26,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
26
26
|
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
userId: z.ZodNumber;
|
|
28
28
|
accountId: z.ZodString;
|
|
29
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
29
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
30
30
|
name: z.ZodString;
|
|
31
31
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -76,7 +76,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
76
76
|
name: string;
|
|
77
77
|
userId: number;
|
|
78
78
|
accountId: string;
|
|
79
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
79
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
80
80
|
locale?: string | null | undefined;
|
|
81
81
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
82
82
|
night?: {
|
|
@@ -103,7 +103,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
103
103
|
name: string;
|
|
104
104
|
userId: number;
|
|
105
105
|
accountId: string;
|
|
106
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
106
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
107
107
|
status?: unknown;
|
|
108
108
|
locale?: string | null | undefined;
|
|
109
109
|
lockReason?: unknown;
|
|
@@ -150,7 +150,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
150
150
|
name: string;
|
|
151
151
|
userId: number;
|
|
152
152
|
accountId: string;
|
|
153
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
153
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
154
154
|
locale?: string | null | undefined;
|
|
155
155
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
156
156
|
night?: {
|
|
@@ -192,7 +192,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
192
192
|
name: string;
|
|
193
193
|
userId: number;
|
|
194
194
|
accountId: string;
|
|
195
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
195
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
196
196
|
status?: unknown;
|
|
197
197
|
locale?: string | null | undefined;
|
|
198
198
|
lockReason?: unknown;
|
|
@@ -240,7 +240,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
240
240
|
name: string;
|
|
241
241
|
userId: number;
|
|
242
242
|
accountId: string;
|
|
243
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
243
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
244
244
|
locale?: string | null | undefined;
|
|
245
245
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
246
246
|
night?: {
|
|
@@ -286,7 +286,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
286
286
|
name: string;
|
|
287
287
|
userId: number;
|
|
288
288
|
accountId: string;
|
|
289
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
289
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
290
290
|
status?: unknown;
|
|
291
291
|
locale?: string | null | undefined;
|
|
292
292
|
lockReason?: unknown;
|
|
@@ -995,7 +995,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
995
995
|
name: string;
|
|
996
996
|
userId: number;
|
|
997
997
|
accountId: string;
|
|
998
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
998
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
999
999
|
locale?: string | null | undefined;
|
|
1000
1000
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
1001
1001
|
night?: {
|
|
@@ -1192,7 +1192,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1192
1192
|
name: string;
|
|
1193
1193
|
userId: number;
|
|
1194
1194
|
accountId: string;
|
|
1195
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1195
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
1196
1196
|
status?: unknown;
|
|
1197
1197
|
locale?: string | null | undefined;
|
|
1198
1198
|
lockReason?: unknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const OrderFiltersContextSchema: z.ZodObject<{
|
|
3
3
|
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
4
|
-
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>, "many">>>;
|
|
4
|
+
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>, "many">>>;
|
|
5
5
|
statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodCatch<z.ZodEnum<["PAYMENT_VALIDATED", "ORDER_CANCELED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_RECEIVED", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_IN_PROGRESS", "REFUND_DONE", "ORDER_CANCELED_ITEM_UNAVAILABLE", "ORDER_CANCELED_BY_VINTED", "ORDER_DISPUTE_STARTED", "ORDER_CANCELED_DUE_TO_LATE_SHIPPING", "SHIPPING_LABEL_ORDERED", "FAILED_TO_ORDER_SHIPPING_LABEL", "ORDER_RETURNED_TO_SENDER", "PAYMENT_FAILED", "ORDER_SUSPENDED", "SHIPPING_TO_VERIFICATION_CENTER", "RECEIVED_AT_VERIFICATION_CENTER", "PAYMENT_IN_PROGRESS", "SENT_TO_VERIFICATION_CENTER", "SHIPPING_FROM_VERIFICATION_CENTER", "VERIFICATION_FAILED", "ORDER_DISPUTE_RESOLVED", "UNKNOWN"]>>, "many">>>;
|
|
6
6
|
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["PURCHASE", "SALE"]>, "many">>>;
|
|
7
7
|
isPrepared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -10,7 +10,7 @@ export declare const OrderFiltersContextSchema: z.ZodObject<{
|
|
|
10
10
|
buckets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["TO_SEND", "TO_PICKUP"]>, "many">>>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
accountIds?: string[] | null | undefined;
|
|
13
|
-
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
13
|
+
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
14
14
|
transactionType?: "SINGLE_ITEM" | "BUNDLE" | null | undefined;
|
|
15
15
|
isPrepared?: boolean | null | undefined;
|
|
16
16
|
statuses?: ("UNKNOWN" | "PAYMENT_VALIDATED" | "ORDER_CANCELED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_IN_PROGRESS" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "FAILED_TO_ORDER_SHIPPING_LABEL" | "ORDER_RETURNED_TO_SENDER" | "PAYMENT_FAILED" | "ORDER_SUSPENDED" | "SHIPPING_TO_VERIFICATION_CENTER" | "RECEIVED_AT_VERIFICATION_CENTER" | "PAYMENT_IN_PROGRESS" | "SENT_TO_VERIFICATION_CENTER" | "SHIPPING_FROM_VERIFICATION_CENTER" | "VERIFICATION_FAILED" | "ORDER_DISPUTE_RESOLVED")[] | null | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const OrderFiltersContextSchema: z.ZodObject<{
|
|
|
19
19
|
buckets?: ("TO_SEND" | "TO_PICKUP")[] | null | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
accountIds?: string[] | null | undefined;
|
|
22
|
-
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
22
|
+
platforms?: ("EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE")[] | null | undefined;
|
|
23
23
|
transactionType?: "SINGLE_ITEM" | "BUNDLE" | null | undefined;
|
|
24
24
|
isPrepared?: boolean | null | undefined;
|
|
25
25
|
statuses?: unknown[] | null | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
49
49
|
account: z.ZodObject<{
|
|
50
50
|
userId: z.ZodNumber;
|
|
51
51
|
accountId: z.ZodString;
|
|
52
|
-
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
52
|
+
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "SUMUP", "VINTED", "VESTIAIRE"]>;
|
|
53
53
|
name: z.ZodString;
|
|
54
54
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
@@ -99,7 +99,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
99
99
|
name: string;
|
|
100
100
|
userId: number;
|
|
101
101
|
accountId: string;
|
|
102
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
102
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
103
103
|
locale?: string | null | undefined;
|
|
104
104
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
105
105
|
night?: {
|
|
@@ -126,7 +126,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
126
126
|
name: string;
|
|
127
127
|
userId: number;
|
|
128
128
|
accountId: string;
|
|
129
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
129
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
130
130
|
status?: unknown;
|
|
131
131
|
locale?: string | null | undefined;
|
|
132
132
|
lockReason?: unknown;
|
|
@@ -157,7 +157,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
157
157
|
name: string;
|
|
158
158
|
userId: number;
|
|
159
159
|
accountId: string;
|
|
160
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
160
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
161
161
|
locale?: string | null | undefined;
|
|
162
162
|
lockReason?: "BANNED" | "PHONE_NUMBER_REQUIRED" | "LISTING_RESTRICTION" | "CONVERTING_TO_PRO" | "UNKNOWN" | null | undefined;
|
|
163
163
|
night?: {
|
|
@@ -202,7 +202,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
202
202
|
name: string;
|
|
203
203
|
userId: number;
|
|
204
204
|
accountId: string;
|
|
205
|
-
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
205
|
+
platform: "EBAY" | "ETSY" | "SHOPIFY" | "SUMUP" | "VINTED" | "VESTIAIRE";
|
|
206
206
|
status?: unknown;
|
|
207
207
|
locale?: string | null | undefined;
|
|
208
208
|
lockReason?: unknown;
|