controlresell 2.20.19 → 2.22.2
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/requests/items/cancel/CancelRequest.d.ts +2 -2
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts +19 -12
- package/src/com/controlresell/api/responses/conversations/MessageStreamResponse.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/invoices/ListInvoicesResponse.d.ts +4 -4
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +26 -17
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +20 -13
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItemOrder.d.ts +4 -4
- package/src/com/controlresell/models/conversations/Conversation.d.ts +34 -29
- package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +101 -5
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +50 -43
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +50 -43
- package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +10 -5
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +14 -7
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +14 -7
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/users/ConversationUser.d.ts +12 -12
- 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 +10 -5
- package/src/com/controlresell/models/filters/PreferenceFilter.d.ts.map +1 -1
- package/src/com/controlresell/models/invoices/Invoice.d.ts +2 -2
- package/src/com/controlresell/models/items/CreatedItems.d.ts +44 -26
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +14 -7
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +26 -17
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +44 -26
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +10 -5
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +10 -5
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts +18 -0
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js +3 -1
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.ts +3 -1
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +18 -9
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts +13 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.d.ts.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js +6 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.js.map +1 -0
- package/src/com/controlresell/models/metadata/platforms/PlatformEnumTypePayload.ts +7 -0
- package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts +30 -0
- package/src/com/controlresell/models/orders/FetchOrdersRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts +30 -0
- package/src/com/controlresell/models/orders/FetchOrdersResponse.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/BatchUpdateOrdersPayload.d.ts +4 -4
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +34 -25
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +40 -5
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +102 -78
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +14 -7
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -58
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/Transaction.d.ts +18 -9
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +14 -7
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +48 -28
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +10 -5
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +10 -5
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +6 -3
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js +2 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.ts +2 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts +6 -3
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js +2 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatform.ts +2 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js +2 -2
- package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.js.map +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformStatus.ts +2 -2
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +152 -120
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- 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/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts
CHANGED
|
@@ -32,6 +32,16 @@ export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
|
32
32
|
titlesByLocale?: Record<string, string> | null | undefined;
|
|
33
33
|
descriptionsByLocale?: Record<string, string> | null | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
|
+
enumTypes: z.ZodArray<z.ZodObject<{
|
|
36
|
+
enumType: z.ZodString;
|
|
37
|
+
titlesByLocale: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
enumType: string;
|
|
40
|
+
titlesByLocale: Record<string, string>;
|
|
41
|
+
}, {
|
|
42
|
+
enumType: string;
|
|
43
|
+
titlesByLocale: Record<string, string>;
|
|
44
|
+
}>, "many">;
|
|
35
45
|
}, "strip", z.ZodTypeAny, {
|
|
36
46
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
37
47
|
enums: {
|
|
@@ -45,6 +55,10 @@ export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
|
45
55
|
titlesByLocale?: Record<string, string> | null | undefined;
|
|
46
56
|
descriptionsByLocale?: Record<string, string> | null | undefined;
|
|
47
57
|
}[];
|
|
58
|
+
enumTypes: {
|
|
59
|
+
enumType: string;
|
|
60
|
+
titlesByLocale: Record<string, string>;
|
|
61
|
+
}[];
|
|
48
62
|
}, {
|
|
49
63
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
50
64
|
enums: {
|
|
@@ -58,6 +72,10 @@ export declare const BatchUpsertPlatformEnumsPayloadSchema: z.ZodObject<{
|
|
|
58
72
|
titlesByLocale?: Record<string, string> | null | undefined;
|
|
59
73
|
descriptionsByLocale?: Record<string, string> | null | undefined;
|
|
60
74
|
}[];
|
|
75
|
+
enumTypes: {
|
|
76
|
+
enumType: string;
|
|
77
|
+
titlesByLocale: Record<string, string>;
|
|
78
|
+
}[];
|
|
61
79
|
}>;
|
|
62
80
|
export type BatchUpsertPlatformEnumsPayload = z.infer<typeof BatchUpsertPlatformEnumsPayloadSchema>;
|
|
63
81
|
//# sourceMappingURL=BatchUpsertPlatformEnumsPayload.d.ts.map
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchUpsertPlatformEnumsPayload.d.ts","sourceRoot":"","sources":["BatchUpsertPlatformEnumsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"BatchUpsertPlatformEnumsPayload.d.ts","sourceRoot":"","sources":["BatchUpsertPlatformEnumsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhD,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { AccountPlatformSchema } from "controlresell-connector";
|
|
3
3
|
import { PlatformEnumPayloadSchema } from "./PlatformEnumPayload";
|
|
4
|
+
import { PlatformEnumTypePayloadSchema } from "./PlatformEnumTypePayload";
|
|
4
5
|
export const BatchUpsertPlatformEnumsPayloadSchema = z.object({
|
|
5
6
|
platform: AccountPlatformSchema,
|
|
6
|
-
enums: z.array(PlatformEnumPayloadSchema)
|
|
7
|
+
enums: z.array(PlatformEnumPayloadSchema),
|
|
8
|
+
enumTypes: z.array(PlatformEnumTypePayloadSchema)
|
|
7
9
|
});
|
|
8
10
|
//# sourceMappingURL=BatchUpsertPlatformEnumsPayload.js.map
|
package/src/com/controlresell/models/metadata/platforms/BatchUpsertPlatformEnumsPayload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchUpsertPlatformEnumsPayload.js","sourceRoot":"","sources":["BatchUpsertPlatformEnumsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAC,yBAAyB,EAAC,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"BatchUpsertPlatformEnumsPayload.js","sourceRoot":"","sources":["BatchUpsertPlatformEnumsPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAC,yBAAyB,EAAC,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAC,6BAA6B,EAAC,MAAM,2BAA2B,CAAA;AAEvE,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1D,QAAQ,EAAE,qBAAqB;IAC/B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;IACzC,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;CACpD,CAAC,CAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
import {AccountPlatformSchema} from "controlresell-connector"
|
|
3
3
|
import {PlatformEnumPayloadSchema} from "./PlatformEnumPayload"
|
|
4
|
+
import {PlatformEnumTypePayloadSchema} from "./PlatformEnumTypePayload"
|
|
4
5
|
|
|
5
6
|
export const BatchUpsertPlatformEnumsPayloadSchema = z.object({
|
|
6
7
|
platform: AccountPlatformSchema,
|
|
7
|
-
enums: z.array(PlatformEnumPayloadSchema)
|
|
8
|
+
enums: z.array(PlatformEnumPayloadSchema),
|
|
9
|
+
enumTypes: z.array(PlatformEnumTypePayloadSchema)
|
|
8
10
|
})
|
|
9
11
|
export type BatchUpsertPlatformEnumsPayload = z.infer<typeof BatchUpsertPlatformEnumsPayloadSchema>
|
|
@@ -2283,7 +2283,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2283
2283
|
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
2284
2284
|
name: z.ZodString;
|
|
2285
2285
|
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2286
|
-
status: z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED"]
|
|
2286
|
+
status: z.ZodCatch<z.ZodEnum<["CONNECTED", "DISCONNECTED", "LOCKED", "PAUSED", "UNKNOWN"]>>;
|
|
2287
2287
|
night: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2288
2288
|
startsAt: z.ZodDate;
|
|
2289
2289
|
endsAt: z.ZodDate;
|
|
@@ -2324,8 +2324,9 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2324
2324
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2325
2325
|
}>>>;
|
|
2326
2326
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
2327
|
+
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2327
2328
|
}, "strip", z.ZodTypeAny, {
|
|
2328
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
2329
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2329
2330
|
name: string;
|
|
2330
2331
|
userId: number;
|
|
2331
2332
|
accountId: string;
|
|
@@ -2351,12 +2352,13 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2351
2352
|
signedUrl: string;
|
|
2352
2353
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2353
2354
|
} | null | undefined;
|
|
2355
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
2354
2356
|
}, {
|
|
2355
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
2356
2357
|
name: string;
|
|
2357
2358
|
userId: number;
|
|
2358
2359
|
accountId: string;
|
|
2359
2360
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2361
|
+
status?: unknown;
|
|
2360
2362
|
locale?: string | null | undefined;
|
|
2361
2363
|
lockReason?: unknown;
|
|
2362
2364
|
night?: {
|
|
@@ -2378,6 +2380,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2378
2380
|
signedUrl: string;
|
|
2379
2381
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2380
2382
|
} | null | undefined;
|
|
2383
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
2381
2384
|
}>>>;
|
|
2382
2385
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2383
2386
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2397,7 +2400,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2397
2400
|
viewsCount?: number | null | undefined;
|
|
2398
2401
|
favoritesCount?: number | null | undefined;
|
|
2399
2402
|
account?: {
|
|
2400
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
2403
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2401
2404
|
name: string;
|
|
2402
2405
|
userId: number;
|
|
2403
2406
|
accountId: string;
|
|
@@ -2423,6 +2426,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2423
2426
|
signedUrl: string;
|
|
2424
2427
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2425
2428
|
} | null | undefined;
|
|
2429
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
2426
2430
|
} | null | undefined;
|
|
2427
2431
|
}, {
|
|
2428
2432
|
id: string;
|
|
@@ -2439,11 +2443,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2439
2443
|
viewsCount?: number | null | undefined;
|
|
2440
2444
|
favoritesCount?: number | null | undefined;
|
|
2441
2445
|
account?: {
|
|
2442
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
2443
2446
|
name: string;
|
|
2444
2447
|
userId: number;
|
|
2445
2448
|
accountId: string;
|
|
2446
2449
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2450
|
+
status?: unknown;
|
|
2447
2451
|
locale?: string | null | undefined;
|
|
2448
2452
|
lockReason?: unknown;
|
|
2449
2453
|
night?: {
|
|
@@ -2465,6 +2469,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
2465
2469
|
signedUrl: string;
|
|
2466
2470
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
2467
2471
|
} | null | undefined;
|
|
2472
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
2468
2473
|
} | null | undefined;
|
|
2469
2474
|
}>, "many">>>;
|
|
2470
2475
|
history: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -4578,7 +4583,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4578
4583
|
viewsCount?: number | null | undefined;
|
|
4579
4584
|
favoritesCount?: number | null | undefined;
|
|
4580
4585
|
account?: {
|
|
4581
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
4586
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
4582
4587
|
name: string;
|
|
4583
4588
|
userId: number;
|
|
4584
4589
|
accountId: string;
|
|
@@ -4604,6 +4609,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
4604
4609
|
signedUrl: string;
|
|
4605
4610
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
4606
4611
|
} | null | undefined;
|
|
4612
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
4607
4613
|
} | null | undefined;
|
|
4608
4614
|
}[] | null | undefined;
|
|
4609
4615
|
brandId?: number | null | undefined;
|
|
@@ -5210,11 +5216,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5210
5216
|
viewsCount?: number | null | undefined;
|
|
5211
5217
|
favoritesCount?: number | null | undefined;
|
|
5212
5218
|
account?: {
|
|
5213
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
5214
5219
|
name: string;
|
|
5215
5220
|
userId: number;
|
|
5216
5221
|
accountId: string;
|
|
5217
5222
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
5223
|
+
status?: unknown;
|
|
5218
5224
|
locale?: string | null | undefined;
|
|
5219
5225
|
lockReason?: unknown;
|
|
5220
5226
|
night?: {
|
|
@@ -5236,6 +5242,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
5236
5242
|
signedUrl: string;
|
|
5237
5243
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
5238
5244
|
} | null | undefined;
|
|
5245
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
5239
5246
|
} | null | undefined;
|
|
5240
5247
|
}[] | null | undefined;
|
|
5241
5248
|
brandId?: number | null | undefined;
|
|
@@ -6274,7 +6281,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6274
6281
|
viewsCount?: number | null | undefined;
|
|
6275
6282
|
favoritesCount?: number | null | undefined;
|
|
6276
6283
|
account?: {
|
|
6277
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
6284
|
+
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
6278
6285
|
name: string;
|
|
6279
6286
|
userId: number;
|
|
6280
6287
|
accountId: string;
|
|
@@ -6300,6 +6307,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
6300
6307
|
signedUrl: string;
|
|
6301
6308
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
6302
6309
|
} | null | undefined;
|
|
6310
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
6303
6311
|
} | null | undefined;
|
|
6304
6312
|
}[] | null | undefined;
|
|
6305
6313
|
brandId?: number | null | undefined;
|
|
@@ -7022,11 +7030,11 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7022
7030
|
viewsCount?: number | null | undefined;
|
|
7023
7031
|
favoritesCount?: number | null | undefined;
|
|
7024
7032
|
account?: {
|
|
7025
|
-
status: "CONNECTED" | "DISCONNECTED" | "LOCKED";
|
|
7026
7033
|
name: string;
|
|
7027
7034
|
userId: number;
|
|
7028
7035
|
accountId: string;
|
|
7029
7036
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
7037
|
+
status?: unknown;
|
|
7030
7038
|
locale?: string | null | undefined;
|
|
7031
7039
|
lockReason?: unknown;
|
|
7032
7040
|
night?: {
|
|
@@ -7048,6 +7056,7 @@ export declare const ItemListingPreviewSchema: z.ZodObject<{
|
|
|
7048
7056
|
signedUrl: string;
|
|
7049
7057
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
7050
7058
|
} | null | undefined;
|
|
7059
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
7051
7060
|
} | null | undefined;
|
|
7052
7061
|
}[] | null | undefined;
|
|
7053
7062
|
brandId?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemListingPreview.d.ts","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", z.ZodTypeAny, {
|
|
6
|
+
enumType: string;
|
|
7
|
+
titlesByLocale: Record<string, string>;
|
|
8
|
+
}, {
|
|
9
|
+
enumType: string;
|
|
10
|
+
titlesByLocale: Record<string, string>;
|
|
11
|
+
}>;
|
|
12
|
+
export type PlatformEnumTypePayload = z.infer<typeof PlatformEnumTypePayloadSchema>;
|
|
13
|
+
//# sourceMappingURL=PlatformEnumTypePayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformEnumTypePayload.d.ts","sourceRoot":"","sources":["PlatformEnumTypePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformEnumTypePayload.js","sourceRoot":"","sources":["PlatformEnumTypePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CAAA"}
|
|
@@ -10,6 +10,12 @@ export declare const FetchOrdersRequestSchema: z.ZodObject<{
|
|
|
10
10
|
currencyCode: z.ZodString;
|
|
11
11
|
status: 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"]>>;
|
|
12
12
|
date: z.ZodDate;
|
|
13
|
+
platformFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
shippingFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
shippingVat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
totalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
refundAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
19
|
}, "strip", z.ZodTypeAny, {
|
|
14
20
|
type: "SALE" | "PURCHASE";
|
|
15
21
|
status: "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";
|
|
@@ -19,6 +25,12 @@ export declare const FetchOrdersRequestSchema: z.ZodObject<{
|
|
|
19
25
|
currencyCode: string;
|
|
20
26
|
conversationId?: string | null | undefined;
|
|
21
27
|
transactionId?: string | null | undefined;
|
|
28
|
+
platformFee?: number | null | undefined;
|
|
29
|
+
shippingFee?: number | null | undefined;
|
|
30
|
+
shippingVat?: number | null | undefined;
|
|
31
|
+
vatAmount?: number | null | undefined;
|
|
32
|
+
totalAmount?: number | null | undefined;
|
|
33
|
+
refundAmount?: number | null | undefined;
|
|
22
34
|
}, {
|
|
23
35
|
type: "SALE" | "PURCHASE";
|
|
24
36
|
date: Date;
|
|
@@ -28,6 +40,12 @@ export declare const FetchOrdersRequestSchema: z.ZodObject<{
|
|
|
28
40
|
status?: unknown;
|
|
29
41
|
conversationId?: string | null | undefined;
|
|
30
42
|
transactionId?: string | null | undefined;
|
|
43
|
+
platformFee?: number | null | undefined;
|
|
44
|
+
shippingFee?: number | null | undefined;
|
|
45
|
+
shippingVat?: number | null | undefined;
|
|
46
|
+
vatAmount?: number | null | undefined;
|
|
47
|
+
totalAmount?: number | null | undefined;
|
|
48
|
+
refundAmount?: number | null | undefined;
|
|
31
49
|
}>, "many">;
|
|
32
50
|
}, "strip", z.ZodTypeAny, {
|
|
33
51
|
accountId: string;
|
|
@@ -40,6 +58,12 @@ export declare const FetchOrdersRequestSchema: z.ZodObject<{
|
|
|
40
58
|
currencyCode: string;
|
|
41
59
|
conversationId?: string | null | undefined;
|
|
42
60
|
transactionId?: string | null | undefined;
|
|
61
|
+
platformFee?: number | null | undefined;
|
|
62
|
+
shippingFee?: number | null | undefined;
|
|
63
|
+
shippingVat?: number | null | undefined;
|
|
64
|
+
vatAmount?: number | null | undefined;
|
|
65
|
+
totalAmount?: number | null | undefined;
|
|
66
|
+
refundAmount?: number | null | undefined;
|
|
43
67
|
}[];
|
|
44
68
|
}, {
|
|
45
69
|
accountId: string;
|
|
@@ -52,6 +76,12 @@ export declare const FetchOrdersRequestSchema: z.ZodObject<{
|
|
|
52
76
|
status?: unknown;
|
|
53
77
|
conversationId?: string | null | undefined;
|
|
54
78
|
transactionId?: string | null | undefined;
|
|
79
|
+
platformFee?: number | null | undefined;
|
|
80
|
+
shippingFee?: number | null | undefined;
|
|
81
|
+
shippingVat?: number | null | undefined;
|
|
82
|
+
vatAmount?: number | null | undefined;
|
|
83
|
+
totalAmount?: number | null | undefined;
|
|
84
|
+
refundAmount?: number | null | undefined;
|
|
55
85
|
}[];
|
|
56
86
|
}>;
|
|
57
87
|
export type FetchOrdersRequest = z.infer<typeof FetchOrdersRequestSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchOrdersRequest.d.ts","sourceRoot":"","sources":["FetchOrdersRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"FetchOrdersRequest.d.ts","sourceRoot":"","sources":["FetchOrdersRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -9,6 +9,12 @@ export declare const FetchOrdersResponseSchema: z.ZodObject<{
|
|
|
9
9
|
currencyCode: z.ZodString;
|
|
10
10
|
status: 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"]>>;
|
|
11
11
|
date: z.ZodDate;
|
|
12
|
+
platformFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
shippingFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
shippingVat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
vatAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
totalAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
refundAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
18
|
}, "strip", z.ZodTypeAny, {
|
|
13
19
|
type: "SALE" | "PURCHASE";
|
|
14
20
|
status: "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";
|
|
@@ -18,6 +24,12 @@ export declare const FetchOrdersResponseSchema: z.ZodObject<{
|
|
|
18
24
|
currencyCode: string;
|
|
19
25
|
conversationId?: string | null | undefined;
|
|
20
26
|
transactionId?: string | null | undefined;
|
|
27
|
+
platformFee?: number | null | undefined;
|
|
28
|
+
shippingFee?: number | null | undefined;
|
|
29
|
+
shippingVat?: number | null | undefined;
|
|
30
|
+
vatAmount?: number | null | undefined;
|
|
31
|
+
totalAmount?: number | null | undefined;
|
|
32
|
+
refundAmount?: number | null | undefined;
|
|
21
33
|
}, {
|
|
22
34
|
type: "SALE" | "PURCHASE";
|
|
23
35
|
date: Date;
|
|
@@ -27,6 +39,12 @@ export declare const FetchOrdersResponseSchema: z.ZodObject<{
|
|
|
27
39
|
status?: unknown;
|
|
28
40
|
conversationId?: string | null | undefined;
|
|
29
41
|
transactionId?: string | null | undefined;
|
|
42
|
+
platformFee?: number | null | undefined;
|
|
43
|
+
shippingFee?: number | null | undefined;
|
|
44
|
+
shippingVat?: number | null | undefined;
|
|
45
|
+
vatAmount?: number | null | undefined;
|
|
46
|
+
totalAmount?: number | null | undefined;
|
|
47
|
+
refundAmount?: number | null | undefined;
|
|
30
48
|
}>, "many">;
|
|
31
49
|
}, "strip", z.ZodTypeAny, {
|
|
32
50
|
ordersToFetchConversations: {
|
|
@@ -38,6 +56,12 @@ export declare const FetchOrdersResponseSchema: z.ZodObject<{
|
|
|
38
56
|
currencyCode: string;
|
|
39
57
|
conversationId?: string | null | undefined;
|
|
40
58
|
transactionId?: string | null | undefined;
|
|
59
|
+
platformFee?: number | null | undefined;
|
|
60
|
+
shippingFee?: number | null | undefined;
|
|
61
|
+
shippingVat?: number | null | undefined;
|
|
62
|
+
vatAmount?: number | null | undefined;
|
|
63
|
+
totalAmount?: number | null | undefined;
|
|
64
|
+
refundAmount?: number | null | undefined;
|
|
41
65
|
}[];
|
|
42
66
|
}, {
|
|
43
67
|
ordersToFetchConversations: {
|
|
@@ -49,6 +73,12 @@ export declare const FetchOrdersResponseSchema: z.ZodObject<{
|
|
|
49
73
|
status?: unknown;
|
|
50
74
|
conversationId?: string | null | undefined;
|
|
51
75
|
transactionId?: string | null | undefined;
|
|
76
|
+
platformFee?: number | null | undefined;
|
|
77
|
+
shippingFee?: number | null | undefined;
|
|
78
|
+
shippingVat?: number | null | undefined;
|
|
79
|
+
vatAmount?: number | null | undefined;
|
|
80
|
+
totalAmount?: number | null | undefined;
|
|
81
|
+
refundAmount?: number | null | undefined;
|
|
52
82
|
}[];
|
|
53
83
|
}>;
|
|
54
84
|
export type FetchOrdersResponse = z.infer<typeof FetchOrdersResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FetchOrdersResponse.d.ts","sourceRoot":"","sources":["FetchOrdersResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"FetchOrdersResponse.d.ts","sourceRoot":"","sources":["FetchOrdersResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
|
|
@@ -20,26 +20,26 @@ export declare const BatchUpdateOrdersPayloadSchema: z.ZodObject<{
|
|
|
20
20
|
conversationId?: string | null | undefined;
|
|
21
21
|
transactionId?: string | null | undefined;
|
|
22
22
|
price?: number | null | undefined;
|
|
23
|
-
isPrepared?: boolean | null | undefined;
|
|
24
23
|
platformFee?: number | null | undefined;
|
|
25
24
|
shippingFee?: number | null | undefined;
|
|
26
25
|
shippingVat?: number | null | undefined;
|
|
27
26
|
vatAmount?: number | null | undefined;
|
|
28
27
|
totalAmount?: number | null | undefined;
|
|
29
28
|
refundAmount?: number | null | undefined;
|
|
29
|
+
isPrepared?: boolean | null | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
status?: unknown;
|
|
32
32
|
date?: Date | null | undefined;
|
|
33
33
|
conversationId?: string | null | undefined;
|
|
34
34
|
transactionId?: string | null | undefined;
|
|
35
35
|
price?: number | null | undefined;
|
|
36
|
-
isPrepared?: boolean | null | undefined;
|
|
37
36
|
platformFee?: number | null | undefined;
|
|
38
37
|
shippingFee?: number | null | undefined;
|
|
39
38
|
shippingVat?: number | null | undefined;
|
|
40
39
|
vatAmount?: number | null | undefined;
|
|
41
40
|
totalAmount?: number | null | undefined;
|
|
42
41
|
refundAmount?: number | null | undefined;
|
|
42
|
+
isPrepared?: boolean | null | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
orderIds: string[];
|
|
@@ -49,13 +49,13 @@ export declare const BatchUpdateOrdersPayloadSchema: z.ZodObject<{
|
|
|
49
49
|
conversationId?: string | null | undefined;
|
|
50
50
|
transactionId?: string | null | undefined;
|
|
51
51
|
price?: number | null | undefined;
|
|
52
|
-
isPrepared?: boolean | null | undefined;
|
|
53
52
|
platformFee?: number | null | undefined;
|
|
54
53
|
shippingFee?: number | null | undefined;
|
|
55
54
|
shippingVat?: number | null | undefined;
|
|
56
55
|
vatAmount?: number | null | undefined;
|
|
57
56
|
totalAmount?: number | null | undefined;
|
|
58
57
|
refundAmount?: number | null | undefined;
|
|
58
|
+
isPrepared?: boolean | null | undefined;
|
|
59
59
|
};
|
|
60
60
|
}, {
|
|
61
61
|
orderIds: string[];
|
|
@@ -65,13 +65,13 @@ export declare const BatchUpdateOrdersPayloadSchema: z.ZodObject<{
|
|
|
65
65
|
conversationId?: string | null | undefined;
|
|
66
66
|
transactionId?: string | null | undefined;
|
|
67
67
|
price?: number | null | undefined;
|
|
68
|
-
isPrepared?: boolean | null | undefined;
|
|
69
68
|
platformFee?: number | null | undefined;
|
|
70
69
|
shippingFee?: number | null | undefined;
|
|
71
70
|
shippingVat?: number | null | undefined;
|
|
72
71
|
vatAmount?: number | null | undefined;
|
|
73
72
|
totalAmount?: number | null | undefined;
|
|
74
73
|
refundAmount?: number | null | undefined;
|
|
74
|
+
isPrepared?: boolean | null | undefined;
|
|
75
75
|
};
|
|
76
76
|
}>;
|
|
77
77
|
export type BatchUpdateOrdersPayload = z.infer<typeof BatchUpdateOrdersPayloadSchema>;
|