@omni-graph/omni-model 0.2.39 → 0.2.41

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 (45) hide show
  1. package/dist/constants/SupportedCurrency.d.ts +4 -0
  2. package/dist/constants/SupportedCurrency.d.ts.map +1 -0
  3. package/dist/constants/SupportedCurrency.js +43 -0
  4. package/dist/constants/SupportedCurrency.js.map +1 -0
  5. package/dist/constants/index.d.ts +3 -0
  6. package/dist/constants/index.d.ts.map +1 -0
  7. package/dist/constants/index.js +3 -0
  8. package/dist/constants/index.js.map +1 -0
  9. package/dist/constants/languageCodeMapper.d.ts +10 -0
  10. package/dist/constants/languageCodeMapper.d.ts.map +1 -0
  11. package/dist/constants/languageCodeMapper.js +214 -0
  12. package/dist/constants/languageCodeMapper.js.map +1 -0
  13. package/dist/functions/billing/billingFunctions.d.ts +2 -2
  14. package/dist/functions/billing/billingFunctions.d.ts.map +1 -1
  15. package/dist/functions/billing/billingFunctions.js +9 -9
  16. package/dist/functions/billing/billingFunctions.js.map +1 -1
  17. package/dist/functions/index.d.ts.map +1 -1
  18. package/dist/functions/index.js.map +1 -1
  19. package/dist/index.d.ts +3 -1
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +3 -1
  22. package/dist/index.js.map +1 -1
  23. package/dist/types/billing/bilingTypes.d.ts.map +1 -1
  24. package/dist/zod/account-settings/accountSettings.d.ts +2114 -0
  25. package/dist/zod/account-settings/accountSettings.d.ts.map +1 -0
  26. package/dist/zod/account-settings/accountSettings.js +167 -0
  27. package/dist/zod/account-settings/accountSettings.js.map +1 -0
  28. package/dist/zod/account-settings/base.d.ts +39 -0
  29. package/dist/zod/account-settings/base.d.ts.map +1 -0
  30. package/dist/zod/account-settings/base.js +32 -0
  31. package/dist/zod/account-settings/base.js.map +1 -0
  32. package/dist/zod/account-settings/index.d.ts +4 -0
  33. package/dist/zod/account-settings/index.d.ts.map +1 -0
  34. package/dist/zod/account-settings/index.js +4 -0
  35. package/dist/zod/account-settings/index.js.map +1 -0
  36. package/dist/zod/index.d.ts +3 -1
  37. package/dist/zod/index.d.ts.map +1 -1
  38. package/dist/zod/index.js +3 -1
  39. package/dist/zod/index.js.map +1 -1
  40. package/dist/zod/recommendations/base.d.ts +4 -3
  41. package/dist/zod/recommendations/base.d.ts.map +1 -1
  42. package/dist/zod/recommendations/contentOptimization/base.d.ts +34 -34
  43. package/dist/zod/recommendations/contentOptimization/base.d.ts.map +1 -1
  44. package/dist/zod/recommendations/contentOptimization/translation.d.ts +29 -29
  45. package/package.json +10 -7
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  export declare const ContentOptimizationMetaDataBaseSchema: z.ZodObject<{
3
3
  chat_history: z.ZodString;
4
4
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
5
- is_enabled?: boolean | undefined;
6
5
  product_name?: string | undefined;
6
+ is_enabled?: boolean | undefined;
7
7
  vendor?: string | undefined;
8
8
  product_tags?: string[] | undefined;
9
9
  product_attributes?: Record<string, string | null> | undefined;
@@ -20,10 +20,11 @@ export declare const ContentOptimizationMetaDataBaseSchema: z.ZodObject<{
20
20
  product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  chat_history: string;
23
+ lead_time_days?: number | undefined;
23
24
  is_enabled?: boolean | undefined;
24
25
  product_information?: {
25
- is_enabled?: boolean | undefined;
26
26
  product_name?: string | undefined;
27
+ is_enabled?: boolean | undefined;
27
28
  vendor?: string | undefined;
28
29
  product_tags?: string[] | undefined;
29
30
  product_attributes?: Record<string, string | null> | undefined;
@@ -34,11 +35,11 @@ export declare const ContentOptimizationMetaDataBaseSchema: z.ZodObject<{
34
35
  recommendation_created_at?: string | undefined;
35
36
  product_url?: string | undefined;
36
37
  related_categories?: string[] | undefined;
37
- lead_time_days?: number | undefined;
38
38
  online_summary_with_citations?: string | undefined;
39
39
  product_names?: string[] | undefined;
40
40
  }, {
41
41
  chat_history: string;
42
+ lead_time_days?: number | undefined;
42
43
  is_enabled?: boolean | undefined;
43
44
  product_information?: string | undefined;
44
45
  llm_model?: string | undefined;
@@ -46,7 +47,6 @@ export declare const ContentOptimizationMetaDataBaseSchema: z.ZodObject<{
46
47
  recommendation_created_at?: string | undefined;
47
48
  product_url?: string | undefined;
48
49
  related_categories?: string[] | undefined;
49
- lead_time_days?: number | undefined;
50
50
  online_summary_with_citations?: string | undefined;
51
51
  product_names?: string[] | undefined;
52
52
  }>;
@@ -123,8 +123,8 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
123
123
  metadata: z.ZodObject<{
124
124
  chat_history: z.ZodString;
125
125
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
126
- is_enabled?: boolean | undefined;
127
126
  product_name?: string | undefined;
127
+ is_enabled?: boolean | undefined;
128
128
  vendor?: string | undefined;
129
129
  product_tags?: string[] | undefined;
130
130
  product_attributes?: Record<string, string | null> | undefined;
@@ -141,10 +141,11 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
141
141
  product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
142
142
  }, "strip", z.ZodTypeAny, {
143
143
  chat_history: string;
144
+ lead_time_days?: number | undefined;
144
145
  is_enabled?: boolean | undefined;
145
146
  product_information?: {
146
- is_enabled?: boolean | undefined;
147
147
  product_name?: string | undefined;
148
+ is_enabled?: boolean | undefined;
148
149
  vendor?: string | undefined;
149
150
  product_tags?: string[] | undefined;
150
151
  product_attributes?: Record<string, string | null> | undefined;
@@ -155,11 +156,11 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
155
156
  recommendation_created_at?: string | undefined;
156
157
  product_url?: string | undefined;
157
158
  related_categories?: string[] | undefined;
158
- lead_time_days?: number | undefined;
159
159
  online_summary_with_citations?: string | undefined;
160
160
  product_names?: string[] | undefined;
161
161
  }, {
162
162
  chat_history: string;
163
+ lead_time_days?: number | undefined;
163
164
  is_enabled?: boolean | undefined;
164
165
  product_information?: string | undefined;
165
166
  llm_model?: string | undefined;
@@ -167,7 +168,6 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
167
168
  recommendation_created_at?: string | undefined;
168
169
  product_url?: string | undefined;
169
170
  related_categories?: string[] | undefined;
170
- lead_time_days?: number | undefined;
171
171
  online_summary_with_citations?: string | undefined;
172
172
  product_names?: string[] | undefined;
173
173
  }>;
@@ -221,6 +221,7 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
221
221
  }>;
222
222
  }>, "strip", z.ZodTypeAny, {
223
223
  accountId: string;
224
+ updatedAt: Date;
224
225
  analyticsId: string;
225
226
  objectClass: "UNKNOWN" | "product" | "sku";
226
227
  objectId: string;
@@ -233,10 +234,11 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
233
234
  };
234
235
  metadata: {
235
236
  chat_history: string;
237
+ lead_time_days?: number | undefined;
236
238
  is_enabled?: boolean | undefined;
237
239
  product_information?: {
238
- is_enabled?: boolean | undefined;
239
240
  product_name?: string | undefined;
241
+ is_enabled?: boolean | undefined;
240
242
  vendor?: string | undefined;
241
243
  product_tags?: string[] | undefined;
242
244
  product_attributes?: Record<string, string | null> | undefined;
@@ -247,15 +249,13 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
247
249
  recommendation_created_at?: string | undefined;
248
250
  product_url?: string | undefined;
249
251
  related_categories?: string[] | undefined;
250
- lead_time_days?: number | undefined;
251
252
  online_summary_with_citations?: string | undefined;
252
253
  product_names?: string[] | undefined;
253
254
  };
254
255
  summary: string;
255
256
  cardTitle: string;
256
257
  lookup: Record<string, string>;
257
- updatedAt: Date;
258
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
258
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
259
259
  severity: number;
260
260
  algorithmVersion: string;
261
261
  cardPictureUrl?: string | undefined;
@@ -273,6 +273,7 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
273
273
  } | undefined;
274
274
  }, {
275
275
  accountId: string;
276
+ updatedAt: Date;
276
277
  analyticsId: string;
277
278
  objectId: string;
278
279
  category: string;
@@ -284,6 +285,7 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
284
285
  };
285
286
  metadata: {
286
287
  chat_history: string;
288
+ lead_time_days?: number | undefined;
287
289
  is_enabled?: boolean | undefined;
288
290
  product_information?: string | undefined;
289
291
  llm_model?: string | undefined;
@@ -291,14 +293,12 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
291
293
  recommendation_created_at?: string | undefined;
292
294
  product_url?: string | undefined;
293
295
  related_categories?: string[] | undefined;
294
- lead_time_days?: number | undefined;
295
296
  online_summary_with_citations?: string | undefined;
296
297
  product_names?: string[] | undefined;
297
298
  };
298
299
  summary: string;
299
300
  cardTitle: string;
300
301
  lookup: Record<string, string>;
301
- updatedAt: Date;
302
302
  severity: number;
303
303
  algorithmVersion: string;
304
304
  objectClass?: unknown;
@@ -321,6 +321,7 @@ type ContentOptimizationRecommendation = z.infer<typeof ContentOptimizationRecom
321
321
  export declare const computeOutputData: (data: ContentOptimizationRecommendation) => {
322
322
  outputData: string;
323
323
  accountId: string;
324
+ updatedAt: Date;
324
325
  analyticsId: string;
325
326
  objectClass: "UNKNOWN" | "product" | "sku";
326
327
  objectId: string;
@@ -333,10 +334,11 @@ export declare const computeOutputData: (data: ContentOptimizationRecommendation
333
334
  };
334
335
  metadata: {
335
336
  chat_history: string;
337
+ lead_time_days?: number | undefined;
336
338
  is_enabled?: boolean | undefined;
337
339
  product_information?: {
338
- is_enabled?: boolean | undefined;
339
340
  product_name?: string | undefined;
341
+ is_enabled?: boolean | undefined;
340
342
  vendor?: string | undefined;
341
343
  product_tags?: string[] | undefined;
342
344
  product_attributes?: Record<string, string | null> | undefined;
@@ -347,15 +349,13 @@ export declare const computeOutputData: (data: ContentOptimizationRecommendation
347
349
  recommendation_created_at?: string | undefined;
348
350
  product_url?: string | undefined;
349
351
  related_categories?: string[] | undefined;
350
- lead_time_days?: number | undefined;
351
352
  online_summary_with_citations?: string | undefined;
352
353
  product_names?: string[] | undefined;
353
354
  };
354
355
  summary: string;
355
356
  cardTitle: string;
356
357
  lookup: Record<string, string>;
357
- updatedAt: Date;
358
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
358
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
359
359
  severity: number;
360
360
  algorithmVersion: string;
361
361
  cardPictureUrl?: string | undefined;
@@ -397,8 +397,8 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
397
397
  metadata: z.ZodObject<{
398
398
  chat_history: z.ZodString;
399
399
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
400
- is_enabled?: boolean | undefined;
401
400
  product_name?: string | undefined;
401
+ is_enabled?: boolean | undefined;
402
402
  vendor?: string | undefined;
403
403
  product_tags?: string[] | undefined;
404
404
  product_attributes?: Record<string, string | null> | undefined;
@@ -415,10 +415,11 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
415
415
  product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
416
416
  }, "strip", z.ZodTypeAny, {
417
417
  chat_history: string;
418
+ lead_time_days?: number | undefined;
418
419
  is_enabled?: boolean | undefined;
419
420
  product_information?: {
420
- is_enabled?: boolean | undefined;
421
421
  product_name?: string | undefined;
422
+ is_enabled?: boolean | undefined;
422
423
  vendor?: string | undefined;
423
424
  product_tags?: string[] | undefined;
424
425
  product_attributes?: Record<string, string | null> | undefined;
@@ -429,11 +430,11 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
429
430
  recommendation_created_at?: string | undefined;
430
431
  product_url?: string | undefined;
431
432
  related_categories?: string[] | undefined;
432
- lead_time_days?: number | undefined;
433
433
  online_summary_with_citations?: string | undefined;
434
434
  product_names?: string[] | undefined;
435
435
  }, {
436
436
  chat_history: string;
437
+ lead_time_days?: number | undefined;
437
438
  is_enabled?: boolean | undefined;
438
439
  product_information?: string | undefined;
439
440
  llm_model?: string | undefined;
@@ -441,7 +442,6 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
441
442
  recommendation_created_at?: string | undefined;
442
443
  product_url?: string | undefined;
443
444
  related_categories?: string[] | undefined;
444
- lead_time_days?: number | undefined;
445
445
  online_summary_with_citations?: string | undefined;
446
446
  product_names?: string[] | undefined;
447
447
  }>;
@@ -495,6 +495,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
495
495
  }>;
496
496
  }>, "strip", z.ZodTypeAny, {
497
497
  accountId: string;
498
+ updatedAt: Date;
498
499
  analyticsId: string;
499
500
  objectClass: "UNKNOWN" | "product" | "sku";
500
501
  objectId: string;
@@ -507,10 +508,11 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
507
508
  };
508
509
  metadata: {
509
510
  chat_history: string;
511
+ lead_time_days?: number | undefined;
510
512
  is_enabled?: boolean | undefined;
511
513
  product_information?: {
512
- is_enabled?: boolean | undefined;
513
514
  product_name?: string | undefined;
515
+ is_enabled?: boolean | undefined;
514
516
  vendor?: string | undefined;
515
517
  product_tags?: string[] | undefined;
516
518
  product_attributes?: Record<string, string | null> | undefined;
@@ -521,15 +523,13 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
521
523
  recommendation_created_at?: string | undefined;
522
524
  product_url?: string | undefined;
523
525
  related_categories?: string[] | undefined;
524
- lead_time_days?: number | undefined;
525
526
  online_summary_with_citations?: string | undefined;
526
527
  product_names?: string[] | undefined;
527
528
  };
528
529
  summary: string;
529
530
  cardTitle: string;
530
531
  lookup: Record<string, string>;
531
- updatedAt: Date;
532
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
532
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
533
533
  severity: number;
534
534
  algorithmVersion: string;
535
535
  cardPictureUrl?: string | undefined;
@@ -547,6 +547,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
547
547
  } | undefined;
548
548
  }, {
549
549
  accountId: string;
550
+ updatedAt: Date;
550
551
  analyticsId: string;
551
552
  objectId: string;
552
553
  category: string;
@@ -558,6 +559,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
558
559
  };
559
560
  metadata: {
560
561
  chat_history: string;
562
+ lead_time_days?: number | undefined;
561
563
  is_enabled?: boolean | undefined;
562
564
  product_information?: string | undefined;
563
565
  llm_model?: string | undefined;
@@ -565,14 +567,12 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
565
567
  recommendation_created_at?: string | undefined;
566
568
  product_url?: string | undefined;
567
569
  related_categories?: string[] | undefined;
568
- lead_time_days?: number | undefined;
569
570
  online_summary_with_citations?: string | undefined;
570
571
  product_names?: string[] | undefined;
571
572
  };
572
573
  summary: string;
573
574
  cardTitle: string;
574
575
  lookup: Record<string, string>;
575
- updatedAt: Date;
576
576
  severity: number;
577
577
  algorithmVersion: string;
578
578
  objectClass?: unknown;
@@ -593,6 +593,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
593
593
  }>, {
594
594
  outputData: string;
595
595
  accountId: string;
596
+ updatedAt: Date;
596
597
  analyticsId: string;
597
598
  objectClass: "UNKNOWN" | "product" | "sku";
598
599
  objectId: string;
@@ -605,10 +606,11 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
605
606
  };
606
607
  metadata: {
607
608
  chat_history: string;
609
+ lead_time_days?: number | undefined;
608
610
  is_enabled?: boolean | undefined;
609
611
  product_information?: {
610
- is_enabled?: boolean | undefined;
611
612
  product_name?: string | undefined;
613
+ is_enabled?: boolean | undefined;
612
614
  vendor?: string | undefined;
613
615
  product_tags?: string[] | undefined;
614
616
  product_attributes?: Record<string, string | null> | undefined;
@@ -619,15 +621,13 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
619
621
  recommendation_created_at?: string | undefined;
620
622
  product_url?: string | undefined;
621
623
  related_categories?: string[] | undefined;
622
- lead_time_days?: number | undefined;
623
624
  online_summary_with_citations?: string | undefined;
624
625
  product_names?: string[] | undefined;
625
626
  };
626
627
  summary: string;
627
628
  cardTitle: string;
628
629
  lookup: Record<string, string>;
629
- updatedAt: Date;
630
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
630
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
631
631
  severity: number;
632
632
  algorithmVersion: string;
633
633
  cardPictureUrl?: string | undefined;
@@ -645,6 +645,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
645
645
  } | undefined;
646
646
  }, {
647
647
  accountId: string;
648
+ updatedAt: Date;
648
649
  analyticsId: string;
649
650
  objectId: string;
650
651
  category: string;
@@ -656,6 +657,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
656
657
  };
657
658
  metadata: {
658
659
  chat_history: string;
660
+ lead_time_days?: number | undefined;
659
661
  is_enabled?: boolean | undefined;
660
662
  product_information?: string | undefined;
661
663
  llm_model?: string | undefined;
@@ -663,14 +665,12 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
663
665
  recommendation_created_at?: string | undefined;
664
666
  product_url?: string | undefined;
665
667
  related_categories?: string[] | undefined;
666
- lead_time_days?: number | undefined;
667
668
  online_summary_with_citations?: string | undefined;
668
669
  product_names?: string[] | undefined;
669
670
  };
670
671
  summary: string;
671
672
  cardTitle: string;
672
673
  lookup: Record<string, string>;
673
- updatedAt: Date;
674
674
  severity: number;
675
675
  algorithmVersion: string;
676
676
  objectClass?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/contentOptimization/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAatB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBhD,CAAC;AAEH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;EAK1D,CAAC;AAEH,eAAO,MAAM,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhE,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvD,CAAC;AACF,KAAK,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAErG,eAAO,MAAM,iBAAiB,SAAU,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvE,CAAC;AAGH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2E,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/contentOptimization/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAatB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBhD,CAAC;AAEH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;EAK1D,CAAC;AAEH,eAAO,MAAM,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEhE,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMvD,CAAC;AACF,KAAK,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAErG,eAAO,MAAM,iBAAiB,GAAI,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvE,CAAC;AAGH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2E,CAAC"}
@@ -17,15 +17,15 @@ export declare const TranslationRecommendationData: z.ZodObject<z.objectUtil.ext
17
17
  old_translation: string;
18
18
  product_feedback: string | null;
19
19
  task_feedback: string | null;
20
- tone_of_voice?: string | null | undefined;
21
20
  company_description?: string | null | undefined;
21
+ tone_of_voice?: string | null | undefined;
22
22
  }, {
23
23
  original_language_description: string;
24
24
  old_translation: string;
25
25
  product_feedback: string | null;
26
26
  task_feedback: string | null;
27
- tone_of_voice?: string | null | undefined;
28
27
  company_description?: string | null | undefined;
28
+ tone_of_voice?: string | null | undefined;
29
29
  }>>;
