@omni-graph/omni-model 0.2.59 → 0.2.60

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.
@@ -28,12 +28,12 @@ export type SettingsIdToResponseMap = {
28
28
  [AccountSettingsIdEnum.CONTENT_OPTIMIZATION_WRITE_SEO_PLATFORM]: ContentOptimizationWriteSEOPlatformResponse;
29
29
  [AccountSettingsIdEnum.WIZARD_PLATFORM]: WizardPlatformResponse;
30
30
  };
31
- export declare const InventoryOptimizationResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
31
+ export declare const InventoryOptimizationResponseSchema: z.ZodEffects<z.ZodObject<{
32
32
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
33
33
  isEnabled: z.ZodOptional<z.ZodBoolean>;
34
34
  accountId: z.ZodString;
35
35
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
36
- }, {
36
+ } & {
37
37
  value: z.ZodObject<{
38
38
  lead_time_days: z.ZodNumber;
39
39
  stockout_cost_ratio: z.ZodNumber;
@@ -65,7 +65,7 @@ export declare const InventoryOptimizationResponseSchema: z.ZodEffects<z.ZodObje
65
65
  maximum_periods: number;
66
66
  discount_rate: number;
67
67
  }>;
68
- }>, "strip", z.ZodTypeAny, {
68
+ }, "strip", z.ZodTypeAny, {
69
69
  id: string;
70
70
  value: {
71
71
  lead_time_days: number;
@@ -124,12 +124,12 @@ export declare const InventoryOptimizationResponseSchema: z.ZodEffects<z.ZodObje
124
124
  isEnabled?: boolean | undefined;
125
125
  updatedAt?: string | undefined;
126
126
  }>;
127
- export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
127
+ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject<{
128
128
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
129
129
  isEnabled: z.ZodOptional<z.ZodBoolean>;
130
130
  accountId: z.ZodString;
131
131
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
132
- }, {
132
+ } & {
133
133
  value: z.ZodObject<{
134
134
  tone_of_voice: z.ZodNullable<z.ZodString>;
135
135
  use_online_summary: z.ZodBoolean;
@@ -140,7 +140,7 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
140
140
  tone_of_voice: string | null;
141
141
  use_online_summary: boolean;
142
142
  }>;
143
- }>, "strip", z.ZodTypeAny, {
143
+ }, "strip", z.ZodTypeAny, {
144
144
  id: string;
145
145
  value: {
146
146
  tone_of_voice: string | null;
@@ -171,12 +171,12 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
171
171
  isEnabled?: boolean | undefined;
172
172
  updatedAt?: string | undefined;
173
173
  }>;
174
- export declare const ContentOptimizationRefinementResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
174
+ export declare const ContentOptimizationRefinementResponseSchema: z.ZodEffects<z.ZodObject<{
175
175
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
176
176
  isEnabled: z.ZodOptional<z.ZodBoolean>;
177
177
  accountId: z.ZodString;
178
178
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
179
- }, {
179
+ } & {
180
180
  value: z.ZodObject<{
181
181
  recommendation_severity_weight: z.ZodObject<{
182
182
  improve: z.ZodNumber;
@@ -205,7 +205,7 @@ export declare const ContentOptimizationRefinementResponseSchema: z.ZodEffects<z
205
205
  use_feedback_based_instructions: boolean;
206
206
  force_shop_language: boolean;
207
207
  }>;
208
- }>, "strip", z.ZodTypeAny, {
208
+ }, "strip", z.ZodTypeAny, {
209
209
  id: string;
210
210
  value: {
211
211
  recommendation_severity_weight: {
@@ -254,12 +254,12 @@ export declare const ContentOptimizationRefinementResponseSchema: z.ZodEffects<z
254
254
  }>;
255
255
  declare const resourceKeyTranslation: z.ZodEnum<["product_name", "product_description_html", "seo_title", "seo_description"]>;
256
256
  export type ResourceKeyTranslation = z.infer<typeof resourceKeyTranslation>;
257
- export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
257
+ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<z.ZodObject<{
258
258
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
259
259
  isEnabled: z.ZodOptional<z.ZodBoolean>;
260
260
  accountId: z.ZodString;
261
261
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
262
- }, {
262
+ } & {
263
263
  value: z.ZodObject<{
264
264
  recommendation_severity_weight: z.ZodNumber;
265
265
  use_feedback_based_instructions: z.ZodBoolean;
@@ -444,7 +444,7 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
444
444
  };
445
445
  translation_languages?: string[] | undefined;
446
446
  }>;
447
- }>, "strip", z.ZodTypeAny, {
447
+ }, "strip", z.ZodTypeAny, {
448
448
  id: string;
449
449
  value: {
450
450
  recommendation_severity_weight: number;
@@ -571,12 +571,12 @@ export declare const ContentOptimizationTranslationResponseSchema: z.ZodEffects<
571
571
  isEnabled?: boolean | undefined;
572
572
  updatedAt?: string | undefined;
573
573
  }>;
574
- export declare const ContentOptimizationWriteResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
574
+ export declare const ContentOptimizationWriteResponseSchema: z.ZodEffects<z.ZodObject<{
575
575
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
576
576
  isEnabled: z.ZodOptional<z.ZodBoolean>;
577
577
  accountId: z.ZodString;
578
578
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
579
- }, {
579
+ } & {
580
580
  value: z.ZodObject<{
581
581
  recommendation_severity_weight: z.ZodNumber;
582
582
  use_feedback_based_instructions: z.ZodBoolean;
@@ -590,7 +590,7 @@ export declare const ContentOptimizationWriteResponseSchema: z.ZodEffects<z.ZodO
590
590
  use_feedback_based_instructions: boolean;
591
591
  only_generate_missing: boolean;
592
592
  }>;
593
- }>, "strip", z.ZodTypeAny, {
593
+ }, "strip", z.ZodTypeAny, {
594
594
  id: string;
595
595
  value: {
596
596
  recommendation_severity_weight: number;
@@ -625,12 +625,12 @@ export declare const ContentOptimizationWriteResponseSchema: z.ZodEffects<z.ZodO
625
625
  isEnabled?: boolean | undefined;
626
626
  updatedAt?: string | undefined;
627
627
  }>;
628
- export declare const ContentOptimizationSEOResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
628
+ export declare const ContentOptimizationSEOResponseSchema: z.ZodEffects<z.ZodObject<{
629
629
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
630
630
  isEnabled: z.ZodOptional<z.ZodBoolean>;
631
631
  accountId: z.ZodString;
632
632
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
633
- }, {
633
+ } & {
634
634
  value: z.ZodObject<{
635
635
  recommendation_severity_weight: z.ZodNumber;
636
636
  use_feedback_based_instructions: z.ZodBoolean;
@@ -650,7 +650,7 @@ export declare const ContentOptimizationSEOResponseSchema: z.ZodEffects<z.ZodObj
650
650
  character_limit_title: number;
651
651
  character_limit_description: number;
652
652
  }>;
653
- }>, "strip", z.ZodTypeAny, {
653
+ }, "strip", z.ZodTypeAny, {
654
654
  id: string;
655
655
  value: {
656
656
  recommendation_severity_weight: number;
@@ -693,12 +693,12 @@ export declare const ContentOptimizationSEOResponseSchema: z.ZodEffects<z.ZodObj
693
693
  isEnabled?: boolean | undefined;
694
694
  updatedAt?: string | undefined;
695
695
  }>;
696
- export declare const ContentOptimizationReduceSimilarityResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
696
+ export declare const ContentOptimizationReduceSimilarityResponseSchema: z.ZodEffects<z.ZodObject<{
697
697
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
698
698
  isEnabled: z.ZodOptional<z.ZodBoolean>;
699
699
  accountId: z.ZodString;
700
700
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
701
- }, {
701
+ } & {
702
702
  value: z.ZodObject<{
703
703
  recommendation_severity_weight: z.ZodNumber;
704
704
  use_feedback_based_instructions: z.ZodBoolean;
@@ -712,7 +712,7 @@ export declare const ContentOptimizationReduceSimilarityResponseSchema: z.ZodEff
712
712
  use_feedback_based_instructions: boolean;
713
713
  similarity_threshold: number;
714
714
  }>;
715
- }>, "strip", z.ZodTypeAny, {
715
+ }, "strip", z.ZodTypeAny, {
716
716
  id: string;
717
717
  value: {
718
718
  recommendation_severity_weight: number;
@@ -800,12 +800,12 @@ export declare const ContentOptimizationWriteSEOPlatformValueSchema: z.ZodObject
800
800
  };
801
801
  };
802
802
  }>;
803
- export declare const ContentOptimizationWriteSEOPlatformResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
803
+ export declare const ContentOptimizationWriteSEOPlatformResponseSchema: z.ZodEffects<z.ZodObject<{
804
804
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
805
805
  isEnabled: z.ZodOptional<z.ZodBoolean>;
806
806
  accountId: z.ZodString;
807
807
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
808
- }, {
808
+ } & {
809
809
  value: z.ZodObject<{
810
810
  isEnabled: z.ZodBoolean;
811
811
  fields: z.ZodObject<{
@@ -859,7 +859,7 @@ export declare const ContentOptimizationWriteSEOPlatformResponseSchema: z.ZodEff
859
859
  };
860
860
  };
861
861
  }>;
862
- }>, "strip", z.ZodTypeAny, {
862
+ }, "strip", z.ZodTypeAny, {
863
863
  id: string;
864
864
  value: {
865
865
  isEnabled: boolean;
@@ -918,12 +918,12 @@ export declare const ContentOptimizationWriteSEOPlatformResponseSchema: z.ZodEff
918
918
  isEnabled?: boolean | undefined;
919
919
  updatedAt?: string | undefined;
920
920
  }>;
921
- export declare const WizardPlatformResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
921
+ export declare const WizardPlatformResponseSchema: z.ZodEffects<z.ZodObject<{
922
922
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
923
923
  isEnabled: z.ZodOptional<z.ZodBoolean>;
924
924
  accountId: z.ZodString;
925
925
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
926
- }, {
926
+ } & {
927
927
  value: z.ZodObject<{
928
928
  isInterrestedInRefinementEnabled: z.ZodOptional<z.ZodBoolean>;
929
929
  isInterestedInTranslation: z.ZodOptional<z.ZodBoolean>;
@@ -946,7 +946,7 @@ export declare const WizardPlatformResponseSchema: z.ZodEffects<z.ZodObject<z.ob
946
946
  isInterstedInInventoryOptimization?: boolean | undefined;
947
947
  hasCompletedWizard?: boolean | undefined;
948
948
  }>;
949
- }>, "strip", z.ZodTypeAny, {
949
+ }, "strip", z.ZodTypeAny, {
950
950
  id: string;
951
951
  value: {
952
952
  isInterrestedInRefinementEnabled?: boolean | undefined;
@@ -993,14 +993,14 @@ export declare const WizardPlatformResponseSchema: z.ZodEffects<z.ZodObject<z.ob
993
993
  isEnabled?: boolean | undefined;
994
994
  updatedAt?: string | undefined;
995
995
  }>;
996
- export declare const ShopifyPrimaryLocaleResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
996
+ export declare const ShopifyPrimaryLocaleResponseSchema: z.ZodEffects<z.ZodObject<{
997
997
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
998
998
  isEnabled: z.ZodOptional<z.ZodBoolean>;
999
999
  accountId: z.ZodString;
1000
1000
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1001
- }, {
1001
+ } & {
1002
1002
  value: z.ZodOptional<z.ZodEnum<["af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "eo", "es", "et", "eu", "fa", "fi", "fo", "fr", "ga", "gl", "gu", "he", "hi", "hr", "ht", "hu", "hy", "id", "is", "it", "ja", "jv", "ka", "kk", "km", "kn", "ko", "ku", "ky", "la", "lb", "lo", "lt", "lv", "mg", "mi", "mk", "ml", "mn", "mr", "ms", "mt", "my", "ne", "nl", "no", "ny", "oc", "pa", "pl", "ps", "pt", "ro", "ru", "rw", "sd", "si", "sk", "sl", "sm", "sn", "so", "sq", "sr", "st", "su", "sv", "sw", "ta", "te", "tg", "th", "ti", "tk", "tl", "tr", "tt", "ug", "uk", "ur", "uz", "vi", "xh", "yi", "yo", "zh", "zu"]>>;
1003
- }>, "strip", z.ZodTypeAny, {
1003
+ }, "strip", z.ZodTypeAny, {
1004
1004
  id: string;
1005
1005
  accountId: string;
1006
1006
  value?: "af" | "am" | "ar" | "as" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "et" | "eu" | "fa" | "fi" | "fo" | "fr" | "ga" | "gl" | "gu" | "he" | "hi" | "hr" | "ht" | "hu" | "hy" | "id" | "is" | "it" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "ku" | "ky" | "la" | "lb" | "lo" | "lt" | "lv" | "mg" | "mi" | "mk" | "ml" | "mn" | "mr" | "ms" | "mt" | "my" | "ne" | "nl" | "no" | "ny" | "oc" | "pa" | "pl" | "ps" | "pt" | "ro" | "ru" | "rw" | "sd" | "si" | "sk" | "sl" | "sm" | "sn" | "so" | "sq" | "sr" | "st" | "su" | "sv" | "sw" | "ta" | "te" | "tg" | "th" | "ti" | "tk" | "tl" | "tr" | "tt" | "ug" | "uk" | "ur" | "uz" | "vi" | "xh" | "yi" | "yo" | "zh" | "zu" | undefined;
@@ -1019,14 +1019,14 @@ export declare const ShopifyPrimaryLocaleResponseSchema: z.ZodEffects<z.ZodObjec
1019
1019
  isEnabled?: boolean | undefined;
1020
1020
  updatedAt?: string | undefined;
1021
1021
  }>;
1022
- export declare const DefaultResponseSchema: z.ZodEffects<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1022
+ export declare const DefaultResponseSchema: z.ZodEffects<z.ZodOptional<z.ZodObject<{
1023
1023
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1024
1024
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1025
1025
  accountId: z.ZodString;
1026
1026
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1027
- }, {
1027
+ } & {
1028
1028
  value: z.ZodString;
1029
- }>, "strip", z.ZodTypeAny, {
1029
+ }, "strip", z.ZodTypeAny, {
1030
1030
  id: string;
1031
1031
  value: string;
1032
1032
  accountId: string;
@@ -1045,14 +1045,14 @@ export declare const DefaultResponseSchema: z.ZodEffects<z.ZodOptional<z.ZodObje
1045
1045
  isEnabled?: boolean | undefined;
1046
1046
  updatedAt?: string | undefined;
1047
1047
  } | undefined>;
1048
- export declare const CurrencySettingResponseSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1048
+ export declare const CurrencySettingResponseSchema: z.ZodEffects<z.ZodObject<{
1049
1049
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1050
1050
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1051
1051
  accountId: z.ZodString;
1052
1052
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1053
- }, {
1053
+ } & {
1054
1054
  value: z.ZodCatch<z.ZodOptional<z.ZodEnum<["AED", "ARS", "AUD", "BGN", "BRL", "CAD", "CHF", "CLP", "CNY", "COP", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PHP", "PLN", "RON", "RUB", "SEK", "SGD", "THB", "TRY", "USD", "ZAR", "UNKNOWN"]>>>;
1055
- }>, "strip", z.ZodTypeAny, {
1055
+ }, "strip", z.ZodTypeAny, {
1056
1056
  id: string;
1057
1057
  accountId: string;
1058
1058
  value?: "AED" | "ARS" | "AUD" | "BGN" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PLN" | "RON" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "USD" | "ZAR" | "UNKNOWN" | undefined;
@@ -1072,12 +1072,12 @@ export declare const CurrencySettingResponseSchema: z.ZodEffects<z.ZodObject<z.o
1072
1072
  updatedAt?: string | undefined;
1073
1073
  }>;
1074
1074
  export declare const SettingsSchemas: {
1075
- content_optimization: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1075
+ content_optimization: z.ZodEffects<z.ZodObject<{
1076
1076
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1077
1077
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1078
1078
  accountId: z.ZodString;
1079
1079
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1080
- }, {
1080
+ } & {
1081
1081
  value: z.ZodObject<{
1082
1082
  tone_of_voice: z.ZodNullable<z.ZodString>;
1083
1083
  use_online_summary: z.ZodBoolean;
@@ -1088,7 +1088,7 @@ export declare const SettingsSchemas: {
1088
1088
  tone_of_voice: string | null;
1089
1089
  use_online_summary: boolean;
1090
1090
  }>;
1091
- }>, "strip", z.ZodTypeAny, {
1091
+ }, "strip", z.ZodTypeAny, {
1092
1092
  id: string;
1093
1093
  value: {
1094
1094
  tone_of_voice: string | null;
@@ -1119,12 +1119,12 @@ export declare const SettingsSchemas: {
1119
1119
  isEnabled?: boolean | undefined;
1120
1120
  updatedAt?: string | undefined;
1121
1121
  }>;
1122
- content_optimization_refine: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1122
+ content_optimization_refine: z.ZodEffects<z.ZodObject<{
1123
1123
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1124
1124
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1125
1125
  accountId: z.ZodString;
1126
1126
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1127
- }, {
1127
+ } & {
1128
1128
  value: z.ZodObject<{
1129
1129
  recommendation_severity_weight: z.ZodObject<{
1130
1130
  improve: z.ZodNumber;
@@ -1153,7 +1153,7 @@ export declare const SettingsSchemas: {
1153
1153
  use_feedback_based_instructions: boolean;
1154
1154
  force_shop_language: boolean;
1155
1155
  }>;
1156
- }>, "strip", z.ZodTypeAny, {
1156
+ }, "strip", z.ZodTypeAny, {
1157
1157
  id: string;
1158
1158
  value: {
1159
1159
  recommendation_severity_weight: {
@@ -1200,12 +1200,12 @@ export declare const SettingsSchemas: {
1200
1200
  isEnabled?: boolean | undefined;
1201
1201
  updatedAt?: string | undefined;
1202
1202
  }>;
1203
- content_optimization_translate: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1203
+ content_optimization_translate: z.ZodEffects<z.ZodObject<{
1204
1204
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1205
1205
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1206
1206
  accountId: z.ZodString;
1207
1207
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1208
- }, {
1208
+ } & {
1209
1209
  value: z.ZodObject<{
1210
1210
  recommendation_severity_weight: z.ZodNumber;
1211
1211
  use_feedback_based_instructions: z.ZodBoolean;
@@ -1390,7 +1390,7 @@ export declare const SettingsSchemas: {
1390
1390
  };
1391
1391
  translation_languages?: string[] | undefined;
1392
1392
  }>;
1393
- }>, "strip", z.ZodTypeAny, {
1393
+ }, "strip", z.ZodTypeAny, {
1394
1394
  id: string;
1395
1395
  value: {
1396
1396
  recommendation_severity_weight: number;
@@ -1517,12 +1517,12 @@ export declare const SettingsSchemas: {
1517
1517
  isEnabled?: boolean | undefined;
1518
1518
  updatedAt?: string | undefined;
1519
1519
  }>;
1520
- content_optimization_write: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1520
+ content_optimization_write: z.ZodEffects<z.ZodObject<{
1521
1521
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1522
1522
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1523
1523
  accountId: z.ZodString;
1524
1524
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1525
- }, {
1525
+ } & {
1526
1526
  value: z.ZodObject<{
1527
1527
  recommendation_severity_weight: z.ZodNumber;
1528
1528
  use_feedback_based_instructions: z.ZodBoolean;
@@ -1536,7 +1536,7 @@ export declare const SettingsSchemas: {
1536
1536
  use_feedback_based_instructions: boolean;
1537
1537
  only_generate_missing: boolean;
1538
1538
  }>;
1539
- }>, "strip", z.ZodTypeAny, {
1539
+ }, "strip", z.ZodTypeAny, {
1540
1540
  id: string;
1541
1541
  value: {
1542
1542
  recommendation_severity_weight: number;
@@ -1571,12 +1571,12 @@ export declare const SettingsSchemas: {
1571
1571
  isEnabled?: boolean | undefined;
1572
1572
  updatedAt?: string | undefined;
1573
1573
  }>;
1574
- content_optimization_write_seo: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1574
+ content_optimization_write_seo: z.ZodEffects<z.ZodObject<{
1575
1575
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1576
1576
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1577
1577
  accountId: z.ZodString;
1578
1578
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1579
- }, {
1579
+ } & {
1580
1580
  value: z.ZodObject<{
1581
1581
  recommendation_severity_weight: z.ZodNumber;
1582
1582
  use_feedback_based_instructions: z.ZodBoolean;
@@ -1596,7 +1596,7 @@ export declare const SettingsSchemas: {
1596
1596
  character_limit_title: number;
1597
1597
  character_limit_description: number;
1598
1598
  }>;
1599
- }>, "strip", z.ZodTypeAny, {
1599
+ }, "strip", z.ZodTypeAny, {
1600
1600
  id: string;
1601
1601
  value: {
1602
1602
  recommendation_severity_weight: number;
@@ -1639,12 +1639,12 @@ export declare const SettingsSchemas: {
1639
1639
  isEnabled?: boolean | undefined;
1640
1640
  updatedAt?: string | undefined;
1641
1641
  }>;
1642
- content_optimization_reduce_similarity: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1642
+ content_optimization_reduce_similarity: z.ZodEffects<z.ZodObject<{
1643
1643
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1644
1644
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1645
1645
  accountId: z.ZodString;
1646
1646
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1647
- }, {
1647
+ } & {
1648
1648
  value: z.ZodObject<{
1649
1649
  recommendation_severity_weight: z.ZodNumber;
1650
1650
  use_feedback_based_instructions: z.ZodBoolean;
@@ -1658,7 +1658,7 @@ export declare const SettingsSchemas: {
1658
1658
  use_feedback_based_instructions: boolean;
1659
1659
  similarity_threshold: number;
1660
1660
  }>;
1661
- }>, "strip", z.ZodTypeAny, {
1661
+ }, "strip", z.ZodTypeAny, {
1662
1662
  id: string;
1663
1663
  value: {
1664
1664
  recommendation_severity_weight: number;
@@ -1693,12 +1693,12 @@ export declare const SettingsSchemas: {
1693
1693
  isEnabled?: boolean | undefined;
1694
1694
  updatedAt?: string | undefined;
1695
1695
  }>;
1696
- content_optimization_write_seo_platform: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1696
+ content_optimization_write_seo_platform: z.ZodEffects<z.ZodObject<{
1697
1697
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1698
1698
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1699
1699
  accountId: z.ZodString;
1700
1700
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1701
- }, {
1701
+ } & {
1702
1702
  value: z.ZodObject<{
1703
1703
  isEnabled: z.ZodBoolean;
1704
1704
  fields: z.ZodObject<{
@@ -1752,7 +1752,7 @@ export declare const SettingsSchemas: {
1752
1752
  };
1753
1753
  };
1754
1754
  }>;
1755
- }>, "strip", z.ZodTypeAny, {
1755
+ }, "strip", z.ZodTypeAny, {
1756
1756
  id: string;
1757
1757
  value: {
1758
1758
  isEnabled: boolean;
@@ -1811,12 +1811,12 @@ export declare const SettingsSchemas: {
1811
1811
  isEnabled?: boolean | undefined;
1812
1812
  updatedAt?: string | undefined;
1813
1813
  }>;
1814
- inventory_optimization_economic_reward: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1814
+ inventory_optimization_economic_reward: z.ZodEffects<z.ZodObject<{
1815
1815
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1816
1816
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1817
1817
  accountId: z.ZodString;
1818
1818
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1819
- }, {
1819
+ } & {
1820
1820
  value: z.ZodObject<{
1821
1821
  lead_time_days: z.ZodNumber;
1822
1822
  stockout_cost_ratio: z.ZodNumber;
@@ -1848,7 +1848,7 @@ export declare const SettingsSchemas: {
1848
1848
  maximum_periods: number;
1849
1849
  discount_rate: number;
1850
1850
  }>;
1851
- }>, "strip", z.ZodTypeAny, {
1851
+ }, "strip", z.ZodTypeAny, {
1852
1852
  id: string;
1853
1853
  value: {
1854
1854
  lead_time_days: number;
@@ -1907,12 +1907,12 @@ export declare const SettingsSchemas: {
1907
1907
  isEnabled?: boolean | undefined;
1908
1908
  updatedAt?: string | undefined;
1909
1909
  }>;
1910
- wizard_platform: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1910
+ wizard_platform: z.ZodEffects<z.ZodObject<{
1911
1911
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1912
1912
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1913
1913
  accountId: z.ZodString;
1914
1914
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1915
- }, {
1915
+ } & {
1916
1916
  value: z.ZodObject<{
1917
1917
  isInterrestedInRefinementEnabled: z.ZodOptional<z.ZodBoolean>;
1918
1918
  isInterestedInTranslation: z.ZodOptional<z.ZodBoolean>;
@@ -1935,7 +1935,7 @@ export declare const SettingsSchemas: {
1935
1935
  isInterstedInInventoryOptimization?: boolean | undefined;
1936
1936
  hasCompletedWizard?: boolean | undefined;
1937
1937
  }>;
1938
- }>, "strip", z.ZodTypeAny, {
1938
+ }, "strip", z.ZodTypeAny, {
1939
1939
  id: string;
1940
1940
  value: {
1941
1941
  isInterrestedInRefinementEnabled?: boolean | undefined;
@@ -1982,14 +1982,14 @@ export declare const SettingsSchemas: {
1982
1982
  isEnabled?: boolean | undefined;
1983
1983
  updatedAt?: string | undefined;
1984
1984
  }>;
1985
- shopify_primary_locale: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
1985
+ shopify_primary_locale: z.ZodEffects<z.ZodObject<{
1986
1986
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
1987
1987
  isEnabled: z.ZodOptional<z.ZodBoolean>;
1988
1988
  accountId: z.ZodString;
1989
1989
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
1990
- }, {
1990
+ } & {
1991
1991
  value: z.ZodOptional<z.ZodEnum<["af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "eo", "es", "et", "eu", "fa", "fi", "fo", "fr", "ga", "gl", "gu", "he", "hi", "hr", "ht", "hu", "hy", "id", "is", "it", "ja", "jv", "ka", "kk", "km", "kn", "ko", "ku", "ky", "la", "lb", "lo", "lt", "lv", "mg", "mi", "mk", "ml", "mn", "mr", "ms", "mt", "my", "ne", "nl", "no", "ny", "oc", "pa", "pl", "ps", "pt", "ro", "ru", "rw", "sd", "si", "sk", "sl", "sm", "sn", "so", "sq", "sr", "st", "su", "sv", "sw", "ta", "te", "tg", "th", "ti", "tk", "tl", "tr", "tt", "ug", "uk", "ur", "uz", "vi", "xh", "yi", "yo", "zh", "zu"]>>;
1992
- }>, "strip", z.ZodTypeAny, {
1992
+ }, "strip", z.ZodTypeAny, {
1993
1993
  id: string;
1994
1994
  accountId: string;
1995
1995
  value?: "af" | "am" | "ar" | "as" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "et" | "eu" | "fa" | "fi" | "fo" | "fr" | "ga" | "gl" | "gu" | "he" | "hi" | "hr" | "ht" | "hu" | "hy" | "id" | "is" | "it" | "ja" | "jv" | "ka" | "kk" | "km" | "kn" | "ko" | "ku" | "ky" | "la" | "lb" | "lo" | "lt" | "lv" | "mg" | "mi" | "mk" | "ml" | "mn" | "mr" | "ms" | "mt" | "my" | "ne" | "nl" | "no" | "ny" | "oc" | "pa" | "pl" | "ps" | "pt" | "ro" | "ru" | "rw" | "sd" | "si" | "sk" | "sl" | "sm" | "sn" | "so" | "sq" | "sr" | "st" | "su" | "sv" | "sw" | "ta" | "te" | "tg" | "th" | "ti" | "tk" | "tl" | "tr" | "tt" | "ug" | "uk" | "ur" | "uz" | "vi" | "xh" | "yi" | "yo" | "zh" | "zu" | undefined;
@@ -2008,14 +2008,14 @@ export declare const SettingsSchemas: {
2008
2008
  isEnabled?: boolean | undefined;
2009
2009
  updatedAt?: string | undefined;
2010
2010
  }>;
2011
- shopify_primary_url: z.ZodEffects<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2011
+ shopify_primary_url: z.ZodEffects<z.ZodOptional<z.ZodObject<{
2012
2012
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
2013
2013
  isEnabled: z.ZodOptional<z.ZodBoolean>;
2014
2014
  accountId: z.ZodString;
2015
2015
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
2016
- }, {
2016
+ } & {
2017
2017
  value: z.ZodString;
2018
- }>, "strip", z.ZodTypeAny, {
2018
+ }, "strip", z.ZodTypeAny, {
2019
2019
  id: string;
2020
2020
  value: string;
2021
2021
  accountId: string;
@@ -2034,14 +2034,14 @@ export declare const SettingsSchemas: {
2034
2034
  isEnabled?: boolean | undefined;
2035
2035
  updatedAt?: string | undefined;
2036
2036
  } | undefined>;
2037
- analytics_timezone: z.ZodEffects<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2037
+ analytics_timezone: z.ZodEffects<z.ZodOptional<z.ZodObject<{
2038
2038
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
2039
2039
  isEnabled: z.ZodOptional<z.ZodBoolean>;
2040
2040
  accountId: z.ZodString;
2041
2041
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
2042
- }, {
2042
+ } & {
2043
2043
  value: z.ZodString;
2044
- }>, "strip", z.ZodTypeAny, {
2044
+ }, "strip", z.ZodTypeAny, {
2045
2045
  id: string;
2046
2046
  value: string;
2047
2047
  accountId: string;
@@ -2060,14 +2060,14 @@ export declare const SettingsSchemas: {
2060
2060
  isEnabled?: boolean | undefined;
2061
2061
  updatedAt?: string | undefined;
2062
2062
  } | undefined>;
2063
- company_description: z.ZodEffects<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2063
+ company_description: z.ZodEffects<z.ZodOptional<z.ZodObject<{
2064
2064
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
2065
2065
  isEnabled: z.ZodOptional<z.ZodBoolean>;
2066
2066
  accountId: z.ZodString;
2067
2067
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
2068
- }, {
2068
+ } & {
2069
2069
  value: z.ZodString;
2070
- }>, "strip", z.ZodTypeAny, {
2070
+ }, "strip", z.ZodTypeAny, {
2071
2071
  id: string;
2072
2072
  value: string;
2073
2073
  accountId: string;
@@ -2086,14 +2086,14 @@ export declare const SettingsSchemas: {
2086
2086
  isEnabled?: boolean | undefined;
2087
2087
  updatedAt?: string | undefined;
2088
2088
  } | undefined>;
2089
- analytics_currency_code: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
2089
+ analytics_currency_code: z.ZodEffects<z.ZodObject<{
2090
2090
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
2091
2091
  isEnabled: z.ZodOptional<z.ZodBoolean>;
2092
2092
  accountId: z.ZodString;
2093
2093
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
2094
- }, {
2094
+ } & {
2095
2095
  value: z.ZodCatch<z.ZodOptional<z.ZodEnum<["AED", "ARS", "AUD", "BGN", "BRL", "CAD", "CHF", "CLP", "CNY", "COP", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PHP", "PLN", "RON", "RUB", "SEK", "SGD", "THB", "TRY", "USD", "ZAR", "UNKNOWN"]>>>;
2096
- }>, "strip", z.ZodTypeAny, {
2096
+ }, "strip", z.ZodTypeAny, {
2097
2097
  id: string;
2098
2098
  accountId: string;
2099
2099
  value?: "AED" | "ARS" | "AUD" | "BGN" | "BRL" | "CAD" | "CHF" | "CLP" | "CNY" | "COP" | "CZK" | "DKK" | "EUR" | "GBP" | "HKD" | "HUF" | "IDR" | "ILS" | "INR" | "JPY" | "KRW" | "MXN" | "MYR" | "NOK" | "NZD" | "PHP" | "PLN" | "RON" | "RUB" | "SEK" | "SGD" | "THB" | "TRY" | "USD" | "ZAR" | "UNKNOWN" | undefined;
@@ -2112,14 +2112,14 @@ export declare const SettingsSchemas: {
2112
2112
  isEnabled?: boolean | undefined;
2113
2113
  updatedAt?: string | undefined;
2114
2114
  }>;
2115
- unknown: z.ZodEffects<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2115
+ unknown: z.ZodEffects<z.ZodOptional<z.ZodObject<{
2116
2116
  id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
2117
2117
  isEnabled: z.ZodOptional<z.ZodBoolean>;
2118
2118
  accountId: z.ZodString;
2119
2119
  updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
2120
- }, {
2120
+ } & {
2121
2121
  value: z.ZodString;
2122
- }>, "strip", z.ZodTypeAny, {
2122
+ }, "strip", z.ZodTypeAny, {
2123
2123
  id: string;
2124
2124
  value: string;
2125
2125
  accountId: string;
@@ -20,6 +20,8 @@ export declare const ObjectScopedRecommendationV2Schema: z.ZodObject<{
20
20
  severity: z.ZodNumber;
21
21
  editedRecommendationData: z.ZodOptional<z.ZodAny>;
22
22
  algorithmVersion: z.ZodString;
23
+ isMuted: z.ZodBoolean;
24
+ isPending: z.ZodBoolean;
23
25
  }, "strip", z.ZodTypeAny, {
24
26
  accountId: string;
25
27
  updatedAt: Date;
@@ -35,6 +37,8 @@ export declare const ObjectScopedRecommendationV2Schema: z.ZodObject<{
35
37
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
36
38
  severity: number;
37
39
  algorithmVersion: string;
40
+ isMuted: boolean;
41
+ isPending: boolean;
38
42
  cardPictureUrl?: string | undefined;
39
43
  cardPictureAltText?: string | undefined;
40
44
  cardSubtitle?: string | undefined;
@@ -54,6 +58,8 @@ export declare const ObjectScopedRecommendationV2Schema: z.ZodObject<{
54
58
  lookup: Record<string, string>;
55
59
  severity: number;
56
60
  algorithmVersion: string;
61
+ isMuted: boolean;
62
+ isPending: boolean;
57
63
  objectClass?: unknown;
58
64
  cardPictureUrl?: string | undefined;
59
65
  cardPictureAltText?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/zod/recommendations/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAmBtB,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/zod/recommendations/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAmBtB,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
@@ -36,5 +36,7 @@ export const ObjectScopedRecommendationV2Schema = z.object({
36
36
  severity: z.number(),
37
37
  editedRecommendationData: z.any().optional(), // Do we have a schema for this?
38
38
  algorithmVersion: z.string(),
39
+ isMuted: z.boolean(),
40
+ isPending: z.boolean(),
39
41
  });
40
42
  //# sourceMappingURL=base.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/zod/recommendations/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,MAAM,qCAAqC,GAAG,CAAC;KAC5C,IAAI,CAAC;IACJ,SAAS;IACT,UAAU;IACV,UAAU;IACV,sBAAsB;IACtB,0BAA0B;IAC1B,aAAa;IACb,SAAS;IACT,UAAU;IACV,0BAA0B;IAC1B,sBAAsB;CACvB,CAAC;KACD,KAAK,CAAC,SAAS,CAAC,CAAC;AAEpB,MAAM,2CAA2C,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3G,oBAAoB;AACpB,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,KAAK,EAAE,qCAAqC;IAC5C,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,wBAAwB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,gCAAgC;IAC9E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;CAC7B,CAAC,CAAC"}
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/zod/recommendations/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,MAAM,qCAAqC,GAAG,CAAC;KAC5C,IAAI,CAAC;IACJ,SAAS;IACT,UAAU;IACV,UAAU;IACV,sBAAsB;IACtB,0BAA0B;IAC1B,aAAa;IACb,SAAS;IACT,UAAU;IACV,0BAA0B;IAC1B,sBAAsB;CACvB,CAAC;KACD,KAAK,CAAC,SAAS,CAAC,CAAC;AAEpB,MAAM,2CAA2C,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAE3G,oBAAoB;AACpB,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,KAAK,EAAE,qCAAqC;IAC5C,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,wBAAwB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,EAAE,gCAAgC;IAC9E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;CACvB,CAAC,CAAC"}
@@ -98,14 +98,12 @@ export declare const ContentOptimizationEditedRecommendationDataBaseSchema: z.Zo
98
98
  output_language: string;
99
99
  };
100
100
  }>;
101
- export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.objectUtil.extendShape<{
101
+ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<{
102
102
  accountId: z.ZodString;
103
103
  analyticsId: z.ZodString;
104
104
  objectClass: z.ZodCatch<z.ZodEnum<["product", "sku", "UNKNOWN"]>>;
105
105
  objectId: z.ZodString;
106
106
  category: z.ZodString;
107
- recommendationData: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
108
- metadata: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodAny>>;
109
107
  summary: z.ZodString;
110
108
  cardPictureUrl: z.ZodOptional<z.ZodString>;
111
109
  cardPictureAltText: z.ZodOptional<z.ZodString>;
@@ -117,9 +115,10 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
117
115
  mutedUntil: z.ZodOptional<z.ZodDate>;
118
116
  feedback: z.ZodOptional<z.ZodString>;
119
117
  severity: z.ZodNumber;
120
- editedRecommendationData: z.ZodOptional<z.ZodAny>;
121
118
  algorithmVersion: z.ZodString;
122
- }, {
119
+ isMuted: z.ZodBoolean;
120
+ isPending: z.ZodBoolean;
121
+ } & {
123
122
  metadata: z.ZodObject<{
124
123
  chat_history: z.ZodString;
125
124
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
@@ -219,7 +218,7 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
219
218
  input_language: string;
220
219
  output_language: string;
221
220
  }>;
222
- }>, "strip", z.ZodTypeAny, {
221
+ }, "strip", z.ZodTypeAny, {
223
222
  accountId: string;
224
223
  updatedAt: Date;
225
224
  analyticsId: string;
@@ -258,6 +257,8 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
258
257
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
259
258
  severity: number;
260
259
  algorithmVersion: string;
260
+ isMuted: boolean;
261
+ isPending: boolean;
261
262
  cardPictureUrl?: string | undefined;
262
263
  cardPictureAltText?: string | undefined;
263
264
  cardSubtitle?: string | undefined;
@@ -301,6 +302,8 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<z.
301
302
  lookup: Record<string, string>;
302
303
  severity: number;
303
304
  algorithmVersion: string;
305
+ isMuted: boolean;
306
+ isPending: boolean;
304
307
  objectClass?: unknown;
305
308
  cardPictureUrl?: string | undefined;
306
309
  cardPictureAltText?: string | undefined;
@@ -358,6 +361,8 @@ export declare const computeOutputData: (data: ContentOptimizationRecommendation
358
361
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
359
362
  severity: number;
360
363
  algorithmVersion: string;
364
+ isMuted: boolean;
365
+ isPending: boolean;
361
366
  cardPictureUrl?: string | undefined;
362
367
  cardPictureAltText?: string | undefined;
363
368
  cardSubtitle?: string | undefined;
@@ -372,14 +377,12 @@ export declare const computeOutputData: (data: ContentOptimizationRecommendation
372
377
  };
373
378
  } | undefined;
374
379
  };
375
- export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
380
+ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.ZodObject<{
376
381
  accountId: z.ZodString;
377
382
  analyticsId: z.ZodString;
378
383
  objectClass: z.ZodCatch<z.ZodEnum<["product", "sku", "UNKNOWN"]>>;
379
384
  objectId: z.ZodString;
380
385
  category: z.ZodString;
381
- recommendationData: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
382
- metadata: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodAny>>;
383
386
  summary: z.ZodString;
384
387
  cardPictureUrl: z.ZodOptional<z.ZodString>;
385
388
  cardPictureAltText: z.ZodOptional<z.ZodString>;
@@ -391,9 +394,10 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
391
394
  mutedUntil: z.ZodOptional<z.ZodDate>;
392
395
  feedback: z.ZodOptional<z.ZodString>;
393
396
  severity: z.ZodNumber;
394
- editedRecommendationData: z.ZodOptional<z.ZodAny>;
395
397
  algorithmVersion: z.ZodString;
396
- }, {
398
+ isMuted: z.ZodBoolean;
399
+ isPending: z.ZodBoolean;
400
+ } & {
397
401
  metadata: z.ZodObject<{
398
402
  chat_history: z.ZodString;
399
403
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
@@ -493,7 +497,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
493
497
  input_language: string;
494
498
  output_language: string;
495
499
  }>;
496
- }>, "strip", z.ZodTypeAny, {
500
+ }, "strip", z.ZodTypeAny, {
497
501
  accountId: string;
498
502
  updatedAt: Date;
499
503
  analyticsId: string;
@@ -532,6 +536,8 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
532
536
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
533
537
  severity: number;
534
538
  algorithmVersion: string;
539
+ isMuted: boolean;
540
+ isPending: boolean;
535
541
  cardPictureUrl?: string | undefined;
536
542
  cardPictureAltText?: string | undefined;
537
543
  cardSubtitle?: string | undefined;
@@ -575,6 +581,8 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
575
581
  lookup: Record<string, string>;
576
582
  severity: number;
577
583
  algorithmVersion: string;
584
+ isMuted: boolean;
585
+ isPending: boolean;
578
586
  objectClass?: unknown;
579
587
  cardPictureUrl?: string | undefined;
580
588
  cardPictureAltText?: string | undefined;
@@ -630,6 +638,8 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
630
638
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
631
639
  severity: number;
632
640
  algorithmVersion: string;
641
+ isMuted: boolean;
642
+ isPending: boolean;
633
643
  cardPictureUrl?: string | undefined;
634
644
  cardPictureAltText?: string | undefined;
635
645
  cardSubtitle?: string | undefined;
@@ -673,6 +683,8 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodEffects<z.Zod
673
683
  lookup: Record<string, string>;
674
684
  severity: number;
675
685
  algorithmVersion: string;
686
+ isMuted: boolean;
687
+ isPending: boolean;
676
688
  objectClass?: unknown;
677
689
  cardPictureUrl?: string | undefined;
678
690
  cardPictureAltText?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/content-optmization/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"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/content-optmization/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"}
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
- export declare const TranslationRecommendationData: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const TranslationRecommendationData: z.ZodObject<{
3
3
  output_data: z.ZodString;
4
4
  original_data: z.ZodNullable<z.ZodString>;
5
5
  input_language: z.ZodString;
6
6
  output_language: z.ZodString;
7
- }, {
7
+ } & {
8
8
  input_data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<{
9
9
  original_language_description: z.ZodString;
10
10
  old_translation: z.ZodString;
@@ -27,7 +27,7 @@ export declare const TranslationRecommendationData: z.ZodObject<z.objectUtil.ext
27
27
  company_description?: string | null | undefined;
28
28
  tone_of_voice?: string | null | undefined;
29
29
  }>>;
30
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
31
31
  output_data: string;
32
32
  original_data: string | null;
33
33
  input_language: string;
@@ -47,14 +47,12 @@ export declare const TranslationRecommendationData: z.ZodObject<z.objectUtil.ext
47
47
  output_language: string;
48
48
  input_data: string;
49
49
  }>;
50
- export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
50
+ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<{
51
51
  accountId: z.ZodString;
52
52
  analyticsId: z.ZodString;
53
53
  objectClass: z.ZodCatch<z.ZodEnum<["product", "sku", "UNKNOWN"]>>;
54
54
  objectId: z.ZodString;
55
55
  category: z.ZodString;
56
- recommendationData: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
57
- metadata: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodAny>>;
58
56
  summary: z.ZodString;
59
57
  cardPictureUrl: z.ZodOptional<z.ZodString>;
60
58
  cardPictureAltText: z.ZodOptional<z.ZodString>;
@@ -66,60 +64,9 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
66
64
  mutedUntil: z.ZodOptional<z.ZodDate>;
67
65
  feedback: z.ZodOptional<z.ZodString>;
68
66
  severity: z.ZodNumber;
69
- editedRecommendationData: z.ZodOptional<z.ZodAny>;
70
67
  algorithmVersion: z.ZodString;
71
- }, {
72
- metadata: z.ZodObject<{
73
- chat_history: z.ZodString;
74
- product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
75
- product_name?: string | undefined;
76
- is_enabled?: boolean | undefined;
77
- vendor?: string | undefined;
78
- product_tags?: string[] | undefined;
79
- product_attributes?: Record<string, string | null> | undefined;
80
- collections?: string[] | undefined;
81
- } | undefined, string>>;
82
- llm_model: z.ZodOptional<z.ZodString>;
83
- severity_unweighted: z.ZodOptional<z.ZodNumber>;
84
- recommendation_created_at: z.ZodOptional<z.ZodString>;
85
- product_url: z.ZodOptional<z.ZodOptional<z.ZodString>>;
86
- is_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
87
- related_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
- lead_time_days: z.ZodOptional<z.ZodNumber>;
89
- online_summary_with_citations: z.ZodOptional<z.ZodString>;
90
- product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
91
- }, "strip", z.ZodTypeAny, {
92
- chat_history: string;
93
- lead_time_days?: number | undefined;
94
- is_enabled?: boolean | undefined;
95
- product_information?: {
96
- product_name?: string | undefined;
97
- is_enabled?: boolean | undefined;
98
- vendor?: string | undefined;
99
- product_tags?: string[] | undefined;
100
- product_attributes?: Record<string, string | null> | undefined;
101
- collections?: string[] | undefined;
102
- } | undefined;
103
- llm_model?: string | undefined;
104
- severity_unweighted?: number | undefined;
105
- recommendation_created_at?: string | undefined;
106
- product_url?: string | undefined;
107
- related_categories?: string[] | undefined;
108
- online_summary_with_citations?: string | undefined;
109
- product_names?: string[] | undefined;
110
- }, {
111
- chat_history: string;
112
- lead_time_days?: number | undefined;
113
- is_enabled?: boolean | undefined;
114
- product_information?: string | undefined;
115
- llm_model?: string | undefined;
116
- severity_unweighted?: number | undefined;
117
- recommendation_created_at?: string | undefined;
118
- product_url?: string | undefined;
119
- related_categories?: string[] | undefined;
120
- online_summary_with_citations?: string | undefined;
121
- product_names?: string[] | undefined;
122
- }>;
68
+ isMuted: z.ZodBoolean;
69
+ isPending: z.ZodBoolean;
123
70
  editedRecommendationData: z.ZodOptional<z.ZodObject<{
124
71
  recommendationData: z.ZodObject<{
125
72
  output_data: z.ZodString;
@@ -152,24 +99,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
152
99
  output_language: string;
153
100
  };
154
101
  }>>;
155
- recommendationData: z.ZodObject<{
156
- output_data: z.ZodString;
157
- original_data: z.ZodNullable<z.ZodString>;
158
- input_language: z.ZodString;
159
- output_language: z.ZodString;
160
- }, "strip", z.ZodTypeAny, {
161
- output_data: string;
162
- original_data: string | null;
163
- input_language: string;
164
- output_language: string;
165
- }, {
166
- output_data: string;
167
- original_data: string | null;
168
- input_language: string;
169
- output_language: string;
170
- }>;
171
- }>, {
172
- metadata: z.ZodObject<z.objectUtil.extendShape<{
102
+ } & {
103
+ metadata: z.ZodObject<{
173
104
  chat_history: z.ZodString;
174
105
  product_information: z.ZodOptional<z.ZodEffects<z.ZodString, {
175
106
  product_name?: string | undefined;
@@ -188,10 +119,10 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
188
119
  lead_time_days: z.ZodOptional<z.ZodNumber>;
189
120
  online_summary_with_citations: z.ZodOptional<z.ZodString>;
190
121
  product_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
191
- }, {
122
+ } & {
192
123
  translatable_content_digest: z.ZodString;
193
124
  resource_key: z.ZodCatch<z.ZodEnum<["product_name", "product_description_html", "UNKNOWN"]>>;
194
- }>, "strip", z.ZodTypeAny, {
125
+ }, "strip", z.ZodTypeAny, {
195
126
  chat_history: string;
196
127
  translatable_content_digest: string;
197
128
  resource_key: "UNKNOWN" | "product_description_html" | "product_name";
@@ -227,12 +158,12 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
227
158
  product_names?: string[] | undefined;
228
159
  resource_key?: unknown;
229
160
  }>;
230
- recommendationData: z.ZodObject<z.objectUtil.extendShape<{
161
+ recommendationData: z.ZodObject<{
231
162
  output_data: z.ZodString;
232
163
  original_data: z.ZodNullable<z.ZodString>;
233
164
  input_language: z.ZodString;
234
165
  output_language: z.ZodString;
235
- }, {
166
+ } & {
236
167
  input_data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<{
237
168
  original_language_description: z.ZodString;
238
169
  old_translation: z.ZodString;
@@ -255,7 +186,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
255
186
  company_description?: string | null | undefined;
256
187
  tone_of_voice?: string | null | undefined;
257
188
  }>>;
258
- }>, "strip", z.ZodTypeAny, {
189
+ }, "strip", z.ZodTypeAny, {
259
190
  output_data: string;
260
191
  original_data: string | null;
261
192
  input_language: string;
@@ -275,7 +206,7 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
275
206
  output_language: string;
276
207
  input_data: string;
277
208
  }>;
278
- }>, "strip", z.ZodTypeAny, {
209
+ }, "strip", z.ZodTypeAny, {
279
210
  accountId: string;
280
211
  updatedAt: Date;
281
212
  analyticsId: string;
@@ -324,6 +255,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
324
255
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
325
256
  severity: number;
326
257
  algorithmVersion: string;
258
+ isMuted: boolean;
259
+ isPending: boolean;
327
260
  cardPictureUrl?: string | undefined;
328
261
  cardPictureAltText?: string | undefined;
329
262
  cardSubtitle?: string | undefined;
@@ -370,6 +303,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
370
303
  lookup: Record<string, string>;
371
304
  severity: number;
372
305
  algorithmVersion: string;
306
+ isMuted: boolean;
307
+ isPending: boolean;
373
308
  objectClass?: unknown;
374
309
  cardPictureUrl?: string | undefined;
375
310
  cardPictureAltText?: string | undefined;
@@ -425,6 +360,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
425
360
  state: "UNKNOWN" | "PENDING" | "ACCEPTED" | "REJECTED" | "ACCEPTED_AND_HANDLED" | "ACCEPTED_HANDLING_FAILED" | "INVALIDATED" | "REVERTED" | "REVERTED_HANDLING_FAILED" | "REVERTED_AND_HANDLED";
426
361
  severity: number;
427
362
  algorithmVersion: string;
363
+ isMuted: boolean;
364
+ isPending: boolean;
428
365
  cardPictureUrl?: string | undefined;
429
366
  cardPictureAltText?: string | undefined;
430
367
  cardSubtitle?: string | undefined;
@@ -471,6 +408,8 @@ export declare const TranslationRecommendationSchema: z.ZodEffects<z.ZodObject<z
471
408
  lookup: Record<string, string>;
472
409
  severity: number;
473
410
  algorithmVersion: string;
411
+ isMuted: boolean;
412
+ isPending: boolean;
474
413
  objectClass?: unknown;
475
414
  cardPictureUrl?: string | undefined;
476
415
  cardPictureAltText?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/content-optmization/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AActB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcxC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKd,CAAC;AAE/B,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../src/zod/recommendations/content-optmization/translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AActB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcxC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKd,CAAC;AAE/B,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omni-graph/omni-model",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "description": "Models for the OmniGraph Services & Frontend",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -18,18 +18,18 @@
18
18
  "author": "OmniGraph A/S",
19
19
  "license": "MIT",
20
20
  "devDependencies": {
21
- "@types/node": "^22.13.13",
22
- "@vitest/coverage-istanbul": "^3.0.9",
21
+ "@types/luxon": "^3.6.2",
22
+ "@types/node": "^22.14.1",
23
+ "@vitest/coverage-istanbul": "^3.1.2",
23
24
  "@vitest/coverage-v8": "3.0.6",
25
+ "prettier": "^3.5.3",
24
26
  "typedoc": "^0.27.9",
25
- "typescript": "^5.8.2",
26
- "vitest": "^3.0.9",
27
- "@types/luxon": "^3.4.2",
28
- "prettier": "^3"
27
+ "typescript": "^5.8.3",
28
+ "vitest": "^3.1.2"
29
29
  },
30
30
  "dependencies": {
31
- "luxon": "~3",
32
- "zod": "~3"
31
+ "luxon": "~3.6.1",
32
+ "zod": "~3.24.3"
33
33
  },
34
34
  "exports": {
35
35
  ".": {