controlresell 2.5.7 → 2.6.1
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/labels/CreateOrderLabelPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js +1 -0
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/CreateOrderLabelPayload.ts +1 -0
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts +36 -0
- package/src/com/controlresell/models/platforms/labels/OrderLabel.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js +2 -0
- package/src/com/controlresell/models/platforms/labels/OrderLabel.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/OrderLabel.ts +2 -0
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts +3 -0
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js +2 -1
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.js.map +1 -1
- package/src/com/controlresell/models/platforms/labels/UpdateOrderLabelPayload.ts +2 -1
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +52 -0
- package/src/com/controlresell/models/platforms/orders/Order.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +68 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateOrderLabelPayloadSchema: z.ZodObject<{
|
|
3
3
|
fileId: z.ZodString;
|
|
4
|
+
nonCroppedFileId: z.ZodString;
|
|
4
5
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
6
|
}, "strip", z.ZodTypeAny, {
|
|
6
7
|
fileId: string;
|
|
8
|
+
nonCroppedFileId: string;
|
|
7
9
|
originalFile?: string | null | undefined;
|
|
8
10
|
}, {
|
|
9
11
|
fileId: string;
|
|
12
|
+
nonCroppedFileId: string;
|
|
10
13
|
originalFile?: string | null | undefined;
|
|
11
14
|
}>;
|
|
12
15
|
export type CreateOrderLabelPayload = z.infer<typeof CreateOrderLabelPayloadSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrderLabelPayload.d.ts","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"CreateOrderLabelPayload.d.ts","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAIxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
|
|
@@ -4,6 +4,7 @@ exports.CreateOrderLabelPayloadSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.CreateOrderLabelPayloadSchema = zod_1.z.object({
|
|
6
6
|
fileId: zod_1.z.string().uuid(),
|
|
7
|
+
nonCroppedFileId: zod_1.z.string().uuid(),
|
|
7
8
|
originalFile: zod_1.z.string().uuid().nullish()
|
|
8
9
|
});
|
|
9
10
|
//# sourceMappingURL=CreateOrderLabelPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrderLabelPayload.js","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"CreateOrderLabelPayload.js","sourceRoot":"","sources":["CreateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import {z} from "zod"
|
|
|
2
2
|
|
|
3
3
|
export const CreateOrderLabelPayloadSchema = z.object({
|
|
4
4
|
fileId: z.string().uuid(),
|
|
5
|
+
nonCroppedFileId: z.string().uuid(),
|
|
5
6
|
originalFile: z.string().uuid().nullish()
|
|
6
7
|
})
|
|
7
8
|
export type CreateOrderLabelPayload = z.infer<typeof CreateOrderLabelPayloadSchema>
|
|
@@ -3,6 +3,7 @@ export declare const OrderLabelSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
orderId: z.ZodString;
|
|
5
5
|
fileId: z.ZodString;
|
|
6
|
+
nonCroppedFileId: z.ZodString;
|
|
6
7
|
originalFileId: z.ZodString;
|
|
7
8
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
9
|
id: z.ZodString;
|
|
@@ -23,6 +24,25 @@ export declare const OrderLabelSchema: z.ZodObject<{
|
|
|
23
24
|
signedUrl: string;
|
|
24
25
|
createdAt: Date;
|
|
25
26
|
}>>>;
|
|
27
|
+
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
30
|
+
path: z.ZodString;
|
|
31
|
+
signedUrl: z.ZodString;
|
|
32
|
+
createdAt: z.ZodDate;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
path: string;
|
|
35
|
+
id: string;
|
|
36
|
+
userId: string | number;
|
|
37
|
+
signedUrl: string;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
}, {
|
|
40
|
+
path: string;
|
|
41
|
+
id: string;
|
|
42
|
+
userId: string | number;
|
|
43
|
+
signedUrl: string;
|
|
44
|
+
createdAt: Date;
|
|
45
|
+
}>>>;
|
|
26
46
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
47
|
id: z.ZodString;
|
|
28
48
|
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -46,6 +66,7 @@ export declare const OrderLabelSchema: z.ZodObject<{
|
|
|
46
66
|
id: string;
|
|
47
67
|
fileId: string;
|
|
48
68
|
orderId: string;
|
|
69
|
+
nonCroppedFileId: string;
|
|
49
70
|
originalFileId: string;
|
|
50
71
|
file?: {
|
|
51
72
|
path: string;
|
|
@@ -61,10 +82,18 @@ export declare const OrderLabelSchema: z.ZodObject<{
|
|
|
61
82
|
signedUrl: string;
|
|
62
83
|
createdAt: Date;
|
|
63
84
|
} | null | undefined;
|
|
85
|
+
nonCroppedFile?: {
|
|
86
|
+
path: string;
|
|
87
|
+
id: string;
|
|
88
|
+
userId: string | number;
|
|
89
|
+
signedUrl: string;
|
|
90
|
+
createdAt: Date;
|
|
91
|
+
} | null | undefined;
|
|
64
92
|
}, {
|
|
65
93
|
id: string;
|
|
66
94
|
fileId: string;
|
|
67
95
|
orderId: string;
|
|
96
|
+
nonCroppedFileId: string;
|
|
68
97
|
originalFileId: string;
|
|
69
98
|
file?: {
|
|
70
99
|
path: string;
|
|
@@ -80,6 +109,13 @@ export declare const OrderLabelSchema: z.ZodObject<{
|
|
|
80
109
|
signedUrl: string;
|
|
81
110
|
createdAt: Date;
|
|
82
111
|
} | null | undefined;
|
|
112
|
+
nonCroppedFile?: {
|
|
113
|
+
path: string;
|
|
114
|
+
id: string;
|
|
115
|
+
userId: string | number;
|
|
116
|
+
signedUrl: string;
|
|
117
|
+
createdAt: Date;
|
|
118
|
+
} | null | undefined;
|
|
83
119
|
}>;
|
|
84
120
|
export type OrderLabel = z.infer<typeof OrderLabelSchema>;
|
|
85
121
|
//# sourceMappingURL=OrderLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderLabel.d.ts","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"OrderLabel.d.ts","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -7,8 +7,10 @@ exports.OrderLabelSchema = zod_1.z.object({
|
|
|
7
7
|
id: zod_1.z.string().uuid(),
|
|
8
8
|
orderId: zod_1.z.string().uuid(),
|
|
9
9
|
fileId: zod_1.z.string().uuid(),
|
|
10
|
+
nonCroppedFileId: zod_1.z.string().uuid(),
|
|
10
11
|
originalFileId: zod_1.z.string().uuid(),
|
|
11
12
|
file: controlresell_storage_1.FileSchema.nullish(),
|
|
13
|
+
nonCroppedFile: controlresell_storage_1.FileSchema.nullish(),
|
|
12
14
|
originalFile: controlresell_storage_1.FileSchema.nullish()
|
|
13
15
|
});
|
|
14
16
|
//# sourceMappingURL=OrderLabel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderLabel.js","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,iEAAgD;AAEnC,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,kCAAU,CAAC,OAAO,EAAE;IAC1B,YAAY,EAAE,kCAAU,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"OrderLabel.js","sourceRoot":"","sources":["OrderLabel.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,iEAAgD;AAEnC,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,IAAI,EAAE,kCAAU,CAAC,OAAO,EAAE;IAC1B,cAAc,EAAE,kCAAU,CAAC,OAAO,EAAE;IACpC,YAAY,EAAE,kCAAU,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA"}
|
|
@@ -5,8 +5,10 @@ export const OrderLabelSchema = z.object({
|
|
|
5
5
|
id: z.string().uuid(),
|
|
6
6
|
orderId: z.string().uuid(),
|
|
7
7
|
fileId: z.string().uuid(),
|
|
8
|
+
nonCroppedFileId: z.string().uuid(),
|
|
8
9
|
originalFileId: z.string().uuid(),
|
|
9
10
|
file: FileSchema.nullish(),
|
|
11
|
+
nonCroppedFile: FileSchema.nullish(),
|
|
10
12
|
originalFile: FileSchema.nullish()
|
|
11
13
|
})
|
|
12
14
|
export type OrderLabel = z.infer<typeof OrderLabelSchema>
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const UpdateOrderLabelPayloadSchema: z.ZodObject<{
|
|
3
3
|
fileId: z.ZodString;
|
|
4
|
+
nonCroppedFileId: z.ZodString;
|
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
|
5
6
|
fileId: string;
|
|
7
|
+
nonCroppedFileId: string;
|
|
6
8
|
}, {
|
|
7
9
|
fileId: string;
|
|
10
|
+
nonCroppedFileId: string;
|
|
8
11
|
}>;
|
|
9
12
|
export type UpdateOrderLabelPayload = z.infer<typeof UpdateOrderLabelPayloadSchema>;
|
|
10
13
|
//# sourceMappingURL=UpdateOrderLabelPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateOrderLabelPayload.d.ts","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAErB,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"UpdateOrderLabelPayload.d.ts","sourceRoot":"","sources":["UpdateOrderLabelPayload.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"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateOrderLabelPayloadSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.UpdateOrderLabelPayloadSchema = zod_1.z.object({
|
|
6
|
-
fileId: zod_1.z.string().uuid()
|
|
6
|
+
fileId: zod_1.z.string().uuid(),
|
|
7
|
+
nonCroppedFileId: zod_1.z.string().uuid()
|
|
7
8
|
});
|
|
8
9
|
//# sourceMappingURL=UpdateOrderLabelPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateOrderLabelPayload.js","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"UpdateOrderLabelPayload.js","sourceRoot":"","sources":["UpdateOrderLabelPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AAER,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACtC,CAAC,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
3
|
export const UpdateOrderLabelPayloadSchema = z.object({
|
|
4
|
-
fileId: z.string().uuid()
|
|
4
|
+
fileId: z.string().uuid(),
|
|
5
|
+
nonCroppedFileId: z.string().uuid()
|
|
5
6
|
})
|
|
6
7
|
export type UpdateOrderLabelPayload = z.infer<typeof UpdateOrderLabelPayloadSchema>
|
|
@@ -153,6 +153,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
153
153
|
id: z.ZodString;
|
|
154
154
|
orderId: z.ZodString;
|
|
155
155
|
fileId: z.ZodString;
|
|
156
|
+
nonCroppedFileId: z.ZodString;
|
|
156
157
|
originalFileId: z.ZodString;
|
|
157
158
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
159
|
id: z.ZodString;
|
|
@@ -173,6 +174,25 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
173
174
|
signedUrl: string;
|
|
174
175
|
createdAt: Date;
|
|
175
176
|
}>>>;
|
|
177
|
+
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
178
|
+
id: z.ZodString;
|
|
179
|
+
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
180
|
+
path: z.ZodString;
|
|
181
|
+
signedUrl: z.ZodString;
|
|
182
|
+
createdAt: z.ZodDate;
|
|
183
|
+
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
path: string;
|
|
185
|
+
id: string;
|
|
186
|
+
userId: string | number;
|
|
187
|
+
signedUrl: string;
|
|
188
|
+
createdAt: Date;
|
|
189
|
+
}, {
|
|
190
|
+
path: string;
|
|
191
|
+
id: string;
|
|
192
|
+
userId: string | number;
|
|
193
|
+
signedUrl: string;
|
|
194
|
+
createdAt: Date;
|
|
195
|
+
}>>>;
|
|
176
196
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
177
197
|
id: z.ZodString;
|
|
178
198
|
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -196,6 +216,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
196
216
|
id: string;
|
|
197
217
|
fileId: string;
|
|
198
218
|
orderId: string;
|
|
219
|
+
nonCroppedFileId: string;
|
|
199
220
|
originalFileId: string;
|
|
200
221
|
file?: {
|
|
201
222
|
path: string;
|
|
@@ -211,10 +232,18 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
211
232
|
signedUrl: string;
|
|
212
233
|
createdAt: Date;
|
|
213
234
|
} | null | undefined;
|
|
235
|
+
nonCroppedFile?: {
|
|
236
|
+
path: string;
|
|
237
|
+
id: string;
|
|
238
|
+
userId: string | number;
|
|
239
|
+
signedUrl: string;
|
|
240
|
+
createdAt: Date;
|
|
241
|
+
} | null | undefined;
|
|
214
242
|
}, {
|
|
215
243
|
id: string;
|
|
216
244
|
fileId: string;
|
|
217
245
|
orderId: string;
|
|
246
|
+
nonCroppedFileId: string;
|
|
218
247
|
originalFileId: string;
|
|
219
248
|
file?: {
|
|
220
249
|
path: string;
|
|
@@ -230,6 +259,13 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
230
259
|
signedUrl: string;
|
|
231
260
|
createdAt: Date;
|
|
232
261
|
} | null | undefined;
|
|
262
|
+
nonCroppedFile?: {
|
|
263
|
+
path: string;
|
|
264
|
+
id: string;
|
|
265
|
+
userId: string | number;
|
|
266
|
+
signedUrl: string;
|
|
267
|
+
createdAt: Date;
|
|
268
|
+
} | null | undefined;
|
|
233
269
|
}>, "many">>>;
|
|
234
270
|
}, "strip", z.ZodTypeAny, {
|
|
235
271
|
status: "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" | "UNKNOWN";
|
|
@@ -269,6 +305,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
269
305
|
id: string;
|
|
270
306
|
fileId: string;
|
|
271
307
|
orderId: string;
|
|
308
|
+
nonCroppedFileId: string;
|
|
272
309
|
originalFileId: string;
|
|
273
310
|
file?: {
|
|
274
311
|
path: string;
|
|
@@ -284,6 +321,13 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
284
321
|
signedUrl: string;
|
|
285
322
|
createdAt: Date;
|
|
286
323
|
} | null | undefined;
|
|
324
|
+
nonCroppedFile?: {
|
|
325
|
+
path: string;
|
|
326
|
+
id: string;
|
|
327
|
+
userId: string | number;
|
|
328
|
+
signedUrl: string;
|
|
329
|
+
createdAt: Date;
|
|
330
|
+
} | null | undefined;
|
|
287
331
|
}[] | null | undefined;
|
|
288
332
|
}, {
|
|
289
333
|
status: "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" | "UNKNOWN";
|
|
@@ -323,6 +367,7 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
323
367
|
id: string;
|
|
324
368
|
fileId: string;
|
|
325
369
|
orderId: string;
|
|
370
|
+
nonCroppedFileId: string;
|
|
326
371
|
originalFileId: string;
|
|
327
372
|
file?: {
|
|
328
373
|
path: string;
|
|
@@ -338,6 +383,13 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
338
383
|
signedUrl: string;
|
|
339
384
|
createdAt: Date;
|
|
340
385
|
} | null | undefined;
|
|
386
|
+
nonCroppedFile?: {
|
|
387
|
+
path: string;
|
|
388
|
+
id: string;
|
|
389
|
+
userId: string | number;
|
|
390
|
+
signedUrl: string;
|
|
391
|
+
createdAt: Date;
|
|
392
|
+
} | null | undefined;
|
|
341
393
|
}[] | null | undefined;
|
|
342
394
|
}>;
|
|
343
395
|
export type Order = z.infer<typeof OrderSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWtB,CAAA;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -154,6 +154,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
orderId: z.ZodString;
|
|
156
156
|
fileId: z.ZodString;
|
|
157
|
+
nonCroppedFileId: z.ZodString;
|
|
157
158
|
originalFileId: z.ZodString;
|
|
158
159
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
159
160
|
id: z.ZodString;
|
|
@@ -174,6 +175,25 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
174
175
|
signedUrl: string;
|
|
175
176
|
createdAt: Date;
|
|
176
177
|
}>>>;
|
|
178
|
+
nonCroppedFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
181
|
+
path: z.ZodString;
|
|
182
|
+
signedUrl: z.ZodString;
|
|
183
|
+
createdAt: z.ZodDate;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
path: string;
|
|
186
|
+
id: string;
|
|
187
|
+
userId: string | number;
|
|
188
|
+
signedUrl: string;
|
|
189
|
+
createdAt: Date;
|
|
190
|
+
}, {
|
|
191
|
+
path: string;
|
|
192
|
+
id: string;
|
|
193
|
+
userId: string | number;
|
|
194
|
+
signedUrl: string;
|
|
195
|
+
createdAt: Date;
|
|
196
|
+
}>>>;
|
|
177
197
|
originalFile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
178
198
|
id: z.ZodString;
|
|
179
199
|
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -197,6 +217,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
197
217
|
id: string;
|
|
198
218
|
fileId: string;
|
|
199
219
|
orderId: string;
|
|
220
|
+
nonCroppedFileId: string;
|
|
200
221
|
originalFileId: string;
|
|
201
222
|
file?: {
|
|
202
223
|
path: string;
|
|
@@ -212,10 +233,18 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
212
233
|
signedUrl: string;
|
|
213
234
|
createdAt: Date;
|
|
214
235
|
} | null | undefined;
|
|
236
|
+
nonCroppedFile?: {
|
|
237
|
+
path: string;
|
|
238
|
+
id: string;
|
|
239
|
+
userId: string | number;
|
|
240
|
+
signedUrl: string;
|
|
241
|
+
createdAt: Date;
|
|
242
|
+
} | null | undefined;
|
|
215
243
|
}, {
|
|
216
244
|
id: string;
|
|
217
245
|
fileId: string;
|
|
218
246
|
orderId: string;
|
|
247
|
+
nonCroppedFileId: string;
|
|
219
248
|
originalFileId: string;
|
|
220
249
|
file?: {
|
|
221
250
|
path: string;
|
|
@@ -231,6 +260,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
231
260
|
signedUrl: string;
|
|
232
261
|
createdAt: Date;
|
|
233
262
|
} | null | undefined;
|
|
263
|
+
nonCroppedFile?: {
|
|
264
|
+
path: string;
|
|
265
|
+
id: string;
|
|
266
|
+
userId: string | number;
|
|
267
|
+
signedUrl: string;
|
|
268
|
+
createdAt: Date;
|
|
269
|
+
} | null | undefined;
|
|
234
270
|
}>, "many">>>;
|
|
235
271
|
}, "strip", z.ZodTypeAny, {
|
|
236
272
|
status: "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" | "UNKNOWN";
|
|
@@ -270,6 +306,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
270
306
|
id: string;
|
|
271
307
|
fileId: string;
|
|
272
308
|
orderId: string;
|
|
309
|
+
nonCroppedFileId: string;
|
|
273
310
|
originalFileId: string;
|
|
274
311
|
file?: {
|
|
275
312
|
path: string;
|
|
@@ -285,6 +322,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
285
322
|
signedUrl: string;
|
|
286
323
|
createdAt: Date;
|
|
287
324
|
} | null | undefined;
|
|
325
|
+
nonCroppedFile?: {
|
|
326
|
+
path: string;
|
|
327
|
+
id: string;
|
|
328
|
+
userId: string | number;
|
|
329
|
+
signedUrl: string;
|
|
330
|
+
createdAt: Date;
|
|
331
|
+
} | null | undefined;
|
|
288
332
|
}[] | null | undefined;
|
|
289
333
|
}, {
|
|
290
334
|
status: "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" | "UNKNOWN";
|
|
@@ -324,6 +368,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
324
368
|
id: string;
|
|
325
369
|
fileId: string;
|
|
326
370
|
orderId: string;
|
|
371
|
+
nonCroppedFileId: string;
|
|
327
372
|
originalFileId: string;
|
|
328
373
|
file?: {
|
|
329
374
|
path: string;
|
|
@@ -339,6 +384,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
339
384
|
signedUrl: string;
|
|
340
385
|
createdAt: Date;
|
|
341
386
|
} | null | undefined;
|
|
387
|
+
nonCroppedFile?: {
|
|
388
|
+
path: string;
|
|
389
|
+
id: string;
|
|
390
|
+
userId: string | number;
|
|
391
|
+
signedUrl: string;
|
|
392
|
+
createdAt: Date;
|
|
393
|
+
} | null | undefined;
|
|
342
394
|
}[] | null | undefined;
|
|
343
395
|
}>;
|
|
344
396
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1360,6 +1412,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1360
1412
|
id: string;
|
|
1361
1413
|
fileId: string;
|
|
1362
1414
|
orderId: string;
|
|
1415
|
+
nonCroppedFileId: string;
|
|
1363
1416
|
originalFileId: string;
|
|
1364
1417
|
file?: {
|
|
1365
1418
|
path: string;
|
|
@@ -1375,6 +1428,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1375
1428
|
signedUrl: string;
|
|
1376
1429
|
createdAt: Date;
|
|
1377
1430
|
} | null | undefined;
|
|
1431
|
+
nonCroppedFile?: {
|
|
1432
|
+
path: string;
|
|
1433
|
+
id: string;
|
|
1434
|
+
userId: string | number;
|
|
1435
|
+
signedUrl: string;
|
|
1436
|
+
createdAt: Date;
|
|
1437
|
+
} | null | undefined;
|
|
1378
1438
|
}[] | null | undefined;
|
|
1379
1439
|
};
|
|
1380
1440
|
}, {
|
|
@@ -1566,6 +1626,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1566
1626
|
id: string;
|
|
1567
1627
|
fileId: string;
|
|
1568
1628
|
orderId: string;
|
|
1629
|
+
nonCroppedFileId: string;
|
|
1569
1630
|
originalFileId: string;
|
|
1570
1631
|
file?: {
|
|
1571
1632
|
path: string;
|
|
@@ -1581,6 +1642,13 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1581
1642
|
signedUrl: string;
|
|
1582
1643
|
createdAt: Date;
|
|
1583
1644
|
} | null | undefined;
|
|
1645
|
+
nonCroppedFile?: {
|
|
1646
|
+
path: string;
|
|
1647
|
+
id: string;
|
|
1648
|
+
userId: string | number;
|
|
1649
|
+
signedUrl: string;
|
|
1650
|
+
createdAt: Date;
|
|
1651
|
+
} | null | undefined;
|
|
1584
1652
|
}[] | null | undefined;
|
|
1585
1653
|
};
|
|
1586
1654
|
}>;
|
|
@@ -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":"OrderW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