controlresell 2.8.24 → 2.8.25
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 +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js +2 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.ts +2 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.js +2 -1
- package/src/com/controlresell/models/platforms/orders/Order.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/Order.ts +2 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js +2 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.ts +2 -1
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +7 -0
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +5 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -7,12 +7,14 @@ export declare const CreateOrderPayloadSchema: z.ZodObject<{
|
|
|
7
7
|
price: z.ZodNumber;
|
|
8
8
|
type: z.ZodEnum<["PURCHASE", "SALE"]>;
|
|
9
9
|
date: z.ZodDate;
|
|
10
|
+
isPrepared: z.ZodBoolean;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
12
|
type: "SALE" | "PURCHASE";
|
|
12
13
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
13
14
|
date: Date;
|
|
14
15
|
price: number;
|
|
15
16
|
platformOrderId: string;
|
|
17
|
+
isPrepared: boolean;
|
|
16
18
|
conversationId?: string | null | undefined;
|
|
17
19
|
transactionId?: string | null | undefined;
|
|
18
20
|
}, {
|
|
@@ -21,6 +23,7 @@ export declare const CreateOrderPayloadSchema: z.ZodObject<{
|
|
|
21
23
|
date: Date;
|
|
22
24
|
price: number;
|
|
23
25
|
platformOrderId: string;
|
|
26
|
+
isPrepared: boolean;
|
|
24
27
|
conversationId?: string | null | undefined;
|
|
25
28
|
transactionId?: string | null | undefined;
|
|
26
29
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrderPayload.d.ts","sourceRoot":"","sources":["CreateOrderPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"CreateOrderPayload.d.ts","sourceRoot":"","sources":["CreateOrderPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -11,6 +11,7 @@ exports.CreateOrderPayloadSchema = zod_1.z.object({
|
|
|
11
11
|
transactionId: zod_1.z.string().uuid().nullish(),
|
|
12
12
|
price: zod_1.z.number(),
|
|
13
13
|
type: OrderType_1.OrderTypeSchema,
|
|
14
|
-
date: zod_1.z.coerce.date()
|
|
14
|
+
date: zod_1.z.coerce.date(),
|
|
15
|
+
isPrepared: zod_1.z.boolean()
|
|
15
16
|
});
|
|
16
17
|
//# sourceMappingURL=CreateOrderPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrderPayload.js","sourceRoot":"","sources":["CreateOrderPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA4D;AAC5D,2CAA2C;AAE9B,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;IAC3B,MAAM,EAAE,8CAAoB;IAC5B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,2BAAe;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"CreateOrderPayload.js","sourceRoot":"","sources":["CreateOrderPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA4D;AAC5D,2CAA2C;AAE9B,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;IAC3B,MAAM,EAAE,8CAAoB;IAC5B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,2BAAe;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IACrB,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAA"}
|
|
@@ -9,6 +9,7 @@ export const CreateOrderPayloadSchema = z.object({
|
|
|
9
9
|
transactionId: z.string().uuid().nullish(),
|
|
10
10
|
price: z.number(),
|
|
11
11
|
type: OrderTypeSchema,
|
|
12
|
-
date: z.coerce.date()
|
|
12
|
+
date: z.coerce.date(),
|
|
13
|
+
isPrepared: z.boolean()
|
|
13
14
|
})
|
|
14
15
|
export type CreateOrderPayload = z.infer<typeof CreateOrderPayloadSchema>
|
|
@@ -404,6 +404,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
404
404
|
longitude?: number | null | undefined;
|
|
405
405
|
} | null | undefined;
|
|
406
406
|
}>, "many">>>;
|
|
407
|
+
isPrepared: z.ZodBoolean;
|
|
407
408
|
}, "strip", z.ZodTypeAny, {
|
|
408
409
|
type: "SALE" | "PURCHASE";
|
|
409
410
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
@@ -412,6 +413,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
412
413
|
price: number;
|
|
413
414
|
accountId: string;
|
|
414
415
|
platformOrderId: string;
|
|
416
|
+
isPrepared: boolean;
|
|
415
417
|
items?: {
|
|
416
418
|
orderId: string;
|
|
417
419
|
itemOnPlatformId: string;
|
|
@@ -505,6 +507,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
505
507
|
price: number;
|
|
506
508
|
accountId: string;
|
|
507
509
|
platformOrderId: string;
|
|
510
|
+
isPrepared: boolean;
|
|
508
511
|
items?: {
|
|
509
512
|
orderId: string;
|
|
510
513
|
itemOnPlatformId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAA;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -19,6 +19,7 @@ exports.OrderSchema = zod_1.z.object({
|
|
|
19
19
|
date: zod_1.z.coerce.date(),
|
|
20
20
|
items: zod_1.z.array(ItemInOrder_1.ItemInOrderSchema).nullish(),
|
|
21
21
|
labels: zod_1.z.array(OrderLabel_1.OrderLabelSchema).nullish(),
|
|
22
|
-
pickupPoints: zod_1.z.array(PickupPointInOrder_1.PickupPointInOrderSchema).nullish()
|
|
22
|
+
pickupPoints: zod_1.z.array(PickupPointInOrder_1.PickupPointInOrderSchema).nullish(),
|
|
23
|
+
isPrepared: zod_1.z.boolean()
|
|
23
24
|
});
|
|
24
25
|
//# sourceMappingURL=Order.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.js","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA4D;AAC5D,2CAA2C;AAC3C,qDAAqD;AACrD,qDAAqD;AACrD,sEAAsE;AAEzD,QAAA,WAAW,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;IAC3B,MAAM,EAAE,8CAAoB;IAC5B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC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CAAC,6CAAwB,CAAC,CAAC,OAAO,EAAE;IACzD,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;CAC1B,CAAC,CAAA"}
|
|
@@ -17,6 +17,7 @@ export const OrderSchema = z.object({
|
|
|
17
17
|
date: z.coerce.date(),
|
|
18
18
|
items: z.array(ItemInOrderSchema).nullish(),
|
|
19
19
|
labels: z.array(OrderLabelSchema).nullish(),
|
|
20
|
-
pickupPoints: z.array(PickupPointInOrderSchema).nullish()
|
|
20
|
+
pickupPoints: z.array(PickupPointInOrderSchema).nullish(),
|
|
21
|
+
isPrepared: z.boolean()
|
|
21
22
|
})
|
|
22
23
|
export type Order = z.infer<typeof OrderSchema>
|
|
@@ -5,18 +5,21 @@ export declare const UpdateOrderPayloadSchema: z.ZodObject<{
|
|
|
5
5
|
transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7
7
|
date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
|
+
isPrepared: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER" | null | undefined;
|
|
10
11
|
date?: Date | null | undefined;
|
|
11
12
|
price?: number | null | undefined;
|
|
12
13
|
conversationId?: string | null | undefined;
|
|
13
14
|
transactionId?: string | null | undefined;
|
|
15
|
+
isPrepared?: boolean | null | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER" | null | undefined;
|
|
16
18
|
date?: Date | null | undefined;
|
|
17
19
|
price?: number | null | undefined;
|
|
18
20
|
conversationId?: string | null | undefined;
|
|
19
21
|
transactionId?: string | null | undefined;
|
|
22
|
+
isPrepared?: boolean | null | undefined;
|
|
20
23
|
}>;
|
|
21
24
|
export type UpdateOrderPayload = z.infer<typeof UpdateOrderPayloadSchema>;
|
|
22
25
|
//# sourceMappingURL=UpdateOrderPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateOrderPayload.d.ts","sourceRoot":"","sources":["UpdateOrderPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"UpdateOrderPayload.d.ts","sourceRoot":"","sources":["UpdateOrderPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -8,6 +8,7 @@ exports.UpdateOrderPayloadSchema = zod_1.z.object({
|
|
|
8
8
|
conversationId: zod_1.z.string().uuid().nullish(),
|
|
9
9
|
transactionId: zod_1.z.string().uuid().nullish(),
|
|
10
10
|
price: zod_1.z.number().nullish(),
|
|
11
|
-
date: zod_1.z.coerce.date().nullish()
|
|
11
|
+
date: zod_1.z.coerce.date().nullish(),
|
|
12
|
+
isPrepared: zod_1.z.boolean().nullish()
|
|
12
13
|
});
|
|
13
14
|
//# sourceMappingURL=UpdateOrderPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateOrderPayload.js","sourceRoot":"","sources":["UpdateOrderPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA4D;AAE/C,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,8CAAoB,CAAC,OAAO,EAAE;IACtC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"UpdateOrderPayload.js","sourceRoot":"","sources":["UpdateOrderPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAA4D;AAE/C,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,8CAAoB,CAAC,OAAO,EAAE;IACtC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC1C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CACpC,CAAC,CAAA"}
|
|
@@ -6,6 +6,7 @@ export const UpdateOrderPayloadSchema = z.object({
|
|
|
6
6
|
conversationId: z.string().uuid().nullish(),
|
|
7
7
|
transactionId: z.string().uuid().nullish(),
|
|
8
8
|
price: z.number().nullish(),
|
|
9
|
-
date: z.coerce.date().nullish()
|
|
9
|
+
date: z.coerce.date().nullish(),
|
|
10
|
+
isPrepared: z.boolean().nullish()
|
|
10
11
|
})
|
|
11
12
|
export type UpdateOrderPayload = z.infer<typeof UpdateOrderPayloadSchema>
|
|
@@ -408,6 +408,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
408
408
|
longitude?: number | null | undefined;
|
|
409
409
|
} | null | undefined;
|
|
410
410
|
}>, "many">>>;
|
|
411
|
+
isPrepared: z.ZodBoolean;
|
|
411
412
|
}, "strip", z.ZodTypeAny, {
|
|
412
413
|
type: "SALE" | "PURCHASE";
|
|
413
414
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
@@ -416,6 +417,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
416
417
|
price: number;
|
|
417
418
|
accountId: string;
|
|
418
419
|
platformOrderId: string;
|
|
420
|
+
isPrepared: boolean;
|
|
419
421
|
items?: {
|
|
420
422
|
orderId: string;
|
|
421
423
|
itemOnPlatformId: string;
|
|
@@ -509,6 +511,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
509
511
|
price: number;
|
|
510
512
|
accountId: string;
|
|
511
513
|
platformOrderId: string;
|
|
514
|
+
isPrepared: boolean;
|
|
512
515
|
items?: {
|
|
513
516
|
orderId: string;
|
|
514
517
|
itemOnPlatformId: string;
|
|
@@ -2052,6 +2055,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2052
2055
|
price: number;
|
|
2053
2056
|
accountId: string;
|
|
2054
2057
|
platformOrderId: string;
|
|
2058
|
+
isPrepared: boolean;
|
|
2055
2059
|
items?: {
|
|
2056
2060
|
orderId: string;
|
|
2057
2061
|
itemOnPlatformId: string;
|
|
@@ -2349,6 +2353,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2349
2353
|
price: number;
|
|
2350
2354
|
accountId: string;
|
|
2351
2355
|
platformOrderId: string;
|
|
2356
|
+
isPrepared: boolean;
|
|
2352
2357
|
items?: {
|
|
2353
2358
|
orderId: string;
|
|
2354
2359
|
itemOnPlatformId: string;
|
|
@@ -2651,6 +2656,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2651
2656
|
price: number;
|
|
2652
2657
|
accountId: string;
|
|
2653
2658
|
platformOrderId: string;
|
|
2659
|
+
isPrepared: boolean;
|
|
2654
2660
|
items?: {
|
|
2655
2661
|
orderId: string;
|
|
2656
2662
|
itemOnPlatformId: string;
|
|
@@ -2954,6 +2960,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
|
|
|
2954
2960
|
price: number;
|
|
2955
2961
|
accountId: string;
|
|
2956
2962
|
platformOrderId: string;
|
|
2963
|
+
isPrepared: boolean;
|
|
2957
2964
|
items?: {
|
|
2958
2965
|
orderId: string;
|
|
2959
2966
|
itemOnPlatformId: string;
|
|
@@ -1 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -405,6 +405,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
405
405
|
longitude?: number | null | undefined;
|
|
406
406
|
} | null | undefined;
|
|
407
407
|
}>, "many">>>;
|
|
408
|
+
isPrepared: z.ZodBoolean;
|
|
408
409
|
}, "strip", z.ZodTypeAny, {
|
|
409
410
|
type: "SALE" | "PURCHASE";
|
|
410
411
|
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_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "ORDER_RETURNED_TO_SENDER";
|
|
@@ -413,6 +414,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
413
414
|
price: number;
|
|
414
415
|
accountId: string;
|
|
415
416
|
platformOrderId: string;
|
|
417
|
+
isPrepared: boolean;
|
|
416
418
|
items?: {
|
|
417
419
|
orderId: string;
|
|
418
420
|
itemOnPlatformId: string;
|
|
@@ -506,6 +508,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
506
508
|
price: number;
|
|
507
509
|
accountId: string;
|
|
508
510
|
platformOrderId: string;
|
|
511
|
+
isPrepared: boolean;
|
|
509
512
|
items?: {
|
|
510
513
|
orderId: string;
|
|
511
514
|
itemOnPlatformId: string;
|
|
@@ -2049,6 +2052,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2049
2052
|
price: number;
|
|
2050
2053
|
accountId: string;
|
|
2051
2054
|
platformOrderId: string;
|
|
2055
|
+
isPrepared: boolean;
|
|
2052
2056
|
items?: {
|
|
2053
2057
|
orderId: string;
|
|
2054
2058
|
itemOnPlatformId: string;
|
|
@@ -2346,6 +2350,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
2346
2350
|
price: number;
|
|
2347
2351
|
accountId: string;
|
|
2348
2352
|
platformOrderId: string;
|
|
2353
|
+
isPrepared: boolean;
|
|
2349
2354
|
items?: {
|
|
2350
2355
|
orderId: string;
|
|
2351
2356
|
itemOnPlatformId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"OrderWithItems.d.ts","sourceRoot":"","sources":["OrderWithItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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