controlresell 2.22.1 → 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 +17 -8
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +13 -6
- 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 +29 -24
- package/src/com/controlresell/models/conversations/Conversation.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +96 -0
- package/src/com/controlresell/models/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +43 -36
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +43 -36
- package/src/com/controlresell/models/conversations/UserConversations.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts +5 -0
- package/src/com/controlresell/models/conversations/favorites/ConversationFavorite.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts +7 -0
- package/src/com/controlresell/models/conversations/favorites/ReportRateLimitOnFavorites.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/favorites/SubmitFavoritesResponse.d.ts +7 -0
- 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 +5 -0
- 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 +26 -8
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +7 -0
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +17 -8
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +26 -8
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +5 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts.map +1 -1
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +5 -0
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts +9 -0
- package/src/com/controlresell/models/metadata/platforms/ItemListingPreview.d.ts.map +1 -1
- 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 +25 -16
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +35 -0
- 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 +78 -54
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +7 -0
- 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 +58 -38
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/Transaction.d.ts +9 -0
- package/src/com/controlresell/models/transactions/Transaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts +7 -0
- package/src/com/controlresell/models/transactions/items/ItemInTransaction.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +28 -8
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +5 -0
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts +5 -0
- package/src/com/controlresell/models/users/platforms/PlatformJobUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +3 -0
- 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 +3 -0
- 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/ws/UserWsPayload.d.ts +120 -88
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
|
@@ -2324,6 +2324,7 @@ 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
2329
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
2329
2330
|
name: string;
|
|
@@ -2351,6 +2352,7 @@ 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
2357
|
name: string;
|
|
2356
2358
|
userId: number;
|
|
@@ -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>>;
|
|
@@ -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;
|
|
@@ -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<{
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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","sourceRoot":"","sources":["ItemListingPreview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"ItemListingPreview.d.ts","sourceRoot":"","sources":["ItemListingPreview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,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>;
|
|
@@ -70,6 +70,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
70
70
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
71
71
|
}>>>;
|
|
72
72
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
73
|
+
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
73
74
|
}, "strip", z.ZodTypeAny, {
|
|
74
75
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
75
76
|
name: string;
|
|
@@ -97,6 +98,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
97
98
|
signedUrl: string;
|
|
98
99
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
99
100
|
} | null | undefined;
|
|
101
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
100
102
|
}, {
|
|
101
103
|
name: string;
|
|
102
104
|
userId: number;
|
|
@@ -124,6 +126,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
124
126
|
signedUrl: string;
|
|
125
127
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
126
128
|
} | null | undefined;
|
|
129
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
127
130
|
}>>>;
|
|
128
131
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
132
|
viewsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -169,6 +172,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
169
172
|
signedUrl: string;
|
|
170
173
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
171
174
|
} | null | undefined;
|
|
175
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
172
176
|
} | null | undefined;
|
|
173
177
|
}, {
|
|
174
178
|
id: string;
|
|
@@ -211,6 +215,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
211
215
|
signedUrl: string;
|
|
212
216
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
213
217
|
} | null | undefined;
|
|
218
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
214
219
|
} | null | undefined;
|
|
215
220
|
}>>>;
|
|
216
221
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -257,6 +262,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
257
262
|
signedUrl: string;
|
|
258
263
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
259
264
|
} | null | undefined;
|
|
265
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
260
266
|
} | null | undefined;
|
|
261
267
|
} | null | undefined;
|
|
262
268
|
}, {
|
|
@@ -303,6 +309,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
303
309
|
signedUrl: string;
|
|
304
310
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
305
311
|
} | null | undefined;
|
|
312
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
306
313
|
} | null | undefined;
|
|
307
314
|
} | null | undefined;
|
|
308
315
|
}>, "many">>>;
|
|
@@ -745,6 +752,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
745
752
|
issueDate: Date;
|
|
746
753
|
subtotal: number;
|
|
747
754
|
fileId?: string | null | undefined;
|
|
755
|
+
vatAmount?: number | null | undefined;
|
|
748
756
|
file?: {
|
|
749
757
|
path: string;
|
|
750
758
|
id: string;
|
|
@@ -753,7 +761,6 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
753
761
|
signedUrl: string;
|
|
754
762
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
755
763
|
} | null | undefined;
|
|
756
|
-
vatAmount?: number | null | undefined;
|
|
757
764
|
vatRate?: number | null | undefined;
|
|
758
765
|
businessProfile?: {
|
|
759
766
|
id: string;
|
|
@@ -824,6 +831,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
824
831
|
issueDate: Date;
|
|
825
832
|
subtotal: number;
|
|
826
833
|
fileId?: string | null | undefined;
|
|
834
|
+
vatAmount?: number | null | undefined;
|
|
827
835
|
file?: {
|
|
828
836
|
path: string;
|
|
829
837
|
id: string;
|
|
@@ -832,7 +840,6 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
832
840
|
signedUrl: string;
|
|
833
841
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
834
842
|
} | null | undefined;
|
|
835
|
-
vatAmount?: number | null | undefined;
|
|
836
843
|
vatRate?: number | null | undefined;
|
|
837
844
|
businessProfile?: {
|
|
838
845
|
id: string;
|
|
@@ -939,6 +946,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
939
946
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
940
947
|
} | null | undefined;
|
|
941
948
|
}[] | null | undefined;
|
|
949
|
+
platformFee?: number | null | undefined;
|
|
950
|
+
shippingFee?: number | null | undefined;
|
|
951
|
+
shippingVat?: number | null | undefined;
|
|
952
|
+
vatAmount?: number | null | undefined;
|
|
953
|
+
totalAmount?: number | null | undefined;
|
|
954
|
+
refundAmount?: number | null | undefined;
|
|
942
955
|
pickupPoints?: {
|
|
943
956
|
orderId: string;
|
|
944
957
|
pickupPointId: string;
|
|
@@ -1004,15 +1017,10 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1004
1017
|
signedUrl: string;
|
|
1005
1018
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1006
1019
|
} | null | undefined;
|
|
1020
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
1007
1021
|
} | null | undefined;
|
|
1008
1022
|
} | null | undefined;
|
|
1009
1023
|
}[] | null | undefined;
|
|
1010
|
-
platformFee?: number | null | undefined;
|
|
1011
|
-
shippingFee?: number | null | undefined;
|
|
1012
|
-
shippingVat?: number | null | undefined;
|
|
1013
|
-
vatAmount?: number | null | undefined;
|
|
1014
|
-
totalAmount?: number | null | undefined;
|
|
1015
|
-
refundAmount?: number | null | undefined;
|
|
1016
1024
|
invoices?: {
|
|
1017
1025
|
type: "SALE" | "PURCHASE";
|
|
1018
1026
|
status: string;
|
|
@@ -1028,6 +1036,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1028
1036
|
issueDate: Date;
|
|
1029
1037
|
subtotal: number;
|
|
1030
1038
|
fileId?: string | null | undefined;
|
|
1039
|
+
vatAmount?: number | null | undefined;
|
|
1031
1040
|
file?: {
|
|
1032
1041
|
path: string;
|
|
1033
1042
|
id: string;
|
|
@@ -1036,7 +1045,6 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1036
1045
|
signedUrl: string;
|
|
1037
1046
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1038
1047
|
} | null | undefined;
|
|
1039
|
-
vatAmount?: number | null | undefined;
|
|
1040
1048
|
vatRate?: number | null | undefined;
|
|
1041
1049
|
businessProfile?: {
|
|
1042
1050
|
id: string;
|
|
@@ -1136,6 +1144,12 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1136
1144
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1137
1145
|
} | null | undefined;
|
|
1138
1146
|
}[] | null | undefined;
|
|
1147
|
+
platformFee?: number | null | undefined;
|
|
1148
|
+
shippingFee?: number | null | undefined;
|
|
1149
|
+
shippingVat?: number | null | undefined;
|
|
1150
|
+
vatAmount?: number | null | undefined;
|
|
1151
|
+
totalAmount?: number | null | undefined;
|
|
1152
|
+
refundAmount?: number | null | undefined;
|
|
1139
1153
|
pickupPoints?: {
|
|
1140
1154
|
orderId: string;
|
|
1141
1155
|
pickupPointId: string;
|
|
@@ -1201,15 +1215,10 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1201
1215
|
signedUrl: string;
|
|
1202
1216
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1203
1217
|
} | null | undefined;
|
|
1218
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
1204
1219
|
} | null | undefined;
|
|
1205
1220
|
} | null | undefined;
|
|
1206
1221
|
}[] | null | undefined;
|
|
1207
|
-
platformFee?: number | null | undefined;
|
|
1208
|
-
shippingFee?: number | null | undefined;
|
|
1209
|
-
shippingVat?: number | null | undefined;
|
|
1210
|
-
vatAmount?: number | null | undefined;
|
|
1211
|
-
totalAmount?: number | null | undefined;
|
|
1212
|
-
refundAmount?: number | null | undefined;
|
|
1213
1222
|
invoices?: {
|
|
1214
1223
|
type: "SALE" | "PURCHASE";
|
|
1215
1224
|
status: string;
|
|
@@ -1225,6 +1234,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1225
1234
|
issueDate: Date;
|
|
1226
1235
|
subtotal: number;
|
|
1227
1236
|
fileId?: string | null | undefined;
|
|
1237
|
+
vatAmount?: number | null | undefined;
|
|
1228
1238
|
file?: {
|
|
1229
1239
|
path: string;
|
|
1230
1240
|
id: string;
|
|
@@ -1233,7 +1243,6 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1233
1243
|
signedUrl: string;
|
|
1234
1244
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
1235
1245
|
} | null | undefined;
|
|
1236
|
-
vatAmount?: number | null | undefined;
|
|
1237
1246
|
vatRate?: number | null | undefined;
|
|
1238
1247
|
businessProfile?: {
|
|
1239
1248
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAQrB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAQrB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBtB,CAAA;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -9,6 +9,12 @@ export declare const OrderOnPlatformUpdateRequestSchema: 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 OrderOnPlatformUpdateRequestSchema: 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 OrderOnPlatformUpdateRequestSchema: 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
|
}>;
|
|
31
49
|
account: z.ZodObject<{
|
|
32
50
|
userId: z.ZodNumber;
|
|
@@ -75,6 +93,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
75
93
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
76
94
|
}>>>;
|
|
77
95
|
lockReason: z.ZodOptional<z.ZodNullable<z.ZodCatch<z.ZodEnum<["BANNED", "PHONE_NUMBER_REQUIRED", "LISTING_RESTRICTION", "CONVERTING_TO_PRO", "UNKNOWN"]>>>>;
|
|
96
|
+
cooldownEndsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
78
97
|
}, "strip", z.ZodTypeAny, {
|
|
79
98
|
status: "UNKNOWN" | "CONNECTED" | "DISCONNECTED" | "LOCKED" | "PAUSED";
|
|
80
99
|
name: string;
|
|
@@ -102,6 +121,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
102
121
|
signedUrl: string;
|
|
103
122
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
104
123
|
} | null | undefined;
|
|
124
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
105
125
|
}, {
|
|
106
126
|
name: string;
|
|
107
127
|
userId: number;
|
|
@@ -129,6 +149,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
129
149
|
signedUrl: string;
|
|
130
150
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
131
151
|
} | null | undefined;
|
|
152
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
132
153
|
}>;
|
|
133
154
|
}, "strip", z.ZodTypeAny, {
|
|
134
155
|
account: {
|
|
@@ -158,6 +179,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
158
179
|
signedUrl: string;
|
|
159
180
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
160
181
|
} | null | undefined;
|
|
182
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
161
183
|
};
|
|
162
184
|
order: {
|
|
163
185
|
type: "SALE" | "PURCHASE";
|
|
@@ -168,6 +190,12 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
168
190
|
currencyCode: string;
|
|
169
191
|
conversationId?: string | null | undefined;
|
|
170
192
|
transactionId?: string | null | undefined;
|
|
193
|
+
platformFee?: number | null | undefined;
|
|
194
|
+
shippingFee?: number | null | undefined;
|
|
195
|
+
shippingVat?: number | null | undefined;
|
|
196
|
+
vatAmount?: number | null | undefined;
|
|
197
|
+
totalAmount?: number | null | undefined;
|
|
198
|
+
refundAmount?: number | null | undefined;
|
|
171
199
|
};
|
|
172
200
|
}, {
|
|
173
201
|
account: {
|
|
@@ -197,6 +225,7 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
197
225
|
signedUrl: string;
|
|
198
226
|
status?: "PENDING" | "CONFIRMED" | null | undefined;
|
|
199
227
|
} | null | undefined;
|
|
228
|
+
cooldownEndsAt?: Date | null | undefined;
|
|
200
229
|
};
|
|
201
230
|
order: {
|
|
202
231
|
type: "SALE" | "PURCHASE";
|
|
@@ -207,6 +236,12 @@ export declare const OrderOnPlatformUpdateRequestSchema: z.ZodObject<{
|
|
|
207
236
|
status?: unknown;
|
|
208
237
|
conversationId?: string | null | undefined;
|
|
209
238
|
transactionId?: string | null | undefined;
|
|
239
|
+
platformFee?: number | null | undefined;
|
|
240
|
+
shippingFee?: number | null | undefined;
|
|
241
|
+
shippingVat?: number | null | undefined;
|
|
242
|
+
vatAmount?: number | null | undefined;
|
|
243
|
+
totalAmount?: number | null | undefined;
|
|
244
|
+
refundAmount?: number | null | undefined;
|
|
210
245
|
};
|
|
211
246
|
}>;
|
|
212
247
|
export type OrderOnPlatformUpdateRequest = z.infer<typeof OrderOnPlatformUpdateRequestSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["OrderOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"OrderOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["OrderOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA"}
|
|
@@ -18,26 +18,26 @@ export declare const UpdateOrderPayloadSchema: z.ZodObject<{
|
|
|
18
18
|
conversationId?: string | null | undefined;
|
|
19
19
|
transactionId?: string | null | undefined;
|
|
20
20
|
price?: number | null | undefined;
|
|
21
|
-
isPrepared?: boolean | null | undefined;
|
|
22
21
|
platformFee?: number | null | undefined;
|
|
23
22
|
shippingFee?: number | null | undefined;
|
|
24
23
|
shippingVat?: number | null | undefined;
|
|
25
24
|
vatAmount?: number | null | undefined;
|
|
26
25
|
totalAmount?: number | null | undefined;
|
|
27
26
|
refundAmount?: number | null | undefined;
|
|
27
|
+
isPrepared?: boolean | null | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
status?: unknown;
|
|
30
30
|
date?: Date | null | undefined;
|
|
31
31
|
conversationId?: string | null | undefined;
|
|
32
32
|
transactionId?: string | null | undefined;
|
|
33
33
|
price?: number | null | undefined;
|
|
34
|
-
isPrepared?: boolean | null | undefined;
|
|
35
34
|
platformFee?: number | null | undefined;
|
|
36
35
|
shippingFee?: number | null | undefined;
|
|
37
36
|
shippingVat?: number | null | undefined;
|
|
38
37
|
vatAmount?: number | null | undefined;
|
|
39
38
|
totalAmount?: number | null | undefined;
|
|
40
39
|
refundAmount?: number | null | undefined;
|
|
40
|
+
isPrepared?: boolean | null | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type UpdateOrderPayload = z.infer<typeof UpdateOrderPayloadSchema>;
|
|
43
43
|
//# sourceMappingURL=UpdateOrderPayload.d.ts.map
|