controlresell 2.4.5 → 2.4.8

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 (32) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -0
  3. package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
  4. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -0
  5. package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
  6. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts +3 -0
  7. package/src/com/controlresell/models/items/ItemFiltersContext.d.ts.map +1 -1
  8. package/src/com/controlresell/models/items/ItemFiltersContext.js +2 -1
  9. package/src/com/controlresell/models/items/ItemFiltersContext.js.map +1 -1
  10. package/src/com/controlresell/models/items/ItemFiltersContext.ts +2 -1
  11. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts +6 -16
  12. package/src/com/controlresell/models/items/platforms/ItemOnPlatformUpdateRequest.d.ts.map +1 -1
  13. package/src/com/controlresell/models/platforms/conversations/Conversation.d.ts +11 -11
  14. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts +24 -38
  15. package/src/com/controlresell/models/platforms/conversations/ConversationOnPlatformUpdateRequest.d.ts.map +1 -1
  16. package/src/com/controlresell/models/platforms/conversations/UserConversations.d.ts +15 -15
  17. package/src/com/controlresell/models/platforms/conversations/messages/ConversationMessage.d.ts +7 -7
  18. package/src/com/controlresell/models/platforms/conversations/messages/CreateConversationMessagePayload.d.ts +2 -2
  19. package/src/com/controlresell/models/platforms/conversations/messages/PaginatedConversationMessages.d.ts +11 -11
  20. package/src/com/controlresell/models/platforms/conversations/messages/UpdateConversationMessagePayload.d.ts +2 -2
  21. package/src/com/controlresell/models/platforms/conversations/messages/offers/ConversationMessageOffer.d.ts +3 -3
  22. package/src/com/controlresell/models/platforms/conversations/messages/offers/CreateConversationMessageOfferPayload.d.ts +3 -3
  23. package/src/com/controlresell/models/platforms/conversations/messages/offers/UpdateConversationMessageOfferPayload.d.ts +3 -3
  24. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +15 -15
  25. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +30 -48
  26. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts.map +1 -1
  27. package/src/com/controlresell/models/platforms/orders/CreateOrderPayload.d.ts +3 -3
  28. package/src/com/controlresell/models/platforms/orders/Order.d.ts +3 -3
  29. package/src/com/controlresell/models/platforms/orders/OrderOnPlatformUpdateRequest.d.ts +5 -5
  30. package/src/com/controlresell/models/platforms/orders/UpdateOrderPayload.d.ts +3 -3
  31. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +5 -5
  32. package/src/com/controlresell/models/users/ws/UserWsPayload.d.ts +30 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.4.5",
3
+ "version": "2.4.8",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,7 +17,7 @@
17
17
  "typescript": "^5.9.2"
18
18
  },
19
19
  "dependencies": {
20
- "controlresell-connector": "^0.6.1",
20
+ "controlresell-connector": "^0.6.3",
21
21
  "zod": "^3.25.76",
22
22
  "zodable-idschema": "^1.0.0",
23
23
  "zodable-kotlin-primitives": "^1.0.0"
@@ -67,6 +67,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
67
67
  lastHistoryType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>, "many">>>;
68
68
  readyToPublish: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
69
69
  toBeSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70
71
  }, "strip", z.ZodTypeAny, {
71
72
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
72
73
  sold?: boolean | null | undefined;
@@ -102,6 +103,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
102
103
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
103
104
  readyToPublish?: boolean | null | undefined;
104
105
  toBeSent?: boolean | null | undefined;
106
+ isDraft?: boolean | null | undefined;
105
107
  }, {
106
108
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
107
109
  sold?: boolean | null | undefined;
@@ -137,6 +139,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
137
139
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
138
140
  readyToPublish?: boolean | null | undefined;
139
141
  toBeSent?: boolean | null | undefined;
142
+ isDraft?: boolean | null | undefined;
140
143
  }>>>;
141
144
  platformFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
145
  accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
@@ -186,6 +189,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
186
189
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
187
190
  readyToPublish?: boolean | null | undefined;
188
191
  toBeSent?: boolean | null | undefined;
192
+ isDraft?: boolean | null | undefined;
189
193
  } | null | undefined;
190
194
  platformFilters?: {
191
195
  accountIds?: string[] | null | undefined;
@@ -229,6 +233,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
229
233
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
230
234
  readyToPublish?: boolean | null | undefined;
231
235
  toBeSent?: boolean | null | undefined;
236
+ isDraft?: boolean | null | undefined;
232
237
  } | null | undefined;
