controlresell 2.2.6 → 2.2.7

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 (74) hide show
  1. package/package.json +2 -2
  2. package/src/com/controlresell/models/application/RabbitMQRoutingKey.d.ts +1 -1
  3. package/src/com/controlresell/models/application/RabbitMQRoutingKey.js +1 -1
  4. package/src/com/controlresell/models/application/RabbitMQRoutingKey.ts +1 -1
  5. package/src/com/controlresell/models/items/CreatedItems.d.ts +205 -7
  6. package/src/com/controlresell/models/items/Item.d.ts +163 -5
  7. package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +205 -7
  8. package/src/com/controlresell/models/items/UpdatedItem.d.ts +205 -7
  9. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +121 -3
  10. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.js +2 -1
  11. package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.ts +2 -1
  12. package/src/com/controlresell/models/items/history/ItemHistory.d.ts +121 -3
  13. package/src/com/controlresell/models/items/history/ItemHistory.js +2 -1
  14. package/src/com/controlresell/models/items/history/ItemHistory.ts +2 -1
  15. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +81 -0
  16. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +24 -0
  17. package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +24 -0
  18. package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.d.ts +15 -0
  19. package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.js +9 -0
  20. package/src/com/controlresell/models/items/history/data/ItemHistoryBuyerPaidPayload.ts +8 -0
  21. package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.d.ts +15 -0
  22. package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.js +9 -0
  23. package/src/com/controlresell/models/items/history/data/ItemHistoryDeliveredPayload.ts +8 -0
  24. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.d.ts +15 -0
  25. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.js +9 -0
  26. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.ts +8 -0
  27. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +559 -0
  28. package/src/com/controlresell/models/platforms/favorites/Favorite.js +15 -0
  29. package/src/com/controlresell/models/platforms/favorites/Favorite.ts +14 -0
  30. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +52 -0
  31. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.js +10 -0
  32. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.ts +9 -0
  33. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.d.ts +12 -0
  34. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.js +8 -0
  35. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.ts +7 -0
  36. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +205 -7
  37. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +205 -7
  38. package/src/com/controlresell/models/preferences/Preference.d.ts +13 -13
  39. package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +205 -7
  40. package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +39 -39
  41. package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +11 -11
  42. package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +11 -11
  43. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +11 -11
  44. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +3 -3
  45. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +1 -1
  46. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +1 -1
  47. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +1 -1
  48. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +5 -5
  49. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +355 -0
  50. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +13 -0
  51. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +12 -0
  52. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.d.ts +3 -0
  53. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.js +7 -0
  54. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.ts +6 -0
  55. package/src/com/controlresell/models/preferences/variables/PreferenceVariable.d.ts +3 -3
  56. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.d.ts +1 -1
  57. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.js +1 -1
  58. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.ts +1 -1
  59. package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +9 -9
  60. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +9 -9
  61. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +7 -7
  62. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +9 -9
  63. package/src/index.d.ts +9 -3
  64. package/src/index.js +21 -9
  65. package/src/index.ts +9 -3
  66. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +0 -36
  67. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +0 -17
  68. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +0 -16
  69. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +0 -42
  70. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +0 -20
  71. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +0 -19
  72. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +0 -30
  73. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +0 -14
  74. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +0 -13
@@ -221,20 +221,138 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
221
221
  id: z.ZodString;
222
222
  itemId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
223
223
  type: z.ZodEnum<["IMPORTED", "PUBLISHED", "FAILED_TO_PUBLISH", "SCHEDULED", "UPDATED", "DELETED", "TO_BE_SENT", "IN_TRANSIT", "BUYER_PAID", "DELIVERED", "RECEIVED", "FINALIZED", "RETURN", "REFUND"]>;
