controlresell 2.1.11 → 2.1.12

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.
Files changed (20) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/items/CreatedItems.d.ts +7 -7
  3. package/src/com/controlresell/models/items/Item.d.ts +5 -5
  4. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +7 -7
  5. package/src/com/controlresell/models/items/UpdatedItem.d.ts +7 -7
  6. package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.d.ts +6 -6
  7. package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.js +2 -2
  8. package/src/com/controlresell/models/items/analysis/ItemAnalysisCompletion.ts +2 -2
  9. package/src/com/controlresell/models/items/platforms/CreateItemOnPlatformPayload.d.ts +3 -3
  10. package/src/com/controlresell/models/items/platforms/ItemOnPlatform.d.ts +3 -3
  11. package/src/com/controlresell/models/items/platforms/ItemOnPlatformStatus.d.ts +1 -1
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformStatus.js +1 -1
  13. package/src/com/controlresell/models/items/platforms/ItemOnPlatformStatus.ts +1 -1
  14. package/src/com/controlresell/models/items/platforms/UpdateItemOnPlatformPayload.d.ts +3 -3
  15. package/src/com/controlresell/models/platforms/orders/Order.d.ts +7 -7
  16. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +5 -5
  17. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +16 -16
  18. package/src/com/controlresell/models/platforms/transactions/Transaction.d.ts +7 -7
  19. package/src/com/controlresell/models/platforms/transactions/items/ItemInTransaction.d.ts +5 -5
  20. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +16 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.1.11",
3
+ "version": "2.1.12",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "controlresell-connector": "^0.2.20",
21
- "zod": "^3.25.7",
21
+ "zod": "^3.25.16",
22
22
  "zodable-idschema": "^1.0.0"
23
23
  }
24
24
  }
@@ -238,7 +238,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
238
238
  platformId: z.ZodString;
239
239
  platformUrl: z.ZodString;
240
240
  platformPrice: z.ZodNumber;
241
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
241
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
242
242
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
243
243
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
244
244
  accountId: z.ZodString;
@@ -259,7 +259,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
259
259
  accountId: string;
260
260
  }>>>;
261
261
  }, "strip", z.ZodTypeAny, {
262
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
262
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
263
263
  id: string;
264
264
  itemId: string | number;
265
265
  accountId: string;
@@ -274,7 +274,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
274
274
  accountId: string;
275
275
  } | null | undefined;
276
276
  }, {
277
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
277
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
278
278
  id: string;
279
279
  itemId: string | number;
280
280
  accountId: string;
@@ -385,7 +385,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
385
385
  data?: string | null | undefined;
386
386
  } | null | undefined;
387
387
  platforms?: {
388
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
388
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
389
389
  id: string;
390
390
  itemId: string | number;
391
391
  accountId: string;
@@ -494,7 +494,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
494
494
  data?: string | null | undefined;
495
495
  } | null | undefined;
496
496
  platforms?: {
497
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
497
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
498
498
  id: string;
499
499
  itemId: string | number;
500
500
  accountId: string;
@@ -624,7 +624,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
624
624
  data?: string | null | undefined;
625
625
  } | null | undefined;