30
30
  }>, "strip", z.ZodTypeAny, {
31
31
  output_data: string;
@@ -37,8 +37,8 @@ export declare const TranslationRecommendationData: z.ZodObject<z.objectUtil.ext
37
37
  old_translation: string;
38
38
  product_feedback: string | null;
39
39
  task_feedback: string | null;
40
- tone_of_voice?: string | null | undefined;
41
40
  company_description?: string | null | undefined;
41
+ tone_of_voice?: string | null | undefined;
42
42
  };
43
43
  }, {
44
44
  output_data: string;
@@ -72,8 +72,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
72
72
  metadata: z.ZodObject<{
73
73
  chat_history: z.ZodString;
74
74
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
75
- is_enabled?: boolean | undefined;
76
75
  product_name?: string | undefined;
76
+ is_enabled?: boolean | undefined;
77
77
  vendor?: string | undefined;
78
78
  product_tags?: string[] | undefined;
79
79
  product_attributes?: Record<string, string | null> | undefined;
@@ -90,10 +90,11 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
90
90
  product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
91
91
  }, "strip", z.ZodTypeAny, {
92
92
  chat_history: string;
93
+ lead_time_days?: number | undefined;
93
94
  is_enabled?: boolean | undefined;
94
95
  product_information?: {
95
- is_enabled?: boolean | undefined;
96
96
  product_name?: string | undefined;
97
+ is_enabled?: boolean | undefined;
97
98
  vendor?: string | undefined;
98
99
  product_tags?: string[] | undefined;
99
100
  product_attributes?: Record<string, string | null> | undefined;
@@ -104,11 +105,11 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
104
105
  recommendation_created_at?: string | undefined;
105
106
  product_url?: string | undefined;
106
107
  related_categories?: string[] | undefined;
107
- lead_time_days?: number | undefined;
108
108
  online_summary_with_citations?: string | undefined;
109
109
  product_names?: string[] | undefined;
110
110
  }, {
111
111
  chat_history: string;
112
+ lead_time_days?: number | undefined;
112
113
  is_enabled?: boolean | undefined;
113
114
  product_information?: string | undefined;
114
115
  llm_model?: string | undefined;
@@ -116,7 +117,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
116
117
  recommendation_created_at?: string | undefined;
117
118
  product_url?: string | undefined;
118
119
  related_categories?: string[] | undefined;
119
- lead_time_days?: number | undefined;
120
120
  online_summary_with_citations?: string | undefined;
121
121
  product_names?: string[] | undefined;
122
122
  }>;
@@ -172,8 +172,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
172
172
  metadata: z.ZodObject<z.objectUtil.extendShape<{
173
173
  chat_history: z.ZodString;
174
174
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
175
- is_enabled?: boolean | undefined;
176
175
  product_name?: string | undefined;
176
+ is_enabled?: boolean | undefined;
177
177
  vendor?: string | undefined;
178
178
  product_tags?: string[] | undefined;
179
179
  product_attributes?: Record<string, string | null> | undefined;
@@ -194,11 +194,12 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
194
194
  }>, "strip", z.ZodTypeAny, {
195
195
  chat_history: string;
196
196
  translatable_content_digest: string;
197
- resource_key: "UNKNOWN" | "product_name" | "product_description_html";
197
+ resource_key: "UNKNOWN" | "product_description_html" | "product_name";
198
+ lead_time_days?: number | undefined;
198
199
  is_enabled?: boolean | undefined;
199
200
  product_information?: {
200
- is_enabled?: boolean | undefined;
201
201
  product_name?: string | undefined;
202
+ is_enabled?: boolean | undefined;
202
203
  vendor?: string | undefined;
203
204
  product_tags?: string[] | undefined;
204
205
  product_attributes?: Record<string, string | null> | undefined;
@@ -209,12 +210,12 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
209
210
  recommendation_created_at?: string | undefined;
210
211
  product_url?: string | undefined;
211
212
  related_categories?: string[] | undefined;
212
- lead_time_days?: number | undefined;
213
213
  online_summary_with_citations?: string | undefined;
214
214
  product_names?: string[] | undefined;
215
215
  }, {
216
216
  chat_history: string;
217
217
  translatable_content_digest: string;
218
+ lead_time_days?: number | undefined;
218
219
  is_enabled?: boolean | undefined;
219
220
  product_information?: string | undefined;
220
221
  llm_model?: string | undefined;
@@ -222,7 +223,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
222
223
  recommendation_created_at?: string | undefined;
223
224
  product_url?: string | undefined;
224
225
  related_categories?: string[] | undefined;
225
- lead_time_days?: number | undefined;
226
226
  online_summary_with_citations?: string | undefined;
227
227
  product_names?: string[] | undefined;
228
228
  resource_key?: unknown;
@@ -245,15 +245,15 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
245
245
  old_translation: string;
246
246
  product_feedback: string | null;
247
247
  task_feedback: string | null;
248
- tone_of_voice?: string | null | undefined;
249
248
  company_description?: string | null | undefined;
249
+ tone_of_voice?: string | null | undefined;
250
250
  }, {
251
251
  original_language_description: string;
252
252
  old_translation: string;
253
253
  product_feedback: string | null;
254
254
  task_feedback: string | null;
255
- tone_of_voice?: string | null | undefined;
256
255
  company_description?: string | null | undefined;
256
+ tone_of_voice?: string | null | undefined;
257
257
  }>>;
258
258
  }>, "strip", z.ZodTypeAny, {
259
259
  output_data: string;
@@ -265,8 +265,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
265
265
  old_translation: string;
266
266
  product_feedback: string | null;
267
267
  task_feedback: string | null;
268
- tone_of_voice?: string | null | undefined;
269
268
  company_description?: string | null | undefined;
269
+ tone_of_voice?: string | null | undefined;
270
270
  };
271
271
  }, {
272
272
  output_data: string;
@@ -277,6 +277,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
277
277
  }>;
278
278
  }>, "strip", z.ZodTypeAny, {
279
279
  accountId: string;
280
+ updatedAt: Date;
280
281
  analyticsId: string;
281
282
  objectClass: "UNKNOWN" | "product" | "sku";
282
283
  objectId: string;
@@ -291,18 +292,19 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
291
292
  old_translation: string;
292
293
  product_feedback: string | null;
293
294
  task_feedback: string | null;
294
- tone_of_voice?: string | null | undefined;
295
295
  company_description?: string | null | undefined;
296
+ tone_of_voice?: string | null | undefined;
296
297
  };
