@nextblock-cms/cortex 0.13.2 → 0.13.5

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.
@@ -35,15 +35,15 @@ type ToolExecutionContext = {
35
35
  export declare const navigationItemInputSchema: z.ZodObject<{
36
36
  label: z.ZodString;
37
37
  target: z.ZodOptional<z.ZodEnum<{
38
- _self: "_self";
39
38
  _blank: "_blank";
39
+ _self: "_self";
40
40
  }>>;
41
41
  url: z.ZodString;
42
42
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
43
  label: z.ZodString;
44
44
  target: z.ZodOptional<z.ZodEnum<{
45
- _self: "_self";
46
45
  _blank: "_blank";
46
+ _self: "_self";
47
47
  }>>;
48
48
  url: z.ZodString;
49
49
  }, z.core.$strict>>>;
@@ -52,15 +52,15 @@ export declare const updateNavigationBarInputSchema: z.ZodObject<{
52
52
  items: z.ZodArray<z.ZodObject<{
53
53
  label: z.ZodString;
54
54
  target: z.ZodOptional<z.ZodEnum<{
55
- _self: "_self";
56
55
  _blank: "_blank";
56
+ _self: "_self";
57
57
  }>>;
58
58
  url: z.ZodString;
59
59
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
60
  label: z.ZodString;
61
61
  target: z.ZodOptional<z.ZodEnum<{
62
- _self: "_self";
63
62
  _blank: "_blank";
63
+ _self: "_self";
64
64
  }>>;
65
65
  url: z.ZodString;
66
66
  }, z.core.$strict>>>;
@@ -82,15 +82,15 @@ export declare const updateFooterInputSchema: z.ZodObject<{
82
82
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
83
  label: z.ZodString;
84
84
  target: z.ZodOptional<z.ZodEnum<{
85
- _self: "_self";
86
85
  _blank: "_blank";
86
+ _self: "_self";
87
87
  }>>;
88
88
  url: z.ZodString;
89
89
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
90
90
  label: z.ZodString;
91
91
  target: z.ZodOptional<z.ZodEnum<{
92
- _self: "_self";
93
92
  _blank: "_blank";
93
+ _self: "_self";
94
94
  }>>;
95
95
  url: z.ZodString;
96
96
  }, z.core.$strict>>>;
@@ -166,12 +166,12 @@ export declare const updateContentBlockInputSchema: z.ZodObject<{
166
166
  blockType: z.ZodOptional<z.ZodEnum<{
167
167
  text: "text";
168
168
  section: "section";
169
+ form: "form";
169
170
  heading: "heading";
170
171
  image: "image";
171
172
  button: "button";
172
173
  posts_grid: "posts_grid";
173
174
  video_embed: "video_embed";
174
- form: "form";
175
175
  testimonial: "testimonial";
176
176
  product_grid: "product_grid";
177
177
  featured_product: "featured_product";
@@ -186,12 +186,12 @@ export declare const updateSectionColumnBlockInputSchema: z.ZodObject<{
186
186
  blockType: z.ZodOptional<z.ZodEnum<{
187
187
  text: "text";
188
188
  section: "section";
189
+ form: "form";
189
190
  heading: "heading";
190
191
  image: "image";
191
192
  button: "button";
192
193
  posts_grid: "posts_grid";
193
194
  video_embed: "video_embed";
194
- form: "form";
195
195
  testimonial: "testimonial";
196
196
  product_grid: "product_grid";
197
197
  featured_product: "featured_product";
@@ -203,6 +203,18 @@ export declare const updateSectionColumnBlockInputSchema: z.ZodObject<{
203
203
  content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
204
204
  parentBlockId: z.ZodNumber;
205
205
  }, z.core.$strict>;
206
+ export declare const setContentImagesInputSchema: z.ZodObject<{
207
+ contentType: z.ZodOptional<z.ZodEnum<{
208
+ product: "product";
209
+ page: "page";
210
+ post: "post";
211
+ }>>;
212
+ entityId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
213
+ slug: z.ZodOptional<z.ZodString>;
214
+ title: z.ZodOptional<z.ZodString>;
215
+ images: z.ZodArray<z.ZodString>;
216
+ }, z.core.$strict>;
217
+ type SetContentImagesInput = z.input<typeof setContentImagesInputSchema>;
206
218
  export declare const insertContentBlockInputSchema: z.ZodObject<{
207
219
  contentType: z.ZodOptional<z.ZodEnum<{
208
220
  product: "product";
@@ -216,12 +228,12 @@ export declare const insertContentBlockInputSchema: z.ZodObject<{
216
228
  anchorBlockType: z.ZodOptional<z.ZodEnum<{
217
229
  text: "text";
218
230
  section: "section";
231
+ form: "form";
219
232
  heading: "heading";
220
233
  image: "image";
221
234
  button: "button";
222
235
  posts_grid: "posts_grid";
223
236
  video_embed: "video_embed";
224
- form: "form";
225
237
  testimonial: "testimonial";
226
238
  product_grid: "product_grid";
227
239
  featured_product: "featured_product";
@@ -233,12 +245,12 @@ export declare const insertContentBlockInputSchema: z.ZodObject<{
233
245
  blockType: z.ZodEnum<{
234
246
  text: "text";
235
247
  section: "section";
248
+ form: "form";
236
249
  heading: "heading";
237
250
  image: "image";
238
251
  button: "button";
239
252
  posts_grid: "posts_grid";
240
253
  video_embed: "video_embed";
241
- form: "form";
242
254
  testimonial: "testimonial";
243
255
  product_grid: "product_grid";
244
256
  featured_product: "featured_product";
@@ -261,12 +273,12 @@ export declare const createCmsPageInputSchema: z.ZodObject<{
261
273
  blockType: z.ZodEnum<{
262
274
  text: "text";
263
275
  section: "section";
276
+ form: "form";
264
277
  heading: "heading";
265
278
  image: "image";
266
279
  button: "button";
267
280
  posts_grid: "posts_grid";
268
281
  video_embed: "video_embed";
269
- form: "form";
270
282
  testimonial: "testimonial";
271
283
  product_grid: "product_grid";
272
284
  featured_product: "featured_product";
@@ -296,12 +308,12 @@ export declare const createCmsPostInputSchema: z.ZodObject<{
296
308
  blockType: z.ZodEnum<{
297
309
  text: "text";
298
310
  section: "section";
311
+ form: "form";
299
312
  heading: "heading";
300
313
  image: "image";
301
314
  button: "button";
302
315
  posts_grid: "posts_grid";
303
316
  video_embed: "video_embed";
304
- form: "form";
305
317
  testimonial: "testimonial";
306
318
  product_grid: "product_grid";
307
319
  featured_product: "featured_product";
@@ -330,9 +342,31 @@ export declare const createCmsPostInputSchema: z.ZodObject<{
330
342
  translationGroupId: z.ZodOptional<z.ZodString>;
331
343
  }, z.core.$strict>;
332
344
  export declare const createCmsProductInputSchema: z.ZodObject<{
345
+ blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ blockType: z.ZodEnum<{
347
+ text: "text";
348
+ section: "section";
349
+ form: "form";
350
+ heading: "heading";
351
+ image: "image";
352
+ button: "button";
353
+ posts_grid: "posts_grid";
354
+ video_embed: "video_embed";
355
+ testimonial: "testimonial";
356
+ product_grid: "product_grid";
357
+ featured_product: "featured_product";
358
+ cart: "cart";
359
+ checkout: "checkout";
360
+ product_details: "product_details";
361
+ }>;
362
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
363
+ order: z.ZodOptional<z.ZodNumber>;
364
+ }, z.core.$strict>>>;
365
+ description_html: z.ZodOptional<z.ZodString>;
333
366
  description_json: z.ZodOptional<z.ZodUnknown>;
334
367
  freemius_plan_id: z.ZodOptional<z.ZodString>;
335
368
  freemius_product_id: z.ZodOptional<z.ZodString>;
369
+ images: z.ZodOptional<z.ZodArray<z.ZodString>>;
336
370
  is_taxable: z.ZodDefault<z.ZodBoolean>;
337
371
  languageCode: z.ZodOptional<z.ZodString>;
338
372
  meta_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -406,12 +440,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
406
440
  blockType: z.ZodEnum<{
407
441
  text: "text";
408
442
  section: "section";
443
+ form: "form";
409
444
  heading: "heading";
410
445
  image: "image";
411
446
  button: "button";
412
447
  posts_grid: "posts_grid";
413
448
  video_embed: "video_embed";
414
- form: "form";
415
449
  testimonial: "testimonial";
416
450
  product_grid: "product_grid";
417
451
  featured_product: "featured_product";
@@ -443,12 +477,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
443
477
  blockType: z.ZodEnum<{
444
478
  text: "text";
445
479
  section: "section";
480
+ form: "form";
446
481
  heading: "heading";
447
482
  image: "image";
448
483
  button: "button";
449
484
  posts_grid: "posts_grid";
450
485
  video_embed: "video_embed";
451
- form: "form";
452
486
  testimonial: "testimonial";
453
487
  product_grid: "product_grid";
454
488
  featured_product: "featured_product";
@@ -479,9 +513,31 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
479
513
  tool: z.ZodLiteral<"create_cms_post">;
480
514
  }, z.core.$strict>, z.ZodObject<{
481
515
  input: z.ZodObject<{
516
+ blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ blockType: z.ZodEnum<{
518
+ text: "text";
519
+ section: "section";
520
+ form: "form";
521
+ heading: "heading";
522
+ image: "image";
523
+ button: "button";
524
+ posts_grid: "posts_grid";
525
+ video_embed: "video_embed";
526
+ testimonial: "testimonial";
527
+ product_grid: "product_grid";
528
+ featured_product: "featured_product";
529
+ cart: "cart";
530
+ checkout: "checkout";
531
+ product_details: "product_details";
532
+ }>;
533
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
534
+ order: z.ZodOptional<z.ZodNumber>;
535
+ }, z.core.$strict>>>;
536
+ description_html: z.ZodOptional<z.ZodString>;
482
537
  description_json: z.ZodOptional<z.ZodUnknown>;
483
538
  freemius_plan_id: z.ZodOptional<z.ZodString>;
484
539
  freemius_product_id: z.ZodOptional<z.ZodString>;
540
+ images: z.ZodOptional<z.ZodArray<z.ZodString>>;
485
541
  is_taxable: z.ZodDefault<z.ZodBoolean>;
486
542
  languageCode: z.ZodOptional<z.ZodString>;
487
543
  meta_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -549,12 +605,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
549
605
  blockType: z.ZodOptional<z.ZodEnum<{
550
606
  text: "text";
551
607
  section: "section";
608
+ form: "form";
552
609
  heading: "heading";
553
610
  image: "image";
554
611
  button: "button";
555
612
  posts_grid: "posts_grid";
556
613
  video_embed: "video_embed";
557
- form: "form";
558
614
  testimonial: "testimonial";
559
615
  product_grid: "product_grid";
560
616
  featured_product: "featured_product";
@@ -579,12 +635,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
579
635
  anchorBlockType: z.ZodOptional<z.ZodEnum<{
580
636
  text: "text";
581
637
  section: "section";
638
+ form: "form";
582
639
  heading: "heading";
583
640
  image: "image";
584
641
  button: "button";
585
642
  posts_grid: "posts_grid";
586
643
  video_embed: "video_embed";
587
- form: "form";
588
644
  testimonial: "testimonial";
589
645
  product_grid: "product_grid";
590
646
  featured_product: "featured_product";
@@ -596,12 +652,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
596
652
  blockType: z.ZodEnum<{
597
653
  text: "text";
598
654
  section: "section";
655
+ form: "form";
599
656
  heading: "heading";
600
657
  image: "image";
601
658
  button: "button";
602
659
  posts_grid: "posts_grid";
603
660
  video_embed: "video_embed";
604
- form: "form";
605
661
  testimonial: "testimonial";
606
662
  product_grid: "product_grid";
607
663
  featured_product: "featured_product";
@@ -650,15 +706,15 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
650
706
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
651
707
  label: z.ZodString;
652
708
  target: z.ZodOptional<z.ZodEnum<{
653
- _self: "_self";
654
709
  _blank: "_blank";
710
+ _self: "_self";
655
711
  }>>;
656
712
  url: z.ZodString;
657
713
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
658
714
  label: z.ZodString;
659
715
  target: z.ZodOptional<z.ZodEnum<{
660
- _self: "_self";
661
716
  _blank: "_blank";
717
+ _self: "_self";
662
718
  }>>;
663
719
  url: z.ZodString;
664
720
  }, z.core.$strict>>>;
@@ -670,15 +726,15 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
670
726
  items: z.ZodArray<z.ZodObject<{
671
727
  label: z.ZodString;
672
728
  target: z.ZodOptional<z.ZodEnum<{
673
- _self: "_self";
674
729
  _blank: "_blank";
730
+ _self: "_self";
675
731
  }>>;
676
732
  url: z.ZodString;
677
733
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
678
734
  label: z.ZodString;
679
735
  target: z.ZodOptional<z.ZodEnum<{
680
- _self: "_self";
681
736
  _blank: "_blank";
737
+ _self: "_self";
682
738
  }>>;
683
739
  url: z.ZodString;
684
740
  }, z.core.$strict>>>;
@@ -701,12 +757,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
701
757
  blockType: z.ZodOptional<z.ZodEnum<{
702
758
  text: "text";
703
759
  section: "section";
760
+ form: "form";
704
761
  heading: "heading";
705
762
  image: "image";
706
763
  button: "button";
707
764
  posts_grid: "posts_grid";
708
765
  video_embed: "video_embed";
709
- form: "form";
710
766
  testimonial: "testimonial";
711
767
  product_grid: "product_grid";
712
768
  featured_product: "featured_product";
@@ -719,17 +775,30 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
719
775
  parentBlockId: z.ZodNumber;
720
776
  }, z.core.$strict>;
721
777
  tool: z.ZodLiteral<"update_section_column_block">;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ input: z.ZodObject<{
780
+ contentType: z.ZodOptional<z.ZodEnum<{
781
+ product: "product";
782
+ page: "page";
783
+ post: "post";
784
+ }>>;
785
+ entityId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
786
+ slug: z.ZodOptional<z.ZodString>;
787
+ title: z.ZodOptional<z.ZodString>;
788
+ images: z.ZodArray<z.ZodString>;
789
+ }, z.core.$strict>;
790
+ tool: z.ZodLiteral<"set_content_images">;
722
791
  }, z.core.$strict>], "tool">, z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
723
792
  blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
724
793
  blockType: z.ZodEnum<{
725
794
  text: "text";
726
795
  section: "section";
796
+ form: "form";
727
797
  heading: "heading";
728
798
  image: "image";
729
799
  button: "button";
730
800
  posts_grid: "posts_grid";
731
801
  video_embed: "video_embed";
732
- form: "form";
733
802
  testimonial: "testimonial";
734
803
  product_grid: "product_grid";
735
804
  featured_product: "featured_product";
@@ -759,7 +828,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
759
828
  status: "draft" | "published" | "archived";
760
829
  title: string;
761
830
  blocks?: {
762
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
831
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
763
832
  content: Record<string, unknown>;
764
833
  order?: number | undefined;
765
834
  }[] | undefined;
@@ -777,7 +846,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
777
846
  title: string;
778
847
  tool: "create_cms_page";
779
848
  blocks?: {
780
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
849
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
781
850
  content: Record<string, unknown>;
782
851
  order?: number | undefined;
783
852
  }[] | undefined;
@@ -793,12 +862,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
793
862
  blockType: z.ZodEnum<{
794
863
  text: "text";
795
864
  section: "section";
865
+ form: "form";
796
866
  heading: "heading";
797
867
  image: "image";
798
868
  button: "button";
799
869
  posts_grid: "posts_grid";
800
870
  video_embed: "video_embed";
801
- form: "form";
802
871
  testimonial: "testimonial";
803
872
  product_grid: "product_grid";
804
873
  featured_product: "featured_product";
@@ -831,7 +900,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
831
900
  status: "draft" | "published" | "archived";
832
901
  title: string;
833
902
  blocks?: {
834
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
903
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
835
904
  content: Record<string, unknown>;
836
905
  order?: number | undefined;
837
906
  }[] | undefined;
@@ -852,7 +921,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
852
921
  title: string;
853
922
  tool: "create_cms_post";
854
923
  blocks?: {
855
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
924
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
856
925
  content: Record<string, unknown>;
857
926
  order?: number | undefined;
858
927
  }[] | undefined;
@@ -867,9 +936,31 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
867
936
  subtitle?: string | null | undefined;
868
937
  translationGroupId?: string | undefined;
869
938
  }>>, z.ZodPipe<z.ZodObject<{
939
+ blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
940
+ blockType: z.ZodEnum<{
941
+ text: "text";
942
+ section: "section";
943
+ form: "form";
944
+ heading: "heading";
945
+ image: "image";
946
+ button: "button";
947
+ posts_grid: "posts_grid";
948
+ video_embed: "video_embed";
949
+ testimonial: "testimonial";
950
+ product_grid: "product_grid";
951
+ featured_product: "featured_product";
952
+ cart: "cart";
953
+ checkout: "checkout";
954
+ product_details: "product_details";
955
+ }>;
956
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
957
+ order: z.ZodOptional<z.ZodNumber>;
958
+ }, z.core.$strict>>>;
959
+ description_html: z.ZodOptional<z.ZodString>;
870
960
  description_json: z.ZodOptional<z.ZodUnknown>;
871
961
  freemius_plan_id: z.ZodOptional<z.ZodString>;
872
962
  freemius_product_id: z.ZodOptional<z.ZodString>;
963
+ images: z.ZodOptional<z.ZodArray<z.ZodString>>;
873
964
  is_taxable: z.ZodDefault<z.ZodBoolean>;
874
965
  languageCode: z.ZodOptional<z.ZodString>;
875
966
  meta_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -912,9 +1003,16 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
912
1003
  title: string;
913
1004
  trial_period_days: number;
914
1005
  trial_requires_payment_method: boolean;
1006
+ blocks?: {
1007
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1008
+ content: Record<string, unknown>;
1009
+ order?: number | undefined;
1010
+ }[] | undefined;
1011
+ description_html?: string | undefined;
915
1012
  description_json?: unknown;
916
1013
  freemius_plan_id?: string | undefined;
917
1014
  freemius_product_id?: string | undefined;
1015
+ images?: string[] | undefined;
918
1016
  languageCode?: string | undefined;
919
1017
  meta_description?: string | null | undefined;
920
1018
  meta_title?: string | null | undefined;
@@ -939,9 +1037,16 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
939
1037
  trial_period_days: number;
940
1038
  trial_requires_payment_method: boolean;
941
1039
  tool: "create_cms_product";
1040
+ blocks?: {
1041
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1042
+ content: Record<string, unknown>;
1043
+ order?: number | undefined;
1044
+ }[] | undefined;
1045
+ description_html?: string | undefined;
942
1046
  description_json?: unknown;
943
1047
  freemius_plan_id?: string | undefined;
944
1048
  freemius_product_id?: string | undefined;
1049
+ images?: string[] | undefined;
945
1050
  languageCode?: string | undefined;
946
1051
  meta_description?: string | null | undefined;
947
1052
  meta_title?: string | null | undefined;
@@ -1021,12 +1126,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1021
1126
  blockType: z.ZodOptional<z.ZodEnum<{
1022
1127
  text: "text";
1023
1128
  section: "section";
1129
+ form: "form";
1024
1130
  heading: "heading";
1025
1131
  image: "image";
1026
1132
  button: "button";
1027
1133
  posts_grid: "posts_grid";
1028
1134
  video_embed: "video_embed";
1029
- form: "form";
1030
1135
  testimonial: "testimonial";
1031
1136
  product_grid: "product_grid";
1032
1137
  featured_product: "featured_product";
@@ -1040,14 +1145,14 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1040
1145
  input: {
1041
1146
  blockId: number;
1042
1147
  content: Record<string, unknown>;
1043
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1148
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1044
1149
  };
1045
1150
  tool: "update_content_block";
1046
1151
  }, {
1047
1152
  blockId: number;
1048
1153
  content: Record<string, unknown>;
1049
1154
  tool: "update_content_block";
1050
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1155
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1051
1156
  }>>, z.ZodPipe<z.ZodObject<{
1052
1157
  contentType: z.ZodOptional<z.ZodEnum<{
1053
1158
  product: "product";
@@ -1061,12 +1166,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1061
1166
  anchorBlockType: z.ZodOptional<z.ZodEnum<{
1062
1167
  text: "text";
1063
1168
  section: "section";
1169
+ form: "form";
1064
1170
  heading: "heading";
1065
1171
  image: "image";
1066
1172
  button: "button";
1067
1173
  posts_grid: "posts_grid";
1068
1174
  video_embed: "video_embed";
1069
- form: "form";
1070
1175
  testimonial: "testimonial";
1071
1176
  product_grid: "product_grid";
1072
1177
  featured_product: "featured_product";
@@ -1078,12 +1183,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1078
1183
  blockType: z.ZodEnum<{
1079
1184
  text: "text";
1080
1185
  section: "section";
1186
+ form: "form";
1081
1187
  heading: "heading";
1082
1188
  image: "image";
1083
1189
  button: "button";
1084
1190
  posts_grid: "posts_grid";
1085
1191
  video_embed: "video_embed";
1086
- form: "form";
1087
1192
  testimonial: "testimonial";
1088
1193
  product_grid: "product_grid";
1089
1194
  featured_product: "featured_product";
@@ -1104,7 +1209,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1104
1209
  }, z.core.$strict>, z.ZodTransform<{
1105
1210
  input: {
1106
1211
  block: {
1107
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1212
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1108
1213
  content: Record<string, unknown>;
1109
1214
  order?: number | undefined;
1110
1215
  };
@@ -1114,12 +1219,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1114
1219
  slug?: string | undefined;
1115
1220
  title?: string | undefined;
1116
1221
  anchorBlockId?: number | undefined;
1117
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1222
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1118
1223
  };
1119
1224
  tool: "insert_content_block";
1120
1225
  }, {
1121
1226
  block: {
1122
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1227
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1123
1228
  content: Record<string, unknown>;
1124
1229
  order?: number | undefined;
1125
1230
  };
@@ -1130,7 +1235,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1130
1235
  slug?: string | undefined;
1131
1236
  title?: string | undefined;
1132
1237
  anchorBlockId?: number | undefined;
1133
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1238
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1134
1239
  }>>, z.ZodPipe<z.ZodObject<{
1135
1240
  fields: z.ZodObject<{
1136
1241
  description_json: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
@@ -1192,15 +1297,15 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1192
1297
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1193
1298
  label: z.ZodString;
1194
1299
  target: z.ZodOptional<z.ZodEnum<{
1195
- _self: "_self";
1196
1300
  _blank: "_blank";
1301
+ _self: "_self";
1197
1302
  }>>;
1198
1303
  url: z.ZodString;
1199
1304
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
1200
1305
  label: z.ZodString;
1201
1306
  target: z.ZodOptional<z.ZodEnum<{
1202
- _self: "_self";
1203
1307
  _blank: "_blank";
1308
+ _self: "_self";
1204
1309
  }>>;
1205
1310
  url: z.ZodString;
1206
1311
  }, z.core.$strict>>>;
@@ -1213,11 +1318,11 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1213
1318
  links?: {
1214
1319
  label: string;
1215
1320
  url: string;
1216
- target?: "_self" | "_blank" | undefined;
1321
+ target?: "_blank" | "_self" | undefined;
1217
1322
  children?: {
1218
1323
  label: string;
1219
1324
  url: string;
1220
- target?: "_self" | "_blank" | undefined;
1325
+ target?: "_blank" | "_self" | undefined;
1221
1326
  }[] | undefined;
1222
1327
  }[] | undefined;
1223
1328
  };
@@ -1229,26 +1334,26 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1229
1334
  links?: {
1230
1335
  label: string;
1231
1336
  url: string;
1232
- target?: "_self" | "_blank" | undefined;
1337
+ target?: "_blank" | "_self" | undefined;
1233
1338
  children?: {
1234
1339
  label: string;
1235
1340
  url: string;
1236
- target?: "_self" | "_blank" | undefined;
1341
+ target?: "_blank" | "_self" | undefined;
1237
1342
  }[] | undefined;
1238
1343
  }[] | undefined;
1239
1344
  }>>, z.ZodPipe<z.ZodObject<{
1240
1345
  items: z.ZodArray<z.ZodObject<{
1241
1346
  label: z.ZodString;
1242
1347
  target: z.ZodOptional<z.ZodEnum<{
1243
- _self: "_self";
1244
1348
  _blank: "_blank";
1349
+ _self: "_self";
1245
1350
  }>>;
1246
1351
  url: z.ZodString;
1247
1352
  children: z.ZodOptional<z.ZodArray<z.ZodObject<{
1248
1353
  label: z.ZodString;
1249
1354
  target: z.ZodOptional<z.ZodEnum<{
1250
- _self: "_self";
1251
1355
  _blank: "_blank";
1356
+ _self: "_self";
1252
1357
  }>>;
1253
1358
  url: z.ZodString;
1254
1359
  }, z.core.$strict>>>;
@@ -1269,11 +1374,11 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1269
1374
  items: {
1270
1375
  label: string;
1271
1376
  url: string;
1272
- target?: "_self" | "_blank" | undefined;
1377
+ target?: "_blank" | "_self" | undefined;
1273
1378
  children?: {
1274
1379
  label: string;
1275
1380
  url: string;
1276
- target?: "_self" | "_blank" | undefined;
1381
+ target?: "_blank" | "_self" | undefined;
1277
1382
  }[] | undefined;
1278
1383
  }[];
1279
1384
  languageCode: string;
@@ -1288,11 +1393,11 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1288
1393
  items: {
1289
1394
  label: string;
1290
1395
  url: string;
1291
- target?: "_self" | "_blank" | undefined;
1396
+ target?: "_blank" | "_self" | undefined;
1292
1397
  children?: {
1293
1398
  label: string;
1294
1399
  url: string;
1295
- target?: "_self" | "_blank" | undefined;
1400
+ target?: "_blank" | "_self" | undefined;
1296
1401
  }[] | undefined;
1297
1402
  }[];
1298
1403
  languageCode: string;
@@ -1307,12 +1412,12 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1307
1412
  blockType: z.ZodOptional<z.ZodEnum<{
1308
1413
  text: "text";
1309
1414
  section: "section";
1415
+ form: "form";
1310
1416
  heading: "heading";
1311
1417
  image: "image";
1312
1418
  button: "button";
1313
1419
  posts_grid: "posts_grid";
1314
1420
  video_embed: "video_embed";
1315
- form: "form";
1316
1421
  testimonial: "testimonial";
1317
1422
  product_grid: "product_grid";
1318
1423
  featured_product: "featured_product";
@@ -1330,7 +1435,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1330
1435
  columnIndex: number;
1331
1436
  content: Record<string, unknown>;
1332
1437
  parentBlockId: number;
1333
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1438
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1334
1439
  };
1335
1440
  tool: "update_section_column_block";
1336
1441
  }, {
@@ -1339,13 +1444,40 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1339
1444
  content: Record<string, unknown>;
1340
1445
  parentBlockId: number;
1341
1446
  tool: "update_section_column_block";
1342
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1447
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1448
+ }>>, z.ZodPipe<z.ZodObject<{
1449
+ contentType: z.ZodOptional<z.ZodEnum<{
1450
+ product: "product";
1451
+ page: "page";
1452
+ post: "post";
1453
+ }>>;
1454
+ entityId: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
1455
+ slug: z.ZodOptional<z.ZodString>;
1456
+ title: z.ZodOptional<z.ZodString>;
1457
+ images: z.ZodArray<z.ZodString>;
1458
+ tool: z.ZodLiteral<"set_content_images">;
1459
+ }, z.core.$strict>, z.ZodTransform<{
1460
+ input: {
1461
+ images: string[];
1462
+ contentType?: "product" | "page" | "post" | undefined;
1463
+ entityId?: string | number | undefined;
1464
+ slug?: string | undefined;
1465
+ title?: string | undefined;
1466
+ };
1467
+ tool: "set_content_images";
1468
+ }, {
1469
+ images: string[];
1470
+ tool: "set_content_images";
1471
+ contentType?: "product" | "page" | "post" | undefined;
1472
+ entityId?: string | number | undefined;
1473
+ slug?: string | undefined;
1474
+ title?: string | undefined;
1343
1475
  }>>]>, z.ZodPipe<z.ZodString, z.ZodTransform<{
1344
1476
  input: {
1345
1477
  status: "draft" | "published" | "archived";
1346
1478
  title: string;
1347
1479
  blocks?: {
1348
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1480
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1349
1481
  content: Record<string, unknown>;
1350
1482
  order?: number | undefined;
1351
1483
  }[] | undefined;
@@ -1363,7 +1495,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1363
1495
  status: "draft" | "published" | "archived";
1364
1496
  title: string;
1365
1497
  blocks?: {
1366
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1498
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1367
1499
  content: Record<string, unknown>;
1368
1500
  order?: number | undefined;
1369
1501
  }[] | undefined;
@@ -1390,9 +1522,16 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1390
1522
  title: string;
1391
1523
  trial_period_days: number;
1392
1524
  trial_requires_payment_method: boolean;
1525
+ blocks?: {
1526
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1527
+ content: Record<string, unknown>;
1528
+ order?: number | undefined;
1529
+ }[] | undefined;
1530
+ description_html?: string | undefined;
1393
1531
  description_json?: unknown;
1394
1532
  freemius_plan_id?: string | undefined;
1395
1533
  freemius_product_id?: string | undefined;
1534
+ images?: string[] | undefined;
1396
1535
  languageCode?: string | undefined;
1397
1536
  meta_description?: string | null | undefined;
1398
1537
  meta_title?: string | null | undefined;
@@ -1431,13 +1570,13 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1431
1570
  input: {
1432
1571
  blockId: number;
1433
1572
  content: Record<string, unknown>;
1434
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1573
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1435
1574
  };
1436
1575
  tool: "update_content_block";
1437
1576
  } | {
1438
1577
  input: {
1439
1578
  block: {
1440
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1579
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1441
1580
  content: Record<string, unknown>;
1442
1581
  order?: number | undefined;
1443
1582
  };
@@ -1447,7 +1586,7 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1447
1586
  slug?: string | undefined;
1448
1587
  title?: string | undefined;
1449
1588
  anchorBlockId?: number | undefined;
1450
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1589
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1451
1590
  };
1452
1591
  tool: "insert_content_block";
1453
1592
  } | {
@@ -1475,11 +1614,11 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1475
1614
  links?: {
1476
1615
  label: string;
1477
1616
  url: string;
1478
- target?: "_self" | "_blank" | undefined;
1617
+ target?: "_blank" | "_self" | undefined;
1479
1618
  children?: {
1480
1619
  label: string;
1481
1620
  url: string;
1482
- target?: "_self" | "_blank" | undefined;
1621
+ target?: "_blank" | "_self" | undefined;
1483
1622
  }[] | undefined;
1484
1623
  }[] | undefined;
1485
1624
  };
@@ -1489,11 +1628,11 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1489
1628
  items: {
1490
1629
  label: string;
1491
1630
  url: string;
1492
- target?: "_self" | "_blank" | undefined;
1631
+ target?: "_blank" | "_self" | undefined;
1493
1632
  children?: {
1494
1633
  label: string;
1495
1634
  url: string;
1496
- target?: "_self" | "_blank" | undefined;
1635
+ target?: "_blank" | "_self" | undefined;
1497
1636
  }[] | undefined;
1498
1637
  }[];
1499
1638
  languageCode: string;
@@ -1510,9 +1649,18 @@ export declare const executeCmsActionPlanInputSchema: z.ZodObject<{
1510
1649
  columnIndex: number;
1511
1650
  content: Record<string, unknown>;
1512
1651
  parentBlockId: number;
1513
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1652
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
1514
1653
  };
1515
1654
  tool: "update_section_column_block";
1655
+ } | {
1656
+ input: {
1657
+ images: string[];
1658
+ contentType?: "product" | "page" | "post" | undefined;
1659
+ entityId?: string | number | undefined;
1660
+ slug?: string | undefined;
1661
+ title?: string | undefined;
1662
+ };
1663
+ tool: "set_content_images";
1516
1664
  }, string>>]>>;
1517
1665
  summary: z.ZodOptional<z.ZodString>;
1518
1666
  }, z.core.$strict>;
@@ -1660,7 +1808,7 @@ export declare function executeInsertContentBlock(input: InsertContentBlockInput
1660
1808
  } | {
1661
1809
  blockId: any;
1662
1810
  blockType: any;
1663
- contentType: "page" | "post";
1811
+ contentType: "product" | "page" | "post";
1664
1812
  entityId: any;
1665
1813
  mutationExecuted: boolean;
1666
1814
  order: any;
@@ -1676,7 +1824,7 @@ export declare function executeUpdateSectionColumnBlock(input: UpdateSectionColu
1676
1824
  blockIndex: number;
1677
1825
  columnIndex: number;
1678
1826
  mutationExecuted: boolean;
1679
- nestedBlockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1827
+ nestedBlockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1680
1828
  parentBlockId: any;
1681
1829
  parentBlockType: any;
1682
1830
  success: boolean;
@@ -1776,14 +1924,17 @@ export declare function executeCreateCmsProduct(input: CreateCmsProductInput, co
1776
1924
  mutationExecuted: boolean;
1777
1925
  success: boolean;
1778
1926
  } | {
1779
- contentType: string;
1780
- editPath: string;
1781
- entityId: string;
1782
1927
  mutationExecuted: boolean;
1783
1928
  slug: string;
1784
1929
  success: boolean;
1785
1930
  title: string;
1786
1931
  translationGroupId: string;
1932
+ imageError?: string | undefined;
1933
+ blockCount: number;
1934
+ contentType: string;
1935
+ editPath: string;
1936
+ entityId: string;
1937
+ imageCount: number;
1787
1938
  }>;
1788
1939
  export declare function executeUpdateCmsItemField(input: UpdateCmsItemFieldInput, context?: ToolExecutionContext): Promise<{
1789
1940
  confirmationPhrase: string;
@@ -1894,7 +2045,7 @@ export declare function executeCmsActionPlan(input: z.input<typeof executeCmsAct
1894
2045
  } | {
1895
2046
  blockId: any;
1896
2047
  blockType: any;
1897
- contentType: "page" | "post";
2048
+ contentType: "product" | "page" | "post";
1898
2049
  entityId: any;
1899
2050
  mutationExecuted: boolean;
1900
2051
  order: any;
@@ -1903,7 +2054,7 @@ export declare function executeCmsActionPlan(input: z.input<typeof executeCmsAct
1903
2054
  blockIndex: number;
1904
2055
  columnIndex: number;
1905
2056
  mutationExecuted: boolean;
1906
- nestedBlockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2057
+ nestedBlockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
1907
2058
  parentBlockId: any;
1908
2059
  parentBlockType: any;
1909
2060
  success: boolean;
@@ -1917,15 +2068,6 @@ export declare function executeCmsActionPlan(input: z.input<typeof executeCmsAct
1917
2068
  success: boolean;
1918
2069
  title: string;
1919
2070
  translationGroupId: any;
1920
- } | {
1921
- contentType: string;
1922
- editPath: string;
1923
- entityId: string;
1924
- mutationExecuted: boolean;
1925
- slug: string;
1926
- success: boolean;
1927
- title: string;
1928
- translationGroupId: string;
1929
2071
  } | {
1930
2072
  message: string;
1931
2073
  mutationExecuted: boolean;
@@ -1953,12 +2095,28 @@ export declare function executeCmsActionPlan(input: z.input<typeof executeCmsAct
1953
2095
  mutationExecuted: boolean;
1954
2096
  redirectPath: string;
1955
2097
  success: boolean;
2098
+ } | {
2099
+ contentType: string;
2100
+ entityId: string | number;
2101
+ imageCount: number;
2102
+ mutationExecuted: boolean;
2103
+ slug: any;
2104
+ success: boolean;
2105
+ extraImagesIgnored?: undefined;
2106
+ } | {
2107
+ contentType: "product" | "page" | "post";
2108
+ entityId: string | number;
2109
+ extraImagesIgnored: number;
2110
+ imageCount: number;
2111
+ mutationExecuted: boolean;
2112
+ slug: any;
2113
+ success: boolean;
1956
2114
  } | {
1957
2115
  redirectPath?: string | undefined;
1958
2116
  editPath?: string | undefined;
1959
2117
  actionCount: number;
1960
2118
  failedActionIndex: number;
1961
- failedTool: "create_cms_page" | "create_cms_post" | "create_cms_product" | "delete_cms_item" | "update_cms_item_field" | "update_content_block" | "insert_content_block" | "update_current_cms_fields" | "update_footer" | "update_navigation_bar" | "update_section_column_block";
2119
+ failedTool: "create_cms_page" | "create_cms_post" | "create_cms_product" | "delete_cms_item" | "update_cms_item_field" | "update_content_block" | "insert_content_block" | "update_current_cms_fields" | "update_footer" | "update_navigation_bar" | "update_section_column_block" | "set_content_images";
1962
2120
  message: string;
1963
2121
  mutationExecuted: boolean;
1964
2122
  results: {
@@ -1993,6 +2151,8 @@ export declare function executeFetchUrlContent(input: FetchUrlContentInput): Pro
1993
2151
  description?: undefined;
1994
2152
  finalUrl?: undefined;
1995
2153
  headings?: undefined;
2154
+ images?: undefined;
2155
+ mainImage?: undefined;
1996
2156
  text?: undefined;
1997
2157
  title?: undefined;
1998
2158
  truncated?: undefined;
@@ -2005,6 +2165,8 @@ export declare function executeFetchUrlContent(input: FetchUrlContentInput): Pro
2005
2165
  description?: undefined;
2006
2166
  finalUrl?: undefined;
2007
2167
  headings?: undefined;
2168
+ images?: undefined;
2169
+ mainImage?: undefined;
2008
2170
  text?: undefined;
2009
2171
  title?: undefined;
2010
2172
  truncated?: undefined;
@@ -2017,6 +2179,8 @@ export declare function executeFetchUrlContent(input: FetchUrlContentInput): Pro
2017
2179
  description?: undefined;
2018
2180
  finalUrl?: undefined;
2019
2181
  headings?: undefined;
2182
+ images?: undefined;
2183
+ mainImage?: undefined;
2020
2184
  text?: undefined;
2021
2185
  title?: undefined;
2022
2186
  truncated?: undefined;
@@ -2024,6 +2188,8 @@ export declare function executeFetchUrlContent(input: FetchUrlContentInput): Pro
2024
2188
  description: string;
2025
2189
  finalUrl: string;
2026
2190
  headings: string[];
2191
+ images: string[];
2192
+ mainImage: string;
2027
2193
  success: boolean;
2028
2194
  text: string;
2029
2195
  title: string;
@@ -2107,12 +2273,12 @@ export declare const rewritePageDraftInputSchema: z.ZodObject<{
2107
2273
  blockType: z.ZodEnum<{
2108
2274
  text: "text";
2109
2275
  section: "section";
2276
+ form: "form";
2110
2277
  heading: "heading";
2111
2278
  image: "image";
2112
2279
  button: "button";
2113
2280
  posts_grid: "posts_grid";
2114
2281
  video_embed: "video_embed";
2115
- form: "form";
2116
2282
  testimonial: "testimonial";
2117
2283
  product_grid: "product_grid";
2118
2284
  featured_product: "featured_product";
@@ -2170,16 +2336,16 @@ export declare function executeTranslatePage(input: TranslatePageInput, context?
2170
2336
  isTranslation: boolean;
2171
2337
  languageCode: string;
2172
2338
  }>;
2173
- declare const setContentImagesInputSchema: z.ZodObject<{
2174
- images: z.ZodArray<z.ZodString>;
2175
- }, z.core.$strict>;
2176
- type SetContentImagesInput = z.infer<typeof setContentImagesInputSchema>;
2177
2339
  /**
2178
2340
  * Set the feature image (pages/posts) or the ordered image gallery (products)
2179
- * for the CURRENT CMS item. Each entry may be an existing media library id or an
2341
+ * for a CMS item. Each entry may be an existing media library id or an
2180
2342
  * external image URL (imported automatically). The first entry is the feature /
2181
2343
  * main image. For pages/posts only the first entry is used (they have a single
2182
2344
  * feature image); for products every entry becomes a product_media row in order.
2345
+ *
2346
+ * The target is the current edit context by default, but an explicit
2347
+ * contentType + slug/entityId/title targets any item — so this works from the
2348
+ * dashboard with no page open (e.g. right after create_cms_product).
2183
2349
  */
2184
2350
  export declare function executeSetContentImages(input: SetContentImagesInput, context?: ToolExecutionContext): Promise<{
2185
2351
  confirmationPhrase: string;
@@ -2268,6 +2434,8 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2268
2434
  description?: undefined;
2269
2435
  finalUrl?: undefined;
2270
2436
  headings?: undefined;
2437
+ images?: undefined;
2438
+ mainImage?: undefined;
2271
2439
  text?: undefined;
2272
2440
  title?: undefined;
2273
2441
  truncated?: undefined;
@@ -2280,6 +2448,8 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2280
2448
  description?: undefined;
2281
2449
  finalUrl?: undefined;
2282
2450
  headings?: undefined;
2451
+ images?: undefined;
2452
+ mainImage?: undefined;
2283
2453
  text?: undefined;
2284
2454
  title?: undefined;
2285
2455
  truncated?: undefined;
@@ -2292,6 +2462,8 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2292
2462
  description?: undefined;
2293
2463
  finalUrl?: undefined;
2294
2464
  headings?: undefined;
2465
+ images?: undefined;
2466
+ mainImage?: undefined;
2295
2467
  text?: undefined;
2296
2468
  title?: undefined;
2297
2469
  truncated?: undefined;
@@ -2299,6 +2471,8 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2299
2471
  description: string;
2300
2472
  finalUrl: string;
2301
2473
  headings: string[];
2474
+ images: string[];
2475
+ mainImage: string;
2302
2476
  success: boolean;
2303
2477
  text: string;
2304
2478
  title: string;
@@ -2339,7 +2513,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2339
2513
  }>;
2340
2514
  rewrite_page_draft: import('ai').Tool<{
2341
2515
  blocks: {
2342
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2516
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2343
2517
  content: Record<string, unknown>;
2344
2518
  order?: number | undefined;
2345
2519
  }[];
@@ -2388,6 +2562,10 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2388
2562
  }>;
2389
2563
  set_content_images: import('ai').Tool<{
2390
2564
  images: string[];
2565
+ contentType?: "product" | "page" | "post" | undefined;
2566
+ entityId?: string | number | undefined;
2567
+ slug?: string | undefined;
2568
+ title?: string | undefined;
2391
2569
  }, {
2392
2570
  confirmationPhrase: string;
2393
2571
  mutationExecuted: boolean;
@@ -2415,7 +2593,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2415
2593
  status: "draft" | "published" | "archived";
2416
2594
  title: string;
2417
2595
  blocks?: {
2418
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2596
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2419
2597
  content: Record<string, unknown>;
2420
2598
  order?: number | undefined;
2421
2599
  }[] | undefined;
@@ -2465,7 +2643,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2465
2643
  status: "draft" | "published" | "archived";
2466
2644
  title: string;
2467
2645
  blocks?: {
2468
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2646
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2469
2647
  content: Record<string, unknown>;
2470
2648
  order?: number | undefined;
2471
2649
  }[] | undefined;
@@ -2524,9 +2702,16 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2524
2702
  title: string;
2525
2703
  trial_period_days: number;
2526
2704
  trial_requires_payment_method: boolean;
2705
+ blocks?: {
2706
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2707
+ content: Record<string, unknown>;
2708
+ order?: number | undefined;
2709
+ }[] | undefined;
2710
+ description_html?: string | undefined;
2527
2711
  description_json?: unknown;
2528
2712
  freemius_plan_id?: string | undefined;
2529
2713
  freemius_product_id?: string | undefined;
2714
+ images?: string[] | undefined;
2530
2715
  languageCode?: string | undefined;
2531
2716
  meta_description?: string | null | undefined;
2532
2717
  meta_title?: string | null | undefined;
@@ -2563,14 +2748,17 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2563
2748
  mutationExecuted: boolean;
2564
2749
  success: boolean;
2565
2750
  } | {
2566
- contentType: string;
2567
- editPath: string;
2568
- entityId: string;
2569
2751
  mutationExecuted: boolean;
2570
2752
  slug: string;
2571
2753
  success: boolean;
2572
2754
  title: string;
2573
2755
  translationGroupId: string;
2756
+ imageError?: string | undefined;
2757
+ blockCount: number;
2758
+ contentType: string;
2759
+ editPath: string;
2760
+ entityId: string;
2761
+ imageCount: number;
2574
2762
  }>;
2575
2763
  delete_cms_item: import('ai').Tool<{
2576
2764
  contentType?: "product" | "page" | "post" | undefined;
@@ -2610,11 +2798,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2610
2798
  links?: {
2611
2799
  label: string;
2612
2800
  url: string;
2613
- target?: "_self" | "_blank" | undefined;
2801
+ target?: "_blank" | "_self" | undefined;
2614
2802
  children?: {
2615
2803
  label: string;
2616
2804
  url: string;
2617
- target?: "_self" | "_blank" | undefined;
2805
+ target?: "_blank" | "_self" | undefined;
2618
2806
  }[] | undefined;
2619
2807
  }[] | undefined;
2620
2808
  }, {
@@ -2638,7 +2826,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2638
2826
  update_content_block: import('ai').Tool<{
2639
2827
  blockId: number;
2640
2828
  content: Record<string, unknown>;
2641
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2829
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2642
2830
  }, {
2643
2831
  confirmationPhrase: string;
2644
2832
  mutationExecuted: boolean;
@@ -2654,7 +2842,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2654
2842
  }>;
2655
2843
  insert_content_block: import('ai').Tool<{
2656
2844
  block: {
2657
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2845
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2658
2846
  content: Record<string, unknown>;
2659
2847
  order?: number | undefined;
2660
2848
  };
@@ -2664,7 +2852,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2664
2852
  slug?: string | undefined;
2665
2853
  title?: string | undefined;
2666
2854
  anchorBlockId?: number | undefined;
2667
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2855
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2668
2856
  }, {
2669
2857
  confirmationPhrase: string;
2670
2858
  mutationExecuted: boolean;
@@ -2674,7 +2862,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2674
2862
  } | {
2675
2863
  blockId: any;
2676
2864
  blockType: any;
2677
- contentType: "page" | "post";
2865
+ contentType: "product" | "page" | "post";
2678
2866
  entityId: any;
2679
2867
  mutationExecuted: boolean;
2680
2868
  order: any;
@@ -2750,11 +2938,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2750
2938
  items: {
2751
2939
  label: string;
2752
2940
  url: string;
2753
- target?: "_self" | "_blank" | undefined;
2941
+ target?: "_blank" | "_self" | undefined;
2754
2942
  children?: {
2755
2943
  label: string;
2756
2944
  url: string;
2757
- target?: "_self" | "_blank" | undefined;
2945
+ target?: "_blank" | "_self" | undefined;
2758
2946
  }[] | undefined;
2759
2947
  }[];
2760
2948
  languageCode: string;
@@ -2784,7 +2972,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2784
2972
  columnIndex: number;
2785
2973
  content: Record<string, unknown>;
2786
2974
  parentBlockId: number;
2787
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2975
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2788
2976
  }, {
2789
2977
  confirmationPhrase: string;
2790
2978
  mutationExecuted: boolean;
@@ -2795,7 +2983,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2795
2983
  blockIndex: number;
2796
2984
  columnIndex: number;
2797
2985
  mutationExecuted: boolean;
2798
- nestedBlockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2986
+ nestedBlockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2799
2987
  parentBlockId: any;
2800
2988
  parentBlockType: any;
2801
2989
  success: boolean;
@@ -2806,7 +2994,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2806
2994
  status: "draft" | "published" | "archived";
2807
2995
  title: string;
2808
2996
  blocks?: {
2809
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2997
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2810
2998
  content: Record<string, unknown>;
2811
2999
  order?: number | undefined;
2812
3000
  }[] | undefined;
@@ -2824,7 +3012,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2824
3012
  status: "draft" | "published" | "archived";
2825
3013
  title: string;
2826
3014
  blocks?: {
2827
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3015
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2828
3016
  content: Record<string, unknown>;
2829
3017
  order?: number | undefined;
2830
3018
  }[] | undefined;
@@ -2851,9 +3039,16 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2851
3039
  title: string;
2852
3040
  trial_period_days: number;
2853
3041
  trial_requires_payment_method: boolean;
3042
+ blocks?: {
3043
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3044
+ content: Record<string, unknown>;
3045
+ order?: number | undefined;
3046
+ }[] | undefined;
3047
+ description_html?: string | undefined;
2854
3048
  description_json?: unknown;
2855
3049
  freemius_plan_id?: string | undefined;
2856
3050
  freemius_product_id?: string | undefined;
3051
+ images?: string[] | undefined;
2857
3052
  languageCode?: string | undefined;
2858
3053
  meta_description?: string | null | undefined;
2859
3054
  meta_title?: string | null | undefined;
@@ -2892,13 +3087,13 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2892
3087
  input: {
2893
3088
  blockId: number;
2894
3089
  content: Record<string, unknown>;
2895
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3090
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2896
3091
  };
2897
3092
  tool: "update_content_block";
2898
3093
  } | {
2899
3094
  input: {
2900
3095
  block: {
2901
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3096
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2902
3097
  content: Record<string, unknown>;
2903
3098
  order?: number | undefined;
2904
3099
  };
@@ -2908,7 +3103,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2908
3103
  slug?: string | undefined;
2909
3104
  title?: string | undefined;
2910
3105
  anchorBlockId?: number | undefined;
2911
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3106
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2912
3107
  };
2913
3108
  tool: "insert_content_block";
2914
3109
  } | {
@@ -2936,11 +3131,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2936
3131
  links?: {
2937
3132
  label: string;
2938
3133
  url: string;
2939
- target?: "_self" | "_blank" | undefined;
3134
+ target?: "_blank" | "_self" | undefined;
2940
3135
  children?: {
2941
3136
  label: string;
2942
3137
  url: string;
2943
- target?: "_self" | "_blank" | undefined;
3138
+ target?: "_blank" | "_self" | undefined;
2944
3139
  }[] | undefined;
2945
3140
  }[] | undefined;
2946
3141
  };
@@ -2950,11 +3145,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2950
3145
  items: {
2951
3146
  label: string;
2952
3147
  url: string;
2953
- target?: "_self" | "_blank" | undefined;
3148
+ target?: "_blank" | "_self" | undefined;
2954
3149
  children?: {
2955
3150
  label: string;
2956
3151
  url: string;
2957
- target?: "_self" | "_blank" | undefined;
3152
+ target?: "_blank" | "_self" | undefined;
2958
3153
  }[] | undefined;
2959
3154
  }[];
2960
3155
  languageCode: string;
@@ -2971,15 +3166,24 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2971
3166
  columnIndex: number;
2972
3167
  content: Record<string, unknown>;
2973
3168
  parentBlockId: number;
2974
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3169
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
2975
3170
  };
2976
3171
  tool: "update_section_column_block";
3172
+ } | {
3173
+ input: {
3174
+ images: string[];
3175
+ contentType?: "product" | "page" | "post" | undefined;
3176
+ entityId?: string | number | undefined;
3177
+ slug?: string | undefined;
3178
+ title?: string | undefined;
3179
+ };
3180
+ tool: "set_content_images";
2977
3181
  } | {
2978
3182
  input: {
2979
3183
  status: "draft" | "published" | "archived";
2980
3184
  title: string;
2981
3185
  blocks?: {
2982
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3186
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
2983
3187
  content: Record<string, unknown>;
2984
3188
  order?: number | undefined;
2985
3189
  }[] | undefined;
@@ -2997,7 +3201,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
2997
3201
  status: "draft" | "published" | "archived";
2998
3202
  title: string;
2999
3203
  blocks?: {
3000
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3204
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3001
3205
  content: Record<string, unknown>;
3002
3206
  order?: number | undefined;
3003
3207
  }[] | undefined;
@@ -3024,9 +3228,16 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3024
3228
  title: string;
3025
3229
  trial_period_days: number;
3026
3230
  trial_requires_payment_method: boolean;
3231
+ blocks?: {
3232
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3233
+ content: Record<string, unknown>;
3234
+ order?: number | undefined;
3235
+ }[] | undefined;
3236
+ description_html?: string | undefined;
3027
3237
  description_json?: unknown;
3028
3238
  freemius_plan_id?: string | undefined;
3029
3239
  freemius_product_id?: string | undefined;
3240
+ images?: string[] | undefined;
3030
3241
  languageCode?: string | undefined;
3031
3242
  meta_description?: string | null | undefined;
3032
3243
  meta_title?: string | null | undefined;
@@ -3065,13 +3276,13 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3065
3276
  input: {
3066
3277
  blockId: number;
3067
3278
  content: Record<string, unknown>;
3068
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3279
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3069
3280
  };
3070
3281
  tool: "update_content_block";
3071
3282
  } | {
3072
3283
  input: {
3073
3284
  block: {
3074
- blockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3285
+ blockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3075
3286
  content: Record<string, unknown>;
3076
3287
  order?: number | undefined;
3077
3288
  };
@@ -3081,7 +3292,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3081
3292
  slug?: string | undefined;
3082
3293
  title?: string | undefined;
3083
3294
  anchorBlockId?: number | undefined;
3084
- anchorBlockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3295
+ anchorBlockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3085
3296
  };
3086
3297
  tool: "insert_content_block";
3087
3298
  } | {
@@ -3109,11 +3320,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3109
3320
  links?: {
3110
3321
  label: string;
3111
3322
  url: string;
3112
- target?: "_self" | "_blank" | undefined;
3323
+ target?: "_blank" | "_self" | undefined;
3113
3324
  children?: {
3114
3325
  label: string;
3115
3326
  url: string;
3116
- target?: "_self" | "_blank" | undefined;
3327
+ target?: "_blank" | "_self" | undefined;
3117
3328
  }[] | undefined;
3118
3329
  }[] | undefined;
3119
3330
  };
@@ -3123,11 +3334,11 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3123
3334
  items: {
3124
3335
  label: string;
3125
3336
  url: string;
3126
- target?: "_self" | "_blank" | undefined;
3337
+ target?: "_blank" | "_self" | undefined;
3127
3338
  children?: {
3128
3339
  label: string;
3129
3340
  url: string;
3130
- target?: "_self" | "_blank" | undefined;
3341
+ target?: "_blank" | "_self" | undefined;
3131
3342
  }[] | undefined;
3132
3343
  }[];
3133
3344
  languageCode: string;
@@ -3144,9 +3355,18 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3144
3355
  columnIndex: number;
3145
3356
  content: Record<string, unknown>;
3146
3357
  parentBlockId: number;
3147
- blockType?: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3358
+ blockType?: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details" | undefined;
3148
3359
  };
3149
3360
  tool: "update_section_column_block";
3361
+ } | {
3362
+ input: {
3363
+ images: string[];
3364
+ contentType?: "product" | "page" | "post" | undefined;
3365
+ entityId?: string | number | undefined;
3366
+ slug?: string | undefined;
3367
+ title?: string | undefined;
3368
+ };
3369
+ tool: "set_content_images";
3150
3370
  })[];
3151
3371
  summary?: string | undefined;
3152
3372
  }, {
@@ -3209,7 +3429,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3209
3429
  } | {
3210
3430
  blockId: any;
3211
3431
  blockType: any;
3212
- contentType: "page" | "post";
3432
+ contentType: "product" | "page" | "post";
3213
3433
  entityId: any;
3214
3434
  mutationExecuted: boolean;
3215
3435
  order: any;
@@ -3218,7 +3438,7 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3218
3438
  blockIndex: number;
3219
3439
  columnIndex: number;
3220
3440
  mutationExecuted: boolean;
3221
- nestedBlockType: "text" | "section" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "form" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3441
+ nestedBlockType: "text" | "section" | "form" | "heading" | "image" | "button" | "posts_grid" | "video_embed" | "testimonial" | "product_grid" | "featured_product" | "cart" | "checkout" | "product_details";
3222
3442
  parentBlockId: any;
3223
3443
  parentBlockType: any;
3224
3444
  success: boolean;
@@ -3232,15 +3452,6 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3232
3452
  success: boolean;
3233
3453
  title: string;
3234
3454
  translationGroupId: any;
3235
- } | {
3236
- contentType: string;
3237
- editPath: string;
3238
- entityId: string;
3239
- mutationExecuted: boolean;
3240
- slug: string;
3241
- success: boolean;
3242
- title: string;
3243
- translationGroupId: string;
3244
3455
  } | {
3245
3456
  message: string;
3246
3457
  mutationExecuted: boolean;
@@ -3268,12 +3479,28 @@ export declare function createCortexGlobalAgentTools(context?: ToolExecutionCont
3268
3479
  mutationExecuted: boolean;
3269
3480
  redirectPath: string;
3270
3481
  success: boolean;
3482
+ } | {
3483
+ contentType: string;
3484
+ entityId: string | number;
3485
+ imageCount: number;
3486
+ mutationExecuted: boolean;
3487
+ slug: any;
3488
+ success: boolean;
3489
+ extraImagesIgnored?: undefined;
3490
+ } | {
3491
+ contentType: "product" | "page" | "post";
3492
+ entityId: string | number;
3493
+ extraImagesIgnored: number;
3494
+ imageCount: number;
3495
+ mutationExecuted: boolean;
3496
+ slug: any;
3497
+ success: boolean;
3271
3498
  } | {
3272
3499
  redirectPath?: string | undefined;
3273
3500
  editPath?: string | undefined;
3274
3501
  actionCount: number;
3275
3502
  failedActionIndex: number;
3276
- failedTool: "create_cms_page" | "create_cms_post" | "create_cms_product" | "delete_cms_item" | "update_cms_item_field" | "update_content_block" | "insert_content_block" | "update_current_cms_fields" | "update_footer" | "update_navigation_bar" | "update_section_column_block";
3503
+ failedTool: "create_cms_page" | "create_cms_post" | "create_cms_product" | "delete_cms_item" | "update_cms_item_field" | "update_content_block" | "insert_content_block" | "update_current_cms_fields" | "update_footer" | "update_navigation_bar" | "update_section_column_block" | "set_content_images";
3277
3504
  message: string;
3278
3505
  mutationExecuted: boolean;
3279
3506
  results: {