controlresell 2.2.6 → 2.2.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 (92) 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/items/platforms/PriceDropRequest.d.ts +42 -0
  25. package/src/com/controlresell/models/items/platforms/PriceDropRequest.js +9 -0
  26. package/src/com/controlresell/models/items/platforms/PriceDropRequest.ts +8 -0
  27. package/src/com/controlresell/models/items/platforms/RepublishRequest.d.ts +82 -0
  28. package/src/com/controlresell/models/items/platforms/RepublishRequest.js +9 -0
  29. package/src/com/controlresell/models/items/platforms/RepublishRequest.ts +8 -0
  30. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.d.ts +15 -0
  31. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.js +9 -0
  32. package/src/com/controlresell/models/platforms/favorites/CreateFavoritePayload.ts +8 -0
  33. package/src/com/controlresell/models/platforms/favorites/Favorite.d.ts +559 -0
  34. package/src/com/controlresell/models/platforms/favorites/Favorite.js +15 -0
  35. package/src/com/controlresell/models/platforms/favorites/Favorite.ts +14 -0
  36. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.d.ts +52 -0
  37. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.js +10 -0
  38. package/src/com/controlresell/models/platforms/favorites/FavoriteOnPlatformUpdateRequest.ts +9 -0
  39. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.d.ts +12 -0
  40. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.js +8 -0
  41. package/src/com/controlresell/models/platforms/favorites/UpdateFavoritePayload.ts +7 -0
  42. package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +205 -7
  43. package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +205 -7
  44. package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +3 -3
  45. package/src/com/controlresell/models/preferences/Preference.d.ts +29 -299
  46. package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +205 -7
  47. package/src/com/controlresell/models/preferences/PreferenceType.d.ts +1 -1
  48. package/src/com/controlresell/models/preferences/PreferenceType.js +1 -1
  49. package/src/com/controlresell/models/preferences/PreferenceType.ts +1 -1
  50. package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +83 -893
  51. package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +22 -260
  52. package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +22 -260
  53. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +22 -260
  54. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +6 -116
  55. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +2 -1
  56. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +2 -1
  57. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +0 -79
  58. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +0 -5
  59. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +0 -5
  60. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.d.ts +1 -1
  61. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.js +1 -1
  62. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadType.ts +1 -1
  63. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +10 -152
  64. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.d.ts +82 -0
  65. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.js +9 -0
  66. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.ts +8 -0
  67. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +213 -0
  68. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +13 -0
  69. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +12 -0
  70. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.d.ts +3 -0
  71. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.js +7 -0
  72. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayloadType.ts +6 -0
  73. package/src/com/controlresell/models/preferences/variables/PreferenceVariable.d.ts +3 -3
  74. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.d.ts +1 -1
  75. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.js +1 -1
  76. package/src/com/controlresell/models/preferences/variables/PreferenceVariableName.ts +1 -1
  77. package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +18 -224
  78. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +18 -224
  79. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +14 -188
  80. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +18 -224
  81. package/src/index.d.ts +12 -3
  82. package/src/index.js +27 -9
  83. package/src/index.ts +12 -3
  84. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.d.ts +0 -36
  85. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.js +0 -17
  86. package/src/com/controlresell/models/platforms/preferences/CreatePlatformPreferencePayload.ts +0 -16
  87. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.d.ts +0 -42
  88. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.js +0 -20
  89. package/src/com/controlresell/models/platforms/preferences/PlatformPreference.ts +0 -19
  90. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.d.ts +0 -30
  91. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.js +0 -14
  92. package/src/com/controlresell/models/platforms/preferences/UpdatePlatformPreferencePayload.ts +0 -13
@@ -4,7 +4,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  parentPreferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
7
- type: z.ZodEnum<["NEGOTIATION", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>;
7
+ type: z.ZodEnum<["NEGOTIATION", "REPUBLISH", "VISION", "TITLE", "DESCRIPTION", "LIFECYCLE", "FEES", "MESSAGES_QUESTIONS", "MESSAGES_STREAM", "MESSAGES_STREAM__ON_FAVORITE", "MESSAGES_STREAM__ON_FAVORITES", "MESSAGES_STREAM__ON_LOW_OFFER", "MESSAGES_STREAM__ON_CORRECT_OFFER", "MESSAGES_STREAM__ON_OFFER_REJECTED", "MESSAGES_STREAM__ON_NO_ANSWER", "MESSAGES_STREAM__ON_BUYER_PAID", "MESSAGES_STREAM__ON_ITEM_DELIVERED", "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE"]>;
8
8
  enabled: z.ZodBoolean;
9
9
  testMode: z.ZodBoolean;
10
10
  cases: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -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">;
@@ -232,85 +232,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
232
232
  roundStep?: number | null | undefined;
233
233
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
234
234
  };
235
- }>, z.ZodObject<{
236
- type: z.ZodLiteral<"VISION">;
237
- data: z.ZodObject<{
238
- doRemoveBackground: z.ZodBoolean;
239
- doSmartCrop: z.ZodBoolean;
240
- doChangeBackground: z.ZodBoolean;
241
- doRotate: z.ZodBoolean;
242
- doAddBorders: z.ZodBoolean;
243
- shadow: z.ZodBoolean;
244
- targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
245
- targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
246
- newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
- newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
- rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
- borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
250
- borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
- }, "strip", z.ZodTypeAny, {
252
- doRemoveBackground: boolean;
253
- doSmartCrop: boolean;
254
- doChangeBackground: boolean;
255
- doRotate: boolean;
256
- doAddBorders: boolean;
257
- shadow: boolean;
258
- targetWidth?: number | null | undefined;
259
- targetHeight?: number | null | undefined;
260
- newBackgroundColor?: string | null | undefined;
261
- newBackgroundUrl?: string | null | undefined;
262
- rotationAngle?: number | null | undefined;
263
- borderSize?: number | null | undefined;
264
- borderColor?: string | null | undefined;
265
- }, {
266
- doRemoveBackground: boolean;
267
- doSmartCrop: boolean;
268
- doChangeBackground: boolean;
269
- doRotate: boolean;
270
- doAddBorders: boolean;
271
- shadow: boolean;
272
- targetWidth?: number | null | undefined;
273
- targetHeight?: number | null | undefined;
274
- newBackgroundColor?: string | null | undefined;
275
- newBackgroundUrl?: string | null | undefined;
276
- rotationAngle?: number | null | undefined;
277
- borderSize?: number | null | undefined;
278
- borderColor?: string | null | undefined;
279
- }>;
280
- }, "strip", z.ZodTypeAny, {
281
- type: "VISION";
282
- data: {
283
- doRemoveBackground: boolean;
284
- doSmartCrop: boolean;
285
- doChangeBackground: boolean;
286
- doRotate: boolean;
287
- doAddBorders: boolean;
288
- shadow: boolean;
289
- targetWidth?: number | null | undefined;
290
- targetHeight?: number | null | undefined;
291
- newBackgroundColor?: string | null | undefined;
292
- newBackgroundUrl?: string | null | undefined;
293
- rotationAngle?: number | null | undefined;
294
- borderSize?: number | null | undefined;
295
- borderColor?: string | null | undefined;
296
- };
297
- }, {
298
- type: "VISION";
299
- data: {
300
- doRemoveBackground: boolean;
301
- doSmartCrop: boolean;
302
- doChangeBackground: boolean;
303
- doRotate: boolean;
304
- doAddBorders: boolean;
305
- shadow: boolean;
306
- targetWidth?: number | null | undefined;
307
- targetHeight?: number | null | undefined;
308
- newBackgroundColor?: string | null | undefined;
309
- newBackgroundUrl?: string | null | undefined;
310
- rotationAngle?: number | null | undefined;
311
- borderSize?: number | null | undefined;
312
- borderColor?: string | null | undefined;
313
- };
314
235
  }>, z.ZodObject<{
315
236
  type: z.ZodLiteral<"TEXT">;
316
237
  data: z.ZodObject<{
@@ -331,8 +252,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
331
252
  text: string;
332
253
  };
333
254
  }>]>;
