@nextblock-cms/cortex 0.16.3 → 0.16.4
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/lib/ai-global-agent-tools.d.ts +91 -91
- package/package.json +4 -4
|
@@ -216,9 +216,9 @@ export declare const updateContentBlockInputSchema: z.ZodObject<{
|
|
|
216
216
|
checkout: "checkout";
|
|
217
217
|
button: "button";
|
|
218
218
|
image: "image";
|
|
219
|
-
posts_grid: "posts_grid";
|
|
220
|
-
video_embed: "video_embed";
|
|
221
219
|
testimonial: "testimonial";
|
|
220
|
+
video_embed: "video_embed";
|
|
221
|
+
posts_grid: "posts_grid";
|
|
222
222
|
product_grid: "product_grid";
|
|
223
223
|
featured_product: "featured_product";
|
|
224
224
|
cart: "cart";
|
|
@@ -246,9 +246,9 @@ export declare const updateSectionColumnBlockInputSchema: z.ZodObject<{
|
|
|
246
246
|
checkout: "checkout";
|
|
247
247
|
button: "button";
|
|
248
248
|
image: "image";
|
|
249
|
-
posts_grid: "posts_grid";
|
|
250
|
-
video_embed: "video_embed";
|
|
251
249
|
testimonial: "testimonial";
|
|
250
|
+
video_embed: "video_embed";
|
|
251
|
+
posts_grid: "posts_grid";
|
|
252
252
|
product_grid: "product_grid";
|
|
253
253
|
featured_product: "featured_product";
|
|
254
254
|
cart: "cart";
|
|
@@ -298,9 +298,9 @@ export declare const insertContentBlockInputSchema: z.ZodObject<{
|
|
|
298
298
|
checkout: "checkout";
|
|
299
299
|
button: "button";
|
|
300
300
|
image: "image";
|
|
301
|
-
posts_grid: "posts_grid";
|
|
302
|
-
video_embed: "video_embed";
|
|
303
301
|
testimonial: "testimonial";
|
|
302
|
+
video_embed: "video_embed";
|
|
303
|
+
posts_grid: "posts_grid";
|
|
304
304
|
product_grid: "product_grid";
|
|
305
305
|
featured_product: "featured_product";
|
|
306
306
|
cart: "cart";
|
|
@@ -315,9 +315,9 @@ export declare const insertContentBlockInputSchema: z.ZodObject<{
|
|
|
315
315
|
checkout: "checkout";
|
|
316
316
|
button: "button";
|
|
317
317
|
image: "image";
|
|
318
|
-
posts_grid: "posts_grid";
|
|
319
|
-
video_embed: "video_embed";
|
|
320
318
|
testimonial: "testimonial";
|
|
319
|
+
video_embed: "video_embed";
|
|
320
|
+
posts_grid: "posts_grid";
|
|
321
321
|
product_grid: "product_grid";
|
|
322
322
|
featured_product: "featured_product";
|
|
323
323
|
cart: "cart";
|
|
@@ -343,9 +343,9 @@ export declare const createCmsPageInputSchema: z.ZodObject<{
|
|
|
343
343
|
checkout: "checkout";
|
|
344
344
|
button: "button";
|
|
345
345
|
image: "image";
|
|
346
|
-
posts_grid: "posts_grid";
|
|
347
|
-
video_embed: "video_embed";
|
|
348
346
|
testimonial: "testimonial";
|
|
347
|
+
video_embed: "video_embed";
|
|
348
|
+
posts_grid: "posts_grid";
|
|
349
349
|
product_grid: "product_grid";
|
|
350
350
|
featured_product: "featured_product";
|
|
351
351
|
cart: "cart";
|
|
@@ -378,9 +378,9 @@ export declare const createCmsPostInputSchema: z.ZodObject<{
|
|
|
378
378
|
checkout: "checkout";
|
|
379
379
|
button: "button";
|
|
380
380
|
image: "image";
|
|
381
|
-
posts_grid: "posts_grid";
|
|
382
|
-
video_embed: "video_embed";
|
|
383
381
|
testimonial: "testimonial";
|
|
382
|
+
video_embed: "video_embed";
|
|
383
|
+
posts_grid: "posts_grid";
|
|
384
384
|
product_grid: "product_grid";
|
|
385
385
|
featured_product: "featured_product";
|
|
386
386
|
cart: "cart";
|
|
@@ -416,9 +416,9 @@ export declare const createCmsProductInputSchema: z.ZodObject<{
|
|
|
416
416
|
checkout: "checkout";
|
|
417
417
|
button: "button";
|
|
418
418
|
image: "image";
|
|
419
|
-
posts_grid: "posts_grid";
|
|
420
|
-
video_embed: "video_embed";
|
|
421
419
|
testimonial: "testimonial";
|
|
420
|
+
video_embed: "video_embed";
|
|
421
|
+
posts_grid: "posts_grid";
|
|
422
422
|
product_grid: "product_grid";
|
|
423
423
|
featured_product: "featured_product";
|
|
424
424
|
cart: "cart";
|
|
@@ -510,9 +510,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
510
510
|
checkout: "checkout";
|
|
511
511
|
button: "button";
|
|
512
512
|
image: "image";
|
|
513
|
-
posts_grid: "posts_grid";
|
|
514
|
-
video_embed: "video_embed";
|
|
515
513
|
testimonial: "testimonial";
|
|
514
|
+
video_embed: "video_embed";
|
|
515
|
+
posts_grid: "posts_grid";
|
|
516
516
|
product_grid: "product_grid";
|
|
517
517
|
featured_product: "featured_product";
|
|
518
518
|
cart: "cart";
|
|
@@ -547,9 +547,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
547
547
|
checkout: "checkout";
|
|
548
548
|
button: "button";
|
|
549
549
|
image: "image";
|
|
550
|
-
posts_grid: "posts_grid";
|
|
551
|
-
video_embed: "video_embed";
|
|
552
550
|
testimonial: "testimonial";
|
|
551
|
+
video_embed: "video_embed";
|
|
552
|
+
posts_grid: "posts_grid";
|
|
553
553
|
product_grid: "product_grid";
|
|
554
554
|
featured_product: "featured_product";
|
|
555
555
|
cart: "cart";
|
|
@@ -587,9 +587,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
587
587
|
checkout: "checkout";
|
|
588
588
|
button: "button";
|
|
589
589
|
image: "image";
|
|
590
|
-
posts_grid: "posts_grid";
|
|
591
|
-
video_embed: "video_embed";
|
|
592
590
|
testimonial: "testimonial";
|
|
591
|
+
video_embed: "video_embed";
|
|
592
|
+
posts_grid: "posts_grid";
|
|
593
593
|
product_grid: "product_grid";
|
|
594
594
|
featured_product: "featured_product";
|
|
595
595
|
cart: "cart";
|
|
@@ -675,9 +675,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
675
675
|
checkout: "checkout";
|
|
676
676
|
button: "button";
|
|
677
677
|
image: "image";
|
|
678
|
-
posts_grid: "posts_grid";
|
|
679
|
-
video_embed: "video_embed";
|
|
680
678
|
testimonial: "testimonial";
|
|
679
|
+
video_embed: "video_embed";
|
|
680
|
+
posts_grid: "posts_grid";
|
|
681
681
|
product_grid: "product_grid";
|
|
682
682
|
featured_product: "featured_product";
|
|
683
683
|
cart: "cart";
|
|
@@ -715,9 +715,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
715
715
|
checkout: "checkout";
|
|
716
716
|
button: "button";
|
|
717
717
|
image: "image";
|
|
718
|
-
posts_grid: "posts_grid";
|
|
719
|
-
video_embed: "video_embed";
|
|
720
718
|
testimonial: "testimonial";
|
|
719
|
+
video_embed: "video_embed";
|
|
720
|
+
posts_grid: "posts_grid";
|
|
721
721
|
product_grid: "product_grid";
|
|
722
722
|
featured_product: "featured_product";
|
|
723
723
|
cart: "cart";
|
|
@@ -732,9 +732,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
732
732
|
checkout: "checkout";
|
|
733
733
|
button: "button";
|
|
734
734
|
image: "image";
|
|
735
|
-
posts_grid: "posts_grid";
|
|
736
|
-
video_embed: "video_embed";
|
|
737
735
|
testimonial: "testimonial";
|
|
736
|
+
video_embed: "video_embed";
|
|
737
|
+
posts_grid: "posts_grid";
|
|
738
738
|
product_grid: "product_grid";
|
|
739
739
|
featured_product: "featured_product";
|
|
740
740
|
cart: "cart";
|
|
@@ -847,9 +847,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
847
847
|
checkout: "checkout";
|
|
848
848
|
button: "button";
|
|
849
849
|
image: "image";
|
|
850
|
-
posts_grid: "posts_grid";
|
|
851
|
-
video_embed: "video_embed";
|
|
852
850
|
testimonial: "testimonial";
|
|
851
|
+
video_embed: "video_embed";
|
|
852
|
+
posts_grid: "posts_grid";
|
|
853
853
|
product_grid: "product_grid";
|
|
854
854
|
featured_product: "featured_product";
|
|
855
855
|
cart: "cart";
|
|
@@ -893,9 +893,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
893
893
|
checkout: "checkout";
|
|
894
894
|
button: "button";
|
|
895
895
|
image: "image";
|
|
896
|
-
posts_grid: "posts_grid";
|
|
897
|
-
video_embed: "video_embed";
|
|
898
896
|
testimonial: "testimonial";
|
|
897
|
+
video_embed: "video_embed";
|
|
898
|
+
posts_grid: "posts_grid";
|
|
899
899
|
product_grid: "product_grid";
|
|
900
900
|
featured_product: "featured_product";
|
|
901
901
|
cart: "cart";
|
|
@@ -923,7 +923,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
923
923
|
status: "draft" | "published" | "archived";
|
|
924
924
|
title: string;
|
|
925
925
|
blocks?: {
|
|
926
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
926
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
927
927
|
content: Record<string, unknown>;
|
|
928
928
|
order?: number | undefined;
|
|
929
929
|
}[] | undefined;
|
|
@@ -941,7 +941,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
941
941
|
title: string;
|
|
942
942
|
tool: "create_cms_page";
|
|
943
943
|
blocks?: {
|
|
944
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
944
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
945
945
|
content: Record<string, unknown>;
|
|
946
946
|
order?: number | undefined;
|
|
947
947
|
}[] | undefined;
|
|
@@ -962,9 +962,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
962
962
|
checkout: "checkout";
|
|
963
963
|
button: "button";
|
|
964
964
|
image: "image";
|
|
965
|
-
posts_grid: "posts_grid";
|
|
966
|
-
video_embed: "video_embed";
|
|
967
965
|
testimonial: "testimonial";
|
|
966
|
+
video_embed: "video_embed";
|
|
967
|
+
posts_grid: "posts_grid";
|
|
968
968
|
product_grid: "product_grid";
|
|
969
969
|
featured_product: "featured_product";
|
|
970
970
|
cart: "cart";
|
|
@@ -995,7 +995,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
995
995
|
status: "draft" | "published" | "archived";
|
|
996
996
|
title: string;
|
|
997
997
|
blocks?: {
|
|
998
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
998
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
999
999
|
content: Record<string, unknown>;
|
|
1000
1000
|
order?: number | undefined;
|
|
1001
1001
|
}[] | undefined;
|
|
@@ -1016,7 +1016,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1016
1016
|
title: string;
|
|
1017
1017
|
tool: "create_cms_post";
|
|
1018
1018
|
blocks?: {
|
|
1019
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1019
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1020
1020
|
content: Record<string, unknown>;
|
|
1021
1021
|
order?: number | undefined;
|
|
1022
1022
|
}[] | undefined;
|
|
@@ -1040,9 +1040,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1040
1040
|
checkout: "checkout";
|
|
1041
1041
|
button: "button";
|
|
1042
1042
|
image: "image";
|
|
1043
|
-
posts_grid: "posts_grid";
|
|
1044
|
-
video_embed: "video_embed";
|
|
1045
1043
|
testimonial: "testimonial";
|
|
1044
|
+
video_embed: "video_embed";
|
|
1045
|
+
posts_grid: "posts_grid";
|
|
1046
1046
|
product_grid: "product_grid";
|
|
1047
1047
|
featured_product: "featured_product";
|
|
1048
1048
|
cart: "cart";
|
|
@@ -1099,7 +1099,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1099
1099
|
trial_period_days: number;
|
|
1100
1100
|
trial_requires_payment_method: boolean;
|
|
1101
1101
|
blocks?: {
|
|
1102
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1102
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1103
1103
|
content: Record<string, unknown>;
|
|
1104
1104
|
order?: number | undefined;
|
|
1105
1105
|
}[] | undefined;
|
|
@@ -1133,7 +1133,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1133
1133
|
trial_requires_payment_method: boolean;
|
|
1134
1134
|
tool: "create_cms_product";
|
|
1135
1135
|
blocks?: {
|
|
1136
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1136
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1137
1137
|
content: Record<string, unknown>;
|
|
1138
1138
|
order?: number | undefined;
|
|
1139
1139
|
}[] | undefined;
|
|
@@ -1226,9 +1226,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1226
1226
|
checkout: "checkout";
|
|
1227
1227
|
button: "button";
|
|
1228
1228
|
image: "image";
|
|
1229
|
-
posts_grid: "posts_grid";
|
|
1230
|
-
video_embed: "video_embed";
|
|
1231
1229
|
testimonial: "testimonial";
|
|
1230
|
+
video_embed: "video_embed";
|
|
1231
|
+
posts_grid: "posts_grid";
|
|
1232
1232
|
product_grid: "product_grid";
|
|
1233
1233
|
featured_product: "featured_product";
|
|
1234
1234
|
cart: "cart";
|
|
@@ -1250,7 +1250,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1250
1250
|
input: {
|
|
1251
1251
|
blockId: number;
|
|
1252
1252
|
content: Record<string, unknown>;
|
|
1253
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1253
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1254
1254
|
cmsTarget?: {
|
|
1255
1255
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1256
1256
|
entityId?: string | number | undefined;
|
|
@@ -1263,7 +1263,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1263
1263
|
blockId: number;
|
|
1264
1264
|
content: Record<string, unknown>;
|
|
1265
1265
|
tool: "update_content_block";
|
|
1266
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1266
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1267
1267
|
cmsTarget?: {
|
|
1268
1268
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1269
1269
|
entityId?: string | number | undefined;
|
|
@@ -1288,9 +1288,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1288
1288
|
checkout: "checkout";
|
|
1289
1289
|
button: "button";
|
|
1290
1290
|
image: "image";
|
|
1291
|
-
posts_grid: "posts_grid";
|
|
1292
|
-
video_embed: "video_embed";
|
|
1293
1291
|
testimonial: "testimonial";
|
|
1292
|
+
video_embed: "video_embed";
|
|
1293
|
+
posts_grid: "posts_grid";
|
|
1294
1294
|
product_grid: "product_grid";
|
|
1295
1295
|
featured_product: "featured_product";
|
|
1296
1296
|
cart: "cart";
|
|
@@ -1305,9 +1305,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1305
1305
|
checkout: "checkout";
|
|
1306
1306
|
button: "button";
|
|
1307
1307
|
image: "image";
|
|
1308
|
-
posts_grid: "posts_grid";
|
|
1309
|
-
video_embed: "video_embed";
|
|
1310
1308
|
testimonial: "testimonial";
|
|
1309
|
+
video_embed: "video_embed";
|
|
1310
|
+
posts_grid: "posts_grid";
|
|
1311
1311
|
product_grid: "product_grid";
|
|
1312
1312
|
featured_product: "featured_product";
|
|
1313
1313
|
cart: "cart";
|
|
@@ -1326,7 +1326,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1326
1326
|
}, z.core.$strict>, z.ZodTransform<{
|
|
1327
1327
|
input: {
|
|
1328
1328
|
block: {
|
|
1329
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1329
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1330
1330
|
content: Record<string, unknown>;
|
|
1331
1331
|
order?: number | undefined;
|
|
1332
1332
|
};
|
|
@@ -1336,12 +1336,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1336
1336
|
slug?: string | undefined;
|
|
1337
1337
|
title?: string | undefined;
|
|
1338
1338
|
anchorBlockId?: number | undefined;
|
|
1339
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1339
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1340
1340
|
};
|
|
1341
1341
|
tool: "insert_content_block";
|
|
1342
1342
|
}, {
|
|
1343
1343
|
block: {
|
|
1344
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1344
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1345
1345
|
content: Record<string, unknown>;
|
|
1346
1346
|
order?: number | undefined;
|
|
1347
1347
|
};
|
|
@@ -1352,7 +1352,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1352
1352
|
slug?: string | undefined;
|
|
1353
1353
|
title?: string | undefined;
|
|
1354
1354
|
anchorBlockId?: number | undefined;
|
|
1355
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1355
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1356
1356
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
1357
1357
|
cmsTarget: z.ZodOptional<z.ZodObject<{
|
|
1358
1358
|
contentType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1556,9 +1556,9 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1556
1556
|
checkout: "checkout";
|
|
1557
1557
|
button: "button";
|
|
1558
1558
|
image: "image";
|
|
1559
|
-
posts_grid: "posts_grid";
|
|
1560
|
-
video_embed: "video_embed";
|
|
1561
1559
|
testimonial: "testimonial";
|
|
1560
|
+
video_embed: "video_embed";
|
|
1561
|
+
posts_grid: "posts_grid";
|
|
1562
1562
|
product_grid: "product_grid";
|
|
1563
1563
|
featured_product: "featured_product";
|
|
1564
1564
|
cart: "cart";
|
|
@@ -1584,7 +1584,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1584
1584
|
columnIndex: number;
|
|
1585
1585
|
content: Record<string, unknown>;
|
|
1586
1586
|
parentBlockId: number;
|
|
1587
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1587
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1588
1588
|
cmsTarget?: {
|
|
1589
1589
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1590
1590
|
entityId?: string | number | undefined;
|
|
@@ -1599,7 +1599,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1599
1599
|
content: Record<string, unknown>;
|
|
1600
1600
|
parentBlockId: number;
|
|
1601
1601
|
tool: "update_section_column_block";
|
|
1602
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1602
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1603
1603
|
cmsTarget?: {
|
|
1604
1604
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1605
1605
|
entityId?: string | number | undefined;
|
|
@@ -1638,7 +1638,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1638
1638
|
status: "draft" | "published" | "archived";
|
|
1639
1639
|
title: string;
|
|
1640
1640
|
blocks?: {
|
|
1641
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1641
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1642
1642
|
content: Record<string, unknown>;
|
|
1643
1643
|
order?: number | undefined;
|
|
1644
1644
|
}[] | undefined;
|
|
@@ -1656,7 +1656,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1656
1656
|
status: "draft" | "published" | "archived";
|
|
1657
1657
|
title: string;
|
|
1658
1658
|
blocks?: {
|
|
1659
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1659
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1660
1660
|
content: Record<string, unknown>;
|
|
1661
1661
|
order?: number | undefined;
|
|
1662
1662
|
}[] | undefined;
|
|
@@ -1684,7 +1684,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1684
1684
|
trial_period_days: number;
|
|
1685
1685
|
trial_requires_payment_method: boolean;
|
|
1686
1686
|
blocks?: {
|
|
1687
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1687
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1688
1688
|
content: Record<string, unknown>;
|
|
1689
1689
|
order?: number | undefined;
|
|
1690
1690
|
}[] | undefined;
|
|
@@ -1731,7 +1731,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1731
1731
|
input: {
|
|
1732
1732
|
blockId: number;
|
|
1733
1733
|
content: Record<string, unknown>;
|
|
1734
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1734
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1735
1735
|
cmsTarget?: {
|
|
1736
1736
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1737
1737
|
entityId?: string | number | undefined;
|
|
@@ -1743,7 +1743,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1743
1743
|
} | {
|
|
1744
1744
|
input: {
|
|
1745
1745
|
block: {
|
|
1746
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1746
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
1747
1747
|
content: Record<string, unknown>;
|
|
1748
1748
|
order?: number | undefined;
|
|
1749
1749
|
};
|
|
@@ -1753,7 +1753,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1753
1753
|
slug?: string | undefined;
|
|
1754
1754
|
title?: string | undefined;
|
|
1755
1755
|
anchorBlockId?: number | undefined;
|
|
1756
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1756
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1757
1757
|
};
|
|
1758
1758
|
tool: "insert_content_block";
|
|
1759
1759
|
} | {
|
|
@@ -1822,7 +1822,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
|
|
|
1822
1822
|
columnIndex: number;
|
|
1823
1823
|
content: Record<string, unknown>;
|
|
1824
1824
|
parentBlockId: number;
|
|
1825
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
1825
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
1826
1826
|
cmsTarget?: {
|
|
1827
1827
|
contentType?: "page" | "product" | "post" | undefined;
|
|
1828
1828
|
entityId?: string | number | undefined;
|
|
@@ -2003,7 +2003,7 @@ export declare function executeUpdateSectionColumnBlock(input: UpdateSectionColu
|
|
|
2003
2003
|
blockIndex: number;
|
|
2004
2004
|
columnIndex: number;
|
|
2005
2005
|
mutationExecuted: boolean;
|
|
2006
|
-
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
2006
|
+
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
2007
2007
|
parentBlockId: any;
|
|
2008
2008
|
parentBlockType: any;
|
|
2009
2009
|
success: boolean;
|
|
@@ -2233,7 +2233,7 @@ export declare function executeCmsActionPlan(input: z.input<typeof executeCmsAct
|
|
|
2233
2233
|
blockIndex: number;
|
|
2234
2234
|
columnIndex: number;
|
|
2235
2235
|
mutationExecuted: boolean;
|
|
2236
|
-
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
2236
|
+
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
2237
2237
|
parentBlockId: any;
|
|
2238
2238
|
parentBlockType: any;
|
|
2239
2239
|
success: boolean;
|
|
@@ -2459,9 +2459,9 @@ export declare const rewritePageDraftInputSchema: z.ZodObject<{
|
|
|
2459
2459
|
checkout: "checkout";
|
|
2460
2460
|
button: "button";
|
|
2461
2461
|
image: "image";
|
|
2462
|
-
posts_grid: "posts_grid";
|
|
2463
|
-
video_embed: "video_embed";
|
|
2464
2462
|
testimonial: "testimonial";
|
|
2463
|
+
video_embed: "video_embed";
|
|
2464
|
+
posts_grid: "posts_grid";
|
|
2465
2465
|
product_grid: "product_grid";
|
|
2466
2466
|
featured_product: "featured_product";
|
|
2467
2467
|
cart: "cart";
|
|
@@ -2924,7 +2924,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
2924
2924
|
}>;
|
|
2925
2925
|
rewrite_page_draft: import('ai').Tool<{
|
|
2926
2926
|
blocks: {
|
|
2927
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
2927
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
2928
2928
|
content: Record<string, unknown>;
|
|
2929
2929
|
order?: number | undefined;
|
|
2930
2930
|
}[];
|
|
@@ -3010,7 +3010,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3010
3010
|
status: "draft" | "published" | "archived";
|
|
3011
3011
|
title: string;
|
|
3012
3012
|
blocks?: {
|
|
3013
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3013
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3014
3014
|
content: Record<string, unknown>;
|
|
3015
3015
|
order?: number | undefined;
|
|
3016
3016
|
}[] | undefined;
|
|
@@ -3060,7 +3060,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3060
3060
|
status: "draft" | "published" | "archived";
|
|
3061
3061
|
title: string;
|
|
3062
3062
|
blocks?: {
|
|
3063
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3063
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3064
3064
|
content: Record<string, unknown>;
|
|
3065
3065
|
order?: number | undefined;
|
|
3066
3066
|
}[] | undefined;
|
|
@@ -3120,7 +3120,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3120
3120
|
trial_period_days: number;
|
|
3121
3121
|
trial_requires_payment_method: boolean;
|
|
3122
3122
|
blocks?: {
|
|
3123
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3123
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3124
3124
|
content: Record<string, unknown>;
|
|
3125
3125
|
order?: number | undefined;
|
|
3126
3126
|
}[] | undefined;
|
|
@@ -3243,7 +3243,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3243
3243
|
update_content_block: import('ai').Tool<{
|
|
3244
3244
|
blockId: number;
|
|
3245
3245
|
content: Record<string, unknown>;
|
|
3246
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3246
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3247
3247
|
cmsTarget?: {
|
|
3248
3248
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3249
3249
|
entityId?: string | number | undefined;
|
|
@@ -3265,7 +3265,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3265
3265
|
}>;
|
|
3266
3266
|
insert_content_block: import('ai').Tool<{
|
|
3267
3267
|
block: {
|
|
3268
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3268
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3269
3269
|
content: Record<string, unknown>;
|
|
3270
3270
|
order?: number | undefined;
|
|
3271
3271
|
};
|
|
@@ -3275,7 +3275,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3275
3275
|
slug?: string | undefined;
|
|
3276
3276
|
title?: string | undefined;
|
|
3277
3277
|
anchorBlockId?: number | undefined;
|
|
3278
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3278
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3279
3279
|
}, {
|
|
3280
3280
|
confirmationPhrase: string;
|
|
3281
3281
|
mutationExecuted: boolean;
|
|
@@ -3401,7 +3401,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3401
3401
|
columnIndex: number;
|
|
3402
3402
|
content: Record<string, unknown>;
|
|
3403
3403
|
parentBlockId: number;
|
|
3404
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3404
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3405
3405
|
cmsTarget?: {
|
|
3406
3406
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3407
3407
|
entityId?: string | number | undefined;
|
|
@@ -3418,7 +3418,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3418
3418
|
blockIndex: number;
|
|
3419
3419
|
columnIndex: number;
|
|
3420
3420
|
mutationExecuted: boolean;
|
|
3421
|
-
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3421
|
+
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3422
3422
|
parentBlockId: any;
|
|
3423
3423
|
parentBlockType: any;
|
|
3424
3424
|
success: boolean;
|
|
@@ -3429,7 +3429,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3429
3429
|
status: "draft" | "published" | "archived";
|
|
3430
3430
|
title: string;
|
|
3431
3431
|
blocks?: {
|
|
3432
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3432
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3433
3433
|
content: Record<string, unknown>;
|
|
3434
3434
|
order?: number | undefined;
|
|
3435
3435
|
}[] | undefined;
|
|
@@ -3447,7 +3447,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3447
3447
|
status: "draft" | "published" | "archived";
|
|
3448
3448
|
title: string;
|
|
3449
3449
|
blocks?: {
|
|
3450
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3450
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3451
3451
|
content: Record<string, unknown>;
|
|
3452
3452
|
order?: number | undefined;
|
|
3453
3453
|
}[] | undefined;
|
|
@@ -3475,7 +3475,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3475
3475
|
trial_period_days: number;
|
|
3476
3476
|
trial_requires_payment_method: boolean;
|
|
3477
3477
|
blocks?: {
|
|
3478
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3478
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3479
3479
|
content: Record<string, unknown>;
|
|
3480
3480
|
order?: number | undefined;
|
|
3481
3481
|
}[] | undefined;
|
|
@@ -3522,7 +3522,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3522
3522
|
input: {
|
|
3523
3523
|
blockId: number;
|
|
3524
3524
|
content: Record<string, unknown>;
|
|
3525
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3525
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3526
3526
|
cmsTarget?: {
|
|
3527
3527
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3528
3528
|
entityId?: string | number | undefined;
|
|
@@ -3534,7 +3534,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3534
3534
|
} | {
|
|
3535
3535
|
input: {
|
|
3536
3536
|
block: {
|
|
3537
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3537
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3538
3538
|
content: Record<string, unknown>;
|
|
3539
3539
|
order?: number | undefined;
|
|
3540
3540
|
};
|
|
@@ -3544,7 +3544,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3544
3544
|
slug?: string | undefined;
|
|
3545
3545
|
title?: string | undefined;
|
|
3546
3546
|
anchorBlockId?: number | undefined;
|
|
3547
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3547
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3548
3548
|
};
|
|
3549
3549
|
tool: "insert_content_block";
|
|
3550
3550
|
} | {
|
|
@@ -3613,7 +3613,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3613
3613
|
columnIndex: number;
|
|
3614
3614
|
content: Record<string, unknown>;
|
|
3615
3615
|
parentBlockId: number;
|
|
3616
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3616
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3617
3617
|
cmsTarget?: {
|
|
3618
3618
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3619
3619
|
entityId?: string | number | undefined;
|
|
@@ -3636,7 +3636,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3636
3636
|
status: "draft" | "published" | "archived";
|
|
3637
3637
|
title: string;
|
|
3638
3638
|
blocks?: {
|
|
3639
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3639
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3640
3640
|
content: Record<string, unknown>;
|
|
3641
3641
|
order?: number | undefined;
|
|
3642
3642
|
}[] | undefined;
|
|
@@ -3654,7 +3654,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3654
3654
|
status: "draft" | "published" | "archived";
|
|
3655
3655
|
title: string;
|
|
3656
3656
|
blocks?: {
|
|
3657
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3657
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3658
3658
|
content: Record<string, unknown>;
|
|
3659
3659
|
order?: number | undefined;
|
|
3660
3660
|
}[] | undefined;
|
|
@@ -3682,7 +3682,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3682
3682
|
trial_period_days: number;
|
|
3683
3683
|
trial_requires_payment_method: boolean;
|
|
3684
3684
|
blocks?: {
|
|
3685
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3685
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3686
3686
|
content: Record<string, unknown>;
|
|
3687
3687
|
order?: number | undefined;
|
|
3688
3688
|
}[] | undefined;
|
|
@@ -3729,7 +3729,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3729
3729
|
input: {
|
|
3730
3730
|
blockId: number;
|
|
3731
3731
|
content: Record<string, unknown>;
|
|
3732
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3732
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3733
3733
|
cmsTarget?: {
|
|
3734
3734
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3735
3735
|
entityId?: string | number | undefined;
|
|
@@ -3741,7 +3741,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3741
3741
|
} | {
|
|
3742
3742
|
input: {
|
|
3743
3743
|
block: {
|
|
3744
|
-
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3744
|
+
blockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3745
3745
|
content: Record<string, unknown>;
|
|
3746
3746
|
order?: number | undefined;
|
|
3747
3747
|
};
|
|
@@ -3751,7 +3751,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3751
3751
|
slug?: string | undefined;
|
|
3752
3752
|
title?: string | undefined;
|
|
3753
3753
|
anchorBlockId?: number | undefined;
|
|
3754
|
-
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3754
|
+
anchorBlockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3755
3755
|
};
|
|
3756
3756
|
tool: "insert_content_block";
|
|
3757
3757
|
} | {
|
|
@@ -3820,7 +3820,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3820
3820
|
columnIndex: number;
|
|
3821
3821
|
content: Record<string, unknown>;
|
|
3822
3822
|
parentBlockId: number;
|
|
3823
|
-
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3823
|
+
blockType?: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details" | undefined;
|
|
3824
3824
|
cmsTarget?: {
|
|
3825
3825
|
contentType?: "page" | "product" | "post" | undefined;
|
|
3826
3826
|
entityId?: string | number | undefined;
|
|
@@ -3909,7 +3909,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
|
|
|
3909
3909
|
blockIndex: number;
|
|
3910
3910
|
columnIndex: number;
|
|
3911
3911
|
mutationExecuted: boolean;
|
|
3912
|
-
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "
|
|
3912
|
+
nestedBlockType: "text" | "section" | "form" | "heading" | "checkout" | "button" | "image" | "testimonial" | "video_embed" | "posts_grid" | "product_grid" | "featured_product" | "cart" | "product_details";
|
|
3913
3913
|
parentBlockId: any;
|
|
3914
3914
|
parentBlockType: any;
|
|
3915
3915
|
success: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextblock-cms/cortex",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
4
4
|
"license": "AGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ai-sdk/openai-compatible": "^2.0.42",
|
|
31
|
-
"@nextblock-cms/db": "^0.16.
|
|
32
|
-
"@nextblock-cms/ecommerce": "npm:@nextblock-cms/ecom@^0.16.
|
|
33
|
-
"@nextblock-cms/utils": "^0.16.
|
|
31
|
+
"@nextblock-cms/db": "^0.16.4",
|
|
32
|
+
"@nextblock-cms/ecommerce": "npm:@nextblock-cms/ecom@^0.16.4",
|
|
33
|
+
"@nextblock-cms/utils": "^0.16.4",
|
|
34
34
|
"ai": "^6.0.170",
|
|
35
35
|
"zod": "^4.3.6"
|
|
36
36
|
},
|