controlresell 2.9.5 → 2.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +16 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.js +8 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequest.ts +9 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +4 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +5 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -0
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +6 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts +3 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js +1 -0
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/publish/PublishRequest.ts +1 -0
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +3 -0
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +1 -0
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +1 -0
- package/src/com/controlresell/api/responses/items/ItemAction.d.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemAction.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ItemAction.js +1 -1
- package/src/com/controlresell/api/responses/items/ItemAction.js.map +1 -1
- package/src/com/controlresell/api/responses/items/ItemAction.ts +1 -1
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts +10 -0
- package/src/com/controlresell/api/responses/items/ItemActions.d.ts.map +1 -0
- package/src/com/controlresell/api/responses/items/ItemActions.js +6 -0
- package/src/com/controlresell/api/responses/items/ItemActions.js.map +1 -0
- package/src/com/controlresell/api/responses/items/ItemActions.ts +7 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +451 -5
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +373 -3
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.js +2 -2
- package/src/com/controlresell/api/responses/items/ListedItem.js.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.ts +2 -2
- package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +2 -2
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +3005 -293
- package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +3039 -327
- package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.d.ts +2379 -139
- package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.js +1 -0
- package/src/com/controlresell/inventory/models/items/Item.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/Item.ts +1 -0
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +3039 -327
- package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +3039 -327
- package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +288 -0
- package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +288 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +436 -0
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js +13 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map +1 -1
- package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.ts +17 -1
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts +10 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js +6 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.ts +7 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +136 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js +9 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -0
- package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatingPayload.ts +10 -0
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +3704 -520
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +3005 -293
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +8404 -2980
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/index.d.ts +5 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +5 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +5 -0
|
@@ -883,6 +883,226 @@ export declare const ItemHistoryDecodedPayloadScheduledRetrySchema: z.ZodObject<
|
|
|
883
883
|
};
|
|
884
884
|
}>;
|
|
885
885
|
export type ItemHistoryDecodedPayloadScheduledRetry = z.infer<typeof ItemHistoryDecodedPayloadScheduledRetrySchema>;
|
|
886
|
+
export declare const ItemHistoryDecodedPayloadUpdatedSchema: z.ZodObject<{
|
|
887
|
+
data: z.ZodObject<{
|
|
888
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
889
|
+
}, "strip", z.ZodTypeAny, {
|
|
890
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
891
|
+
}, {
|
|
892
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
893
|
+
}>;
|
|
894
|
+
type: z.ZodLiteral<"UPDATED">;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
type: "UPDATED";
|
|
897
|
+
data: {
|
|
898
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
899
|
+
};
|
|
900
|
+
}, {
|
|
901
|
+
type: "UPDATED";
|
|
902
|
+
data: {
|
|
903
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
904
|
+
};
|
|
905
|
+
}>;
|
|
906
|
+
export type ItemHistoryDecodedPayloadUpdated = z.infer<typeof ItemHistoryDecodedPayloadUpdatedSchema>;
|
|
907
|
+
export declare const ItemHistoryDecodedPayloadUpdatingSchema: z.ZodObject<{
|
|
908
|
+
data: z.ZodObject<{
|
|
909
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
910
|
+
post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
911
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
912
|
+
catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
|
+
catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
914
|
+
colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
915
|
+
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
916
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
917
|
+
measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
918
|
+
measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
919
|
+
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
920
|
+
photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
921
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
922
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
923
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
|
+
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
925
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
926
|
+
statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
927
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
928
|
+
isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
929
|
+
isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
930
|
+
availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
931
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
932
|
+
manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
933
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
934
|
+
}, "strip", z.ZodTypeAny, {
|
|
935
|
+
status?: string | null | undefined;
|
|
936
|
+
price?: number | null | undefined;
|
|
937
|
+
currency?: string | null | undefined;
|
|
938
|
+
brand?: string | null | undefined;
|
|
939
|
+
catalog?: string | null | undefined;
|
|
940
|
+
catalogId?: number | null | undefined;
|
|
941
|
+
colors?: string[] | null | undefined;
|
|
942
|
+
colorIds?: number[] | null | undefined;
|
|
943
|
+
description?: string | null | undefined;
|
|
944
|
+
measurementLength?: number | null | undefined;
|
|
945
|
+
measurementWidth?: number | null | undefined;
|
|
946
|
+
packageSizeId?: number | null | undefined;
|
|
947
|
+
photoUrls?: string[] | null | undefined;
|
|
948
|
+
size?: string | null | undefined;
|
|
949
|
+
sizeId?: number | null | undefined;
|
|
950
|
+
statusId?: number | null | undefined;
|
|
951
|
+
title?: string | null | undefined;
|
|
952
|
+
isDraft?: boolean | null | undefined;
|
|
953
|
+
isArchived?: boolean | null | undefined;
|
|
954
|
+
availableQuantity?: number | null | undefined;
|
|
955
|
+
material?: number[] | null | undefined;
|
|
956
|
+
manufacturerLabelling?: string | null | undefined;
|
|
957
|
+
labels?: string[] | null | undefined;
|
|
958
|
+
}, {
|
|
959
|
+
status?: string | null | undefined;
|
|
960
|
+
price?: number | null | undefined;
|
|
961
|
+
currency?: string | null | undefined;
|
|
962
|
+
brand?: string | null | undefined;
|
|
963
|
+
catalog?: string | null | undefined;
|
|
964
|
+
catalogId?: number | null | undefined;
|
|
965
|
+
colors?: string[] | null | undefined;
|
|
966
|
+
colorIds?: number[] | null | undefined;
|
|
967
|
+
description?: string | null | undefined;
|
|
968
|
+
measurementLength?: number | null | undefined;
|
|
969
|
+
measurementWidth?: number | null | undefined;
|
|
970
|
+
packageSizeId?: number | null | undefined;
|
|
971
|
+
photoUrls?: string[] | null | undefined;
|
|
972
|
+
size?: string | null | undefined;
|
|
973
|
+
sizeId?: number | null | undefined;
|
|
974
|
+
statusId?: number | null | undefined;
|
|
975
|
+
title?: string | null | undefined;
|
|
976
|
+
isDraft?: boolean | null | undefined;
|
|
977
|
+
isArchived?: boolean | null | undefined;
|
|
978
|
+
availableQuantity?: number | null | undefined;
|
|
979
|
+
material?: number[] | null | undefined;
|
|
980
|
+
manufacturerLabelling?: string | null | undefined;
|
|
981
|
+
labels?: string[] | null | undefined;
|
|
982
|
+
}>>>;
|
|
983
|
+
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
984
|
+
}, "strip", z.ZodTypeAny, {
|
|
985
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
986
|
+
post?: {
|
|
987
|
+
status?: string | null | undefined;
|
|
988
|
+
price?: number | null | undefined;
|
|
989
|
+
currency?: string | null | undefined;
|
|
990
|
+
brand?: string | null | undefined;
|
|
991
|
+
catalog?: string | null | undefined;
|
|
992
|
+
catalogId?: number | null | undefined;
|
|
993
|
+
colors?: string[] | null | undefined;
|
|
994
|
+
colorIds?: number[] | null | undefined;
|
|
995
|
+
description?: string | null | undefined;
|
|
996
|
+
measurementLength?: number | null | undefined;
|
|
997
|
+
measurementWidth?: number | null | undefined;
|
|
998
|
+
packageSizeId?: number | null | undefined;
|
|
999
|
+
photoUrls?: string[] | null | undefined;
|
|
1000
|
+
size?: string | null | undefined;
|
|
1001
|
+
sizeId?: number | null | undefined;
|
|
1002
|
+
statusId?: number | null | undefined;
|
|
1003
|
+
title?: string | null | undefined;
|
|
1004
|
+
isDraft?: boolean | null | undefined;
|
|
1005
|
+
isArchived?: boolean | null | undefined;
|
|
1006
|
+
availableQuantity?: number | null | undefined;
|
|
1007
|
+
material?: number[] | null | undefined;
|
|
1008
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1009
|
+
labels?: string[] | null | undefined;
|
|
1010
|
+
} | null | undefined;
|
|
1011
|
+
targetDate?: Date | null | undefined;
|
|
1012
|
+
}, {
|
|
1013
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1014
|
+
post?: {
|
|
1015
|
+
status?: string | null | undefined;
|
|
1016
|
+
price?: number | null | undefined;
|
|
1017
|
+
currency?: string | null | undefined;
|
|
1018
|
+
brand?: string | null | undefined;
|
|
1019
|
+
catalog?: string | null | undefined;
|
|
1020
|
+
catalogId?: number | null | undefined;
|
|
1021
|
+
colors?: string[] | null | undefined;
|
|
1022
|
+
colorIds?: number[] | null | undefined;
|
|
1023
|
+
description?: string | null | undefined;
|
|
1024
|
+
measurementLength?: number | null | undefined;
|
|
1025
|
+
measurementWidth?: number | null | undefined;
|
|
1026
|
+
packageSizeId?: number | null | undefined;
|
|
1027
|
+
photoUrls?: string[] | null | undefined;
|
|
1028
|
+
size?: string | null | undefined;
|
|
1029
|
+
sizeId?: number | null | undefined;
|
|
1030
|
+
statusId?: number | null | undefined;
|
|
1031
|
+
title?: string | null | undefined;
|
|
1032
|
+
isDraft?: boolean | null | undefined;
|
|
1033
|
+
isArchived?: boolean | null | undefined;
|
|
1034
|
+
availableQuantity?: number | null | undefined;
|
|
1035
|
+
material?: number[] | null | undefined;
|
|
1036
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1037
|
+
labels?: string[] | null | undefined;
|
|
1038
|
+
} | null | undefined;
|
|
1039
|
+
targetDate?: Date | null | undefined;
|
|
1040
|
+
}>;
|
|
1041
|
+
type: z.ZodLiteral<"UPDATING">;
|
|
1042
|
+
}, "strip", z.ZodTypeAny, {
|
|
1043
|
+
type: "UPDATING";
|
|
1044
|
+
data: {
|
|
1045
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1046
|
+
post?: {
|
|
1047
|
+
status?: string | null | undefined;
|
|
1048
|
+
price?: number | null | undefined;
|
|
1049
|
+
currency?: string | null | undefined;
|
|
1050
|
+
brand?: string | null | undefined;
|
|
1051
|
+
catalog?: string | null | undefined;
|
|
1052
|
+
catalogId?: number | null | undefined;
|
|
1053
|
+
colors?: string[] | null | undefined;
|
|
1054
|
+
colorIds?: number[] | null | undefined;
|
|
1055
|
+
description?: string | null | undefined;
|
|
1056
|
+
measurementLength?: number | null | undefined;
|
|
1057
|
+
measurementWidth?: number | null | undefined;
|
|
1058
|
+
packageSizeId?: number | null | undefined;
|
|
1059
|
+
photoUrls?: string[] | null | undefined;
|
|
1060
|
+
size?: string | null | undefined;
|
|
1061
|
+
sizeId?: number | null | undefined;
|
|
1062
|
+
statusId?: number | null | undefined;
|
|
1063
|
+
title?: string | null | undefined;
|
|
1064
|
+
isDraft?: boolean | null | undefined;
|
|
1065
|
+
isArchived?: boolean | null | undefined;
|
|
1066
|
+
availableQuantity?: number | null | undefined;
|
|
1067
|
+
material?: number[] | null | undefined;
|
|
1068
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1069
|
+
labels?: string[] | null | undefined;
|
|
1070
|
+
} | null | undefined;
|
|
1071
|
+
targetDate?: Date | null | undefined;
|
|
1072
|
+
};
|
|
1073
|
+
}, {
|
|
1074
|
+
type: "UPDATING";
|
|
1075
|
+
data: {
|
|
1076
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1077
|
+
post?: {
|
|
1078
|
+
status?: string | null | undefined;
|
|
1079
|
+
price?: number | null | undefined;
|
|
1080
|
+
currency?: string | null | undefined;
|
|
1081
|
+
brand?: string | null | undefined;
|
|
1082
|
+
catalog?: string | null | undefined;
|
|
1083
|
+
catalogId?: number | null | undefined;
|
|
1084
|
+
colors?: string[] | null | undefined;
|
|
1085
|
+
colorIds?: number[] | null | undefined;
|
|
1086
|
+
description?: string | null | undefined;
|
|
1087
|
+
measurementLength?: number | null | undefined;
|
|
1088
|
+
measurementWidth?: number | null | undefined;
|
|
1089
|
+
packageSizeId?: number | null | undefined;
|
|
1090
|
+
photoUrls?: string[] | null | undefined;
|
|
1091
|
+
size?: string | null | undefined;
|
|
1092
|
+
sizeId?: number | null | undefined;
|
|
1093
|
+
statusId?: number | null | undefined;
|
|
1094
|
+
title?: string | null | undefined;
|
|
1095
|
+
isDraft?: boolean | null | undefined;
|
|
1096
|
+
isArchived?: boolean | null | undefined;
|
|
1097
|
+
availableQuantity?: number | null | undefined;
|
|
1098
|
+
material?: number[] | null | undefined;
|
|
1099
|
+
manufacturerLabelling?: string | null | undefined;
|
|
1100
|
+
labels?: string[] | null | undefined;
|
|
1101
|
+
} | null | undefined;
|
|
1102
|
+
targetDate?: Date | null | undefined;
|
|
1103
|
+
};
|
|
1104
|
+
}>;
|
|
1105
|
+
export type ItemHistoryDecodedPayloadUpdating = z.infer<typeof ItemHistoryDecodedPayloadUpdatingSchema>;
|
|
886
1106
|
export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
887
1107
|
data: z.ZodObject<{
|
|
888
1108
|
targetItemHistoryId: z.ZodString;
|
|
@@ -1739,6 +1959,222 @@ export declare const ItemHistoryDecodedPayloadSchema: z.ZodDiscriminatedUnion<"t
|
|
|
1739
1959
|
error?: string | null | undefined;
|
|
1740
1960
|
}[] | null | undefined;
|
|
1741
1961
|
};
|
|
1962
|
+
}>, z.ZodObject<{
|
|
1963
|
+
data: z.ZodObject<{
|
|
1964
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1965
|
+
}, "strip", z.ZodTypeAny, {
|
|
1966
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1967
|
+
}, {
|
|
1968
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1969
|
+
}>;
|
|
1970
|
+
type: z.ZodLiteral<"UPDATED">;
|
|
1971
|
+
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
type: "UPDATED";
|
|
1973
|
+
data: {
|
|
1974
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1975
|
+
};
|
|
1976
|
+
}, {
|
|
1977
|
+
type: "UPDATED";
|
|
1978
|
+
data: {
|
|
1979
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
1980
|
+
};
|
|
1981
|
+
}>, z.ZodObject<{
|
|
1982
|
+
data: z.ZodObject<{
|
|
1983
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
1984
|
+
post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1985
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1986
|
+
catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1987
|
+
catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1988
|
+
colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1989
|
+
colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1990
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1991
|
+
measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1992
|
+
measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1993
|
+
packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1994
|
+
photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1995
|
+
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1996
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1997
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1998
|
+
sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1999
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2000
|
+
statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2001
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2002
|
+
isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2003
|
+
isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2004
|
+
availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2005
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
2006
|
+
manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2007
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2008
|
+
}, "strip", z.ZodTypeAny, {
|
|
2009
|
+
status?: string | null | undefined;
|
|
2010
|
+
price?: number | null | undefined;
|
|
2011
|
+
currency?: string | null | undefined;
|
|
2012
|
+
brand?: string | null | undefined;
|
|
2013
|
+
catalog?: string | null | undefined;
|
|
2014
|
+
catalogId?: number | null | undefined;
|
|
2015
|
+
colors?: string[] | null | undefined;
|
|
2016
|
+
colorIds?: number[] | null | undefined;
|
|
2017
|
+
description?: string | null | undefined;
|
|
2018
|
+
measurementLength?: number | null | undefined;
|
|
2019
|
+
measurementWidth?: number | null | undefined;
|
|
2020
|
+
packageSizeId?: number | null | undefined;
|
|
2021
|
+
photoUrls?: string[] | null | undefined;
|
|
2022
|
+
size?: string | null | undefined;
|
|
2023
|
+
sizeId?: number | null | undefined;
|
|
2024
|
+
statusId?: number | null | undefined;
|
|
2025
|
+
title?: string | null | undefined;
|
|
2026
|
+
isDraft?: boolean | null | undefined;
|
|
2027
|
+
isArchived?: boolean | null | undefined;
|
|
2028
|
+
availableQuantity?: number | null | undefined;
|
|
2029
|
+
material?: number[] | null | undefined;
|
|
2030
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2031
|
+
labels?: string[] | null | undefined;
|
|
2032
|
+
}, {
|
|
2033
|
+
status?: string | null | undefined;
|
|
2034
|
+
price?: number | null | undefined;
|
|
2035
|
+
currency?: string | null | undefined;
|
|
2036
|
+
brand?: string | null | undefined;
|
|
2037
|
+
catalog?: string | null | undefined;
|
|
2038
|
+
catalogId?: number | null | undefined;
|
|
2039
|
+
colors?: string[] | null | undefined;
|
|
2040
|
+
colorIds?: number[] | null | undefined;
|
|
2041
|
+
description?: string | null | undefined;
|
|
2042
|
+
measurementLength?: number | null | undefined;
|
|
2043
|
+
measurementWidth?: number | null | undefined;
|
|
2044
|
+
packageSizeId?: number | null | undefined;
|
|
2045
|
+
photoUrls?: string[] | null | undefined;
|
|
2046
|
+
size?: string | null | undefined;
|
|
2047
|
+
sizeId?: number | null | undefined;
|
|
2048
|
+
statusId?: number | null | undefined;
|
|
2049
|
+
title?: string | null | undefined;
|
|
2050
|
+
isDraft?: boolean | null | undefined;
|
|
2051
|
+
isArchived?: boolean | null | undefined;
|
|
2052
|
+
availableQuantity?: number | null | undefined;
|
|
2053
|
+
material?: number[] | null | undefined;
|
|
2054
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2055
|
+
labels?: string[] | null | undefined;
|
|
2056
|
+
}>>>;
|
|
2057
|
+
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2058
|
+
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2060
|
+
post?: {
|
|
2061
|
+
status?: string | null | undefined;
|
|
2062
|
+
price?: number | null | undefined;
|
|
2063
|
+
currency?: string | null | undefined;
|
|
2064
|
+
brand?: string | null | undefined;
|
|
2065
|
+
catalog?: string | null | undefined;
|
|
2066
|
+
catalogId?: number | null | undefined;
|
|
2067
|
+
colors?: string[] | null | undefined;
|
|
2068
|
+
colorIds?: number[] | null | undefined;
|
|
2069
|
+
description?: string | null | undefined;
|
|
2070
|
+
measurementLength?: number | null | undefined;
|
|
2071
|
+
measurementWidth?: number | null | undefined;
|
|
2072
|
+
packageSizeId?: number | null | undefined;
|
|
2073
|
+
photoUrls?: string[] | null | undefined;
|
|
2074
|
+
size?: string | null | undefined;
|
|
2075
|
+
sizeId?: number | null | undefined;
|
|
2076
|
+
statusId?: number | null | undefined;
|
|
2077
|
+
title?: string | null | undefined;
|
|
2078
|
+
isDraft?: boolean | null | undefined;
|
|
2079
|
+
isArchived?: boolean | null | undefined;
|
|
2080
|
+
availableQuantity?: number | null | undefined;
|
|
2081
|
+
material?: number[] | null | undefined;
|
|
2082
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2083
|
+
labels?: string[] | null | undefined;
|
|
2084
|
+
} | null | undefined;
|
|
2085
|
+
targetDate?: Date | null | undefined;
|
|
2086
|
+
}, {
|
|
2087
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2088
|
+
post?: {
|
|
2089
|
+
status?: string | null | undefined;
|
|
2090
|
+
price?: number | null | undefined;
|
|
2091
|
+
currency?: string | null | undefined;
|
|
2092
|
+
brand?: string | null | undefined;
|
|
2093
|
+
catalog?: string | null | undefined;
|
|
2094
|
+
catalogId?: number | null | undefined;
|
|
2095
|
+
colors?: string[] | null | undefined;
|
|
2096
|
+
colorIds?: number[] | null | undefined;
|
|
2097
|
+
description?: string | null | undefined;
|
|
2098
|
+
measurementLength?: number | null | undefined;
|
|
2099
|
+
measurementWidth?: number | null | undefined;
|
|
2100
|
+
packageSizeId?: number | null | undefined;
|
|
2101
|
+
photoUrls?: string[] | null | undefined;
|
|
2102
|
+
size?: string | null | undefined;
|
|
2103
|
+
sizeId?: number | null | undefined;
|
|
2104
|
+
statusId?: number | null | undefined;
|
|
2105
|
+
title?: string | null | undefined;
|
|
2106
|
+
isDraft?: boolean | null | undefined;
|
|
2107
|
+
isArchived?: boolean | null | undefined;
|
|
2108
|
+
availableQuantity?: number | null | undefined;
|
|
2109
|
+
material?: number[] | null | undefined;
|
|
2110
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2111
|
+
labels?: string[] | null | undefined;
|
|
2112
|
+
} | null | undefined;
|
|
2113
|
+
targetDate?: Date | null | undefined;
|
|
2114
|
+
}>;
|
|
2115
|
+
type: z.ZodLiteral<"UPDATING">;
|
|
2116
|
+
}, "strip", z.ZodTypeAny, {
|
|
2117
|
+
type: "UPDATING";
|
|
2118
|
+
data: {
|
|
2119
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2120
|
+
post?: {
|
|
2121
|
+
status?: string | null | undefined;
|
|
2122
|
+
price?: number | null | undefined;
|
|
2123
|
+
currency?: string | null | undefined;
|
|
2124
|
+
brand?: string | null | undefined;
|
|
2125
|
+
catalog?: string | null | undefined;
|
|
2126
|
+
catalogId?: number | null | undefined;
|
|
2127
|
+
colors?: string[] | null | undefined;
|
|
2128
|
+
colorIds?: number[] | null | undefined;
|
|
2129
|
+
description?: string | null | undefined;
|
|
2130
|
+
measurementLength?: number | null | undefined;
|
|
2131
|
+
measurementWidth?: number | null | undefined;
|
|
2132
|
+
packageSizeId?: number | null | undefined;
|
|
2133
|
+
photoUrls?: string[] | null | undefined;
|
|
2134
|
+
size?: string | null | undefined;
|
|
2135
|
+
sizeId?: number | null | undefined;
|
|
2136
|
+
statusId?: number | null | undefined;
|
|
2137
|
+
title?: string | null | undefined;
|
|
2138
|
+
isDraft?: boolean | null | undefined;
|
|
2139
|
+
isArchived?: boolean | null | undefined;
|
|
2140
|
+
availableQuantity?: number | null | undefined;
|
|
2141
|
+
material?: number[] | null | undefined;
|
|
2142
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2143
|
+
labels?: string[] | null | undefined;
|
|
2144
|
+
} | null | undefined;
|
|
2145
|
+
targetDate?: Date | null | undefined;
|
|
2146
|
+
};
|
|
2147
|
+
}, {
|
|
2148
|
+
type: "UPDATING";
|
|
2149
|
+
data: {
|
|
2150
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
2151
|
+
post?: {
|
|
2152
|
+
status?: string | null | undefined;
|
|
2153
|
+
price?: number | null | undefined;
|
|
2154
|
+
currency?: string | null | undefined;
|
|
2155
|
+
brand?: string | null | undefined;
|
|
2156
|
+
catalog?: string | null | undefined;
|
|
2157
|
+
catalogId?: number | null | undefined;
|
|
2158
|
+
colors?: string[] | null | undefined;
|
|
2159
|
+
colorIds?: number[] | null | undefined;
|
|
2160
|
+
description?: string | null | undefined;
|
|
2161
|
+
measurementLength?: number | null | undefined;
|
|
2162
|
+
measurementWidth?: number | null | undefined;
|
|
2163
|
+
packageSizeId?: number | null | undefined;
|
|
2164
|
+
photoUrls?: string[] | null | undefined;
|
|
2165
|
+
size?: string | null | undefined;
|
|
2166
|
+
sizeId?: number | null | undefined;
|
|
2167
|
+
statusId?: number | null | undefined;
|
|
2168
|
+
title?: string | null | undefined;
|
|
2169
|
+
isDraft?: boolean | null | undefined;
|
|
2170
|
+
isArchived?: boolean | null | undefined;
|
|
2171
|
+
availableQuantity?: number | null | undefined;
|
|
2172
|
+
material?: number[] | null | undefined;
|
|
2173
|
+
manufacturerLabelling?: string | null | undefined;
|
|
2174
|
+
labels?: string[] | null | undefined;
|
|
2175
|
+
} | null | undefined;
|
|
2176
|
+
targetDate?: Date | null | undefined;
|
|
2177
|
+
};
|
|
1742
2178
|
}>]>;
|
|
1743
2179
|
export type ItemHistoryDecodedPayload = z.infer<typeof ItemHistoryDecodedPayloadSchema>;
|
|
1744
2180
|
//# sourceMappingURL=ItemHistoryDecodedPayload.d.ts.map
|
package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryDecodedPayload.d.ts","sourceRoot":"","sources":["ItemHistoryDecodedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"ItemHistoryDecodedPayload.d.ts","sourceRoot":"","sources":["ItemHistoryDecodedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAiBrB,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;EAGxD,CAAA;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAA;AAEnH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiB1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
|
@@ -12,6 +12,8 @@ import { ItemHistoryRepublishingPayloadSchema } from "./data/ItemHistoryRepublis
|
|
|
12
12
|
import { ItemHistoryRepublishingRetryPayloadSchema } from "./data/ItemHistoryRepublishingRetryPayload";
|
|
13
13
|
import { ItemHistoryScheduledPayloadSchema } from "./data/ItemHistoryScheduledPayload";
|
|
14
14
|
import { ItemHistoryScheduledRetryPayloadSchema } from "./data/ItemHistoryScheduledRetryPayload";
|
|
15
|
+
import { ItemHistoryUpdatedPayloadSchema } from "./data/ItemHistoryUpdatedPayload";
|
|
16
|
+
import { ItemHistoryUpdatingPayloadSchema } from "./data/ItemHistoryUpdatingPayload";
|
|
15
17
|
export const ItemHistoryDecodedPayloadActionCanceledSchema = z.object({
|
|
16
18
|
data: ItemHistoryActionCanceledPayloadSchema,
|
|
17
19
|
type: z.literal("ACTION_CANCELED")
|
|
@@ -67,6 +69,14 @@ export const ItemHistoryDecodedPayloadScheduledRetrySchema = z.object({
|
|
|
67
69
|
data: ItemHistoryScheduledRetryPayloadSchema,
|
|
68
70
|
type: z.literal("SCHEDULED_RETRY")
|
|
69
71
|
});
|
|
72
|
+
export const ItemHistoryDecodedPayloadUpdatedSchema = z.object({
|
|
73
|
+
data: ItemHistoryUpdatedPayloadSchema,
|
|
74
|
+
type: z.literal("UPDATED")
|
|
75
|
+
});
|
|
76
|
+
export const ItemHistoryDecodedPayloadUpdatingSchema = z.object({
|
|
77
|
+
data: ItemHistoryUpdatingPayloadSchema,
|
|
78
|
+
type: z.literal("UPDATING")
|
|
79
|
+
});
|
|
70
80
|
export const ItemHistoryDecodedPayloadSchema = z.discriminatedUnion("type", [
|
|
71
81
|
ItemHistoryDecodedPayloadActionCanceledSchema,
|
|
72
82
|
ItemHistoryDecodedPayloadBuyerPaidSchema,
|
|
@@ -81,6 +91,8 @@ export const ItemHistoryDecodedPayloadSchema = z.discriminatedUnion("type", [
|
|
|
81
91
|
ItemHistoryDecodedPayloadRepublishingSchema,
|
|
82
92
|
ItemHistoryDecodedPayloadRepublishingRetrySchema,
|
|
83
93
|
ItemHistoryDecodedPayloadScheduledSchema,
|
|
84
|
-
ItemHistoryDecodedPayloadScheduledRetrySchema
|
|
94
|
+
ItemHistoryDecodedPayloadScheduledRetrySchema,
|
|
95
|
+
ItemHistoryDecodedPayloadUpdatedSchema,
|
|
96
|
+
ItemHistoryDecodedPayloadUpdatingSchema
|
|
85
97
|
]);
|
|
86
98
|
//# sourceMappingURL=ItemHistoryDecodedPayload.js.map
|
package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemHistoryDecodedPayload.js","sourceRoot":"","sources":["ItemHistoryDecodedPayload.ts"],"names":[],"mappings":"AA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I,EAAE,iCAAiC;IACvC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;CAC/B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IAClE,IAAI,EAAE,sCAAsC;IAC5C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;CACrC,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;CAC7B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,IAAI,EAAE,gCAAgC;IACtC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CAC9B,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACxE,6CAA6C;IAC7C,wCAAwC;IACxC,wCAAwC;IACxC,oCAAoC;IACpC,8CAA8C;IAC9C,kDAAkD;IAClD,uCAAuC;IACvC,iDAAiD;IACjD,+CAA+C;IAC/C,wCAAwC;IACxC,2CAA2C;IAC3C,gDAAgD;IAChD,wCAAwC;IACxC,6CAA6C;IAC7C,sCAAsC;IACtC,uCAAuC;CAC1C,CAAC,CAAA"}
|
|
@@ -12,6 +12,8 @@ import {ItemHistoryRepublishingPayloadSchema} from "./data/ItemHistoryRepublishi
|
|
|
12
12
|
import {ItemHistoryRepublishingRetryPayloadSchema} from "./data/ItemHistoryRepublishingRetryPayload"
|
|
13
13
|
import {ItemHistoryScheduledPayloadSchema} from "./data/ItemHistoryScheduledPayload"
|
|
14
14
|
import {ItemHistoryScheduledRetryPayloadSchema} from "./data/ItemHistoryScheduledRetryPayload"
|
|
15
|
+
import {ItemHistoryUpdatedPayloadSchema} from "./data/ItemHistoryUpdatedPayload"
|
|
16
|
+
import {ItemHistoryUpdatingPayloadSchema} from "./data/ItemHistoryUpdatingPayload"
|
|
15
17
|
|
|
16
18
|
export const ItemHistoryDecodedPayloadActionCanceledSchema = z.object({
|
|
17
19
|
data: ItemHistoryActionCanceledPayloadSchema,
|
|
@@ -96,6 +98,18 @@ export const ItemHistoryDecodedPayloadScheduledRetrySchema = z.object({
|
|
|
96
98
|
})
|
|
97
99
|
export type ItemHistoryDecodedPayloadScheduledRetry = z.infer<typeof ItemHistoryDecodedPayloadScheduledRetrySchema>
|
|
98
100
|
|
|
101
|
+
export const ItemHistoryDecodedPayloadUpdatedSchema = z.object({
|
|
102
|
+
data: ItemHistoryUpdatedPayloadSchema,
|
|
103
|
+
type: z.literal("UPDATED")
|
|
104
|
+
})
|
|
105
|
+
export type ItemHistoryDecodedPayloadUpdated = z.infer<typeof ItemHistoryDecodedPayloadUpdatedSchema>
|
|
106
|
+
|
|
107
|
+
export const ItemHistoryDecodedPayloadUpdatingSchema = z.object({
|
|
108
|
+
data: ItemHistoryUpdatingPayloadSchema,
|
|
109
|
+
type: z.literal("UPDATING")
|
|
110
|
+
})
|
|
111
|
+
export type ItemHistoryDecodedPayloadUpdating = z.infer<typeof ItemHistoryDecodedPayloadUpdatingSchema>
|
|
112
|
+
|
|
99
113
|
export const ItemHistoryDecodedPayloadSchema = z.discriminatedUnion("type", [
|
|
100
114
|
ItemHistoryDecodedPayloadActionCanceledSchema,
|
|
101
115
|
ItemHistoryDecodedPayloadBuyerPaidSchema,
|
|
@@ -110,6 +124,8 @@ export const ItemHistoryDecodedPayloadSchema = z.discriminatedUnion("type", [
|
|
|
110
124
|
ItemHistoryDecodedPayloadRepublishingSchema,
|
|
111
125
|
ItemHistoryDecodedPayloadRepublishingRetrySchema,
|
|
112
126
|
ItemHistoryDecodedPayloadScheduledSchema,
|
|
113
|
-
ItemHistoryDecodedPayloadScheduledRetrySchema
|
|
127
|
+
ItemHistoryDecodedPayloadScheduledRetrySchema,
|
|
128
|
+
ItemHistoryDecodedPayloadUpdatedSchema,
|
|
129
|
+
ItemHistoryDecodedPayloadUpdatingSchema
|
|
114
130
|
])
|
|
115
131
|
export type ItemHistoryDecodedPayload = z.infer<typeof ItemHistoryDecodedPayloadSchema>
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ItemHistoryUpdatedPayloadSchema: z.ZodObject<{
|
|
3
|
+
platform: z.ZodEnum<["ETSY", "SHOPIFY", "VINTED"]>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
6
|
+
}, {
|
|
7
|
+
platform: "ETSY" | "SHOPIFY" | "VINTED";
|
|
8
|
+
}>;
|
|
9
|
+
export type ItemHistoryUpdatedPayload = z.infer<typeof ItemHistoryUpdatedPayloadSchema>;
|
|
10
|
+
//# sourceMappingURL=ItemHistoryUpdatedPayload.d.ts.map
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemHistoryUpdatedPayload.d.ts","sourceRoot":"","sources":["ItemHistoryUpdatedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,+BAA+B;;;;;;EAE1C,CAAA;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemHistoryUpdatedPayload.js","sourceRoot":"","sources":["ItemHistoryUpdatedPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AACrB,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAA;AAE7D,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,QAAQ,EAAE,qBAAqB;CAClC,CAAC,CAAA"}
|
package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryUpdatedPayload.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {z} from "zod"
|
|
2
|
+
import {AccountPlatformSchema} from "controlresell-connector"
|
|
3
|
+
|
|
4
|
+
export const ItemHistoryUpdatedPayloadSchema = z.object({
|
|
5
|
+
platform: AccountPlatformSchema
|
|
6
|
+
})
|
|
7
|
+
export type ItemHistoryUpdatedPayload = z.infer<typeof ItemHistoryUpdatedPayloadSchema>
|