255
+ mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
334
256
  }, "strip", z.ZodTypeAny, {
335
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
257
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
336
258
  payload: {
337
259
  type: "EMPTY";
338
260
  } | {
@@ -349,23 +271,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
349
271
  roundStep?: number | null | undefined;
350
272
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
351
273
  };
352
- } | {
353
- type: "VISION";
354
- data: {
355
- doRemoveBackground: boolean;
356
- doSmartCrop: boolean;
357
- doChangeBackground: boolean;
358
- doRotate: boolean;
359
- doAddBorders: boolean;
360
- shadow: boolean;
361
- targetWidth?: number | null | undefined;
362
- targetHeight?: number | null | undefined;
363
- newBackgroundColor?: string | null | undefined;
364
- newBackgroundUrl?: string | null | undefined;
365
- rotationAngle?: number | null | undefined;
366
- borderSize?: number | null | undefined;
367
- borderColor?: string | null | undefined;
368
- };
369
274
  } | {
370
275
  type: "TEXT";
371
276
  data: {
@@ -373,8 +278,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
373
278
  };
374
279
  };
375
280
  enabled: boolean;
281
+ mandatory?: boolean | null | undefined;
376
282
  }, {
377
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
283
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
378
284
  payload: {
379
285
  type: "EMPTY";
380
286
  } | {
@@ -391,23 +297,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
391
297
  roundStep?: number | null | undefined;
392
298
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
393
299
  };
394
- } | {
395
- type: "VISION";
396
- data: {
397
- doRemoveBackground: boolean;
398
- doSmartCrop: boolean;
399
- doChangeBackground: boolean;
400
- doRotate: boolean;
401
- doAddBorders: boolean;
402
- shadow: boolean;
403
- targetWidth?: number | null | undefined;
404
- targetHeight?: number | null | undefined;
405
- newBackgroundColor?: string | null | undefined;
406
- newBackgroundUrl?: string | null | undefined;
407
- rotationAngle?: number | null | undefined;
408
- borderSize?: number | null | undefined;
409
- borderColor?: string | null | undefined;
410
- };
411
300
  } | {
412
301
  type: "TEXT";
413
302
  data: {
@@ -415,10 +304,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
415
304
  };
416
305
  };
417
306
  enabled: boolean;
307
+ mandatory?: boolean | null | undefined;
418
308
  }>, "many">;
419
309
  }, "strip", z.ZodTypeAny, {
420
310
  actions: {
421
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
311
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
422
312
  payload: {
423
313
  type: "EMPTY";
424
314
  } | {
@@ -435,23 +325,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
435
325
  roundStep?: number | null | undefined;
436
326
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
437
327
  };
438
- } | {
439
- type: "VISION";
440
- data: {
441
- doRemoveBackground: boolean;
442
- doSmartCrop: boolean;
443
- doChangeBackground: boolean;
444
- doRotate: boolean;
445
- doAddBorders: boolean;
446
- shadow: boolean;
447
- targetWidth?: number | null | undefined;
448
- targetHeight?: number | null | undefined;
449
- newBackgroundColor?: string | null | undefined;
450
- newBackgroundUrl?: string | null | undefined;
451
- rotationAngle?: number | null | undefined;
452
- borderSize?: number | null | undefined;
453
- borderColor?: string | null | undefined;
454
- };
455
328
  } | {
456
329
  type: "TEXT";
457
330
  data: {
@@ -459,10 +332,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
459
332
  };
460
333
  };
461
334
  enabled: boolean;
335
+ mandatory?: boolean | null | undefined;
462
336
  }[];
463
337
  }, {
464
338
  actions: {
465
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
339
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
466
340
  payload: {
467
341
  type: "EMPTY";
468
342
  } | {
@@ -479,23 +353,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
479
353
  roundStep?: number | null | undefined;
480
354
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
481
355
  };
482
- } | {
483
- type: "VISION";
484
- data: {
485
- doRemoveBackground: boolean;
486
- doSmartCrop: boolean;
487
- doChangeBackground: boolean;
488
- doRotate: boolean;
489
- doAddBorders: boolean;
490
- shadow: boolean;
491
- targetWidth?: number | null | undefined;
492
- targetHeight?: number | null | undefined;
493
- newBackgroundColor?: string | null | undefined;
494
- newBackgroundUrl?: string | null | undefined;
495
- rotationAngle?: number | null | undefined;
496
- borderSize?: number | null | undefined;
497
- borderColor?: string | null | undefined;
498
- };
499
356
  } | {
500
357
  type: "TEXT";
501
358
  data: {
@@ -503,13 +360,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
503
360
  };
504
361
  };
505
362
  enabled: boolean;
363
+ mandatory?: boolean | null | undefined;
506
364
  }[];
507
365
  }>;
508
366
  }, "strip", z.ZodTypeAny, {
509
367
  type: "ACTIONS";
510
368
  data: {
511
369
  actions: {
512
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
370
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
513
371
  payload: {
514
372
  type: "EMPTY";
515
373
  } | {
@@ -526,23 +384,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
526
384
  roundStep?: number | null | undefined;
527
385
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
528
386
  };
529
- } | {
530
- type: "VISION";
531
- data: {
532
- doRemoveBackground: boolean;
533
- doSmartCrop: boolean;
534
- doChangeBackground: boolean;
535
- doRotate: boolean;
536
- doAddBorders: boolean;
537
- shadow: boolean;
538
- targetWidth?: number | null | undefined;
539
- targetHeight?: number | null | undefined;
540
- newBackgroundColor?: string | null | undefined;
541
- newBackgroundUrl?: string | null | undefined;
542
- rotationAngle?: number | null | undefined;
543
- borderSize?: number | null | undefined;
544
- borderColor?: string | null | undefined;
545
- };
546
387
  } | {
547
388
  type: "TEXT";
548
389
  data: {
@@ -550,13 +391,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
550
391
  };
551
392
  };
552
393
  enabled: boolean;
394
+ mandatory?: boolean | null | undefined;
553
395
  }[];
554
396
  };
555
397
  }, {
556
398
  type: "ACTIONS";
557
399
  data: {
558
400
  actions: {
559
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
401
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
560
402
  payload: {
561
403
  type: "EMPTY";
562
404
  } | {
@@ -573,23 +415,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
573
415
  roundStep?: number | null | undefined;
574
416
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
575
417
  };
576
- } | {
577
- type: "VISION";
578
- data: {
579
- doRemoveBackground: boolean;
580
- doSmartCrop: boolean;
581
- doChangeBackground: boolean;
582
- doRotate: boolean;
583
- doAddBorders: boolean;
584
- shadow: boolean;
585
- targetWidth?: number | null | undefined;
586
- targetHeight?: number | null | undefined;
587
- newBackgroundColor?: string | null | undefined;
588
- newBackgroundUrl?: string | null | undefined;
589
- rotationAngle?: number | null | undefined;
590
- borderSize?: number | null | undefined;
591
- borderColor?: string | null | undefined;
592
- };
593
418
  } | {
594
419
  type: "TEXT";
595
420
  data: {
@@ -597,6 +422,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
597
422
  };
598
423
  };
599
424
  enabled: boolean;
425
+ mandatory?: boolean | null | undefined;
600
426
  }[];
601
427
  };
602
428
  }>, z.ZodObject<{
@@ -680,7 +506,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
680
506
  type: "ACTIONS";
681
507
  data: {
682
508
  actions: {
683
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
509
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
684
510
  payload: {
685
511
  type: "EMPTY";
686
512
  } | {
@@ -697,23 +523,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
697
523
  roundStep?: number | null | undefined;
698
524
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
699
525
  };
700
- } | {
701
- type: "VISION";
702
- data: {
703
- doRemoveBackground: boolean;
704
- doSmartCrop: boolean;
705
- doChangeBackground: boolean;
706
- doRotate: boolean;
707
- doAddBorders: boolean;
708
- shadow: boolean;
709
- targetWidth?: number | null | undefined;
710
- targetHeight?: number | null | undefined;
711
- newBackgroundColor?: string | null | undefined;
712
- newBackgroundUrl?: string | null | undefined;
713
- rotationAngle?: number | null | undefined;
714
- borderSize?: number | null | undefined;
715
- borderColor?: string | null | undefined;
716
- };
717
526
  } | {
718
527
  type: "TEXT";
719
528
  data: {
@@ -721,6 +530,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
721
530
  };
722
531
  };
723
532
  enabled: boolean;
533
+ mandatory?: boolean | null | undefined;
724
534
  }[];
725
535
  };
