controlresell 2.2.0 → 2.2.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/filters/SavedFilters.d.ts +133 -0
- package/src/com/controlresell/models/filters/SavedFilters.js +13 -0
- package/src/com/controlresell/models/filters/SavedFilters.ts +12 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +127 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js +10 -0
- package/src/com/controlresell/models/filters/SavedFiltersPayload.ts +9 -0
- package/src/com/controlresell/models/items/CreatedItems.d.ts +70 -70
- package/src/com/controlresell/models/items/Item.d.ts +36 -36
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemPayload.d.ts +2 -2
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +70 -70
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +70 -70
- 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/ItemOnPlatformUpdateRequest.d.ts +4 -4
- package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +2 -2
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.d.ts +12 -0
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.js +9 -0
- package/src/com/controlresell/models/platforms/PlatformFiltersContext.ts +8 -0
- package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
- 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/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +78 -78
- package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +6 -6
- package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +4 -4
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +78 -78
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePriceNegotiationProfile.ts +6 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.d.ts +3 -0
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.js +3 -1
- package/src/com/controlresell/models/preferences/payloads/prices/PreferencePricePayload.ts +3 -1
- package/src/index.d.ts +4 -0
- package/src/index.js +12 -4
- package/src/index.ts +4 -0
|
@@ -263,7 +263,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
263
263
|
accountId: string;
|
|
264
264
|
}>>>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
status: "DELETED" | "
|
|
266
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
267
267
|
id: string;
|
|
268
268
|
itemId: string | number;
|
|
269
269
|
accountId: string;
|
|
@@ -278,7 +278,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
278
278
|
accountId: string;
|
|
279
279
|
} | null | undefined;
|
|
280
280
|
}, {
|
|
281
|
-
status: "DELETED" | "
|
|
281
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
282
282
|
id: string;
|
|
283
283
|
itemId: string | number;
|
|
284
284
|
accountId: string;
|
|
@@ -304,6 +304,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
304
304
|
sold: boolean;
|
|
305
305
|
description?: string | null | undefined;
|
|
306
306
|
customerId?: string | number | null | undefined;
|
|
307
|
+
sex?: string | null | undefined;
|
|
307
308
|
state?: number | null | undefined;
|
|
308
309
|
colorIds?: number[] | null | undefined;
|
|
309
310
|
packageSizeId?: number | null | undefined;
|
|
@@ -320,6 +321,22 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
320
321
|
userId?: string | number | null | undefined;
|
|
321
322
|
} | null | undefined;
|
|
322
323
|
}[] | null | undefined;
|
|
324
|
+
platforms?: {
|
|
325
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
326
|
+
id: string;
|
|
327
|
+
itemId: string | number;
|
|
328
|
+
accountId: string;
|
|
329
|
+
platformId: string;
|
|
330
|
+
platformUrl: string;
|
|
331
|
+
platformPrice: number;
|
|
332
|
+
account?: {
|
|
333
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
334
|
+
userId: string | number;
|
|
335
|
+
name: string;
|
|
336
|
+
platform: "VINTED" | "SHOPIFY";
|
|
337
|
+
accountId: string;
|
|
338
|
+
} | null | undefined;
|
|
339
|
+
}[] | null | undefined;
|
|
323
340
|
files?: {
|
|
324
341
|
fileId: string;
|
|
325
342
|
itemId: string | number;
|
|
@@ -334,7 +351,6 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
334
351
|
}[] | null | undefined;
|
|
335
352
|
categoryId?: number | null | undefined;
|
|
336
353
|
brandId?: string | number | null | undefined;
|
|
337
|
-
sex?: string | null | undefined;
|
|
338
354
|
purchasePrice?: number | null | undefined;
|
|
339
355
|
purchaseDate?: Date | null | undefined;
|
|
340
356
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -389,22 +405,6 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
389
405
|
itemId: string | number;
|
|
390
406
|
data?: string | null | undefined;
|
|
391
407
|
} | null | undefined;
|
|
392
|
-
platforms?: {
|
|
393
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
394
|
-
id: string;
|
|
395
|
-
itemId: string | number;
|
|
396
|
-
accountId: string;
|
|
397
|
-
platformId: string;
|
|
398
|
-
platformUrl: string;
|
|
399
|
-
platformPrice: number;
|
|
400
|
-
account?: {
|
|
401
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
402
|
-
userId: string | number;
|
|
403
|
-
name: string;
|
|
404
|
-
platform: "VINTED" | "SHOPIFY";
|
|
405
|
-
accountId: string;
|
|
406
|
-
} | null | undefined;
|
|
407
|
-
}[] | null | undefined;
|
|
408
408
|
}, {
|
|
409
409
|
id: string | number;
|
|
410
410
|
userId: string | number;
|
|
@@ -414,6 +414,7 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
414
414
|
sold: boolean;
|
|
415
415
|
description?: string | null | undefined;
|
|
416
416
|
customerId?: string | number | null | undefined;
|
|
417
|
+
sex?: string | null | undefined;
|
|
417
418
|
state?: number | null | undefined;
|
|
418
419
|
colorIds?: number[] | null | undefined;
|
|
419
420
|
packageSizeId?: number | null | undefined;
|
|
@@ -430,6 +431,22 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
430
431
|
userId?: string | number | null | undefined;
|
|
431
432
|
} | null | undefined;
|
|
432
433
|
}[] | null | undefined;
|
|
434
|
+
platforms?: {
|
|
435
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
436
|
+
id: string;
|
|
437
|
+
itemId: string | number;
|
|
438
|
+
accountId: string;
|
|
439
|
+
platformId: string;
|
|
440
|
+
platformUrl: string;
|
|
441
|
+
platformPrice: number;
|
|
442
|
+
account?: {
|
|
443
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
444
|
+
userId: string | number;
|
|
445
|
+
name: string;
|
|
446
|
+
platform: "VINTED" | "SHOPIFY";
|
|
447
|
+
accountId: string;
|
|
448
|
+
} | null | undefined;
|
|
449
|
+
}[] | null | undefined;
|
|
433
450
|
files?: {
|
|
434
451
|
fileId: string;
|
|
435
452
|
itemId: string | number;
|
|
@@ -444,7 +461,6 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
444
461
|
}[] | null | undefined;
|
|
445
462
|
categoryId?: number | null | undefined;
|
|
446
463
|
brandId?: string | number | null | undefined;
|
|
447
|
-
sex?: string | null | undefined;
|
|
448
464
|
purchasePrice?: number | null | undefined;
|
|
449
465
|
purchaseDate?: Date | null | undefined;
|
|
450
466
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -499,21 +515,5 @@ export declare const ItemSchema: z.ZodObject<{
|
|
|
499
515
|
itemId: string | number;
|
|
500
516
|
data?: string | null | undefined;
|
|
501
517
|
} | null | undefined;
|
|
502
|
-
platforms?: {
|
|
503
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
504
|
-
id: string;
|
|
505
|
-
itemId: string | number;
|
|
506
|
-
accountId: string;
|
|
507
|
-
platformId: string;
|
|
508
|
-
platformUrl: string;
|
|
509
|
-
platformPrice: number;
|
|
510
|
-
account?: {
|
|
511
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
512
|
-
userId: string | number;
|
|
513
|
-
name: string;
|
|
514
|
-
platform: "VINTED" | "SHOPIFY";
|
|
515
|
-
accountId: string;
|
|
516
|
-
} | null | undefined;
|
|
517
|
-
}[] | null | undefined;
|
|
518
518
|
}>;
|
|
519
519
|
export type Item = z.infer<typeof ItemSchema>;
|
|
@@ -22,9 +22,9 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
24
24
|
sold?: boolean | null | undefined;
|
|
25
|
-
sex?: string[] | null | undefined;
|
|
26
25
|
categoriesId?: number[] | null | undefined;
|
|
27
26
|
brandsId?: number[] | null | undefined;
|
|
27
|
+
sex?: string[] | null | undefined;
|
|
28
28
|
sizesId?: number[] | null | undefined;
|
|
29
29
|
labelsId?: number[] | null | undefined;
|
|
30
30
|
purchasePlacesId?: number[] | null | undefined;
|
|
@@ -42,9 +42,9 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
|
|
|
42
42
|
}, {
|
|
43
43
|
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
44
44
|
sold?: boolean | null | undefined;
|
|
45
|
-
sex?: string[] | null | undefined;
|
|
46
45
|
categoriesId?: number[] | null | undefined;
|
|
47
46
|
brandsId?: number[] | null | undefined;
|
|
47
|
+
sex?: string[] | null | undefined;
|
|
48
48
|
sizesId?: number[] | null | undefined;
|
|
49
49
|
labelsId?: number[] | null | undefined;
|
|
50
50
|
purchasePlacesId?: number[] | null | undefined;
|
|
@@ -44,6 +44,7 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
44
44
|
filesId: string[];
|
|
45
45
|
description?: string | null | undefined;
|
|
46
46
|
customerId?: string | number | null | undefined;
|
|
47
|
+
sex?: string | null | undefined;
|
|
47
48
|
state?: number | null | undefined;
|
|
48
49
|
colorIds?: number[] | null | undefined;
|
|
49
50
|
packageSizeId?: number | null | undefined;
|
|
@@ -51,7 +52,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
51
52
|
labels?: string[] | null | undefined;
|
|
52
53
|
categoryId?: number | null | undefined;
|
|
53
54
|
brandId?: string | number | null | undefined;
|
|
54
|
-
sex?: string | null | undefined;
|
|
55
55
|
purchasePrice?: number | null | undefined;
|
|
56
56
|
purchaseDate?: Date | null | undefined;
|
|
57
57
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -77,6 +77,7 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
77
77
|
filesId: string[];
|
|
78
78
|
description?: string | null | undefined;
|
|
79
79
|
customerId?: string | number | null | undefined;
|
|
80
|
+
sex?: string | null | undefined;
|
|
80
81
|
state?: number | null | undefined;
|
|
81
82
|
colorIds?: number[] | null | undefined;
|
|
82
83
|
packageSizeId?: number | null | undefined;
|
|
@@ -84,7 +85,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
|
|
|
84
85
|
labels?: string[] | null | undefined;
|
|
85
86
|
categoryId?: number | null | undefined;
|
|
86
87
|
brandId?: string | number | null | undefined;
|
|
87
|
-
sex?: string | null | undefined;
|
|
88
88
|
purchasePrice?: number | null | undefined;
|
|
89
89
|
purchaseDate?: Date | null | undefined;
|
|
90
90
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -266,7 +266,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
266
266
|
accountId: string;
|
|
267
267
|
}>>>;
|
|
268
268
|
}, "strip", z.ZodTypeAny, {
|
|
269
|
-
status: "DELETED" | "
|
|
269
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
270
270
|
id: string;
|
|
271
271
|
itemId: string | number;
|
|
272
272
|
accountId: string;
|
|
@@ -281,7 +281,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
281
281
|
accountId: string;
|
|
282
282
|
} | null | undefined;
|
|
283
283
|
}, {
|
|
284
|
-
status: "DELETED" | "
|
|
284
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
285
285
|
id: string;
|
|
286
286
|
itemId: string | number;
|
|
287
287
|
accountId: string;
|
|
@@ -307,6 +307,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
307
307
|
sold: boolean;
|
|
308
308
|
description?: string | null | undefined;
|
|
309
309
|
customerId?: string | number | null | undefined;
|
|
310
|
+
sex?: string | null | undefined;
|
|
310
311
|
state?: number | null | undefined;
|
|
311
312
|
colorIds?: number[] | null | undefined;
|
|
312
313
|
packageSizeId?: number | null | undefined;
|
|
@@ -323,6 +324,22 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
323
324
|
userId?: string | number | null | undefined;
|
|
324
325
|
} | null | undefined;
|
|
325
326
|
}[] | null | undefined;
|
|
327
|
+
platforms?: {
|
|
328
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
329
|
+
id: string;
|
|
330
|
+
itemId: string | number;
|
|
331
|
+
accountId: string;
|
|
332
|
+
platformId: string;
|
|
333
|
+
platformUrl: string;
|
|
334
|
+
platformPrice: number;
|
|
335
|
+
account?: {
|
|
336
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
337
|
+
userId: string | number;
|
|
338
|
+
name: string;
|
|
339
|
+
platform: "VINTED" | "SHOPIFY";
|
|
340
|
+
accountId: string;
|
|
341
|
+
} | null | undefined;
|
|
342
|
+
}[] | null | undefined;
|
|
326
343
|
files?: {
|
|
327
344
|
fileId: string;
|
|
328
345
|
itemId: string | number;
|
|
@@ -337,7 +354,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
337
354
|
}[] | null | undefined;
|
|
338
355
|
categoryId?: number | null | undefined;
|
|
339
356
|
brandId?: string | number | null | undefined;
|
|
340
|
-
sex?: string | null | undefined;
|
|
341
357
|
purchasePrice?: number | null | undefined;
|
|
342
358
|
purchaseDate?: Date | null | undefined;
|
|
343
359
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -392,22 +408,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
392
408
|
itemId: string | number;
|
|
393
409
|
data?: string | null | undefined;
|
|
394
410
|
} | null | undefined;
|
|
395
|
-
platforms?: {
|
|
396
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
397
|
-
id: string;
|
|
398
|
-
itemId: string | number;
|
|
399
|
-
accountId: string;
|
|
400
|
-
platformId: string;
|
|
401
|
-
platformUrl: string;
|
|
402
|
-
platformPrice: number;
|
|
403
|
-
account?: {
|
|
404
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
405
|
-
userId: string | number;
|
|
406
|
-
name: string;
|
|
407
|
-
platform: "VINTED" | "SHOPIFY";
|
|
408
|
-
accountId: string;
|
|
409
|
-
} | null | undefined;
|
|
410
|
-
}[] | null | undefined;
|
|
411
411
|
}, {
|
|
412
412
|
id: string | number;
|
|
413
413
|
userId: string | number;
|
|
@@ -417,6 +417,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
417
417
|
sold: boolean;
|
|
418
418
|
description?: string | null | undefined;
|
|
419
419
|
customerId?: string | number | null | undefined;
|
|
420
|
+
sex?: string | null | undefined;
|
|
420
421
|
state?: number | null | undefined;
|
|
421
422
|
colorIds?: number[] | null | undefined;
|
|
422
423
|
packageSizeId?: number | null | undefined;
|
|
@@ -433,6 +434,22 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
433
434
|
userId?: string | number | null | undefined;
|
|
434
435
|
} | null | undefined;
|
|
435
436
|
}[] | null | undefined;
|
|
437
|
+
platforms?: {
|
|
438
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
439
|
+
id: string;
|
|
440
|
+
itemId: string | number;
|
|
441
|
+
accountId: string;
|
|
442
|
+
platformId: string;
|
|
443
|
+
platformUrl: string;
|
|
444
|
+
platformPrice: number;
|
|
445
|
+
account?: {
|
|
446
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
447
|
+
userId: string | number;
|
|
448
|
+
name: string;
|
|
449
|
+
platform: "VINTED" | "SHOPIFY";
|
|
450
|
+
accountId: string;
|
|
451
|
+
} | null | undefined;
|
|
452
|
+
}[] | null | undefined;
|
|
436
453
|
files?: {
|
|
437
454
|
fileId: string;
|
|
438
455
|
itemId: string | number;
|
|
@@ -447,7 +464,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
447
464
|
}[] | null | undefined;
|
|
448
465
|
categoryId?: number | null | undefined;
|
|
449
466
|
brandId?: string | number | null | undefined;
|
|
450
|
-
sex?: string | null | undefined;
|
|
451
467
|
purchasePrice?: number | null | undefined;
|
|
452
468
|
purchaseDate?: Date | null | undefined;
|
|
453
469
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -502,22 +518,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
502
518
|
itemId: string | number;
|
|
503
519
|
data?: string | null | undefined;
|
|
504
520
|
} | null | undefined;
|
|
505
|
-
platforms?: {
|
|
506
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
507
|
-
id: string;
|
|
508
|
-
itemId: string | number;
|
|
509
|
-
accountId: string;
|
|
510
|
-
platformId: string;
|
|
511
|
-
platformUrl: string;
|
|
512
|
-
platformPrice: number;
|
|
513
|
-
account?: {
|
|
514
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
515
|
-
userId: string | number;
|
|
516
|
-
name: string;
|
|
517
|
-
platform: "VINTED" | "SHOPIFY";
|
|
518
|
-
accountId: string;
|
|
519
|
-
} | null | undefined;
|
|
520
|
-
}[] | null | undefined;
|
|
521
521
|
}>, "many">;
|
|
522
522
|
currentPage: z.ZodNumber;
|
|
523
523
|
totalPages: z.ZodNumber;
|
|
@@ -533,6 +533,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
533
533
|
sold: boolean;
|
|
534
534
|
description?: string | null | undefined;
|
|
535
535
|
customerId?: string | number | null | undefined;
|
|
536
|
+
sex?: string | null | undefined;
|
|
536
537
|
state?: number | null | undefined;
|
|
537
538
|
colorIds?: number[] | null | undefined;
|
|
538
539
|
packageSizeId?: number | null | undefined;
|
|
@@ -549,6 +550,22 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
549
550
|
userId?: string | number | null | undefined;
|
|
550
551
|
} | null | undefined;
|
|
551
552
|
}[] | null | undefined;
|
|
553
|
+
platforms?: {
|
|
554
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
555
|
+
id: string;
|
|
556
|
+
itemId: string | number;
|
|
557
|
+
accountId: string;
|
|
558
|
+
platformId: string;
|
|
559
|
+
platformUrl: string;
|
|
560
|
+
platformPrice: number;
|
|
561
|
+
account?: {
|
|
562
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
563
|
+
userId: string | number;
|
|
564
|
+
name: string;
|
|
565
|
+
platform: "VINTED" | "SHOPIFY";
|
|
566
|
+
accountId: string;
|
|
567
|
+
} | null | undefined;
|
|
568
|
+
}[] | null | undefined;
|
|
552
569
|
files?: {
|
|
553
570
|
fileId: string;
|
|
554
571
|
itemId: string | number;
|
|
@@ -563,7 +580,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
563
580
|
}[] | null | undefined;
|
|
564
581
|
categoryId?: number | null | undefined;
|
|
565
582
|
brandId?: string | number | null | undefined;
|
|
566
|
-
sex?: string | null | undefined;
|
|
567
583
|
purchasePrice?: number | null | undefined;
|
|
568
584
|
purchaseDate?: Date | null | undefined;
|
|
569
585
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -618,22 +634,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
618
634
|
itemId: string | number;
|
|
619
635
|
data?: string | null | undefined;
|
|
620
636
|
} | null | undefined;
|
|
621
|
-
platforms?: {
|
|
622
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
623
|
-
id: string;
|
|
624
|
-
itemId: string | number;
|
|
625
|
-
accountId: string;
|
|
626
|
-
platformId: string;
|
|
627
|
-
platformUrl: string;
|
|
628
|
-
platformPrice: number;
|
|
629
|
-
account?: {
|
|
630
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
631
|
-
userId: string | number;
|
|
632
|
-
name: string;
|
|
633
|
-
platform: "VINTED" | "SHOPIFY";
|
|
634
|
-
accountId: string;
|
|
635
|
-
} | null | undefined;
|
|
636
|
-
}[] | null | undefined;
|
|
637
637
|
}[];
|
|
638
638
|
currentPage: number;
|
|
639
639
|
totalPages: number;
|
|
@@ -649,6 +649,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
649
649
|
sold: boolean;
|
|
650
650
|
description?: string | null | undefined;
|
|
651
651
|
customerId?: string | number | null | undefined;
|
|
652
|
+
sex?: string | null | undefined;
|
|
652
653
|
state?: number | null | undefined;
|
|
653
654
|
colorIds?: number[] | null | undefined;
|
|
654
655
|
packageSizeId?: number | null | undefined;
|
|
@@ -665,6 +666,22 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
665
666
|
userId?: string | number | null | undefined;
|
|
666
667
|
} | null | undefined;
|
|
667
668
|
}[] | null | undefined;
|
|
669
|
+
platforms?: {
|
|
670
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
671
|
+
id: string;
|
|
672
|
+
itemId: string | number;
|
|
673
|
+
accountId: string;
|
|
674
|
+
platformId: string;
|
|
675
|
+
platformUrl: string;
|
|
676
|
+
platformPrice: number;
|
|
677
|
+
account?: {
|
|
678
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
679
|
+
userId: string | number;
|
|
680
|
+
name: string;
|
|
681
|
+
platform: "VINTED" | "SHOPIFY";
|
|
682
|
+
accountId: string;
|
|
683
|
+
} | null | undefined;
|
|
684
|
+
}[] | null | undefined;
|
|
668
685
|
files?: {
|
|
669
686
|
fileId: string;
|
|
670
687
|
itemId: string | number;
|
|
@@ -679,7 +696,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
679
696
|
}[] | null | undefined;
|
|
680
697
|
categoryId?: number | null | undefined;
|
|
681
698
|
brandId?: string | number | null | undefined;
|
|
682
|
-
sex?: string | null | undefined;
|
|
683
699
|
purchasePrice?: number | null | undefined;
|
|
684
700
|
purchaseDate?: Date | null | undefined;
|
|
685
701
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -734,22 +750,6 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
|
|
|
734
750
|
itemId: string | number;
|
|
735
751
|
data?: string | null | undefined;
|
|
736
752
|
} | null | undefined;
|
|
737
|
-
platforms?: {
|
|
738
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
739
|
-
id: string;
|
|
740
|
-
itemId: string | number;
|
|
741
|
-
accountId: string;
|
|
742
|
-
platformId: string;
|
|
743
|
-
platformUrl: string;
|
|
744
|
-
platformPrice: number;
|
|
745
|
-
account?: {
|
|
746
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
747
|
-
userId: string | number;
|
|
748
|
-
name: string;
|
|
749
|
-
platform: "VINTED" | "SHOPIFY";
|
|
750
|
-
accountId: string;
|
|
751
|
-
} | null | undefined;
|
|
752
|
-
}[] | null | undefined;
|
|
753
753
|
}[];
|
|
754
754
|
currentPage: number;
|
|
755
755
|
totalPages: number;
|