233
238
  platformFilters?: {
234
239
  accountIds?: string[] | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SavedFilters.d.ts","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
1
+ {"version":3,"file":"SavedFilters.d.ts","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAKrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -65,6 +65,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
65
65
  lastHistoryType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>, "many">>>;
66
66
  readyToPublish: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
67
67
  toBeSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
69
  }, "strip", z.ZodTypeAny, {
69
70
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
70
71
  sold?: boolean | null | undefined;
@@ -100,6 +101,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
100
101
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
101
102
  readyToPublish?: boolean | null | undefined;
102
103
  toBeSent?: boolean | null | undefined;
104
+ isDraft?: boolean | null | undefined;
103
105
  }, {
104
106
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
105
107
  sold?: boolean | null | undefined;
@@ -135,6 +137,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
135
137
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
136
138
  readyToPublish?: boolean | null | undefined;
137
139
  toBeSent?: boolean | null | undefined;
140
+ isDraft?: boolean | null | undefined;
138
141
  }>>>;
139
142
  platformFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
143
  accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
@@ -182,6 +185,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
182
185
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
183
186
  readyToPublish?: boolean | null | undefined;
184
187
  toBeSent?: boolean | null | undefined;
188
+ isDraft?: boolean | null | undefined;
185
189
  } | null | undefined;
186
190
  platformFilters?: {
187
191
  accountIds?: string[] | null | undefined;
@@ -223,6 +227,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
223
227
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
224
228
  readyToPublish?: boolean | null | undefined;
225
229
  toBeSent?: boolean | null | undefined;
230
+ isDraft?: boolean | null | undefined;
226
231
  } | null | undefined;