726
536
  } | {
@@ -774,7 +584,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
774
584
  type: "ACTIONS";
775
585
  data: {
776
586
  actions: {
777
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
587
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
778
588
  payload: {
779
589
  type: "EMPTY";
780
590
  } | {
@@ -791,23 +601,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
791
601
  roundStep?: number | null | undefined;
792
602
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
793
603
  };
794
- } | {
795
- type: "VISION";
796
- data: {
797
- doRemoveBackground: boolean;
798
- doSmartCrop: boolean;
799
- doChangeBackground: boolean;
800
- doRotate: boolean;
801
- doAddBorders: boolean;
802
- shadow: boolean;
803
- targetWidth?: number | null | undefined;
804
- targetHeight?: number | null | undefined;
805
- newBackgroundColor?: string | null | undefined;
806
- newBackgroundUrl?: string | null | undefined;
807
- rotationAngle?: number | null | undefined;
808
- borderSize?: number | null | undefined;
809
- borderColor?: string | null | undefined;
810
- };
811
604
  } | {
812
605
  type: "TEXT";
813
606
  data: {
@@ -815,6 +608,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
815
608
  };
816
609
  };
817
610
  enabled: boolean;
611
+ mandatory?: boolean | null | undefined;
818
612
  }[];
819
613
  };
820
614
  } | {
@@ -876,7 +670,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
876
670
  type: "ACTIONS";
877
671
  data: {
878
672
  actions: {
879
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
673
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
880
674
  payload: {
881
675
  type: "EMPTY";
882
676
  } | {
@@ -893,23 +687,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
893
687
  roundStep?: number | null | undefined;
894
688
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
895
689
  };
896
- } | {
897
- type: "VISION";
898
- data: {
899
- doRemoveBackground: boolean;
900
- doSmartCrop: boolean;
901
- doChangeBackground: boolean;
902
- doRotate: boolean;
903
- doAddBorders: boolean;
904
- shadow: boolean;
905
- targetWidth?: number | null | undefined;
906
- targetHeight?: number | null | undefined;
907
- newBackgroundColor?: string | null | undefined;
908
- newBackgroundUrl?: string | null | undefined;
909
- rotationAngle?: number | null | undefined;
910
- borderSize?: number | null | undefined;
911
- borderColor?: string | null | undefined;
912
- };
913
690
  } | {
914
691
  type: "TEXT";
915
692
  data: {
@@ -917,6 +694,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
917
694
  };
918
695
  };
919
696
  enabled: boolean;
697
+ mandatory?: boolean | null | undefined;
920
698
  }[];
921
699
  };
922
700
  } | {
@@ -978,7 +756,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
978
756
  type: "ACTIONS";
979
757
  data: {
980
758
  actions: {
981
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
759
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
982
760
  payload: {
983
761
  type: "EMPTY";
984
762
  } | {
@@ -995,23 +773,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
995
773
  roundStep?: number | null | undefined;
996
774
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
997
775
  };
998
- } | {
999
- type: "VISION";
1000
- data: {
1001
- doRemoveBackground: boolean;
1002
- doSmartCrop: boolean;
1003
- doChangeBackground: boolean;
1004
- doRotate: boolean;
1005
- doAddBorders: boolean;
1006
- shadow: boolean;
1007
- targetWidth?: number | null | undefined;
1008
- targetHeight?: number | null | undefined;
1009
- newBackgroundColor?: string | null | undefined;
1010
- newBackgroundUrl?: string | null | undefined;
1011
- rotationAngle?: number | null | undefined;
1012
- borderSize?: number | null | undefined;
1013
- borderColor?: string | null | undefined;
1014
- };
1015
776
  } | {
1016
777
  type: "TEXT";
1017
778
  data: {
@@ -1019,6 +780,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1019
780
  };
1020
781
  };
1021
782
  enabled: boolean;
783
+ mandatory?: boolean | null | undefined;
1022
784
  }[];
1023
785
  };
1024
786
  } | {
@@ -1035,7 +797,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1035
797
  }[] | null | undefined;
1036
798
  }>, "many">>>;
1037
799
  }, "strip", z.ZodTypeAny, {
1038
- type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
800
+ type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
1039
801
  id: string;
1040
802
  userId: string | number;
1041
803
  enabled: boolean;
@@ -1088,7 +850,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1088
850
  type: "ACTIONS";
1089
851
  data: {
1090
852
  actions: {
1091
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
853
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1092
854
  payload: {
1093
855
  type: "EMPTY";
1094
856
  } | {
@@ -1105,23 +867,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1105
867
  roundStep?: number | null | undefined;
1106
868
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1107
869
  };
1108
- } | {
1109
- type: "VISION";
1110
- data: {
1111
- doRemoveBackground: boolean;
1112
- doSmartCrop: boolean;
1113
- doChangeBackground: boolean;
1114
- doRotate: boolean;
1115
- doAddBorders: boolean;
1116
- shadow: boolean;
1117
- targetWidth?: number | null | undefined;
1118
- targetHeight?: number | null | undefined;
1119
- newBackgroundColor?: string | null | undefined;
1120
- newBackgroundUrl?: string | null | undefined;
1121
- rotationAngle?: number | null | undefined;
1122
- borderSize?: number | null | undefined;
1123
- borderColor?: string | null | undefined;
1124
- };
1125
870
  } | {
1126
871
  type: "TEXT";
1127
872
  data: {
@@ -1129,6 +874,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1129
874
  };
1130
875
  };
1131
876
  enabled: boolean;
877
+ mandatory?: boolean | null | undefined;
1132
878
  }[];
1133
879
  };
1134
880
  } | {
@@ -1145,7 +891,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1145
891
  }[] | null | undefined;
1146
892
  }[] | null | undefined;
1147
893
  }, {
1148
- type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
894
+ type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
1149
895
  id: string;
1150
896
  userId: string | number;
1151
897
  enabled: boolean;
@@ -1198,7 +944,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1198
944
  type: "ACTIONS";
1199
945
  data: {
1200
946
  actions: {
1201
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
947
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1202
948
  payload: {
1203
949
  type: "EMPTY";
1204
950
  } | {
@@ -1215,23 +961,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1215
961
  roundStep?: number | null | undefined;
1216
962
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1217
963
  };
1218
- } | {
1219
- type: "VISION";
1220
- data: {
1221
- doRemoveBackground: boolean;
1222
- doSmartCrop: boolean;
1223
- doChangeBackground: boolean;
1224
- doRotate: boolean;
1225
- doAddBorders: boolean;
1226
- shadow: boolean;
1227
- targetWidth?: number | null | undefined;
1228
- targetHeight?: number | null | undefined;
1229
- newBackgroundColor?: string | null | undefined;
1230
- newBackgroundUrl?: string | null | undefined;
1231
- rotationAngle?: number | null | undefined;
1232
- borderSize?: number | null | undefined;
1233
- borderColor?: string | null | undefined;
1234
- };
1235
964
  } | {
1236
965
  type: "TEXT";
1237
966
  data: {
@@ -1239,6 +968,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1239
968
  };
1240
969
  };
1241
970
  enabled: boolean;
971
+ mandatory?: boolean | null | undefined;
1242
972
  }[];
1243
973
  };
