controlresell 0.0.47 → 0.0.48
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/items/CreatedItems.d.ts +7 -7
- package/src/com/controlresell/models/items/Item.d.ts +5 -5
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +7 -7
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +7 -7
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +3 -3
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +3 -3
- 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 +7 -7
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/orders/Order.d.ts +6 -6
- package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
package/package.json
CHANGED
|
@@ -211,17 +211,17 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
211
211
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
212
212
|
id: z.ZodString;
|
|
213
213
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
214
|
-
type: z.ZodEnum<["
|
|
214
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
215
215
|
data: z.ZodString;
|
|
216
216
|
createdAt: z.ZodDate;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
type: "
|
|
218
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
219
219
|
id: string;
|
|
220
220
|
data: string;
|
|
221
221
|
createdAt: Date;
|
|
222
222
|
itemId: string | number;
|
|
223
223
|
}, {
|
|
224
|
-
type: "
|
|
224
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
225
225
|
id: string;
|
|
226
226
|
data: string;
|
|
227
227
|
createdAt: Date;
|
|
@@ -316,7 +316,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
316
316
|
fieldId: string | number;
|
|
317
317
|
}[] | null | undefined;
|
|
318
318
|
lastHistory?: {
|
|
319
|
-
type: "
|
|
319
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
320
320
|
id: string;
|
|
321
321
|
data: string;
|
|
322
322
|
createdAt: Date;
|
|
@@ -409,7 +409,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
409
409
|
fieldId: string | number;
|
|
410
410
|
}[] | null | undefined;
|
|
411
411
|
lastHistory?: {
|
|
412
|
-
type: "
|
|
412
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
413
413
|
id: string;
|
|
414
414
|
data: string;
|
|
415
415
|
createdAt: Date;
|
|
@@ -520,7 +520,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
520
520
|
fieldId: string | number;
|
|
521
521
|
}[] | null | undefined;
|
|
522
522
|
lastHistory?: {
|
|
523
|
-
type: "
|
|
523
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
524
524
|
id: string;
|
|
525
525
|
data: string;
|
|
526
526
|
createdAt: Date;
|
|
@@ -621,7 +621,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
|
|
|
621
621
|
fieldId: string | number;
|
|
622
622
|
}[] | null | undefined;
|
|
623
623
|
lastHistory?: {
|
|
624
|
-
type: "
|
|
624
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
625
625
|
id: string;
|
|
626
626
|
data: string;
|
|
627
627
|
createdAt: Date;
|
|
@@ -210,17 +210,17 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
210
210
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
211
211
|
id: z.ZodString;
|
|
212
212
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
213
|
-
type: z.ZodEnum<["
|
|
213
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
214
214
|
data: z.ZodString;
|
|
215
215
|
createdAt: z.ZodDate;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
type: "
|
|
217
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
218
218
|
id: string;
|
|
219
219
|
data: string;
|
|
220
220
|
createdAt: Date;
|
|
221
221
|
itemId: string | number;
|
|
222
222
|
}, {
|
|
223
|
-
type: "
|
|
223
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
224
224
|
id: string;
|
|
225
225
|
data: string;
|
|
226
226
|
createdAt: Date;
|
|
@@ -315,7 +315,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
315
315
|
fieldId: string | number;
|
|
316
316
|
}[] | null | undefined;
|
|
317
317
|
lastHistory?: {
|
|
318
|
-
type: "
|
|
318
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
319
319
|
id: string;
|
|
320
320
|
data: string;
|
|
321
321
|
createdAt: Date;
|
|
@@ -408,7 +408,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
408
408
|
fieldId: string | number;
|
|
409
409
|
}[] | null | undefined;
|
|
410
410
|
lastHistory?: {
|
|
411
|
-
type: "
|
|
411
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
412
412
|
id: string;
|
|
413
413
|
data: string;
|
|
414
414
|
createdAt: Date;
|
|
@@ -213,17 +213,17 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
213
213
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
214
214
|
id: z.ZodString;
|
|
215
215
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
216
|
-
type: z.ZodEnum<["
|
|
216
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
217
217
|
data: z.ZodString;
|
|
218
218
|
createdAt: z.ZodDate;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
type: "
|
|
220
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
221
221
|
id: string;
|
|
222
222
|
data: string;
|
|
223
223
|
createdAt: Date;
|
|
224
224
|
itemId: string | number;
|
|
225
225
|
}, {
|
|
226
|
-
type: "
|
|
226
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
227
227
|
id: string;
|
|
228
228
|
data: string;
|
|
229
229
|
createdAt: Date;
|
|
@@ -318,7 +318,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
318
318
|
fieldId: string | number;
|
|
319
319
|
}[] | null | undefined;
|
|
320
320
|
lastHistory?: {
|
|
321
|
-
type: "
|
|
321
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
322
322
|
id: string;
|
|
323
323
|
data: string;
|
|
324
324
|
createdAt: Date;
|
|
@@ -411,7 +411,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
411
411
|
fieldId: string | number;
|
|
412
412
|
}[] | null | undefined;
|
|
413
413
|
lastHistory?: {
|
|
414
|
-
type: "
|
|
414
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
415
415
|
id: string;
|
|
416
416
|
data: string;
|
|
417
417
|
createdAt: Date;
|
|
@@ -564,7 +564,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
564
564
|
fieldId: string | number;
|
|
565
565
|
}[] | null | undefined;
|
|
566
566
|
lastHistory?: {
|
|
567
|
-
type: "
|
|
567
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
568
568
|
id: string;
|
|
569
569
|
data: string;
|
|
570
570
|
createdAt: Date;
|
|
@@ -680,7 +680,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
680
680
|
fieldId: string | number;
|
|
681
681
|
}[] | null | undefined;
|
|
682
682
|
lastHistory?: {
|
|
683
|
-
type: "
|
|
683
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
684
684
|
id: string;
|
|
685
685
|
data: string;
|
|
686
686
|
createdAt: Date;
|
|
@@ -211,17 +211,17 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
211
211
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
212
212
|
id: z.ZodString;
|
|
213
213
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
214
|
-
type: z.ZodEnum<["
|
|
214
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
215
215
|
data: z.ZodString;
|
|
216
216
|
createdAt: z.ZodDate;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
type: "
|
|
218
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
219
219
|
id: string;
|
|
220
220
|
data: string;
|
|
221
221
|
createdAt: Date;
|
|
222
222
|
itemId: string | number;
|
|
223
223
|
}, {
|
|
224
|
-
type: "
|
|
224
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
225
225
|
id: string;
|
|
226
226
|
data: string;
|
|
227
227
|
createdAt: Date;
|
|
@@ -316,7 +316,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
316
316
|
fieldId: string | number;
|
|
317
317
|
}[] | null | undefined;
|
|
318
318
|
lastHistory?: {
|
|
319
|
-
type: "
|
|
319
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
320
320
|
id: string;
|
|
321
321
|
data: string;
|
|
322
322
|
createdAt: Date;
|
|
@@ -409,7 +409,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
409
409
|
fieldId: string | number;
|
|
410
410
|
}[] | null | undefined;
|
|
411
411
|
lastHistory?: {
|
|
412
|
-
type: "
|
|
412
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
413
413
|
id: string;
|
|
414
414
|
data: string;
|
|
415
415
|
createdAt: Date;
|
|
@@ -526,7 +526,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
526
526
|
fieldId: string | number;
|
|
527
527
|
}[] | null | undefined;
|
|
528
528
|
lastHistory?: {
|
|
529
|
-
type: "
|
|
529
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
530
530
|
id: string;
|
|
531
531
|
data: string;
|
|
532
532
|
createdAt: Date;
|
|
@@ -627,7 +627,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
|
|
|
627
627
|
fieldId: string | number;
|
|
628
628
|
}[] | null | undefined;
|
|
629
629
|
lastHistory?: {
|
|
630
|
-
type: "
|
|
630
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
631
631
|
id: string;
|
|
632
632
|
data: string;
|
|
633
633
|
createdAt: Date;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreateItemHistoryPayloadSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<["
|
|
3
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
4
4
|
data: z.ZodString;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
type: "
|
|
6
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
7
7
|
data: string;
|
|
8
8
|
}, {
|
|
9
|
-
type: "
|
|
9
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
10
10
|
data: string;
|
|
11
11
|
}>;
|
|
12
12
|
export type CreateItemHistoryPayload = z.infer<typeof CreateItemHistoryPayloadSchema>;
|
|
@@ -2,17 +2,17 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ItemHistorySchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5
|
-
type: z.ZodEnum<["
|
|
5
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
6
6
|
data: z.ZodString;
|
|
7
7
|
createdAt: z.ZodDate;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
type: "
|
|
9
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
10
10
|
id: string;
|
|
11
11
|
data: string;
|
|
12
12
|
createdAt: Date;
|
|
13
13
|
itemId: string | number;
|
|
14
14
|
}, {
|
|
15
|
-
type: "
|
|
15
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
16
16
|
id: string;
|
|
17
17
|
data: string;
|
|
18
18
|
createdAt: Date;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const ItemHistoryTypeSchema: z.ZodEnum<["
|
|
2
|
+
export declare const ItemHistoryTypeSchema: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
3
3
|
export type ItemHistoryType = z.infer<typeof ItemHistoryTypeSchema>;
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ItemHistoryTypeSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ItemHistoryTypeSchema = zod_1.z.enum([
|
|
6
|
-
"
|
|
6
|
+
"IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"
|
|
7
7
|
]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
3
|
export const ItemHistoryTypeSchema = z.enum([
|
|
4
|
-
"
|
|
4
|
+
"IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"
|
|
5
5
|
])
|
|
6
6
|
export type ItemHistoryType = z.infer<typeof ItemHistoryTypeSchema>
|
|
@@ -6,13 +6,13 @@ export declare const CreateItemOnPlatformPayloadSchema: z.ZodObject<{
|
|
|
6
6
|
platformPrice: z.ZodNumber;
|
|
7
7
|
status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
status: "
|
|
9
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
10
10
|
accountId: string;
|
|
11
11
|
platformId: string;
|
|
12
12
|
platformUrl: string;
|
|
13
13
|
platformPrice: number;
|
|
14
14
|
}, {
|
|
15
|
-
status: "
|
|
15
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
16
16
|
accountId: string;
|
|
17
17
|
platformId: string;
|
|
18
18
|
platformUrl: string;
|
|
@@ -24,7 +24,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
24
24
|
name: string;
|
|
25
25
|
}>>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
status: "
|
|
27
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
28
28
|
id: string;
|
|
29
29
|
accountId: string;
|
|
30
30
|
itemId: string | number;
|
|
@@ -38,7 +38,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
|
|
|
38
38
|
name: string;
|
|
39
39
|
} | null | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
status: "
|
|
41
|
+
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
42
42
|
id: string;
|
|
43
43
|
accountId: string;
|
|
44
44
|
itemId: string | number;
|
|
@@ -221,17 +221,17 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
221
221
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
222
222
|
id: z.ZodString;
|
|
223
223
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
224
|
-
type: z.ZodEnum<["
|
|
224
|
+
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT"]>;
|
|
225
225
|
data: z.ZodString;
|
|
226
226
|
createdAt: z.ZodDate;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
type: "
|
|
228
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
229
229
|
id: string;
|
|
230
230
|
data: string;
|
|
231
231
|
createdAt: Date;
|
|
232
232
|
itemId: string | number;
|
|
233
233
|
}, {
|
|
234
|
-
type: "
|
|
234
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
235
235
|
id: string;
|
|
236
236
|
data: string;
|
|
237
237
|
createdAt: Date;
|
|
@@ -326,7 +326,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
326
326
|
fieldId: string | number;
|
|
327
327
|
}[] | null | undefined;
|
|
328
328
|
lastHistory?: {
|
|
329
|
-
type: "
|
|
329
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
330
330
|
id: string;
|
|
331
331
|
data: string;
|
|
332
332
|
createdAt: Date;
|
|
@@ -419,7 +419,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
419
419
|
fieldId: string | number;
|
|
420
420
|
}[] | null | undefined;
|
|
421
421
|
lastHistory?: {
|
|
422
|
-
type: "
|
|
422
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
423
423
|
id: string;
|
|
424
424
|
data: string;
|
|
425
425
|
createdAt: Date;
|
|
@@ -514,7 +514,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
514
514
|
fieldId: string | number;
|
|
515
515
|
}[] | null | undefined;
|
|
516
516
|
lastHistory?: {
|
|
517
|
-
type: "
|
|
517
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
518
518
|
id: string;
|
|
519
519
|
data: string;
|
|
520
520
|
createdAt: Date;
|
|
@@ -613,7 +613,7 @@ export declare const ItemOnPlatformsRequestWithItemSchema: z.ZodObject<{
|
|
|
613
613
|
fieldId: string | number;
|
|
614
614
|
}[] | null | undefined;
|
|
615
615
|
lastHistory?: {
|
|
616
|
-
type: "
|
|
616
|
+
type: "IMPORTED" | "PUBLISHED" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT";
|
|
617
617
|
id: string;
|
|
618
618
|
data: string;
|
|
619
619
|
createdAt: Date;
|
|
@@ -3,10 +3,10 @@ export declare const UpdateItemOnPlatformPayloadSchema: z.ZodObject<{
|
|
|
3
3
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>>>;
|
|
4
4
|
platformPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
status?: "
|
|
6
|
+
status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
|
|
7
7
|
platformPrice?: number | null | undefined;
|
|
8
8
|
}, {
|
|
9
|
-
status?: "
|
|
9
|
+
status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
|
|
10
10
|
platformPrice?: number | null | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
export type UpdateItemOnPlatformPayload = z.infer<typeof UpdateItemOnPlatformPayloadSchema>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|