224
- data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
+ data: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
225
+ type: z.ZodLiteral<"EMPTY">;
226
+ }, "strip", z.ZodTypeAny, {
227
+ type: "EMPTY";
228
+ }, {
229
+ type: "EMPTY";
230
+ }>, z.ZodObject<{
231
+ type: z.ZodLiteral<"SCHEDULED">;
232
+ data: z.ZodObject<{
233
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
234
+ publishingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ platform: "VINTED" | "SHOPIFY";
237
+ publishingDate?: Date | null | undefined;
238
+ }, {
239
+ platform: "VINTED" | "SHOPIFY";
240
+ publishingDate?: Date | null | undefined;
241
+ }>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ type: "SCHEDULED";
244
+ data: {
245
+ platform: "VINTED" | "SHOPIFY";
246
+ publishingDate?: Date | null | undefined;
247
+ };
248
+ }, {
249
+ type: "SCHEDULED";
250
+ data: {
251
+ platform: "VINTED" | "SHOPIFY";
252
+ publishingDate?: Date | null | undefined;
253
+ };
254
+ }>, z.ZodObject<{
255
+ type: z.ZodLiteral<"FAILED_TO_PUBLISH">;
256
+ data: z.ZodObject<{
257
+ platform: z.ZodEnum<["VINTED", "SHOPIFY"]>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ platform: "VINTED" | "SHOPIFY";
260
+ }, {
261
+ platform: "VINTED" | "SHOPIFY";
262
+ }>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ type: "FAILED_TO_PUBLISH";
265
+ data: {
266
+ platform: "VINTED" | "SHOPIFY";
267
+ };
268
+ }, {
269
+ type: "FAILED_TO_PUBLISH";
270
+ data: {
271
+ platform: "VINTED" | "SHOPIFY";
272
+ };
273
+ }>, z.ZodObject<{
274
+ type: z.ZodLiteral<"BUYER_PAID">;
275
+ data: z.ZodObject<{
276
+ soldAccountId: z.ZodString;
277
+ soldOrderId: z.ZodString;
278
+ soldConversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ soldAccountId: string;
281
+ soldOrderId: string;
282
+ soldConversationId?: string | null | undefined;
283
+ }, {
284
+ soldAccountId: string;
285
+ soldOrderId: string;
286
+ soldConversationId?: string | null | undefined;
287
+ }>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ type: "BUYER_PAID";
290
+ data: {
291
+ soldAccountId: string;
292
+ soldOrderId: string;
293
+ soldConversationId?: string | null | undefined;
294
+ };
295
+ }, {
296
+ type: "BUYER_PAID";
297
+ data: {
298
+ soldAccountId: string;
299
+ soldOrderId: string;
300
+ soldConversationId?: string | null | undefined;
301
+ };
302
+ }>]>>>;
225
303
  createdAt: z.ZodDate;
226
304
  }, "strip", z.ZodTypeAny, {
227
305
  type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
228
306
  id: string;
229
307
  createdAt: Date;
230
308
  itemId: string | number;
231
- data?: string | null | undefined;
309
+ data?: {
310
+ type: "EMPTY";
311
+ } | {
312
+ type: "SCHEDULED";
313
+ data: {
314
+ platform: "VINTED" | "SHOPIFY";
315
+ publishingDate?: Date | null | undefined;
316
+ };
317
+ } | {
318
+ type: "FAILED_TO_PUBLISH";
319
+ data: {
320
+ platform: "VINTED" | "SHOPIFY";
321
+ };
322
+ } | {
323
+ type: "BUYER_PAID";
324
+ data: {
325
+ soldAccountId: string;
326
+ soldOrderId: string;
327
+ soldConversationId?: string | null | undefined;
328
+ };
329
+ } | null | undefined;
232
330
  }, {
233
331
  type: "IMPORTED" | "PUBLISHED" | "FAILED_TO_PUBLISH" | "SCHEDULED" | "UPDATED" | "DELETED" | "TO_BE_SENT" | "IN_TRANSIT" | "BUYER_PAID" | "DELIVERED" | "RECEIVED" | "FINALIZED" | "RETURN" | "REFUND";
234
332
  id: string;
235
333
  createdAt: Date;
236
334
  itemId: string | number;
237
- data?: string | null | undefined;
335
+ data?: {
336
+ type: "EMPTY";
337
+ } | {
338
+ type: "SCHEDULED";
339
+ data: {
340
+ platform: "VINTED" | "SHOPIFY";
341
+ publishingDate?: Date | null | undefined;
342
+ };
343
+ } | {
344
+ type: "FAILED_TO_PUBLISH";
345
+ data: {
346
+ platform: "VINTED" | "SHOPIFY";
347
+ };
348
+ } | {
349
+ type: "BUYER_PAID";
350
+ data: {
351
+ soldAccountId: string;
352
+ soldOrderId: string;
353
+ soldConversationId?: string | null | undefined;
354
+ };
355
+ } | null | undefined;
238
356
  }>>>;
239
357
  platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
240
358
  id: z.ZodString;
@@ -404,7 +522,27 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
404
522
  id: string;
405
523
  createdAt: Date;
406
524
  itemId: string | number;