1244
974
  } | {
@@ -1414,7 +1144,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1414
1144
  type: z.ZodLiteral<"ACTIONS">;
1415
1145
  data: z.ZodObject<{
1416
1146
  actions: z.ZodArray<z.ZodObject<{
1417
- type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
1147
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
1418
1148
  enabled: z.ZodBoolean;
1419
1149
  payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1420
1150
  type: z.ZodLiteral<"EMPTY">;
@@ -1480,85 +1210,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1480
1210
  roundStep?: number | null | undefined;
1481
1211
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1482
1212
  };
1483
- }>, z.ZodObject<{
1484
- type: z.ZodLiteral<"VISION">;
1485
- data: z.ZodObject<{
1486
- doRemoveBackground: z.ZodBoolean;
1487
- doSmartCrop: z.ZodBoolean;
1488
- doChangeBackground: z.ZodBoolean;
1489
- doRotate: z.ZodBoolean;
1490
- doAddBorders: z.ZodBoolean;
1491
- shadow: z.ZodBoolean;
1492
- targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1493
- targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1494
- newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1495
- newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1496
- rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1497
- borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1498
- borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1499
- }, "strip", z.ZodTypeAny, {
1500
- doRemoveBackground: boolean;
1501
- doSmartCrop: boolean;
1502
- doChangeBackground: boolean;
1503
- doRotate: boolean;
1504
- doAddBorders: boolean;
1505
- shadow: boolean;
1506
- targetWidth?: number | null | undefined;
1507
- targetHeight?: number | null | undefined;
1508
- newBackgroundColor?: string | null | undefined;
1509
- newBackgroundUrl?: string | null | undefined;
1510
- rotationAngle?: number | null | undefined;
1511
- borderSize?: number | null | undefined;
1512
- borderColor?: string | null | undefined;
1513
- }, {
1514
- doRemoveBackground: boolean;
1515
- doSmartCrop: boolean;
1516
- doChangeBackground: boolean;
1517
- doRotate: boolean;
1518
- doAddBorders: boolean;
1519
- shadow: boolean;
1520
- targetWidth?: number | null | undefined;
1521
- targetHeight?: number | null | undefined;
1522
- newBackgroundColor?: string | null | undefined;
1523
- newBackgroundUrl?: string | null | undefined;
1524
- rotationAngle?: number | null | undefined;
1525
- borderSize?: number | null | undefined;
1526
- borderColor?: string | null | undefined;
1527
- }>;
1528
- }, "strip", z.ZodTypeAny, {
1529
- type: "VISION";
1530
- data: {
1531
- doRemoveBackground: boolean;
1532
- doSmartCrop: boolean;
1533
- doChangeBackground: boolean;
1534
- doRotate: boolean;
1535
- doAddBorders: boolean;
1536
- shadow: boolean;
1537
- targetWidth?: number | null | undefined;
1538
- targetHeight?: number | null | undefined;
1539
- newBackgroundColor?: string | null | undefined;
1540
- newBackgroundUrl?: string | null | undefined;
1541
- rotationAngle?: number | null | undefined;
1542
- borderSize?: number | null | undefined;
1543
- borderColor?: string | null | undefined;
1544
- };
1545
- }, {
1546
- type: "VISION";
1547
- data: {
1548
- doRemoveBackground: boolean;
1549
- doSmartCrop: boolean;
1550
- doChangeBackground: boolean;
1551
- doRotate: boolean;
1552
- doAddBorders: boolean;
1553
- shadow: boolean;
1554
- targetWidth?: number | null | undefined;
1555
- targetHeight?: number | null | undefined;
1556
- newBackgroundColor?: string | null | undefined;
1557
- newBackgroundUrl?: string | null | undefined;
1558
- rotationAngle?: number | null | undefined;
1559
- borderSize?: number | null | undefined;
1560
- borderColor?: string | null | undefined;
1561
- };
1562
1213
  }>, z.ZodObject<{
1563
1214
  type: z.ZodLiteral<"TEXT">;
1564
1215
  data: z.ZodObject<{
@@ -1579,8 +1230,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1579
1230
  text: string;
1580
1231
  };
1581
1232
  }>]>;
1233
+ mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1582
1234
  }, "strip", z.ZodTypeAny, {
1583
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1235
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1584
1236
  payload: {
1585
1237
  type: "EMPTY";
1586
1238
  } | {
@@ -1597,23 +1249,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1597
1249
  roundStep?: number | null | undefined;
1598
1250
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1599
1251
  };
1600
- } | {
1601
- type: "VISION";
1602
- data: {
1603
- doRemoveBackground: boolean;
1604
- doSmartCrop: boolean;
1605
- doChangeBackground: boolean;
1606
- doRotate: boolean;
1607
- doAddBorders: boolean;
1608
- shadow: boolean;
1609
- targetWidth?: number | null | undefined;
1610
- targetHeight?: number | null | undefined;
1611
- newBackgroundColor?: string | null | undefined;
1612
- newBackgroundUrl?: string | null | undefined;
1613
- rotationAngle?: number | null | undefined;
1614
- borderSize?: number | null | undefined;
1615
- borderColor?: string | null | undefined;
1616
- };
1617
1252
  } | {
1618
1253
  type: "TEXT";
1619
1254
  data: {
@@ -1621,8 +1256,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1621
1256
  };
1622
1257
  };
1623
1258
  enabled: boolean;
1259
+ mandatory?: boolean | null | undefined;
1624
1260
  }, {
1625
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1261
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1626
1262
  payload: {
1627
1263
  type: "EMPTY";
1628
1264
  } | {
@@ -1639,23 +1275,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1639
1275
  roundStep?: number | null | undefined;
1640
1276
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1641
1277
  };
1642
- } | {
1643
- type: "VISION";
1644
- data: {
1645
- doRemoveBackground: boolean;
1646
- doSmartCrop: boolean;
1647
- doChangeBackground: boolean;
1648
- doRotate: boolean;
1649
- doAddBorders: boolean;
1650
- shadow: boolean;
1651
- targetWidth?: number | null | undefined;
1652
- targetHeight?: number | null | undefined;
1653
- newBackgroundColor?: string | null | undefined;
1654
- newBackgroundUrl?: string | null | undefined;
1655
- rotationAngle?: number | null | undefined;
1656
- borderSize?: number | null | undefined;
1657
- borderColor?: string | null | undefined;
1658
- };
1659
1278
  } | {
1660
1279
  type: "TEXT";
1661
1280
  data: {
@@ -1663,10 +1282,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1663
1282
  };
1664
1283
  };
1665
1284
  enabled: boolean;
1285
+ mandatory?: boolean | null | undefined;
1666
1286
  }>, "many">;
1667
1287
  }, "strip", z.ZodTypeAny, {
1668
1288
  actions: {
1669
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1289
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1670
1290
  payload: {
1671
1291
  type: "EMPTY";
1672
1292
  } | {
@@ -1683,23 +1303,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1683
1303
  roundStep?: number | null | undefined;
1684
1304
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1685
1305
  };
1686
- } | {
1687
- type: "VISION";
1688
- data: {
1689
- doRemoveBackground: boolean;
1690
- doSmartCrop: boolean;
1691
- doChangeBackground: boolean;
1692
- doRotate: boolean;
1693
- doAddBorders: boolean;
1694
- shadow: boolean;
1695
- targetWidth?: number | null | undefined;
1696
- targetHeight?: number | null | undefined;
1697
- newBackgroundColor?: string | null | undefined;
1698
- newBackgroundUrl?: string | null | undefined;
1699
- rotationAngle?: number | null | undefined;
1700
- borderSize?: number | null | undefined;
1701
- borderColor?: string | null | undefined;
1702
- };
1703
1306
  } | {
1704
1307
  type: "TEXT";
1705
1308
  data: {
@@ -1707,10 +1310,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1707
1310
  };
1708
1311
  };
1709
1312
  enabled: boolean;
1313
+ mandatory?: boolean | null | undefined;
1710
1314
  }[];
1711
1315
  }, {
1712
1316
  actions: {
1713
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1317
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1714
1318
  payload: {
1715
1319
  type: "EMPTY";
1716
1320
  } | {
@@ -1727,23 +1331,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1727
1331
  roundStep?: number | null | undefined;
1728
1332
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1729
1333
  };
1730
- } | {
1731
- type: "VISION";
1732
- data: {
1733
- doRemoveBackground: boolean;
1734
- doSmartCrop: boolean;
1735
- doChangeBackground: boolean;
1736
- doRotate: boolean;
1737
- doAddBorders: boolean;
1738
- shadow: boolean;
1739
- targetWidth?: number | null | undefined;
1740
- targetHeight?: number | null | undefined;
1741
- newBackgroundColor?: string | null | undefined;
1742
- newBackgroundUrl?: string | null | undefined;
1743
- rotationAngle?: number | null | undefined;
1744
- borderSize?: number | null | undefined;
1745
- borderColor?: string | null | undefined;
1746
- };
1747
1334
  } | {
1748
1335
  type: "TEXT";
1749
1336
  data: {
@@ -1751,13 +1338,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1751
1338
  };
1752
1339
  };
1753
1340
  enabled: boolean;
1341
+ mandatory?: boolean | null | undefined;
1754
1342
  }[];
1755
1343
  }>;