227
232
  platformFilters?: {
228
233
  accountIds?: string[] | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SavedFiltersPayload.d.ts","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
1
+ {"version":3,"file":"SavedFiltersPayload.d.ts","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -64,6 +64,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
64
64
  lastHistoryType: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "PUBLISH_CANCELED", "SCHEDULED", "REPUBLISHING", "REPUBLISHED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>, "many">>>;
65
65
  readyToPublish: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
66
66
  toBeSent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
67
+ isDraft: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
67
68
  }, "strip", z.ZodTypeAny, {
68
69
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
69
70
  sold?: boolean | null | undefined;
@@ -99,6 +100,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
99
100
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
100
101
  readyToPublish?: boolean | null | undefined;
101
102
  toBeSent?: boolean | null | undefined;
103
+ isDraft?: boolean | null | undefined;
102
104
  }, {
103
105
  sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
104
106
  sold?: boolean | null | undefined;
@@ -134,6 +136,7 @@ export declare const ItemFiltersContextSchema: z.ZodObject<{
134
136
  lastHistoryType?: ("IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "PUBLISH_CANCELED" | "SCHEDULED" | "REPUBLISHING" | "REPUBLISHED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND")[] | null | undefined;
135
137
  readyToPublish?: boolean | null | undefined;
136
138
  toBeSent?: boolean | null | undefined;
139
+ isDraft?: boolean | null | undefined;
137
140
  }>;
138
141
  export type ItemFiltersContext = z.infer<typeof ItemFiltersContextSchema>;
139
142
  //# 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;AAKrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBnC,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;AAKrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -24,6 +24,7 @@ exports.ItemFiltersContextSchema = zod_1.z.object({
24
24
  searchQuery: zod_1.z.string().nullish(),
25
25
  lastHistoryType: zod_1.z.array(ItemHistoryType_1.ItemHistoryTypeSchema).nullish(),
26
26
  readyToPublish: zod_1.z.boolean().nullish(),
27
- toBeSent: zod_1.z.boolean().nullish()
27
+ toBeSent: zod_1.z.boolean().nullish(),
28
+ isDraft: zod_1.z.boolean().nullish()
28
29
  });
29
30
  //# sourceMappingURL=ItemFiltersContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ItemFiltersContext.js","sourceRoot":"","sources":["ItemFiltersContext.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,yCAAyC;AACzC,yEAA0D;AAC1D,+DAA+D;AAElD,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,yBAAc,CAAC,OAAO,EAAE;IAC9B,IAAI,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC3B,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAA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AAO,EAAE,CAAC,OAAO,EAAE;IACrC,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;IAC/B,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE;CACjC,CAAC,CAAA"}
@@ -22,6 +22,7 @@ export const ItemFiltersContextSchema = z.object({
22
22
  searchQuery: z.string().nullish(),
23
23
  lastHistoryType: z.array(ItemHistoryTypeSchema).nullish(),
24
24
  readyToPublish: z.boolean().nullish(),
25
- toBeSent: z.boolean().nullish()
25
+ toBeSent: z.boolean().nullish(),
26
+ isDraft: z.boolean().nullish()
26
27
  })
27
28
  export type ItemFiltersContext = z.infer<typeof ItemFiltersContextSchema>
@@ -3,7 +3,6 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
3
3
  item: z.ZodObject<{
4
4
  platformId: z.ZodString;
5
5
  platformUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
- sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7
6
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
8
7
  post: z.ZodObject<{
9
8
  brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34,6 +33,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
34
33
  colors?: string[] | null | undefined;
35
34
  description?: string | null | undefined;
36
35
  price?: number | null | undefined;
36
+ isDraft?: boolean | null | undefined;
37
37
  brand?: string | null | undefined;
38
38
  catalog?: string | null | undefined;
39
39
  catalogId?: number | null | undefined;
@@ -45,7 +45,6 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
45
45
  size?: string | null | undefined;
46
46
  sizeId?: number | null | undefined;
47
47
  statusId?: number | null | undefined;
48
- isDraft?: boolean | null | undefined;
49
48
  isArchived?: boolean | null | undefined;
50
49
  availableQuantity?: number | null | undefined;
51
50
  material?: number[] | null | undefined;
@@ -57,6 +56,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
57
56
  colors?: string[] | null | undefined;
58
57
  description?: string | null | undefined;
59
58
  price?: number | null | undefined;
59
+ isDraft?: boolean | null | undefined;
60
60
  brand?: string | null | undefined;
61
61
  catalog?: string | null | undefined;
62
62
  catalogId?: number | null | undefined;
@@ -68,14 +68,12 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
68
68
  size?: string | null | undefined;
69
69
  sizeId?: number | null | undefined;
70
70
  statusId?: number | null | undefined;
71
- isDraft?: boolean | null | undefined;
72
71
  isArchived?: boolean | null | undefined;
73
72
  availableQuantity?: number | null | undefined;
74
73
  material?: number[] | null | undefined;
75
74
  manufacturerLabelling?: string | null | undefined;
76
75
  labels?: string[] | null | undefined;
77
76
  }>;
78
- data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
77
  }, "strip", z.ZodTypeAny, {
80
78
  platformId: string;
81
79
  post: {
@@ -84,6 +82,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
84
82
  colors?: string[] | null | undefined;
85
83
  description?: string | null | undefined;
86
84
  price?: number | null | undefined;
85
+ isDraft?: boolean | null | undefined;
87
86
  brand?: string | null | undefined;
88
87
  catalog?: string | null | undefined;
89
88
  catalogId?: number | null | undefined;
@@ -95,16 +94,13 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
95
94
  size?: string | null | undefined;
96
95
  sizeId?: number | null | undefined;
97
96
  statusId?: number | null | undefined;
98
- isDraft?: boolean | null | undefined;
99
97
  isArchived?: boolean | null | undefined;
100
98
  availableQuantity?: number | null | undefined;
101
99
  material?: number[] | null | undefined;
102
100
  manufacturerLabelling?: string | null | undefined;
103
101
  labels?: string[] | null | undefined;
104
102
  };
105
- data?: string | null | undefined;
106
103
  createdAt?: Date | null | undefined;
107
- sold?: boolean | null | undefined;
108
104
  platformUrl?: string | null | undefined;
109
105
  }, {
110
106
  platformId: string;
@@ -114,6 +110,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
114
110
  colors?: string[] | null | undefined;
115
111
  description?: string | null | undefined;
116
112
  price?: number | null | undefined;
113
+ isDraft?: boolean | null | undefined;
117
114
  brand?: string | null | undefined;
118
115
  catalog?: string | null | undefined;
119
116
  catalogId?: number | null | undefined;
@@ -125,16 +122,13 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
125
122
  size?: string | null | undefined;
126
123
  sizeId?: number | null | undefined;
127
124
  statusId?: number | null | undefined;
128
- isDraft?: boolean | null | undefined;
129
125
  isArchived?: boolean | null | undefined;
130
126
  availableQuantity?: number | null | undefined;
131
127
  material?: number[] | null | undefined;
132
128
  manufacturerLabelling?: string | null | undefined;
133
129
  labels?: string[] | null | undefined;
134
130
  };
135
- data?: string | null | undefined;
136
131
  createdAt?: Date | null | undefined;
137
- sold?: boolean | null | undefined;
138
132
  platformUrl?: string | null | undefined;
139
133
  }>;
140
134
  account: z.ZodObject<{
@@ -176,6 +170,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
176
170
  colors?: string[] | null | undefined;
177
171
  description?: string | null | undefined;
178
172
  price?: number | null | undefined;
173
+ isDraft?: boolean | null | undefined;
179
174
  brand?: string | null | undefined;
180
175
  catalog?: string | null | undefined;
181
176
  catalogId?: number | null | undefined;
@@ -187,16 +182,13 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
187
182
  size?: string | null | undefined;
188
183
  sizeId?: number | null | undefined;
189
184
  statusId?: number | null | undefined;
190
- isDraft?: boolean | null | undefined;
191
185
  isArchived?: boolean | null | undefined;
192
186
  availableQuantity?: number | null | undefined;
193
187
  material?: number[] | null | undefined;
194
188
  manufacturerLabelling?: string | null | undefined;
195
189
  labels?: string[] | null | undefined;
196
190
  };
