controlresell 2.2.7 → 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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/com/controlresell/models/items/platforms/PriceDropRequest.d.ts +42 -0
  3. package/src/com/controlresell/models/items/platforms/PriceDropRequest.js +9 -0
  4. package/src/com/controlresell/models/items/platforms/PriceDropRequest.ts +8 -0
  5. package/src/com/controlresell/models/items/platforms/RepublishRequest.d.ts +82 -0
  6. package/src/com/controlresell/models/items/platforms/RepublishRequest.js +9 -0
  7. package/src/com/controlresell/models/items/platforms/RepublishRequest.ts +8 -0
  8. package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +3 -3
  9. package/src/com/controlresell/models/preferences/Preference.d.ts +28 -298
  10. package/src/com/controlresell/models/preferences/PreferenceType.d.ts +1 -1
  11. package/src/com/controlresell/models/preferences/PreferenceType.js +1 -1
  12. package/src/com/controlresell/models/preferences/PreferenceType.ts +1 -1
  13. package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +80 -890
  14. package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +21 -259
  15. package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +21 -259
  16. package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +21 -259
  17. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +5 -115
  18. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +2 -1
  19. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +2 -1
  20. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +0 -79
  21. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +0 -5
  22. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +0 -5
  23. package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +9 -151
  24. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.d.ts +82 -0
  25. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.js +9 -0
  26. package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.ts +8 -0
  27. package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +9 -151
  28. package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +17 -223
  29. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +17 -223
  30. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +13 -187
  31. package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +17 -223
  32. package/src/index.d.ts +3 -0
  33. package/src/index.js +9 -3
  34. package/src/index.ts +3 -0
@@ -67,85 +67,6 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
67
67
  roundStep?: number | null | undefined;
68
68
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
69
69
  };
70
- }>, z.ZodObject<{
71
- type: z.ZodLiteral<"VISION">;
72
- data: z.ZodObject<{
73
- doRemoveBackground: z.ZodBoolean;
74
- doSmartCrop: z.ZodBoolean;
75
- doChangeBackground: z.ZodBoolean;
76
- doRotate: z.ZodBoolean;
77
- doAddBorders: z.ZodBoolean;
78
- shadow: z.ZodBoolean;
79
- targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
80
- targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
- newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
- rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84
- borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
- borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
- }, "strip", z.ZodTypeAny, {
87
- doRemoveBackground: boolean;
88
- doSmartCrop: boolean;
89
- doChangeBackground: boolean;
90
- doRotate: boolean;
91
- doAddBorders: boolean;
92
- shadow: boolean;
93
- targetWidth?: number | null | undefined;
94
- targetHeight?: number | null | undefined;
95
- newBackgroundColor?: string | null | undefined;
96
- newBackgroundUrl?: string | null | undefined;
97
- rotationAngle?: number | null | undefined;
98
- borderSize?: number | null | undefined;
99
- borderColor?: string | null | undefined;
100
- }, {
101
- doRemoveBackground: boolean;
102
- doSmartCrop: boolean;
103
- doChangeBackground: boolean;
104
- doRotate: boolean;
105
- doAddBorders: boolean;
106
- shadow: boolean;
107
- targetWidth?: number | null | undefined;
108
- targetHeight?: number | null | undefined;
109
- newBackgroundColor?: string | null | undefined;
110
- newBackgroundUrl?: string | null | undefined;
111
- rotationAngle?: number | null | undefined;
112
- borderSize?: number | null | undefined;
113
- borderColor?: string | null | undefined;
114
- }>;
115
- }, "strip", z.ZodTypeAny, {
116
- type: "VISION";
117
- data: {
118
- doRemoveBackground: boolean;
119
- doSmartCrop: boolean;
120
- doChangeBackground: boolean;
121
- doRotate: boolean;
122
- doAddBorders: boolean;
123
- shadow: boolean;
124
- targetWidth?: number | null | undefined;
125
- targetHeight?: number | null | undefined;
126
- newBackgroundColor?: string | null | undefined;
127
- newBackgroundUrl?: string | null | undefined;
128
- rotationAngle?: number | null | undefined;
129
- borderSize?: number | null | undefined;
130
- borderColor?: string | null | undefined;
131
- };
132
- }, {
133
- type: "VISION";
134
- data: {
135
- doRemoveBackground: boolean;
136
- doSmartCrop: boolean;
137
- doChangeBackground: boolean;
138
- doRotate: boolean;
139
- doAddBorders: boolean;
140
- shadow: boolean;
141
- targetWidth?: number | null | undefined;
142
- targetHeight?: number | null | undefined;
143
- newBackgroundColor?: string | null | undefined;
144
- newBackgroundUrl?: string | null | undefined;
145
- rotationAngle?: number | null | undefined;
146
- borderSize?: number | null | undefined;
147
- borderColor?: string | null | undefined;
148
- };
149
70
  }>, z.ZodObject<{
150
71
  type: z.ZodLiteral<"TEXT">;
151
72
  data: z.ZodObject<{
@@ -166,8 +87,9 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
166
87
  text: string;
167
88
  };
168
89
  }>]>;
