controlresell 2.8.51 → 2.8.52

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 (182) hide show
  1. package/package.json +9 -10
  2. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts +1 -1
  3. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js +2 -2
  4. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.js.map +1 -1
  5. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.ts +2 -2
  6. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts +2 -2
  7. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts +6 -6
  8. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishRequest.d.ts +23 -71
  9. package/src/com/controlresell/api/requests/items/publish/PublishRequest.d.ts.map +1 -0
  10. package/src/com/controlresell/api/requests/items/publish/PublishRequest.js +11 -0
  11. package/src/com/controlresell/api/requests/items/publish/PublishRequest.js.map +1 -0
  12. package/src/com/controlresell/api/requests/items/publish/PublishRequest.ts +9 -0
  13. package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.d.ts → api/requests/items/publish/PublishRequestItems.d.ts} +19 -19
  14. package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.d.ts.map +1 -0
  15. package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.js → api/requests/items/publish/PublishRequestItems.js} +3 -3
  16. package/src/com/controlresell/api/requests/items/publish/PublishRequestItems.js.map +1 -0
  17. package/src/com/controlresell/{inventory/models/items/requests/PublishRequestItem.ts → api/requests/items/publish/PublishRequestItems.ts} +2 -2
  18. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts +2 -2
  19. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts +88 -88
  20. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.js +5 -5
  21. package/src/com/controlresell/api/requests/items/republish/RepublishRequest.js.map +1 -0
  22. package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.ts +5 -5
  23. package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts +22 -0
  24. package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.d.ts.map +1 -0
  25. package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js +12 -0
  26. package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.js.map +1 -0
  27. package/src/com/controlresell/api/requests/quizresponses/CreateQuizResponseRequest.ts +10 -0
  28. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts +28 -0
  29. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.d.ts.map +1 -0
  30. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js +14 -0
  31. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.js.map +1 -0
  32. package/src/com/controlresell/api/responses/quizresponses/QuizResponseBaseResponse.ts +12 -0
  33. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts +34 -0
  34. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.d.ts.map +1 -0
  35. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js +16 -0
  36. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.js.map +1 -0
  37. package/src/com/controlresell/api/responses/quizresponses/QuizResponseResponse.ts +14 -0
  38. package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts +10 -0
  39. package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.d.ts.map +1 -0
  40. package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js +8 -0
  41. package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.js.map +1 -0
  42. package/src/com/controlresell/api/responses/subscriptions/BillingPortalUrlResponse.ts +6 -0
  43. package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts +76 -0
  44. package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.d.ts.map +1 -0
  45. package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js +11 -0
  46. package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.js.map +1 -0
  47. package/src/com/controlresell/api/responses/subscriptions/SubscriptionStatus.ts +9 -0
  48. package/src/com/controlresell/auth/models/preferences/Preference.d.ts +20 -20
  49. package/src/com/controlresell/auth/models/preferences/PreferenceWithCase.d.ts +56 -56
  50. package/src/com/controlresell/auth/models/preferences/PreferenceWithChildren.d.ts +46 -46
  51. package/src/com/controlresell/auth/models/preferences/cases/CreatePreferenceCasePayload.d.ts +14 -14
  52. package/src/com/controlresell/auth/models/preferences/cases/PartialPreferenceCasePayload.d.ts +12 -12
  53. package/src/com/controlresell/auth/models/preferences/cases/PreferenceCase.d.ts +14 -14
  54. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleDistributionMode.d.ts +8 -8
  55. package/src/com/controlresell/auth/models/preferences/payloads/actions/LifecycleTimeSlot.d.ts +2 -2
  56. package/src/com/controlresell/auth/models/preferences/payloads/actions/ManualLifecycleDistributionMode.d.ts +4 -4
  57. package/src/com/controlresell/auth/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +6 -6
  58. package/src/com/controlresell/auth/models/preferences/queue/PreferenceNextActionPayload.d.ts +68 -68
  59. package/src/com/controlresell/auth/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +10 -10
  60. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariant.d.ts +10 -10
  61. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +16 -16
  62. package/src/com/controlresell/auth/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +10 -10
  63. package/src/com/controlresell/auth/models/users/platforms/UpdateUserOnPlatformPayload.d.ts +2 -2
  64. package/src/com/controlresell/inbox/models/conversations/Conversation.d.ts +2 -2
  65. package/src/com/controlresell/inbox/models/conversations/ConversationOnPlatformUpdateRequest.d.ts +6 -6
  66. package/src/com/controlresell/inbox/models/conversations/ConversationUpdate.d.ts +4 -4
  67. package/src/com/controlresell/inbox/models/conversations/UserConversations.d.ts +4 -4
  68. package/src/com/controlresell/inbox/models/transactions/Transaction.d.ts +10 -10
  69. package/src/com/controlresell/inbox/models/transactions/items/ItemInTransaction.d.ts +4 -4
  70. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts +130 -152
  71. package/src/com/controlresell/inbox/models/transactions/items/TransactionWithItems.d.ts.map +1 -1
  72. package/src/com/controlresell/inventory/models/fees/Fee.d.ts +4 -4
  73. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts +118 -140
  74. package/src/com/controlresell/inventory/models/items/CreatedItems.d.ts.map +1 -1
  75. package/src/com/controlresell/inventory/models/items/Item.d.ts +84 -102
  76. package/src/com/controlresell/inventory/models/items/Item.d.ts.map +1 -1
  77. package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts +39 -0
  78. package/src/com/controlresell/inventory/models/items/ItemFiltersContext.d.ts.map +1 -1
  79. package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js +4 -1
  80. package/src/com/controlresell/inventory/models/items/ItemFiltersContext.js.map +1 -1
  81. package/src/com/controlresell/inventory/models/items/ItemFiltersContext.ts +4 -1
  82. package/src/com/controlresell/inventory/models/items/ItemPayload.d.ts +2 -2
  83. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts +114 -136
  84. package/src/com/controlresell/inventory/models/items/ItemUpdate.d.ts.map +1 -1
  85. package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts +114 -136
  86. package/src/com/controlresell/inventory/models/items/ItemsWithFilters.d.ts.map +1 -1
  87. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts +118 -140
  88. package/src/com/controlresell/inventory/models/items/UpdatedItem.d.ts.map +1 -1
  89. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts +42 -56
  90. package/src/com/controlresell/inventory/models/items/history/CreateItemHistoryPayload.d.ts.map +1 -1
  91. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts +44 -58
  92. package/src/com/controlresell/inventory/models/items/history/ItemHistory.d.ts.map +1 -1
  93. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts +56 -76
  94. package/src/com/controlresell/inventory/models/items/history/ItemHistoryDecodedPayload.d.ts.map +1 -1
  95. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js +2 -2
  96. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.js.map +1 -1
  97. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryImageProcessingDone.ts +2 -2
  98. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts +4 -10
  99. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.d.ts.map +1 -1
  100. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js +1 -3
  101. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.js.map +1 -1
  102. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingPayload.ts +1 -3
  103. package/src/com/controlresell/inventory/models/items/history/data/ItemHistoryRepublishingRetryPayload.d.ts +10 -10
  104. package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.d.ts → images/ImageVariation.d.ts} +3 -3
  105. package/src/com/controlresell/inventory/models/items/images/ImageVariation.d.ts.map +1 -0
  106. package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.js → images/ImageVariation.js} +3 -3
  107. package/src/com/controlresell/inventory/models/items/images/ImageVariation.js.map +1 -0
  108. package/src/com/controlresell/inventory/models/items/{history/data/RepublishImageVariation.ts → images/ImageVariation.ts} +2 -2
  109. package/src/com/controlresell/inventory/models/items/labels/ItemLabel.d.ts +4 -4
  110. package/src/com/controlresell/inventory/models/items/platforms/ItemOnPlatform.d.ts +2 -2
  111. package/src/com/controlresell/inventory/models/metadata/brands/Brand.d.ts +2 -2
  112. package/src/com/controlresell/inventory/models/metadata/labels/Label.d.ts +2 -2
  113. package/src/com/controlresell/inventory/models/metadata/places/Place.d.ts +2 -2
  114. package/src/com/controlresell/models/filters/SavedFilters.d.ts +57 -0
  115. package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
  116. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +57 -0
  117. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
  118. package/src/com/controlresell/models/platforms/orders/Order.d.ts +48 -48
  119. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts +328 -354
  120. package/src/com/controlresell/models/platforms/orders/UserOrders.d.ts.map +1 -1
  121. package/src/com/controlresell/models/platforms/orders/items/ItemInOrder.d.ts +4 -4
  122. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +230 -252
  123. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts.map +1 -1
  124. package/src/com/controlresell/models/users/User.d.ts +2 -2
  125. package/src/com/controlresell/models/users/ws/ResourceUpdate.d.ts +18 -18
  126. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +272 -316
  127. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts.map +1 -1
  128. package/src/com/controlresell/models/users/ws/UserWsResourcePayload.d.ts +24 -24
  129. package/src/com/controlresell/notify/models/notifications/NotificationPreference.d.ts +2 -2
  130. package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts +28 -0
  131. package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.d.ts.map +1 -0
  132. package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js +14 -0
  133. package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.js.map +1 -0
  134. package/src/com/controlresell/subscriptions/api/CreateSubscriptionHistoryPayload.ts +12 -0
  135. package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts +40 -0
  136. package/src/com/controlresell/subscriptions/models/SubscriptionHistory.d.ts.map +1 -0
  137. package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js +18 -0
  138. package/src/com/controlresell/subscriptions/models/SubscriptionHistory.js.map +1 -0
  139. package/src/com/controlresell/subscriptions/models/SubscriptionHistory.ts +16 -0
  140. package/src/index.d.ts +15 -11
  141. package/src/index.d.ts.map +1 -1
  142. package/src/index.js +36 -28
  143. package/src/index.js.map +1 -1
  144. package/src/index.ts +15 -11
  145. package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.d.ts.map +0 -1
  146. package/src/com/controlresell/inventory/models/items/history/data/RepublishImageVariation.js.map +0 -1
  147. package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts +0 -19
  148. package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.d.ts.map +0 -1
  149. package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js +0 -11
  150. package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.js.map +0 -1
  151. package/src/com/controlresell/inventory/models/items/platforms/PlatformInfo.ts +0 -9
  152. package/src/com/controlresell/inventory/models/items/requests/PublishRequest.d.ts.map +0 -1
  153. package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js +0 -18
  154. package/src/com/controlresell/inventory/models/items/requests/PublishRequest.js.map +0 -1
  155. package/src/com/controlresell/inventory/models/items/requests/PublishRequest.ts +0 -16
  156. package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.d.ts.map +0 -1
  157. package/src/com/controlresell/inventory/models/items/requests/PublishRequestItem.js.map +0 -1
  158. package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts +0 -225
  159. package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.d.ts.map +0 -1
  160. package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js +0 -13
  161. package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.js.map +0 -1
  162. package/src/com/controlresell/inventory/models/items/requests/PublishRequestWithItem.ts +0 -11
  163. package/src/com/controlresell/inventory/models/items/requests/RepublishRequest.js.map +0 -1
  164. package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts +0 -305
  165. package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.d.ts.map +0 -1
  166. package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js +0 -12
  167. package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.js.map +0 -1
  168. package/src/com/controlresell/inventory/models/items/requests/RepublishRequestWithItem.ts +0 -10
  169. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/pricedrop}/PriceDropRequest.d.ts.map +0 -0
  170. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.d.ts.map +0 -0
  171. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js +0 -0
  172. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.js.map +0 -0
  173. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/AutomaticPublishRequestItem.ts +0 -0
  174. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.d.ts.map +0 -0
  175. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js +0 -0
  176. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.js.map +0 -0
  177. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/ManualPublishRequestItem.ts +0 -0
  178. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.d.ts.map +0 -0
  179. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js +0 -0
  180. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.js.map +0 -0
  181. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/publish}/PublishTimeSlot.ts +0 -0
  182. /package/src/com/controlresell/{inventory/models/items/requests → api/requests/items/republish}/RepublishRequest.d.ts.map +0 -0
