controlresell 0.0.47 → 0.0.49
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/models/items/CreatedItems.d.ts +127 -14
- package/src/com/controlresell/models/items/Item.d.ts +93 -10
- package/src/com/controlresell/models/items/Item.js +2 -0
- package/src/com/controlresell/models/items/Item.ts +2 -0
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +127 -14
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +127 -14
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +6 -6
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.js +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +6 -6
- package/src/com/controlresell/models/items/history/ItemHistory.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
- package/src/com/controlresell/models/items/platforms/CreateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +2 -2
- package/src/com/controlresell/models/items/platforms/ItemOnPlatformsRequestWithItem.d.ts +127 -14
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +9 -9
- package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
|
@@ -3,7 +3,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
accountId: z.ZodString;
|
|
5
5
|
platformOrderId: z.ZodString;
|
|
6
|
-
status: z.ZodEnum<["PAYMENT_VALIDATED", "SHIPPING_LABEL_SENT_TO_SELLER"]>;
|
|
6
|
+
status: z.ZodEnum<["PAYMENT_VALIDATED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "UNKNOWN"]>;
|
|
7
7
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
price: z.ZodNumber;
|
|
9
9
|
date: z.ZodDate;
|
|
@@ -35,7 +35,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
35
35
|
name: string;
|
|
36
36
|
}>>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
status: "
|
|
38
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
39
39
|
id: string;
|
|
40
40
|
accountId: string;
|
|
41
41
|
itemId: string | number;
|
|
@@ -49,7 +49,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
49
49
|
name: string;
|
|
50
50
|
} | null | undefined;
|
|
51
51
|
}, {
|
|
52
|
-
status: "
|
|
52
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
53
53
|
id: string;
|
|
54
54
|
accountId: string;
|
|
55
55
|
itemId: string | number;
|
|
@@ -67,7 +67,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
67
67
|
orderId: string;
|
|
68
68
|
itemOnPlatformId: string;
|
|
69
69
|
itemOnPlatform?: {
|
|
70
|
-
status: "
|
|
70
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
71
71
|
id: string;
|
|
72
72
|
accountId: string;
|
|
73
73
|
itemId: string | number;
|
|
@@ -85,7 +85,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
85
85
|
orderId: string;
|
|
86
86
|
itemOnPlatformId: string;
|
|
87
87
|
itemOnPlatform?: {
|
|
88
|
-
status: "
|
|
88
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
89
89
|
id: string;
|
|
90
90
|
accountId: string;
|
|
91
91
|
itemId: string | number;
|
|
@@ -183,7 +183,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
183
183
|
} | null | undefined;
|
|
184
184
|
}>, "many">>>;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
-
status: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER";
|
|
186
|
+
status: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "UNKNOWN";
|
|
187
187
|
id: string;
|
|
188
188
|
date: Date;
|
|
189
189
|
accountId: string;
|
|
@@ -194,7 +194,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
194
194
|
orderId: string;
|
|
195
195
|
itemOnPlatformId: string;
|
|
196
196
|
itemOnPlatform?: {
|
|
197
|
-
status: "
|
|
197
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
198
198
|
id: string;
|
|
199
199
|
accountId: string;
|
|
200
200
|
itemId: string | number;
|
|
@@ -230,7 +230,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
230
230
|
} | null | undefined;
|
|
231
231
|
}[] | null | undefined;
|
|
232
232
|
}, {
|
|
233
|
-
status: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER";
|
|
233
|
+
status: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "UNKNOWN";
|
|
234
234
|
id: string;
|
|
235
235
|
date: Date;
|
|
236
236
|
accountId: string;
|
|
@@ -241,7 +241,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
241
241
|
orderId: string;
|
|
242
242
|
itemOnPlatformId: string;
|
|
243
243
|
itemOnPlatform?: {
|
|
244
|
-
status: "
|
|
244
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
245
245
|
id: string;
|
|
246
246
|
accountId: string;
|
|
247
247
|
itemId: string | number;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const UpdateOrderPayloadSchema: z.ZodObject<{
|
|
3
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PAYMENT_VALIDATED", "SHIPPING_LABEL_SENT_TO_SELLER"]>>>;
|
|
3
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["PAYMENT_VALIDATED", "SHIPPING_LABEL_SENT_TO_SELLER", "ORDER_SHIPPED", "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT", "ORDER_FINALIZED", "RETURN_INITIATED", "REFUND_DONE", "UNKNOWN"]>>>;
|
|
4
4
|
conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
6
|
date: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
status?: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | null | undefined;
|
|
8
|
+
status?: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "UNKNOWN" | null | undefined;
|
|
9
9
|
date?: Date | null | undefined;
|
|
10
10
|
conversationId?: string | null | undefined;
|
|
11
11
|
price?: number | null | undefined;
|
|
12
12
|
}, {
|
|
13
|
-
status?: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | null | undefined;
|
|
13
|
+
status?: "PAYMENT_VALIDATED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "UNKNOWN" | null | undefined;
|
|
14
14
|
date?: Date | null | undefined;
|
|
15
15
|
conversationId?: string | null | undefined;
|
|
16
16
|
price?: number | null | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
27
27
|
name: string;
|
|
28
28
|
}>>>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
status: "
|
|
30
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
31
31
|
id: string;
|
|
32
32
|
accountId: string;
|
|
33
33
|
itemId: string | number;
|
|
@@ -41,7 +41,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
41
41
|
name: string;
|
|
42
42
|
} | null | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
status: "
|
|
44
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
45
45
|
id: string;
|
|
46
46
|
accountId: string;
|
|
47
47
|
itemId: string | number;
|
|
@@ -59,7 +59,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
59
59
|
orderId: string;
|
|
60
60
|
itemOnPlatformId: string;
|
|
61
61
|
itemOnPlatform?: {
|
|
62
|
-
status: "
|
|
62
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
63
63
|
id: string;
|
|
64
64
|
accountId: string;
|
|
65
65
|
itemId: string | number;
|
|
@@ -77,7 +77,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
|
|
|
77
77
|
orderId: string;
|
|
78
78
|
itemOnPlatformId: string;
|
|
79
79
|
itemOnPlatform?: {
|
|
80
|
-
status: "
|
|
80
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
81
81
|
id: string;
|
|
82
82
|
accountId: string;
|
|
83
83
|
itemId: string | number;
|