297
298
  };
298
299
  metadata: {
299
300
  chat_history: string;
300
301
  translatable_content_digest: string;
301
- resource_key: "UNKNOWN" | "product_name" | "product_description_html";
302
+ resource_key: "UNKNOWN" | "product_description_html" | "product_name";
303
+ lead_time_days?: number | undefined;
302
304
  is_enabled?: boolean | undefined;
303
305
  product_information?: {
304
- is_enabled?: boolean | undefined;
305
306
  product_name?: string | undefined;
307
+ is_enabled?: boolean | undefined;
306
308
  vendor?: string | undefined;
307
309
  product_tags?: string[] | undefined;
308
310
  product_attributes?: Record<string, string | null> | undefined;
@@ -313,15 +315,13 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
313
315
  recommendation_created_at?: string | undefined;
314
316
  product_url?: string | undefined;
315
317
  related_categories?: string[] | undefined;
316
- lead_time_days?: number | undefined;
317
318
  online_summary_with_citations?: string | undefined;
318
319
  product_names?: string[] | undefined;
319
320
  };
320
321
  summary: string;
321
322
  cardTitle: string;
322
323
  lookup: Record<string, string>;
323
- updatedAt: Date;
324
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
324
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
325
325
  severity: number;
326
326
  algorithmVersion: string;
327
327
  cardPictureUrl?: string | undefined;
@@ -339,6 +339,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
339
339
  } | undefined;
