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
@@ -1427,7 +1427,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
1427
1427
  lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1428
1428
  id: z.ZodString;
1429
1429
  itemId: z.ZodNumber;
1430
- 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"]>;
1430
+ 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"]>;
1431
1431
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1432
1432
  data: z.ZodObject<{
1433
1433
  targetItemHistoryId: z.ZodString;
@@ -2710,149 +2710,73 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2710
2710
  }>, z.ZodObject<{
2711
2711
  data: z.ZodObject<{
2712
2712
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2713
- post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2714
- brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2715
- catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2716
- catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2717
- colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2718
- colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2719
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
- measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2721
- measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2722
- packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2723
- photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2724
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2725
- currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
- size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2727
- sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2728
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
- statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2730
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2731
- isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2732
- isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2733
- isHidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2734
- isDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2735
- isUnisex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2736
- availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2737
- material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2738
- manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2739
- labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2713
+ payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2714
+ priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2715
+ type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
2716
+ value: z.ZodNumber;
2717
+ roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
2718
+ roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2719
+ negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
2720
+ maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2721
+ }, "strip", z.ZodTypeAny, {
2722
+ value: number;
2723
+ type: "PERCENTAGE" | "ABSOLUTE";
2724
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2725
+ roundStep?: number | null | undefined;
2726
+ negotiationProfile?: "AUTO" | null | undefined;
2727
+ maxRounds?: number | null | undefined;
2728
+ }, {
2729
+ value: number;
2730
+ type: "PERCENTAGE" | "ABSOLUTE";
2731
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2732
+ roundStep?: number | null | undefined;
2733
+ negotiationProfile?: "AUTO" | null | undefined;
2734
+ maxRounds?: number | null | undefined;
2735
+ }>>>;
2740
2736
  }, "strip", z.ZodTypeAny, {
2741
- status?: string | null | undefined;
2742
- title?: string | null | undefined;
2743
- description?: string | null | undefined;
2744
- brand?: string | null | undefined;
2745
- statusId?: number | null | undefined;
2746
- sizeId?: number | null | undefined;
2747
- colorIds?: number[] | null | undefined;
2748
- packageSizeId?: number | null | undefined;
2749
- price?: number | null | undefined;
2750
- currency?: string | null | undefined;
2751
- catalog?: string | null | undefined;
2752
- catalogId?: number | null | undefined;
2753
- colors?: string[] | null | undefined;
2754
- measurementLength?: number | null | undefined;
2755
- measurementWidth?: number | null | undefined;
2756
- photoUrls?: string[] | null | undefined;
2757
- size?: string | null | undefined;
2758
- isDraft?: boolean | null | undefined;
2759
- isArchived?: boolean | null | undefined;
2760
- isUnisex?: boolean | null | undefined;
2761
- availableQuantity?: number | null | undefined;
2762
- material?: number[] | null | undefined;
2763
- manufacturerLabelling?: string | null | undefined;
2764
- labels?: string[] | null | undefined;
2765
- isHidden?: boolean | null | undefined;
2766
- isDeleted?: boolean | null | undefined;
2737
+ priceDropPayload?: {
2738
+ value: number;
2739
+ type: "PERCENTAGE" | "ABSOLUTE";
2740
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2741
+ roundStep?: number | null | undefined;
2742
+ negotiationProfile?: "AUTO" | null | undefined;
2743
+ maxRounds?: number | null | undefined;
2744
+ } | null | undefined;
2767
2745
  }, {
2768
- status?: string | null | undefined;
2769
- title?: string | null | undefined;
2770
- description?: string | null | undefined;
2771
- brand?: string | null | undefined;
2772
- statusId?: number | null | undefined;
2773
- sizeId?: number | null | undefined;
2774
- colorIds?: number[] | null | undefined;
2775
- packageSizeId?: number | null | undefined;
2776
- price?: number | null | undefined;
2777
- currency?: string | null | undefined;
2778
- catalog?: string | null | undefined;
2779
- catalogId?: number | null | undefined;
2780
- colors?: string[] | null | undefined;
2781
- measurementLength?: number | null | undefined;
2782
- measurementWidth?: number | null | undefined;
2783
- photoUrls?: string[] | null | undefined;
2784
- size?: string | null | undefined;
2785
- isDraft?: boolean | null | undefined;
2786
- isArchived?: boolean | null | undefined;
2787
- isUnisex?: boolean | null | undefined;
2788
- availableQuantity?: number | null | undefined;
2789
- material?: number[] | null | undefined;
2790
- manufacturerLabelling?: string | null | undefined;
2791
- labels?: string[] | null | undefined;
2792
- isHidden?: boolean | null | undefined;
2793
- isDeleted?: boolean | null | undefined;
2746
+ priceDropPayload?: {
2747
+ value: number;
2748
+ type: "PERCENTAGE" | "ABSOLUTE";
2749
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2750
+ roundStep?: number | null | undefined;
2751
+ negotiationProfile?: "AUTO" | null | undefined;
2752
+ maxRounds?: number | null | undefined;
2753
+ } | null | undefined;
2794
2754
  }>>>;