197
- data?: string | null | undefined;
198
191
  createdAt?: Date | null | undefined;
199
- sold?: boolean | null | undefined;
200
192
  platformUrl?: string | null | undefined;
201
193
  };
202
194
  }, {
@@ -216,6 +208,7 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
216
208
  colors?: string[] | null | undefined;
217
209
  description?: string | null | undefined;
218
210
  price?: number | null | undefined;
211
+ isDraft?: boolean | null | undefined;
219
212
  brand?: string | null | undefined;
220
213
  catalog?: string | null | undefined;
221
214
  catalogId?: number | null | undefined;
@@ -227,16 +220,13 @@ export declare const ItemOnPlatformUpdateRequestSchema: z.ZodObject<{
227
220
  size?: string | null | undefined;
228
221
  sizeId?: number | null | undefined;
229
222
  statusId?: number | null | undefined;
230
- isDraft?: boolean | null | undefined;
231
223
  isArchived?: boolean | null | undefined;
232
224
  availableQuantity?: number | null | undefined;
233
225
  material?: number[] | null | undefined;
234
226
  manufacturerLabelling?: string | null | undefined;
235
227
  labels?: string[] | null | undefined;
236
228
  };
237
- data?: string | null | undefined;
238
229
  createdAt?: Date | null | undefined;
239
- sold?: boolean | null | undefined;
240
230
  platformUrl?: string | null | undefined;
241
231
  };
242
232
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
1
+ {"version":3,"file":"ItemOnPlatformUpdateRequest.d.ts","sourceRoot":"","sources":["ItemOnPlatformUpdateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5C,CAAA;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
@@ -43,9 +43,9 @@ export declare const ConversationSchema: z.ZodObject<{
43
43
  transactionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  price: z.ZodNumber;
45
45
  originalPrice: z.ZodNumber;
46
- status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELLED"]>;
46
+ status: z.ZodEnum<["PENDING", "ACCEPTED", "REJECTED", "CANCELED"]>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
48
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
49
49
  id: string;
50
50
  price: number;
51
51
  messageId: string;
@@ -53,7 +53,7 @@ export declare const ConversationSchema: z.ZodObject<{
53
53
  transactionId?: string | null | undefined;
54
54
  platformOfferId?: string | null | undefined;
55
55
  }, {
56
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
56
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
57
57
  id: string;
58
58
  price: number;
59
59
  messageId: string;
@@ -122,13 +122,13 @@ export declare const ConversationSchema: z.ZodObject<{
122
122
  }>, "many">>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
125
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
125
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
126
126
  id: string;
127
127
  createdAt: Date;
128
128
  conversationId: string;
129
129
  body?: string | null | undefined;
130
130
  offer?: {
131
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
131
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
132
132
  id: string;
133
133
  price: number;
134
134
  messageId: string;
@@ -158,13 +158,13 @@ export declare const ConversationSchema: z.ZodObject<{
158
158
  } | null | undefined;
159
159
  }, {
160
160
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
161
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
161
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
162
162
  id: string;
163
163
  createdAt: Date;
164
164
  conversationId: string;
165
165
  body?: string | null | undefined;
166
166
  offer?: {
167
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
167
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
168
168
  id: string;
169
169
  price: number;
170
170
  messageId: string;
@@ -286,13 +286,13 @@ export declare const ConversationSchema: z.ZodObject<{
286
286
  }[] | null | undefined;
287
287
  lastMessage?: {
288
288
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
289
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
289
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
290
290
  id: string;
291
291
  createdAt: Date;
292
292
  conversationId: string;
293
293
  body?: string | null | undefined;
294
294
  offer?: {
295
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
295
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
296
296
  id: string;
297
297
  price: number;
298
298
  messageId: string;
@@ -353,13 +353,13 @@ export declare const ConversationSchema: z.ZodObject<{
353
353
  }[] | null | undefined;
354
354
  lastMessage?: {
355
355
  type: "MESSAGE" | "STATUS_MESSAGE" | "ACTION_MESSAGE" | "OFFER_REQUEST_MESSAGE" | "OFFER_MESSAGE";
356
- status: "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "CANCELED" | "SENT";
356
+ status: "CANCELED" | "NEEDS_VALIDATION" | "SENDING" | "FAILED_TO_SEND" | "SENT";
357
357
  id: string;
358
358
  createdAt: Date;
359
359
  conversationId: string;
360
360
  body?: string | null | undefined;
361
361
  offer?: {
362
- status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELLED";
362
+ status: "PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED";
363
363
  id: string;
364
364
  price: number;
365
365
  messageId: string;