@omni-graph/omni-model 0.6.14 → 0.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zod/recommendations/base.d.ts +2 -0
- package/dist/zod/recommendations/base.d.ts.map +1 -1
- package/dist/zod/recommendations/base.js +1 -1
- package/dist/zod/recommendations/base.js.map +1 -1
- package/dist/zod/recommendations/content-optmization/base.d.ts +5 -3
- package/dist/zod/recommendations/content-optmization/base.d.ts.map +1 -1
- package/dist/zod/recommendations/content-optmization/translation.d.ts +3 -2
- package/dist/zod/recommendations/content-optmization/translation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,7 @@ declare const ObjectScopedRecommendationObjectClassSchema: z.ZodCatch<z.ZodEnum<
|
|
|
46
46
|
location: "location";
|
|
47
47
|
product: "product";
|
|
48
48
|
sku: "sku";
|
|
49
|
+
pseudo_product: "pseudo_product";
|
|
49
50
|
}>>;
|
|
50
51
|
export type ObjectScopedRecommendationObjectClass = z.infer<typeof ObjectScopedRecommendationObjectClassSchema>;
|
|
51
52
|
export declare const ObjectScopedRecommendationV2Schema: z.ZodObject<{
|
|
@@ -65,6 +66,7 @@ export declare const ObjectScopedRecommendationV2Schema: z.ZodObject<{
|
|
|
65
66
|
location: "location";
|
|
66
67
|
product: "product";
|
|
67
68
|
sku: "sku";
|
|
69
|
+
pseudo_product: "pseudo_product";
|
|
68
70
|
}>>;
|
|
69
71
|
objectId: z.ZodString;
|
|
70
72
|
category: z.ZodString;
|
|
@@ -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;AAItB,eAAO,MAAM,sBAAsB,0RAMzB,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;EAAiC,CAAC;AAC9E,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC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CAAqC,CAAC,CAAC;AAEpG,QAAA,MAAM,2CAA2C;;;;;;GAAuF,CAAC;AACzI,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAGhH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuB7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
|
|
@@ -34,7 +34,7 @@ const ObjectScopedRecommendationStateSchema = z
|
|
|
34
34
|
'PLACEHOLDER',
|
|
35
35
|
])
|
|
36
36
|
.catch('UNKNOWN');
|
|
37
|
-
const ObjectScopedRecommendationObjectClassSchema = z.enum(['location', 'product', 'sku', 'UNKNOWN']).catch('UNKNOWN');
|
|
37
|
+
const ObjectScopedRecommendationObjectClassSchema = z.enum(['location', 'product', 'sku', 'pseudo_product', 'UNKNOWN']).catch('UNKNOWN');
|
|
38
38
|
// Define the schema
|
|
39
39
|
export const ObjectScopedRecommendationV2Schema = z.object({
|
|
40
40
|
accountId: z.string(),
|
|
@@ -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;AAEtB,uFAAuF;AAEvF,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,sDAAsD;IACtD,yDAAyD;IACzD,qDAAqD;IACrD,iEAAiE;IACjE,gCAAgC;CACxB,CAAC;AAEX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;AAE9E,kFAAkF;AAElF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,+CAA+C;IAC/C,uDAAuD;CAC/C,CAAC;AAEX,MAAM,CAAC,MAAM,oBAAoB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C,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"}
|
|
@@ -50,6 +50,7 @@ export declare const ContentOptimizationRecommendationBaseSchema: z.ZodObject<{
|
|
|
50
50
|
location: "location";
|
|
51
51
|
product: "product";
|
|
52
52
|
sku: "sku";
|
|
53
|
+
pseudo_product: "pseudo_product";
|
|
53
54
|
}>>;
|
|
54
55
|
objectId: z.ZodString;
|
|
55
56
|
category: z.ZodString;
|
|
@@ -121,7 +122,7 @@ export declare const computeOutputData: (data: ContentOptimizationRecommendation
|
|
|
121
122
|
outputData: string;
|
|
122
123
|
accountId: string;
|
|
123
124
|
analyticsId: "content_optimization_write_seo" | "content_optimization_translate_product_description_html" | "content_optimization_refine_product_description_html" | "content_optimization_write_product_description_html" | "content_optimization_reduce_similarity_product_description_html" | "inventory_optimization_reorder_recommendation" | "inventory_optimization_reorder_recommendation_entries";
|
|
124
|
-
objectClass: "UNKNOWN" | "location" | "product" | "sku";
|
|
125
|
+
objectClass: "UNKNOWN" | "location" | "product" | "sku" | "pseudo_product";
|
|
125
126
|
objectId: string;
|
|
126
127
|
category: string;
|
|
127
128
|
summary: string;
|
|
@@ -190,6 +191,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodPipe<z.ZodObj
|
|
|
190
191
|
location: "location";
|
|
191
192
|
product: "product";
|
|
192
193
|
sku: "sku";
|
|
194
|
+
pseudo_product: "pseudo_product";
|
|
193
195
|
}>>;
|
|
194
196
|
objectId: z.ZodString;
|
|
195
197
|
category: z.ZodString;
|
|
@@ -259,7 +261,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodPipe<z.ZodObj
|
|
|
259
261
|
outputData: string;
|
|
260
262
|
accountId: string;
|
|
261
263
|
analyticsId: "content_optimization_write_seo" | "content_optimization_translate_product_description_html" | "content_optimization_refine_product_description_html" | "content_optimization_write_product_description_html" | "content_optimization_reduce_similarity_product_description_html" | "inventory_optimization_reorder_recommendation" | "inventory_optimization_reorder_recommendation_entries";
|
|
262
|
-
objectClass: "UNKNOWN" | "location" | "product" | "sku";
|
|
264
|
+
objectClass: "UNKNOWN" | "location" | "product" | "sku" | "pseudo_product";
|
|
263
265
|
objectId: string;
|
|
264
266
|
category: string;
|
|
265
267
|
summary: string;
|
|
@@ -313,7 +315,7 @@ export declare const ContentOptimizationRecommendationSchema: z.ZodPipe<z.ZodObj
|
|
|
313
315
|
}, {
|
|
314
316
|
accountId: string;
|
|
315
317
|
analyticsId: "content_optimization_write_seo" | "content_optimization_translate_product_description_html" | "content_optimization_refine_product_description_html" | "content_optimization_write_product_description_html" | "content_optimization_reduce_similarity_product_description_html" | "inventory_optimization_reorder_recommendation" | "inventory_optimization_reorder_recommendation_entries";
|
|
316
|
-
objectClass: "UNKNOWN" | "location" | "product" | "sku";
|
|
318
|
+
objectClass: "UNKNOWN" | "location" | "product" | "sku" | "pseudo_product";
|
|
317
319
|
objectId: string;
|
|
318
320
|
category: string;
|
|
319
321
|
summary: string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;iBAsBhD,CAAC;AAEH,eAAO,MAAM,+CAA+C;;;;;iBAK1D,CAAC;AAEH,eAAO,MAAM,qDAAqD;;;;;;;iBAEhE,CAAC;AAEH,eAAO,MAAM,2CAA2C
|
|
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;;;;;;;;;;;;;;;;;;;iBAsBhD,CAAC;AAEH,eAAO,MAAM,+CAA+C;;;;;iBAK1D,CAAC;AAEH,eAAO,MAAM,qDAAqD;;;;;;;iBAEhE,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2E,CAAC"}
|
|
@@ -30,6 +30,7 @@ export declare const TranslationRecommendationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
30
30
|
location: "location";
|
|
31
31
|
product: "product";
|
|
32
32
|
sku: "sku";
|
|
33
|
+
pseudo_product: "pseudo_product";
|
|
33
34
|
}>>;
|
|
34
35
|
objectId: z.ZodString;
|
|
35
36
|
category: z.ZodString;
|
|
@@ -113,7 +114,7 @@ export declare const TranslationRecommendationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
113
114
|
outputData: string;
|
|
114
115
|
accountId: string;
|
|
115
116
|
analyticsId: "content_optimization_write_seo" | "content_optimization_translate_product_description_html" | "content_optimization_refine_product_description_html" | "content_optimization_write_product_description_html" | "content_optimization_reduce_similarity_product_description_html" | "inventory_optimization_reorder_recommendation" | "inventory_optimization_reorder_recommendation_entries";
|
|
116
|
-
objectClass: "UNKNOWN" | "location" | "product" | "sku";
|
|
117
|
+
objectClass: "UNKNOWN" | "location" | "product" | "sku" | "pseudo_product";
|
|
117
118
|
objectId: string;
|
|
118
119
|
category: string;
|
|
119
120
|
summary: string;
|
|
@@ -167,7 +168,7 @@ export declare const TranslationRecommendationSchema: z.ZodPipe<z.ZodObject<{
|
|
|
167
168
|
}, {
|
|
168
169
|
accountId: string;
|
|
169
170
|
analyticsId: "content_optimization_write_seo" | "content_optimization_translate_product_description_html" | "content_optimization_refine_product_description_html" | "content_optimization_write_product_description_html" | "content_optimization_reduce_similarity_product_description_html" | "inventory_optimization_reorder_recommendation" | "inventory_optimization_reorder_recommendation_entries";
|
|
170
|
-
objectClass: "UNKNOWN" | "location" | "product" | "sku";
|
|
171
|
+
objectClass: "UNKNOWN" | "location" | "product" | "sku" | "pseudo_product";
|
|
171
172
|
objectId: string;
|
|
172
173
|
category: string;
|
|
173
174
|
summary: string;
|
|
@@ -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;;;;;;;;;;;;;iBAcxC,CAAC;AAEH,eAAO,MAAM,+BAA+B
|
|
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;;;;;;;;;;;;;iBAcxC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKd,CAAC;AAE/B,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|