2795
2755
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2796
2756
  }, "strip", z.ZodTypeAny, {
2797
2757
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2798
- post?: {
2799
- status?: string | null | undefined;
2800
- title?: string | null | undefined;
2801
- description?: string | null | undefined;
2802
- brand?: string | null | undefined;
2803
- statusId?: number | null | undefined;
2804
- sizeId?: number | null | undefined;
2805
- colorIds?: number[] | null | undefined;
2806
- packageSizeId?: number | null | undefined;
2807
- price?: number | null | undefined;
2808
- currency?: string | null | undefined;
2809
- catalog?: string | null | undefined;
2810
- catalogId?: number | null | undefined;
2811
- colors?: string[] | null | undefined;
2812
- measurementLength?: number | null | undefined;
2813
- measurementWidth?: number | null | undefined;
2814
- photoUrls?: string[] | null | undefined;
2815
- size?: string | null | undefined;
2816
- isDraft?: boolean | null | undefined;
2817
- isArchived?: boolean | null | undefined;
2818
- isUnisex?: boolean | null | undefined;
2819
- availableQuantity?: number | null | undefined;
2820
- material?: number[] | null | undefined;
2821
- manufacturerLabelling?: string | null | undefined;
2822
- labels?: string[] | null | undefined;
2823
- isHidden?: boolean | null | undefined;
2824
- isDeleted?: boolean | null | undefined;
2758
+ payload?: {
2759
+ priceDropPayload?: {
2760
+ value: number;
2761
+ type: "PERCENTAGE" | "ABSOLUTE";
2762
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2763
+ roundStep?: number | null | undefined;
2764
+ negotiationProfile?: "AUTO" | null | undefined;
2765
+ maxRounds?: number | null | undefined;
2766
+ } | null | undefined;
2825
2767
  } | null | undefined;
2826
2768
  targetDate?: Date | null | undefined;
2827
2769
  }, {
2828
2770
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2829
- post?: {
2830
- status?: string | null | undefined;
2831
- title?: string | null | undefined;
2832
- description?: string | null | undefined;
2833
- brand?: string | null | undefined;
2834
- statusId?: number | null | undefined;
2835
- sizeId?: number | null | undefined;
2836
- colorIds?: number[] | null | undefined;
2837
- packageSizeId?: number | null | undefined;
2838
- price?: number | null | undefined;
2839
- currency?: string | null | undefined;
2840
- catalog?: string | null | undefined;
2841
- catalogId?: number | null | undefined;
2842
- colors?: string[] | null | undefined;
2843
- measurementLength?: number | null | undefined;
2844
- measurementWidth?: number | null | undefined;
2845
- photoUrls?: string[] | null | undefined;
2846
- size?: string | null | undefined;
2847
- isDraft?: boolean | null | undefined;
2848
- isArchived?: boolean | null | undefined;
2849
- isUnisex?: boolean | null | undefined;
2850
- availableQuantity?: number | null | undefined;
2851
- material?: number[] | null | undefined;
2852
- manufacturerLabelling?: string | null | undefined;
2853
- labels?: string[] | null | undefined;
2854
- isHidden?: boolean | null | undefined;
2855
- isDeleted?: boolean | null | undefined;
2771
+ payload?: {
2772
+ priceDropPayload?: {
2773
+ value: number;
2774
+ type: "PERCENTAGE" | "ABSOLUTE";
2775
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2776
+ roundStep?: number | null | undefined;
2777
+ negotiationProfile?: "AUTO" | null | undefined;
2778
+ maxRounds?: number | null | undefined;
2779
+ } | null | undefined;
2856
2780
  } | null | undefined;
2857
2781
  targetDate?: Date | null | undefined;
2858
2782
  }>;
@@ -2861,33 +2785,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2861
2785
  type: "UPDATING";
2862
2786
  data: {
2863
2787
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2864
- post?: {
2865
- status?: string | null | undefined;
2866
- title?: string | null | undefined;
2867
- description?: string | null | undefined;
2868
- brand?: string | null | undefined;
2869
- statusId?: number | null | undefined;
2870
- sizeId?: number | null | undefined;
2871
- colorIds?: number[] | null | undefined;
2872
- packageSizeId?: number | null | undefined;
2873
- price?: number | null | undefined;
2874
- currency?: string | null | undefined;
2875
- catalog?: string | null | undefined;
2876
- catalogId?: number | null | undefined;
2877
- colors?: string[] | null | undefined;
2878
- measurementLength?: number | null | undefined;
2879
- measurementWidth?: number | null | undefined;
2880
- photoUrls?: string[] | null | undefined;
2881
- size?: string | null | undefined;
2882
- isDraft?: boolean | null | undefined;
2883
- isArchived?: boolean | null | undefined;
2884
- isUnisex?: boolean | null | undefined;
2885
- availableQuantity?: number | null | undefined;
2886
- material?: number[] | null | undefined;
2887
- manufacturerLabelling?: string | null | undefined;
2888
- labels?: string[] | null | undefined;
2889
- isHidden?: boolean | null | undefined;
2890
- isDeleted?: boolean | null | undefined;
2788
+ payload?: {
2789
+ priceDropPayload?: {
2790
+ value: number;
2791
+ type: "PERCENTAGE" | "ABSOLUTE";
2792
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2793
+ roundStep?: number | null | undefined;
2794
+ negotiationProfile?: "AUTO" | null | undefined;
2795
+ maxRounds?: number | null | undefined;
2796
+ } | null | undefined;
2891
2797
  } | null | undefined;
2892
2798
  targetDate?: Date | null | undefined;
2893
2799
  };
@@ -2895,33 +2801,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2895
2801
  type: "UPDATING";
2896
2802
  data: {
2897
2803
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2898
- post?: {
2899
- status?: string | null | undefined;
2900
- title?: string | null | undefined;
2901
- description?: string | null | undefined;
2902
- brand?: string | null | undefined;
2903
- statusId?: number | null | undefined;
2904
- sizeId?: number | null | undefined;
2905
- colorIds?: number[] | null | undefined;
2906
- packageSizeId?: number | null | undefined;
2907
- price?: number | null | undefined;
2908
- currency?: string | null | undefined;
2909
- catalog?: string | null | undefined;
2910
- catalogId?: number | null | undefined;
2911
- colors?: string[] | null | undefined;
2912
- measurementLength?: number | null | undefined;
2913
- measurementWidth?: number | null | undefined;
2914
- photoUrls?: string[] | null | undefined;
2915
- size?: string | null | undefined;
2916
- isDraft?: boolean | null | undefined;
2917
- isArchived?: boolean | null | undefined;
2918
- isUnisex?: boolean | null | undefined;
2919
- availableQuantity?: number | null | undefined;
2920
- material?: number[] | null | undefined;
2921
- manufacturerLabelling?: string | null | undefined;
2922
- labels?: string[] | null | undefined;
2923
- isHidden?: boolean | null | undefined;
2924
- isDeleted?: boolean | null | undefined;
2804
+ payload?: {
2805
+ priceDropPayload?: {
2806
+ value: number;
2807
+ type: "PERCENTAGE" | "ABSOLUTE";
2808
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2809
+ roundStep?: number | null | undefined;
2810
+ negotiationProfile?: "AUTO" | null | undefined;
2811
+ maxRounds?: number | null | undefined;
2812
+ } | null | undefined;
2925
2813
  } | null | undefined;
2926
2814
  targetDate?: Date | null | undefined;
2927
2815
  };
@@ -2932,7 +2820,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
2932
2820
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2933
2821
  targetHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
2822
  }, "strip", z.ZodTypeAny, {
2935
- 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";
2823
+ 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";
2936
2824
  id: string;
2937
2825
  createdAt: Date;
2938
2826
  itemId: number;
@@ -3149,33 +3037,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3149
3037
  type: "UPDATING";
3150
3038
  data: {
3151
3039
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3152
- post?: {
3153
- status?: string | null | undefined;
3154
- title?: string | null | undefined;
3155
- description?: string | null | undefined;
3156
- brand?: string | null | undefined;
3157
- statusId?: number | null | undefined;
3158
- sizeId?: number | null | undefined;
3159
- colorIds?: number[] | null | undefined;
3160
- packageSizeId?: number | null | undefined;
3161
- price?: number | null | undefined;
3162
- currency?: string | null | undefined;
3163
- catalog?: string | null | undefined;
3164
- catalogId?: number | null | undefined;
3165
- colors?: string[] | null | undefined;
3166
- measurementLength?: number | null | undefined;
3167
- measurementWidth?: number | null | undefined;
3168
- photoUrls?: string[] | null | undefined;
3169
- size?: string | null | undefined;
3170
- isDraft?: boolean | null | undefined;
3171
- isArchived?: boolean | null | undefined;
3172
- isUnisex?: boolean | null | undefined;
3173
- availableQuantity?: number | null | undefined;
3174
- material?: number[] | null | undefined;
3175
- manufacturerLabelling?: string | null | undefined;
3176
- labels?: string[] | null | undefined;
3177
- isHidden?: boolean | null | undefined;
3178
- isDeleted?: boolean | null | undefined;
3040
+ payload?: {
3041
+ priceDropPayload?: {
3042
+ value: number;
3043
+ type: "PERCENTAGE" | "ABSOLUTE";
3044
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3045
+ roundStep?: number | null | undefined;
3046
+ negotiationProfile?: "AUTO" | null | undefined;
3047
+ maxRounds?: number | null | undefined;
3048
+ } | null | undefined;
3179
3049
  } | null | undefined;
3180
3050
  targetDate?: Date | null | undefined;
3181
3051
  };
@@ -3185,7 +3055,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3185
3055
  requestId?: string | null | undefined;
3186
3056
  targetHistoryId?: string | null | undefined;
3187
3057
  }, {
3188
- 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";
3058
+ 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";
3189
3059
  id: string;
3190
3060
  createdAt: Date;
3191
3061
  itemId: number;
@@ -3402,33 +3272,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3402
3272
  type: "UPDATING";
3403
3273
  data: {
3404
3274
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3405
- post?: {
3406
- status?: string | null | undefined;
3407
- title?: string | null | undefined;
3408
- description?: string | null | undefined;
3409
- brand?: string | null | undefined;
3410
- statusId?: number | null | undefined;
3411
- sizeId?: number | null | undefined;
3412
- colorIds?: number[] | null | undefined;
3413
- packageSizeId?: number | null | undefined;
3414
- price?: number | null | undefined;
3415
- currency?: string | null | undefined;
3416
- catalog?: string | null | undefined;
3417
- catalogId?: number | null | undefined;
3418
- colors?: string[] | null | undefined;
3419
- measurementLength?: number | null | undefined;
3420
- measurementWidth?: number | null | undefined;
3421
- photoUrls?: string[] | null | undefined;
3422
- size?: string | null | undefined;
3423
- isDraft?: boolean | null | undefined;
3424
- isArchived?: boolean | null | undefined;
3425
- isUnisex?: boolean | null | undefined;
3426
- availableQuantity?: number | null | undefined;
3427
- material?: number[] | null | undefined;
3428
- manufacturerLabelling?: string | null | undefined;
3429
- labels?: string[] | null | undefined;
3430
- isHidden?: boolean | null | undefined;
3431
- isDeleted?: boolean | null | undefined;
3275
+ payload?: {
3276
+ priceDropPayload?: {
3277
+ value: number;
3278
+ type: "PERCENTAGE" | "ABSOLUTE";
3279
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3280
+ roundStep?: number | null | undefined;
3281
+ negotiationProfile?: "AUTO" | null | undefined;
3282
+ maxRounds?: number | null | undefined;
3283
+ } | null | undefined;
3432
3284
  } | null | undefined;
3433
3285
  targetDate?: Date | null | undefined;
3434
3286
  };
@@ -3743,7 +3595,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3743
3595
  sellingPlaceId?: number | null | undefined;
3744
3596
  feesSum?: number | null | undefined;
3745
3597
  lastHistory?: {
3746
- 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";
3598
+ 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";
3747
3599
  id: string;
3748
3600
  createdAt: Date;
3749
3601
  itemId: number;
@@ -3960,33 +3812,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
3960
3812
  type: "UPDATING";
3961
3813
  data: {
3962
3814
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3963
- post?: {
3964
- status?: string | null | undefined;
3965
- title?: string | null | undefined;
3966
- description?: string | null | undefined;
3967
- brand?: string | null | undefined;
3968
- statusId?: number | null | undefined;
3969
- sizeId?: number | null | undefined;
3970
- colorIds?: number[] | null | undefined;
3971
- packageSizeId?: number | null | undefined;
3972
- price?: number | null | undefined;
3973
- currency?: string | null | undefined;
3974
- catalog?: string | null | undefined;
3975
- catalogId?: number | null | undefined;
3976
- colors?: string[] | null | undefined;
3977
- measurementLength?: number | null | undefined;
3978
- measurementWidth?: number | null | undefined;
3979
- photoUrls?: string[] | null | undefined;
3980
- size?: string | null | undefined;
3981
- isDraft?: boolean | null | undefined;
3982
- isArchived?: boolean | null | undefined;
3983
- isUnisex?: boolean | null | undefined;
3984
- availableQuantity?: number | null | undefined;
3985
- material?: number[] | null | undefined;
3986
- manufacturerLabelling?: string | null | undefined;
3987
- labels?: string[] | null | undefined;
3988
- isHidden?: boolean | null | undefined;
3989
- isDeleted?: boolean | null | undefined;
3815
+ payload?: {
3816
+ priceDropPayload?: {
3817
+ value: number;
3818
+ type: "PERCENTAGE" | "ABSOLUTE";
3819
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3820
+ roundStep?: number | null | undefined;
3821
+ negotiationProfile?: "AUTO" | null | undefined;
3822
+ maxRounds?: number | null | undefined;
3823
+ } | null | undefined;
3990
3824
  } | null | undefined;
3991
3825
  targetDate?: Date | null | undefined;
3992
3826
  };
@@ -4111,7 +3945,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4111
3945
  sellingPlaceId?: number | null | undefined;
4112
3946
  feesSum?: number | null | undefined;
4113
3947
  lastHistory?: {
4114
- 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";
3948
+ 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";
4115
3949
  id: string;
4116
3950
  createdAt: Date;
4117
3951
  itemId: number;
@@ -4328,33 +4162,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4328
4162
  type: "UPDATING";
4329
4163
  data: {
4330
4164
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
4331
- post?: {
4332
- status?: string | null | undefined;
4333
- title?: string | null | undefined;
4334
- description?: string | null | undefined;
4335
- brand?: string | null | undefined;
4336
- statusId?: number | null | undefined;
4337
- sizeId?: number | null | undefined;
4338
- colorIds?: number[] | null | undefined;
4339
- packageSizeId?: number | null | undefined;
4340
- price?: number | null | undefined;
4341
- currency?: string | null | undefined;
4342
- catalog?: string | null | undefined;
4343
- catalogId?: number | null | undefined;
4344
- colors?: string[] | null | undefined;
4345
- measurementLength?: number | null | undefined;
4346
- measurementWidth?: number | null | undefined;
4347
- photoUrls?: string[] | null | undefined;
4348
- size?: string | null | undefined;
4349
- isDraft?: boolean | null | undefined;
4350
- isArchived?: boolean | null | undefined;
4351
- isUnisex?: boolean | null | undefined;
4352
- availableQuantity?: number | null | undefined;
4353
- material?: number[] | null | undefined;
4354
- manufacturerLabelling?: string | null | undefined;
4355
- labels?: string[] | null | undefined;
4356
- isHidden?: boolean | null | undefined;
4357
- isDeleted?: boolean | null | undefined;
4165
+ payload?: {
4166
+ priceDropPayload?: {
4167
+ value: number;
4168
+ type: "PERCENTAGE" | "ABSOLUTE";
4169
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4170
+ roundStep?: number | null | undefined;
4171
+ negotiationProfile?: "AUTO" | null | undefined;
4172
+ maxRounds?: number | null | undefined;
4173
+ } | null | undefined;
4358
4174
  } | null | undefined;
4359
4175
  targetDate?: Date | null | undefined;
4360
4176
  };
@@ -4481,7 +4297,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4481
4297
  sellingPlaceId?: number | null | undefined;
4482
4298
  feesSum?: number | null | undefined;
4483
4299
  lastHistory?: {
4484
- 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";
4300
+ 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";
4485
4301
  id: string;
4486
4302
  createdAt: Date;
4487
4303
  itemId: number;
@@ -4698,33 +4514,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
4698
4514
  type: "UPDATING";
4699
4515
  data: {
4700
4516
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
4701
- post?: {
4702
- status?: string | null | undefined;
4703
- title?: string | null | undefined;
4704
- description?: string | null | undefined;
4705
- brand?: string | null | undefined;
4706
- statusId?: number | null | undefined;
4707
- sizeId?: number | null | undefined;
4708
- colorIds?: number[] | null | undefined;
4709
- packageSizeId?: number | null | undefined;
4710
- price?: number | null | undefined;
4711
- currency?: string | null | undefined;
4712
- catalog?: string | null | undefined;
4713
- catalogId?: number | null | undefined;
4714
- colors?: string[] | null | undefined;
4715
- measurementLength?: number | null | undefined;
4716
- measurementWidth?: number | null | undefined;
4717
- photoUrls?: string[] | null | undefined;
4718
- size?: string | null | undefined;
4719
- isDraft?: boolean | null | undefined;
4720
- isArchived?: boolean | null | undefined;
4721
- isUnisex?: boolean | null | undefined;
4722
- availableQuantity?: number | null | undefined;
4723
- material?: number[] | null | undefined;
4724
- manufacturerLabelling?: string | null | undefined;
4725
- labels?: string[] | null | undefined;
4726
- isHidden?: boolean | null | undefined;
4727
- isDeleted?: boolean | null | undefined;
4517
+ payload?: {
4518
+ priceDropPayload?: {
4519
+ value: number;
4520
+ type: "PERCENTAGE" | "ABSOLUTE";
4521
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4522
+ roundStep?: number | null | undefined;
4523
+ negotiationProfile?: "AUTO" | null | undefined;
4524
+ maxRounds?: number | null | undefined;
4525
+ } | null | undefined;
4728
4526
  } | null | undefined;
4729
4527
  targetDate?: Date | null | undefined;
4730
4528
  };
@@ -5039,7 +4837,7 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5039
4837
  sellingPlaceId?: number | null | undefined;
5040
4838
  feesSum?: number | null | undefined;
5041
4839
  lastHistory?: {
5042
- 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";
4840
+ 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";
5043
4841
  id: string;
5044
4842
  createdAt: Date;
5045
4843
  itemId: number;
@@ -5256,33 +5054,15 @@ export declare const OrderWithItemsSchema: z.ZodObject<{
5256
5054
  type: "UPDATING";
5257
5055
  data: {
5258
5056
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5259
- post?: {
5260
- status?: string | null | undefined;
5261
- title?: string | null | undefined;
5262
- description?: string | null | undefined;
5263
- brand?: string | null | undefined;
5264
- statusId?: number | null | undefined;
5265
- sizeId?: number | null | undefined;
5266
- colorIds?: number[] | null | undefined;
5267
- packageSizeId?: number | null | undefined;
5268
- price?: number | null | undefined;
5269
- currency?: string | null | undefined;
5270
- catalog?: string | null | undefined;
5271
- catalogId?: number | null | undefined;
5272
- colors?: string[] | null | undefined;
5273
- measurementLength?: number | null | undefined;
5274
- measurementWidth?: number | null | undefined;
5275
- photoUrls?: string[] | null | undefined;
5276
- size?: string | null | undefined;
5277
- isDraft?: boolean | null | undefined;
5278
- isArchived?: boolean | null | undefined;
5279
- isUnisex?: boolean | null | undefined;
5280
- availableQuantity?: number | null | undefined;
5281
- material?: number[] | null | undefined;
5282
- manufacturerLabelling?: string | null | undefined;
5283
- labels?: string[] | null | undefined;
5284
- isHidden?: boolean | null | undefined;
5285
- isDeleted?: boolean | null | undefined;
5057
+ payload?: {
5058
+ priceDropPayload?: {
5059
+ value: number;
5060
+ type: "PERCENTAGE" | "ABSOLUTE";
5061
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5062
+ roundStep?: number | null | undefined;
5063
+ negotiationProfile?: "AUTO" | null | undefined;
5064
+ maxRounds?: number | null | undefined;
5065
+ } | null | undefined;
5286
5066
  } | null | undefined;
5287
5067
  targetDate?: Date | null | undefined;
5288
5068
  };