1756
1344
  }, "strip", z.ZodTypeAny, {
1757
1345
  type: "ACTIONS";
1758
1346
  data: {
1759
1347
  actions: {
1760
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1348
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1761
1349
  payload: {
1762
1350
  type: "EMPTY";
1763
1351
  } | {
@@ -1774,23 +1362,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1774
1362
  roundStep?: number | null | undefined;
1775
1363
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1776
1364
  };
1777
- } | {
1778
- type: "VISION";
1779
- data: {
1780
- doRemoveBackground: boolean;
1781
- doSmartCrop: boolean;
1782
- doChangeBackground: boolean;
1783
- doRotate: boolean;
1784
- doAddBorders: boolean;
1785
- shadow: boolean;
1786
- targetWidth?: number | null | undefined;
1787
- targetHeight?: number | null | undefined;
1788
- newBackgroundColor?: string | null | undefined;
1789
- newBackgroundUrl?: string | null | undefined;
1790
- rotationAngle?: number | null | undefined;
1791
- borderSize?: number | null | undefined;
1792
- borderColor?: string | null | undefined;
1793
- };
1794
1365
  } | {
1795
1366
  type: "TEXT";
1796
1367
  data: {
@@ -1798,13 +1369,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1798
1369
  };
1799
1370
  };
1800
1371
  enabled: boolean;
1372
+ mandatory?: boolean | null | undefined;
1801
1373
  }[];
1802
1374
  };
1803
1375
  }, {
1804
1376
  type: "ACTIONS";
1805
1377
  data: {
1806
1378
  actions: {
1807
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1379
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1808
1380
  payload: {
1809
1381
  type: "EMPTY";
1810
1382
  } | {
@@ -1821,23 +1393,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1821
1393
  roundStep?: number | null | undefined;
1822
1394
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1823
1395
  };
1824
- } | {
1825
- type: "VISION";
1826
- data: {
1827
- doRemoveBackground: boolean;
1828
- doSmartCrop: boolean;
1829
- doChangeBackground: boolean;
1830
- doRotate: boolean;
1831
- doAddBorders: boolean;
1832
- shadow: boolean;
1833
- targetWidth?: number | null | undefined;
1834
- targetHeight?: number | null | undefined;
1835
- newBackgroundColor?: string | null | undefined;
1836
- newBackgroundUrl?: string | null | undefined;
1837
- rotationAngle?: number | null | undefined;
1838
- borderSize?: number | null | undefined;
1839
- borderColor?: string | null | undefined;
1840
- };
1841
1396
  } | {
1842
1397
  type: "TEXT";
1843
1398
  data: {
@@ -1845,6 +1400,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1845
1400
  };
1846
1401
  };
1847
1402
  enabled: boolean;
1403
+ mandatory?: boolean | null | undefined;
1848
1404
  }[];
1849
1405
  };
1850
1406
  }>, z.ZodObject<{
@@ -1928,7 +1484,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1928
1484
  type: "ACTIONS";
1929
1485
  data: {
1930
1486
  actions: {
1931
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1487
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
1932
1488
  payload: {
1933
1489
  type: "EMPTY";
1934
1490
  } | {
@@ -1945,23 +1501,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1945
1501
  roundStep?: number | null | undefined;
1946
1502
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
1947
1503
  };
1948
- } | {
1949
- type: "VISION";
1950
- data: {
1951
- doRemoveBackground: boolean;
1952
- doSmartCrop: boolean;
1953
- doChangeBackground: boolean;
1954
- doRotate: boolean;
1955
- doAddBorders: boolean;
1956
- shadow: boolean;
1957
- targetWidth?: number | null | undefined;
1958
- targetHeight?: number | null | undefined;
1959
- newBackgroundColor?: string | null | undefined;
1960
- newBackgroundUrl?: string | null | undefined;
1961
- rotationAngle?: number | null | undefined;
1962
- borderSize?: number | null | undefined;
1963
- borderColor?: string | null | undefined;
1964
- };
1965
1504
  } | {
1966
1505
  type: "TEXT";
1967
1506
  data: {
@@ -1969,6 +1508,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
1969
1508
  };
1970
1509
  };
1971
1510
  enabled: boolean;
1511
+ mandatory?: boolean | null | undefined;
1972
1512
  }[];
1973
1513
  };
1974
1514
  } | {
@@ -2022,7 +1562,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2022
1562
  type: "ACTIONS";
2023
1563
  data: {
2024
1564
  actions: {
2025
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1565
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2026
1566
  payload: {
2027
1567
  type: "EMPTY";
2028
1568
  } | {
@@ -2039,23 +1579,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2039
1579
  roundStep?: number | null | undefined;
2040
1580
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2041
1581
  };
2042
- } | {
2043
- type: "VISION";
2044
- data: {
2045
- doRemoveBackground: boolean;
2046
- doSmartCrop: boolean;
2047
- doChangeBackground: boolean;
2048
- doRotate: boolean;
2049
- doAddBorders: boolean;
2050
- shadow: boolean;
2051
- targetWidth?: number | null | undefined;
2052
- targetHeight?: number | null | undefined;
2053
- newBackgroundColor?: string | null | undefined;
2054
- newBackgroundUrl?: string | null | undefined;
2055
- rotationAngle?: number | null | undefined;
2056
- borderSize?: number | null | undefined;
2057
- borderColor?: string | null | undefined;
2058
- };
2059
1582
  } | {
2060
1583
  type: "TEXT";
2061
1584
  data: {
@@ -2063,6 +1586,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2063
1586
  };
2064
1587
  };
2065
1588
  enabled: boolean;
1589
+ mandatory?: boolean | null | undefined;
2066
1590
  }[];
2067
1591
  };
2068
1592
  } | {
@@ -2124,7 +1648,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2124
1648
  type: "ACTIONS";
2125
1649
  data: {
2126
1650
  actions: {
2127
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1651
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2128
1652
  payload: {
2129
1653
  type: "EMPTY";
2130
1654
  } | {
@@ -2141,23 +1665,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2141
1665
  roundStep?: number | null | undefined;
2142
1666
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2143
1667
  };
2144
- } | {
2145
- type: "VISION";
2146
- data: {
2147
- doRemoveBackground: boolean;
2148
- doSmartCrop: boolean;
2149
- doChangeBackground: boolean;
2150
- doRotate: boolean;
2151
- doAddBorders: boolean;
2152
- shadow: boolean;
2153
- targetWidth?: number | null | undefined;
2154
- targetHeight?: number | null | undefined;
2155
- newBackgroundColor?: string | null | undefined;
2156
- newBackgroundUrl?: string | null | undefined;
2157
- rotationAngle?: number | null | undefined;
2158
- borderSize?: number | null | undefined;
2159
- borderColor?: string | null | undefined;
2160
- };
2161
1668
  } | {
2162
1669
  type: "TEXT";
2163
1670
  data: {
@@ -2165,6 +1672,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2165
1672
  };
2166
1673
  };
2167
1674
  enabled: boolean;
1675
+ mandatory?: boolean | null | undefined;
2168
1676
  }[];
2169
1677
  };
2170
1678
  } | {
@@ -2226,7 +1734,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2226
1734
  type: "ACTIONS";
2227
1735
  data: {
2228
1736
  actions: {
2229
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
1737
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2230
1738
  payload: {
2231
1739
  type: "EMPTY";
2232
1740
  } | {
@@ -2243,23 +1751,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2243
1751
  roundStep?: number | null | undefined;
2244
1752
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2245
1753
  };
2246
- } | {
2247
- type: "VISION";
2248
- data: {
2249
- doRemoveBackground: boolean;
2250
- doSmartCrop: boolean;
2251
- doChangeBackground: boolean;
2252
- doRotate: boolean;
2253
- doAddBorders: boolean;
2254
- shadow: boolean;
2255
- targetWidth?: number | null | undefined;
2256
- targetHeight?: number | null | undefined;
2257
- newBackgroundColor?: string | null | undefined;
2258
- newBackgroundUrl?: string | null | undefined;
2259
- rotationAngle?: number | null | undefined;
2260
- borderSize?: number | null | undefined;
2261
- borderColor?: string | null | undefined;
2262
- };
2263
1754
  } | {
2264
1755
  type: "TEXT";
2265
1756
  data: {
@@ -2267,6 +1758,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2267
1758
  };
2268
1759
  };
2269
1760
  enabled: boolean;
1761
+ mandatory?: boolean | null | undefined;
2270
1762
  }[];
2271
1763
  };