340
340
  }, {
341
341
  accountId: string;
342
+ updatedAt: Date;
342
343
  analyticsId: string;
343
344
  objectId: string;
344
345
  category: string;
@@ -352,6 +353,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
352
353
  metadata: {
353
354
  chat_history: string;
354
355
  translatable_content_digest: string;
356
+ lead_time_days?: number | undefined;
355
357
  is_enabled?: boolean | undefined;
356
358
  product_information?: string | undefined;
357
359
  llm_model?: string | undefined;
@@ -359,7 +361,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
359
361
  recommendation_created_at?: string | undefined;
360
362
  product_url?: string | undefined;
361
363
  related_categories?: string[] | undefined;
362
- lead_time_days?: number | undefined;
363
364
  online_summary_with_citations?: string | undefined;
364
365
  product_names?: string[] | undefined;
365
366
  resource_key?: unknown;
@@ -367,7 +368,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
367
368
  summary: string;
368
369
  cardTitle: string;
369
370
  lookup: Record<string, string>;
370
- updatedAt: Date;
371
371
  severity: number;
372
372
  algorithmVersion: string;
373
373
  objectClass?: unknown;
@@ -388,6 +388,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
388
388
  }>, {
389
389
  outputData: string;
390
390
  accountId: string;
391
+ updatedAt: Date;
391
392
  analyticsId: string;
392
393
  objectClass: "UNKNOWN" | "product" | "sku";
393
394
  objectId: string;
@@ -400,10 +401,11 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
400
401
  };
401
402
  metadata: {
402
403
  chat_history: string;
404
+ lead_time_days?: number | undefined;
403
405
  is_enabled?: boolean | undefined;
404
406
  product_information?: {
405
- is_enabled?: boolean | undefined;
406
407
  product_name?: string | undefined;
408
+ is_enabled?: boolean | undefined;
407
409
  vendor?: string | undefined;
408
410
  product_tags?: string[] | undefined;
409
411
  product_attributes?: Record<string, string | null> | undefined;
@@ -414,15 +416,13 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
414
416
  recommendation_created_at?: string | undefined;
415
417
  product_url?: string | undefined;
416
418
  related_categories?: string[] | undefined;
417
- lead_time_days?: number | undefined;
418
419
  online_summary_with_citations?: string | undefined;
419
420
  product_names?: string[] | undefined;
420
421
  };
421
422
  summary: string;
422
423
  cardTitle: string;
423
424
  lookup: Record<string, string>;
424
- updatedAt: Date;
425
- state: "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "UNKNOWN" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
425
+ state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
426
426
  severity: number;
427
427
  algorithmVersion: string;
428
428
  cardPictureUrl?: string | undefined;
@@ -440,6 +440,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
440
440
  } | undefined;
441
441
  }, {
442
442
  accountId: string;
443
+ updatedAt: Date;
443
444
  analyticsId: string;
444
445
  objectId: string;
445
446
  category: string;
@@ -453,6 +454,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
453
454
  metadata: {
454
455
  chat_history: string;
455
456
  translatable_content_digest: string;
457
+ lead_time_days?: number | undefined;
456
458
  is_enabled?: boolean | undefined;
457
459
  product_information?: string | undefined;
458
460
  llm_model?: string | undefined;
@@ -460,7 +462,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
460
462
  recommendation_created_at?: string | undefined;
461
463
  product_url?: string | undefined;
462
464
  related_categories?: string[] | undefined;
463
- lead_time_days?: number | undefined;
464
465
  online_summary_with_citations?: string | undefined;
465
466
  product_names?: string[] | undefined;
466
467
  resource_key?: unknown;
@@ -468,7 +469,6 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
468
469
  summary: string;
469
470
  cardTitle: string;
470
471
  lookup: Record<string, string>;
471
- updatedAt: Date;
472
472
  severity: number;
473
473
  algorithmVersion: string;
474
474
  objectClass?: unknown;