90
+ mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
169
91
  }, "strip", z.ZodTypeAny, {
170
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
92
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
171
93
  payload: {
172
94
  type: "EMPTY";
173
95
  } | {
@@ -184,23 +106,6 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
184
106
  roundStep?: number | null | undefined;
185
107
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
186
108
  };
187
- } | {
188
- type: "VISION";
189
- data: {
190
- doRemoveBackground: boolean;
191
- doSmartCrop: boolean;
192
- doChangeBackground: boolean;
193
- doRotate: boolean;
194
- doAddBorders: boolean;
195
- shadow: boolean;
196
- targetWidth?: number | null | undefined;
197
- targetHeight?: number | null | undefined;
198
- newBackgroundColor?: string | null | undefined;
199
- newBackgroundUrl?: string | null | undefined;
200
- rotationAngle?: number | null | undefined;
201
- borderSize?: number | null | undefined;
202
- borderColor?: string | null | undefined;
203
- };
204
109
  } | {
205
110
  type: "TEXT";
206
111
  data: {
@@ -208,8 +113,9 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
208
113
  };
209
114
  };
210
115
  enabled: boolean;
116
+ mandatory?: boolean | null | undefined;
211
117
  }, {
212
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
118
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
213
119
  payload: {
214
120
  type: "EMPTY";
215
121
  } | {
@@ -226,23 +132,6 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
226
132
  roundStep?: number | null | undefined;
227
133
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
228
134
  };
229
- } | {
230
- type: "VISION";
231
- data: {
232
- doRemoveBackground: boolean;
233
- doSmartCrop: boolean;
234
- doChangeBackground: boolean;
235
- doRotate: boolean;
236
- doAddBorders: boolean;
237
- shadow: boolean;
238
- targetWidth?: number | null | undefined;
239
- targetHeight?: number | null | undefined;
240
- newBackgroundColor?: string | null | undefined;
241
- newBackgroundUrl?: string | null | undefined;
242
- rotationAngle?: number | null | undefined;
243
- borderSize?: number | null | undefined;
244
- borderColor?: string | null | undefined;
245
- };
246
135
  } | {
247
136
  type: "TEXT";
248
137
  data: {
@@ -250,6 +139,7 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
250
139
  };
251
140
  };
252
141
  enabled: boolean;
142
+ mandatory?: boolean | null | undefined;
253
143
  }>, "many">;
254
144
  type: z.ZodEnum<["ITEM", "CONVERSATION"]>;
255
145
  resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -258,7 +148,7 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
258
148
  }, "strip", z.ZodTypeAny, {
259
149
  type: "ITEM" | "CONVERSATION";
260
150
  actions: {
261
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
151
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
262
152
  payload: {
263
153
  type: "EMPTY";
264
154
  } | {
@@ -275,23 +165,6 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
275
165
  roundStep?: number | null | undefined;
276
166
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
277
167
  };
278
- } | {
279
- type: "VISION";
280
- data: {
281
- doRemoveBackground: boolean;
282
- doSmartCrop: boolean;
283
- doChangeBackground: boolean;
284
- doRotate: boolean;
285
- doAddBorders: boolean;
286
- shadow: boolean;
287
- targetWidth?: number | null | undefined;
288
- targetHeight?: number | null | undefined;
289
- newBackgroundColor?: string | null | undefined;
290
- newBackgroundUrl?: string | null | undefined;
291
- rotationAngle?: number | null | undefined;
292
- borderSize?: number | null | undefined;
293
- borderColor?: string | null | undefined;
294
- };
295
168
  } | {
296
169
  type: "TEXT";
297
170
  data: {
@@ -299,6 +172,7 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
299
172
  };
300
173
  };
301
174
  enabled: boolean;
175
+ mandatory?: boolean | null | undefined;
302
176
  }[];
303
177
  userId?: number | null | undefined;
304
178
  accountId?: string | null | undefined;
