controlresell 2.18.2 → 2.18.4
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 +3 -3
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -1
- package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +2 -5
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +0 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
- package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +0 -1
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +159 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js +10 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.js.map +1 -0
- package/src/com/controlresell/api/requests/items/update/UpdateRequest.ts +11 -0
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +136 -356
- package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts +116 -300
- package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
- package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +12 -12
- package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
- package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js.map +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.ts +1 -1
- package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -3
- package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -5
- package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +3 -3
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +3 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +1 -0
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
- package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +1 -0
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
- package/src/com/controlresell/models/items/CreatedItems.d.ts +272 -712
- package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
- package/src/com/controlresell/models/items/Item.d.ts +232 -600
- package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
- package/src/com/controlresell/models/items/ItemUpdate.d.ts +136 -356
- package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts +45 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js +6 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.js.map +1 -0
- package/src/com/controlresell/models/items/ItemUpdatePayload.ts +7 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +272 -712
- package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +96 -244
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +96 -244
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +150 -374
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
- package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +57 -133
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js +2 -2
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -1
- package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.ts +2 -1
- package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +3 -3
- package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
- package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
- package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +156 -412
- package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +136 -356
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +136 -356
- package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +7 -7
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +310 -750
- package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +10 -10
- package/src/index.d.ts +2 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/index.ts +2 -0
|
@@ -569,7 +569,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
569
569
|
lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
570
570
|
id: z.ZodString;
|
|
571
571
|
itemId: z.ZodNumber;
|
|
572
|
-
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "CANCELED", "DISPUTE", "DELETING", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
572
|
+
type: z.ZodEnum<["IMPORTED", "ARCHIVED", "UNARCHIVED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED_RETRY", "REPUBLISHING_RETRY", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "IMAGE_PROCESSING_DONE", "REPUBLISHED", "REPUBLISH_CANCELED", "UPDATING", "UPDATED", "UPDATE_CANCELED", "FAILED_TO_UPDATE", "CANCELED", "DISPUTE", "DELETING", "DELETED", "DELETE_CANCELED", "FAILED_TO_DELETE", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND", "LIFECYCLE_STARTED", "LIFECYCLE_COMPLETED", "LIFECYCLE_CANCELED"]>;
|
|
573
573
|
data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
574
574
|
data: z.ZodObject<{
|
|
575
575
|
targetItemHistoryId: z.ZodString;
|
|
@@ -1852,149 +1852,73 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
1852
1852
|
}>, z.ZodObject<{
|
|
1853
1853
|
data: z.ZodObject<{
|
|
1854
1854
|
platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1879
|
-
material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1880
|
-
manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
|
-
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
1855
|
+
payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1856
|
+
priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1857
|
+
type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
|
|
1858
|
+
value: z.ZodNumber;
|
|
1859
|
+
roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
|
|
1860
|
+
roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1861
|
+
negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
|
|
1862
|
+
maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1863
|
+
}, "strip", z.ZodTypeAny, {
|
|
1864
|
+
value: number;
|
|
1865
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1866
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1867
|
+
roundStep?: number | null | undefined;
|
|
1868
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1869
|
+
maxRounds?: number | null | undefined;
|
|
1870
|
+
}, {
|
|
1871
|
+
value: number;
|
|
1872
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1873
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1874
|
+
roundStep?: number | null | undefined;
|
|
1875
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1876
|
+
maxRounds?: number | null | undefined;
|
|
1877
|
+
}>>>;
|
|
1882
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
price?: number | null | undefined;
|
|
1892
|
-
currency?: string | null | undefined;
|
|
1893
|
-
catalog?: string | null | undefined;
|
|
1894
|
-
catalogId?: number | null | undefined;
|
|
1895
|
-
colors?: string[] | null | undefined;
|
|
1896
|
-
measurementLength?: number | null | undefined;
|
|
1897
|
-
measurementWidth?: number | null | undefined;
|
|
1898
|
-
photoUrls?: string[] | null | undefined;
|
|
1899
|
-
size?: string | null | undefined;
|
|
1900
|
-
isDraft?: boolean | null | undefined;
|
|
1901
|
-
isArchived?: boolean | null | undefined;
|
|
1902
|
-
isUnisex?: boolean | null | undefined;
|
|
1903
|
-
availableQuantity?: number | null | undefined;
|
|
1904
|
-
material?: number[] | null | undefined;
|
|
1905
|
-
manufacturerLabelling?: string | null | undefined;
|
|
1906
|
-
labels?: string[] | null | undefined;
|
|
1907
|
-
isHidden?: boolean | null | undefined;
|
|
1908
|
-
isDeleted?: boolean | null | undefined;
|
|
1879
|
+
priceDropPayload?: {
|
|
1880
|
+
value: number;
|
|
1881
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1882
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1883
|
+
roundStep?: number | null | undefined;
|
|
1884
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1885
|
+
maxRounds?: number | null | undefined;
|
|
1886
|
+
} | null | undefined;
|
|
1909
1887
|
}, {
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
price?: number | null | undefined;
|
|
1919
|
-
currency?: string | null | undefined;
|
|
1920
|
-
catalog?: string | null | undefined;
|
|
1921
|
-
catalogId?: number | null | undefined;
|
|
1922
|
-
colors?: string[] | null | undefined;
|
|
1923
|
-
measurementLength?: number | null | undefined;
|
|
1924
|
-
measurementWidth?: number | null | undefined;
|
|
1925
|
-
photoUrls?: string[] | null | undefined;
|
|
1926
|
-
size?: string | null | undefined;
|
|
1927
|
-
isDraft?: boolean | null | undefined;
|
|
1928
|
-
isArchived?: boolean | null | undefined;
|
|
1929
|
-
isUnisex?: boolean | null | undefined;
|
|
1930
|
-
availableQuantity?: number | null | undefined;
|
|
1931
|
-
material?: number[] | null | undefined;
|
|
1932
|
-
manufacturerLabelling?: string | null | undefined;
|
|
1933
|
-
labels?: string[] | null | undefined;
|
|
1934
|
-
isHidden?: boolean | null | undefined;
|
|
1935
|
-
isDeleted?: boolean | null | undefined;
|
|
1888
|
+
priceDropPayload?: {
|
|
1889
|
+
value: number;
|
|
1890
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1891
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1892
|
+
roundStep?: number | null | undefined;
|
|
1893
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1894
|
+
maxRounds?: number | null | undefined;
|
|
1895
|
+
} | null | undefined;
|
|
1936
1896
|
}>>>;
|
|
1937
1897
|
targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1938
1898
|
}, "strip", z.ZodTypeAny, {
|
|
1939
1899
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
price?: number | null | undefined;
|
|
1950
|
-
currency?: string | null | undefined;
|
|
1951
|
-
catalog?: string | null | undefined;
|
|
1952
|
-
catalogId?: number | null | undefined;
|
|
1953
|
-
colors?: string[] | null | undefined;
|
|
1954
|
-
measurementLength?: number | null | undefined;
|
|
1955
|
-
measurementWidth?: number | null | undefined;
|
|
1956
|
-
photoUrls?: string[] | null | undefined;
|
|
1957
|
-
size?: string | null | undefined;
|
|
1958
|
-
isDraft?: boolean | null | undefined;
|
|
1959
|
-
isArchived?: boolean | null | undefined;
|
|
1960
|
-
isUnisex?: boolean | null | undefined;
|
|
1961
|
-
availableQuantity?: number | null | undefined;
|
|
1962
|
-
material?: number[] | null | undefined;
|
|
1963
|
-
manufacturerLabelling?: string | null | undefined;
|
|
1964
|
-
labels?: string[] | null | undefined;
|
|
1965
|
-
isHidden?: boolean | null | undefined;
|
|
1966
|
-
isDeleted?: boolean | null | undefined;
|
|
1900
|
+
payload?: {
|
|
1901
|
+
priceDropPayload?: {
|
|
1902
|
+
value: number;
|
|
1903
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1904
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1905
|
+
roundStep?: number | null | undefined;
|
|
1906
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1907
|
+
maxRounds?: number | null | undefined;
|
|
1908
|
+
} | null | undefined;
|
|
1967
1909
|
} | null | undefined;
|
|
1968
1910
|
targetDate?: Date | null | undefined;
|
|
1969
1911
|
}, {
|
|
1970
1912
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
price?: number | null | undefined;
|
|
1981
|
-
currency?: string | null | undefined;
|
|
1982
|
-
catalog?: string | null | undefined;
|
|
1983
|
-
catalogId?: number | null | undefined;
|
|
1984
|
-
colors?: string[] | null | undefined;
|
|
1985
|
-
measurementLength?: number | null | undefined;
|
|
1986
|
-
measurementWidth?: number | null | undefined;
|
|
1987
|
-
photoUrls?: string[] | null | undefined;
|
|
1988
|
-
size?: string | null | undefined;
|
|
1989
|
-
isDraft?: boolean | null | undefined;
|
|
1990
|
-
isArchived?: boolean | null | undefined;
|
|
1991
|
-
isUnisex?: boolean | null | undefined;
|
|
1992
|
-
availableQuantity?: number | null | undefined;
|
|
1993
|
-
material?: number[] | null | undefined;
|
|
1994
|
-
manufacturerLabelling?: string | null | undefined;
|
|
1995
|
-
labels?: string[] | null | undefined;
|
|
1996
|
-
isHidden?: boolean | null | undefined;
|
|
1997
|
-
isDeleted?: boolean | null | undefined;
|
|
1913
|
+
payload?: {
|
|
1914
|
+
priceDropPayload?: {
|
|
1915
|
+
value: number;
|
|
1916
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1917
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1918
|
+
roundStep?: number | null | undefined;
|
|
1919
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1920
|
+
maxRounds?: number | null | undefined;
|
|
1921
|
+
} | null | undefined;
|
|
1998
1922
|
} | null | undefined;
|
|
1999
1923
|
targetDate?: Date | null | undefined;
|
|
2000
1924
|
}>;
|
|
@@ -2003,33 +1927,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2003
1927
|
type: "UPDATING";
|
|
2004
1928
|
data: {
|
|
2005
1929
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
price?: number | null | undefined;
|
|
2016
|
-
currency?: string | null | undefined;
|
|
2017
|
-
catalog?: string | null | undefined;
|
|
2018
|
-
catalogId?: number | null | undefined;
|
|
2019
|
-
colors?: string[] | null | undefined;
|
|
2020
|
-
measurementLength?: number | null | undefined;
|
|
2021
|
-
measurementWidth?: number | null | undefined;
|
|
2022
|
-
photoUrls?: string[] | null | undefined;
|
|
2023
|
-
size?: string | null | undefined;
|
|
2024
|
-
isDraft?: boolean | null | undefined;
|
|
2025
|
-
isArchived?: boolean | null | undefined;
|
|
2026
|
-
isUnisex?: boolean | null | undefined;
|
|
2027
|
-
availableQuantity?: number | null | undefined;
|
|
2028
|
-
material?: number[] | null | undefined;
|
|
2029
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2030
|
-
labels?: string[] | null | undefined;
|
|
2031
|
-
isHidden?: boolean | null | undefined;
|
|
2032
|
-
isDeleted?: boolean | null | undefined;
|
|
1930
|
+
payload?: {
|
|
1931
|
+
priceDropPayload?: {
|
|
1932
|
+
value: number;
|
|
1933
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1934
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1935
|
+
roundStep?: number | null | undefined;
|
|
1936
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1937
|
+
maxRounds?: number | null | undefined;
|
|
1938
|
+
} | null | undefined;
|
|
2033
1939
|
} | null | undefined;
|
|
2034
1940
|
targetDate?: Date | null | undefined;
|
|
2035
1941
|
};
|
|
@@ -2037,33 +1943,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2037
1943
|
type: "UPDATING";
|
|
2038
1944
|
data: {
|
|
2039
1945
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
price?: number | null | undefined;
|
|
2050
|
-
currency?: string | null | undefined;
|
|
2051
|
-
catalog?: string | null | undefined;
|
|
2052
|
-
catalogId?: number | null | undefined;
|
|
2053
|
-
colors?: string[] | null | undefined;
|
|
2054
|
-
measurementLength?: number | null | undefined;
|
|
2055
|
-
measurementWidth?: number | null | undefined;
|
|
2056
|
-
photoUrls?: string[] | null | undefined;
|
|
2057
|
-
size?: string | null | undefined;
|
|
2058
|
-
isDraft?: boolean | null | undefined;
|
|
2059
|
-
isArchived?: boolean | null | undefined;
|
|
2060
|
-
isUnisex?: boolean | null | undefined;
|
|
2061
|
-
availableQuantity?: number | null | undefined;
|
|
2062
|
-
material?: number[] | null | undefined;
|
|
2063
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2064
|
-
labels?: string[] | null | undefined;
|
|
2065
|
-
isHidden?: boolean | null | undefined;
|
|
2066
|
-
isDeleted?: boolean | null | undefined;
|
|
1946
|
+
payload?: {
|
|
1947
|
+
priceDropPayload?: {
|
|
1948
|
+
value: number;
|
|
1949
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
1950
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
1951
|
+
roundStep?: number | null | undefined;
|
|
1952
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
1953
|
+
maxRounds?: number | null | undefined;
|
|
1954
|
+
} | null | undefined;
|
|
2067
1955
|
} | null | undefined;
|
|
2068
1956
|
targetDate?: Date | null | undefined;
|
|
2069
1957
|
};
|
|
@@ -2074,7 +1962,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2074
1962
|
requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2075
1963
|
targetHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2076
1964
|
}, "strip", z.ZodTypeAny, {
|
|
2077
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
1965
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2078
1966
|
id: string;
|
|
2079
1967
|
createdAt: Date;
|
|
2080
1968
|
itemId: number;
|
|
@@ -2291,33 +2179,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2291
2179
|
type: "UPDATING";
|
|
2292
2180
|
data: {
|
|
2293
2181
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
price?: number | null | undefined;
|
|
2304
|
-
currency?: string | null | undefined;
|
|
2305
|
-
catalog?: string | null | undefined;
|
|
2306
|
-
catalogId?: number | null | undefined;
|
|
2307
|
-
colors?: string[] | null | undefined;
|
|
2308
|
-
measurementLength?: number | null | undefined;
|
|
2309
|
-
measurementWidth?: number | null | undefined;
|
|
2310
|
-
photoUrls?: string[] | null | undefined;
|
|
2311
|
-
size?: string | null | undefined;
|
|
2312
|
-
isDraft?: boolean | null | undefined;
|
|
2313
|
-
isArchived?: boolean | null | undefined;
|
|
2314
|
-
isUnisex?: boolean | null | undefined;
|
|
2315
|
-
availableQuantity?: number | null | undefined;
|
|
2316
|
-
material?: number[] | null | undefined;
|
|
2317
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2318
|
-
labels?: string[] | null | undefined;
|
|
2319
|
-
isHidden?: boolean | null | undefined;
|
|
2320
|
-
isDeleted?: boolean | null | undefined;
|
|
2182
|
+
payload?: {
|
|
2183
|
+
priceDropPayload?: {
|
|
2184
|
+
value: number;
|
|
2185
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2186
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2187
|
+
roundStep?: number | null | undefined;
|
|
2188
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2189
|
+
maxRounds?: number | null | undefined;
|
|
2190
|
+
} | null | undefined;
|
|
2321
2191
|
} | null | undefined;
|
|
2322
2192
|
targetDate?: Date | null | undefined;
|
|
2323
2193
|
};
|
|
@@ -2327,7 +2197,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2327
2197
|
requestId?: string | null | undefined;
|
|
2328
2198
|
targetHistoryId?: string | null | undefined;
|
|
2329
2199
|
}, {
|
|
2330
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2200
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2331
2201
|
id: string;
|
|
2332
2202
|
createdAt: Date;
|
|
2333
2203
|
itemId: number;
|
|
@@ -2544,33 +2414,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2544
2414
|
type: "UPDATING";
|
|
2545
2415
|
data: {
|
|
2546
2416
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
price?: number | null | undefined;
|
|
2557
|
-
currency?: string | null | undefined;
|
|
2558
|
-
catalog?: string | null | undefined;
|
|
2559
|
-
catalogId?: number | null | undefined;
|
|
2560
|
-
colors?: string[] | null | undefined;
|
|
2561
|
-
measurementLength?: number | null | undefined;
|
|
2562
|
-
measurementWidth?: number | null | undefined;
|
|
2563
|
-
photoUrls?: string[] | null | undefined;
|
|
2564
|
-
size?: string | null | undefined;
|
|
2565
|
-
isDraft?: boolean | null | undefined;
|
|
2566
|
-
isArchived?: boolean | null | undefined;
|
|
2567
|
-
isUnisex?: boolean | null | undefined;
|
|
2568
|
-
availableQuantity?: number | null | undefined;
|
|
2569
|
-
material?: number[] | null | undefined;
|
|
2570
|
-
manufacturerLabelling?: string | null | undefined;
|
|
2571
|
-
labels?: string[] | null | undefined;
|
|
2572
|
-
isHidden?: boolean | null | undefined;
|
|
2573
|
-
isDeleted?: boolean | null | undefined;
|
|
2417
|
+
payload?: {
|
|
2418
|
+
priceDropPayload?: {
|
|
2419
|
+
value: number;
|
|
2420
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2421
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2422
|
+
roundStep?: number | null | undefined;
|
|
2423
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2424
|
+
maxRounds?: number | null | undefined;
|
|
2425
|
+
} | null | undefined;
|
|
2574
2426
|
} | null | undefined;
|
|
2575
2427
|
targetDate?: Date | null | undefined;
|
|
2576
2428
|
};
|
|
@@ -2885,7 +2737,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
2885
2737
|
sellingPlaceId?: number | null | undefined;
|
|
2886
2738
|
feesSum?: number | null | undefined;
|
|
2887
2739
|
lastHistory?: {
|
|
2888
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2740
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
2889
2741
|
id: string;
|
|
2890
2742
|
createdAt: Date;
|
|
2891
2743
|
itemId: number;
|
|
@@ -3102,33 +2954,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3102
2954
|
type: "UPDATING";
|
|
3103
2955
|
data: {
|
|
3104
2956
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
price?: number | null | undefined;
|
|
3115
|
-
currency?: string | null | undefined;
|
|
3116
|
-
catalog?: string | null | undefined;
|
|
3117
|
-
catalogId?: number | null | undefined;
|
|
3118
|
-
colors?: string[] | null | undefined;
|
|
3119
|
-
measurementLength?: number | null | undefined;
|
|
3120
|
-
measurementWidth?: number | null | undefined;
|
|
3121
|
-
photoUrls?: string[] | null | undefined;
|
|
3122
|
-
size?: string | null | undefined;
|
|
3123
|
-
isDraft?: boolean | null | undefined;
|
|
3124
|
-
isArchived?: boolean | null | undefined;
|
|
3125
|
-
isUnisex?: boolean | null | undefined;
|
|
3126
|
-
availableQuantity?: number | null | undefined;
|
|
3127
|
-
material?: number[] | null | undefined;
|
|
3128
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3129
|
-
labels?: string[] | null | undefined;
|
|
3130
|
-
isHidden?: boolean | null | undefined;
|
|
3131
|
-
isDeleted?: boolean | null | undefined;
|
|
2957
|
+
payload?: {
|
|
2958
|
+
priceDropPayload?: {
|
|
2959
|
+
value: number;
|
|
2960
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
2961
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
2962
|
+
roundStep?: number | null | undefined;
|
|
2963
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
2964
|
+
maxRounds?: number | null | undefined;
|
|
2965
|
+
} | null | undefined;
|
|
3132
2966
|
} | null | undefined;
|
|
3133
2967
|
targetDate?: Date | null | undefined;
|
|
3134
2968
|
};
|
|
@@ -3253,7 +3087,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3253
3087
|
sellingPlaceId?: number | null | undefined;
|
|
3254
3088
|
feesSum?: number | null | undefined;
|
|
3255
3089
|
lastHistory?: {
|
|
3256
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3090
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3257
3091
|
id: string;
|
|
3258
3092
|
createdAt: Date;
|
|
3259
3093
|
itemId: number;
|
|
@@ -3470,33 +3304,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3470
3304
|
type: "UPDATING";
|
|
3471
3305
|
data: {
|
|
3472
3306
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
price?: number | null | undefined;
|
|
3483
|
-
currency?: string | null | undefined;
|
|
3484
|
-
catalog?: string | null | undefined;
|
|
3485
|
-
catalogId?: number | null | undefined;
|
|
3486
|
-
colors?: string[] | null | undefined;
|
|
3487
|
-
measurementLength?: number | null | undefined;
|
|
3488
|
-
measurementWidth?: number | null | undefined;
|
|
3489
|
-
photoUrls?: string[] | null | undefined;
|
|
3490
|
-
size?: string | null | undefined;
|
|
3491
|
-
isDraft?: boolean | null | undefined;
|
|
3492
|
-
isArchived?: boolean | null | undefined;
|
|
3493
|
-
isUnisex?: boolean | null | undefined;
|
|
3494
|
-
availableQuantity?: number | null | undefined;
|
|
3495
|
-
material?: number[] | null | undefined;
|
|
3496
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3497
|
-
labels?: string[] | null | undefined;
|
|
3498
|
-
isHidden?: boolean | null | undefined;
|
|
3499
|
-
isDeleted?: boolean | null | undefined;
|
|
3307
|
+
payload?: {
|
|
3308
|
+
priceDropPayload?: {
|
|
3309
|
+
value: number;
|
|
3310
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3311
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3312
|
+
roundStep?: number | null | undefined;
|
|
3313
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3314
|
+
maxRounds?: number | null | undefined;
|
|
3315
|
+
} | null | undefined;
|
|
3500
3316
|
} | null | undefined;
|
|
3501
3317
|
targetDate?: Date | null | undefined;
|
|
3502
3318
|
};
|
|
@@ -3623,7 +3439,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3623
3439
|
sellingPlaceId?: number | null | undefined;
|
|
3624
3440
|
feesSum?: number | null | undefined;
|
|
3625
3441
|
lastHistory?: {
|
|
3626
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3442
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3627
3443
|
id: string;
|
|
3628
3444
|
createdAt: Date;
|
|
3629
3445
|
itemId: number;
|
|
@@ -3840,33 +3656,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
3840
3656
|
type: "UPDATING";
|
|
3841
3657
|
data: {
|
|
3842
3658
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
price?: number | null | undefined;
|
|
3853
|
-
currency?: string | null | undefined;
|
|
3854
|
-
catalog?: string | null | undefined;
|
|
3855
|
-
catalogId?: number | null | undefined;
|
|
3856
|
-
colors?: string[] | null | undefined;
|
|
3857
|
-
measurementLength?: number | null | undefined;
|
|
3858
|
-
measurementWidth?: number | null | undefined;
|
|
3859
|
-
photoUrls?: string[] | null | undefined;
|
|
3860
|
-
size?: string | null | undefined;
|
|
3861
|
-
isDraft?: boolean | null | undefined;
|
|
3862
|
-
isArchived?: boolean | null | undefined;
|
|
3863
|
-
isUnisex?: boolean | null | undefined;
|
|
3864
|
-
availableQuantity?: number | null | undefined;
|
|
3865
|
-
material?: number[] | null | undefined;
|
|
3866
|
-
manufacturerLabelling?: string | null | undefined;
|
|
3867
|
-
labels?: string[] | null | undefined;
|
|
3868
|
-
isHidden?: boolean | null | undefined;
|
|
3869
|
-
isDeleted?: boolean | null | undefined;
|
|
3659
|
+
payload?: {
|
|
3660
|
+
priceDropPayload?: {
|
|
3661
|
+
value: number;
|
|
3662
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
3663
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
3664
|
+
roundStep?: number | null | undefined;
|
|
3665
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
3666
|
+
maxRounds?: number | null | undefined;
|
|
3667
|
+
} | null | undefined;
|
|
3870
3668
|
} | null | undefined;
|
|
3871
3669
|
targetDate?: Date | null | undefined;
|
|
3872
3670
|
};
|
|
@@ -4045,7 +3843,7 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4045
3843
|
sellingPlaceId?: number | null | undefined;
|
|
4046
3844
|
feesSum?: number | null | undefined;
|
|
4047
3845
|
lastHistory?: {
|
|
4048
|
-
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DISPUTE" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
3846
|
+
type: "DELETING" | "CANCELED" | "IMPORTED" | "ARCHIVED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "FAILED_TO_UPDATE" | "DISPUTE" | "DELETED" | "DELETE_CANCELED" | "FAILED_TO_DELETE" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
|
|
4049
3847
|
id: string;
|
|
4050
3848
|
createdAt: Date;
|
|
4051
3849
|
itemId: number;
|
|
@@ -4262,33 +4060,15 @@ export declare const TransactionWithItemsSchema: z.ZodObject<{
|
|
|
4262
4060
|
type: "UPDATING";
|
|
4263
4061
|
data: {
|
|
4264
4062
|
platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
price?: number | null | undefined;
|
|
4275
|
-
currency?: string | null | undefined;
|
|
4276
|
-
catalog?: string | null | undefined;
|
|
4277
|
-
catalogId?: number | null | undefined;
|
|
4278
|
-
colors?: string[] | null | undefined;
|
|
4279
|
-
measurementLength?: number | null | undefined;
|
|
4280
|
-
measurementWidth?: number | null | undefined;
|
|
4281
|
-
photoUrls?: string[] | null | undefined;
|
|
4282
|
-
size?: string | null | undefined;
|
|
4283
|
-
isDraft?: boolean | null | undefined;
|
|
4284
|
-
isArchived?: boolean | null | undefined;
|
|
4285
|
-
isUnisex?: boolean | null | undefined;
|
|
4286
|
-
availableQuantity?: number | null | undefined;
|
|
4287
|
-
material?: number[] | null | undefined;
|
|
4288
|
-
manufacturerLabelling?: string | null | undefined;
|
|
4289
|
-
labels?: string[] | null | undefined;
|
|
4290
|
-
isHidden?: boolean | null | undefined;
|
|
4291
|
-
isDeleted?: boolean | null | undefined;
|
|
4063
|
+
payload?: {
|
|
4064
|
+
priceDropPayload?: {
|
|
4065
|
+
value: number;
|
|
4066
|
+
type: "PERCENTAGE" | "ABSOLUTE";
|
|
4067
|
+
roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
|
|
4068
|
+
roundStep?: number | null | undefined;
|
|
4069
|
+
negotiationProfile?: "AUTO" | null | undefined;
|
|
4070
|
+
maxRounds?: number | null | undefined;
|
|
4071
|
+
} | null | undefined;
|
|
4292
4072
|
} | null | undefined;
|
|
4293
4073
|
targetDate?: Date | null | undefined;
|
|
4294
4074
|
};
|