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.
Files changed (95) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/api/requests/items/cancel/CancelRequest.d.ts +3 -3
  3. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts +1 -1
  4. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.d.ts.map +1 -1
  5. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js +1 -1
  6. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.js.map +1 -1
  7. package/src/com/controlresell/api/requests/items/cancel/CancelRequestAction.ts +1 -1
  8. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts +2 -5
  9. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.d.ts.map +1 -1
  10. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js +0 -1
  11. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -1
  12. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.ts +0 -1
  13. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts +159 -0
  14. package/src/com/controlresell/api/requests/items/update/UpdateRequest.d.ts.map +1 -0
  15. package/src/com/controlresell/api/requests/items/update/UpdateRequest.js +10 -0
  16. package/src/com/controlresell/api/requests/items/update/UpdateRequest.js.map +1 -0
  17. package/src/com/controlresell/api/requests/items/update/UpdateRequest.ts +11 -0
  18. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts +136 -356
  19. package/src/com/controlresell/api/responses/items/ItemsWithFilters.d.ts.map +1 -1
  20. package/src/com/controlresell/api/responses/items/ListedItem.d.ts +116 -300
  21. package/src/com/controlresell/api/responses/items/ListedItem.d.ts.map +1 -1
  22. package/src/com/controlresell/models/conversations/Conversation.d.ts +5 -5
  23. package/src/com/controlresell/models/conversations/ConversationUpdate.d.ts +12 -12
  24. package/src/com/controlresell/models/conversations/UserConversations.d.ts +7 -7
  25. package/src/com/controlresell/models/conversations/messages/ConversationMessage.d.ts +3 -3
  26. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts +1 -1
  27. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.d.ts.map +1 -1
  28. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js +1 -1
  29. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.js.map +1 -1
  30. package/src/com/controlresell/models/conversations/messages/ConversationMessagePreferenceType.ts +1 -1
  31. package/src/com/controlresell/models/conversations/messages/ConversationMessageRequest.d.ts +3 -3
  32. package/src/com/controlresell/models/conversations/messages/CreateConversationMessagePayload.d.ts +3 -3
  33. package/src/com/controlresell/models/conversations/messages/PaginatedConversationMessages.d.ts +5 -5
  34. package/src/com/controlresell/models/conversations/offers/ConversationOfferRequest.d.ts +3 -3
  35. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts +3 -0
  36. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.d.ts.map +1 -1
  37. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js +1 -0
  38. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.js.map +1 -1
  39. package/src/com/controlresell/models/conversations/preferences/AutomaticAnswerPreference.ts +1 -0
  40. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -5
  41. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -5
  42. package/src/com/controlresell/models/items/CreatedItems.d.ts +272 -712
  43. package/src/com/controlresell/models/items/CreatedItems.d.ts.map +1 -1
  44. package/src/com/controlresell/models/items/Item.d.ts +232 -600
  45. package/src/com/controlresell/models/items/Item.d.ts.map +1 -1
  46. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -3
  47. package/src/com/controlresell/models/items/ItemUpdate.d.ts +136 -356
  48. package/src/com/controlresell/models/items/ItemUpdate.d.ts.map +1 -1
  49. package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts +45 -0
  50. package/src/com/controlresell/models/items/ItemUpdatePayload.d.ts.map +1 -0
  51. package/src/com/controlresell/models/items/ItemUpdatePayload.js +6 -0
  52. package/src/com/controlresell/models/items/ItemUpdatePayload.js.map +1 -0
  53. package/src/com/controlresell/models/items/ItemUpdatePayload.ts +7 -0
  54. package/src/com/controlresell/models/items/UpdatedItem.d.ts +272 -712
  55. package/src/com/controlresell/models/items/UpdatedItem.d.ts.map +1 -1
  56. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +96 -244
  57. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
  58. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +96 -244
  59. package/src/com/controlresell/models/items/history/ItemHistory.d.ts.map +1 -1
  60. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +150 -374
  61. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
  62. package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts +1 -1
  63. package/src/com/controlresell/models/items/history/ItemHistoryType.d.ts.map +1 -1
  64. package/src/com/controlresell/models/items/history/ItemHistoryType.js +1 -1
  65. package/src/com/controlresell/models/items/history/ItemHistoryType.js.map +1 -1
  66. package/src/com/controlresell/models/items/history/ItemHistoryType.ts +1 -1
  67. package/src/com/controlresell/models/items/history/ItemHistoryTypeWithCount.d.ts +3 -3
  68. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts +57 -133
  69. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.d.ts.map +1 -1
  70. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js +2 -2
  71. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.js.map +1 -1
  72. package/src/com/controlresell/models/items/history/data/ItemHistoryUpdatingPayload.ts +2 -1
  73. package/src/com/controlresell/models/notifications/CreateNotificationPreferencePayload.d.ts +3 -3
  74. package/src/com/controlresell/models/notifications/NotificationPreference.d.ts +3 -3
  75. package/src/com/controlresell/models/notifications/NotificationType.d.ts +1 -1
  76. package/src/com/controlresell/models/notifications/NotificationType.d.ts.map +1 -1
  77. package/src/com/controlresell/models/notifications/NotificationType.js +1 -1
  78. package/src/com/controlresell/models/notifications/NotificationType.js.map +1 -1
  79. package/src/com/controlresell/models/notifications/NotificationType.ts +1 -1
  80. package/src/com/controlresell/models/notifications/UpdateNotificationPreferencePayload.d.ts +3 -3
  81. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +156 -412
  82. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  83. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +136 -356
  84. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  85. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts +136 -356
  86. package/src/com/controlresell/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  87. package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +7 -7
  88. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +310 -750
  89. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  90. package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +10 -10
  91. package/src/index.d.ts +2 -0
  92. package/src/index.d.ts.map +1 -1
  93. package/src/index.js +2 -0
  94. package/src/index.js.map +1 -1
  95. 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