@@ -306,7 +180,7 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
306
180
  }, {
307
181
  type: "ITEM" | "CONVERSATION";
308
182
  actions: {
309
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
183
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
310
184
  payload: {
311
185
  type: "EMPTY";
312
186
  } | {
@@ -323,23 +197,6 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
323
197
  roundStep?: number | null | undefined;
324
198
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
325
199
  };
326
- } | {
327
- type: "VISION";
328
- data: {
329
- doRemoveBackground: boolean;
330
- doSmartCrop: boolean;
331
- doChangeBackground: boolean;
332
- doRotate: boolean;
333
- doAddBorders: boolean;
334
- shadow: boolean;
335
- targetWidth?: number | null | undefined;
336
- targetHeight?: number | null | undefined;
337
- newBackgroundColor?: string | null | undefined;
338
- newBackgroundUrl?: string | null | undefined;
339
- rotationAngle?: number | null | undefined;
340
- borderSize?: number | null | undefined;
341
- borderColor?: string | null | undefined;
342
- };
343
200
  } | {
344
201
  type: "TEXT";
345
202
  data: {
@@ -347,6 +204,7 @@ export declare const PreferenceNextActionPayloadSchema: z.ZodObject<{
347
204
  };
348
205
  };
349
206
  enabled: boolean;
207
+ mandatory?: boolean | null | undefined;
350
208
  }[];
351
209
  userId?: number | null | undefined;
352
210
  accountId?: string | null | undefined;
@@ -215,85 +215,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
215
215
  roundStep?: number | null | undefined;
216
216
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
217
217
  };
218
- }>, z.ZodObject<{
219
- type: z.ZodLiteral<"VISION">;
220
- data: z.ZodObject<{
221
- doRemoveBackground: z.ZodBoolean;
222
- doSmartCrop: z.ZodBoolean;
223
- doChangeBackground: z.ZodBoolean;
224
- doRotate: z.ZodBoolean;
225
- doAddBorders: z.ZodBoolean;
226
- shadow: z.ZodBoolean;
227
- targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
228
- targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
229
- newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
- newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
- rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
232
- borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
233
- borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
- }, "strip", z.ZodTypeAny, {
235
- doRemoveBackground: boolean;
236
- doSmartCrop: boolean;
237
- doChangeBackground: boolean;
238
- doRotate: boolean;
239
- doAddBorders: boolean;
240
- shadow: boolean;
241
- targetWidth?: number | null | undefined;
242
- targetHeight?: number | null | undefined;
243
- newBackgroundColor?: string | null | undefined;
244
- newBackgroundUrl?: string | null | undefined;
245
- rotationAngle?: number | null | undefined;
246
- borderSize?: number | null | undefined;
247
- borderColor?: string | null | undefined;
248
- }, {
249
- doRemoveBackground: boolean;
250
- doSmartCrop: boolean;
251
- doChangeBackground: boolean;
252
- doRotate: boolean;
253
- doAddBorders: boolean;
254
- shadow: boolean;
255
- targetWidth?: number | null | undefined;
256
- targetHeight?: number | null | undefined;
257
- newBackgroundColor?: string | null | undefined;
258
- newBackgroundUrl?: string | null | undefined;
259
- rotationAngle?: number | null | undefined;
260
- borderSize?: number | null | undefined;
261
- borderColor?: string | null | undefined;
262
- }>;
263
- }, "strip", z.ZodTypeAny, {
264
- type: "VISION";
265
- data: {
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
- }, {
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
218
  }>, z.ZodObject<{
298
219
  type: z.ZodLiteral<"TEXT">;
299
220
  data: z.ZodObject<{
@@ -314,8 +235,9 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
314
235
  text: string;
315
236
  };
316
237
  }>]>;
238
+ mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
317
239
  }, "strip", z.ZodTypeAny, {
318
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
240
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
319
241
  payload: {
320
242
  type: "EMPTY";
321
243
  } | {
@@ -332,23 +254,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
332
254
  roundStep?: number | null | undefined;
333
255
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
334
256
  };
335
- } | {
336
- type: "VISION";
337
- data: {
338
- doRemoveBackground: boolean;
339
- doSmartCrop: boolean;
340
- doChangeBackground: boolean;
341
- doRotate: boolean;
342
- doAddBorders: boolean;
343
- shadow: boolean;
344
- targetWidth?: number | null | undefined;
345
- targetHeight?: number | null | undefined;
346
- newBackgroundColor?: string | null | undefined;
347
- newBackgroundUrl?: string | null | undefined;
348
- rotationAngle?: number | null | undefined;
349
- borderSize?: number | null | undefined;
350
- borderColor?: string | null | undefined;
351
- };
352
257
  } | {
353
258
  type: "TEXT";
354
259
  data: {
@@ -356,8 +261,9 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
356
261
  };
357
262
  };
