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
|
@@ -521,56 +521,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
521
521
|
itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
522
522
|
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"]>;
|
|
523
523
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
524
|
-
type: z.ZodLiteral<"EMPTY">;
|
|
525
|
-
}, "strip", z.ZodTypeAny, {
|
|
526
|
-
type: "EMPTY";
|
|
527
|
-
}, {
|
|
528
|
-
type: "EMPTY";
|
|
529
|
-
}>, z.ZodObject<{
|
|
530
|
-
type: z.ZodLiteral<"SCHEDULED">;
|
|
531
|
-
data: z.ZodObject<{
|
|
532
|
-
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
533
|
-
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
534
|
-
}, "strip", z.ZodTypeAny, {
|
|
535
|
-
platform: "VINTED" | "SHOPIFY";
|
|
536
|
-
publishingDate?: Date | null | undefined;
|
|
537
|
-
}, {
|
|
538
|
-
platform: "VINTED" | "SHOPIFY";
|
|
539
|
-
publishingDate?: Date | null | undefined;
|
|
540
|
-
}>;
|
|
541
|
-
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
type: "SCHEDULED";
|
|
543
|
-
data: {
|
|
544
|
-
platform: "VINTED" | "SHOPIFY";
|
|
545
|
-
publishingDate?: Date | null | undefined;
|
|
546
|
-
};
|
|
547
|
-
}, {
|
|
548
|
-
type: "SCHEDULED";
|
|
549
|
-
data: {
|
|
550
|
-
platform: "VINTED" | "SHOPIFY";
|
|
551
|
-
publishingDate?: Date | null | undefined;
|
|
552
|
-
};
|
|
553
|
-
}>, z.ZodObject<{
|
|
554
|
-
type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
|
|
555
|
-
data: z.ZodObject<{
|
|
556
|
-
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
557
|
-
}, "strip", z.ZodTypeAny, {
|
|
558
|
-
platform: "VINTED" | "SHOPIFY";
|
|
559
|
-
}, {
|
|
560
|
-
platform: "VINTED" | "SHOPIFY";
|
|
561
|
-
}>;
|
|
562
|
-
}, "strip", z.ZodTypeAny, {
|
|
563
|
-
type: "FAILED_TO_PUBLISH";
|
|
564
|
-
data: {
|
|
565
|
-
platform: "VINTED" | "SHOPIFY";
|
|
566
|
-
};
|
|
567
|
-
}, {
|
|
568
|
-
type: "FAILED_TO_PUBLISH";
|
|
569
|
-
data: {
|
|
570
|
-
platform: "VINTED" | "SHOPIFY";
|
|
571
|
-
};
|
|
572
|
-
}>, z.ZodObject<{
|
|
573
|
-
type: z.ZodLiteral<"BUYER_PAID">;
|
|
574
524
|
data: z.ZodObject<{
|
|
575
525
|
soldAccountId: z.ZodString;
|
|
576
526
|
soldOrderId: z.ZodString;
|
|
@@ -584,6 +534,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
584
534
|
soldOrderId: string;
|
|
585
535
|
soldConversationId?: string | null | undefined;
|
|
586
536
|
}>;
|
|
537
|
+
type: z.ZodLiteral<"BUYER_PAID">;
|
|
587
538
|
}, "strip", z.ZodTypeAny, {
|
|
588
539
|
type: "BUYER_PAID";
|
|
589
540
|
data: {
|
|
@@ -599,7 +550,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
599
550
|
soldConversationId?: string | null | undefined;
|
|
600
551
|
};
|
|
601
552
|
}>, z.ZodObject<{
|
|
602
|
-
type: z.ZodLiteral<"DELIVERED">;
|
|
603
553
|
data: z.ZodObject<{
|
|
604
554
|
soldAccountId: z.ZodString;
|
|
605
555
|
soldOrderId: z.ZodString;
|
|
@@ -613,6 +563,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
613
563
|
soldOrderId: string;
|
|
614
564
|
soldConversationId?: string | null | undefined;
|
|
615
565
|
}>;
|
|
566
|
+
type: z.ZodLiteral<"DELIVERED">;
|
|
616
567
|
}, "strip", z.ZodTypeAny, {
|
|
617
568
|
type: "DELIVERED";
|
|
618
569
|
data: {
|
|
@@ -628,7 +579,31 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
628
579
|
soldConversationId?: string | null | undefined;
|
|
629
580
|
};
|
|
630
581
|
}>, z.ZodObject<{
|
|
631
|
-
type: z.ZodLiteral<"
|
|
582
|
+
type: z.ZodLiteral<"EMPTY">;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
type: "EMPTY";
|
|
585
|
+
}, {
|
|
586
|
+
type: "EMPTY";
|
|
587
|
+
}>, z.ZodObject<{
|
|
588
|
+
data: z.ZodObject<{
|
|
589
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
590
|
+
}, "strip", z.ZodTypeAny, {
|
|
591
|
+
platform: "VINTED" | "SHOPIFY";
|
|
592
|
+
}, {
|
|
593
|
+
platform: "VINTED" | "SHOPIFY";
|
|
594
|
+
}>;
|
|
595
|
+
type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
type: "FAILED_TO_PUBLISH";
|
|
598
|
+
data: {
|
|
599
|
+
platform: "VINTED" | "SHOPIFY";
|
|
600
|
+
};
|
|
601
|
+
}, {
|
|
602
|
+
type: "FAILED_TO_PUBLISH";
|
|
603
|
+
data: {
|
|
604
|
+
platform: "VINTED" | "SHOPIFY";
|
|
605
|
+
};
|
|
606
|
+
}>, z.ZodObject<{
|
|
632
607
|
data: z.ZodObject<{
|
|
633
608
|
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
634
609
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -636,6 +611,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
636
611
|
}, {
|
|
637
612
|
platform: "VINTED" | "SHOPIFY";
|
|
638
613
|
}>;
|
|
614
|
+
type: z.ZodLiteral<"REPUBLISHING">;
|
|
639
615
|
}, "strip", z.ZodTypeAny, {
|
|
640
616
|
type: "REPUBLISHING";
|
|
641
617
|
data: {
|
|
@@ -646,27 +622,38 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
646
622
|
data: {
|
|
647
623
|
platform: "VINTED" | "SHOPIFY";
|
|
648
624
|
};
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
625
|
+
}>, z.ZodObject<{
|
|
626
|
+
data: z.ZodObject<{
|
|
627
|
+
platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
|
|
628
|
+
publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
629
|
+
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
platform: "VINTED" | "SHOPIFY";
|
|
631
|
+
publishingDate?: Date | null | undefined;
|
|
632
|
+
}, {
|
|
633
|
+
platform: "VINTED" | "SHOPIFY";
|
|
634
|
+
publishingDate?: Date | null | undefined;
|
|
635
|
+
}>;
|
|
636
|
+
type: z.ZodLiteral<"SCHEDULED">;
|
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
|
659
638
|
type: "SCHEDULED";
|
|
660
639
|
data: {
|
|
661
640
|
platform: "VINTED" | "SHOPIFY";
|
|
662
641
|
publishingDate?: Date | null | undefined;
|
|
663
642
|
};
|
|
664
|
-
}
|
|
665
|
-
type: "
|
|
643
|
+
}, {
|
|
644
|
+
type: "SCHEDULED";
|
|
666
645
|
data: {
|
|
667
646
|
platform: "VINTED" | "SHOPIFY";
|
|
647
|
+
publishingDate?: Date | null | undefined;
|
|
668
648
|
};
|
|
669
|
-
}
|
|
649
|
+
}>]>>>;
|
|
650
|
+
createdAt: z.ZodDate;
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
653
|
+
id: string;
|
|
654
|
+
createdAt: Date;
|
|
655
|
+
itemId: string | number;
|
|
656
|
+
data?: {
|
|
670
657
|
type: "BUYER_PAID";
|
|
671
658
|
data: {
|
|
672
659
|
soldAccountId: string;
|
|
@@ -681,30 +668,30 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
681
668
|
soldConversationId?: string | null | undefined;
|
|
682
669
|
};
|
|
683
670
|
} | {
|
|
684
|
-
type: "
|
|
671
|
+
type: "EMPTY";
|
|
672
|
+
} | {
|
|
673
|
+
type: "FAILED_TO_PUBLISH";
|
|
685
674
|
data: {
|
|
686
675
|
platform: "VINTED" | "SHOPIFY";
|
|
687
676
|
};
|
|
688
|
-
} | null | undefined;
|
|
689
|
-
}, {
|
|
690
|
-
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
691
|
-
id: string;
|
|
692
|
-
createdAt: Date;
|
|
693
|
-
itemId: string | number;
|
|
694
|
-
data?: {
|
|
695
|
-
type: "EMPTY";
|
|
696
677
|
} | {
|
|
697
|
-
type: "
|
|
678
|
+
type: "REPUBLISHING";
|
|
698
679
|
data: {
|
|
699
680
|
platform: "VINTED" | "SHOPIFY";
|
|
700
|
-
publishingDate?: Date | null | undefined;
|
|
701
681
|
};
|
|
702
682
|
} | {
|
|
703
|
-
type: "
|
|
683
|
+
type: "SCHEDULED";
|
|
704
684
|
data: {
|
|
705
685
|
platform: "VINTED" | "SHOPIFY";
|
|
686
|
+
publishingDate?: Date | null | undefined;
|
|
706
687
|
};
|
|
707
|
-
} |
|
|
688
|
+
} | null | undefined;
|
|
689
|
+
}, {
|
|
690
|
+
type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
|
|
691
|
+
id: string;
|
|
692
|
+
createdAt: Date;
|
|
693
|
+
itemId: string | number;
|
|
694
|
+
data?: {
|
|
708
695
|
type: "BUYER_PAID";
|
|
709
696
|
data: {
|
|
710
697
|
soldAccountId: string;
|
|
@@ -718,11 +705,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
718
705
|
soldOrderId: string;
|
|
719
706
|
soldConversationId?: string | null | undefined;
|
|
720
707
|
};
|
|
708
|
+
} | {
|
|
709
|
+
type: "EMPTY";
|
|
710
|
+
} | {
|
|
711
|
+
type: "FAILED_TO_PUBLISH";
|
|
712
|
+
data: {
|
|
713
|
+
platform: "VINTED" | "SHOPIFY";
|
|
714
|
+
};
|
|
721
715
|
} | {
|
|
722
716
|
type: "REPUBLISHING";
|
|
723
717
|
data: {
|
|
724
718
|
platform: "VINTED" | "SHOPIFY";
|
|
725
719
|
};
|
|
720
|
+
} | {
|
|
721
|
+
type: "SCHEDULED";
|
|
722
|
+
data: {
|
|
723
|
+
platform: "VINTED" | "SHOPIFY";
|
|
724
|
+
publishingDate?: Date | null | undefined;
|
|
725
|
+
};
|
|
726
726
|
} | null | undefined;
|
|
727
727
|
}>>>;
|
|
728
728
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -900,19 +900,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
900
900
|
createdAt: Date;
|
|
901
901
|
itemId: string | number;
|
|
902
902
|
data?: {
|
|
903
|
-
type: "EMPTY";
|
|
904
|
-
} | {
|
|
905
|
-
type: "SCHEDULED";
|
|
906
|
-
data: {
|
|
907
|
-
platform: "VINTED" | "SHOPIFY";
|
|
908
|
-
publishingDate?: Date | null | undefined;
|
|
909
|
-
};
|
|
910
|
-
} | {
|
|
911
|
-
type: "FAILED_TO_PUBLISH";
|
|
912
|
-
data: {
|
|
913
|
-
platform: "VINTED" | "SHOPIFY";
|
|
914
|
-
};
|
|
915
|
-
} | {
|
|
916
903
|
type: "BUYER_PAID";
|
|
917
904
|
data: {
|
|
918
905
|
soldAccountId: string;
|
|
@@ -926,11 +913,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
926
913
|
soldOrderId: string;
|
|
927
914
|
soldConversationId?: string | null | undefined;
|
|
928
915
|
};
|
|
916
|
+
} | {
|
|
917
|
+
type: "EMPTY";
|
|
918
|
+
} | {
|
|
919
|
+
type: "FAILED_TO_PUBLISH";
|
|
920
|
+
data: {
|
|
921
|
+
platform: "VINTED" | "SHOPIFY";
|
|
922
|
+
};
|
|
929
923
|
} | {
|
|
930
924
|
type: "REPUBLISHING";
|
|
931
925
|
data: {
|
|
932
926
|
platform: "VINTED" | "SHOPIFY";
|
|
933
927
|
};
|
|
928
|
+
} | {
|
|
929
|
+
type: "SCHEDULED";
|
|
930
|
+
data: {
|
|
931
|
+
platform: "VINTED" | "SHOPIFY";
|
|
932
|
+
publishingDate?: Date | null | undefined;
|
|
933
|
+
};
|
|
934
934
|
} | null | undefined;
|
|
935
935
|
} | null | undefined;
|
|
936
936
|
}, {
|
|
@@ -1043,19 +1043,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1043
1043
|
createdAt: Date;
|
|
1044
1044
|
itemId: string | number;
|
|
1045
1045
|
data?: {
|
|
1046
|
-
type: "EMPTY";
|
|
1047
|
-
} | {
|
|
1048
|
-
type: "SCHEDULED";
|
|
1049
|
-
data: {
|
|
1050
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1051
|
-
publishingDate?: Date | null | undefined;
|
|
1052
|
-
};
|
|
1053
|
-
} | {
|
|
1054
|
-
type: "FAILED_TO_PUBLISH";
|
|
1055
|
-
data: {
|
|
1056
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1057
|
-
};
|
|
1058
|
-
} | {
|
|
1059
1046
|
type: "BUYER_PAID";
|
|
1060
1047
|
data: {
|
|
1061
1048
|
soldAccountId: string;
|
|
@@ -1069,11 +1056,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1069
1056
|
soldOrderId: string;
|
|
1070
1057
|
soldConversationId?: string | null | undefined;
|
|
1071
1058
|
};
|
|
1059
|
+
} | {
|
|
1060
|
+
type: "EMPTY";
|
|
1061
|
+
} | {
|
|
1062
|
+
type: "FAILED_TO_PUBLISH";
|
|
1063
|
+
data: {
|
|
1064
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1065
|
+
};
|
|
1072
1066
|
} | {
|
|
1073
1067
|
type: "REPUBLISHING";
|
|
1074
1068
|
data: {
|
|
1075
1069
|
platform: "VINTED" | "SHOPIFY";
|
|
1076
1070
|
};
|
|
1071
|
+
} | {
|
|
1072
|
+
type: "SCHEDULED";
|
|
1073
|
+
data: {
|
|
1074
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1075
|
+
publishingDate?: Date | null | undefined;
|
|
1076
|
+
};
|
|
1077
1077
|
} | null | undefined;
|
|
1078
1078
|
} | null | undefined;
|
|
1079
1079
|
}>, "many">;
|
|
@@ -1188,19 +1188,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1188
1188
|
createdAt: Date;
|
|
1189
1189
|
itemId: string | number;
|
|
1190
1190
|
data?: {
|
|
1191
|
-
type: "EMPTY";
|
|
1192
|
-
} | {
|
|
1193
|
-
type: "SCHEDULED";
|
|
1194
|
-
data: {
|
|
1195
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1196
|
-
publishingDate?: Date | null | undefined;
|
|
1197
|
-
};
|
|
1198
|
-
} | {
|
|
1199
|
-
type: "FAILED_TO_PUBLISH";
|
|
1200
|
-
data: {
|
|
1201
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1202
|
-
};
|
|
1203
|
-
} | {
|
|
1204
1191
|
type: "BUYER_PAID";
|
|
1205
1192
|
data: {
|
|
1206
1193
|
soldAccountId: string;
|
|
@@ -1214,11 +1201,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1214
1201
|
soldOrderId: string;
|
|
1215
1202
|
soldConversationId?: string | null | undefined;
|
|
1216
1203
|
};
|
|
1204
|
+
} | {
|
|
1205
|
+
type: "EMPTY";
|
|
1206
|
+
} | {
|
|
1207
|
+
type: "FAILED_TO_PUBLISH";
|
|
1208
|
+
data: {
|
|
1209
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1210
|
+
};
|
|
1217
1211
|
} | {
|
|
1218
1212
|
type: "REPUBLISHING";
|
|
1219
1213
|
data: {
|
|
1220
1214
|
platform: "VINTED" | "SHOPIFY";
|
|
1221
1215
|
};
|
|
1216
|
+
} | {
|
|
1217
|
+
type: "SCHEDULED";
|
|
1218
|
+
data: {
|
|
1219
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1220
|
+
publishingDate?: Date | null | undefined;
|
|
1221
|
+
};
|
|
1222
1222
|
} | null | undefined;
|
|
1223
1223
|
} | null | undefined;
|
|
1224
1224
|
}[];
|
|
@@ -1384,19 +1384,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1384
1384
|
createdAt: Date;
|
|
1385
1385
|
itemId: string | number;
|
|
1386
1386
|
data?: {
|
|
1387
|
-
type: "EMPTY";
|
|
1388
|
-
} | {
|
|
1389
|
-
type: "SCHEDULED";
|
|
1390
|
-
data: {
|
|
1391
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1392
|
-
publishingDate?: Date | null | undefined;
|
|
1393
|
-
};
|
|
1394
|
-
} | {
|
|
1395
|
-
type: "FAILED_TO_PUBLISH";
|
|
1396
|
-
data: {
|
|
1397
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1398
|
-
};
|
|
1399
|
-
} | {
|
|
1400
1387
|
type: "BUYER_PAID";
|
|
1401
1388
|
data: {
|
|
1402
1389
|
soldAccountId: string;
|
|
@@ -1410,11 +1397,24 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1410
1397
|
soldOrderId: string;
|
|
1411
1398
|
soldConversationId?: string | null | undefined;
|
|
1412
1399
|
};
|
|
1400
|
+
} | {
|
|
1401
|
+
type: "EMPTY";
|
|
1402
|
+
} | {
|
|
1403
|
+
type: "FAILED_TO_PUBLISH";
|
|
1404
|
+
data: {
|
|
1405
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1406
|
+
};
|
|
1413
1407
|
} | {
|
|
1414
1408
|
type: "REPUBLISHING";
|
|
1415
1409
|
data: {
|
|
1416
1410
|
platform: "VINTED" | "SHOPIFY";
|
|
1417
1411
|
};
|
|
1412
|
+
} | {
|
|
1413
|
+
type: "SCHEDULED";
|
|
1414
|
+
data: {
|
|
1415
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1416
|
+
publishingDate?: Date | null | undefined;
|
|
1417
|
+
};
|
|
1418
1418
|
} | null | undefined;
|
|
1419
1419
|
} | null | undefined;
|
|
1420
1420
|
}[];
|