2272
1764
  } | {
@@ -2434,7 +1926,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2434
1926
  type: z.ZodLiteral<"ACTIONS">;
2435
1927
  data: z.ZodObject<{
2436
1928
  actions: z.ZodArray<z.ZodObject<{
2437
- type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO"]>;
1929
+ type: z.ZodEnum<["WAIT", "PRICE_DROP", "REPUBLISH", "MESSAGE", "OFFER_AUTO", "OFFER_MANUAL"]>;
2438
1930
  enabled: z.ZodBoolean;
2439
1931
  payload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2440
1932
  type: z.ZodLiteral<"EMPTY">;
@@ -2500,85 +1992,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2500
1992
  roundStep?: number | null | undefined;
2501
1993
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2502
1994
  };
2503
- }>, z.ZodObject<{
2504
- type: z.ZodLiteral<"VISION">;
2505
- data: z.ZodObject<{
2506
- doRemoveBackground: z.ZodBoolean;
2507
- doSmartCrop: z.ZodBoolean;
2508
- doChangeBackground: z.ZodBoolean;
2509
- doRotate: z.ZodBoolean;
2510
- doAddBorders: z.ZodBoolean;
2511
- shadow: z.ZodBoolean;
2512
- targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2513
- targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2514
- newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2515
- newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2516
- rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2517
- borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2518
- borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2519
- }, "strip", z.ZodTypeAny, {
2520
- doRemoveBackground: boolean;
2521
- doSmartCrop: boolean;
2522
- doChangeBackground: boolean;
2523
- doRotate: boolean;
2524
- doAddBorders: boolean;
2525
- shadow: boolean;
2526
- targetWidth?: number | null | undefined;
2527
- targetHeight?: number | null | undefined;
2528
- newBackgroundColor?: string | null | undefined;
2529
- newBackgroundUrl?: string | null | undefined;
2530
- rotationAngle?: number | null | undefined;
2531
- borderSize?: number | null | undefined;
2532
- borderColor?: string | null | undefined;
2533
- }, {
2534
- doRemoveBackground: boolean;
2535
- doSmartCrop: boolean;
2536
- doChangeBackground: boolean;
2537
- doRotate: boolean;
2538
- doAddBorders: boolean;
2539
- shadow: boolean;
2540
- targetWidth?: number | null | undefined;
2541
- targetHeight?: number | null | undefined;
2542
- newBackgroundColor?: string | null | undefined;
2543
- newBackgroundUrl?: string | null | undefined;
2544
- rotationAngle?: number | null | undefined;
2545
- borderSize?: number | null | undefined;
2546
- borderColor?: string | null | undefined;
2547
- }>;
2548
- }, "strip", z.ZodTypeAny, {
2549
- type: "VISION";
2550
- data: {
2551
- doRemoveBackground: boolean;
2552
- doSmartCrop: boolean;
2553
- doChangeBackground: boolean;
2554
- doRotate: boolean;
2555
- doAddBorders: boolean;
2556
- shadow: boolean;
2557
- targetWidth?: number | null | undefined;
2558
- targetHeight?: number | null | undefined;
2559
- newBackgroundColor?: string | null | undefined;
2560
- newBackgroundUrl?: string | null | undefined;
2561
- rotationAngle?: number | null | undefined;
2562
- borderSize?: number | null | undefined;
2563
- borderColor?: string | null | undefined;
2564
- };
2565
- }, {
2566
- type: "VISION";
2567
- data: {
2568
- doRemoveBackground: boolean;
2569
- doSmartCrop: boolean;
2570
- doChangeBackground: boolean;
2571
- doRotate: boolean;
2572
- doAddBorders: boolean;
2573
- shadow: boolean;
2574
- targetWidth?: number | null | undefined;
2575
- targetHeight?: number | null | undefined;
2576
- newBackgroundColor?: string | null | undefined;
2577
- newBackgroundUrl?: string | null | undefined;
2578
- rotationAngle?: number | null | undefined;
2579
- borderSize?: number | null | undefined;
2580
- borderColor?: string | null | undefined;
2581
- };
2582
1995
  }>, z.ZodObject<{
2583
1996
  type: z.ZodLiteral<"TEXT">;
2584
1997
  data: z.ZodObject<{
@@ -2599,8 +2012,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2599
2012
  text: string;
2600
2013
  };
2601
2014
  }>]>;
2015
+ mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2602
2016
  }, "strip", z.ZodTypeAny, {
2603
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2017
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2604
2018
  payload: {
2605
2019
  type: "EMPTY";
2606
2020
  } | {
@@ -2617,23 +2031,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2617
2031
  roundStep?: number | null | undefined;
2618
2032
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2619
2033
  };
2620
- } | {
2621
- type: "VISION";
2622
- data: {
2623
- doRemoveBackground: boolean;
2624
- doSmartCrop: boolean;
2625
- doChangeBackground: boolean;
2626
- doRotate: boolean;
2627
- doAddBorders: boolean;
2628
- shadow: boolean;
2629
- targetWidth?: number | null | undefined;
2630
- targetHeight?: number | null | undefined;
2631
- newBackgroundColor?: string | null | undefined;
2632
- newBackgroundUrl?: string | null | undefined;
2633
- rotationAngle?: number | null | undefined;
2634
- borderSize?: number | null | undefined;
2635
- borderColor?: string | null | undefined;
2636
- };
2637
2034
  } | {
2638
2035
  type: "TEXT";
2639
2036
  data: {
@@ -2641,8 +2038,9 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2641
2038
  };
2642
2039
  };
2643
2040
  enabled: boolean;
2041
+ mandatory?: boolean | null | undefined;
2644
2042
  }, {
2645
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2043
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2646
2044
  payload: {
2647
2045
  type: "EMPTY";
2648
2046
  } | {
@@ -2659,23 +2057,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2659
2057
  roundStep?: number | null | undefined;
2660
2058
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2661
2059
  };
2662
- } | {
2663
- type: "VISION";
2664
- data: {
2665
- doRemoveBackground: boolean;
2666
- doSmartCrop: boolean;
2667
- doChangeBackground: boolean;
2668
- doRotate: boolean;
2669
- doAddBorders: boolean;
2670
- shadow: boolean;
2671
- targetWidth?: number | null | undefined;
2672
- targetHeight?: number | null | undefined;
2673
- newBackgroundColor?: string | null | undefined;
2674
- newBackgroundUrl?: string | null | undefined;
2675
- rotationAngle?: number | null | undefined;
2676
- borderSize?: number | null | undefined;
2677
- borderColor?: string | null | undefined;
2678
- };
2679
2060
  } | {
2680
2061
  type: "TEXT";
2681
2062
  data: {
@@ -2683,10 +2064,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2683
2064
  };
2684
2065
  };
2685
2066
  enabled: boolean;
2067
+ mandatory?: boolean | null | undefined;
2686
2068
  }>, "many">;
2687
2069
  }, "strip", z.ZodTypeAny, {
2688
2070
  actions: {
2689
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2071
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2690
2072
  payload: {
2691
2073
  type: "EMPTY";
2692
2074
  } | {
@@ -2703,23 +2085,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2703
2085
  roundStep?: number | null | undefined;
2704
2086
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2705
2087
  };
2706
- } | {
2707
- type: "VISION";
2708
- data: {
2709
- doRemoveBackground: boolean;
2710
- doSmartCrop: boolean;
2711
- doChangeBackground: boolean;
2712
- doRotate: boolean;
2713
- doAddBorders: boolean;
2714
- shadow: boolean;
2715
- targetWidth?: number | null | undefined;
2716
- targetHeight?: number | null | undefined;
2717
- newBackgroundColor?: string | null | undefined;
2718
- newBackgroundUrl?: string | null | undefined;
2719
- rotationAngle?: number | null | undefined;
2720
- borderSize?: number | null | undefined;
2721
- borderColor?: string | null | undefined;
2722
- };
2723
2088
  } | {
2724
2089
  type: "TEXT";
2725
2090
  data: {
@@ -2727,10 +2092,11 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2727
2092
  };
2728
2093
  };
2729
2094
  enabled: boolean;
2095
+ mandatory?: boolean | null | undefined;
2730
2096
  }[];