358
263
  enabled: boolean;
264
+ mandatory?: boolean | null | undefined;
359
265
  }, {
360
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
266
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
361
267
  payload: {
362
268
  type: "EMPTY";
363
269
  } | {
@@ -374,23 +280,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
374
280
  roundStep?: number | null | undefined;
375
281
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
376
282
  };
377
- } | {
378
- type: "VISION";
379
- data: {
380
- doRemoveBackground: boolean;
381
- doSmartCrop: boolean;
382
- doChangeBackground: boolean;
383
- doRotate: boolean;
384
- doAddBorders: boolean;
385
- shadow: boolean;
386
- targetWidth?: number | null | undefined;
387
- targetHeight?: number | null | undefined;
388
- newBackgroundColor?: string | null | undefined;
389
- newBackgroundUrl?: string | null | undefined;
390
- rotationAngle?: number | null | undefined;
391
- borderSize?: number | null | undefined;
392
- borderColor?: string | null | undefined;
393
- };
394
283
  } | {
395
284
  type: "TEXT";
396
285
  data: {
@@ -398,10 +287,11 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
398
287
  };
399
288
  };
400
289
  enabled: boolean;
290
+ mandatory?: boolean | null | undefined;
401
291
  }>, "many">;
402
292
  }, "strip", z.ZodTypeAny, {
403
293
  actions: {
404
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
294
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
405
295
  payload: {
406
296
  type: "EMPTY";
407
297
  } | {
@@ -418,23 +308,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
418
308
  roundStep?: number | null | undefined;
419
309
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
420
310
  };
421
- } | {
422
- type: "VISION";
423
- data: {
424
- doRemoveBackground: boolean;
425
- doSmartCrop: boolean;
426
- doChangeBackground: boolean;
427
- doRotate: boolean;
428
- doAddBorders: boolean;
429
- shadow: boolean;
430
- targetWidth?: number | null | undefined;
431
- targetHeight?: number | null | undefined;
432
- newBackgroundColor?: string | null | undefined;
433
- newBackgroundUrl?: string | null | undefined;
434
- rotationAngle?: number | null | undefined;
435
- borderSize?: number | null | undefined;
436
- borderColor?: string | null | undefined;
437
- };
438
311
  } | {
439
312
  type: "TEXT";
440
313
  data: {
@@ -442,10 +315,11 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
442
315
  };
443
316
  };
444
317
  enabled: boolean;
318
+ mandatory?: boolean | null | undefined;
445
319
  }[];
446
320
  }, {
447
321
  actions: {
448
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
322
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
449
323
  payload: {
450
324
  type: "EMPTY";
451
325
  } | {
@@ -462,23 +336,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
462
336
  roundStep?: number | null | undefined;
463
337
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
464
338
  };
465
- } | {
466
- type: "VISION";
467
- data: {
468
- doRemoveBackground: boolean;
469
- doSmartCrop: boolean;
470
- doChangeBackground: boolean;
471
- doRotate: boolean;
472
- doAddBorders: boolean;
473
- shadow: boolean;
474
- targetWidth?: number | null | undefined;
475
- targetHeight?: number | null | undefined;
476
- newBackgroundColor?: string | null | undefined;
477
- newBackgroundUrl?: string | null | undefined;
478
- rotationAngle?: number | null | undefined;
479
- borderSize?: number | null | undefined;
480
- borderColor?: string | null | undefined;
481
- };
482
339
  } | {
483
340
  type: "TEXT";
484
341
  data: {
@@ -486,13 +343,14 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
486
343
  };
487
344
  };
488
345
  enabled: boolean;
346
+ mandatory?: boolean | null | undefined;
489
347
  }[];
490
348
  }>;
491
349
  }, "strip", z.ZodTypeAny, {
492
350
  type: "ACTIONS";
493
351
  data: {
494
352
  actions: {
495
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
353
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
496
354
  payload: {
497
355
  type: "EMPTY";
498
356
  } | {
@@ -509,23 +367,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
509
367
  roundStep?: number | null | undefined;
510
368
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
511
369
  };
512
- } | {
513
- type: "VISION";
514
- data: {
515
- doRemoveBackground: boolean;
516
- doSmartCrop: boolean;
517
- doChangeBackground: boolean;
518
- doRotate: boolean;
519
- doAddBorders: boolean;
520
- shadow: boolean;
521
- targetWidth?: number | null | undefined;
522
- targetHeight?: number | null | undefined;
523
- newBackgroundColor?: string | null | undefined;
524
- newBackgroundUrl?: string | null | undefined;
525
- rotationAngle?: number | null | undefined;
526
- borderSize?: number | null | undefined;
527
- borderColor?: string | null | undefined;
528
- };
529
370
  } | {
530
371
  type: "TEXT";
531
372
  data: {
@@ -533,13 +374,14 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
533
374
  };
534
375
  };
535
376
  enabled: boolean;
377
+ mandatory?: boolean | null | undefined;
536
378
  }[];
537
379
  };
