controlresell 2.2.7 → 2.2.9
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.
- package/package.json +1 -1
- package/src/com/controlresell/models/items/CreatedItems.d.ts +71 -0
- package/src/com/controlresell/models/items/Item.d.ts +57 -0
- package/src/com/controlresell/models/items/ItemsWithFilters.d.ts +71 -0
- package/src/com/controlresell/models/items/UpdatedItem.d.ts +71 -0
- package/src/com/controlresell/models/items/history/CreateItemHistoryPayload.d.ts +43 -0
- package/src/com/controlresell/models/items/history/ItemHistory.d.ts +43 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.d.ts +29 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.js +5 -0
- package/src/com/controlresell/models/items/history/ItemHistoryDecodedPayload.ts +5 -0
- package/src/com/controlresell/models/items/platforms/PriceDropRequest.d.ts +42 -0
- package/src/com/controlresell/models/items/platforms/PriceDropRequest.js +9 -0
- package/src/com/controlresell/models/items/platforms/PriceDropRequest.ts +8 -0
- package/src/com/controlresell/models/items/platforms/RepublishRequest.d.ts +82 -0
- package/src/com/controlresell/models/items/platforms/RepublishRequest.js +9 -0
- package/src/com/controlresell/models/items/platforms/RepublishRequest.ts +8 -0
- package/src/com/controlresell/models/platforms/orders/items/OrderWithItems.d.ts +71 -0
- package/src/com/controlresell/models/platforms/transactions/items/TransactionWithItems.d.ts +71 -0
- package/src/com/controlresell/models/preferences/CreatePreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/preferences/Preference.d.ts +28 -298
- package/src/com/controlresell/models/preferences/PreferenceFilter.d.ts +71 -0
- package/src/com/controlresell/models/preferences/PreferenceType.d.ts +1 -1
- package/src/com/controlresell/models/preferences/PreferenceType.js +1 -1
- package/src/com/controlresell/models/preferences/PreferenceType.ts +1 -1
- package/src/com/controlresell/models/preferences/PreferenceWithCase.d.ts +80 -890
- package/src/com/controlresell/models/preferences/cases/CreatePreferenceCasePayload.d.ts +21 -259
- package/src/com/controlresell/models/preferences/cases/PartialPreferenceCasePayload.d.ts +21 -259
- package/src/com/controlresell/models/preferences/cases/PreferenceCase.d.ts +21 -259
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.d.ts +5 -115
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.js +2 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayload.ts +2 -1
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.d.ts +0 -79
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.js +0 -5
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionPayloadDecodedPayload.ts +0 -5
- package/src/com/controlresell/models/preferences/payloads/actions/PreferenceActionsPayload.d.ts +9 -151
- package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.d.ts +82 -0
- package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.js +9 -0
- package/src/com/controlresell/models/preferences/payloads/vision/TryVisionPayload.ts +8 -0
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.d.ts +12 -151
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.js +2 -1
- package/src/com/controlresell/models/preferences/queue/PreferenceNextActionPayload.ts +2 -1
- package/src/com/controlresell/models/preferences/variants/PartialPreferenceCaseVariantPayload.d.ts +17 -223
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariant.d.ts +17 -223
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantDecodedPayload.d.ts +13 -187
- package/src/com/controlresell/models/preferences/variants/PreferenceCaseVariantPayload.d.ts +17 -223
- package/src/index.d.ts +3 -0
- package/src/index.js +9 -3
- package/src/index.ts +3 -0
|
@@ -217,85 +217,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
217
217
|
roundStep?: number | null | undefined;
|
|
218
218
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
219
219
|
};
|
|
220
|
-
}>, z.ZodObject<{
|
|
221
|
-
type: z.ZodLiteral<"VISION">;
|
|
222
|
-
data: z.ZodObject<{
|
|
223
|
-
doRemoveBackground: z.ZodBoolean;
|
|
224
|
-
doSmartCrop: z.ZodBoolean;
|
|
225
|
-
doChangeBackground: z.ZodBoolean;
|
|
226
|
-
doRotate: z.ZodBoolean;
|
|
227
|
-
doAddBorders: z.ZodBoolean;
|
|
228
|
-
shadow: z.ZodBoolean;
|
|
229
|
-
targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
230
|
-
targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
231
|
-
newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
-
newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
|
-
rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
234
|
-
borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
235
|
-
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
236
|
-
}, "strip", z.ZodTypeAny, {
|
|
237
|
-
doRemoveBackground: boolean;
|
|
238
|
-
doSmartCrop: boolean;
|
|
239
|
-
doChangeBackground: boolean;
|
|
240
|
-
doRotate: boolean;
|
|
241
|
-
doAddBorders: boolean;
|
|
242
|
-
shadow: boolean;
|
|
243
|
-
targetWidth?: number | null | undefined;
|
|
244
|
-
targetHeight?: number | null | undefined;
|
|
245
|
-
newBackgroundColor?: string | null | undefined;
|
|
246
|
-
newBackgroundUrl?: string | null | undefined;
|
|
247
|
-
rotationAngle?: number | null | undefined;
|
|
248
|
-
borderSize?: number | null | undefined;
|
|
249
|
-
borderColor?: string | null | undefined;
|
|
250
|
-
}, {
|
|
251
|
-
doRemoveBackground: boolean;
|
|
252
|
-
doSmartCrop: boolean;
|
|
253
|
-
doChangeBackground: boolean;
|
|
254
|
-
doRotate: boolean;
|
|
255
|
-
doAddBorders: boolean;
|
|
256
|
-
shadow: boolean;
|
|
257
|
-
targetWidth?: number | null | undefined;
|
|
258
|
-
targetHeight?: number | null | undefined;
|
|
259
|
-
newBackgroundColor?: string | null | undefined;
|
|
260
|
-
newBackgroundUrl?: string | null | undefined;
|
|
261
|
-
rotationAngle?: number | null | undefined;
|
|
262
|
-
borderSize?: number | null | undefined;
|
|
263
|
-
borderColor?: string | null | undefined;
|
|
264
|
-
}>;
|
|
265
|
-
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
type: "VISION";
|
|
267
|
-
data: {
|
|
268
|
-
doRemoveBackground: boolean;
|
|
269
|
-
doSmartCrop: boolean;
|
|
270
|
-
doChangeBackground: boolean;
|
|
271
|
-
doRotate: boolean;
|
|
272
|
-
doAddBorders: boolean;
|
|
273
|
-
shadow: boolean;
|
|
274
|
-
targetWidth?: number | null | undefined;
|
|
275
|
-
targetHeight?: number | null | undefined;
|
|
276
|
-
newBackgroundColor?: string | null | undefined;
|
|
277
|
-
newBackgroundUrl?: string | null | undefined;
|
|
278
|
-
rotationAngle?: number | null | undefined;
|
|
279
|
-
borderSize?: number | null | undefined;
|
|
280
|
-
borderColor?: string | null | undefined;
|
|
281
|
-
};
|
|
282
|
-
}, {
|
|
283
|
-
type: "VISION";
|
|
284
|
-
data: {
|
|
285
|
-
doRemoveBackground: boolean;
|
|
286
|
-
doSmartCrop: boolean;
|
|
287
|
-
doChangeBackground: boolean;
|
|
288
|
-
doRotate: boolean;
|
|
289
|
-
doAddBorders: boolean;
|
|
290
|
-
shadow: boolean;
|
|
291
|
-
targetWidth?: number | null | undefined;
|
|
292
|
-
targetHeight?: number | null | undefined;
|
|
293
|
-
newBackgroundColor?: string | null | undefined;
|
|
294
|
-
newBackgroundUrl?: string | null | undefined;
|
|
295
|
-
rotationAngle?: number | null | undefined;
|
|
296
|
-
borderSize?: number | null | undefined;
|
|
297
|
-
borderColor?: string | null | undefined;
|
|
298
|
-
};
|
|
299
220
|
}>, z.ZodObject<{
|
|
300
221
|
type: z.ZodLiteral<"TEXT">;
|
|
301
222
|
data: z.ZodObject<{
|
|
@@ -316,8 +237,9 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
316
237
|
text: string;
|
|
317
238
|
};
|
|
318
239
|
}>]>;
|
|
240
|
+
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
319
241
|
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
type: "MESSAGE" | "
|
|
242
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
321
243
|
payload: {
|
|
322
244
|
type: "EMPTY";
|
|
323
245
|
} | {
|
|
@@ -334,23 +256,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
334
256
|
roundStep?: number | null | undefined;
|
|
335
257
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
336
258
|
};
|
|
337
|
-
} | {
|
|
338
|
-
type: "VISION";
|
|
339
|
-
data: {
|
|
340
|
-
doRemoveBackground: boolean;
|
|
341
|
-
doSmartCrop: boolean;
|
|
342
|
-
doChangeBackground: boolean;
|
|
343
|
-
doRotate: boolean;
|
|
344
|
-
doAddBorders: boolean;
|
|
345
|
-
shadow: boolean;
|
|
346
|
-
targetWidth?: number | null | undefined;
|
|
347
|
-
targetHeight?: number | null | undefined;
|
|
348
|
-
newBackgroundColor?: string | null | undefined;
|
|
349
|
-
newBackgroundUrl?: string | null | undefined;
|
|
350
|
-
rotationAngle?: number | null | undefined;
|
|
351
|
-
borderSize?: number | null | undefined;
|
|
352
|
-
borderColor?: string | null | undefined;
|
|
353
|
-
};
|
|
354
259
|
} | {
|
|
355
260
|
type: "TEXT";
|
|
356
261
|
data: {
|
|
@@ -358,8 +263,9 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
358
263
|
};
|
|
359
264
|
};
|
|
360
265
|
enabled: boolean;
|
|
266
|
+
mandatory?: boolean | null | undefined;
|
|
361
267
|
}, {
|
|
362
|
-
type: "MESSAGE" | "
|
|
268
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
363
269
|
payload: {
|
|
364
270
|
type: "EMPTY";
|
|
365
271
|
} | {
|
|
@@ -376,23 +282,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
376
282
|
roundStep?: number | null | undefined;
|
|
377
283
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
378
284
|
};
|
|
379
|
-
} | {
|
|
380
|
-
type: "VISION";
|
|
381
|
-
data: {
|
|
382
|
-
doRemoveBackground: boolean;
|
|
383
|
-
doSmartCrop: boolean;
|
|
384
|
-
doChangeBackground: boolean;
|
|
385
|
-
doRotate: boolean;
|
|
386
|
-
doAddBorders: boolean;
|
|
387
|
-
shadow: boolean;
|
|
388
|
-
targetWidth?: number | null | undefined;
|
|
389
|
-
targetHeight?: number | null | undefined;
|
|
390
|
-
newBackgroundColor?: string | null | undefined;
|
|
391
|
-
newBackgroundUrl?: string | null | undefined;
|
|
392
|
-
rotationAngle?: number | null | undefined;
|
|
393
|
-
borderSize?: number | null | undefined;
|
|
394
|
-
borderColor?: string | null | undefined;
|
|
395
|
-
};
|
|
396
285
|
} | {
|
|
397
286
|
type: "TEXT";
|
|
398
287
|
data: {
|
|
@@ -400,10 +289,11 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
400
289
|
};
|
|
401
290
|
};
|
|
402
291
|
enabled: boolean;
|
|
292
|
+
mandatory?: boolean | null | undefined;
|
|
403
293
|
}>, "many">;
|
|
404
294
|
}, "strip", z.ZodTypeAny, {
|
|
405
295
|
actions: {
|
|
406
|
-
type: "MESSAGE" | "
|
|
296
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
407
297
|
payload: {
|
|
408
298
|
type: "EMPTY";
|
|
409
299
|
} | {
|
|
@@ -420,23 +310,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
420
310
|
roundStep?: number | null | undefined;
|
|
421
311
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
422
312
|
};
|
|
423
|
-
} | {
|
|
424
|
-
type: "VISION";
|
|
425
|
-
data: {
|
|
426
|
-
doRemoveBackground: boolean;
|
|
427
|
-
doSmartCrop: boolean;
|
|
428
|
-
doChangeBackground: boolean;
|
|
429
|
-
doRotate: boolean;
|
|
430
|
-
doAddBorders: boolean;
|
|
431
|
-
shadow: boolean;
|
|
432
|
-
targetWidth?: number | null | undefined;
|
|
433
|
-
targetHeight?: number | null | undefined;
|
|
434
|
-
newBackgroundColor?: string | null | undefined;
|
|
435
|
-
newBackgroundUrl?: string | null | undefined;
|
|
436
|
-
rotationAngle?: number | null | undefined;
|
|
437
|
-
borderSize?: number | null | undefined;
|
|
438
|
-
borderColor?: string | null | undefined;
|
|
439
|
-
};
|
|
440
313
|
} | {
|
|
441
314
|
type: "TEXT";
|
|
442
315
|
data: {
|
|
@@ -444,10 +317,11 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
444
317
|
};
|
|
445
318
|
};
|
|
446
319
|
enabled: boolean;
|
|
320
|
+
mandatory?: boolean | null | undefined;
|
|
447
321
|
}[];
|
|
448
322
|
}, {
|
|
449
323
|
actions: {
|
|
450
|
-
type: "MESSAGE" | "
|
|
324
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
451
325
|
payload: {
|
|
452
326
|
type: "EMPTY";
|
|
453
327
|
} | {
|
|
@@ -464,23 +338,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
464
338
|
roundStep?: number | null | undefined;
|
|
465
339
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
466
340
|
};
|
|
467
|
-
} | {
|
|
468
|
-
type: "VISION";
|
|
469
|
-
data: {
|
|
470
|
-
doRemoveBackground: boolean;
|
|
471
|
-
doSmartCrop: boolean;
|
|
472
|
-
doChangeBackground: boolean;
|
|
473
|
-
doRotate: boolean;
|
|
474
|
-
doAddBorders: boolean;
|
|
475
|
-
shadow: boolean;
|
|
476
|
-
targetWidth?: number | null | undefined;
|
|
477
|
-
targetHeight?: number | null | undefined;
|
|
478
|
-
newBackgroundColor?: string | null | undefined;
|
|
479
|
-
newBackgroundUrl?: string | null | undefined;
|
|
480
|
-
rotationAngle?: number | null | undefined;
|
|
481
|
-
borderSize?: number | null | undefined;
|
|
482
|
-
borderColor?: string | null | undefined;
|
|
483
|
-
};
|
|
484
341
|
} | {
|
|
485
342
|
type: "TEXT";
|
|
486
343
|
data: {
|
|
@@ -488,13 +345,14 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
488
345
|
};
|
|
489
346
|
};
|
|
490
347
|
enabled: boolean;
|
|
348
|
+
mandatory?: boolean | null | undefined;
|
|
491
349
|
}[];
|
|
492
350
|
}>;
|
|
493
351
|
}, "strip", z.ZodTypeAny, {
|
|
494
352
|
type: "ACTIONS";
|
|
495
353
|
data: {
|
|
496
354
|
actions: {
|
|
497
|
-
type: "MESSAGE" | "
|
|
355
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
498
356
|
payload: {
|
|
499
357
|
type: "EMPTY";
|
|
500
358
|
} | {
|
|
@@ -511,23 +369,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
511
369
|
roundStep?: number | null | undefined;
|
|
512
370
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
513
371
|
};
|
|
514
|
-
} | {
|
|
515
|
-
type: "VISION";
|
|
516
|
-
data: {
|
|
517
|
-
doRemoveBackground: boolean;
|
|
518
|
-
doSmartCrop: boolean;
|
|
519
|
-
doChangeBackground: boolean;
|
|
520
|
-
doRotate: boolean;
|
|
521
|
-
doAddBorders: boolean;
|
|
522
|
-
shadow: boolean;
|
|
523
|
-
targetWidth?: number | null | undefined;
|
|
524
|
-
targetHeight?: number | null | undefined;
|
|
525
|
-
newBackgroundColor?: string | null | undefined;
|
|
526
|
-
newBackgroundUrl?: string | null | undefined;
|
|
527
|
-
rotationAngle?: number | null | undefined;
|
|
528
|
-
borderSize?: number | null | undefined;
|
|
529
|
-
borderColor?: string | null | undefined;
|
|
530
|
-
};
|
|
531
372
|
} | {
|
|
532
373
|
type: "TEXT";
|
|
533
374
|
data: {
|
|
@@ -535,13 +376,14 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
535
376
|
};
|
|
536
377
|
};
|
|
537
378
|
enabled: boolean;
|
|
379
|
+
mandatory?: boolean | null | undefined;
|
|
538
380
|
}[];
|
|
539
381
|
};
|
|
540
382
|
}, {
|
|
541
383
|
type: "ACTIONS";
|
|
542
384
|
data: {
|
|
543
385
|
actions: {
|
|
544
|
-
type: "MESSAGE" | "
|
|
386
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
545
387
|
payload: {
|
|
546
388
|
type: "EMPTY";
|
|
547
389
|
} | {
|
|
@@ -558,23 +400,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
558
400
|
roundStep?: number | null | undefined;
|
|
559
401
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
560
402
|
};
|
|
561
|
-
} | {
|
|
562
|
-
type: "VISION";
|
|
563
|
-
data: {
|
|
564
|
-
doRemoveBackground: boolean;
|
|
565
|
-
doSmartCrop: boolean;
|
|
566
|
-
doChangeBackground: boolean;
|
|
567
|
-
doRotate: boolean;
|
|
568
|
-
doAddBorders: boolean;
|
|
569
|
-
shadow: boolean;
|
|
570
|
-
targetWidth?: number | null | undefined;
|
|
571
|
-
targetHeight?: number | null | undefined;
|
|
572
|
-
newBackgroundColor?: string | null | undefined;
|
|
573
|
-
newBackgroundUrl?: string | null | undefined;
|
|
574
|
-
rotationAngle?: number | null | undefined;
|
|
575
|
-
borderSize?: number | null | undefined;
|
|
576
|
-
borderColor?: string | null | undefined;
|
|
577
|
-
};
|
|
578
403
|
} | {
|
|
579
404
|
type: "TEXT";
|
|
580
405
|
data: {
|
|
@@ -582,6 +407,7 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
582
407
|
};
|
|
583
408
|
};
|
|
584
409
|
enabled: boolean;
|
|
410
|
+
mandatory?: boolean | null | undefined;
|
|
585
411
|
}[];
|
|
586
412
|
};
|
|
587
413
|
}>, z.ZodObject<{
|
|
@@ -665,7 +491,7 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
665
491
|
type: "ACTIONS";
|
|
666
492
|
data: {
|
|
667
493
|
actions: {
|
|
668
|
-
type: "MESSAGE" | "
|
|
494
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
669
495
|
payload: {
|
|
670
496
|
type: "EMPTY";
|
|
671
497
|
} | {
|
|
@@ -682,23 +508,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
682
508
|
roundStep?: number | null | undefined;
|
|
683
509
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
684
510
|
};
|
|
685
|
-
} | {
|
|
686
|
-
type: "VISION";
|
|
687
|
-
data: {
|
|
688
|
-
doRemoveBackground: boolean;
|
|
689
|
-
doSmartCrop: boolean;
|
|
690
|
-
doChangeBackground: boolean;
|
|
691
|
-
doRotate: boolean;
|
|
692
|
-
doAddBorders: boolean;
|
|
693
|
-
shadow: boolean;
|
|
694
|
-
targetWidth?: number | null | undefined;
|
|
695
|
-
targetHeight?: number | null | undefined;
|
|
696
|
-
newBackgroundColor?: string | null | undefined;
|
|
697
|
-
newBackgroundUrl?: string | null | undefined;
|
|
698
|
-
rotationAngle?: number | null | undefined;
|
|
699
|
-
borderSize?: number | null | undefined;
|
|
700
|
-
borderColor?: string | null | undefined;
|
|
701
|
-
};
|
|
702
511
|
} | {
|
|
703
512
|
type: "TEXT";
|
|
704
513
|
data: {
|
|
@@ -706,6 +515,7 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
706
515
|
};
|
|
707
516
|
};
|
|
708
517
|
enabled: boolean;
|
|
518
|
+
mandatory?: boolean | null | undefined;
|
|
709
519
|
}[];
|
|
710
520
|
};
|
|
711
521
|
} | {
|
|
@@ -759,7 +569,7 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
759
569
|
type: "ACTIONS";
|
|
760
570
|
data: {
|
|
761
571
|
actions: {
|
|
762
|
-
type: "MESSAGE" | "
|
|
572
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
763
573
|
payload: {
|
|
764
574
|
type: "EMPTY";
|
|
765
575
|
} | {
|
|
@@ -776,23 +586,6 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
776
586
|
roundStep?: number | null | undefined;
|
|
777
587
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
778
588
|
};
|
|
779
|
-
} | {
|
|
780
|
-
type: "VISION";
|
|
781
|
-
data: {
|
|
782
|
-
doRemoveBackground: boolean;
|
|
783
|
-
doSmartCrop: boolean;
|
|
784
|
-
doChangeBackground: boolean;
|
|
785
|
-
doRotate: boolean;
|
|
786
|
-
doAddBorders: boolean;
|
|
787
|
-
shadow: boolean;
|
|
788
|
-
targetWidth?: number | null | undefined;
|
|
789
|
-
targetHeight?: number | null | undefined;
|
|
790
|
-
newBackgroundColor?: string | null | undefined;
|
|
791
|
-
newBackgroundUrl?: string | null | undefined;
|
|
792
|
-
rotationAngle?: number | null | undefined;
|
|
793
|
-
borderSize?: number | null | undefined;
|
|
794
|
-
borderColor?: string | null | undefined;
|
|
795
|
-
};
|
|
796
589
|
} | {
|
|
797
590
|
type: "TEXT";
|
|
798
591
|
data: {
|
|
@@ -800,6 +593,7 @@ export declare const PreferenceCaseVariantSchema: z.ZodObject<{
|
|
|
800
593
|
};
|
|
801
594
|
};
|
|
802
595
|
enabled: boolean;
|
|
596
|
+
mandatory?: boolean | null | undefined;
|
|
803
597
|
}[];
|
|
804
598
|
};
|
|
805
599
|
} | {
|