407
- data?: string | null | undefined;
525
+ data?: {
526
+ type: "EMPTY";
527
+ } | {
528
+ type: "SCHEDULED";
529
+ data: {
530
+ platform: "VINTED" | "SHOPIFY";
531
+ publishingDate?: Date | null | undefined;
532
+ };
533
+ } | {
534
+ type: "FAILED_TO_PUBLISH";
535
+ data: {
536
+ platform: "VINTED" | "SHOPIFY";
537
+ };
538
+ } | {
539
+ type: "BUYER_PAID";
540
+ data: {
541
+ soldAccountId: string;
542
+ soldOrderId: string;
543
+ soldConversationId?: string | null | undefined;
544
+ };
545
+ } | null | undefined;
408
546
  } | null | undefined;
409
547
  }, {
410
548
  id: string | number;
@@ -514,7 +652,27 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
514
652
  id: string;
515
653
  createdAt: Date;
516
654
  itemId: string | number;
517
- data?: string | null | undefined;
655
+ data?: {
656
+ type: "EMPTY";
657
+ } | {
658
+ type: "SCHEDULED";
659
+ data: {
660
+ platform: "VINTED" | "SHOPIFY";
661
+ publishingDate?: Date | null | undefined;
662
+ };
663
+ } | {
664
+ type: "FAILED_TO_PUBLISH";
665
+ data: {
666
+ platform: "VINTED" | "SHOPIFY";
667
+ };
668
+ } | {
669
+ type: "BUYER_PAID";
670
+ data: {
671
+ soldAccountId: string;
672
+ soldOrderId: string;
673
+ soldConversationId?: string | null | undefined;
674
+ };
675
+ } | null | undefined;
518
676
  } | null | undefined;
519
677
  }>, "many">>>;
520
678
  accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -645,7 +803,27 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
645
803
  id: string;
646
804
  createdAt: Date;
647
805
  itemId: string | number;
648
- data?: string | null | undefined;
806
+ data?: {
807
+ type: "EMPTY";
808
+ } | {
809
+ type: "SCHEDULED";
810
+ data: {
811
+ platform: "VINTED" | "SHOPIFY";
812
+ publishingDate?: Date | null | undefined;
813
+ };
814
+ } | {
815
+ type: "FAILED_TO_PUBLISH";
816
+ data: {
817
+ platform: "VINTED" | "SHOPIFY";
818
+ };
819
+ } | {
820
+ type: "BUYER_PAID";
821
+ data: {
822
+ soldAccountId: string;
823
+ soldOrderId: string;
824
+ soldConversationId?: string | null | undefined;
825
+ };
826
+ } | null | undefined;
649
827
  } | null | undefined;
650
828
  }[] | null | undefined;
651
829
  accounts?: {
@@ -764,7 +942,27 @@ export declare const PreferenceFilterSchema: z.ZodObject<{
764
942
  id: string;
765
943
  createdAt: Date;
766
944
  itemId: string | number;
767
- data?: string | null | undefined;
945
+ data?: {
946
+ type: "EMPTY";
947
+ } | {
948
+ type: "SCHEDULED";
949
+ data: {
950
+ platform: "VINTED" | "SHOPIFY";
951
+ publishingDate?: Date | null | undefined;
952
+ };
953
+ } | {
954
+ type: "FAILED_TO_PUBLISH";
955
+ data: {
956
+ platform: "VINTED" | "SHOPIFY";
957
+ };
958
+ } | {
959
+ type: "BUYER_PAID";
960
+ data: {
961
+ soldAccountId: string;
962
+ soldOrderId: string;
963
+ soldConversationId?: string | null | undefined;
964
+ };
965
+ } | null | undefined;
768
966
  } | null | undefined;
769
967
  }[] | null | undefined;
770
968
  accounts?: {
@@ -166,7 +166,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
166
166
  type: z.ZodLiteral<"ACTIONS">;
167
167
  data: z.ZodObject<{
168
168
  actions: z.ZodArray<z.ZodObject<{
169
- type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
169
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
170
170
  enabled: z.ZodBoolean;
171
171
  payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
172
172
  type: z.ZodLiteral<"EMPTY">;
@@ -332,7 +332,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
332
332
  };
333
333
  }>]>;
