@omni-graph/omni-model 0.4.0 → 0.4.2
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/account-settings/accountSettings.d.ts +365 -0
- package/dist/zod/account-settings/accountSettings.d.ts.map +1 -1
- package/dist/zod/account-settings/accountSettings.js +35 -0
- package/dist/zod/account-settings/accountSettings.js.map +1 -1
- package/dist/zod/account-settings/base.d.ts +1 -0
- package/dist/zod/account-settings/base.d.ts.map +1 -1
- package/dist/zod/account-settings/base.js +1 -0
- package/dist/zod/account-settings/base.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export type ContentOptimizationWriteResponse = z.infer<typeof ContentOptimizatio
|
|
|
12
12
|
export type ContentOptimizationSEOResponse = z.infer<typeof ContentOptimizationSEOResponseSchema>;
|
|
13
13
|
export type ContentOptimizationReduceSimilarityResponse = z.infer<typeof ContentOptimizationReduceSimilarityResponseSchema>;
|
|
14
14
|
export type CurrencySettingResponse = z.infer<typeof CurrencySettingResponseSchema>;
|
|
15
|
+
export type DesignGuideResponse = z.infer<typeof DesignGuideResponseSchema>;
|
|
15
16
|
export type SettingsIdToResponseMap = {
|
|
16
17
|
[AccountSettingsIdEnum.INVENTORY_OPTIMIZATION_ECONOMIC_REWARD]: InventoryOptimizationResponse;
|
|
17
18
|
[AccountSettingsIdEnum.SHOPIFY_PRIMARY_URL]: DefaultSettingsResponse;
|
|
@@ -124,6 +125,26 @@ export declare const InventoryOptimizationResponseSchema: z.ZodEffects<z.ZodObje
|
|
|
124
125
|
isEnabled?: boolean | undefined;
|
|
125
126
|
updatedAt?: string | undefined;
|
|
126
127
|
}>;
|
|
128
|
+
export declare const DesignGuideSectionTypeEnum: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
129
|
+
export type SectionType = z.infer<typeof DesignGuideSectionTypeEnum>;
|
|
130
|
+
export type DesignGuideSection = z.infer<typeof DesignGuideSectionSchema>;
|
|
131
|
+
export declare const getPrettySectionTypeName: (type: SectionType) => string;
|
|
132
|
+
export declare const DesignGuideSectionSchema: z.ZodObject<{
|
|
133
|
+
name: z.ZodString;
|
|
134
|
+
type: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
135
|
+
description: z.ZodString;
|
|
136
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
139
|
+
name: string;
|
|
140
|
+
description: string;
|
|
141
|
+
hidden?: boolean | undefined;
|
|
142
|
+
}, {
|
|
143
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
144
|
+
name: string;
|
|
145
|
+
description: string;
|
|
146
|
+
hidden?: boolean | undefined;
|
|
147
|
+
}>;
|
|
127
148
|
export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
128
149
|
id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
|
|
129
150
|
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -134,14 +155,65 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
|
|
|
134
155
|
tone_of_voice: z.ZodNullable<z.ZodString>;
|
|
135
156
|
use_online_summary: z.ZodBoolean;
|
|
136
157
|
allow_empty_store_url: z.ZodBoolean;
|
|
158
|
+
prioritization_strategy: z.ZodOptional<z.ZodString>;
|
|
159
|
+
design_guide: z.ZodObject<{
|
|
160
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
type: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
163
|
+
description: z.ZodString;
|
|
164
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
167
|
+
name: string;
|
|
168
|
+
description: string;
|
|
169
|
+
hidden?: boolean | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
172
|
+
name: string;
|
|
173
|
+
description: string;
|
|
174
|
+
hidden?: boolean | undefined;
|
|
175
|
+
}>, "many">;
|
|
176
|
+
}, "strip", z.ZodTypeAny, {
|
|
177
|
+
sections: {
|
|
178
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
179
|
+
name: string;
|
|
180
|
+
description: string;
|
|
181
|
+
hidden?: boolean | undefined;
|
|
182
|
+
}[];
|
|
183
|
+
}, {
|
|
184
|
+
sections: {
|
|
185
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
186
|
+
name: string;
|
|
187
|
+
description: string;
|
|
188
|
+
hidden?: boolean | undefined;
|
|
189
|
+
}[];
|
|
190
|
+
}>;
|
|
137
191
|
}, "strip", z.ZodTypeAny, {
|
|
138
192
|
tone_of_voice: string | null;
|
|
139
193
|
use_online_summary: boolean;
|
|
140
194
|
allow_empty_store_url: boolean;
|
|
195
|
+
design_guide: {
|
|
196
|
+
sections: {
|
|
197
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
198
|
+
name: string;
|
|
199
|
+
description: string;
|
|
200
|
+
hidden?: boolean | undefined;
|
|
201
|
+
}[];
|
|
202
|
+
};
|
|
203
|
+
prioritization_strategy?: string | undefined;
|
|
141
204
|
}, {
|
|
142
205
|
tone_of_voice: string | null;
|
|
143
206
|
use_online_summary: boolean;
|
|
144
207
|
allow_empty_store_url: boolean;
|
|
208
|
+
design_guide: {
|
|
209
|
+
sections: {
|
|
210
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
211
|
+
name: string;
|
|
212
|
+
description: string;
|
|
213
|
+
hidden?: boolean | undefined;
|
|
214
|
+
}[];
|
|
215
|
+
};
|
|
216
|
+
prioritization_strategy?: string | undefined;
|
|
145
217
|
}>;
|
|
146
218
|
}, "strip", z.ZodTypeAny, {
|
|
147
219
|
id: string;
|
|
@@ -149,6 +221,15 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
|
|
|
149
221
|
tone_of_voice: string | null;
|
|
150
222
|
use_online_summary: boolean;
|
|
151
223
|
allow_empty_store_url: boolean;
|
|
224
|
+
design_guide: {
|
|
225
|
+
sections: {
|
|
226
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
227
|
+
name: string;
|
|
228
|
+
description: string;
|
|
229
|
+
hidden?: boolean | undefined;
|
|
230
|
+
}[];
|
|
231
|
+
};
|
|
232
|
+
prioritization_strategy?: string | undefined;
|
|
152
233
|
};
|
|
153
234
|
accountId: string;
|
|
154
235
|
isEnabled?: boolean | undefined;
|
|
@@ -158,6 +239,15 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
|
|
|
158
239
|
tone_of_voice: string | null;
|
|
159
240
|
use_online_summary: boolean;
|
|
160
241
|
allow_empty_store_url: boolean;
|
|
242
|
+
design_guide: {
|
|
243
|
+
sections: {
|
|
244
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
245
|
+
name: string;
|
|
246
|
+
description: string;
|
|
247
|
+
hidden?: boolean | undefined;
|
|
248
|
+
}[];
|
|
249
|
+
};
|
|
250
|
+
prioritization_strategy?: string | undefined;
|
|
161
251
|
};
|
|
162
252
|
accountId: string;
|
|
163
253
|
id?: unknown;
|
|
@@ -167,11 +257,114 @@ export declare const ContentOptimizationResponseSchema: z.ZodEffects<z.ZodObject
|
|
|
167
257
|
tone_of_voice: string | null;
|
|
168
258
|
use_online_summary: boolean;
|
|
169
259
|
allow_empty_store_url: boolean;
|
|
260
|
+
design_guide: {
|
|
261
|
+
sections: {
|
|
262
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
263
|
+
name: string;
|
|
264
|
+
description: string;
|
|
265
|
+
hidden?: boolean | undefined;
|
|
266
|
+
}[];
|
|
267
|
+
};
|
|
268
|
+
prioritization_strategy?: string | undefined;
|
|
170
269
|
}, {
|
|
171
270
|
value: {
|
|
172
271
|
tone_of_voice: string | null;
|
|
173
272
|
use_online_summary: boolean;
|
|
174
273
|
allow_empty_store_url: boolean;
|
|
274
|
+
design_guide: {
|
|
275
|
+
sections: {
|
|
276
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
277
|
+
name: string;
|
|
278
|
+
description: string;
|
|
279
|
+
hidden?: boolean | undefined;
|
|
280
|
+
}[];
|
|
281
|
+
};
|
|
282
|
+
prioritization_strategy?: string | undefined;
|
|
283
|
+
};
|
|
284
|
+
accountId: string;
|
|
285
|
+
id?: unknown;
|
|
286
|
+
isEnabled?: boolean | undefined;
|
|
287
|
+
updatedAt?: string | undefined;
|
|
288
|
+
}>;
|
|
289
|
+
export declare const DesignGuideResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
290
|
+
id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
|
|
291
|
+
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
292
|
+
accountId: z.ZodString;
|
|
293
|
+
updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
|
|
294
|
+
} & {
|
|
295
|
+
value: z.ZodObject<{
|
|
296
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
297
|
+
name: z.ZodString;
|
|
298
|
+
type: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
299
|
+
description: z.ZodString;
|
|
300
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
303
|
+
name: string;
|
|
304
|
+
description: string;
|
|
305
|
+
hidden?: boolean | undefined;
|
|
306
|
+
}, {
|
|
307
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
308
|
+
name: string;
|
|
309
|
+
description: string;
|
|
310
|
+
hidden?: boolean | undefined;
|
|
311
|
+
}>, "many">;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
sections: {
|
|
314
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
315
|
+
name: string;
|
|
316
|
+
description: string;
|
|
317
|
+
hidden?: boolean | undefined;
|
|
318
|
+
}[];
|
|
319
|
+
}, {
|
|
320
|
+
sections: {
|
|
321
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
322
|
+
name: string;
|
|
323
|
+
description: string;
|
|
324
|
+
hidden?: boolean | undefined;
|
|
325
|
+
}[];
|
|
326
|
+
}>;
|
|
327
|
+
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
id: string;
|
|
329
|
+
value: {
|
|
330
|
+
sections: {
|
|
331
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
332
|
+
name: string;
|
|
333
|
+
description: string;
|
|
334
|
+
hidden?: boolean | undefined;
|
|
335
|
+
}[];
|
|
336
|
+
};
|
|
337
|
+
accountId: string;
|
|
338
|
+
isEnabled?: boolean | undefined;
|
|
339
|
+
updatedAt?: import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
340
|
+
}, {
|
|
341
|
+
value: {
|
|
342
|
+
sections: {
|
|
343
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
344
|
+
name: string;
|
|
345
|
+
description: string;
|
|
346
|
+
hidden?: boolean | undefined;
|
|
347
|
+
}[];
|
|
348
|
+
};
|
|
349
|
+
accountId: string;
|
|
350
|
+
id?: unknown;
|
|
351
|
+
isEnabled?: boolean | undefined;
|
|
352
|
+
updatedAt?: string | undefined;
|
|
353
|
+
}>, {
|
|
354
|
+
sections: {
|
|
355
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
356
|
+
name: string;
|
|
357
|
+
description: string;
|
|
358
|
+
hidden?: boolean | undefined;
|
|
359
|
+
}[];
|
|
360
|
+
}, {
|
|
361
|
+
value: {
|
|
362
|
+
sections: {
|
|
363
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
364
|
+
name: string;
|
|
365
|
+
description: string;
|
|
366
|
+
hidden?: boolean | undefined;
|
|
367
|
+
}[];
|
|
175
368
|
};
|
|
176
369
|
accountId: string;
|
|
177
370
|
id?: unknown;
|
|
@@ -1089,14 +1282,65 @@ export declare const SettingsSchemas: {
|
|
|
1089
1282
|
tone_of_voice: z.ZodNullable<z.ZodString>;
|
|
1090
1283
|
use_online_summary: z.ZodBoolean;
|
|
1091
1284
|
allow_empty_store_url: z.ZodBoolean;
|
|
1285
|
+
prioritization_strategy: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
design_guide: z.ZodObject<{
|
|
1287
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1288
|
+
name: z.ZodString;
|
|
1289
|
+
type: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
1290
|
+
description: z.ZodString;
|
|
1291
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1292
|
+
}, "strip", z.ZodTypeAny, {
|
|
1293
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1294
|
+
name: string;
|
|
1295
|
+
description: string;
|
|
1296
|
+
hidden?: boolean | undefined;
|
|
1297
|
+
}, {
|
|
1298
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1299
|
+
name: string;
|
|
1300
|
+
description: string;
|
|
1301
|
+
hidden?: boolean | undefined;
|
|
1302
|
+
}>, "many">;
|
|
1303
|
+
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
sections: {
|
|
1305
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1306
|
+
name: string;
|
|
1307
|
+
description: string;
|
|
1308
|
+
hidden?: boolean | undefined;
|
|
1309
|
+
}[];
|
|
1310
|
+
}, {
|
|
1311
|
+
sections: {
|
|
1312
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1313
|
+
name: string;
|
|
1314
|
+
description: string;
|
|
1315
|
+
hidden?: boolean | undefined;
|
|
1316
|
+
}[];
|
|
1317
|
+
}>;
|
|
1092
1318
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1319
|
tone_of_voice: string | null;
|
|
1094
1320
|
use_online_summary: boolean;
|
|
1095
1321
|
allow_empty_store_url: boolean;
|
|
1322
|
+
design_guide: {
|
|
1323
|
+
sections: {
|
|
1324
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1325
|
+
name: string;
|
|
1326
|
+
description: string;
|
|
1327
|
+
hidden?: boolean | undefined;
|
|
1328
|
+
}[];
|
|
1329
|
+
};
|
|
1330
|
+
prioritization_strategy?: string | undefined;
|
|
1096
1331
|
}, {
|
|
1097
1332
|
tone_of_voice: string | null;
|
|
1098
1333
|
use_online_summary: boolean;
|
|
1099
1334
|
allow_empty_store_url: boolean;
|
|
1335
|
+
design_guide: {
|
|
1336
|
+
sections: {
|
|
1337
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1338
|
+
name: string;
|
|
1339
|
+
description: string;
|
|
1340
|
+
hidden?: boolean | undefined;
|
|
1341
|
+
}[];
|
|
1342
|
+
};
|
|
1343
|
+
prioritization_strategy?: string | undefined;
|
|
1100
1344
|
}>;
|
|
1101
1345
|
}, "strip", z.ZodTypeAny, {
|
|
1102
1346
|
id: string;
|
|
@@ -1104,6 +1348,15 @@ export declare const SettingsSchemas: {
|
|
|
1104
1348
|
tone_of_voice: string | null;
|
|
1105
1349
|
use_online_summary: boolean;
|
|
1106
1350
|
allow_empty_store_url: boolean;
|
|
1351
|
+
design_guide: {
|
|
1352
|
+
sections: {
|
|
1353
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1354
|
+
name: string;
|
|
1355
|
+
description: string;
|
|
1356
|
+
hidden?: boolean | undefined;
|
|
1357
|
+
}[];
|
|
1358
|
+
};
|
|
1359
|
+
prioritization_strategy?: string | undefined;
|
|
1107
1360
|
};
|
|
1108
1361
|
accountId: string;
|
|
1109
1362
|
isEnabled?: boolean | undefined;
|
|
@@ -1113,6 +1366,15 @@ export declare const SettingsSchemas: {
|
|
|
1113
1366
|
tone_of_voice: string | null;
|
|
1114
1367
|
use_online_summary: boolean;
|
|
1115
1368
|
allow_empty_store_url: boolean;
|
|
1369
|
+
design_guide: {
|
|
1370
|
+
sections: {
|
|
1371
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1372
|
+
name: string;
|
|
1373
|
+
description: string;
|
|
1374
|
+
hidden?: boolean | undefined;
|
|
1375
|
+
}[];
|
|
1376
|
+
};
|
|
1377
|
+
prioritization_strategy?: string | undefined;
|
|
1116
1378
|
};
|
|
1117
1379
|
accountId: string;
|
|
1118
1380
|
id?: unknown;
|
|
@@ -1122,11 +1384,29 @@ export declare const SettingsSchemas: {
|
|
|
1122
1384
|
tone_of_voice: string | null;
|
|
1123
1385
|
use_online_summary: boolean;
|
|
1124
1386
|
allow_empty_store_url: boolean;
|
|
1387
|
+
design_guide: {
|
|
1388
|
+
sections: {
|
|
1389
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1390
|
+
name: string;
|
|
1391
|
+
description: string;
|
|
1392
|
+
hidden?: boolean | undefined;
|
|
1393
|
+
}[];
|
|
1394
|
+
};
|
|
1395
|
+
prioritization_strategy?: string | undefined;
|
|
1125
1396
|
}, {
|
|
1126
1397
|
value: {
|
|
1127
1398
|
tone_of_voice: string | null;
|
|
1128
1399
|
use_online_summary: boolean;
|
|
1129
1400
|
allow_empty_store_url: boolean;
|
|
1401
|
+
design_guide: {
|
|
1402
|
+
sections: {
|
|
1403
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
1404
|
+
name: string;
|
|
1405
|
+
description: string;
|
|
1406
|
+
hidden?: boolean | undefined;
|
|
1407
|
+
}[];
|
|
1408
|
+
};
|
|
1409
|
+
prioritization_strategy?: string | undefined;
|
|
1130
1410
|
};
|
|
1131
1411
|
accountId: string;
|
|
1132
1412
|
id?: unknown;
|
|
@@ -2126,6 +2406,91 @@ export declare const SettingsSchemas: {
|
|
|
2126
2406
|
isEnabled?: boolean | undefined;
|
|
2127
2407
|
updatedAt?: string | undefined;
|
|
2128
2408
|
}>;
|
|
2409
|
+
design_guide_sections: z.ZodEffects<z.ZodObject<{
|
|
2410
|
+
id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
|
|
2411
|
+
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2412
|
+
accountId: z.ZodString;
|
|
2413
|
+
updatedAt: z.ZodOptional<z.ZodEffects<z.ZodString, import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>;
|
|
2414
|
+
} & {
|
|
2415
|
+
value: z.ZodObject<{
|
|
2416
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2417
|
+
name: z.ZodString;
|
|
2418
|
+
type: z.ZodEnum<["html_text", "bullet_point", "specification", "plain_text", "title", "boolean"]>;
|
|
2419
|
+
description: z.ZodString;
|
|
2420
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2421
|
+
}, "strip", z.ZodTypeAny, {
|
|
2422
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2423
|
+
name: string;
|
|
2424
|
+
description: string;
|
|
2425
|
+
hidden?: boolean | undefined;
|
|
2426
|
+
}, {
|
|
2427
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2428
|
+
name: string;
|
|
2429
|
+
description: string;
|
|
2430
|
+
hidden?: boolean | undefined;
|
|
2431
|
+
}>, "many">;
|
|
2432
|
+
}, "strip", z.ZodTypeAny, {
|
|
2433
|
+
sections: {
|
|
2434
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2435
|
+
name: string;
|
|
2436
|
+
description: string;
|
|
2437
|
+
hidden?: boolean | undefined;
|
|
2438
|
+
}[];
|
|
2439
|
+
}, {
|
|
2440
|
+
sections: {
|
|
2441
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2442
|
+
name: string;
|
|
2443
|
+
description: string;
|
|
2444
|
+
hidden?: boolean | undefined;
|
|
2445
|
+
}[];
|
|
2446
|
+
}>;
|
|
2447
|
+
}, "strip", z.ZodTypeAny, {
|
|
2448
|
+
id: string;
|
|
2449
|
+
value: {
|
|
2450
|
+
sections: {
|
|
2451
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2452
|
+
name: string;
|
|
2453
|
+
description: string;
|
|
2454
|
+
hidden?: boolean | undefined;
|
|
2455
|
+
}[];
|
|
2456
|
+
};
|
|
2457
|
+
accountId: string;
|
|
2458
|
+
isEnabled?: boolean | undefined;
|
|
2459
|
+
updatedAt?: import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
2460
|
+
}, {
|
|
2461
|
+
value: {
|
|
2462
|
+
sections: {
|
|
2463
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2464
|
+
name: string;
|
|
2465
|
+
description: string;
|
|
2466
|
+
hidden?: boolean | undefined;
|
|
2467
|
+
}[];
|
|
2468
|
+
};
|
|
2469
|
+
accountId: string;
|
|
2470
|
+
id?: unknown;
|
|
2471
|
+
isEnabled?: boolean | undefined;
|
|
2472
|
+
updatedAt?: string | undefined;
|
|
2473
|
+
}>, {
|
|
2474
|
+
sections: {
|
|
2475
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2476
|
+
name: string;
|
|
2477
|
+
description: string;
|
|
2478
|
+
hidden?: boolean | undefined;
|
|
2479
|
+
}[];
|
|
2480
|
+
}, {
|
|
2481
|
+
value: {
|
|
2482
|
+
sections: {
|
|
2483
|
+
type: "boolean" | "html_text" | "bullet_point" | "specification" | "plain_text" | "title";
|
|
2484
|
+
name: string;
|
|
2485
|
+
description: string;
|
|
2486
|
+
hidden?: boolean | undefined;
|
|
2487
|
+
}[];
|
|
2488
|
+
};
|
|
2489
|
+
accountId: string;
|
|
2490
|
+
id?: unknown;
|
|
2491
|
+
isEnabled?: boolean | undefined;
|
|
2492
|
+
updatedAt?: string | undefined;
|
|
2493
|
+
}>;
|
|
2129
2494
|
unknown: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
2130
2495
|
id: z.ZodCatch<z.ZodEnum<[string, ...string[]]>>;
|
|
2131
2496
|
isEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountSettings.d.ts","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAA6B,MAAM,QAAQ,CAAC;AAIzE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC5E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,6BAA6B,GAAG,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB3B,CAAC"}
|
|
@@ -18,16 +18,50 @@ export const InventoryOptimizationResponseSchema = BaseSettingsResponseSchema.ex
|
|
|
18
18
|
}).transform((data) => {
|
|
19
19
|
return data.value;
|
|
20
20
|
});
|
|
21
|
+
export const DesignGuideSectionTypeEnum = z.enum(['html_text', 'bullet_point', 'specification', 'plain_text', 'title', 'boolean']);
|
|
22
|
+
export const getPrettySectionTypeName = (type) => {
|
|
23
|
+
switch (type) {
|
|
24
|
+
case 'html_text':
|
|
25
|
+
return 'HTML Text';
|
|
26
|
+
case 'bullet_point':
|
|
27
|
+
return 'Bullet Points';
|
|
28
|
+
case 'specification':
|
|
29
|
+
return 'Specification Table';
|
|
30
|
+
case 'plain_text':
|
|
31
|
+
return 'Plain Text';
|
|
32
|
+
case 'title':
|
|
33
|
+
return 'Title';
|
|
34
|
+
default:
|
|
35
|
+
return type;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
export const DesignGuideSectionSchema = z.object({
|
|
39
|
+
name: z.string(),
|
|
40
|
+
type: DesignGuideSectionTypeEnum,
|
|
41
|
+
description: z.string(),
|
|
42
|
+
hidden: z.boolean().optional(), // Whether the section should be hidden when converted to HTML
|
|
43
|
+
});
|
|
21
44
|
const ContentOptimizationValueSchema = z.object({
|
|
22
45
|
tone_of_voice: z.string().nullable(),
|
|
23
46
|
use_online_summary: z.boolean(),
|
|
24
47
|
allow_empty_store_url: z.boolean(),
|
|
48
|
+
prioritization_strategy: z.string().optional(),
|
|
49
|
+
design_guide: z.object({
|
|
50
|
+
sections: z.array(DesignGuideSectionSchema),
|
|
51
|
+
}),
|
|
25
52
|
});
|
|
26
53
|
export const ContentOptimizationResponseSchema = BaseSettingsResponseSchema.extend({
|
|
27
54
|
value: ContentOptimizationValueSchema,
|
|
28
55
|
}).transform((data) => {
|
|
29
56
|
return data.value;
|
|
30
57
|
});
|
|
58
|
+
export const DesignGuideResponseSchema = BaseSettingsResponseSchema.extend({
|
|
59
|
+
value: z.object({
|
|
60
|
+
sections: z.array(DesignGuideSectionSchema),
|
|
61
|
+
}),
|
|
62
|
+
}).transform((data) => {
|
|
63
|
+
return data.value;
|
|
64
|
+
});
|
|
31
65
|
const ContentOptimizationRefinementValueSchema = z.object({
|
|
32
66
|
recommendation_severity_weight: z.object({
|
|
33
67
|
improve: z.number(),
|
|
@@ -165,6 +199,7 @@ export const SettingsSchemas = {
|
|
|
165
199
|
[AccountSettingsIdEnum.ANALYTICS_TIMEZONE]: DefaultResponseSchema,
|
|
166
200
|
[AccountSettingsIdEnum.COMPANY_DESCRIPTION]: DefaultResponseSchema,
|
|
167
201
|
[AccountSettingsIdEnum.ANALYTICS_CURRENCY_CODE]: CurrencySettingResponseSchema,
|
|
202
|
+
[AccountSettingsIdEnum.DESIGN_GUIDE_SECTION]: DesignGuideResponseSchema,
|
|
168
203
|
[AccountSettingsIdEnum.UNKNOWN]: DefaultResponseSchema,
|
|
169
204
|
};
|
|
170
205
|
//# sourceMappingURL=accountSettings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountSettings.js","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"accountSettings.js","sourceRoot":"","sources":["../../../src/zod/account-settings/accountSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAC,qBAAqB,EAAE,0BAA0B,EAAC,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAC,sBAAsB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAkCxD,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC/B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CA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AC,0BAA0B,CAAC,EAAE,sCAAsC;IAC1F,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,EAAE,oCAAoC;IACtF,CAAC,qBAAqB,CAAC,sCAAsC,CAAC,EAAE,iDAAiD;IACjH,CAAC,qBAAqB,CAAC,uCAAuC,CAAC,EAAE,iDAAiD;IAClH,CAAC,qBAAqB,CAAC,sCAAsC,CAAC,EAAE,mCAAmC;IACnG,CAAC,qBAAqB,CAAC,eAAe,CAAC,EAAE,4BAA4B;IACrE,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,EAAE,kCAAkC;IAClF,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,EAAE,qBAAqB;IAClE,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,EAAE,qBAAqB;IACjE,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,EAAE,qBAAqB;IAClE,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,EAAE,6BAA6B;IAC9E,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,EAAE,yBAAyB;IACvE,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,qBAAqB;CACvD,CAAC"}
|
|
@@ -15,6 +15,7 @@ export declare enum AccountSettingsIdEnum {
|
|
|
15
15
|
ANALYTICS_CURRENCY_CODE = "analytics_currency_code",
|
|
16
16
|
CONTENT_OPTIMIZATION_WRITE_SEO_PLATFORM = "content_optimization_write_seo_platform",
|
|
17
17
|
WIZARD_PLATFORM = "wizard_platform",
|
|
18
|
+
DESIGN_GUIDE_SECTION = "design_guide_sections",
|
|
18
19
|
UNKNOWN = "unknown"
|
|
19
20
|
}
|
|
20
21
|
export declare const AccountSettingsIdValues: [string, ...string[]];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/zod/account-settings/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,CAAC,EAAC,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AAED,eAAO,MAAM,uBAAuB,EAA2C,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AAErG,eAAO,MAAM,iBAAiB,8CAAmD,CAAC;AAElF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -16,6 +16,7 @@ export var AccountSettingsIdEnum;
|
|
|
16
16
|
AccountSettingsIdEnum["ANALYTICS_CURRENCY_CODE"] = "analytics_currency_code";
|
|
17
17
|
AccountSettingsIdEnum["CONTENT_OPTIMIZATION_WRITE_SEO_PLATFORM"] = "content_optimization_write_seo_platform";
|
|
18
18
|
AccountSettingsIdEnum["WIZARD_PLATFORM"] = "wizard_platform";
|
|
19
|
+
AccountSettingsIdEnum["DESIGN_GUIDE_SECTION"] = "design_guide_sections";
|
|
19
20
|
AccountSettingsIdEnum["UNKNOWN"] = "unknown";
|
|
20
21
|
})(AccountSettingsIdEnum || (AccountSettingsIdEnum = {}));
|
|
21
22
|
export const AccountSettingsIdValues = Object.values(AccountSettingsIdEnum);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/zod/account-settings/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/zod/account-settings/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAEtB,MAAM,CAAN,IAAY,qBAiBX;AAjBD,WAAY,qBAAqB;IAC/B,0GAAiF,CAAA;IACjF,oEAA2C,C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