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
@@ -1430,7 +1430,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
1430
1430
  lastHistory: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1431
1431
  id: z.ZodString;
1432
1432
  itemId: z.ZodNumber;
1433
- 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"]>;
1433
+ 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"]>;
1434
1434
  data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1435
1435
  data: z.ZodObject<{
1436
1436
  targetItemHistoryId: z.ZodString;
@@ -2713,149 +2713,73 @@ export declare const UserOrdersSchema: z.ZodObject<{
2713
2713
  }>, z.ZodObject<{
2714
2714
  data: z.ZodObject<{
2715
2715
  platform: z.ZodEnum<["EBAY", "ETSY", "SHOPIFY", "VINTED", "VESTIAIRE"]>;
2716
- post: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2717
- brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2718
- catalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2719
- catalogId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2720
- colors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2721
- colorIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2722
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2723
- measurementLength: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2724
- measurementWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2725
- packageSizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2726
- photoUrls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2727
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2728
- currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2729
- size: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
- sizeId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2731
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2732
- statusId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2733
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2734
- isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2735
- isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2736
- isHidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2737
- isDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2738
- isUnisex: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2739
- availableQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2740
- material: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
2741
- manufacturerLabelling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2742
- labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2716
+ payload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2717
+ priceDropPayload: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2718
+ type: z.ZodEnum<["PERCENTAGE", "ABSOLUTE"]>;
2719
+ value: z.ZodNumber;
2720
+ roundType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["NEAREST", "UP", "DOWN", "CUSTOM"]>>>;
2721
+ roundStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2722
+ negotiationProfile: z.ZodOptional<z.ZodNullable<z.ZodEnum<["AUTO"]>>>;
2723
+ maxRounds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2724
+ }, "strip", z.ZodTypeAny, {
2725
+ value: number;
2726
+ type: "PERCENTAGE" | "ABSOLUTE";
2727
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2728
+ roundStep?: number | null | undefined;
2729
+ negotiationProfile?: "AUTO" | null | undefined;
2730
+ maxRounds?: number | null | undefined;
2731
+ }, {
2732
+ value: number;
2733
+ type: "PERCENTAGE" | "ABSOLUTE";
2734
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2735
+ roundStep?: number | null | undefined;
2736
+ negotiationProfile?: "AUTO" | null | undefined;
2737
+ maxRounds?: number | null | undefined;
2738
+ }>>>;
2743
2739
  }, "strip", z.ZodTypeAny, {
2744
- status?: string | null | undefined;
2745
- title?: string | null | undefined;
2746
- description?: string | null | undefined;
2747
- brand?: string | null | undefined;
2748
- statusId?: number | null | undefined;
2749
- sizeId?: number | null | undefined;
2750
- colorIds?: number[] | null | undefined;
2751
- packageSizeId?: number | null | undefined;
2752
- price?: number | null | undefined;
2753
- currency?: string | null | undefined;
2754
- catalog?: string | null | undefined;
2755
- catalogId?: number | null | undefined;
2756
- colors?: string[] | null | undefined;
2757
- measurementLength?: number | null | undefined;
2758
- measurementWidth?: number | null | undefined;
2759
- photoUrls?: string[] | null | undefined;
2760
- size?: string | null | undefined;
2761
- isDraft?: boolean | null | undefined;
2762
- isArchived?: boolean | null | undefined;
2763
- isUnisex?: boolean | null | undefined;
2764
- availableQuantity?: number | null | undefined;
2765
- material?: number[] | null | undefined;
2766
- manufacturerLabelling?: string | null | undefined;
2767
- labels?: string[] | null | undefined;
2768
- isHidden?: boolean | null | undefined;
2769
- isDeleted?: boolean | null | undefined;
2740
+ priceDropPayload?: {
2741
+ value: number;
2742
+ type: "PERCENTAGE" | "ABSOLUTE";
2743
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2744
+ roundStep?: number | null | undefined;
2745
+ negotiationProfile?: "AUTO" | null | undefined;
2746
+ maxRounds?: number | null | undefined;
2747
+ } | null | undefined;
2770
2748
  }, {
2771
- status?: string | null | undefined;
2772
- title?: string | null | undefined;
2773
- description?: string | null | undefined;
2774
- brand?: string | null | undefined;
2775
- statusId?: number | null | undefined;
2776
- sizeId?: number | null | undefined;
2777
- colorIds?: number[] | null | undefined;
2778
- packageSizeId?: number | null | undefined;
2779
- price?: number | null | undefined;
2780
- currency?: string | null | undefined;
2781
- catalog?: string | null | undefined;
2782
- catalogId?: number | null | undefined;
2783
- colors?: string[] | null | undefined;
2784
- measurementLength?: number | null | undefined;
2785
- measurementWidth?: number | null | undefined;
2786
- photoUrls?: string[] | null | undefined;
2787
- size?: string | null | undefined;
2788
- isDraft?: boolean | null | undefined;
2789
- isArchived?: boolean | null | undefined;
2790
- isUnisex?: boolean | null | undefined;
2791
- availableQuantity?: number | null | undefined;
2792
- material?: number[] | null | undefined;
2793
- manufacturerLabelling?: string | null | undefined;
2794
- labels?: string[] | null | undefined;
2795
- isHidden?: boolean | null | undefined;
2796
- isDeleted?: boolean | null | undefined;
2749
+ priceDropPayload?: {
2750
+ value: number;
2751
+ type: "PERCENTAGE" | "ABSOLUTE";
2752
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2753
+ roundStep?: number | null | undefined;
2754
+ negotiationProfile?: "AUTO" | null | undefined;
2755
+ maxRounds?: number | null | undefined;
2756
+ } | null | undefined;
2797
2757
  }>>>;
2798
2758
  targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2799
2759
  }, "strip", z.ZodTypeAny, {
2800
2760
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2801
- post?: {
2802
- status?: string | null | undefined;
2803
- title?: string | null | undefined;
2804
- description?: string | null | undefined;
2805
- brand?: string | null | undefined;
2806
- statusId?: number | null | undefined;
2807
- sizeId?: number | null | undefined;
2808
- colorIds?: number[] | null | undefined;
2809
- packageSizeId?: number | null | undefined;
2810
- price?: number | null | undefined;
2811
- currency?: string | null | undefined;
2812
- catalog?: string | null | undefined;
2813
- catalogId?: number | null | undefined;
2814
- colors?: string[] | null | undefined;
2815
- measurementLength?: number | null | undefined;
2816
- measurementWidth?: number | null | undefined;
2817
- photoUrls?: string[] | null | undefined;
2818
- size?: string | null | undefined;
2819
- isDraft?: boolean | null | undefined;
2820
- isArchived?: boolean | null | undefined;
2821
- isUnisex?: boolean | null | undefined;
2822
- availableQuantity?: number | null | undefined;
2823
- material?: number[] | null | undefined;
2824
- manufacturerLabelling?: string | null | undefined;
2825
- labels?: string[] | null | undefined;
2826
- isHidden?: boolean | null | undefined;
2827
- isDeleted?: boolean | null | undefined;
2761
+ payload?: {
2762
+ priceDropPayload?: {
2763
+ value: number;
2764
+ type: "PERCENTAGE" | "ABSOLUTE";
2765
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2766
+ roundStep?: number | null | undefined;
2767
+ negotiationProfile?: "AUTO" | null | undefined;
2768
+ maxRounds?: number | null | undefined;
2769
+ } | null | undefined;
2828
2770
  } | null | undefined;
2829
2771
  targetDate?: Date | null | undefined;
2830
2772
  }, {
2831
2773
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2832
- post?: {
2833
- status?: string | null | undefined;
2834
- title?: string | null | undefined;
2835
- description?: string | null | undefined;
2836
- brand?: string | null | undefined;
2837
- statusId?: number | null | undefined;
2838
- sizeId?: number | null | undefined;
2839
- colorIds?: number[] | null | undefined;
2840
- packageSizeId?: number | null | undefined;
2841
- price?: number | null | undefined;
2842
- currency?: string | null | undefined;
2843
- catalog?: string | null | undefined;
2844
- catalogId?: number | null | undefined;
2845
- colors?: string[] | null | undefined;
2846
- measurementLength?: number | null | undefined;
2847
- measurementWidth?: number | null | undefined;
2848
- photoUrls?: string[] | null | undefined;
2849
- size?: string | null | undefined;
2850
- isDraft?: boolean | null | undefined;
2851
- isArchived?: boolean | null | undefined;
2852
- isUnisex?: boolean | null | undefined;
2853
- availableQuantity?: number | null | undefined;
2854
- material?: number[] | null | undefined;
2855
- manufacturerLabelling?: string | null | undefined;
2856
- labels?: string[] | null | undefined;
2857
- isHidden?: boolean | null | undefined;
2858
- isDeleted?: boolean | null | undefined;
2774
+ payload?: {
2775
+ priceDropPayload?: {
2776
+ value: number;
2777
+ type: "PERCENTAGE" | "ABSOLUTE";
2778
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2779
+ roundStep?: number | null | undefined;
2780
+ negotiationProfile?: "AUTO" | null | undefined;
2781
+ maxRounds?: number | null | undefined;
2782
+ } | null | undefined;
2859
2783
  } | null | undefined;
2860
2784
  targetDate?: Date | null | undefined;
2861
2785
  }>;
@@ -2864,33 +2788,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
2864
2788
  type: "UPDATING";
2865
2789
  data: {
2866
2790
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2867
- post?: {
2868
- status?: string | null | undefined;
2869
- title?: string | null | undefined;
2870
- description?: string | null | undefined;
2871
- brand?: string | null | undefined;
2872
- statusId?: number | null | undefined;
2873
- sizeId?: number | null | undefined;
2874
- colorIds?: number[] | null | undefined;
2875
- packageSizeId?: number | null | undefined;
2876
- price?: number | null | undefined;
2877
- currency?: string | null | undefined;
2878
- catalog?: string | null | undefined;
2879
- catalogId?: number | null | undefined;
2880
- colors?: string[] | null | undefined;
2881
- measurementLength?: number | null | undefined;
2882
- measurementWidth?: number | null | undefined;
2883
- photoUrls?: string[] | null | undefined;
2884
- size?: string | null | undefined;
2885
- isDraft?: boolean | null | undefined;
2886
- isArchived?: boolean | null | undefined;
2887
- isUnisex?: boolean | null | undefined;
2888
- availableQuantity?: number | null | undefined;
2889
- material?: number[] | null | undefined;
2890
- manufacturerLabelling?: string | null | undefined;
2891
- labels?: string[] | null | undefined;
2892
- isHidden?: boolean | null | undefined;
2893
- isDeleted?: boolean | null | undefined;
2791
+ payload?: {
2792
+ priceDropPayload?: {
2793
+ value: number;
2794
+ type: "PERCENTAGE" | "ABSOLUTE";
2795
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2796
+ roundStep?: number | null | undefined;
2797
+ negotiationProfile?: "AUTO" | null | undefined;
2798
+ maxRounds?: number | null | undefined;
2799
+ } | null | undefined;
2894
2800
  } | null | undefined;
2895
2801
  targetDate?: Date | null | undefined;
2896
2802
  };
@@ -2898,33 +2804,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
2898
2804
  type: "UPDATING";
2899
2805
  data: {
2900
2806
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
2901
- post?: {
2902
- status?: string | null | undefined;
2903
- title?: string | null | undefined;
2904
- description?: string | null | undefined;
2905
- brand?: string | null | undefined;
2906
- statusId?: number | null | undefined;
2907
- sizeId?: number | null | undefined;
2908
- colorIds?: number[] | null | undefined;
2909
- packageSizeId?: number | null | undefined;
2910
- price?: number | null | undefined;
2911
- currency?: string | null | undefined;
2912
- catalog?: string | null | undefined;
2913
- catalogId?: number | null | undefined;
2914
- colors?: string[] | null | undefined;
2915
- measurementLength?: number | null | undefined;
2916
- measurementWidth?: number | null | undefined;
2917
- photoUrls?: string[] | null | undefined;
2918
- size?: string | null | undefined;
2919
- isDraft?: boolean | null | undefined;
2920
- isArchived?: boolean | null | undefined;
2921
- isUnisex?: boolean | null | undefined;
2922
- availableQuantity?: number | null | undefined;
2923
- material?: number[] | null | undefined;
2924
- manufacturerLabelling?: string | null | undefined;
2925
- labels?: string[] | null | undefined;
2926
- isHidden?: boolean | null | undefined;
2927
- isDeleted?: boolean | null | undefined;
2807
+ payload?: {
2808
+ priceDropPayload?: {
2809
+ value: number;
2810
+ type: "PERCENTAGE" | "ABSOLUTE";
2811
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
2812
+ roundStep?: number | null | undefined;
2813
+ negotiationProfile?: "AUTO" | null | undefined;
2814
+ maxRounds?: number | null | undefined;
2815
+ } | null | undefined;
2928
2816
  } | null | undefined;
2929
2817
  targetDate?: Date | null | undefined;
2930
2818
  };
@@ -2935,7 +2823,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
2935
2823
  requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2936
2824
  targetHistoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2937
2825
  }, "strip", z.ZodTypeAny, {
2938
- 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";
2826
+ 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";
2939
2827
  id: string;
2940
2828
  createdAt: Date;
2941
2829
  itemId: number;
@@ -3152,33 +3040,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
3152
3040
  type: "UPDATING";
3153
3041
  data: {
3154
3042
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3155
- post?: {
3156
- status?: string | null | undefined;
3157
- title?: string | null | undefined;
3158
- description?: string | null | undefined;
3159
- brand?: string | null | undefined;
3160
- statusId?: number | null | undefined;
3161
- sizeId?: number | null | undefined;
3162
- colorIds?: number[] | null | undefined;
3163
- packageSizeId?: number | null | undefined;
3164
- price?: number | null | undefined;
3165
- currency?: string | null | undefined;
3166
- catalog?: string | null | undefined;
3167
- catalogId?: number | null | undefined;
3168
- colors?: string[] | null | undefined;
3169
- measurementLength?: number | null | undefined;
3170
- measurementWidth?: number | null | undefined;
3171
- photoUrls?: string[] | null | undefined;
3172
- size?: string | null | undefined;
3173
- isDraft?: boolean | null | undefined;
3174
- isArchived?: boolean | null | undefined;
3175
- isUnisex?: boolean | null | undefined;
3176
- availableQuantity?: number | null | undefined;
3177
- material?: number[] | null | undefined;
3178
- manufacturerLabelling?: string | null | undefined;
3179
- labels?: string[] | null | undefined;
3180
- isHidden?: boolean | null | undefined;
3181
- isDeleted?: boolean | null | undefined;
3043
+ payload?: {
3044
+ priceDropPayload?: {
3045
+ value: number;
3046
+ type: "PERCENTAGE" | "ABSOLUTE";
3047
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3048
+ roundStep?: number | null | undefined;
3049
+ negotiationProfile?: "AUTO" | null | undefined;
3050
+ maxRounds?: number | null | undefined;
3051
+ } | null | undefined;
3182
3052
  } | null | undefined;
3183
3053
  targetDate?: Date | null | undefined;
3184
3054
  };
@@ -3188,7 +3058,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
3188
3058
  requestId?: string | null | undefined;
3189
3059
  targetHistoryId?: string | null | undefined;
3190
3060
  }, {
3191
- 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";
3061
+ 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";
3192
3062
  id: string;
3193
3063
  createdAt: Date;
3194
3064
  itemId: number;
@@ -3405,33 +3275,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
3405
3275
  type: "UPDATING";
3406
3276
  data: {
3407
3277
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3408
- post?: {
3409
- status?: string | null | undefined;
3410
- title?: string | null | undefined;
3411
- description?: string | null | undefined;
3412
- brand?: string | null | undefined;
3413
- statusId?: number | null | undefined;
3414
- sizeId?: number | null | undefined;
3415
- colorIds?: number[] | null | undefined;
3416
- packageSizeId?: number | null | undefined;
3417
- price?: number | null | undefined;
3418
- currency?: string | null | undefined;
3419
- catalog?: string | null | undefined;
3420
- catalogId?: number | null | undefined;
3421
- colors?: string[] | null | undefined;
3422
- measurementLength?: number | null | undefined;
3423
- measurementWidth?: number | null | undefined;
3424
- photoUrls?: string[] | null | undefined;
3425
- size?: string | null | undefined;
3426
- isDraft?: boolean | null | undefined;
3427
- isArchived?: boolean | null | undefined;
3428
- isUnisex?: boolean | null | undefined;
3429
- availableQuantity?: number | null | undefined;
3430
- material?: number[] | null | undefined;
3431
- manufacturerLabelling?: string | null | undefined;
3432
- labels?: string[] | null | undefined;
3433
- isHidden?: boolean | null | undefined;
3434
- isDeleted?: boolean | null | undefined;
3278
+ payload?: {
3279
+ priceDropPayload?: {
3280
+ value: number;
3281
+ type: "PERCENTAGE" | "ABSOLUTE";
3282
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3283
+ roundStep?: number | null | undefined;
3284
+ negotiationProfile?: "AUTO" | null | undefined;
3285
+ maxRounds?: number | null | undefined;
3286
+ } | null | undefined;
3435
3287
  } | null | undefined;
3436
3288
  targetDate?: Date | null | undefined;
3437
3289
  };
@@ -3746,7 +3598,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
3746
3598
  sellingPlaceId?: number | null | undefined;
3747
3599
  feesSum?: number | null | undefined;
3748
3600
  lastHistory?: {
3749
- 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";
3601
+ 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";
3750
3602
  id: string;
3751
3603
  createdAt: Date;
3752
3604
  itemId: number;
@@ -3963,33 +3815,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
3963
3815
  type: "UPDATING";
3964
3816
  data: {
3965
3817
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
3966
- post?: {
3967
- status?: string | null | undefined;
3968
- title?: string | null | undefined;
3969
- description?: string | null | undefined;
3970
- brand?: string | null | undefined;
3971
- statusId?: number | null | undefined;
3972
- sizeId?: number | null | undefined;
3973
- colorIds?: number[] | null | undefined;
3974
- packageSizeId?: number | null | undefined;
3975
- price?: number | null | undefined;
3976
- currency?: string | null | undefined;
3977
- catalog?: string | null | undefined;
3978
- catalogId?: number | null | undefined;
3979
- colors?: string[] | null | undefined;
3980
- measurementLength?: number | null | undefined;
3981
- measurementWidth?: number | null | undefined;
3982
- photoUrls?: string[] | null | undefined;
3983
- size?: string | null | undefined;
3984
- isDraft?: boolean | null | undefined;
3985
- isArchived?: boolean | null | undefined;
3986
- isUnisex?: boolean | null | undefined;
3987
- availableQuantity?: number | null | undefined;
3988
- material?: number[] | null | undefined;
3989
- manufacturerLabelling?: string | null | undefined;
3990
- labels?: string[] | null | undefined;
3991
- isHidden?: boolean | null | undefined;
3992
- isDeleted?: boolean | null | undefined;
3818
+ payload?: {
3819
+ priceDropPayload?: {
3820
+ value: number;
3821
+ type: "PERCENTAGE" | "ABSOLUTE";
3822
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
3823
+ roundStep?: number | null | undefined;
3824
+ negotiationProfile?: "AUTO" | null | undefined;
3825
+ maxRounds?: number | null | undefined;
3826
+ } | null | undefined;
3993
3827
  } | null | undefined;
3994
3828
  targetDate?: Date | null | undefined;
3995
3829
  };
@@ -4114,7 +3948,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
4114
3948
  sellingPlaceId?: number | null | undefined;
4115
3949
  feesSum?: number | null | undefined;
4116
3950
  lastHistory?: {
4117
- 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";
3951
+ 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";
4118
3952
  id: string;
4119
3953
  createdAt: Date;
4120
3954
  itemId: number;
@@ -4331,33 +4165,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
4331
4165
  type: "UPDATING";
4332
4166
  data: {
4333
4167
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
4334
- post?: {
4335
- status?: string | null | undefined;
4336
- title?: string | null | undefined;
4337
- description?: string | null | undefined;
4338
- brand?: string | null | undefined;
4339
- statusId?: number | null | undefined;
4340
- sizeId?: number | null | undefined;
4341
- colorIds?: number[] | null | undefined;
4342
- packageSizeId?: number | null | undefined;
4343
- price?: number | null | undefined;
4344
- currency?: string | null | undefined;
4345
- catalog?: string | null | undefined;
4346
- catalogId?: number | null | undefined;
4347
- colors?: string[] | null | undefined;
4348
- measurementLength?: number | null | undefined;
4349
- measurementWidth?: number | null | undefined;
4350
- photoUrls?: string[] | null | undefined;
4351
- size?: string | null | undefined;
4352
- isDraft?: boolean | null | undefined;
4353
- isArchived?: boolean | null | undefined;
4354
- isUnisex?: boolean | null | undefined;
4355
- availableQuantity?: number | null | undefined;
4356
- material?: number[] | null | undefined;
4357
- manufacturerLabelling?: string | null | undefined;
4358
- labels?: string[] | null | undefined;
4359
- isHidden?: boolean | null | undefined;
4360
- isDeleted?: boolean | null | undefined;
4168
+ payload?: {
4169
+ priceDropPayload?: {
4170
+ value: number;
4171
+ type: "PERCENTAGE" | "ABSOLUTE";
4172
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4173
+ roundStep?: number | null | undefined;
4174
+ negotiationProfile?: "AUTO" | null | undefined;
4175
+ maxRounds?: number | null | undefined;
4176
+ } | null | undefined;
4361
4177
  } | null | undefined;
4362
4178
  targetDate?: Date | null | undefined;
4363
4179
  };
@@ -4484,7 +4300,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
4484
4300
  sellingPlaceId?: number | null | undefined;
4485
4301
  feesSum?: number | null | undefined;
4486
4302
  lastHistory?: {
4487
- 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";
4303
+ 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";
4488
4304
  id: string;
4489
4305
  createdAt: Date;
4490
4306
  itemId: number;
@@ -4701,33 +4517,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
4701
4517
  type: "UPDATING";
4702
4518
  data: {
4703
4519
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
4704
- post?: {
4705
- status?: string | null | undefined;
4706
- title?: string | null | undefined;
4707
- description?: string | null | undefined;
4708
- brand?: string | null | undefined;
4709
- statusId?: number | null | undefined;
4710
- sizeId?: number | null | undefined;
4711
- colorIds?: number[] | null | undefined;
4712
- packageSizeId?: number | null | undefined;
4713
- price?: number | null | undefined;
4714
- currency?: string | null | undefined;
4715
- catalog?: string | null | undefined;
4716
- catalogId?: number | null | undefined;
4717
- colors?: string[] | null | undefined;
4718
- measurementLength?: number | null | undefined;
4719
- measurementWidth?: number | null | undefined;
4720
- photoUrls?: string[] | null | undefined;
4721
- size?: string | null | undefined;
4722
- isDraft?: boolean | null | undefined;
4723
- isArchived?: boolean | null | undefined;
4724
- isUnisex?: boolean | null | undefined;
4725
- availableQuantity?: number | null | undefined;
4726
- material?: number[] | null | undefined;
4727
- manufacturerLabelling?: string | null | undefined;
4728
- labels?: string[] | null | undefined;
4729
- isHidden?: boolean | null | undefined;
4730
- isDeleted?: boolean | null | undefined;
4520
+ payload?: {
4521
+ priceDropPayload?: {
4522
+ value: number;
4523
+ type: "PERCENTAGE" | "ABSOLUTE";
4524
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
4525
+ roundStep?: number | null | undefined;
4526
+ negotiationProfile?: "AUTO" | null | undefined;
4527
+ maxRounds?: number | null | undefined;
4528
+ } | null | undefined;
4731
4529
  } | null | undefined;
4732
4530
  targetDate?: Date | null | undefined;
4733
4531
  };
@@ -5042,7 +4840,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
5042
4840
  sellingPlaceId?: number | null | undefined;
5043
4841
  feesSum?: number | null | undefined;
5044
4842
  lastHistory?: {
5045
- 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";
4843
+ 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";
5046
4844
  id: string;
5047
4845
  createdAt: Date;
5048
4846
  itemId: number;
@@ -5259,33 +5057,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
5259
5057
  type: "UPDATING";
5260
5058
  data: {
5261
5059
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5262
- post?: {
5263
- status?: string | null | undefined;
5264
- title?: string | null | undefined;
5265
- description?: string | null | undefined;
5266
- brand?: string | null | undefined;
5267
- statusId?: number | null | undefined;
5268
- sizeId?: number | null | undefined;
5269
- colorIds?: number[] | null | undefined;
5270
- packageSizeId?: number | null | undefined;
5271
- price?: number | null | undefined;
5272
- currency?: string | null | undefined;
5273
- catalog?: string | null | undefined;
5274
- catalogId?: number | null | undefined;
5275
- colors?: string[] | null | undefined;
5276
- measurementLength?: number | null | undefined;
5277
- measurementWidth?: number | null | undefined;
5278
- photoUrls?: string[] | null | undefined;
5279
- size?: string | null | undefined;
5280
- isDraft?: boolean | null | undefined;
5281
- isArchived?: boolean | null | undefined;
5282
- isUnisex?: boolean | null | undefined;
5283
- availableQuantity?: number | null | undefined;
5284
- material?: number[] | null | undefined;
5285
- manufacturerLabelling?: string | null | undefined;
5286
- labels?: string[] | null | undefined;
5287
- isHidden?: boolean | null | undefined;
5288
- isDeleted?: boolean | null | undefined;
5060
+ payload?: {
5061
+ priceDropPayload?: {
5062
+ value: number;
5063
+ type: "PERCENTAGE" | "ABSOLUTE";
5064
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5065
+ roundStep?: number | null | undefined;
5066
+ negotiationProfile?: "AUTO" | null | undefined;
5067
+ maxRounds?: number | null | undefined;
5068
+ } | null | undefined;
5289
5069
  } | null | undefined;
5290
5070
  targetDate?: Date | null | undefined;
5291
5071
  };
@@ -5606,7 +5386,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
5606
5386
  sellingPlaceId?: number | null | undefined;
5607
5387
  feesSum?: number | null | undefined;
5608
5388
  lastHistory?: {
5609
- 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";
5389
+ 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";
5610
5390
  id: string;
5611
5391
  createdAt: Date;
5612
5392
  itemId: number;
@@ -5823,33 +5603,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
5823
5603
  type: "UPDATING";
5824
5604
  data: {
5825
5605
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
5826
- post?: {
5827
- status?: string | null | undefined;
5828
- title?: string | null | undefined;
5829
- description?: string | null | undefined;
5830
- brand?: string | null | undefined;
5831
- statusId?: number | null | undefined;
5832
- sizeId?: number | null | undefined;
5833
- colorIds?: number[] | null | undefined;
5834
- packageSizeId?: number | null | undefined;
5835
- price?: number | null | undefined;
5836
- currency?: string | null | undefined;
5837
- catalog?: string | null | undefined;
5838
- catalogId?: number | null | undefined;
5839
- colors?: string[] | null | undefined;
5840
- measurementLength?: number | null | undefined;
5841
- measurementWidth?: number | null | undefined;
5842
- photoUrls?: string[] | null | undefined;
5843
- size?: string | null | undefined;
5844
- isDraft?: boolean | null | undefined;
5845
- isArchived?: boolean | null | undefined;
5846
- isUnisex?: boolean | null | undefined;
5847
- availableQuantity?: number | null | undefined;
5848
- material?: number[] | null | undefined;
5849
- manufacturerLabelling?: string | null | undefined;
5850
- labels?: string[] | null | undefined;
5851
- isHidden?: boolean | null | undefined;
5852
- isDeleted?: boolean | null | undefined;
5606
+ payload?: {
5607
+ priceDropPayload?: {
5608
+ value: number;
5609
+ type: "PERCENTAGE" | "ABSOLUTE";
5610
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
5611
+ roundStep?: number | null | undefined;
5612
+ negotiationProfile?: "AUTO" | null | undefined;
5613
+ maxRounds?: number | null | undefined;
5614
+ } | null | undefined;
5853
5615
  } | null | undefined;
5854
5616
  targetDate?: Date | null | undefined;
5855
5617
  };
@@ -6170,7 +5932,7 @@ export declare const UserOrdersSchema: z.ZodObject<{
6170
5932
  sellingPlaceId?: number | null | undefined;
6171
5933
  feesSum?: number | null | undefined;
6172
5934
  lastHistory?: {
6173
- 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";
5935
+ 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";
6174
5936
  id: string;
6175
5937
  createdAt: Date;
6176
5938
  itemId: number;
@@ -6387,33 +6149,15 @@ export declare const UserOrdersSchema: z.ZodObject<{
6387
6149
  type: "UPDATING";
6388
6150
  data: {
6389
6151
  platform: "EBAY" | "ETSY" | "SHOPIFY" | "VINTED" | "VESTIAIRE";
6390
- post?: {
6391
- status?: string | null | undefined;
6392
- title?: string | null | undefined;
6393
- description?: string | null | undefined;
6394
- brand?: string | null | undefined;
6395
- statusId?: number | null | undefined;
6396
- sizeId?: number | null | undefined;
6397
- colorIds?: number[] | null | undefined;
6398
- packageSizeId?: number | null | undefined;
6399
- price?: number | null | undefined;
6400
- currency?: string | null | undefined;
6401
- catalog?: string | null | undefined;
6402
- catalogId?: number | null | undefined;
6403
- colors?: string[] | null | undefined;
6404
- measurementLength?: number | null | undefined;
6405
- measurementWidth?: number | null | undefined;
6406
- photoUrls?: string[] | null | undefined;
6407
- size?: string | null | undefined;
6408
- isDraft?: boolean | null | undefined;
6409
- isArchived?: boolean | null | undefined;
6410
- isUnisex?: boolean | null | undefined;
6411
- availableQuantity?: number | null | undefined;
6412
- material?: number[] | null | undefined;
6413
- manufacturerLabelling?: string | null | undefined;
6414
- labels?: string[] | null | undefined;
6415
- isHidden?: boolean | null | undefined;
6416
- isDeleted?: boolean | null | undefined;
6152
+ payload?: {
6153
+ priceDropPayload?: {
6154
+ value: number;
6155
+ type: "PERCENTAGE" | "ABSOLUTE";
6156
+ roundType?: "NEAREST" | "UP" | "DOWN" | "CUSTOM" | null | undefined;
6157
+ roundStep?: number | null | undefined;
6158
+ negotiationProfile?: "AUTO" | null | undefined;
6159
+ maxRounds?: number | null | undefined;
6160
+ } | null | undefined;
6417
6161
  } | null | undefined;
6418
6162
  targetDate?: Date | null | undefined;
6419
6163
  };