334
334
  }, "strip", z.ZodTypeAny, {
335
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
335
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
336
336
  payload: {
337
337
  type: "EMPTY";
338
338
  } | {
@@ -374,7 +374,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
374
374
  };
375
375
  enabled: boolean;
376
376
  }, {
377
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
377
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
378
378
  payload: {
379
379
  type: "EMPTY";
380
380
  } | {
@@ -418,7 +418,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
418
418
  }>, "many">;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  actions: {
421
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
421
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
422
422
  payload: {
423
423
  type: "EMPTY";
424
424
  } | {
@@ -462,7 +462,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
462
462
  }[];
463
463
  }, {
464
464
  actions: {
465
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
465
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
466
466
  payload: {
467
467
  type: "EMPTY";
468
468
  } | {
@@ -509,7 +509,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
509
509
  type: "ACTIONS";
510
510
  data: {
511
511
  actions: {
512
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
512
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
513
513
  payload: {
514
514
  type: "EMPTY";
515
515
  } | {
@@ -556,7 +556,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
556
556
  type: "ACTIONS";
557
557
  data: {
558
558
  actions: {
559
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
559
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
560
560
  payload: {
561
561
  type: "EMPTY";
562
562
  } | {
@@ -680,7 +680,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
680
680
  type: "ACTIONS";
681
681
  data: {
682
682
  actions: {
683
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
683
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
684
684
  payload: {
685
685
  type: "EMPTY";
686
686
  } | {
@@ -774,7 +774,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
774
774
  type: "ACTIONS";
775
775
  data: {
776
776
  actions: {
777
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
777
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
778
778
  payload: {
779
779
  type: "EMPTY";
780
780
  } | {
@@ -876,7 +876,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
876
876
  type: "ACTIONS";
877
877
  data: {
878
878
  actions: {
879
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
879
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
880
880
  payload: {
881
881
  type: "EMPTY";
882
882
  } | {
@@ -978,7 +978,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
978
978
  type: "ACTIONS";
979
979
  data: {
980
980
  actions: {
981
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
981
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
982
982
  payload: {
983
983
  type: "EMPTY";
984
984
  } | {
@@ -1088,7 +1088,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1088
1088
  type: "ACTIONS";
1089
1089
  data: {
1090
1090
  actions: {
1091
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1091
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1092
1092
  payload: {
1093
1093
  type: "EMPTY";
1094
1094
  } | {
@@ -1198,7 +1198,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1198
1198
  type: "ACTIONS";
1199
1199
  data: {
1200
1200
  actions: {
1201
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1201
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1202
1202
  payload: {
1203
1203
  type: "EMPTY";
1204
1204
  } | {
@@ -1414,7 +1414,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1414
1414
  type: z.ZodLiteral<"ACTIONS">;
1415
1415
  data: z.ZodObject<{
1416
1416
  actions: z.ZodArray<z.ZodObject<{
1417
- type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
1417
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
1418
1418
  enabled: z.ZodBoolean;
1419
1419
  payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1420
1420
  type: z.ZodLiteral<"EMPTY">;
@@ -1580,7 +1580,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1580
1580
  };
1581
1581
  }>]>;
1582
1582
  }, "strip", z.ZodTypeAny, {
1583
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1583
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1584
1584
  payload: {
1585
1585
  type: "EMPTY";
1586
1586
  } | {
@@ -1622,7 +1622,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1622
1622
  };
1623
1623
  enabled: boolean;
1624
1624
  }, {
1625
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1625
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1626
1626
  payload: {
1627
1627
  type: "EMPTY";
1628
1628
  } | {
@@ -1666,7 +1666,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1666
1666
  }>, "many">;
1667
1667
  }, "strip", z.ZodTypeAny, {
1668
1668
  actions: {
1669
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1669
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1670
1670
  payload: {
1671
1671
  type: "EMPTY";
1672
1672
  } | {
@@ -1710,7 +1710,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1710
1710
  }[];
1711
1711
  }, {
1712
1712
  actions: {
1713
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1713
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1714
1714
  payload: {
1715
1715
  type: "EMPTY";
1716
1716
  } | {
@@ -1757,7 +1757,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1757
1757
  type: "ACTIONS";
1758
1758
  data: {
1759
1759
  actions: {
1760
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1760
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1761
1761
  payload: {
1762
1762
  type: "EMPTY";
1763
1763
  } | {
@@ -1804,7 +1804,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1804
1804
  type: "ACTIONS";
1805
1805
  data: {
1806
1806
  actions: {
1807
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1807
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1808
1808
  payload: {
1809
1809
  type: "EMPTY";
1810
1810
  } | {
@@ -1928,7 +1928,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1928
1928
  type: "ACTIONS";
1929
1929
  data: {
1930
1930
  actions: {
1931
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1931
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
1932
1932
  payload: {
1933
1933
  type: "EMPTY";
1934
1934
  } | {
@@ -2022,7 +2022,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2022
2022
  type: "ACTIONS";
2023
2023
  data: {
2024
2024
  actions: {
2025
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2025
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2026
2026
  payload: {
2027
2027
  type: "EMPTY";
2028
2028
  } | {
@@ -2124,7 +2124,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2124
2124
  type: "ACTIONS";
2125
2125
  data: {
2126
2126
  actions: {
2127
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2127
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2128
2128
  payload: {
2129
2129
  type: "EMPTY";
2130
2130
  } | {
@@ -2226,7 +2226,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2226
2226
  type: "ACTIONS";
2227
2227
  data: {
2228
2228
  actions: {
2229
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2229
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2230
2230
  payload: {
2231
2231
  type: "EMPTY";
2232
2232
  } | {
@@ -2434,7 +2434,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2434
2434
  type: z.ZodLiteral<"ACTIONS">;
2435
2435
  data: z.ZodObject<{
2436
2436
  actions: z.ZodArray<z.ZodObject<{
2437
- type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
2437
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
2438
2438
  enabled: z.ZodBoolean;
2439
2439
  payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2440
2440
  type: z.ZodLiteral<"EMPTY">;
@@ -2600,7 +2600,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2600
2600
  };
2601
2601
  }>]>;
2602
2602
  }, "strip", z.ZodTypeAny, {
2603
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2603
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2604
2604
  payload: {
2605
2605
  type: "EMPTY";
2606
2606
  } | {
@@ -2642,7 +2642,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2642
2642
  };
2643
2643
  enabled: boolean;
2644
2644
  }, {
2645
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2645
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2646
2646
  payload: {
2647
2647
  type: "EMPTY";
2648
2648
  } | {
@@ -2686,7 +2686,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2686
2686
  }>, "many">;
2687
2687
  }, "strip", z.ZodTypeAny, {
2688
2688
  actions: {
2689
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2689
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2690
2690
  payload: {
2691
2691
  type: "EMPTY";
2692
2692
  } | {
@@ -2730,7 +2730,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2730
2730
  }[];
2731
2731
  }, {
2732
2732
  actions: {
2733
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2733
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2734
2734
  payload: {
2735
2735
  type: "EMPTY";
2736
2736
  } | {
@@ -2777,7 +2777,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2777
2777
  type: "ACTIONS";
2778
2778
  data: {
2779
2779
  actions: {
2780
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2780
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2781
2781
  payload: {
2782
2782
  type: "EMPTY";
2783
2783
  } | {
@@ -2824,7 +2824,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2824
2824
  type: "ACTIONS";
2825
2825
  data: {
2826
2826
  actions: {
2827
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2827
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2828
2828
  payload: {
2829
2829
  type: "EMPTY";
2830
2830
  } | {
@@ -2948,7 +2948,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2948
2948
  type: "ACTIONS";
2949
2949
  data: {
2950
2950
  actions: {
2951
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2951
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
2952
2952
  payload: {
2953
2953
  type: "EMPTY";
2954
2954
  } | {
@@ -3042,7 +3042,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3042
3042
  type: "ACTIONS";
3043
3043
  data: {
3044
3044
  actions: {
3045
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3045
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3046
3046
  payload: {
3047
3047
  type: "EMPTY";
3048
3048
  } | {
@@ -3152,7 +3152,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3152
3152
  type: "ACTIONS";
3153
3153
  data: {
3154
3154
  actions: {
3155
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3155
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3156
3156
  payload: {
3157
3157
  type: "EMPTY";
3158
3158
  } | {
@@ -3256,7 +3256,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3256
3256
  type: "ACTIONS";
3257
3257
  data: {
3258
3258
  actions: {
3259
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3259
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3260
3260
  payload: {
3261
3261
  type: "EMPTY";
3262
3262
  } | {
@@ -3352,7 +3352,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3352
3352
  type: "ACTIONS";
3353
3353
  data: {
3354
3354
  actions: {
3355
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3355
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3356
3356
  payload: {
3357
3357
  type: "EMPTY";
3358
3358
  } | {
@@ -3462,7 +3462,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3462
3462
  type: "ACTIONS";
3463
3463
  data: {
3464
3464
  actions: {
3465
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3465
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3466
3466
  payload: {
3467
3467
  type: "EMPTY";
3468
3468
  } | {
@@ -3566,7 +3566,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3566
3566
  type: "ACTIONS";
3567
3567
  data: {
3568
3568
  actions: {
3569
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3569
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3570
3570
  payload: {
3571
3571
  type: "EMPTY";
3572
3572
  } | {
@@ -3662,7 +3662,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3662
3662
  type: "ACTIONS";
3663
3663
  data: {
3664
3664
  actions: {
3665
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
3665
+ type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
3666
3666
  payload: {
3667
3667
  type: "EMPTY";
3668
3668
  } | {