538
380
  }, {
539
381
  type: "ACTIONS";
540
382
  data: {
541
383
  actions: {
542
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
384
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
543
385
  payload: {
544
386
  type: "EMPTY";
545
387
  } | {
@@ -556,23 +398,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
556
398
  roundStep?: number | null | undefined;
557
399
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
558
400
  };
559
- } | {
560
- type: "VISION";
561
- data: {
562
- doRemoveBackground: boolean;
563
- doSmartCrop: boolean;
564
- doChangeBackground: boolean;
565
- doRotate: boolean;
566
- doAddBorders: boolean;
567
- shadow: boolean;
568
- targetWidth?: number | null | undefined;
569
- targetHeight?: number | null | undefined;
570
- newBackgroundColor?: string | null | undefined;
571
- newBackgroundUrl?: string | null | undefined;
572
- rotationAngle?: number | null | undefined;
573
- borderSize?: number | null | undefined;
574
- borderColor?: string | null | undefined;
575
- };
576
401
  } | {
577
402
  type: "TEXT";
578
403
  data: {
@@ -580,6 +405,7 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
580
405
  };
581
406
  };
582
407
  enabled: boolean;
408
+ mandatory?: boolean | null | undefined;
583
409
  }[];
584
410
  };
585
411
  }>, z.ZodObject<{
@@ -662,7 +488,7 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
662
488
  type: "ACTIONS";
663
489
  data: {
664
490
  actions: {
665
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
491
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
666
492
  payload: {
667
493
  type: "EMPTY";
668
494
  } | {
@@ -679,23 +505,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
679
505
  roundStep?: number | null | undefined;
680
506
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
681
507
  };
682
- } | {
683
- type: "VISION";
684
- data: {
685
- doRemoveBackground: boolean;
686
- doSmartCrop: boolean;
687
- doChangeBackground: boolean;
688
- doRotate: boolean;
689
- doAddBorders: boolean;
690
- shadow: boolean;
691
- targetWidth?: number | null | undefined;
692
- targetHeight?: number | null | undefined;
693
- newBackgroundColor?: string | null | undefined;
694
- newBackgroundUrl?: string | null | undefined;
695
- rotationAngle?: number | null | undefined;
696
- borderSize?: number | null | undefined;
697
- borderColor?: string | null | undefined;
698
- };
699
508
  } | {
700
509
  type: "TEXT";
701
510
  data: {
@@ -703,6 +512,7 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
703
512
  };
704
513
  };
705
514
  enabled: boolean;
515
+ mandatory?: boolean | null | undefined;
706
516
  }[];
707
517
  };
708
518
  } | {
@@ -754,7 +564,7 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
754
564
  type: "ACTIONS";
755
565
  data: {
756
566
  actions: {
757
- type: "MESSAGE" | "WAIT" | "PRICE_DROP" | "REPUBLISH" | "OFFER_AUTO" | "OFFER_MANUAL";
567
+ type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
758
568
  payload: {
759
569
  type: "EMPTY";
760
570
  } | {
@@ -771,23 +581,6 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
771
581
  roundStep?: number | null | undefined;
772
582
  negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
773
583
  };
774
- } | {
775
- type: "VISION";
776
- data: {
777
- doRemoveBackground: boolean;
778
- doSmartCrop: boolean;
779
- doChangeBackground: boolean;
780
- doRotate: boolean;
781
- doAddBorders: boolean;
782
- shadow: boolean;
783
- targetWidth?: number | null | undefined;
784
- targetHeight?: number | null | undefined;
785
- newBackgroundColor?: string | null | undefined;
786
- newBackgroundUrl?: string | null | undefined;
787
- rotationAngle?: number | null | undefined;
788
- borderSize?: number | null | undefined;
789
- borderColor?: string | null | undefined;
790
- };
791
584
  } | {
792
585
  type: "TEXT";
793
586
  data: {
@@ -795,6 +588,7 @@ export declare const PartialPreferenceCaseVariantPayloadSchema: z.ZodObject<{
795
588
  };
796
589
  };
797
590
  enabled: boolean;
591
+ mandatory?: boolean | null | undefined;
798
592
  }[];
799
593
  };
800
594
  } | {