@omni-graph/omni-model 0.2.57 → 0.2.59
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.
|
@@ -252,6 +252,8 @@ export declare const ContentOptimizationRefinementResponseSchema: z.ZodEffects<z
|
|
|
252
252
|
isEnabled?: boolean | undefined;
|
|
253
253
|
updatedAt?: string | undefined;
|
|
254
254
|
}>;
|
|
255
|
+
declare const resourceKeyTranslation: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
256
|
+
export type ResourceKeyTranslation = z.infer<typeof resourceKeyTranslation>;
|
|
255
257
|
export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
256
258
|
id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
|
|
257
259
|
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -266,123 +268,123 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
266
268
|
translation_fields: z.ZodObject<{
|
|
267
269
|
content_optimization_translate_product_description_html: z.ZodObject<{
|
|
268
270
|
product_description_html: z.ZodObject<{
|
|
269
|
-
name: z.
|
|
271
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
270
272
|
enabled: z.ZodBoolean;
|
|
271
273
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
name: "product_description_html";
|
|
274
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
273
275
|
enabled: boolean;
|
|
274
276
|
}, {
|
|
275
|
-
name: "product_description_html";
|
|
277
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
276
278
|
enabled: boolean;
|
|
277
279
|
}>;
|
|
278
280
|
product_name: z.ZodObject<{
|
|
279
|
-
name: z.
|
|
281
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
280
282
|
enabled: z.ZodBoolean;
|
|
281
283
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
name: "product_name";
|
|
284
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
283
285
|
enabled: boolean;
|
|
284
286
|
}, {
|
|
285
|
-
name: "product_name";
|
|
287
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
286
288
|
enabled: boolean;
|
|
287
289
|
}>;
|
|
288
290
|
}, "strip", z.ZodTypeAny, {
|
|
289
291
|
product_description_html: {
|
|
290
|
-
name: "product_description_html";
|
|
292
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
291
293
|
enabled: boolean;
|
|
292
294
|
};
|
|
293
295
|
product_name: {
|
|
294
|
-
name: "product_name";
|
|
296
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
295
297
|
enabled: boolean;
|
|
296
298
|
};
|
|
297
299
|
}, {
|
|
298
300
|
product_description_html: {
|
|
299
|
-
name: "product_description_html";
|
|
301
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
300
302
|
enabled: boolean;
|
|
301
303
|
};
|
|
302
304
|
product_name: {
|
|
303
|
-
name: "product_name";
|
|
305
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
304
306
|
enabled: boolean;
|
|
305
307
|
};
|
|
306
308
|
}>;
|
|
307
309
|
content_optimization_translate_seo: z.ZodOptional<z.ZodObject<{
|
|
308
310
|
seo_title: z.ZodObject<{
|
|
309
|
-
name: z.
|
|
311
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
310
312
|
enabled: z.ZodBoolean;
|
|
311
313
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
name: "seo_title";
|
|
314
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
313
315
|
enabled: boolean;
|
|
314
316
|
}, {
|
|
315
|
-
name: "seo_title";
|
|
317
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
316
318
|
enabled: boolean;
|
|
317
319
|
}>;
|
|
318
320
|
seo_description: z.ZodObject<{
|
|
319
|
-
name: z.
|
|
321
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
320
322
|
enabled: z.ZodBoolean;
|
|
321
323
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
name: "seo_description";
|
|
324
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
323
325
|
enabled: boolean;
|
|
324
326
|
}, {
|
|
325
|
-
name: "seo_description";
|
|
327
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
326
328
|
enabled: boolean;
|
|
327
329
|
}>;
|
|
328
330
|
}, "strip", z.ZodTypeAny, {
|
|
329
331
|
seo_title: {
|
|
330
|
-
name: "seo_title";
|
|
332
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
331
333
|
enabled: boolean;
|
|
332
334
|
};
|
|
333
335
|
seo_description: {
|
|
334
|
-
name: "seo_description";
|
|
336
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
335
337
|
enabled: boolean;
|
|
336
338
|
};
|
|
337
339
|
}, {
|
|
338
340
|
seo_title: {
|
|
339
|
-
name: "seo_title";
|
|
341
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
340
342
|
enabled: boolean;
|
|
341
343
|
};
|
|
342
344
|
seo_description: {
|
|
343
|
-
name: "seo_description";
|
|
345
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
344
346
|
enabled: boolean;
|
|
345
347
|
};
|
|
346
348
|
}>>;
|
|
347
349
|
}, "strip", z.ZodTypeAny, {
|
|
348
350
|
content_optimization_translate_product_description_html: {
|
|
349
351
|
product_description_html: {
|
|
350
|
-
name: "product_description_html";
|
|
352
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
351
353
|
enabled: boolean;
|
|
352
354
|
};
|
|
353
355
|
product_name: {
|
|
354
|
-
name: "product_name";
|
|
356
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
355
357
|
enabled: boolean;
|
|
356
358
|
};
|
|
357
359
|
};
|
|
358
360
|
content_optimization_translate_seo?: {
|
|
359
361
|
seo_title: {
|
|
360
|
-
name: "seo_title";
|
|
362
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
361
363
|
enabled: boolean;
|
|
362
364
|
};
|
|
363
365
|
seo_description: {
|
|
364
|
-
name: "seo_description";
|
|
366
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
365
367
|
enabled: boolean;
|
|
366
368
|
};
|
|
367
369
|
} | undefined;
|
|
368
370
|
}, {
|
|
369
371
|
content_optimization_translate_product_description_html: {
|
|
370
372
|
product_description_html: {
|
|
371
|
-
name: "product_description_html";
|
|
373
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
372
374
|
enabled: boolean;
|
|
373
375
|
};
|
|
374
376
|
product_name: {
|
|
375
|
-
name: "product_name";
|
|
377
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
376
378
|
enabled: boolean;
|
|
377
379
|
};
|
|
378
380
|
};
|
|
379
381
|
content_optimization_translate_seo?: {
|
|
380
382
|
seo_title: {
|
|
381
|
-
name: "seo_title";
|
|
383
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
382
384
|
enabled: boolean;
|
|
383
385
|
};
|
|
384
386
|
seo_description: {
|
|
385
|
-
name: "seo_description";
|
|
387
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
386
388
|
enabled: boolean;
|
|
387
389
|
};
|
|
388
390
|
} | undefined;
|
|
@@ -394,21 +396,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
394
396
|
translation_fields: {
|
|
395
397
|
content_optimization_translate_product_description_html: {
|
|
396
398
|
product_description_html: {
|
|
397
|
-
name: "product_description_html";
|
|
399
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
398
400
|
enabled: boolean;
|
|
399
401
|
};
|
|
400
402
|
product_name: {
|
|
401
|
-
name: "product_name";
|
|
403
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
402
404
|
enabled: boolean;
|
|
403
405
|
};
|
|
404
406
|
};
|
|
405
407
|
content_optimization_translate_seo?: {
|
|
406
408
|
seo_title: {
|
|
407
|
-
name: "seo_title";
|
|
409
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
408
410
|
enabled: boolean;
|
|
409
411
|
};
|
|
410
412
|
seo_description: {
|
|
411
|
-
name: "seo_description";
|
|
413
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
412
414
|
enabled: boolean;
|
|
413
415
|
};
|
|
414
416
|
} | undefined;
|
|
@@ -421,21 +423,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
421
423
|
translation_fields: {
|
|
422
424
|
content_optimization_translate_product_description_html: {
|
|
423
425
|
product_description_html: {
|
|
424
|
-
name: "product_description_html";
|
|
426
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
425
427
|
enabled: boolean;
|
|
426
428
|
};
|
|
427
429
|
product_name: {
|
|
428
|
-
name: "product_name";
|
|
430
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
429
431
|
enabled: boolean;
|
|
430
432
|
};
|
|
431
433
|
};
|
|
432
434
|
content_optimization_translate_seo?: {
|
|
433
435
|
seo_title: {
|
|
434
|
-
name: "seo_title";
|
|
436
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
435
437
|
enabled: boolean;
|
|
436
438
|
};
|
|
437
439
|
seo_description: {
|
|
438
|
-
name: "seo_description";
|
|
440
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
439
441
|
enabled: boolean;
|
|
440
442
|
};
|
|
441
443
|
} | undefined;
|
|
@@ -451,21 +453,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
451
453
|
translation_fields: {
|
|
452
454
|
content_optimization_translate_product_description_html: {
|
|
453
455
|
product_description_html: {
|
|
454
|
-
name: "product_description_html";
|
|
456
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
455
457
|
enabled: boolean;
|
|
456
458
|
};
|
|
457
459
|
product_name: {
|
|
458
|
-
name: "product_name";
|
|
460
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
459
461
|
enabled: boolean;
|
|
460
462
|
};
|
|
461
463
|
};
|
|
462
464
|
content_optimization_translate_seo?: {
|
|
463
465
|
seo_title: {
|
|
464
|
-
name: "seo_title";
|
|
466
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
465
467
|
enabled: boolean;
|
|
466
468
|
};
|
|
467
469
|
seo_description: {
|
|
468
|
-
name: "seo_description";
|
|
470
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
469
471
|
enabled: boolean;
|
|
470
472
|
};
|
|
471
473
|
} | undefined;
|
|
@@ -483,21 +485,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
483
485
|
translation_fields: {
|
|
484
486
|
content_optimization_translate_product_description_html: {
|
|
485
487
|
product_description_html: {
|
|
486
|
-
name: "product_description_html";
|
|
488
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
487
489
|
enabled: boolean;
|
|
488
490
|
};
|
|
489
491
|
product_name: {
|
|
490
|
-
name: "product_name";
|
|
492
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
491
493
|
enabled: boolean;
|
|
492
494
|
};
|
|
493
495
|
};
|
|
494
496
|
content_optimization_translate_seo?: {
|
|
495
497
|
seo_title: {
|
|
496
|
-
name: "seo_title";
|
|
498
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
497
499
|
enabled: boolean;
|
|
498
500
|
};
|
|
499
501
|
seo_description: {
|
|
500
|
-
name: "seo_description";
|
|
502
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
501
503
|
enabled: boolean;
|
|
502
504
|
};
|
|
503
505
|
} | undefined;
|
|
@@ -515,21 +517,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
515
517
|
translation_fields: {
|
|
516
518
|
content_optimization_translate_product_description_html: {
|
|
517
519
|
product_description_html: {
|
|
518
|
-
name: "product_description_html";
|
|
520
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
519
521
|
enabled: boolean;
|
|
520
522
|
};
|
|
521
523
|
product_name: {
|
|
522
|
-
name: "product_name";
|
|
524
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
523
525
|
enabled: boolean;
|
|
524
526
|
};
|
|
525
527
|
};
|
|
526
528
|
content_optimization_translate_seo?: {
|
|
527
529
|
seo_title: {
|
|
528
|
-
name: "seo_title";
|
|
530
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
529
531
|
enabled: boolean;
|
|
530
532
|
};
|
|
531
533
|
seo_description: {
|
|
532
|
-
name: "seo_description";
|
|
534
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
533
535
|
enabled: boolean;
|
|
534
536
|
};
|
|
535
537
|
} | undefined;
|
|
@@ -543,21 +545,21 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
|
|
|
543
545
|
translation_fields: {
|
|
544
546
|
content_optimization_translate_product_description_html: {
|
|
545
547
|
product_description_html: {
|
|
546
|
-
name: "product_description_html";
|
|
548
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
547
549
|
enabled: boolean;
|
|
548
550
|
};
|
|
549
551
|
product_name: {
|
|
550
|
-
name: "product_name";
|
|
552
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
551
553
|
enabled: boolean;
|
|
552
554
|
};
|
|
553
555
|
};
|
|
554
556
|
content_optimization_translate_seo?: {
|
|
555
557
|
seo_title: {
|
|
556
|
-
name: "seo_title";
|
|
558
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
557
559
|
enabled: boolean;
|
|
558
560
|
};
|
|
559
561
|
seo_description: {
|
|
560
|
-
name: "seo_description";
|
|
562
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
561
563
|
enabled: boolean;
|
|
562
564
|
};
|
|
563
565
|
} | undefined;
|
|
@@ -1212,123 +1214,123 @@ export declare const SettingsSchemas: {
|
|
|
1212
1214
|
translation_fields: z.ZodObject<{
|
|
1213
1215
|
content_optimization_translate_product_description_html: z.ZodObject<{
|
|
1214
1216
|
product_description_html: z.ZodObject<{
|
|
1215
|
-
name: z.
|
|
1217
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
1216
1218
|
enabled: z.ZodBoolean;
|
|
1217
1219
|
}, "strip", z.ZodTypeAny, {
|
|
1218
|
-
name: "product_description_html";
|
|
1220
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1219
1221
|
enabled: boolean;
|
|
1220
1222
|
}, {
|
|
1221
|
-
name: "product_description_html";
|
|
1223
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1222
1224
|
enabled: boolean;
|
|
1223
1225
|
}>;
|
|
1224
1226
|
product_name: z.ZodObject<{
|
|
1225
|
-
name: z.
|
|
1227
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
1226
1228
|
enabled: z.ZodBoolean;
|
|
1227
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1228
|
-
name: "product_name";
|
|
1230
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1229
1231
|
enabled: boolean;
|
|
1230
1232
|
}, {
|
|
1231
|
-
name: "product_name";
|
|
1233
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1232
1234
|
enabled: boolean;
|
|
1233
1235
|
}>;
|
|
1234
1236
|
}, "strip", z.ZodTypeAny, {
|
|
1235
1237
|
product_description_html: {
|
|
1236
|
-
name: "product_description_html";
|
|
1238
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1237
1239
|
enabled: boolean;
|
|
1238
1240
|
};
|
|
1239
1241
|
product_name: {
|
|
1240
|
-
name: "product_name";
|
|
1242
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1241
1243
|
enabled: boolean;
|
|
1242
1244
|
};
|
|
1243
1245
|
}, {
|
|
1244
1246
|
product_description_html: {
|
|
1245
|
-
name: "product_description_html";
|
|
1247
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1246
1248
|
enabled: boolean;
|
|
1247
1249
|
};
|
|
1248
1250
|
product_name: {
|
|
1249
|
-
name: "product_name";
|
|
1251
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1250
1252
|
enabled: boolean;
|
|
1251
1253
|
};
|
|
1252
1254
|
}>;
|
|
1253
1255
|
content_optimization_translate_seo: z.ZodOptional<z.ZodObject<{
|
|
1254
1256
|
seo_title: z.ZodObject<{
|
|
1255
|
-
name: z.
|
|
1257
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
1256
1258
|
enabled: z.ZodBoolean;
|
|
1257
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1258
|
-
name: "seo_title";
|
|
1260
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1259
1261
|
enabled: boolean;
|
|
1260
1262
|
}, {
|
|
1261
|
-
name: "seo_title";
|
|
1263
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1262
1264
|
enabled: boolean;
|
|
1263
1265
|
}>;
|
|
1264
1266
|
seo_description: z.ZodObject<{
|
|
1265
|
-
name: z.
|
|
1267
|
+
name: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
|
|
1266
1268
|
enabled: z.ZodBoolean;
|
|
1267
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1268
|
-
name: "seo_description";
|
|
1270
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1269
1271
|
enabled: boolean;
|
|
1270
1272
|
}, {
|
|
1271
|
-
name: "seo_description";
|
|
1273
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1272
1274
|
enabled: boolean;
|
|
1273
1275
|
}>;
|
|
1274
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1275
1277
|
seo_title: {
|
|
1276
|
-
name: "seo_title";
|
|
1278
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1277
1279
|
enabled: boolean;
|
|
1278
1280
|
};
|
|
1279
1281
|
seo_description: {
|
|
1280
|
-
name: "seo_description";
|
|
1282
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1281
1283
|
enabled: boolean;
|
|
1282
1284
|
};
|
|
1283
1285
|
}, {
|
|
1284
1286
|
seo_title: {
|
|
1285
|
-
name: "seo_title";
|
|
1287
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1286
1288
|
enabled: boolean;
|
|
1287
1289
|
};
|
|
1288
1290
|
seo_description: {
|
|
1289
|
-
name: "seo_description";
|
|
1291
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1290
1292
|
enabled: boolean;
|
|
1291
1293
|
};
|
|
1292
1294
|
}>>;
|
|
1293
1295
|
}, "strip", z.ZodTypeAny, {
|
|
1294
1296
|
content_optimization_translate_product_description_html: {
|
|
1295
1297
|
product_description_html: {
|
|
1296
|
-
name: "product_description_html";
|
|
1298
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1297
1299
|
enabled: boolean;
|
|
1298
1300
|
};
|
|
1299
1301
|
product_name: {
|
|
1300
|
-
name: "product_name";
|
|
1302
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1301
1303
|
enabled: boolean;
|
|
1302
1304
|
};
|
|
1303
1305
|
};
|
|
1304
1306
|
content_optimization_translate_seo?: {
|
|
1305
1307
|
seo_title: {
|
|
1306
|
-
name: "seo_title";
|
|
1308
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1307
1309
|
enabled: boolean;
|
|
1308
1310
|
};
|
|
1309
1311
|
seo_description: {
|
|
1310
|
-
name: "seo_description";
|
|
1312
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1311
1313
|
enabled: boolean;
|
|
1312
1314
|
};
|
|
1313
1315
|
} | undefined;
|
|
1314
1316
|
}, {
|
|
1315
1317
|
content_optimization_translate_product_description_html: {
|
|
1316
1318
|
product_description_html: {
|
|
1317
|
-
name: "product_description_html";
|
|
1319
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1318
1320
|
enabled: boolean;
|
|
1319
1321
|
};
|
|
1320
1322
|
product_name: {
|
|
1321
|
-
name: "product_name";
|
|
1323
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1322
1324
|
enabled: boolean;
|
|
1323
1325
|
};
|
|
1324
1326
|
};
|
|
1325
1327
|
content_optimization_translate_seo?: {
|
|
1326
1328
|
seo_title: {
|
|
1327
|
-
name: "seo_title";
|
|
1329
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1328
1330
|
enabled: boolean;
|
|
1329
1331
|
};
|
|
1330
1332
|
seo_description: {
|
|
1331
|
-
name: "seo_description";
|
|
1333
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1332
1334
|
enabled: boolean;
|
|
1333
1335
|
};
|
|
1334
1336
|
} | undefined;
|
|
@@ -1340,21 +1342,21 @@ export declare const SettingsSchemas: {
|
|
|
1340
1342
|
translation_fields: {
|
|
1341
1343
|
content_optimization_translate_product_description_html: {
|
|
1342
1344
|
product_description_html: {
|
|
1343
|
-
name: "product_description_html";
|
|
1345
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1344
1346
|
enabled: boolean;
|
|
1345
1347
|
};
|
|
1346
1348
|
product_name: {
|
|
1347
|
-
name: "product_name";
|
|
1349
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1348
1350
|
enabled: boolean;
|
|
1349
1351
|
};
|
|
1350
1352
|
};
|
|
1351
1353
|
content_optimization_translate_seo?: {
|
|
1352
1354
|
seo_title: {
|
|
1353
|
-
name: "seo_title";
|
|
1355
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1354
1356
|
enabled: boolean;
|
|
1355
1357
|
};
|
|
1356
1358
|
seo_description: {
|
|
1357
|
-
name: "seo_description";
|
|
1359
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1358
1360
|
enabled: boolean;
|
|
1359
1361
|
};
|
|
1360
1362
|
} | undefined;
|
|
@@ -1367,21 +1369,21 @@ export declare const SettingsSchemas: {
|
|
|
1367
1369
|
translation_fields: {
|
|
1368
1370
|
content_optimization_translate_product_description_html: {
|
|
1369
1371
|
product_description_html: {
|
|
1370
|
-
name: "product_description_html";
|
|
1372
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1371
1373
|
enabled: boolean;
|
|
1372
1374
|
};
|
|
1373
1375
|
product_name: {
|
|
1374
|
-
name: "product_name";
|
|
1376
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1375
1377
|
enabled: boolean;
|
|
1376
1378
|
};
|
|
1377
1379
|
};
|
|
1378
1380
|
content_optimization_translate_seo?: {
|
|
1379
1381
|
seo_title: {
|
|
1380
|
-
name: "seo_title";
|
|
1382
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1381
1383
|
enabled: boolean;
|
|
1382
1384
|
};
|
|
1383
1385
|
seo_description: {
|
|
1384
|
-
name: "seo_description";
|
|
1386
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1385
1387
|
enabled: boolean;
|
|
1386
1388
|
};
|
|
1387
1389
|
} | undefined;
|
|
@@ -1397,21 +1399,21 @@ export declare const SettingsSchemas: {
|
|
|
1397
1399
|
translation_fields: {
|
|
1398
1400
|
content_optimization_translate_product_description_html: {
|
|
1399
1401
|
product_description_html: {
|
|
1400
|
-
name: "product_description_html";
|
|
1402
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1401
1403
|
enabled: boolean;
|
|
1402
1404
|
};
|
|
1403
1405
|
product_name: {
|
|
1404
|
-
name: "product_name";
|
|
1406
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1405
1407
|
enabled: boolean;
|
|
1406
1408
|
};
|
|
1407
1409
|
};
|
|
1408
1410
|
content_optimization_translate_seo?: {
|
|
1409
1411
|
seo_title: {
|
|
1410
|
-
name: "seo_title";
|
|
1412
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1411
1413
|
enabled: boolean;
|
|
1412
1414
|
};
|
|
1413
1415
|
seo_description: {
|
|
1414
|
-
name: "seo_description";
|
|
1416
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1415
1417
|
enabled: boolean;
|
|
1416
1418
|
};
|
|
1417
1419
|
} | undefined;
|
|
@@ -1429,21 +1431,21 @@ export declare const SettingsSchemas: {
|
|
|
1429
1431
|
translation_fields: {
|
|
1430
1432
|
content_optimization_translate_product_description_html: {
|
|
1431
1433
|
product_description_html: {
|
|
1432
|
-
name: "product_description_html";
|
|
1434
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1433
1435
|
enabled: boolean;
|
|
1434
1436
|
};
|
|
1435
1437
|
product_name: {
|
|
1436
|
-
name: "product_name";
|
|
1438
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1437
1439
|
enabled: boolean;
|
|
1438
1440
|
};
|
|
1439
1441
|
};
|
|
1440
1442
|
content_optimization_translate_seo?: {
|
|
1441
1443
|
seo_title: {
|
|
1442
|
-
name: "seo_title";
|
|
1444
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1443
1445
|
enabled: boolean;
|
|
1444
1446
|
};
|
|
1445
1447
|
seo_description: {
|
|
1446
|
-
name: "seo_description";
|
|
1448
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1447
1449
|
enabled: boolean;
|
|
1448
1450
|
};
|
|
1449
1451
|
} | undefined;
|
|
@@ -1461,21 +1463,21 @@ export declare const SettingsSchemas: {
|
|
|
1461
1463
|
translation_fields: {
|
|
1462
1464
|
content_optimization_translate_product_description_html: {
|
|
1463
1465
|
product_description_html: {
|
|
1464
|
-
name: "product_description_html";
|
|
1466
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1465
1467
|
enabled: boolean;
|
|
1466
1468
|
};
|
|
1467
1469
|
product_name: {
|
|
1468
|
-
name: "product_name";
|
|
1470
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1469
1471
|
enabled: boolean;
|
|
1470
1472
|
};
|
|
1471
1473
|
};
|
|
1472
1474
|
content_optimization_translate_seo?: {
|
|
1473
1475
|
seo_title: {
|
|
1474
|
-
name: "seo_title";
|
|
1476
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1475
1477
|
enabled: boolean;
|
|
1476
1478
|
};
|
|
1477
1479
|
seo_description: {
|
|
1478
|
-
name: "seo_description";
|
|
1480
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1479
1481
|
enabled: boolean;
|
|
1480
1482
|
};
|
|
1481
1483
|
} | undefined;
|
|
@@ -1489,21 +1491,21 @@ export declare const SettingsSchemas: {
|
|
|
1489
1491
|
translation_fields: {
|
|
1490
1492
|
content_optimization_translate_product_description_html: {
|
|
1491
1493
|
product_description_html: {
|
|
1492
|
-
name: "product_description_html";
|
|
1494
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1493
1495
|
enabled: boolean;
|
|
1494
1496
|
};
|
|
1495
1497
|
product_name: {
|
|
1496
|
-
name: "product_name";
|
|
1498
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1497
1499
|
enabled: boolean;
|
|
1498
1500
|
};
|
|
1499
1501
|
};
|
|
1500
1502
|
content_optimization_translate_seo?: {
|
|
1501
1503
|
seo_title: {
|
|
1502
|
-
name: "seo_title";
|
|
1504
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1503
1505
|
enabled: boolean;
|
|
1504
1506
|
};
|
|
1505
1507
|
seo_description: {
|
|
1506
|
-
name: "seo_description";
|
|
1508
|
+
name: "product_description_html" | "product_name" | "seo_title" | "seo_description";
|
|
1507
1509
|
enabled: boolean;
|
|
1508
1510
|
};
|
|
1509
1511
|
} | undefined;
|
|
@@ -2137,4 +2139,5 @@ export declare const SettingsSchemas: {
|
|
|
2137
2139
|
updatedAt?: string | undefined;
|
|
2138
2140
|
} | undefined>;
|
|
2139
2141
|
};
|
|
2142
|
+
export {};
|
|
2140
2143
|
//# sourceMappingURL=accountSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountSettings.d.ts","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAA6B,MAAM,QAAQ,CAAC;AAIzE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC5E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CA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from 'zod';
|
|
2
2
|
import { AccountSettingsIdEnum, BaseSettingsResponseSchema } from './base';
|
|
3
|
-
import { supportedLanguageCodes } from '../../constants
|
|
4
|
-
import { SupportedCurrencySchema } from '../../constants
|
|
3
|
+
import { supportedLanguageCodes } from '../../constants';
|
|
4
|
+
import { SupportedCurrencySchema } from '../../constants';
|
|
5
5
|
const InventoryOptimizationValueSchema = z.object({
|
|
6
6
|
lead_time_days: z.number(),
|
|
7
7
|
stockout_cost_ratio: z.number(),
|
|
@@ -40,6 +40,7 @@ export const ContentOptimizationRefinementResponseSchema = BaseSettingsResponseS
|
|
|
40
40
|
}).transform((data) => {
|
|
41
41
|
return data.value;
|
|
42
42
|
});
|
|
43
|
+
const resourceKeyTranslation = z.enum(['product_name', 'product_description_html', 'seo_title', 'seo_description']);
|
|
43
44
|
const ContentOptimizationTranslationValueSchema = z.object({
|
|
44
45
|
recommendation_severity_weight: z.number(),
|
|
45
46
|
use_feedback_based_instructions: z.boolean(),
|
|
@@ -53,22 +54,22 @@ const ContentOptimizationTranslationValueSchema = z.object({
|
|
|
53
54
|
translation_fields: z.object({
|
|
54
55
|
content_optimization_translate_product_description_html: z.object({
|
|
55
56
|
product_description_html: z.object({
|
|
56
|
-
name:
|
|
57
|
+
name: resourceKeyTranslation,
|
|
57
58
|
enabled: z.boolean(),
|
|
58
59
|
}),
|
|
59
60
|
product_name: z.object({
|
|
60
|
-
name:
|
|
61
|
+
name: resourceKeyTranslation,
|
|
61
62
|
enabled: z.boolean(),
|
|
62
63
|
}),
|
|
63
64
|
}),
|
|
64
65
|
content_optimization_translate_seo: z
|
|
65
66
|
.object({
|
|
66
67
|
seo_title: z.object({
|
|
67
|
-
name:
|
|
68
|
+
name: resourceKeyTranslation,
|
|
68
69
|
enabled: z.boolean(),
|
|
69
70
|
}),
|
|
70
71
|
seo_description: z.object({
|
|
71
|
-
name:
|
|
72
|
+
name: resourceKeyTranslation,
|
|
72
73
|
enabled: z.boolean(),
|
|
73
74
|
}),
|
|
74
75
|
}) // TODO when SEO is enabled in the platform remove the .optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountSettings.js","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"accountSettings.js","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAiCxD,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,0BAA0B,CAAC,MAAM,CAAC;IACnF,KAAK,EAAE,gCAAgC;CACxC,CAAC,CAAC,SAAS,CA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