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.
- package/package.json +1 -1
- 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/preferences/CreatePreferencePayload.d.ts +3 -3
- package/src/com/controlresell/models/preferences/Preference.d.ts +28 -298
- 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 +9 -151
- 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
|
@@ -219,85 +219,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
219
219
|
roundStep?: number | null | undefined;
|
|
220
220
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
221
221
|
};
|
|
222
|
-
}>, z.ZodObject<{
|
|
223
|
-
type: z.ZodLiteral<"VISION">;
|
|
224
|
-
data: z.ZodObject<{
|
|
225
|
-
doRemoveBackground: z.ZodBoolean;
|
|
226
|
-
doSmartCrop: z.ZodBoolean;
|
|
227
|
-
doChangeBackground: z.ZodBoolean;
|
|
228
|
-
doRotate: z.ZodBoolean;
|
|
229
|
-
doAddBorders: z.ZodBoolean;
|
|
230
|
-
shadow: z.ZodBoolean;
|
|
231
|
-
targetWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
232
|
-
targetHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
233
|
-
newBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
-
newBackgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
235
|
-
rotationAngle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
236
|
-
borderSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
237
|
-
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
-
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
doRemoveBackground: boolean;
|
|
240
|
-
doSmartCrop: boolean;
|
|
241
|
-
doChangeBackground: boolean;
|
|
242
|
-
doRotate: boolean;
|
|
243
|
-
doAddBorders: boolean;
|
|
244
|
-
shadow: boolean;
|
|
245
|
-
targetWidth?: number | null | undefined;
|
|
246
|
-
targetHeight?: number | null | undefined;
|
|
247
|
-
newBackgroundColor?: string | null | undefined;
|
|
248
|
-
newBackgroundUrl?: string | null | undefined;
|
|
249
|
-
rotationAngle?: number | null | undefined;
|
|
250
|
-
borderSize?: number | null | undefined;
|
|
251
|
-
borderColor?: string | null | undefined;
|
|
252
|
-
}, {
|
|
253
|
-
doRemoveBackground: boolean;
|
|
254
|
-
doSmartCrop: boolean;
|
|
255
|
-
doChangeBackground: boolean;
|
|
256
|
-
doRotate: boolean;
|
|
257
|
-
doAddBorders: boolean;
|
|
258
|
-
shadow: boolean;
|
|
259
|
-
targetWidth?: number | null | undefined;
|
|
260
|
-
targetHeight?: number | null | undefined;
|
|
261
|
-
newBackgroundColor?: string | null | undefined;
|
|
262
|
-
newBackgroundUrl?: string | null | undefined;
|
|
263
|
-
rotationAngle?: number | null | undefined;
|
|
264
|
-
borderSize?: number | null | undefined;
|
|
265
|
-
borderColor?: string | null | undefined;
|
|
266
|
-
}>;
|
|
267
|
-
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
type: "VISION";
|
|
269
|
-
data: {
|
|
270
|
-
doRemoveBackground: boolean;
|
|
271
|
-
doSmartCrop: boolean;
|
|
272
|
-
doChangeBackground: boolean;
|
|
273
|
-
doRotate: boolean;
|
|
274
|
-
doAddBorders: boolean;
|
|
275
|
-
shadow: boolean;
|
|
276
|
-
targetWidth?: number | null | undefined;
|
|
277
|
-
targetHeight?: number | null | undefined;
|
|
278
|
-
newBackgroundColor?: string | null | undefined;
|
|
279
|
-
newBackgroundUrl?: string | null | undefined;
|
|
280
|
-
rotationAngle?: number | null | undefined;
|
|
281
|
-
borderSize?: number | null | undefined;
|
|
282
|
-
borderColor?: string | null | undefined;
|
|
283
|
-
};
|
|
284
|
-
}, {
|
|
285
|
-
type: "VISION";
|
|
286
|
-
data: {
|
|
287
|
-
doRemoveBackground: boolean;
|
|
288
|
-
doSmartCrop: boolean;
|
|
289
|
-
doChangeBackground: boolean;
|
|
290
|
-
doRotate: boolean;
|
|
291
|
-
doAddBorders: boolean;
|
|
292
|
-
shadow: boolean;
|
|
293
|
-
targetWidth?: number | null | undefined;
|
|
294
|
-
targetHeight?: number | null | undefined;
|
|
295
|
-
newBackgroundColor?: string | null | undefined;
|
|
296
|
-
newBackgroundUrl?: string | null | undefined;
|
|
297
|
-
rotationAngle?: number | null | undefined;
|
|
298
|
-
borderSize?: number | null | undefined;
|
|
299
|
-
borderColor?: string | null | undefined;
|
|
300
|
-
};
|
|
301
222
|
}>, z.ZodObject<{
|
|
302
223
|
type: z.ZodLiteral<"TEXT">;
|
|
303
224
|
data: z.ZodObject<{
|
|
@@ -318,8 +239,9 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
318
239
|
text: string;
|
|
319
240
|
};
|
|
320
241
|
}>]>;
|
|
242
|
+
mandatory: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
321
243
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
type: "MESSAGE" | "
|
|
244
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
323
245
|
payload: {
|
|
324
246
|
type: "EMPTY";
|
|
325
247
|
} | {
|
|
@@ -336,23 +258,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
336
258
|
roundStep?: number | null | undefined;
|
|
337
259
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
338
260
|
};
|
|
339
|
-
} | {
|
|
340
|
-
type: "VISION";
|
|
341
|
-
data: {
|
|
342
|
-
doRemoveBackground: boolean;
|
|
343
|
-
doSmartCrop: boolean;
|
|
344
|
-
doChangeBackground: boolean;
|
|
345
|
-
doRotate: boolean;
|
|
346
|
-
doAddBorders: boolean;
|
|
347
|
-
shadow: boolean;
|
|
348
|
-
targetWidth?: number | null | undefined;
|
|
349
|
-
targetHeight?: number | null | undefined;
|
|
350
|
-
newBackgroundColor?: string | null | undefined;
|
|
351
|
-
newBackgroundUrl?: string | null | undefined;
|
|
352
|
-
rotationAngle?: number | null | undefined;
|
|
353
|
-
borderSize?: number | null | undefined;
|
|
354
|
-
borderColor?: string | null | undefined;
|
|
355
|
-
};
|
|
356
261
|
} | {
|
|
357
262
|
type: "TEXT";
|
|
358
263
|
data: {
|
|
@@ -360,8 +265,9 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
360
265
|
};
|
|
361
266
|
};
|
|
362
267
|
enabled: boolean;
|
|
268
|
+
mandatory?: boolean | null | undefined;
|
|
363
269
|
}, {
|
|
364
|
-
type: "MESSAGE" | "
|
|
270
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
365
271
|
payload: {
|
|
366
272
|
type: "EMPTY";
|
|
367
273
|
} | {
|
|
@@ -378,23 +284,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
378
284
|
roundStep?: number | null | undefined;
|
|
379
285
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
380
286
|
};
|
|
381
|
-
} | {
|
|
382
|
-
type: "VISION";
|
|
383
|
-
data: {
|
|
384
|
-
doRemoveBackground: boolean;
|
|
385
|
-
doSmartCrop: boolean;
|
|
386
|
-
doChangeBackground: boolean;
|
|
387
|
-
doRotate: boolean;
|
|
388
|
-
doAddBorders: boolean;
|
|
389
|
-
shadow: boolean;
|
|
390
|
-
targetWidth?: number | null | undefined;
|
|
391
|
-
targetHeight?: number | null | undefined;
|
|
392
|
-
newBackgroundColor?: string | null | undefined;
|
|
393
|
-
newBackgroundUrl?: string | null | undefined;
|
|
394
|
-
rotationAngle?: number | null | undefined;
|
|
395
|
-
borderSize?: number | null | undefined;
|
|
396
|
-
borderColor?: string | null | undefined;
|
|
397
|
-
};
|
|
398
287
|
} | {
|
|
399
288
|
type: "TEXT";
|
|
400
289
|
data: {
|
|
@@ -402,10 +291,11 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
402
291
|
};
|
|
403
292
|
};
|
|
404
293
|
enabled: boolean;
|
|
294
|
+
mandatory?: boolean | null | undefined;
|
|
405
295
|
}>, "many">;
|
|
406
296
|
}, "strip", z.ZodTypeAny, {
|
|
407
297
|
actions: {
|
|
408
|
-
type: "MESSAGE" | "
|
|
298
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
409
299
|
payload: {
|
|
410
300
|
type: "EMPTY";
|
|
411
301
|
} | {
|
|
@@ -422,23 +312,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
422
312
|
roundStep?: number | null | undefined;
|
|
423
313
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
424
314
|
};
|
|
425
|
-
} | {
|
|
426
|
-
type: "VISION";
|
|
427
|
-
data: {
|
|
428
|
-
doRemoveBackground: boolean;
|
|
429
|
-
doSmartCrop: boolean;
|
|
430
|
-
doChangeBackground: boolean;
|
|
431
|
-
doRotate: boolean;
|
|
432
|
-
doAddBorders: boolean;
|
|
433
|
-
shadow: boolean;
|
|
434
|
-
targetWidth?: number | null | undefined;
|
|
435
|
-
targetHeight?: number | null | undefined;
|
|
436
|
-
newBackgroundColor?: string | null | undefined;
|
|
437
|
-
newBackgroundUrl?: string | null | undefined;
|
|
438
|
-
rotationAngle?: number | null | undefined;
|
|
439
|
-
borderSize?: number | null | undefined;
|
|
440
|
-
borderColor?: string | null | undefined;
|
|
441
|
-
};
|
|
442
315
|
} | {
|
|
443
316
|
type: "TEXT";
|
|
444
317
|
data: {
|
|
@@ -446,10 +319,11 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
446
319
|
};
|
|
447
320
|
};
|
|
448
321
|
enabled: boolean;
|
|
322
|
+
mandatory?: boolean | null | undefined;
|
|
449
323
|
}[];
|
|
450
324
|
}, {
|
|
451
325
|
actions: {
|
|
452
|
-
type: "MESSAGE" | "
|
|
326
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
453
327
|
payload: {
|
|
454
328
|
type: "EMPTY";
|
|
455
329
|
} | {
|
|
@@ -466,23 +340,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
466
340
|
roundStep?: number | null | undefined;
|
|
467
341
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
468
342
|
};
|
|
469
|
-
} | {
|
|
470
|
-
type: "VISION";
|
|
471
|
-
data: {
|
|
472
|
-
doRemoveBackground: boolean;
|
|
473
|
-
doSmartCrop: boolean;
|
|
474
|
-
doChangeBackground: boolean;
|
|
475
|
-
doRotate: boolean;
|
|
476
|
-
doAddBorders: boolean;
|
|
477
|
-
shadow: boolean;
|
|
478
|
-
targetWidth?: number | null | undefined;
|
|
479
|
-
targetHeight?: number | null | undefined;
|
|
480
|
-
newBackgroundColor?: string | null | undefined;
|
|
481
|
-
newBackgroundUrl?: string | null | undefined;
|
|
482
|
-
rotationAngle?: number | null | undefined;
|
|
483
|
-
borderSize?: number | null | undefined;
|
|
484
|
-
borderColor?: string | null | undefined;
|
|
485
|
-
};
|
|
486
343
|
} | {
|
|
487
344
|
type: "TEXT";
|
|
488
345
|
data: {
|
|
@@ -490,13 +347,14 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
490
347
|
};
|
|
491
348
|
};
|
|
492
349
|
enabled: boolean;
|
|
350
|
+
mandatory?: boolean | null | undefined;
|
|
493
351
|
}[];
|
|
494
352
|
}>;
|
|
495
353
|
}, "strip", z.ZodTypeAny, {
|
|
496
354
|
type: "ACTIONS";
|
|
497
355
|
data: {
|
|
498
356
|
actions: {
|
|
499
|
-
type: "MESSAGE" | "
|
|
357
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
500
358
|
payload: {
|
|
501
359
|
type: "EMPTY";
|
|
502
360
|
} | {
|
|
@@ -513,23 +371,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
513
371
|
roundStep?: number | null | undefined;
|
|
514
372
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
515
373
|
};
|
|
516
|
-
} | {
|
|
517
|
-
type: "VISION";
|
|
518
|
-
data: {
|
|
519
|
-
doRemoveBackground: boolean;
|
|
520
|
-
doSmartCrop: boolean;
|
|
521
|
-
doChangeBackground: boolean;
|
|
522
|
-
doRotate: boolean;
|
|
523
|
-
doAddBorders: boolean;
|
|
524
|
-
shadow: boolean;
|
|
525
|
-
targetWidth?: number | null | undefined;
|
|
526
|
-
targetHeight?: number | null | undefined;
|
|
527
|
-
newBackgroundColor?: string | null | undefined;
|
|
528
|
-
newBackgroundUrl?: string | null | undefined;
|
|
529
|
-
rotationAngle?: number | null | undefined;
|
|
530
|
-
borderSize?: number | null | undefined;
|
|
531
|
-
borderColor?: string | null | undefined;
|
|
532
|
-
};
|
|
533
374
|
} | {
|
|
534
375
|
type: "TEXT";
|
|
535
376
|
data: {
|
|
@@ -537,13 +378,14 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
537
378
|
};
|
|
538
379
|
};
|
|
539
380
|
enabled: boolean;
|
|
381
|
+
mandatory?: boolean | null | undefined;
|
|
540
382
|
}[];
|
|
541
383
|
};
|
|
542
384
|
}, {
|
|
543
385
|
type: "ACTIONS";
|
|
544
386
|
data: {
|
|
545
387
|
actions: {
|
|
546
|
-
type: "MESSAGE" | "
|
|
388
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
547
389
|
payload: {
|
|
548
390
|
type: "EMPTY";
|
|
549
391
|
} | {
|
|
@@ -560,23 +402,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
560
402
|
roundStep?: number | null | undefined;
|
|
561
403
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
562
404
|
};
|
|
563
|
-
} | {
|
|
564
|
-
type: "VISION";
|
|
565
|
-
data: {
|
|
566
|
-
doRemoveBackground: boolean;
|
|
567
|
-
doSmartCrop: boolean;
|
|
568
|
-
doChangeBackground: boolean;
|
|
569
|
-
doRotate: boolean;
|
|
570
|
-
doAddBorders: boolean;
|
|
571
|
-
shadow: boolean;
|
|
572
|
-
targetWidth?: number | null | undefined;
|
|
573
|
-
targetHeight?: number | null | undefined;
|
|
574
|
-
newBackgroundColor?: string | null | undefined;
|
|
575
|
-
newBackgroundUrl?: string | null | undefined;
|
|
576
|
-
rotationAngle?: number | null | undefined;
|
|
577
|
-
borderSize?: number | null | undefined;
|
|
578
|
-
borderColor?: string | null | undefined;
|
|
579
|
-
};
|
|
580
405
|
} | {
|
|
581
406
|
type: "TEXT";
|
|
582
407
|
data: {
|
|
@@ -584,6 +409,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
584
409
|
};
|
|
585
410
|
};
|
|
586
411
|
enabled: boolean;
|
|
412
|
+
mandatory?: boolean | null | undefined;
|
|
587
413
|
}[];
|
|
588
414
|
};
|
|
589
415
|
}>, z.ZodObject<{
|
|
@@ -666,7 +492,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
666
492
|
type: "ACTIONS";
|
|
667
493
|
data: {
|
|
668
494
|
actions: {
|
|
669
|
-
type: "MESSAGE" | "
|
|
495
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
670
496
|
payload: {
|
|
671
497
|
type: "EMPTY";
|
|
672
498
|
} | {
|
|
@@ -683,23 +509,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
683
509
|
roundStep?: number | null | undefined;
|
|
684
510
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
685
511
|
};
|
|
686
|
-
} | {
|
|
687
|
-
type: "VISION";
|
|
688
|
-
data: {
|
|
689
|
-
doRemoveBackground: boolean;
|
|
690
|
-
doSmartCrop: boolean;
|
|
691
|
-
doChangeBackground: boolean;
|
|
692
|
-
doRotate: boolean;
|
|
693
|
-
doAddBorders: boolean;
|
|
694
|
-
shadow: boolean;
|
|
695
|
-
targetWidth?: number | null | undefined;
|
|
696
|
-
targetHeight?: number | null | undefined;
|
|
697
|
-
newBackgroundColor?: string | null | undefined;
|
|
698
|
-
newBackgroundUrl?: string | null | undefined;
|
|
699
|
-
rotationAngle?: number | null | undefined;
|
|
700
|
-
borderSize?: number | null | undefined;
|
|
701
|
-
borderColor?: string | null | undefined;
|
|
702
|
-
};
|
|
703
512
|
} | {
|
|
704
513
|
type: "TEXT";
|
|
705
514
|
data: {
|
|
@@ -707,6 +516,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
707
516
|
};
|
|
708
517
|
};
|
|
709
518
|
enabled: boolean;
|
|
519
|
+
mandatory?: boolean | null | undefined;
|
|
710
520
|
}[];
|
|
711
521
|
};
|
|
712
522
|
} | {
|
|
@@ -758,7 +568,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
758
568
|
type: "ACTIONS";
|
|
759
569
|
data: {
|
|
760
570
|
actions: {
|
|
761
|
-
type: "MESSAGE" | "
|
|
571
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
762
572
|
payload: {
|
|
763
573
|
type: "EMPTY";
|
|
764
574
|
} | {
|
|
@@ -775,23 +585,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
775
585
|
roundStep?: number | null | undefined;
|
|
776
586
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
777
587
|
};
|
|
778
|
-
} | {
|
|
779
|
-
type: "VISION";
|
|
780
|
-
data: {
|
|
781
|
-
doRemoveBackground: boolean;
|
|
782
|
-
doSmartCrop: boolean;
|
|
783
|
-
doChangeBackground: boolean;
|
|
784
|
-
doRotate: boolean;
|
|
785
|
-
doAddBorders: boolean;
|
|
786
|
-
shadow: boolean;
|
|
787
|
-
targetWidth?: number | null | undefined;
|
|
788
|
-
targetHeight?: number | null | undefined;
|
|
789
|
-
newBackgroundColor?: string | null | undefined;
|
|
790
|
-
newBackgroundUrl?: string | null | undefined;
|
|
791
|
-
rotationAngle?: number | null | undefined;
|
|
792
|
-
borderSize?: number | null | undefined;
|
|
793
|
-
borderColor?: string | null | undefined;
|
|
794
|
-
};
|
|
795
588
|
} | {
|
|
796
589
|
type: "TEXT";
|
|
797
590
|
data: {
|
|
@@ -799,6 +592,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
799
592
|
};
|
|
800
593
|
};
|
|
801
594
|
enabled: boolean;
|
|
595
|
+
mandatory?: boolean | null | undefined;
|
|
802
596
|
}[];
|
|
803
597
|
};
|
|
804
598
|
} | {
|
|
@@ -857,7 +651,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
857
651
|
type: "ACTIONS";
|
|
858
652
|
data: {
|
|
859
653
|
actions: {
|
|
860
|
-
type: "MESSAGE" | "
|
|
654
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
861
655
|
payload: {
|
|
862
656
|
type: "EMPTY";
|
|
863
657
|
} | {
|
|
@@ -874,23 +668,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
874
668
|
roundStep?: number | null | undefined;
|
|
875
669
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
876
670
|
};
|
|
877
|
-
} | {
|
|
878
|
-
type: "VISION";
|
|
879
|
-
data: {
|
|
880
|
-
doRemoveBackground: boolean;
|
|
881
|
-
doSmartCrop: boolean;
|
|
882
|
-
doChangeBackground: boolean;
|
|
883
|
-
doRotate: boolean;
|
|
884
|
-
doAddBorders: boolean;
|
|
885
|
-
shadow: boolean;
|
|
886
|
-
targetWidth?: number | null | undefined;
|
|
887
|
-
targetHeight?: number | null | undefined;
|
|
888
|
-
newBackgroundColor?: string | null | undefined;
|
|
889
|
-
newBackgroundUrl?: string | null | undefined;
|
|
890
|
-
rotationAngle?: number | null | undefined;
|
|
891
|
-
borderSize?: number | null | undefined;
|
|
892
|
-
borderColor?: string | null | undefined;
|
|
893
|
-
};
|
|
894
671
|
} | {
|
|
895
672
|
type: "TEXT";
|
|
896
673
|
data: {
|
|
@@ -898,6 +675,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
898
675
|
};
|
|
899
676
|
};
|
|
900
677
|
enabled: boolean;
|
|
678
|
+
mandatory?: boolean | null | undefined;
|
|
901
679
|
}[];
|
|
902
680
|
};
|
|
903
681
|
} | {
|
|
@@ -955,7 +733,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
955
733
|
type: "ACTIONS";
|
|
956
734
|
data: {
|
|
957
735
|
actions: {
|
|
958
|
-
type: "MESSAGE" | "
|
|
736
|
+
type: "MESSAGE" | "REPUBLISH" | "WAIT" | "PRICE_DROP" | "OFFER_AUTO" | "OFFER_MANUAL";
|
|
959
737
|
payload: {
|
|
960
738
|
type: "EMPTY";
|
|
961
739
|
} | {
|
|
@@ -972,23 +750,6 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
972
750
|
roundStep?: number | null | undefined;
|
|
973
751
|
negotiationProfile?: "AUTO" | "MODERATE" | "CONSERVATIVE" | null | undefined;
|
|
974
752
|
};
|
|
975
|
-
} | {
|
|
976
|
-
type: "VISION";
|
|
977
|
-
data: {
|
|
978
|
-
doRemoveBackground: boolean;
|
|
979
|
-
doSmartCrop: boolean;
|
|
980
|
-
doChangeBackground: boolean;
|
|
981
|
-
doRotate: boolean;
|
|
982
|
-
doAddBorders: boolean;
|
|
983
|
-
shadow: boolean;
|
|
984
|
-
targetWidth?: number | null | undefined;
|
|
985
|
-
targetHeight?: number | null | undefined;
|
|
986
|
-
newBackgroundColor?: string | null | undefined;
|
|
987
|
-
newBackgroundUrl?: string | null | undefined;
|
|
988
|
-
rotationAngle?: number | null | undefined;
|
|
989
|
-
borderSize?: number | null | undefined;
|
|
990
|
-
borderColor?: string | null | undefined;
|
|
991
|
-
};
|
|
992
753
|
} | {
|
|
993
754
|
type: "TEXT";
|
|
994
755
|
data: {
|
|
@@ -996,6 +757,7 @@ export declare const PartialPreferenceCasePayloadSchema: z.ZodObject<{
|
|
|
996
757
|
};
|
|
997
758
|
};
|
|
998
759
|
enabled: boolean;
|
|
760
|
+
mandatory?: boolean | null | undefined;
|
|
999
761
|
}[];
|
|
1000
762
|
};
|
|
1001
763
|
} | {
|