@@ -86,10 +86,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
86
86
  value: number;
87
87
  type: string;
88
88
  id: string | number;
89
- name: string;
90
89
  createdAt: Date;
91
- userId: string | number;
92
90
  updatedAt: Date;
91
+ name: string;
92
+ userId: string | number;
93
93
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
94
94
  startDate: Date;
95
95
  active: boolean;
@@ -101,10 +101,10 @@ export declare const ItemUpdateSchema: z.ZodObject<{
101
101
  value: number;
102
102
  type: string;
103
103
  id: string | number;
104
- name: string;
105
104
  createdAt: Date;
106
- userId: string | number;
107
105
  updatedAt: Date;
106
+ name: string;
107
+ userId: string | number;
108
108
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
109
109
  startDate: Date;
110
110
  active: boolean;
@@ -126,15 +126,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
126
126
  itemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  id: string | number;
129
- name: string;
130
129
  createdAt: Date;
130
+ name: string;
131
131
  isUserLabel: boolean;
132
132
  itemCount?: number | null | undefined;
133
133
  userId?: string | number | null | undefined;
134
134
  }, {
135
135
  id: string | number;
136
- name: string;
137
136
  createdAt: Date;
137
+ name: string;
138
138
  isUserLabel: boolean;
139
139
  itemCount?: number | null | undefined;
140
140
  userId?: string | number | null | undefined;
@@ -144,8 +144,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
144
144
  labelId: string | number;
145
145
  label?: {
146
146
  id: string | number;
147
- name: string;
148
147
  createdAt: Date;
148
+ name: string;
149
149
  isUserLabel: boolean;
150
150
  itemCount?: number | null | undefined;
151
151
  userId?: string | number | null | undefined;
@@ -155,8 +155,8 @@ export declare const ItemUpdateSchema: z.ZodObject<{
155
155
  labelId: string | number;
156
156
  label?: {
157
157
  id: string | number;
158
- name: string;
159
158
  createdAt: Date;
159
+ name: string;
160
160
  isUserLabel: boolean;
161
161
  itemCount?: number | null | undefined;
162
162
  userId?: string | number | null | undefined;
@@ -789,12 +789,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
789
789
  maxRounds?: number | null | undefined;
790
790
  }>>>;
791
791
  isTransfer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
792
- sourceAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
792
  targetAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
794
- targetUserId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
795
793
  }, "strip", z.ZodTypeAny, {
796
794
  platform: "ETSY" | "SHOPIFY" | "VINTED";
797
- publishingDate?: Date | null | undefined;
798
795
  priceDropPayload?: {
799
796
  value: number;
800
797
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -802,13 +799,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
802
799
  roundStep?: number | null | undefined;
803
800
  maxRounds?: number | null | undefined;
804
801
  } | null | undefined;
805
- isTransfer?: boolean | null | undefined;
806
- sourceAccountId?: string | null | undefined;
802
+ publishingDate?: Date | null | undefined;
807
803
  targetAccountId?: string | null | undefined;
808
- targetUserId?: number | null | undefined;
804
+ isTransfer?: boolean | null | undefined;
809
805
  }, {
810
806
  platform: "ETSY" | "SHOPIFY" | "VINTED";
811
- publishingDate?: Date | null | undefined;
812
807
  priceDropPayload?: {
813
808
  value: number;
814
809
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -816,17 +811,15 @@ export declare const ItemUpdateSchema: z.ZodObject<{
816
811
  roundStep?: number | null | undefined;
817
812
  maxRounds?: number | null | undefined;
818
813
  } | null | undefined;
819
- isTransfer?: boolean | null | undefined;
820
- sourceAccountId?: string | null | undefined;
814
+ publishingDate?: Date | null | undefined;
821
815
  targetAccountId?: string | null | undefined;
822
- targetUserId?: number | null | undefined;
816
+ isTransfer?: boolean | null | undefined;
823
817
  }>;
824
818
  type: z.ZodLiteral<"REPUBLISHING">;
825
819
  }, "strip", z.ZodTypeAny, {
826
820
  type: "REPUBLISHING";
827
821
  data: {
828
822
  platform: "ETSY" | "SHOPIFY" | "VINTED";
829
- publishingDate?: Date | null | undefined;
830
823
  priceDropPayload?: {
831
824
  value: number;
832
825
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -834,16 +827,14 @@ export declare const ItemUpdateSchema: z.ZodObject<{
834
827
  roundStep?: number | null | undefined;
835
828
  maxRounds?: number | null | undefined;
836
829
  } | null | undefined;
837
- isTransfer?: boolean | null | undefined;
838
- sourceAccountId?: string | null | undefined;
830
+ publishingDate?: Date | null | undefined;
839
831
  targetAccountId?: string | null | undefined;
840
- targetUserId?: number | null | undefined;
832
+ isTransfer?: boolean | null | undefined;
841
833
  };
842
834
  }, {
843
835
  type: "REPUBLISHING";
844
836
  data: {
845
837
  platform: "ETSY" | "SHOPIFY" | "VINTED";
846
- publishingDate?: Date | null | undefined;
847
838
  priceDropPayload?: {
848
839
  value: number;
849
840
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -851,10 +842,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
851
842
  roundStep?: number | null | undefined;
852
843
  maxRounds?: number | null | undefined;
853
844
  } | null | undefined;
854
- isTransfer?: boolean | null | undefined;
855
- sourceAccountId?: string | null | undefined;
845
+ publishingDate?: Date | null | undefined;
856
846
  targetAccountId?: string | null | undefined;
857
- targetUserId?: number | null | undefined;
847
+ isTransfer?: boolean | null | undefined;
858
848
  };
859
849
  }>, z.ZodObject<{
860
850
  data: z.ZodObject<{
@@ -901,11 +891,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
901
891
  attemptNumber: number;
902
892
  previousHistoryId: string;
903
893
  originalFailureDate: Date;
904
- fields?: {
905
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
906
- autoFixable: boolean;
907
- error?: string | null | undefined;
908
- }[] | null | undefined;
909
894
  priceDropPayload?: {
910
895
  value: number;
911
896
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -913,17 +898,17 @@ export declare const ItemUpdateSchema: z.ZodObject<{
913
898
  roundStep?: number | null | undefined;
914
899
  maxRounds?: number | null | undefined;
915
900
  } | null | undefined;
901
+ fields?: {
902
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
903
+ autoFixable: boolean;
904
+ error?: string | null | undefined;
905
+ }[] | null | undefined;
916
906
  }, {
917
907
  maxAttempts: number;
918
908
  platform: "ETSY" | "SHOPIFY" | "VINTED";
919
909
  attemptNumber: number;
920
910
  previousHistoryId: string;
921
911
  originalFailureDate: Date;
922
- fields?: {
923
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
924
- autoFixable: boolean;
925
- error?: string | null | undefined;
926
- }[] | null | undefined;
927
912
  priceDropPayload?: {
928
913
  value: number;
929
914
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -931,6 +916,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
931
916
  roundStep?: number | null | undefined;
932
917
  maxRounds?: number | null | undefined;
933
918
  } | null | undefined;
919
+ fields?: {
920
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
921
+ autoFixable: boolean;
922
+ error?: string | null | undefined;
923
+ }[] | null | undefined;
934
924
  }>;
935
925
  type: z.ZodLiteral<"REPUBLISHING_RETRY">;
936
926
  }, "strip", z.ZodTypeAny, {
@@ -941,11 +931,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
941
931
  attemptNumber: number;
942
932
  previousHistoryId: string;
943
933
  originalFailureDate: Date;
944
- fields?: {
945
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
946
- autoFixable: boolean;
947
- error?: string | null | undefined;
948
- }[] | null | undefined;
949
934
  priceDropPayload?: {
950
935
  value: number;
951
936
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -953,6 +938,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
953
938
  roundStep?: number | null | undefined;
954
939
  maxRounds?: number | null | undefined;
955
940
  } | null | undefined;
941
+ fields?: {
942
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
943
+ autoFixable: boolean;
944
+ error?: string | null | undefined;
945
+ }[] | null | undefined;
956
946
  };
957
947
  }, {
958
948
  type: "REPUBLISHING_RETRY";
@@ -962,11 +952,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
962
952
  attemptNumber: number;
963
953
  previousHistoryId: string;
964
954
  originalFailureDate: Date;
965
- fields?: {
966
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
967
- autoFixable: boolean;
968
- error?: string | null | undefined;
969
- }[] | null | undefined;
970
955
  priceDropPayload?: {
971
956
  value: number;
972
957
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -974,6 +959,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
974
959
  roundStep?: number | null | undefined;
975
960
  maxRounds?: number | null | undefined;
976
961
  } | null | undefined;
962
+ fields?: {
963
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
964
+ autoFixable: boolean;
965
+ error?: string | null | undefined;
966
+ }[] | null | undefined;
977
967
  };
978
968
  }>, z.ZodObject<{
979
969
  data: z.ZodObject<{
@@ -1081,6 +1071,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1081
1071
  id: string;
1082
1072
  createdAt: Date;
1083
1073
  itemId: string | number;
1074
+ requestId?: string | null | undefined;
1084
1075
  data?: {
1085
1076
  type: "ACTION_CANCELED";
1086
1077
  data: {
@@ -1178,7 +1169,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1178
1169
  type: "REPUBLISHING";
1179
1170
  data: {
1180
1171
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1181
- publishingDate?: Date | null | undefined;
1182
1172
  priceDropPayload?: {
1183
1173
  value: number;
1184
1174
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1186,10 +1176,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1186
1176
  roundStep?: number | null | undefined;
1187
1177
  maxRounds?: number | null | undefined;
1188
1178
  } | null | undefined;
1189
- isTransfer?: boolean | null | undefined;
1190
- sourceAccountId?: string | null | undefined;
1179
+ publishingDate?: Date | null | undefined;
1191
1180
  targetAccountId?: string | null | undefined;
1192
- targetUserId?: number | null | undefined;
1181
+ isTransfer?: boolean | null | undefined;
1193
1182
  };
1194
1183
  } | {
1195
1184
  type: "REPUBLISHING_RETRY";
@@ -1199,11 +1188,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1199
1188
  attemptNumber: number;
1200
1189
  previousHistoryId: string;
1201
1190
  originalFailureDate: Date;
1202
- fields?: {
1203
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1204
- autoFixable: boolean;
1205
- error?: string | null | undefined;
1206
- }[] | null | undefined;
1207
1191
  priceDropPayload?: {
1208
1192
  value: number;
1209
1193
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1211,6 +1195,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1211
1195
  roundStep?: number | null | undefined;
1212
1196
  maxRounds?: number | null | undefined;
1213
1197
  } | null | undefined;
1198
+ fields?: {
1199
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1200
+ autoFixable: boolean;
1201
+ error?: string | null | undefined;
1202
+ }[] | null | undefined;
1214
1203
  };
1215
1204
  } | {
1216
1205
  type: "SCHEDULED";
@@ -1234,13 +1223,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1234
1223
  };
1235
1224
  } | null | undefined;
1236
1225
  accountId?: string | null | undefined;
1237
- requestId?: string | null | undefined;
1238
1226
  targetDate?: Date | null | undefined;
1239
1227
  }, {
1240
1228
  type: "CANCELED" | "SCHEDULED" | "DELETED" | "ARCHIVED" | "DISPUTE" | "IMPORTED" | "UNARCHIVED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED_RETRY" | "REPUBLISHING_RETRY" | "PUBLISH_CANCELED" | "REPUBLISHING" | "IMAGE_PROCESSING_DONE" | "REPUBLISHED" | "REPUBLISH_CANCELED" | "UPDATING" | "UPDATED" | "UPDATE_CANCELED" | "DELETING" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND" | "LIFECYCLE_STARTED" | "LIFECYCLE_COMPLETED" | "LIFECYCLE_CANCELED";
1241
1229
  id: string;
1242
1230
  createdAt: Date;
1243
1231
  itemId: string | number;
1232
+ requestId?: string | null | undefined;
1244
1233
  data?: {
1245
1234
  type: "ACTION_CANCELED";
1246
1235
  data: {
@@ -1338,7 +1327,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1338
1327
  type: "REPUBLISHING";
1339
1328
  data: {
1340
1329
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1341
- publishingDate?: Date | null | undefined;
1342
1330
  priceDropPayload?: {
1343
1331
  value: number;
1344
1332
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1346,10 +1334,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1346
1334
  roundStep?: number | null | undefined;
1347
1335
  maxRounds?: number | null | undefined;
1348
1336
  } | null | undefined;
1349
- isTransfer?: boolean | null | undefined;
1350
- sourceAccountId?: string | null | undefined;
1337
+ publishingDate?: Date | null | undefined;
1351
1338
  targetAccountId?: string | null | undefined;
1352
- targetUserId?: number | null | undefined;
1339
+ isTransfer?: boolean | null | undefined;
1353
1340
  };
1354
1341
  } | {
1355
1342
  type: "REPUBLISHING_RETRY";
@@ -1359,11 +1346,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1359
1346
  attemptNumber: number;
1360
1347
  previousHistoryId: string;
1361
1348
  originalFailureDate: Date;
1362
- fields?: {
1363
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1364
- autoFixable: boolean;
1365
- error?: string | null | undefined;
1366
- }[] | null | undefined;
1367
1349
  priceDropPayload?: {
1368
1350
  value: number;
1369
1351
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1371,6 +1353,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1371
1353
  roundStep?: number | null | undefined;
1372
1354
  maxRounds?: number | null | undefined;
1373
1355
  } | null | undefined;
1356
+ fields?: {
1357
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1358
+ autoFixable: boolean;
1359
+ error?: string | null | undefined;
1360
+ }[] | null | undefined;
1374
1361
  };
1375
1362
  } | {
1376
1363
  type: "SCHEDULED";
@@ -1394,7 +1381,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1394
1381
  };
1395
1382
  } | null | undefined;
1396
1383
  accountId?: string | null | undefined;
1397
- requestId?: string | null | undefined;
1398
1384
  targetDate?: Date | null | undefined;
1399
1385
  }>>>;
1400
1386
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -1464,11 +1450,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1464
1450
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
1465
1451
  id: string;
1466
1452
  createdAt: Date;
1453
+ updatedAt: Date;
1467
1454
  accountId: string;
1468
1455
  itemId: string | number;
1469
1456
  platformId: string;
1470
1457
  platformUrl: string;
1471
- updatedAt: Date;
1472
1458
  platformPrice: number;
1473
1459
  publishedAt: Date;
1474
1460
  favoritesCount?: number | null | undefined;
@@ -1493,11 +1479,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1493
1479
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
1494
1480
  id: string;
1495
1481
  createdAt: Date;
1482
+ updatedAt: Date;
1496
1483
  accountId: string;
1497
1484
  itemId: string | number;
1498
1485
  platformId: string;
1499
1486
  platformUrl: string;
1500
- updatedAt: Date;
1501
1487
  platformPrice: number;
1502
1488
  publishedAt: Date;
1503
1489
  favoritesCount?: number | null | undefined;
@@ -1523,19 +1509,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1523
1509
  updatedAt: z.ZodDate;
1524
1510
  }, "strip", z.ZodTypeAny, {
1525
1511
  id: string | number;
1526
- name: string;
1527
1512
  createdAt: Date;
1528
- userId: string | number;
1529
1513
  updatedAt: Date;
1514
+ name: string;
1515
+ userId: string | number;
1530
1516
  sold: boolean;
1517
+ state?: number | null | undefined;
1531
1518
  fees?: {
1532
1519
  value: number;
1533
1520
  type: string;
1534
1521
  id: string | number;
1535
- name: string;
1536
1522
  createdAt: Date;
1537
- userId: string | number;
1538
1523
  updatedAt: Date;
1524
+ name: string;
1525
+ userId: string | number;
1539
1526
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
1540
1527
  startDate: Date;
1541
1528
  active: boolean;
@@ -1553,14 +1540,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1553
1540
  estimatedPrice?: number | null | undefined;
1554
1541
  purchaseDate?: Date | null | undefined;
1555
1542
  sellingDate?: Date | null | undefined;
1556
- state?: number | null | undefined;
1557
1543
  labels?: {
1558
1544
  itemId: string | number;
1559
1545
  labelId: string | number;
1560
1546
  label?: {
1561
1547
  id: string | number;
1562
- name: string;
1563
1548
  createdAt: Date;
1549
+ name: string;
1564
1550
  isUserLabel: boolean;
1565
1551
  itemCount?: number | null | undefined;
1566
1552
  userId?: string | number | null | undefined;
@@ -1582,11 +1568,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1582
1568
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
1583
1569
  id: string;
1584
1570
  createdAt: Date;
1571
+ updatedAt: Date;
1585
1572
  accountId: string;
1586
1573
  itemId: string | number;
1587
1574
  platformId: string;
1588
1575
  platformUrl: string;
1589
- updatedAt: Date;
1590
1576
  platformPrice: number;
1591
1577
  publishedAt: Date;
1592
1578
  favoritesCount?: number | null | undefined;
@@ -1645,6 +1631,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1645
1631
  id: string;
1646
1632
  createdAt: Date;
1647
1633
  itemId: string | number;
1634
+ requestId?: string | null | undefined;
1648
1635
  data?: {
1649
1636
  type: "ACTION_CANCELED";
1650
1637
  data: {
@@ -1742,7 +1729,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1742
1729
  type: "REPUBLISHING";
1743
1730
  data: {
1744
1731
  platform: "ETSY" | "SHOPIFY" | "VINTED";
1745
- publishingDate?: Date | null | undefined;
1746
1732
  priceDropPayload?: {
1747
1733
  value: number;
1748
1734
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1750,10 +1736,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1750
1736
  roundStep?: number | null | undefined;
1751
1737
  maxRounds?: number | null | undefined;
1752
1738
  } | null | undefined;
1753
- isTransfer?: boolean | null | undefined;
1754
- sourceAccountId?: string | null | undefined;
1739
+ publishingDate?: Date | null | undefined;
1755
1740
  targetAccountId?: string | null | undefined;
1756
- targetUserId?: number | null | undefined;
1741
+ isTransfer?: boolean | null | undefined;
1757
1742
  };
1758
1743
  } | {
1759
1744
  type: "REPUBLISHING_RETRY";
@@ -1763,11 +1748,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1763
1748
  attemptNumber: number;
1764
1749
  previousHistoryId: string;
1765
1750
  originalFailureDate: Date;
1766
- fields?: {
1767
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1768
- autoFixable: boolean;
1769
- error?: string | null | undefined;
1770
- }[] | null | undefined;
1771
1751
  priceDropPayload?: {
1772
1752
  value: number;
1773
1753
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -1775,6 +1755,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1775
1755
  roundStep?: number | null | undefined;
1776
1756
  maxRounds?: number | null | undefined;
1777
1757
  } | null | undefined;
1758
+ fields?: {
1759
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
1760
+ autoFixable: boolean;
1761
+ error?: string | null | undefined;
1762
+ }[] | null | undefined;
1778
1763
  };
1779
1764
  } | {
1780
1765
  type: "SCHEDULED";
@@ -1798,24 +1783,24 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1798
1783
  };
1799
1784
  } | null | undefined;
1800
1785
  accountId?: string | null | undefined;
1801
- requestId?: string | null | undefined;
1802
1786
  targetDate?: Date | null | undefined;
1803
1787
  } | null | undefined;
1804
1788
  }, {
1805
1789
  id: string | number;
1806
- name: string;
1807
1790
  createdAt: Date;
1808
- userId: string | number;
1809
1791
  updatedAt: Date;
1792
+ name: string;
1793
+ userId: string | number;
1810
1794
  sold: boolean;
1795
+ state?: number | null | undefined;
1811
1796
  fees?: {
1812
1797
  value: number;
1813
1798
  type: string;
1814
1799
  id: string | number;
1815
- name: string;
1816
1800
  createdAt: Date;
1817
- userId: string | number;
1818
1801
  updatedAt: Date;
1802
+ name: string;
1803
+ userId: string | number;
1819
1804
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
1820
1805
  startDate: Date;
1821
1806
  active: boolean;
@@ -1833,14 +1818,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1833
1818
  estimatedPrice?: number | null | undefined;
1834
1819
  purchaseDate?: Date | null | undefined;
1835
1820
  sellingDate?: Date | null | undefined;
1836
- state?: number | null | undefined;
1837
1821
  labels?: {
1838
1822
  itemId: string | number;
1839
1823
  labelId: string | number;
1840
1824
  label?: {
1841
1825
  id: string | number;
1842
- name: string;
1843
1826
  createdAt: Date;
1827
+ name: string;
1844
1828
  isUserLabel: boolean;
1845
1829
  itemCount?: number | null | undefined;
1846
1830
  userId?: string | number | null | undefined;
@@ -1862,11 +1846,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1862
1846
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
1863
1847
  id: string;
1864
1848
  createdAt: Date;
1849
+ updatedAt: Date;
1865
1850
  accountId: string;
1866
1851
  itemId: string | number;
1867
1852
  platformId: string;
1868
1853
  platformUrl: string;
1869
- updatedAt: Date;
1870
1854
  platformPrice: number;
1871
1855
  publishedAt: Date;
1872
1856
  favoritesCount?: number | null | undefined;
@@ -1925,6 +1909,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
1925
1909
  id: string;
1926
1910
  createdAt: Date;
1927
1911
  itemId: string | number;
1912
+ requestId?: string | null | undefined;
1928
1913
  data?: {
1929
1914
  type: "ACTION_CANCELED";
1930
1915
  data: {
@@ -2022,7 +2007,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2022
2007
  type: "REPUBLISHING";
2023
2008
  data: {
2024
2009
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2025
- publishingDate?: Date | null | undefined;
2026
2010
  priceDropPayload?: {
2027
2011
  value: number;
2028
2012
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2030,10 +2014,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2030
2014
  roundStep?: number | null | undefined;
2031
2015
  maxRounds?: number | null | undefined;
2032
2016
  } | null | undefined;
2033
- isTransfer?: boolean | null | undefined;
2034
- sourceAccountId?: string | null | undefined;
2017
+ publishingDate?: Date | null | undefined;
2035
2018
  targetAccountId?: string | null | undefined;
2036
- targetUserId?: number | null | undefined;
2019
+ isTransfer?: boolean | null | undefined;
2037
2020
  };
2038
2021
  } | {
2039
2022
  type: "REPUBLISHING_RETRY";
@@ -2043,11 +2026,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2043
2026
  attemptNumber: number;
2044
2027
  previousHistoryId: string;
2045
2028
  originalFailureDate: Date;
2046
- fields?: {
2047
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2048
- autoFixable: boolean;
2049
- error?: string | null | undefined;
2050
- }[] | null | undefined;
2051
2029
  priceDropPayload?: {
2052
2030
  value: number;
2053
2031
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2055,6 +2033,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2055
2033
  roundStep?: number | null | undefined;
2056
2034
  maxRounds?: number | null | undefined;
2057
2035
  } | null | undefined;
2036
+ fields?: {
2037
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2038
+ autoFixable: boolean;
2039
+ error?: string | null | undefined;
2040
+ }[] | null | undefined;
2058
2041
  };
2059
2042
  } | {
2060
2043
  type: "SCHEDULED";
@@ -2078,7 +2061,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2078
2061
  };
2079
2062
  } | null | undefined;
2080
2063
  accountId?: string | null | undefined;
2081
- requestId?: string | null | undefined;
2082
2064
  targetDate?: Date | null | undefined;
2083
2065
  } | null | undefined;
2084
2066
  }>;
@@ -2087,19 +2069,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2087
2069
  userId: string | number;
2088
2070
  item: {
2089
2071
  id: string | number;
2090
- name: string;
2091
2072
  createdAt: Date;
2092
- userId: string | number;
2093
2073
  updatedAt: Date;
2074
+ name: string;
2075
+ userId: string | number;
2094
2076
  sold: boolean;
2077
+ state?: number | null | undefined;
2095
2078
  fees?: {
2096
2079
  value: number;
2097
2080
  type: string;
2098
2081
  id: string | number;
2099
- name: string;
2100
2082
  createdAt: Date;
2101
- userId: string | number;
2102
2083
  updatedAt: Date;
2084
+ name: string;
2085
+ userId: string | number;
2103
2086
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
2104
2087
  startDate: Date;
2105
2088
  active: boolean;
@@ -2117,14 +2100,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2117
2100
  estimatedPrice?: number | null | undefined;
2118
2101
  purchaseDate?: Date | null | undefined;
2119
2102
  sellingDate?: Date | null | undefined;
2120
- state?: number | null | undefined;
2121
2103
  labels?: {
2122
2104
  itemId: string | number;
2123
2105
  labelId: string | number;
2124
2106
  label?: {
2125
2107
  id: string | number;
2126
- name: string;
2127
2108
  createdAt: Date;
2109
+ name: string;
2128
2110
  isUserLabel: boolean;
2129
2111
  itemCount?: number | null | undefined;
2130
2112
  userId?: string | number | null | undefined;
@@ -2146,11 +2128,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2146
2128
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
2147
2129
  id: string;
2148
2130
  createdAt: Date;
2131
+ updatedAt: Date;
2149
2132
  accountId: string;
2150
2133
  itemId: string | number;
2151
2134
  platformId: string;
2152
2135
  platformUrl: string;
2153
- updatedAt: Date;
2154
2136
  platformPrice: number;
2155
2137
  publishedAt: Date;
2156
2138
  favoritesCount?: number | null | undefined;
@@ -2209,6 +2191,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2209
2191
  id: string;
2210
2192
  createdAt: Date;
2211
2193
  itemId: string | number;
2194
+ requestId?: string | null | undefined;
2212
2195
  data?: {
2213
2196
  type: "ACTION_CANCELED";
2214
2197
  data: {
@@ -2306,7 +2289,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2306
2289
  type: "REPUBLISHING";
2307
2290
  data: {
2308
2291
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2309
- publishingDate?: Date | null | undefined;
2310
2292
  priceDropPayload?: {
2311
2293
  value: number;
2312
2294
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2314,10 +2296,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2314
2296
  roundStep?: number | null | undefined;
2315
2297
  maxRounds?: number | null | undefined;
2316
2298
  } | null | undefined;
2317
- isTransfer?: boolean | null | undefined;
2318
- sourceAccountId?: string | null | undefined;
2299
+ publishingDate?: Date | null | undefined;
2319
2300
  targetAccountId?: string | null | undefined;
2320
- targetUserId?: number | null | undefined;
2301
+ isTransfer?: boolean | null | undefined;
2321
2302
  };
2322
2303
  } | {
2323
2304
  type: "REPUBLISHING_RETRY";
@@ -2327,11 +2308,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2327
2308
  attemptNumber: number;
2328
2309
  previousHistoryId: string;
2329
2310
  originalFailureDate: Date;
2330
- fields?: {
2331
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2332
- autoFixable: boolean;
2333
- error?: string | null | undefined;
2334
- }[] | null | undefined;
2335
2311
  priceDropPayload?: {
2336
2312
  value: number;
2337
2313
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2339,6 +2315,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2339
2315
  roundStep?: number | null | undefined;
2340
2316
  maxRounds?: number | null | undefined;
2341
2317
  } | null | undefined;
2318
+ fields?: {
2319
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2320
+ autoFixable: boolean;
2321
+ error?: string | null | undefined;
2322
+ }[] | null | undefined;
2342
2323
  };
2343
2324
  } | {
2344
2325
  type: "SCHEDULED";
@@ -2362,7 +2343,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2362
2343
  };
2363
2344
  } | null | undefined;
2364
2345
  accountId?: string | null | undefined;
2365
- requestId?: string | null | undefined;
2366
2346
  targetDate?: Date | null | undefined;
2367
2347
  } | null | undefined;
2368
2348
  };
@@ -2371,19 +2351,20 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2371
2351
  userId: string | number;
2372
2352
  item: {
2373
2353
  id: string | number;
2374
- name: string;
2375
2354
  createdAt: Date;
2376
- userId: string | number;
2377
2355
  updatedAt: Date;
2356
+ name: string;
2357
+ userId: string | number;
2378
2358
  sold: boolean;
2359
+ state?: number | null | undefined;
2379
2360
  fees?: {
2380
2361
  value: number;
2381
2362
  type: string;
2382
2363
  id: string | number;
2383
- name: string;
2384
2364
  createdAt: Date;
2385
- userId: string | number;
2386
2365
  updatedAt: Date;
2366
+ name: string;
2367
+ userId: string | number;
2387
2368
  recurrence: "UNIQUE" | "MONTHLY" | "YEARLY";
2388
2369
  startDate: Date;
2389
2370
  active: boolean;
@@ -2401,14 +2382,13 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2401
2382
  estimatedPrice?: number | null | undefined;
2402
2383
  purchaseDate?: Date | null | undefined;
2403
2384
  sellingDate?: Date | null | undefined;
2404
- state?: number | null | undefined;
2405
2385
  labels?: {
2406
2386
  itemId: string | number;
2407
2387
  labelId: string | number;
2408
2388
  label?: {
2409
2389
  id: string | number;
2410
- name: string;
2411
2390
  createdAt: Date;
2391
+ name: string;
2412
2392
  isUserLabel: boolean;
2413
2393
  itemCount?: number | null | undefined;
2414
2394
  userId?: string | number | null | undefined;
@@ -2430,11 +2410,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2430
2410
  status: "DRAFT" | "PENDING" | "ERROR" | "ONLINE" | "DELETED" | "ARCHIVED" | "SOLD" | "SOLD_ELSEWHERE" | "HIDDEN" | "DISPUTE";
2431
2411
  id: string;
2432
2412
  createdAt: Date;
2413
+ updatedAt: Date;
2433
2414
  accountId: string;
2434
2415
  itemId: string | number;
2435
2416
  platformId: string;
2436
2417
  platformUrl: string;
2437
- updatedAt: Date;
2438
2418
  platformPrice: number;
2439
2419
  publishedAt: Date;
2440
2420
  favoritesCount?: number | null | undefined;
@@ -2493,6 +2473,7 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2493
2473
  id: string;
2494
2474
  createdAt: Date;
2495
2475
  itemId: string | number;
2476
+ requestId?: string | null | undefined;
2496
2477
  data?: {
2497
2478
  type: "ACTION_CANCELED";
2498
2479
  data: {
@@ -2590,7 +2571,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2590
2571
  type: "REPUBLISHING";
2591
2572
  data: {
2592
2573
  platform: "ETSY" | "SHOPIFY" | "VINTED";
2593
- publishingDate?: Date | null | undefined;
2594
2574
  priceDropPayload?: {
2595
2575
  value: number;
2596
2576
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2598,10 +2578,9 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2598
2578
  roundStep?: number | null | undefined;
2599
2579
  maxRounds?: number | null | undefined;
2600
2580
  } | null | undefined;
2601
- isTransfer?: boolean | null | undefined;
2602
- sourceAccountId?: string | null | undefined;
2581
+ publishingDate?: Date | null | undefined;
2603
2582
  targetAccountId?: string | null | undefined;
2604
- targetUserId?: number | null | undefined;
2583
+ isTransfer?: boolean | null | undefined;
2605
2584
  };
2606
2585
  } | {
2607
2586
  type: "REPUBLISHING_RETRY";
@@ -2611,11 +2590,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2611
2590
  attemptNumber: number;
2612
2591
  previousHistoryId: string;
2613
2592
  originalFailureDate: Date;
2614
- fields?: {
2615
- field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2616
- autoFixable: boolean;
2617
- error?: string | null | undefined;
2618
- }[] | null | undefined;
2619
2593
  priceDropPayload?: {
2620
2594
  value: number;
2621
2595
  type: "PERCENTAGE" | "ABSOLUTE";
@@ -2623,6 +2597,11 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2623
2597
  roundStep?: number | null | undefined;
2624
2598
  maxRounds?: number | null | undefined;
2625
2599
  } | null | undefined;
2600
+ fields?: {
2601
+ field: "TITLE" | "DESCRIPTION" | "PRICE" | "UNKNOWN" | "SIZE" | "BRAND" | "STATUS" | "PACKAGE_SIZE" | "COLOR" | "CATALOG" | "PHOTOS";
2602
+ autoFixable: boolean;
2603
+ error?: string | null | undefined;
2604
+ }[] | null | undefined;
2626
2605
  };
2627
2606
  } | {
2628
2607
  type: "SCHEDULED";
@@ -2646,7 +2625,6 @@ export declare const ItemUpdateSchema: z.ZodObject<{
2646
2625
  };
2647
2626
  } | null | undefined;
2648
2627
  accountId?: string | null | undefined;
2649
- requestId?: string | null | undefined;
2650
2628
  targetDate?: Date | null | undefined;
2651
2629
  } | null | undefined;
2652
2630
  };