626
626
  platforms?: {
627
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
627
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
628
628
  id: string;
629
629
  itemId: string | number;
630
630
  accountId: string;
@@ -742,7 +742,7 @@ export declare const CreatedItemsSchema: z.ZodObject<{
742
742
  data?: string | null | undefined;
743
743
  } | null | undefined;
744
744
  platforms?: {
745
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
745
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
746
746
  id: string;
747
747
  itemId: string | number;
748
748
  accountId: string;
@@ -237,7 +237,7 @@ export declare const ItemSchema: z.ZodObject<{
237
237
  platformId: z.ZodString;
238
238
  platformUrl: z.ZodString;
239
239
  platformPrice: z.ZodNumber;
240
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
240
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
241
241
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
242
242
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
243
243
  accountId: z.ZodString;
@@ -258,7 +258,7 @@ export declare const ItemSchema: z.ZodObject<{
258
258
  accountId: string;
259
259
  }>>>;
260
260
  }, "strip", z.ZodTypeAny, {
261
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
261
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
262
262
  id: string;
263
263
  itemId: string | number;
264
264
  accountId: string;
@@ -273,7 +273,7 @@ export declare const ItemSchema: z.ZodObject<{
273
273
  accountId: string;
274
274
  } | null | undefined;
275
275
  }, {
276
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
276
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
277
277
  id: string;
278
278
  itemId: string | number;
279
279
  accountId: string;
@@ -384,7 +384,7 @@ export declare const ItemSchema: z.ZodObject<{
384
384
  data?: string | null | undefined;
385
385
  } | null | undefined;
386
386
  platforms?: {
387
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
387
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
388
388
  id: string;
389
389
  itemId: string | number;
390
390
  accountId: string;
@@ -493,7 +493,7 @@ export declare const ItemSchema: z.ZodObject<{
493
493
  data?: string | null | undefined;
494
494
  } | null | undefined;
495
495
  platforms?: {
496
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
496
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
497
497
  id: string;
498
498
  itemId: string | number;
499
499
  accountId: string;
@@ -240,7 +240,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
240
240
  platformId: z.ZodString;
241
241
  platformUrl: z.ZodString;
242
242
  platformPrice: z.ZodNumber;
243
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
243
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
244
244
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
245
245
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
246
246
  accountId: z.ZodString;
@@ -261,7 +261,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
261
261
  accountId: string;
262
262
  }>>>;
263
263
  }, "strip", z.ZodTypeAny, {
264
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
264
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
265
265
  id: string;
266
266
  itemId: string | number;
267
267
  accountId: string;
@@ -276,7 +276,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
276
276
  accountId: string;
277
277
  } | null | undefined;
278
278
  }, {
279
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
279
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
280
280
  id: string;
281
281
  itemId: string | number;
282
282
  accountId: string;
@@ -387,7 +387,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
387
387
  data?: string | null | undefined;
388
388
  } | null | undefined;
389
389
  platforms?: {
390
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
390
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
391
391
  id: string;
392
392
  itemId: string | number;
393
393
  accountId: string;
@@ -496,7 +496,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
496
496
  data?: string | null | undefined;
497
497
  } | null | undefined;
498
498
  platforms?: {
499
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
499
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
500
500
  id: string;
501
501
  itemId: string | number;
502
502
  accountId: string;
@@ -630,7 +630,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
630
630
  data?: string | null | undefined;
631
631
  } | null | undefined;
632
632
  platforms?: {
633
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
633
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
634
634
  id: string;
635
635
  itemId: string | number;
636
636
  accountId: string;
@@ -752,7 +752,7 @@ export declare const ItemsWithFiltersSchema: z.ZodObject<{
752
752
  data?: string | null | undefined;
753
753
  } | null | undefined;
754
754
  platforms?: {
755
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
755
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
756
756
  id: string;
757
757
  itemId: string | number;
758
758
  accountId: string;
@@ -238,7 +238,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
238
238
  platformId: z.ZodString;
239
239
  platformUrl: z.ZodString;
240
240
  platformPrice: z.ZodNumber;
241
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
241
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
242
242
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
243
243
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
244
244
  accountId: z.ZodString;
@@ -259,7 +259,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
259
259
  accountId: string;
260
260
  }>>>;
261
261
  }, "strip", z.ZodTypeAny, {
262
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
262
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
263
263
  id: string;
264
264
  itemId: string | number;
265
265
  accountId: string;
@@ -274,7 +274,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
274
274
  accountId: string;
275
275
  } | null | undefined;
276
276
  }, {
277
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
277
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
278
278
  id: string;
279
279
  itemId: string | number;
280
280
  accountId: string;
@@ -385,7 +385,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
385
385
  data?: string | null | undefined;
386
386
  } | null | undefined;
387
387
  platforms?: {
388
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
388
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
389
389
  id: string;
390
390
  itemId: string | number;
391
391
  accountId: string;
@@ -494,7 +494,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
494
494
  data?: string | null | undefined;
495
495
  } | null | undefined;
496
496
  platforms?: {
497
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
497
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
498
498
  id: string;
499
499
  itemId: string | number;
500
500
  accountId: string;
@@ -631,7 +631,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
631
631
  data?: string | null | undefined;
632
632
  } | null | undefined;
633
633
  platforms?: {
634
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
634
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
635
635
  id: string;
636
636
  itemId: string | number;
637
637
  accountId: string;
@@ -749,7 +749,7 @@ export declare const UpdatedItemSchema: z.ZodObject<{
749
749
  data?: string | null | undefined;
750
750
  } | null | undefined;
751
751
  platforms?: {
752
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
752
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
753
753
  id: string;
754
754
  itemId: string | number;
755
755
  accountId: string;
@@ -5,26 +5,26 @@ export declare const ItemAnalysisCompletionSchema: z.ZodObject<{
5
5
  brand: z.ZodString;
6
6
  catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7
7
  sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
- packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
- statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ packageSizeId: z.ZodNumber;
9
+ statusId: z.ZodNumber;
10
10
  colorIds: z.ZodArray<z.ZodNumber, "many">;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  title: string;
13
13
  description: string;
14
14
  brand: string;
15
15
  colorIds: number[];
16
+ packageSizeId: number;
17
+ statusId: number;
16
18
  catalogId?: number | null | undefined;
17
- packageSizeId?: number | null | undefined;
18
19
  sizeId?: number | null | undefined;
19
- statusId?: number | null | undefined;
20
20
  }, {
21
21
  title: string;
22
22
  description: string;
23
23
  brand: string;
24
24
  colorIds: number[];
25
+ packageSizeId: number;
26
+ statusId: number;
25
27
  catalogId?: number | null | undefined;
26
- packageSizeId?: number | null | undefined;
27
28
  sizeId?: number | null | undefined;
28
- statusId?: number | null | undefined;
29
29
  }>;
30
30
  export type ItemAnalysisCompletion = z.infer<typeof ItemAnalysisCompletionSchema>;
@@ -8,7 +8,7 @@ exports.ItemAnalysisCompletionSchema = zod_1.z.object({
8
8
  brand: zod_1.z.string(),
9
9
  catalogId: zod_1.z.number().nullish(),
10
10
  sizeId: zod_1.z.number().nullish(),
11
- packageSizeId: zod_1.z.number().nullish(),
12
- statusId: zod_1.z.number().nullish(),
11
+ packageSizeId: zod_1.z.number(),
12
+ statusId: zod_1.z.number(),
13
13
  colorIds: zod_1.z.array(zod_1.z.number())
14
14
  });
@@ -6,8 +6,8 @@ export const ItemAnalysisCompletionSchema = z.object({
6
6
  brand: z.string(),
7
7
  catalogId: z.number().nullish(),
8
8
  sizeId: z.number().nullish(),
9
- packageSizeId: z.number().nullish(),
10
- statusId: z.number().nullish(),
9
+ packageSizeId: z.number(),
10
+ statusId: z.number(),
11
11
  colorIds: z.array(z.number())
12
12
  })
13
13
  export type ItemAnalysisCompletion = z.infer<typeof ItemAnalysisCompletionSchema>
@@ -4,15 +4,15 @@ export declare const CreateItemOnPlatformPayloadSchema: z.ZodObject<{
4
4
  platformId: z.ZodString;
5
5
  platformUrl: z.ZodString;
6
6
  platformPrice: z.ZodNumber;
7
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
7
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
9
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
10
10
  accountId: string;
11
11
  platformId: string;
12
12
  platformUrl: string;
13
13
  platformPrice: number;
14
14
  }, {
15
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
15
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
16
16
  accountId: string;
17
17
  platformId: string;
18
18
  platformUrl: string;
@@ -6,7 +6,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
6
6
  platformId: z.ZodString;
7
7
  platformUrl: z.ZodString;
8
8
  platformPrice: z.ZodNumber;
9
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
9
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
10
10
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
12
12
  accountId: z.ZodString;
@@ -27,7 +27,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
27
27
  accountId: string;
28
28
  }>>>;
29
29
  }, "strip", z.ZodTypeAny, {
30
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
30
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
31
31
  id: string;
32
32
  itemId: string | number;
33
33
  accountId: string;
@@ -42,7 +42,7 @@ export declare const ItemOnPlatformSchema: z.ZodObject<{
42
42
  accountId: string;
43
43
  } | null | undefined;
44
44
  }, {
45
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
45
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
46
46
  id: string;
47
47
  itemId: string | number;
48
48
  accountId: string;
@@ -1,3 +1,3 @@
1
1
  import { z } from "zod";
2
- export declare const ItemOnPlatformStatusSchema: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
2
+ export declare const ItemOnPlatformStatusSchema: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
3
3
  export type ItemOnPlatformStatus = z.infer<typeof ItemOnPlatformStatusSchema>;
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ItemOnPlatformStatusSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.ItemOnPlatformStatusSchema = zod_1.z.enum([
6
- "ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"
6
+ "ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"
7
7
  ]);
@@ -1,6 +1,6 @@
1
1
  import {z} from "zod"
2
2
 
3
3
  export const ItemOnPlatformStatusSchema = z.enum([
4
- "ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"
4
+ "ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"
5
5
  ])
6
6
  export type ItemOnPlatformStatus = z.infer<typeof ItemOnPlatformStatusSchema>
@@ -1,14 +1,14 @@
1
1
  import { z } from "zod";
2
2
  export declare const UpdateItemOnPlatformPayloadSchema: z.ZodObject<{
3
- status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>>>;
3
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>>>;
4
4
  platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  platformPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6
6
  }, "strip", z.ZodTypeAny, {
7
- status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
7
+ status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
8
8
  platformUrl?: string | null | undefined;
9
9
  platformPrice?: number | null | undefined;
10
10
  }, {
11
- status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
11
+ status?: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE" | null | undefined;
12
12
  platformUrl?: string | null | undefined;
13
13
  platformPrice?: number | null | undefined;
14
14
  }>;
@@ -18,7 +18,7 @@ export declare const OrderSchema: z.ZodObject<{
18
18
  platformId: z.ZodString;
19
19
  platformUrl: z.ZodString;
20
20
  platformPrice: z.ZodNumber;
21
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
21
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
22
22
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24
24
  accountId: z.ZodString;
@@ -39,7 +39,7 @@ export declare const OrderSchema: z.ZodObject<{
39
39
  accountId: string;
40
40
  }>>>;
41
41
  }, "strip", z.ZodTypeAny, {
42
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
42
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
43
43
  id: string;
44
44
  itemId: string | number;
45
45
  accountId: string;
@@ -54,7 +54,7 @@ export declare const OrderSchema: z.ZodObject<{
54
54
  accountId: string;
55
55
  } | null | undefined;
56
56
  }, {
57
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
57
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
58
58
  id: string;
59
59
  itemId: string | number;
60
60
  accountId: string;
@@ -73,7 +73,7 @@ export declare const OrderSchema: z.ZodObject<{
73
73
  orderId: string;
74
74
  itemOnPlatformId: string;
75
75
  itemOnPlatform?: {
76
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
76
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
77
77
  id: string;
78
78
  itemId: string | number;
79
79
  accountId: string;
@@ -92,7 +92,7 @@ export declare const OrderSchema: z.ZodObject<{
92
92
  orderId: string;
93
93
  itemOnPlatformId: string;
94
94
  itemOnPlatform?: {
95
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
95
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
96
96
  id: string;
97
97
  itemId: string | number;
98
98
  accountId: string;
@@ -201,7 +201,7 @@ export declare const OrderSchema: z.ZodObject<{
201
201
  orderId: string;
202
202
  itemOnPlatformId: string;
203
203
  itemOnPlatform?: {
204
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
204
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
205
205
  id: string;
206
206
  itemId: string | number;
207
207
  accountId: string;
@@ -250,7 +250,7 @@ export declare const OrderSchema: z.ZodObject<{
250
250
  orderId: string;
251
251
  itemOnPlatformId: string;
252
252
  itemOnPlatform?: {
253
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
253
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
254
254
  id: string;
255
255
  itemId: string | number;
256
256
  accountId: string;
@@ -9,7 +9,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
9
9
  platformId: z.ZodString;
10
10
  platformUrl: z.ZodString;
11
11
  platformPrice: z.ZodNumber;
12
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
12
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
13
13
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
15
15
  accountId: z.ZodString;
@@ -30,7 +30,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
30
30
  accountId: string;
31
31
  }>>>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
33
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
34
34
  id: string;
35
35
  itemId: string | number;
36
36
  accountId: string;
@@ -45,7 +45,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
45
45
  accountId: string;
46
46
  } | null | undefined;
47
47
  }, {
48
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
48
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
49
49
  id: string;
50
50
  itemId: string | number;
51
51
  accountId: string;
@@ -64,7 +64,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
64
64
  orderId: string;
65
65
  itemOnPlatformId: string;
66
66
  itemOnPlatform?: {
67
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
67
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
68
68
  id: string;
69
69
  itemId: string | number;
70
70
  accountId: string;
@@ -83,7 +83,7 @@ export declare const ItemInOrderSchema: z.ZodObject<{
83
83
  orderId: string;
84
84
  itemOnPlatformId: string;
85
85
  itemOnPlatform?: {
86
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
86
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
87
87
  id: string;
88
88
  itemId: string | number;
89
89
  accountId: string;
@@ -19,7 +19,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
19
19
  platformId: z.ZodString;
20
20
  platformUrl: z.ZodString;
21
21
  platformPrice: z.ZodNumber;
22
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
22
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
23
23
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
24
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
25
25
  accountId: z.ZodString;
@@ -40,7 +40,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
40
40
  accountId: string;
41
41
  }>>>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
43
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
44
44
  id: string;
45
45
  itemId: string | number;
46
46
  accountId: string;
@@ -55,7 +55,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
55
55
  accountId: string;
56
56
  } | null | undefined;
57
57
  }, {
58
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
58
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
59
59
  id: string;
60
60
  itemId: string | number;
61
61
  accountId: string;
@@ -74,7 +74,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
74
74
  orderId: string;
75
75
  itemOnPlatformId: string;
76
76
  itemOnPlatform?: {
77
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
77
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
78
78
  id: string;
79
79
  itemId: string | number;
80
80
  accountId: string;
@@ -93,7 +93,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
93
93
  orderId: string;
94
94
  itemOnPlatformId: string;
95
95
  itemOnPlatform?: {
96
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
96
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
97
97
  id: string;
98
98
  itemId: string | number;
99
99
  accountId: string;
@@ -202,7 +202,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
202
202
  orderId: string;
203
203
  itemOnPlatformId: string;
204
204
  itemOnPlatform?: {
205
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
205
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
206
206
  id: string;
207
207
  itemId: string | number;
208
208
  accountId: string;
@@ -251,7 +251,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
251
251
  orderId: string;
252
252
  itemOnPlatformId: string;
253
253
  itemOnPlatform?: {
254
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
254
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
255
255
  id: string;
256
256
  itemId: string | number;
257
257
  accountId: string;
@@ -528,7 +528,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
528
528
  platformId: z.ZodString;
529
529
  platformUrl: z.ZodString;
530
530
  platformPrice: z.ZodNumber;
531
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
531
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
532
532
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
533
533
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
534
534
  accountId: z.ZodString;
@@ -549,7 +549,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
549
549
  accountId: string;
550
550
  }>>>;
551
551
  }, "strip", z.ZodTypeAny, {
552
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
552
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
553
553
  id: string;
554
554
  itemId: string | number;
555
555
  accountId: string;
@@ -564,7 +564,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
564
564
  accountId: string;
565
565
  } | null | undefined;
566
566
  }, {
567
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
567
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
568
568
  id: string;
569
569
  itemId: string | number;
570
570
  accountId: string;
@@ -675,7 +675,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
675
675
  data?: string | null | undefined;
676
676
  } | null | undefined;
677
677
  platforms?: {
678
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
678
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
679
679
  id: string;
680
680
  itemId: string | number;
681
681
  accountId: string;
@@ -784,7 +784,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
784
784
  data?: string | null | undefined;
785
785
  } | null | undefined;
786
786
  platforms?: {
787
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
787
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
788
788
  id: string;
789
789
  itemId: string | number;
790
790
  accountId: string;
@@ -895,7 +895,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
895
895
  data?: string | null | undefined;
896
896
  } | null | undefined;
897
897
  platforms?: {
898
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
898
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
899
899
  id: string;
900
900
  itemId: string | number;
901
901
  accountId: string;
@@ -922,7 +922,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
922
922
  orderId: string;
923
923
  itemOnPlatformId: string;
924
924
  itemOnPlatform?: {
925
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
925
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
926
926
  id: string;
927
927
  itemId: string | number;
928
928
  accountId: string;
@@ -1056,7 +1056,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1056
1056
  data?: string | null | undefined;
1057
1057
  } | null | undefined;
1058
1058
  platforms?: {
1059
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
1059
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
1060
1060
  id: string;
1061
1061
  itemId: string | number;
1062
1062
  accountId: string;
@@ -1083,7 +1083,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1083
1083
  orderId: string;
1084
1084
  itemOnPlatformId: string;
1085
1085
  itemOnPlatform?: {
1086
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
1086
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
1087
1087
  id: string;
1088
1088
  itemId: string | number;
1089
1089
  accountId: string;
@@ -17,7 +17,7 @@ export declare const TransactionSchema: z.ZodObject<{
17
17
  platformId: z.ZodString;
18
18
  platformUrl: z.ZodString;
19
19
  platformPrice: z.ZodNumber;
20
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
20
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
21
21
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
22
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
23
23
  accountId: z.ZodString;
@@ -38,7 +38,7 @@ export declare const TransactionSchema: z.ZodObject<{
38
38
  accountId: string;
39
39
  }>>>;
40
40
  }, "strip", z.ZodTypeAny, {
41
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
41
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
42
42
  id: string;
43
43
  itemId: string | number;
44
44
  accountId: string;
@@ -53,7 +53,7 @@ export declare const TransactionSchema: z.ZodObject<{
53
53
  accountId: string;
54
54
  } | null | undefined;
55
55
  }, {
56
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
56
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
57
57
  id: string;
58
58
  itemId: string | number;
59
59
  accountId: string;
@@ -72,7 +72,7 @@ export declare const TransactionSchema: z.ZodObject<{
72
72
  transactionId: string;
73
73
  itemOnPlatformId: string;
74
74
  itemOnPlatform?: {
75
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
75
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
76
76
  id: string;
77
77
  itemId: string | number;
78
78
  accountId: string;
@@ -91,7 +91,7 @@ export declare const TransactionSchema: z.ZodObject<{
91
91
  transactionId: string;
92
92
  itemOnPlatformId: string;
93
93
  itemOnPlatform?: {
94
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
94
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
95
95
  id: string;
96
96
  itemId: string | number;
97
97
  accountId: string;
@@ -115,7 +115,7 @@ export declare const TransactionSchema: z.ZodObject<{
115
115
  transactionId: string;
116
116
  itemOnPlatformId: string;
117
117
  itemOnPlatform?: {
118
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
118
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
119
119
  id: string;
120
120
  itemId: string | number;
121
121
  accountId: string;
@@ -143,7 +143,7 @@ export declare const TransactionSchema: z.ZodObject<{
143
143
  transactionId: string;
144
144
  itemOnPlatformId: string;
145
145
  itemOnPlatform?: {
146
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
146
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
147
147
  id: string;
148
148
  itemId: string | number;
149
149
  accountId: string;
@@ -9,7 +9,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
9
9
  platformId: z.ZodString;
10
10
  platformUrl: z.ZodString;
11
11
  platformPrice: z.ZodNumber;
12
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
12
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
13
13
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
14
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
15
15
  accountId: z.ZodString;
@@ -30,7 +30,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
30
30
  accountId: string;
31
31
  }>>>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
33
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
34
34
  id: string;
35
35
  itemId: string | number;
36
36
  accountId: string;
@@ -45,7 +45,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
45
45
  accountId: string;
46
46
  } | null | undefined;
47
47
  }, {
48
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
48
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
49
49
  id: string;
50
50
  itemId: string | number;
51
51
  accountId: string;
@@ -64,7 +64,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
64
64
  transactionId: string;
65
65
  itemOnPlatformId: string;
66
66
  itemOnPlatform?: {
67
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
67
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
68
68
  id: string;
69
69
  itemId: string | number;
70
70
  accountId: string;
@@ -83,7 +83,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
83
83
  transactionId: string;
84
84
  itemOnPlatformId: string;
85
85
  itemOnPlatform?: {
86
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
86
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
87
87
  id: string;
88
88
  itemId: string | number;
89
89
  accountId: string;
@@ -18,7 +18,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
18
18
  platformId: z.ZodString;
19
19
  platformUrl: z.ZodString;
20
20
  platformPrice: z.ZodNumber;
21
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
21
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
22
22
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
23
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
24
24
  accountId: z.ZodString;
@@ -39,7 +39,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
39
39
  accountId: string;
40
40
  }>>>;
41
41
  }, "strip", z.ZodTypeAny, {
42
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
42
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
43
43
  id: string;
44
44
  itemId: string | number;
45
45
  accountId: string;
@@ -54,7 +54,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
54
54
  accountId: string;
55
55
  } | null | undefined;
56
56
  }, {
57
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
57
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
58
58
  id: string;
59
59
  itemId: string | number;
60
60
  accountId: string;
@@ -73,7 +73,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
73
73
  transactionId: string;
74
74
  itemOnPlatformId: string;
75
75
  itemOnPlatform?: {
76
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
76
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
77
77
  id: string;
78
78
  itemId: string | number;
79
79
  accountId: string;
@@ -92,7 +92,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
92
92
  transactionId: string;
93
93
  itemOnPlatformId: string;
94
94
  itemOnPlatform?: {
95
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
95
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
96
96
  id: string;
97
97
  itemId: string | number;
98
98
  accountId: string;
@@ -116,7 +116,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
116
116
  transactionId: string;
117
117
  itemOnPlatformId: string;
118
118
  itemOnPlatform?: {
119
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
119
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
120
120
  id: string;
121
121
  itemId: string | number;
122
122
  accountId: string;
@@ -144,7 +144,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
144
144
  transactionId: string;
145
145
  itemOnPlatformId: string;
146
146
  itemOnPlatform?: {
147
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
147
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
148
148
  id: string;
149
149
  itemId: string | number;
150
150
  accountId: string;
@@ -403,7 +403,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
403
403
  platformId: z.ZodString;
404
404
  platformUrl: z.ZodString;
405
405
  platformPrice: z.ZodNumber;
406
- status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
406
+ status: z.ZodEnum<["ONLINE", "DRAFT", "DELETED", "SOLD", "SOLD_ELSEWHERE", "HIDDEN", "PENDING", "ERROR", "DISPUTE"]>;
407
407
  account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
408
408
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
409
409
  accountId: z.ZodString;
@@ -424,7 +424,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
424
424
  accountId: string;
425
425
  }>>>;
426
426
  }, "strip", z.ZodTypeAny, {
427
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
427
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
428
428
  id: string;
429
429
  itemId: string | number;
430
430
  accountId: string;
@@ -439,7 +439,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
439
439
  accountId: string;
440
440
  } | null | undefined;
441
441
  }, {
442
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
442
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
443
443
  id: string;
444
444
  itemId: string | number;
445
445
  accountId: string;
@@ -550,7 +550,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
550
550
  data?: string | null | undefined;
551
551
  } | null | undefined;
552
552
  platforms?: {
553
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
553
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
554
554
  id: string;
555
555
  itemId: string | number;
556
556
  accountId: string;
@@ -659,7 +659,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
659
659
  data?: string | null | undefined;
660
660
  } | null | undefined;
661
661
  platforms?: {
662
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
662
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
663
663
  id: string;
664
664
  itemId: string | number;
665
665
  accountId: string;
@@ -770,7 +770,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
770
770
  data?: string | null | undefined;
771
771
  } | null | undefined;
772
772
  platforms?: {
773
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
773
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
774
774
  id: string;
775
775
  itemId: string | number;
776
776
  accountId: string;
@@ -794,7 +794,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
794
794
  transactionId: string;
795
795
  itemOnPlatformId: string;
796
796
  itemOnPlatform?: {
797
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
797
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
798
798
  id: string;
799
799
  itemId: string | number;
800
800
  accountId: string;
@@ -910,7 +910,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
910
910
  data?: string | null | undefined;
911
911
  } | null | undefined;
912
912
  platforms?: {
913
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
913
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
914
914
  id: string;
915
915
  itemId: string | number;
916
916
  accountId: string;
@@ -934,7 +934,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
934
934
  transactionId: string;
935
935
  itemOnPlatformId: string;
936
936
  itemOnPlatform?: {
937
- status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
937
+ status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
938
938
  id: string;
939
939
  itemId: string | number;
940
940
  accountId: string;