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
@@ -100,6 +100,27 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
100
100
  first: Date;
101
101
  second: Date;
102
102
  }>, "many">>>;
103
+ userIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
104
+ historyCreatedAt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ first: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
106
+ second: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ first?: Date | null | undefined;
109
+ second?: Date | null | undefined;
110
+ }, {
111
+ first?: Date | null | undefined;
112
+ second?: Date | null | undefined;
113
+ }>>>;
114
+ historyTargetDate: z.ZodOptional<z.ZodNullable<z.ZodObject<{
115
+ first: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
116
+ second: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ first?: Date | null | undefined;
119
+ second?: Date | null | undefined;
120
+ }, {
121
+ first?: Date | null | undefined;
122
+ second?: Date | null | undefined;
123
+ }>>>;
103
124
  }, "strip", z.ZodTypeAny, {
104
125
  sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
105
126
  favoritesCount?: {
@@ -153,6 +174,15 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
153
174
  first: Date;
154
175
  second: Date;
155
176
  }[] | null | undefined;
177
+ userIds?: number[] | null | undefined;
178
+ historyCreatedAt?: {
179
+ first?: Date | null | undefined;
180
+ second?: Date | null | undefined;
181
+ } | null | undefined;
182
+ historyTargetDate?: {
183
+ first?: Date | null | undefined;
184
+ second?: Date | null | undefined;
185
+ } | null | undefined;
156
186
  }, {
157
187
  sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
158
188
  favoritesCount?: {
@@ -206,6 +236,15 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
206
236
  first: Date;
207
237
  second: Date;
208
238
  }[] | null | undefined;
239
+ userIds?: number[] | null | undefined;
240
+ historyCreatedAt?: {
241
+ first?: Date | null | undefined;
242
+ second?: Date | null | undefined;
243
+ } | null | undefined;
244
+ historyTargetDate?: {
245
+ first?: Date | null | undefined;
246
+ second?: Date | null | undefined;
247
+ } | null | undefined;
209
248
  }>;
210
249
  export type ItemFiltersContext = z.infer<typeof ItemFiltersContextSchema>;
211
250
  //# sourceMappingURL=ItemFiltersContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ItemFiltersContext.d.ts","sourceRoot":"","sources":["ItemFiltersContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
1
+ {"version":3,"file":"ItemFiltersContext.d.ts","sourceRoot":"","sources":["ItemFiltersContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAOrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -35,6 +35,9 @@ exports.ItemFiltersContextSchema = zod_1.z.object({
35
35
  accountIds: zod_1.z.array(zod_1.z.string().uuid()).nullish(),
36
36
  platforms: zod_1.z.array(controlresell_connector_1.AccountPlatformSchema).nullish(),
37
37
  transactionType: TransactionType_1.TransactionTypeSchema.nullish(),
38
- timeRanges: zod_1.z.array((0, zodable_kotlin_primitives_1.KotlinPairSchema)(zod_1.z.coerce.date(), zod_1.z.coerce.date())).nullish()
38
+ timeRanges: zod_1.z.array((0, zodable_kotlin_primitives_1.KotlinPairSchema)(zod_1.z.coerce.date(), zod_1.z.coerce.date())).nullish(),
39
+ userIds: zod_1.z.array(zod_1.z.number()).nullish(),
40
+ historyCreatedAt: (0, zodable_kotlin_primitives_1.KotlinPairSchema)(zod_1.z.coerce.date().nullish(), zod_1.z.coerce.date().nullish()).nullish(),
41
+ historyTargetDate: (0, zodable_kotlin_primitives_1.KotlinPairSchema)(zod_1.z.coerce.date().nullish(), zod_1.z.coerce.date().nullish()).nullish()
39
42
  });
40
43
  //# sourceMappingURL=ItemFiltersContext.js.map
@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,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACtC,gBAAgB,EAAE,IAAA,4CAAgB,EAAC,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IAClG,iBAAiB,EAAE,IAAA,4CAAgB,EAAC,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;CACtG,CAAC,CAAA"}
@@ -33,6 +33,9 @@ export const ItemFiltersContextSchema = z.object({
33
33
  accountIds: z.array(z.string().uuid()).nullish(),
34
34
  platforms: z.array(AccountPlatformSchema).nullish(),
35
35
  transactionType: TransactionTypeSchema.nullish(),
36
- timeRanges: z.array(KotlinPairSchema(z.coerce.date(), z.coerce.date())).nullish()
36
+ timeRanges: z.array(KotlinPairSchema(z.coerce.date(), z.coerce.date())).nullish(),
37
+ userIds: z.array(z.number()).nullish(),
38
+ historyCreatedAt: KotlinPairSchema(z.coerce.date().nullish(), z.coerce.date().nullish()).nullish(),
39
+ historyTargetDate: KotlinPairSchema(z.coerce.date().nullish(), z.coerce.date().nullish()).nullish()
37
40
  })
38
41
  export type ItemFiltersContext = z.infer<typeof ItemFiltersContextSchema>
@@ -44,6 +44,7 @@ export declare const ItemPayloadSchema: z.ZodObject<{
44
44
  filesId: string[];
45
45
  sold: boolean;
46
46
  quantity?: number | null | undefined;
47
+ state?: number | null | undefined;
47
48
  description?: string | null | undefined;
48
49
  categoryId?: number | null | undefined;
49
50
  sizeId?: number | null | undefined;
@@ -53,7 +54,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
53
54
  estimatedPrice?: number | null | undefined;
54
55
  purchaseDate?: Date | null | undefined;
55
56
  sellingDate?: Date | null | undefined;
56
- state?: number | null | undefined;
57
57
  labels?: string[] | null | undefined;
58
58
  fields?: {
59
59
  value: string;
@@ -78,6 +78,7 @@ export declare const ItemPayloadSchema: z.ZodObject<{
78
78
  filesId: string[];
79
79
  sold: boolean;
80
80
  quantity?: number | null | undefined;
81
+ state?: number | null | undefined;
81
82
  description?: string | null | undefined;
82
83
  categoryId?: number | null | undefined;
83
84
  sizeId?: number | null | undefined;
@@ -87,7 +88,6 @@ export declare const ItemPayloadSchema: z.ZodObject<{
87
88
  estimatedPrice?: number | null | undefined;
88
89
  purchaseDate?: Date | null | undefined;
89
90
  sellingDate?: Date | null | undefined;
90
- state?: number | null | undefined;
91
91
  labels?: string[] | null | undefined;
92
92
  fields?: {
93
93
  value: string;