controlresell 2.2.18 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/com/controlresell/models/items/CreatedItems.d.ts +130 -130
- package/src/com/controlresell/models/items/Item.d.ts +104 -104
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +130 -130
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +130 -130
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +71 -71
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +78 -78
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +156 -18
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +32 -26
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +43 -26
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +130 -130
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +130 -130
- package/src/com/controlresell/models/preferences/Preference.d.ts +356 -356
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +130 -130
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +1121 -1121
- package/src/com/controlresell/models/preferences/PreferenceWithChildren.d.ts +815 -815
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +275 -275
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +276 -276
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +286 -286
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +31 -31
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +96 -5
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +20 -16
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +27 -16
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +41 -41
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +1417 -1417
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +229 -229
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +232 -232
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +541 -83
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.js +33 -27
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.ts +44 -27
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +229 -229
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +1205 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.js +34 -0
- package/src/com/controlresell/models/users/ws/UserWsPayload.ts +43 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +3 -1
- package/src/index.ts +1 -0
|
@@ -396,56 +396,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
396
396
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
397
397
|
type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
|
|
398
398
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
399
|
-
type: z.ZodLiteral<"EMPTY">;
|
|
400
|
-
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
type: "EMPTY";
|
|
402
|
-
}, {
|
|
403
|
-
type: "EMPTY";
|
|
404
|
-
}>, z.ZodObject<{
|
|
405
|
-
type: z.ZodLiteral<"SCHEDULED">;
|
|
406
|
-
data: z.ZodObject<{
|
|
407
|
-
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
408
|
-
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
409
|
-
}, "strip", z.ZodTypeAny, {
|
|
410
|
-
platform: "VINTED" | "SHOPIFY";
|
|
411
|
-
publishingDate?: Date | null | undefined;
|
|
412
|
-
}, {
|
|
413
|
-
platform: "VINTED" | "SHOPIFY";
|
|
414
|
-
publishingDate?: Date | null | undefined;
|
|
415
|
-
}>;
|
|
416
|
-
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
type: "SCHEDULED";
|
|
418
|
-
data: {
|
|
419
|
-
platform: "VINTED" | "SHOPIFY";
|
|
420
|
-
publishingDate?: Date | null | undefined;
|
|
421
|
-
};
|
|
422
|
-
}, {
|
|
423
|
-
type: "SCHEDULED";
|
|
424
|
-
data: {
|
|
425
|
-
platform: "VINTED" | "SHOPIFY";
|
|
426
|
-
publishingDate?: Date | null | undefined;
|
|
427
|
-
};
|
|
428
|
-
}>, z.ZodObject<{
|
|
429
|
-
type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
|
|
430
|
-
data: z.ZodObject<{
|
|
431
|
-
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
432
|
-
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
platform: "VINTED" | "SHOPIFY";
|
|
434
|
-
}, {
|
|
435
|
-
platform: "VINTED" | "SHOPIFY";
|
|
436
|
-
}>;
|
|
437
|
-
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
type: "FAILED_TO_PUBLISH";
|
|
439
|
-
data: {
|
|
440
|
-
platform: "VINTED" | "SHOPIFY";
|
|
441
|
-
};
|
|
442
|
-
}, {
|
|
443
|
-
type: "FAILED_TO_PUBLISH";
|
|
444
|
-
data: {
|
|
445
|
-
platform: "VINTED" | "SHOPIFY";
|
|
446
|
-
};
|
|
447
|
-
}>, z.ZodObject<{
|
|
448
|
-
type: z.ZodLiteral<"BUYER_PAID">;
|
|
449
399
|
data: z.ZodObject<{
|
|
450
400
|
soldAccountId: z.ZodString;
|
|
451
401
|
soldOrderId: z.ZodString;
|
|
@@ -459,6 +409,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
459
409
|
soldOrderId: string;
|
|
460
410
|
soldConversationId?: string | null | undefined;
|
|
461
411
|
}>;
|
|
412
|
+
type: z.ZodLiteral<"BUYER_PAID">;
|
|
462
413
|
}, "strip", z.ZodTypeAny, {
|
|
463
414
|
type: "BUYER_PAID";
|
|
464
415
|
data: {
|
|
@@ -474,7 +425,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
474
425
|
soldConversationId?: string | null | undefined;
|
|
475
426
|
};
|
|
476
427
|
}>, z.ZodObject<{
|
|
477
|
-
type: z.ZodLiteral<"DELIVERED">;
|
|
478
428
|
data: z.ZodObject<{
|
|
479
429
|
soldAccountId: z.ZodString;
|
|
480
430
|
soldOrderId: z.ZodString;
|
|
@@ -488,6 +438,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
488
438
|
soldOrderId: string;
|
|
489
439
|
soldConversationId?: string | null | undefined;
|
|
490
440
|
}>;
|
|
441
|
+
type: z.ZodLiteral<"DELIVERED">;
|
|
491
442
|
}, "strip", z.ZodTypeAny, {
|
|
492
443
|
type: "DELIVERED";
|
|
493
444
|
data: {
|
|
@@ -503,7 +454,31 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
503
454
|
soldConversationId?: string | null | undefined;
|
|
504
455
|
};
|
|
505
456
|
}>, z.ZodObject<{
|
|
506
|
-
type: z.ZodLiteral<"
|
|
457
|
+
type: z.ZodLiteral<"EMPTY">;
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
type: "EMPTY";
|
|
460
|
+
}, {
|
|
461
|
+
type: "EMPTY";
|
|
462
|
+
}>, z.ZodObject<{
|
|
463
|
+
data: z.ZodObject<{
|
|
464
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
platform: "VINTED" | "SHOPIFY";
|
|
467
|
+
}, {
|
|
468
|
+
platform: "VINTED" | "SHOPIFY";
|
|
469
|
+
}>;
|
|
470
|
+
type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
type: "FAILED_TO_PUBLISH";
|
|
473
|
+
data: {
|
|
474
|
+
platform: "VINTED" | "SHOPIFY";
|
|
475
|
+
};
|
|
476
|
+
}, {
|
|
477
|
+
type: "FAILED_TO_PUBLISH";
|
|
478
|
+
data: {
|
|
479
|
+
platform: "VINTED" | "SHOPIFY";
|
|
480
|
+
};
|
|
481
|
+
}>, z.ZodObject<{
|
|
507
482
|
data: z.ZodObject<{
|
|
508
483
|
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
509
484
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -511,6 +486,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
511
486
|
}, {
|
|
512
487
|
platform: "VINTED" | "SHOPIFY";
|
|
513
488
|
}>;
|
|
489
|
+
type: z.ZodLiteral<"REPUBLISHING">;
|
|
514
490
|
}, "strip", z.ZodTypeAny, {
|
|
515
491
|
type: "REPUBLISHING";
|
|
516
492
|
data: {
|
|
@@ -521,27 +497,38 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
521
497
|
data: {
|
|
522
498
|
platform: "VINTED" | "SHOPIFY";
|
|
523
499
|
};
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
500
|
+
}>, z.ZodObject<{
|
|
501
|
+
data: z.ZodObject<{
|
|
502
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
503
|
+
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
platform: "VINTED" | "SHOPIFY";
|
|
506
|
+
publishingDate?: Date | null | undefined;
|
|
507
|
+
}, {
|
|
508
|
+
platform: "VINTED" | "SHOPIFY";
|
|
509
|
+
publishingDate?: Date | null | undefined;
|
|
510
|
+
}>;
|
|
511
|
+
type: z.ZodLiteral<"SCHEDULED">;
|
|
512
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
513
|
type: "SCHEDULED";
|
|
535
514
|
data: {
|
|
536
515
|
platform: "VINTED" | "SHOPIFY";
|
|
537
516
|
publishingDate?: Date | null | undefined;
|
|
538
517
|
};
|
|
539
|
-
}
|
|
540
|
-
type: "
|
|
518
|
+
}, {
|
|
519
|
+
type: "SCHEDULED";
|
|
541
520
|
data: {
|
|
542
521
|
platform: "VINTED" | "SHOPIFY";
|
|
522
|
+
publishingDate?: Date | null | undefined;
|
|
543
523
|
};
|
|
544
|
-
}
|
|
524
|
+
}>]>>>;
|
|
525
|
+
createdAt: z.ZodDate;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
528
|
+
id: string;
|
|
529
|
+
createdAt: Date;
|
|
530
|
+
itemId: string | number;
|
|
531
|
+
data?: {
|
|
545
532
|
type: "BUYER_PAID";
|
|
546
533
|
data: {
|
|
547
534
|
soldAccountId: string;
|
|
@@ -556,30 +543,30 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
556
543
|
soldConversationId?: string | null | undefined;
|
|
557
544
|
};
|
|
558
545
|
} | {
|
|
559
|
-
type: "
|
|
546
|
+
type: "EMPTY";
|
|
547
|
+
} | {
|
|
548
|
+
type: "FAILED_TO_PUBLISH";
|
|
560
549
|
data: {
|
|
561
550
|
platform: "VINTED" | "SHOPIFY";
|
|
562
551
|
};
|
|
563
|
-
} | null | undefined;
|
|
564
|
-
}, {
|
|
565
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
566
|
-
id: string;
|
|
567
|
-
createdAt: Date;
|
|
568
|
-
itemId: string | number;
|
|
569
|
-
data?: {
|
|
570
|
-
type: "EMPTY";
|
|
571
552
|
} | {
|
|
572
|
-
type: "
|
|
553
|
+
type: "REPUBLISHING";
|
|
573
554
|
data: {
|
|
574
555
|
platform: "VINTED" | "SHOPIFY";
|
|
575
|
-
publishingDate?: Date | null | undefined;
|
|
576
556
|
};
|
|
577
557
|
} | {
|
|
578
|
-
type: "
|
|
558
|
+
type: "SCHEDULED";
|
|
579
559
|
data: {
|
|
580
560
|
platform: "VINTED" | "SHOPIFY";
|
|
561
|
+
publishingDate?: Date | null | undefined;
|
|
581
562
|
};
|
|
582
|
-
} |
|
|
563
|
+
} | null | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
566
|
+
id: string;
|
|
567
|
+
createdAt: Date;
|
|
568
|
+
itemId: string | number;
|
|
569
|
+
data?: {
|
|
583
570
|
type: "BUYER_PAID";
|
|
584
571
|
data: {
|
|
585
572
|
soldAccountId: string;
|
|
@@ -593,11 +580,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
593
580
|
soldOrderId: string;
|
|
594
581
|
soldConversationId?: string | null | undefined;
|
|
595
582
|
};
|
|
583
|
+
} | {
|
|
584
|
+
type: "EMPTY";
|
|
585
|
+
} | {
|
|
586
|
+
type: "FAILED_TO_PUBLISH";
|
|
587
|
+
data: {
|
|
588
|
+
platform: "VINTED" | "SHOPIFY";
|
|
589
|
+
};
|
|
596
590
|
} | {
|
|
597
591
|
type: "REPUBLISHING";
|
|
598
592
|
data: {
|
|
599
593
|
platform: "VINTED" | "SHOPIFY";
|
|
600
594
|
};
|
|
595
|
+
} | {
|
|
596
|
+
type: "SCHEDULED";
|
|
597
|
+
data: {
|
|
598
|
+
platform: "VINTED" | "SHOPIFY";
|
|
599
|
+
publishingDate?: Date | null | undefined;
|
|
600
|
+
};
|
|
601
601
|
} | null | undefined;
|
|
602
602
|
}>>>;
|
|
603
603
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -775,19 +775,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
775
775
|
createdAt: Date;
|
|
776
776
|
itemId: string | number;
|
|
777
777
|
data?: {
|
|
778
|
-
type: "EMPTY";
|
|
779
|
-
} | {
|
|
780
|
-
type: "SCHEDULED";
|
|
781
|
-
data: {
|
|
782
|
-
platform: "VINTED" | "SHOPIFY";
|
|
783
|
-
publishingDate?: Date | null | undefined;
|
|
784
|
-
};
|
|
785
|
-
} | {
|
|
786
|
-
type: "FAILED_TO_PUBLISH";
|
|
787
|
-
data: {
|
|
788
|
-
platform: "VINTED" | "SHOPIFY";
|
|
789
|
-
};
|
|
790
|
-
} | {
|
|
791
778
|
type: "BUYER_PAID";
|
|
792
779
|
data: {
|
|
793
780
|
soldAccountId: string;
|
|
@@ -801,11 +788,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
801
788
|
soldOrderId: string;
|
|
802
789
|
soldConversationId?: string | null | undefined;
|
|
803
790
|
};
|
|
791
|
+
} | {
|
|
792
|
+
type: "EMPTY";
|
|
793
|
+
} | {
|
|
794
|
+
type: "FAILED_TO_PUBLISH";
|
|
795
|
+
data: {
|
|
796
|
+
platform: "VINTED" | "SHOPIFY";
|
|
797
|
+
};
|
|
804
798
|
} | {
|
|
805
799
|
type: "REPUBLISHING";
|
|
806
800
|
data: {
|
|
807
801
|
platform: "VINTED" | "SHOPIFY";
|
|
808
802
|
};
|
|
803
|
+
} | {
|
|
804
|
+
type: "SCHEDULED";
|
|
805
|
+
data: {
|
|
806
|
+
platform: "VINTED" | "SHOPIFY";
|
|
807
|
+
publishingDate?: Date | null | undefined;
|
|
808
|
+
};
|
|
809
809
|
} | null | undefined;
|
|
810
810
|
} | null | undefined;
|
|
811
811
|
}, {
|
|
@@ -918,19 +918,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
918
918
|
createdAt: Date;
|
|
919
919
|
itemId: string | number;
|
|
920
920
|
data?: {
|
|
921
|
-
type: "EMPTY";
|
|
922
|
-
} | {
|
|
923
|
-
type: "SCHEDULED";
|
|
924
|
-
data: {
|
|
925
|
-
platform: "VINTED" | "SHOPIFY";
|
|
926
|
-
publishingDate?: Date | null | undefined;
|
|
927
|
-
};
|
|
928
|
-
} | {
|
|
929
|
-
type: "FAILED_TO_PUBLISH";
|
|
930
|
-
data: {
|
|
931
|
-
platform: "VINTED" | "SHOPIFY";
|
|
932
|
-
};
|
|
933
|
-
} | {
|
|
934
921
|
type: "BUYER_PAID";
|
|
935
922
|
data: {
|
|
936
923
|
soldAccountId: string;
|
|
@@ -944,11 +931,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
944
931
|
soldOrderId: string;
|
|
945
932
|
soldConversationId?: string | null | undefined;
|
|
946
933
|
};
|
|
934
|
+
} | {
|
|
935
|
+
type: "EMPTY";
|
|
936
|
+
} | {
|
|
937
|
+
type: "FAILED_TO_PUBLISH";
|
|
938
|
+
data: {
|
|
939
|
+
platform: "VINTED" | "SHOPIFY";
|
|
940
|
+
};
|
|
947
941
|
} | {
|
|
948
942
|
type: "REPUBLISHING";
|
|
949
943
|
data: {
|
|
950
944
|
platform: "VINTED" | "SHOPIFY";
|
|
951
945
|
};
|
|
946
|
+
} | {
|
|
947
|
+
type: "SCHEDULED";
|
|
948
|
+
data: {
|
|
949
|
+
platform: "VINTED" | "SHOPIFY";
|
|
950
|
+
publishingDate?: Date | null | undefined;
|
|
951
|
+
};
|
|
952
952
|
} | null | undefined;
|
|
953
953
|
} | null | undefined;
|
|
954
954
|
}>, "many">;
|
|
@@ -1063,19 +1063,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1063
1063
|
createdAt: Date;
|
|
1064
1064
|
itemId: string | number;
|
|
1065
1065
|
data?: {
|
|
1066
|
-
type: "EMPTY";
|
|
1067
|
-
} | {
|
|
1068
|
-
type: "SCHEDULED";
|
|
1069
|
-
data: {
|
|
1070
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1071
|
-
publishingDate?: Date | null | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
} | {
|
|
1074
|
-
type: "FAILED_TO_PUBLISH";
|
|
1075
|
-
data: {
|
|
1076
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1077
|
-
};
|
|
1078
|
-
} | {
|
|
1079
1066
|
type: "BUYER_PAID";
|
|
1080
1067
|
data: {
|
|
1081
1068
|
soldAccountId: string;
|
|
@@ -1089,11 +1076,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1089
1076
|
soldOrderId: string;
|
|
1090
1077
|
soldConversationId?: string | null | undefined;
|
|
1091
1078
|
};
|
|
1079
|
+
} | {
|
|
1080
|
+
type: "EMPTY";
|
|
1081
|
+
} | {
|
|
1082
|
+
type: "FAILED_TO_PUBLISH";
|
|
1083
|
+
data: {
|
|
1084
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1085
|
+
};
|
|
1092
1086
|
} | {
|
|
1093
1087
|
type: "REPUBLISHING";
|
|
1094
1088
|
data: {
|
|
1095
1089
|
platform: "VINTED" | "SHOPIFY";
|
|
1096
1090
|
};
|
|
1091
|
+
} | {
|
|
1092
|
+
type: "SCHEDULED";
|
|
1093
|
+
data: {
|
|
1094
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1095
|
+
publishingDate?: Date | null | undefined;
|
|
1096
|
+
};
|
|
1097
1097
|
} | null | undefined;
|
|
1098
1098
|
} | null | undefined;
|
|
1099
1099
|
}[];
|
|
@@ -1238,19 +1238,6 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1238
1238
|
createdAt: Date;
|
|
1239
1239
|
itemId: string | number;
|
|
1240
1240
|
data?: {
|
|
1241
|
-
type: "EMPTY";
|
|
1242
|
-
} | {
|
|
1243
|
-
type: "SCHEDULED";
|
|
1244
|
-
data: {
|
|
1245
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1246
|
-
publishingDate?: Date | null | undefined;
|
|
1247
|
-
};
|
|
1248
|
-
} | {
|
|
1249
|
-
type: "FAILED_TO_PUBLISH";
|
|
1250
|
-
data: {
|
|
1251
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1252
|
-
};
|
|
1253
|
-
} | {
|
|
1254
1241
|
type: "BUYER_PAID";
|
|
1255
1242
|
data: {
|
|
1256
1243
|
soldAccountId: string;
|
|
@@ -1264,11 +1251,24 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1264
1251
|
soldOrderId: string;
|
|
1265
1252
|
soldConversationId?: string | null | undefined;
|
|
1266
1253
|
};
|
|
1254
|
+
} | {
|
|
1255
|
+
type: "EMPTY";
|
|
1256
|
+
} | {
|
|
1257
|
+
type: "FAILED_TO_PUBLISH";
|
|
1258
|
+
data: {
|
|
1259
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1260
|
+
};
|
|
1267
1261
|
} | {
|
|
1268
1262
|
type: "REPUBLISHING";
|
|
1269
1263
|
data: {
|
|
1270
1264
|
platform: "VINTED" | "SHOPIFY";
|
|
1271
1265
|
};
|
|
1266
|
+
} | {
|
|
1267
|
+
type: "SCHEDULED";
|
|
1268
|
+
data: {
|
|
1269
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1270
|
+
publishingDate?: Date | null | undefined;
|
|
1271
|
+
};
|
|
1272
1272
|
} | null | undefined;
|
|
1273
1273
|
} | null | undefined;
|
|
1274
1274
|
}[];
|