2731
2097
  }, {
2732
2098
  actions: {
2733
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2099
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2734
2100
  payload: {
2735
2101
  type: "EMPTY";
2736
2102
  } | {
@@ -2747,23 +2113,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2747
2113
  roundStep?: number | null | undefined;
2748
2114
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2749
2115
  };
2750
- } | {
2751
- type: "VISION";
2752
- data: {
2753
- doRemoveBackground: boolean;
2754
- doSmartCrop: boolean;
2755
- doChangeBackground: boolean;
2756
- doRotate: boolean;
2757
- doAddBorders: boolean;
2758
- shadow: boolean;
2759
- targetWidth?: number | null | undefined;
2760
- targetHeight?: number | null | undefined;
2761
- newBackgroundColor?: string | null | undefined;
2762
- newBackgroundUrl?: string | null | undefined;
2763
- rotationAngle?: number | null | undefined;
2764
- borderSize?: number | null | undefined;
2765
- borderColor?: string | null | undefined;
2766
- };
2767
2116
  } | {
2768
2117
  type: "TEXT";
2769
2118
  data: {
@@ -2771,13 +2120,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2771
2120
  };
2772
2121
  };
2773
2122
  enabled: boolean;
2123
+ mandatory?: boolean | null | undefined;
2774
2124
  }[];
2775
2125
  }>;
2776
2126
  }, "strip", z.ZodTypeAny, {
2777
2127
  type: "ACTIONS";
2778
2128
  data: {
2779
2129
  actions: {
2780
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2130
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2781
2131
  payload: {
2782
2132
  type: "EMPTY";
2783
2133
  } | {
@@ -2794,23 +2144,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2794
2144
  roundStep?: number | null | undefined;
2795
2145
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2796
2146
  };
2797
- } | {
2798
- type: "VISION";
2799
- data: {
2800
- doRemoveBackground: boolean;
2801
- doSmartCrop: boolean;
2802
- doChangeBackground: boolean;
2803
- doRotate: boolean;
2804
- doAddBorders: boolean;
2805
- shadow: boolean;
2806
- targetWidth?: number | null | undefined;
2807
- targetHeight?: number | null | undefined;
2808
- newBackgroundColor?: string | null | undefined;
2809
- newBackgroundUrl?: string | null | undefined;
2810
- rotationAngle?: number | null | undefined;
2811
- borderSize?: number | null | undefined;
2812
- borderColor?: string | null | undefined;
2813
- };
2814
2147
  } | {
2815
2148
  type: "TEXT";
2816
2149
  data: {
@@ -2818,13 +2151,14 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2818
2151
  };
2819
2152
  };
2820
2153
  enabled: boolean;
2154
+ mandatory?: boolean | null | undefined;
2821
2155
  }[];
2822
2156
  };
2823
2157
  }, {
2824
2158
  type: "ACTIONS";
2825
2159
  data: {
2826
2160
  actions: {
2827
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2161
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2828
2162
  payload: {
2829
2163
  type: "EMPTY";
2830
2164
  } | {
@@ -2841,23 +2175,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2841
2175
  roundStep?: number | null | undefined;
2842
2176
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2843
2177
  };
2844
- } | {
2845
- type: "VISION";
2846
- data: {
2847
- doRemoveBackground: boolean;
2848
- doSmartCrop: boolean;
2849
- doChangeBackground: boolean;
2850
- doRotate: boolean;
2851
- doAddBorders: boolean;
2852
- shadow: boolean;
2853
- targetWidth?: number | null | undefined;
2854
- targetHeight?: number | null | undefined;
2855
- newBackgroundColor?: string | null | undefined;
2856
- newBackgroundUrl?: string | null | undefined;
2857
- rotationAngle?: number | null | undefined;
2858
- borderSize?: number | null | undefined;
2859
- borderColor?: string | null | undefined;
2860
- };
2861
2178
  } | {
2862
2179
  type: "TEXT";
2863
2180
  data: {
@@ -2865,6 +2182,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2865
2182
  };
2866
2183
  };
2867
2184
  enabled: boolean;
2185
+ mandatory?: boolean | null | undefined;
2868
2186
  }[];
2869
2187
  };
2870
2188
  }>, z.ZodObject<{
@@ -2948,7 +2266,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2948
2266
  type: "ACTIONS";
2949
2267
  data: {
2950
2268
  actions: {
2951
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2269
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
2952
2270
  payload: {
2953
2271
  type: "EMPTY";
2954
2272
  } | {
@@ -2965,23 +2283,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2965
2283
  roundStep?: number | null | undefined;
2966
2284
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
2967
2285
  };
2968
- } | {
2969
- type: "VISION";
2970
- data: {
2971
- doRemoveBackground: boolean;
2972
- doSmartCrop: boolean;
2973
- doChangeBackground: boolean;
2974
- doRotate: boolean;
2975
- doAddBorders: boolean;
2976
- shadow: boolean;
2977
- targetWidth?: number | null | undefined;
2978
- targetHeight?: number | null | undefined;
2979
- newBackgroundColor?: string | null | undefined;
2980
- newBackgroundUrl?: string | null | undefined;
2981
- rotationAngle?: number | null | undefined;
2982
- borderSize?: number | null | undefined;
2983
- borderColor?: string | null | undefined;
2984
- };
2985
2286
  } | {
2986
2287
  type: "TEXT";
2987
2288
  data: {
@@ -2989,6 +2290,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
2989
2290
  };
2990
2291
  };
2991
2292
  enabled: boolean;
2293
+ mandatory?: boolean | null | undefined;
2992
2294
  }[];
2993
2295
  };
2994
2296
  } | {
@@ -3042,7 +2344,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3042
2344
  type: "ACTIONS";
3043
2345
  data: {
3044
2346
  actions: {
3045
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2347
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3046
2348
  payload: {
3047
2349
  type: "EMPTY";
3048
2350
  } | {
@@ -3059,23 +2361,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3059
2361
  roundStep?: number | null | undefined;
3060
2362
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3061
2363
  };
3062
- } | {
3063
- type: "VISION";
3064
- data: {
3065
- doRemoveBackground: boolean;
3066
- doSmartCrop: boolean;
3067
- doChangeBackground: boolean;
3068
- doRotate: boolean;
3069
- doAddBorders: boolean;
3070
- shadow: boolean;
3071
- targetWidth?: number | null | undefined;
3072
- targetHeight?: number | null | undefined;
3073
- newBackgroundColor?: string | null | undefined;
3074
- newBackgroundUrl?: string | null | undefined;
3075
- rotationAngle?: number | null | undefined;
3076
- borderSize?: number | null | undefined;
3077
- borderColor?: string | null | undefined;
3078
- };
3079
2364
  } | {
3080
2365
  type: "TEXT";
3081
2366
  data: {
@@ -3083,6 +2368,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3083
2368
  };
3084
2369
  };
3085
2370
  enabled: boolean;
2371
+ mandatory?: boolean | null | undefined;
3086
2372
  }[];
3087
2373
  };
3088
2374
  } | {
@@ -3099,7 +2385,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3099
2385
  }>;
3100
2386
  }, "strip", z.ZodTypeAny, {
3101
2387
  preference: {
3102
- type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
2388
+ type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
3103
2389
  id: string;
3104
2390
  userId: string | number;
3105
2391
  enabled: boolean;
@@ -3152,7 +2438,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3152
2438
  type: "ACTIONS";
3153
2439
  data: {
3154
2440
  actions: {
3155
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2441
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3156
2442
  payload: {
3157
2443
  type: "EMPTY";
3158
2444
  } | {
@@ -3169,23 +2455,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3169
2455
  roundStep?: number | null | undefined;
3170
2456
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3171
2457
  };
3172
- } | {
3173
- type: "VISION";
3174
- data: {
3175
- doRemoveBackground: boolean;
3176
- doSmartCrop: boolean;
3177
- doChangeBackground: boolean;
3178
- doRotate: boolean;
3179
- doAddBorders: boolean;
3180
- shadow: boolean;
3181
- targetWidth?: number | null | undefined;
3182
- targetHeight?: number | null | undefined;
3183
- newBackgroundColor?: string | null | undefined;
3184
- newBackgroundUrl?: string | null | undefined;
3185
- rotationAngle?: number | null | undefined;
3186
- borderSize?: number | null | undefined;
3187
- borderColor?: string | null | undefined;
3188
- };
3189
2458
  } | {
3190
2459
  type: "TEXT";
3191
2460
  data: {
@@ -3193,6 +2462,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3193
2462
  };
3194
2463
  };
3195
2464
  enabled: boolean;
2465
+ mandatory?: boolean | null | undefined;
3196
2466
  }[];
3197
2467
  };
3198
2468
  } | {
@@ -3256,7 +2526,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3256
2526
  type: "ACTIONS";
3257
2527
  data: {
3258
2528
  actions: {
3259
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2529
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3260
2530
  payload: {
3261
2531
  type: "EMPTY";
3262
2532
  } | {
@@ -3273,23 +2543,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3273
2543
  roundStep?: number | null | undefined;
3274
2544
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3275
2545
  };
3276
- } | {
3277
- type: "VISION";
3278
- data: {
3279
- doRemoveBackground: boolean;
3280
- doSmartCrop: boolean;
3281
- doChangeBackground: boolean;
3282
- doRotate: boolean;
3283
- doAddBorders: boolean;
3284
- shadow: boolean;
3285
- targetWidth?: number | null | undefined;
3286
- targetHeight?: number | null | undefined;
3287
- newBackgroundColor?: string | null | undefined;
3288
- newBackgroundUrl?: string | null | undefined;
3289
- rotationAngle?: number | null | undefined;
3290
- borderSize?: number | null | undefined;
3291
- borderColor?: string | null | undefined;
3292
- };
3293
2546
  } | {
3294
2547
  type: "TEXT";
3295
2548
  data: {
@@ -3297,6 +2550,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3297
2550
  };
3298
2551
  };
3299
2552
  enabled: boolean;
2553
+ mandatory?: boolean | null | undefined;
3300
2554
  }[];
3301
2555
  };
