controlresell 2.2.0 → 2.2.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/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/Preference.d.ts +10 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +6 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.js +2 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.ts +2 -0
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.d.ts +9 -3
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.js +4 -2
- package/src/com/controlresell/models/preferences/cases/PreferenceCasePayload.ts +4 -2
- 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/com/controlresell/models/preferences/payloads/wait/PreferenceWaitPayload.d.ts +9 -0
- package/src/com/controlresell/models/preferences/payloads/wait/PreferenceWaitPayload.js +7 -0
- package/src/com/controlresell/models/preferences/payloads/wait/PreferenceWaitPayload.ts +6 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariable.d.ts +12 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariable.js +10 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariable.ts +9 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.d.ts +3 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.js +7 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.ts +6 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableTemplate.d.ts +3 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableTemplate.js +7 -0
- package/src/com/controlresell/models/preferences/variables/PreferenceVariableTemplate.ts +6 -0
- package/src/index.d.ts +8 -1
- package/src/index.js +20 -6
- package/src/index.ts +8 -1
- package/src/com/controlresell/models/users/preferences/UserPreference.d.ts +0 -18
- package/src/com/controlresell/models/users/preferences/UserPreference.js +0 -11
- package/src/com/controlresell/models/users/preferences/UserPreference.ts +0 -10
|
@@ -40,7 +40,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
40
40
|
accountId: string;
|
|
41
41
|
}>>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
status: "DELETED" | "
|
|
43
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
58
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
77
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
96
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
205
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
254
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
255
255
|
id: string;
|
|
256
256
|
itemId: string | number;
|
|
257
257
|
accountId: string;
|
|
@@ -554,7 +554,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
554
554
|
accountId: string;
|
|
555
555
|
}>>>;
|
|
556
556
|
}, "strip", z.ZodTypeAny, {
|
|
557
|
-
status: "DELETED" | "
|
|
557
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
558
558
|
id: string;
|
|
559
559
|
itemId: string | number;
|
|
560
560
|
accountId: string;
|
|
@@ -569,7 +569,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
569
569
|
accountId: string;
|
|
570
570
|
} | null | undefined;
|
|
571
571
|
}, {
|
|
572
|
-
status: "DELETED" | "
|
|
572
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
573
573
|
id: string;
|
|
574
574
|
itemId: string | number;
|
|
575
575
|
accountId: string;
|
|
@@ -595,6 +595,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
595
595
|
sold: boolean;
|
|
596
596
|
description?: string | null | undefined;
|
|
597
597
|
customerId?: string | number | null | undefined;
|
|
598
|
+
sex?: string | null | undefined;
|
|
598
599
|
state?: number | null | undefined;
|
|
599
600
|
colorIds?: number[] | null | undefined;
|
|
600
601
|
packageSizeId?: number | null | undefined;
|
|
@@ -611,6 +612,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
611
612
|
userId?: string | number | null | undefined;
|
|
612
613
|
} | null | undefined;
|
|
613
614
|
}[] | null | undefined;
|
|
615
|
+
platforms?: {
|
|
616
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
617
|
+
id: string;
|
|
618
|
+
itemId: string | number;
|
|
619
|
+
accountId: string;
|
|
620
|
+
platformId: string;
|
|
621
|
+
platformUrl: string;
|
|
622
|
+
platformPrice: number;
|
|
623
|
+
account?: {
|
|
624
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
625
|
+
userId: string | number;
|
|
626
|
+
name: string;
|
|
627
|
+
platform: "VINTED" | "SHOPIFY";
|
|
628
|
+
accountId: string;
|
|
629
|
+
} | null | undefined;
|
|
630
|
+
}[] | null | undefined;
|
|
614
631
|
files?: {
|
|
615
632
|
fileId: string;
|
|
616
633
|
itemId: string | number;
|
|
@@ -625,7 +642,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
625
642
|
}[] | null | undefined;
|
|
626
643
|
categoryId?: number | null | undefined;
|
|
627
644
|
brandId?: string | number | null | undefined;
|
|
628
|
-
sex?: string | null | undefined;
|
|
629
645
|
purchasePrice?: number | null | undefined;
|
|
630
646
|
purchaseDate?: Date | null | undefined;
|
|
631
647
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -680,22 +696,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
680
696
|
itemId: string | number;
|
|
681
697
|
data?: string | null | undefined;
|
|
682
698
|
} | null | undefined;
|
|
683
|
-
platforms?: {
|
|
684
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
685
|
-
id: string;
|
|
686
|
-
itemId: string | number;
|
|
687
|
-
accountId: string;
|
|
688
|
-
platformId: string;
|
|
689
|
-
platformUrl: string;
|
|
690
|
-
platformPrice: number;
|
|
691
|
-
account?: {
|
|
692
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
693
|
-
userId: string | number;
|
|
694
|
-
name: string;
|
|
695
|
-
platform: "VINTED" | "SHOPIFY";
|
|
696
|
-
accountId: string;
|
|
697
|
-
} | null | undefined;
|
|
698
|
-
}[] | null | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
id: string | number;
|
|
701
701
|
userId: string | number;
|
|
@@ -705,6 +705,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
705
705
|
sold: boolean;
|
|
706
706
|
description?: string | null | undefined;
|
|
707
707
|
customerId?: string | number | null | undefined;
|
|
708
|
+
sex?: string | null | undefined;
|
|
708
709
|
state?: number | null | undefined;
|
|
709
710
|
colorIds?: number[] | null | undefined;
|
|
710
711
|
packageSizeId?: number | null | undefined;
|
|
@@ -721,6 +722,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
721
722
|
userId?: string | number | null | undefined;
|
|
722
723
|
} | null | undefined;
|
|
723
724
|
}[] | null | undefined;
|
|
725
|
+
platforms?: {
|
|
726
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
727
|
+
id: string;
|
|
728
|
+
itemId: string | number;
|
|
729
|
+
accountId: string;
|
|
730
|
+
platformId: string;
|
|
731
|
+
platformUrl: string;
|
|
732
|
+
platformPrice: number;
|
|
733
|
+
account?: {
|
|
734
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
735
|
+
userId: string | number;
|
|
736
|
+
name: string;
|
|
737
|
+
platform: "VINTED" | "SHOPIFY";
|
|
738
|
+
accountId: string;
|
|
739
|
+
} | null | undefined;
|
|
740
|
+
}[] | null | undefined;
|
|
724
741
|
files?: {
|
|
725
742
|
fileId: string;
|
|
726
743
|
itemId: string | number;
|
|
@@ -735,7 +752,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
735
752
|
}[] | null | undefined;
|
|
736
753
|
categoryId?: number | null | undefined;
|
|
737
754
|
brandId?: string | number | null | undefined;
|
|
738
|
-
sex?: string | null | undefined;
|
|
739
755
|
purchasePrice?: number | null | undefined;
|
|
740
756
|
purchaseDate?: Date | null | undefined;
|
|
741
757
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -790,22 +806,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
790
806
|
itemId: string | number;
|
|
791
807
|
data?: string | null | undefined;
|
|
792
808
|
} | null | undefined;
|
|
793
|
-
platforms?: {
|
|
794
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
795
|
-
id: string;
|
|
796
|
-
itemId: string | number;
|
|
797
|
-
accountId: string;
|
|
798
|
-
platformId: string;
|
|
799
|
-
platformUrl: string;
|
|
800
|
-
platformPrice: number;
|
|
801
|
-
account?: {
|
|
802
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
803
|
-
userId: string | number;
|
|
804
|
-
name: string;
|
|
805
|
-
platform: "VINTED" | "SHOPIFY";
|
|
806
|
-
accountId: string;
|
|
807
|
-
} | null | undefined;
|
|
808
|
-
}[] | null | undefined;
|
|
809
809
|
}>, "many">;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
811
|
items: {
|
|
@@ -817,6 +817,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
817
817
|
sold: boolean;
|
|
818
818
|
description?: string | null | undefined;
|
|
819
819
|
customerId?: string | number | null | undefined;
|
|
820
|
+
sex?: string | null | undefined;
|
|
820
821
|
state?: number | null | undefined;
|
|
821
822
|
colorIds?: number[] | null | undefined;
|
|
822
823
|
packageSizeId?: number | null | undefined;
|
|
@@ -833,6 +834,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
833
834
|
userId?: string | number | null | undefined;
|
|
834
835
|
} | null | undefined;
|
|
835
836
|
}[] | null | undefined;
|
|
837
|
+
platforms?: {
|
|
838
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
839
|
+
id: string;
|
|
840
|
+
itemId: string | number;
|
|
841
|
+
accountId: string;
|
|
842
|
+
platformId: string;
|
|
843
|
+
platformUrl: string;
|
|
844
|
+
platformPrice: number;
|
|
845
|
+
account?: {
|
|
846
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
847
|
+
userId: string | number;
|
|
848
|
+
name: string;
|
|
849
|
+
platform: "VINTED" | "SHOPIFY";
|
|
850
|
+
accountId: string;
|
|
851
|
+
} | null | undefined;
|
|
852
|
+
}[] | null | undefined;
|
|
836
853
|
files?: {
|
|
837
854
|
fileId: string;
|
|
838
855
|
itemId: string | number;
|
|
@@ -847,7 +864,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
847
864
|
}[] | null | undefined;
|
|
848
865
|
categoryId?: number | null | undefined;
|
|
849
866
|
brandId?: string | number | null | undefined;
|
|
850
|
-
sex?: string | null | undefined;
|
|
851
867
|
purchasePrice?: number | null | undefined;
|
|
852
868
|
purchaseDate?: Date | null | undefined;
|
|
853
869
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -902,22 +918,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
902
918
|
itemId: string | number;
|
|
903
919
|
data?: string | null | undefined;
|
|
904
920
|
} | null | undefined;
|
|
905
|
-
platforms?: {
|
|
906
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
907
|
-
id: string;
|
|
908
|
-
itemId: string | number;
|
|
909
|
-
accountId: string;
|
|
910
|
-
platformId: string;
|
|
911
|
-
platformUrl: string;
|
|
912
|
-
platformPrice: number;
|
|
913
|
-
account?: {
|
|
914
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
915
|
-
userId: string | number;
|
|
916
|
-
name: string;
|
|
917
|
-
platform: "VINTED" | "SHOPIFY";
|
|
918
|
-
accountId: string;
|
|
919
|
-
} | null | undefined;
|
|
920
|
-
}[] | null | undefined;
|
|
921
921
|
}[];
|
|
922
922
|
order: {
|
|
923
923
|
status: "PAYMENT_VALIDATED" | "ORDER_CANCELLED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
@@ -930,7 +930,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
930
930
|
orderId: string;
|
|
931
931
|
itemOnPlatformId: string;
|
|
932
932
|
itemOnPlatform?: {
|
|
933
|
-
status: "DELETED" | "
|
|
933
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
934
934
|
id: string;
|
|
935
935
|
itemId: string | number;
|
|
936
936
|
accountId: string;
|
|
@@ -979,6 +979,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
979
979
|
sold: boolean;
|
|
980
980
|
description?: string | null | undefined;
|
|
981
981
|
customerId?: string | number | null | undefined;
|
|
982
|
+
sex?: string | null | undefined;
|
|
982
983
|
state?: number | null | undefined;
|
|
983
984
|
colorIds?: number[] | null | undefined;
|
|
984
985
|
packageSizeId?: number | null | undefined;
|
|
@@ -995,6 +996,22 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
995
996
|
userId?: string | number | null | undefined;
|
|
996
997
|
} | null | undefined;
|
|
997
998
|
}[] | null | undefined;
|
|
999
|
+
platforms?: {
|
|
1000
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
1001
|
+
id: string;
|
|
1002
|
+
itemId: string | number;
|
|
1003
|
+
accountId: string;
|
|
1004
|
+
platformId: string;
|
|
1005
|
+
platformUrl: string;
|
|
1006
|
+
platformPrice: number;
|
|
1007
|
+
account?: {
|
|
1008
|
+
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
1009
|
+
userId: string | number;
|
|
1010
|
+
name: string;
|
|
1011
|
+
platform: "VINTED" | "SHOPIFY";
|
|
1012
|
+
accountId: string;
|
|
1013
|
+
} | null | undefined;
|
|
1014
|
+
}[] | null | undefined;
|
|
998
1015
|
files?: {
|
|
999
1016
|
fileId: string;
|
|
1000
1017
|
itemId: string | number;
|
|
@@ -1009,7 +1026,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1009
1026
|
}[] | null | undefined;
|
|
1010
1027
|
categoryId?: number | null | undefined;
|
|
1011
1028
|
brandId?: string | number | null | undefined;
|
|
1012
|
-
sex?: string | null | undefined;
|
|
1013
1029
|
purchasePrice?: number | null | undefined;
|
|
1014
1030
|
purchaseDate?: Date | null | undefined;
|
|
1015
1031
|
purchasePlaceId?: string | number | null | undefined;
|
|
@@ -1064,22 +1080,6 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1064
1080
|
itemId: string | number;
|
|
1065
1081
|
data?: string | null | undefined;
|
|
1066
1082
|
} | null | undefined;
|
|
1067
|
-
platforms?: {
|
|
1068
|
-
status: "DELETED" | "ONLINE" | "DRAFT" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "PENDING" | "ERROR" | "DISPUTE";
|
|
1069
|
-
id: string;
|
|
1070
|
-
itemId: string | number;
|
|
1071
|
-
accountId: string;
|
|
1072
|
-
platformId: string;
|
|
1073
|
-
platformUrl: string;
|
|
1074
|
-
platformPrice: number;
|
|
1075
|
-
account?: {
|
|
1076
|
-
status: "ERROR" | "CONNECTED" | "DISCONNECTED";
|
|
1077
|
-
userId: string | number;
|
|
1078
|
-
name: string;
|
|
1079
|
-
platform: "VINTED" | "SHOPIFY";
|
|
1080
|
-
accountId: string;
|
|
1081
|
-
} | null | undefined;
|
|
1082
|
-
}[] | null | undefined;
|
|
1083
1083
|
}[];
|
|
1084
1084
|
order: {
|
|
1085
1085
|
status: "PAYMENT_VALIDATED" | "ORDER_CANCELLED" | "SHIPPING_LABEL_SENT_TO_SELLER" | "ORDER_SHIPPED" | "DELIVERED_TO_POST_OFFICE_OR_PICKUP_POINT" | "ORDER_RECEIVED" | "ORDER_FINALIZED" | "RETURN_INITIATED" | "REFUND_DONE" | "ORDER_CANCELED_ITEM_UNAVAILABLE" | "ORDER_CANCELLED_BY_VINTED" | "ORDER_DISPUTE_STARTED" | "ORDER_CANCELLED_DUE_TO_LATE_SHIPPING" | "SHIPPING_LABEL_ORDERED" | "UNKNOWN";
|
|
@@ -1092,7 +1092,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
|
|
|
1092
1092
|
orderId: string;
|
|
1093
1093
|
itemOnPlatformId: string;
|
|
1094
1094
|
itemOnPlatform?: {
|
|
1095
|
-
status: "DELETED" | "
|
|
1095
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
1096
1096
|
id: string;
|
|
1097
1097
|
itemId: string | number;
|
|
1098
1098
|
accountId: string;
|
|
@@ -38,7 +38,7 @@ export declare const TransactionSchema: z.ZodObject<{
|
|
|
38
38
|
accountId: string;
|
|
39
39
|
}>>>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
status: "DELETED" | "
|
|
41
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
56
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
75
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
94
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
118
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
146
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
147
147
|
id: string;
|
|
148
148
|
itemId: string | number;
|
|
149
149
|
accountId: string;
|
|
@@ -30,7 +30,7 @@ export declare const ItemInTransactionSchema: z.ZodObject<{
|
|
|
30
30
|
accountId: string;
|
|
31
31
|
}>>>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
status: "DELETED" | "
|
|
33
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
48
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
67
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "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" | "
|
|
86
|
+
status: "DELETED" | "PENDING" | "DRAFT" | "ONLINE" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "ERROR" | "DISPUTE";
|
|
87
87
|
id: string;
|
|
88
88
|
itemId: string | number;
|
|
89
89
|
accountId: string;
|