- post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1856
- brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1857
- catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1858
- catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1859
- colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1860
- colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
1861
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
- measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1863
- measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1864
- packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1865
- photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1866
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1867
- currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1868
- size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1869
- sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1870
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1871
- statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1872
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1873
- isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1874
- isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1875
- isHidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1876
- isDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1877
- isUnisex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
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
- status?: string | null | undefined;
1884
- title?: string | null | undefined;
1885
- description?: string | null | undefined;
1886
- brand?: string | null | undefined;
1887
- statusId?: number | null | undefined;
1888
- sizeId?: number | null | undefined;
1889
- colorIds?: number[] | null | undefined;
1890
- packageSizeId?: number | null | undefined;
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
- status?: string | null | undefined;
1911
- title?: string | null | undefined;
1912
- description?: string | null | undefined;
1913
- brand?: string | null | undefined;
1914
- statusId?: number | null | undefined;
1915
- sizeId?: number | null | undefined;
1916
- colorIds?: number[] | null | undefined;
1917
- packageSizeId?: number | null | undefined;
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
- post?: {
1941
- status?: string | null | undefined;
1942
- title?: string | null | undefined;
1943
- description?: string | null | undefined;
1944
- brand?: string | null | undefined;
1945
- statusId?: number | null | undefined;
1946
- sizeId?: number | null | undefined;
1947
- colorIds?: number[] | null | undefined;
1948
- packageSizeId?: number | null | undefined;
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
- post?: {
1972
- status?: string | null | undefined;
1973
- title?: string | null | undefined;
1974
- description?: string | null | undefined;
1975
- brand?: string | null | undefined;
1976
- statusId?: number | null | undefined;
1977
- sizeId?: number | null | undefined;
1978
- colorIds?: number[] | null | undefined;
1979
- packageSizeId?: number | null | undefined;
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
- post?: {
2007
- status?: string | null | undefined;
2008
- title?: string | null | undefined;
2009
- description?: string | null | undefined;
2010
- brand?: string | null | undefined;
2011
- statusId?: number | null | undefined;
2012
- sizeId?: number | null | undefined;
2013
- colorIds?: number[] | null | undefined;
2014
- packageSizeId?: number | null | undefined;
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
- post?: {
2041
- status?: string | null | undefined;
2042
- title?: string | null | undefined;
2043
- description?: string | null | undefined;
2044
- brand?: string | null | undefined;
2045
- statusId?: number | null | undefined;
2046
- sizeId?: number | null | undefined;
2047
- colorIds?: number[] | null | undefined;
2048
- packageSizeId?: number | null | undefined;
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
- post?: {
2295
- status?: string | null | undefined;
2296
- title?: string | null | undefined;
2297
- description?: string | null | undefined;
2298
- brand?: string | null | undefined;
2299
- statusId?: number | null | undefined;
2300
- sizeId?: number | null | undefined;
2301
- colorIds?: number[] | null | undefined;
2302
- packageSizeId?: number | null | undefined;
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
- post?: {
2548
- status?: string | null | undefined;
2549
- title?: string | null | undefined;
2550
- description?: string | null | undefined;
2551
- brand?: string | null | undefined;
2552
- statusId?: number | null | undefined;
2553
- sizeId?: number | null | undefined;
2554
- colorIds?: number[] | null | undefined;
2555
- packageSizeId?: number | null | undefined;
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
- post?: {
3106
- status?: string | null | undefined;
3107
- title?: string | null | undefined;
3108
- description?: string | null | undefined;
3109
- brand?: string | null | undefined;
3110
- statusId?: number | null | undefined;
3111
- sizeId?: number | null | undefined;
3112
- colorIds?: number[] | null | undefined;
3113
- packageSizeId?: number | null | undefined;
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
- post?: {
3474
- status?: string | null | undefined;
3475
- title?: string | null | undefined;
3476
- description?: string | null | undefined;
3477
- brand?: string | null | undefined;
3478
- statusId?: number | null | undefined;
3479
- sizeId?: number | null | undefined;
3480
- colorIds?: number[] | null | undefined;
3481
- packageSizeId?: number | null | undefined;
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
- post?: {
3844
- status?: string | null | undefined;
3845
- title?: string | null | undefined;
3846
- description?: string | null | undefined;
3847
- brand?: string | null | undefined;
3848
- statusId?: number | null | undefined;
3849
- sizeId?: number | null | undefined;
3850
- colorIds?: number[] | null | undefined;
3851
- packageSizeId?: number | null | undefined;
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
- post?: {
4266
- status?: string | null | undefined;
4267
- title?: string | null | undefined;
4268
- description?: string | null | undefined;
4269
- brand?: string | null | undefined;
4270
- statusId?: number | null | undefined;
4271
- sizeId?: number | null | undefined;
4272
- colorIds?: number[] | null | undefined;
4273
- packageSizeId?: number | null | undefined;
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
  };