3302
2556
  } | {
@@ -3352,7 +2606,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3352
2606
  type: "ACTIONS";
3353
2607
  data: {
3354
2608
  actions: {
3355
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2609
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3356
2610
  payload: {
3357
2611
  type: "EMPTY";
3358
2612
  } | {
@@ -3369,23 +2623,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3369
2623
  roundStep?: number | null | undefined;
3370
2624
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3371
2625
  };
3372
- } | {
3373
- type: "VISION";
3374
- data: {
3375
- doRemoveBackground: boolean;
3376
- doSmartCrop: boolean;
3377
- doChangeBackground: boolean;
3378
- doRotate: boolean;
3379
- doAddBorders: boolean;
3380
- shadow: boolean;
3381
- targetWidth?: number | null | undefined;
3382
- targetHeight?: number | null | undefined;
3383
- newBackgroundColor?: string | null | undefined;
3384
- newBackgroundUrl?: string | null | undefined;
3385
- rotationAngle?: number | null | undefined;
3386
- borderSize?: number | null | undefined;
3387
- borderColor?: string | null | undefined;
3388
- };
3389
2626
  } | {
3390
2627
  type: "TEXT";
3391
2628
  data: {
@@ -3393,6 +2630,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3393
2630
  };
3394
2631
  };
3395
2632
  enabled: boolean;
2633
+ mandatory?: boolean | null | undefined;
3396
2634
  }[];
3397
2635
  };
3398
2636
  } | {
@@ -3409,7 +2647,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3409
2647
  };
3410
2648
  }, {
3411
2649
  preference: {
3412
- type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
2650
+ type: "TITLE" | "DESCRIPTION" | "NEGOTIATION" | "REPUBLISH" | "VISION" | "LIFECYCLE" | "FEES" | "MESSAGES_QUESTIONS" | "MESSAGES_STREAM" | "MESSAGES_STREAM__ON_FAVORITE" | "MESSAGES_STREAM__ON_FAVORITES" | "MESSAGES_STREAM__ON_LOW_OFFER" | "MESSAGES_STREAM__ON_CORRECT_OFFER" | "MESSAGES_STREAM__ON_OFFER_REJECTED" | "MESSAGES_STREAM__ON_NO_ANSWER" | "MESSAGES_STREAM__ON_BUYER_PAID" | "MESSAGES_STREAM__ON_ITEM_DELIVERED" | "MESSAGES_STREAM__ON_ITEM_NO_LONGER_AVAILABLE";
3413
2651
  id: string;
3414
2652
  userId: string | number;
3415
2653
  enabled: boolean;
@@ -3462,7 +2700,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3462
2700
  type: "ACTIONS";
3463
2701
  data: {
3464
2702
  actions: {
3465
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2703
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3466
2704
  payload: {
3467
2705
  type: "EMPTY";
3468
2706
  } | {
@@ -3479,23 +2717,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3479
2717
  roundStep?: number | null | undefined;
3480
2718
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3481
2719
  };
3482
- } | {
3483
- type: "VISION";
3484
- data: {
3485
- doRemoveBackground: boolean;
3486
- doSmartCrop: boolean;
3487
- doChangeBackground: boolean;
3488
- doRotate: boolean;
3489
- doAddBorders: boolean;
3490
- shadow: boolean;
3491
- targetWidth?: number | null | undefined;
3492
- targetHeight?: number | null | undefined;
3493
- newBackgroundColor?: string | null | undefined;
3494
- newBackgroundUrl?: string | null | undefined;
3495
- rotationAngle?: number | null | undefined;
3496
- borderSize?: number | null | undefined;
3497
- borderColor?: string | null | undefined;
3498
- };
3499
2720
  } | {
3500
2721
  type: "TEXT";
3501
2722
  data: {
@@ -3503,6 +2724,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3503
2724
  };
3504
2725
  };
3505
2726
  enabled: boolean;
2727
+ mandatory?: boolean | null | undefined;
3506
2728
  }[];
3507
2729
  };
3508
2730
  } | {
@@ -3566,7 +2788,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3566
2788
  type: "ACTIONS";
3567
2789
  data: {
3568
2790
  actions: {
3569
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2791
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3570
2792
  payload: {
3571
2793
  type: "EMPTY";
3572
2794
  } | {
@@ -3583,23 +2805,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3583
2805
  roundStep?: number | null | undefined;
3584
2806
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3585
2807
  };
3586
- } | {
3587
- type: "VISION";
3588
- data: {
3589
- doRemoveBackground: boolean;
3590
- doSmartCrop: boolean;
3591
- doChangeBackground: boolean;
3592
- doRotate: boolean;
3593
- doAddBorders: boolean;
3594
- shadow: boolean;
3595
- targetWidth?: number | null | undefined;
3596
- targetHeight?: number | null | undefined;
3597
- newBackgroundColor?: string | null | undefined;
3598
- newBackgroundUrl?: string | null | undefined;
3599
- rotationAngle?: number | null | undefined;
3600
- borderSize?: number | null | undefined;
3601
- borderColor?: string | null | undefined;
3602
- };
3603
2808
  } | {
3604
2809
  type: "TEXT";
3605
2810
  data: {
@@ -3607,6 +2812,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3607
2812
  };
3608
2813
  };
3609
2814
  enabled: boolean;
2815
+ mandatory?: boolean | null | undefined;
3610
2816
  }[];
3611
2817
  };
3612
2818
  } | {
@@ -3662,7 +2868,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3662
2868
  type: "ACTIONS";
3663
2869
  data: {
3664
2870
  actions: {
3665
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO";
2871
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
3666
2872
  payload: {
3667
2873
  type: "EMPTY";
3668
2874
  } | {
@@ -3679,23 +2885,6 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3679
2885
  roundStep?: number | null | undefined;
3680
2886
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
3681
2887
  };
3682
- } | {
3683
- type: "VISION";
3684
- data: {
3685
- doRemoveBackground: boolean;
3686
- doSmartCrop: boolean;
3687
- doChangeBackground: boolean;
3688
- doRotate: boolean;
3689
- doAddBorders: boolean;
3690
- shadow: boolean;
3691
- targetWidth?: number | null | undefined;
3692
- targetHeight?: number | null | undefined;
3693
- newBackgroundColor?: string | null | undefined;
3694
- newBackgroundUrl?: string | null | undefined;
3695
- rotationAngle?: number | null | undefined;
3696
- borderSize?: number | null | undefined;
3697
- borderColor?: string | null | undefined;
3698
- };
3699
2888
  } | {
3700
2889
  type: "TEXT";
3701
2890
  data: {
@@ -3703,6 +2892,7 @@ export declare const PreferenceWithCaseSchema: z.ZodObject<{
3703
2892
  };
3704
2893
  };
3705
2894
  enabled: boolean;
2895
+ mandatory?: boolean | null | undefined;
3706
2896
  }[];
3707
2897
  };
3708
2898
  } | {