@financial-times/content-curation-client 6.0.0 → 6.2.0

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.
@@ -492,6 +492,7 @@ declare const DraftSchema: z.ZodObject<{
492
492
  pageTheme: z.ZodOptional<z.ZodString>;
493
493
  sponsorText: z.ZodOptional<z.ZodString>;
494
494
  sponsorImage: z.ZodOptional<z.ZodString>;
495
+ pageCategory: z.ZodOptional<z.ZodString>;
495
496
  }, "strip", z.ZodTypeAny, {
496
497
  title: string;
497
498
  pageId: string;
@@ -501,6 +502,7 @@ declare const DraftSchema: z.ZodObject<{
501
502
  conceptId?: string | undefined;
502
503
  metaDescription?: string | undefined;
503
504
  pageTheme?: string | undefined;
505
+ pageCategory?: string | undefined;
504
506
  }, {
505
507
  title: string;
506
508
  pageId: string;
@@ -510,6 +512,7 @@ declare const DraftSchema: z.ZodObject<{
510
512
  conceptId?: string | undefined;
511
513
  metaDescription?: string | undefined;
512
514
  pageTheme?: string | undefined;
515
+ pageCategory?: string | undefined;
513
516
  }>;
514
517
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
515
518
  type: z.ZodLiteral<"Interactive">;
@@ -1334,6 +1337,7 @@ declare const DraftSchema: z.ZodObject<{
1334
1337
  conceptId?: string | undefined;
1335
1338
  metaDescription?: string | undefined;
1336
1339
  pageTheme?: string | undefined;
1340
+ pageCategory?: string | undefined;
1337
1341
  };
1338
1342
  children: ({
1339
1343
  type: "Interactive";
@@ -1463,6 +1467,7 @@ declare const DraftSchema: z.ZodObject<{
1463
1467
  conceptId?: string | undefined;
1464
1468
  metaDescription?: string | undefined;
1465
1469
  pageTheme?: string | undefined;
1470
+ pageCategory?: string | undefined;
1466
1471
  };
1467
1472
  children: ({
1468
1473
  type: "Interactive";
@@ -1604,6 +1609,7 @@ declare const DraftSchema: z.ZodObject<{
1604
1609
  conceptId?: string | undefined;
1605
1610
  metaDescription?: string | undefined;
1606
1611
  pageTheme?: string | undefined;
1612
+ pageCategory?: string | undefined;
1607
1613
  };
1608
1614
  children: ({
1609
1615
  type: "Interactive";
@@ -1745,6 +1751,7 @@ declare const DraftSchema: z.ZodObject<{
1745
1751
  conceptId?: string | undefined;
1746
1752
  metaDescription?: string | undefined;
1747
1753
  pageTheme?: string | undefined;
1754
+ pageCategory?: string | undefined;
1748
1755
  };
1749
1756
  children: ({
1750
1757
  type: "Interactive";
@@ -2914,6 +2921,1123 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
2914
2921
  export { LegacyPageStructureOutputSchema }
2915
2922
  export { LegacyPageStructureOutputSchema as LegacyPageStructureOutputSchema_alias_1 }
2916
2923
 
2924
+ declare type ListPagesOptions = {
2925
+ pageCategory?: string;
2926
+ };
2927
+ export { ListPagesOptions }
2928
+ export { ListPagesOptions as ListPagesOptions_alias_1 }
2929
+
2930
+ /**
2931
+ * Array of Page Structures
2932
+ */
2933
+ export declare const ListPagesOutputSchema: z.ZodArray<z.ZodObject<{
2934
+ type: z.ZodLiteral<"Page">;
2935
+ schemaVersion: z.ZodNumber;
2936
+ properties: z.ZodObject<{
2937
+ title: z.ZodString;
2938
+ pageId: z.ZodString;
2939
+ publicationId: z.ZodString;
2940
+ conceptId: z.ZodOptional<z.ZodString>;
2941
+ metaDescription: z.ZodOptional<z.ZodString>;
2942
+ pageTheme: z.ZodOptional<z.ZodString>;
2943
+ sponsorText: z.ZodOptional<z.ZodString>;
2944
+ sponsorImage: z.ZodOptional<z.ZodString>;
2945
+ pageCategory: z.ZodOptional<z.ZodString>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ title: string;
2948
+ pageId: string;
2949
+ publicationId: string;
2950
+ sponsorText?: string | undefined;
2951
+ sponsorImage?: string | undefined;
2952
+ conceptId?: string | undefined;
2953
+ metaDescription?: string | undefined;
2954
+ pageTheme?: string | undefined;
2955
+ pageCategory?: string | undefined;
2956
+ }, {
2957
+ title: string;
2958
+ pageId: string;
2959
+ publicationId: string;
2960
+ sponsorText?: string | undefined;
2961
+ sponsorImage?: string | undefined;
2962
+ conceptId?: string | undefined;
2963
+ metaDescription?: string | undefined;
2964
+ pageTheme?: string | undefined;
2965
+ pageCategory?: string | undefined;
2966
+ }>;
2967
+ children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
2968
+ type: z.ZodLiteral<"Interactive">;
2969
+ hidden: z.ZodOptional<z.ZodBoolean>;
2970
+ properties: z.ZodObject<{
2971
+ heading: z.ZodOptional<z.ZodObject<{
2972
+ text: z.ZodString;
2973
+ href: z.ZodOptional<z.ZodString>;
2974
+ }, "strip", z.ZodTypeAny, {
2975
+ text: string;
2976
+ href?: string | undefined;
2977
+ }, {
2978
+ text: string;
2979
+ href?: string | undefined;
2980
+ }>>;
2981
+ } & {
2982
+ flourishDescription: z.ZodOptional<z.ZodString>;
2983
+ flourishId: z.ZodString;
2984
+ flourishAltText: z.ZodString;
2985
+ storyUUID: z.ZodOptional<z.ZodString>;
2986
+ theme: z.ZodOptional<z.ZodString>;
2987
+ }, "strip", z.ZodTypeAny, {
2988
+ flourishId: string;
2989
+ flourishAltText: string;
2990
+ heading?: {
2991
+ text: string;
2992
+ href?: string | undefined;
2993
+ } | undefined;
2994
+ flourishDescription?: string | undefined;
2995
+ storyUUID?: string | undefined;
2996
+ theme?: string | undefined;
2997
+ }, {
2998
+ flourishId: string;
2999
+ flourishAltText: string;
3000
+ heading?: {
3001
+ text: string;
3002
+ href?: string | undefined;
3003
+ } | undefined;
3004
+ flourishDescription?: string | undefined;
3005
+ storyUUID?: string | undefined;
3006
+ theme?: string | undefined;
3007
+ }>;
3008
+ } & {
3009
+ sliceId: z.ZodString;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ type: "Interactive";
3012
+ properties: {
3013
+ flourishId: string;
3014
+ flourishAltText: string;
3015
+ heading?: {
3016
+ text: string;
3017
+ href?: string | undefined;
3018
+ } | undefined;
3019
+ flourishDescription?: string | undefined;
3020
+ storyUUID?: string | undefined;
3021
+ theme?: string | undefined;
3022
+ };
3023
+ sliceId: string;
3024
+ hidden?: boolean | undefined;
3025
+ }, {
3026
+ type: "Interactive";
3027
+ properties: {
3028
+ flourishId: string;
3029
+ flourishAltText: string;
3030
+ heading?: {
3031
+ text: string;
3032
+ href?: string | undefined;
3033
+ } | undefined;
3034
+ flourishDescription?: string | undefined;
3035
+ storyUUID?: string | undefined;
3036
+ theme?: string | undefined;
3037
+ };
3038
+ sliceId: string;
3039
+ hidden?: boolean | undefined;
3040
+ }>, z.ZodObject<{
3041
+ type: z.ZodLiteral<"Experiment">;
3042
+ hidden: z.ZodOptional<z.ZodBoolean>;
3043
+ properties: z.ZodObject<{
3044
+ heading: z.ZodOptional<z.ZodObject<{
3045
+ text: z.ZodString;
3046
+ href: z.ZodOptional<z.ZodString>;
3047
+ }, "strip", z.ZodTypeAny, {
3048
+ text: string;
3049
+ href?: string | undefined;
3050
+ }, {
3051
+ text: string;
3052
+ href?: string | undefined;
3053
+ }>>;
3054
+ } & {
3055
+ experimentId: z.ZodString;
3056
+ experimentName: z.ZodString;
3057
+ contentJson: z.ZodEffects<z.ZodString, string, string>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ experimentName: string;
3060
+ experimentId: string;
3061
+ contentJson: string;
3062
+ heading?: {
3063
+ text: string;
3064
+ href?: string | undefined;
3065
+ } | undefined;
3066
+ }, {
3067
+ experimentName: string;
3068
+ experimentId: string;
3069
+ contentJson: string;
3070
+ heading?: {
3071
+ text: string;
3072
+ href?: string | undefined;
3073
+ } | undefined;
3074
+ }>;
3075
+ } & {
3076
+ sliceId: z.ZodString;
3077
+ }, "strip", z.ZodTypeAny, {
3078
+ type: "Experiment";
3079
+ properties: {
3080
+ experimentName: string;
3081
+ experimentId: string;
3082
+ contentJson: string;
3083
+ heading?: {
3084
+ text: string;
3085
+ href?: string | undefined;
3086
+ } | undefined;
3087
+ };
3088
+ sliceId: string;
3089
+ hidden?: boolean | undefined;
3090
+ }, {
3091
+ type: "Experiment";
3092
+ properties: {
3093
+ experimentName: string;
3094
+ experimentId: string;
3095
+ contentJson: string;
3096
+ heading?: {
3097
+ text: string;
3098
+ href?: string | undefined;
3099
+ } | undefined;
3100
+ };
3101
+ sliceId: string;
3102
+ hidden?: boolean | undefined;
3103
+ }>, z.ZodObject<{
3104
+ type: z.ZodLiteral<"Strip">;
3105
+ hidden: z.ZodOptional<z.ZodBoolean>;
3106
+ properties: z.ZodObject<{
3107
+ heading: z.ZodOptional<z.ZodObject<{
3108
+ text: z.ZodString;
3109
+ href: z.ZodOptional<z.ZodString>;
3110
+ }, "strip", z.ZodTypeAny, {
3111
+ text: string;
3112
+ href?: string | undefined;
3113
+ }, {
3114
+ text: string;
3115
+ href?: string | undefined;
3116
+ }>>;
3117
+ } & {
3118
+ listId: z.ZodString;
3119
+ maxStories: z.ZodNumber;
3120
+ }, "strip", z.ZodTypeAny, {
3121
+ listId: string;
3122
+ maxStories: number;
3123
+ heading?: {
3124
+ text: string;
3125
+ href?: string | undefined;
3126
+ } | undefined;
3127
+ }, {
3128
+ listId: string;
3129
+ maxStories: number;
3130
+ heading?: {
3131
+ text: string;
3132
+ href?: string | undefined;
3133
+ } | undefined;
3134
+ }>;
3135
+ } & {
3136
+ sliceId: z.ZodString;
3137
+ }, "strip", z.ZodTypeAny, {
3138
+ type: "Strip";
3139
+ properties: {
3140
+ listId: string;
3141
+ maxStories: number;
3142
+ heading?: {
3143
+ text: string;
3144
+ href?: string | undefined;
3145
+ } | undefined;
3146
+ };
3147
+ sliceId: string;
3148
+ hidden?: boolean | undefined;
3149
+ }, {
3150
+ type: "Strip";
3151
+ properties: {
3152
+ listId: string;
3153
+ maxStories: number;
3154
+ heading?: {
3155
+ text: string;
3156
+ href?: string | undefined;
3157
+ } | undefined;
3158
+ };
3159
+ sliceId: string;
3160
+ hidden?: boolean | undefined;
3161
+ }>, z.ZodObject<{
3162
+ type: z.ZodLiteral<"Topper">;
3163
+ hidden: z.ZodOptional<z.ZodBoolean>;
3164
+ properties: z.ZodObject<{
3165
+ heading: z.ZodOptional<z.ZodObject<{
3166
+ text: z.ZodString;
3167
+ href: z.ZodOptional<z.ZodString>;
3168
+ }, "strip", z.ZodTypeAny, {
3169
+ text: string;
3170
+ href?: string | undefined;
3171
+ }, {
3172
+ text: string;
3173
+ href?: string | undefined;
3174
+ }>>;
3175
+ } & {
3176
+ description: z.ZodObject<{
3177
+ type: z.ZodLiteral<"doc">;
3178
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3179
+ type: z.ZodLiteral<"paragraph">;
3180
+ content: z.ZodArray<z.ZodObject<{
3181
+ type: z.ZodLiteral<"text">;
3182
+ text: z.ZodString;
3183
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3184
+ type: z.ZodLiteral<"link">;
3185
+ attrs: z.ZodObject<{
3186
+ href: z.ZodEffects<z.ZodString, string, string>;
3187
+ }, "strip", z.ZodTypeAny, {
3188
+ href: string;
3189
+ }, {
3190
+ href: string;
3191
+ }>;
3192
+ }, "strip", z.ZodTypeAny, {
3193
+ type: "link";
3194
+ attrs: {
3195
+ href: string;
3196
+ };
3197
+ }, {
3198
+ type: "link";
3199
+ attrs: {
3200
+ href: string;
3201
+ };
3202
+ }>, z.ZodObject<{
3203
+ type: z.ZodLiteral<"bold">;
3204
+ }, "strip", z.ZodTypeAny, {
3205
+ type: "bold";
3206
+ }, {
3207
+ type: "bold";
3208
+ }>, z.ZodObject<{
3209
+ type: z.ZodLiteral<"italic">;
3210
+ }, "strip", z.ZodTypeAny, {
3211
+ type: "italic";
3212
+ }, {
3213
+ type: "italic";
3214
+ }>, z.ZodObject<{
3215
+ type: z.ZodLiteral<"underline">;
3216
+ }, "strip", z.ZodTypeAny, {
3217
+ type: "underline";
3218
+ }, {
3219
+ type: "underline";
3220
+ }>, z.ZodObject<{
3221
+ type: z.ZodLiteral<"strike">;
3222
+ }, "strip", z.ZodTypeAny, {
3223
+ type: "strike";
3224
+ }, {
3225
+ type: "strike";
3226
+ }>]>, "many">>;
3227
+ }, "strip", z.ZodTypeAny, {
3228
+ type: "text";
3229
+ text: string;
3230
+ marks?: ({
3231
+ type: "link";
3232
+ attrs: {
3233
+ href: string;
3234
+ };
3235
+ } | {
3236
+ type: "bold";
3237
+ } | {
3238
+ type: "italic";
3239
+ } | {
3240
+ type: "underline";
3241
+ } | {
3242
+ type: "strike";
3243
+ })[] | undefined;
3244
+ }, {
3245
+ type: "text";
3246
+ text: string;
3247
+ marks?: ({
3248
+ type: "link";
3249
+ attrs: {
3250
+ href: string;
3251
+ };
3252
+ } | {
3253
+ type: "bold";
3254
+ } | {
3255
+ type: "italic";
3256
+ } | {
3257
+ type: "underline";
3258
+ } | {
3259
+ type: "strike";
3260
+ })[] | undefined;
3261
+ }>, "many">;
3262
+ }, "strip", z.ZodTypeAny, {
3263
+ type: "paragraph";
3264
+ content: {
3265
+ type: "text";
3266
+ text: string;
3267
+ marks?: ({
3268
+ type: "link";
3269
+ attrs: {
3270
+ href: string;
3271
+ };
3272
+ } | {
3273
+ type: "bold";
3274
+ } | {
3275
+ type: "italic";
3276
+ } | {
3277
+ type: "underline";
3278
+ } | {
3279
+ type: "strike";
3280
+ })[] | undefined;
3281
+ }[];
3282
+ }, {
3283
+ type: "paragraph";
3284
+ content: {
3285
+ type: "text";
3286
+ text: string;
3287
+ marks?: ({
3288
+ type: "link";
3289
+ attrs: {
3290
+ href: string;
3291
+ };
3292
+ } | {
3293
+ type: "bold";
3294
+ } | {
3295
+ type: "italic";
3296
+ } | {
3297
+ type: "underline";
3298
+ } | {
3299
+ type: "strike";
3300
+ })[] | undefined;
3301
+ }[];
3302
+ }>, z.ZodObject<{
3303
+ type: z.ZodLiteral<"text">;
3304
+ text: z.ZodString;
3305
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3306
+ type: z.ZodLiteral<"link">;
3307
+ attrs: z.ZodObject<{
3308
+ href: z.ZodEffects<z.ZodString, string, string>;
3309
+ }, "strip", z.ZodTypeAny, {
3310
+ href: string;
3311
+ }, {
3312
+ href: string;
3313
+ }>;
3314
+ }, "strip", z.ZodTypeAny, {
3315
+ type: "link";
3316
+ attrs: {
3317
+ href: string;
3318
+ };
3319
+ }, {
3320
+ type: "link";
3321
+ attrs: {
3322
+ href: string;
3323
+ };
3324
+ }>, z.ZodObject<{
3325
+ type: z.ZodLiteral<"bold">;
3326
+ }, "strip", z.ZodTypeAny, {
3327
+ type: "bold";
3328
+ }, {
3329
+ type: "bold";
3330
+ }>, z.ZodObject<{
3331
+ type: z.ZodLiteral<"italic">;
3332
+ }, "strip", z.ZodTypeAny, {
3333
+ type: "italic";
3334
+ }, {
3335
+ type: "italic";
3336
+ }>, z.ZodObject<{
3337
+ type: z.ZodLiteral<"underline">;
3338
+ }, "strip", z.ZodTypeAny, {
3339
+ type: "underline";
3340
+ }, {
3341
+ type: "underline";
3342
+ }>, z.ZodObject<{
3343
+ type: z.ZodLiteral<"strike">;
3344
+ }, "strip", z.ZodTypeAny, {
3345
+ type: "strike";
3346
+ }, {
3347
+ type: "strike";
3348
+ }>]>, "many">>;
3349
+ }, "strip", z.ZodTypeAny, {
3350
+ type: "text";
3351
+ text: string;
3352
+ marks?: ({
3353
+ type: "link";
3354
+ attrs: {
3355
+ href: string;
3356
+ };
3357
+ } | {
3358
+ type: "bold";
3359
+ } | {
3360
+ type: "italic";
3361
+ } | {
3362
+ type: "underline";
3363
+ } | {
3364
+ type: "strike";
3365
+ })[] | undefined;
3366
+ }, {
3367
+ type: "text";
3368
+ text: string;
3369
+ marks?: ({
3370
+ type: "link";
3371
+ attrs: {
3372
+ href: string;
3373
+ };
3374
+ } | {
3375
+ type: "bold";
3376
+ } | {
3377
+ type: "italic";
3378
+ } | {
3379
+ type: "underline";
3380
+ } | {
3381
+ type: "strike";
3382
+ })[] | undefined;
3383
+ }>]>, "many">;
3384
+ }, "strip", z.ZodTypeAny, {
3385
+ type: "doc";
3386
+ content: ({
3387
+ type: "text";
3388
+ text: string;
3389
+ marks?: ({
3390
+ type: "link";
3391
+ attrs: {
3392
+ href: string;
3393
+ };
3394
+ } | {
3395
+ type: "bold";
3396
+ } | {
3397
+ type: "italic";
3398
+ } | {
3399
+ type: "underline";
3400
+ } | {
3401
+ type: "strike";
3402
+ })[] | undefined;
3403
+ } | {
3404
+ type: "paragraph";
3405
+ content: {
3406
+ type: "text";
3407
+ text: string;
3408
+ marks?: ({
3409
+ type: "link";
3410
+ attrs: {
3411
+ href: string;
3412
+ };
3413
+ } | {
3414
+ type: "bold";
3415
+ } | {
3416
+ type: "italic";
3417
+ } | {
3418
+ type: "underline";
3419
+ } | {
3420
+ type: "strike";
3421
+ })[] | undefined;
3422
+ }[];
3423
+ })[];
3424
+ }, {
3425
+ type: "doc";
3426
+ content: ({
3427
+ type: "text";
3428
+ text: string;
3429
+ marks?: ({
3430
+ type: "link";
3431
+ attrs: {
3432
+ href: string;
3433
+ };
3434
+ } | {
3435
+ type: "bold";
3436
+ } | {
3437
+ type: "italic";
3438
+ } | {
3439
+ type: "underline";
3440
+ } | {
3441
+ type: "strike";
3442
+ })[] | undefined;
3443
+ } | {
3444
+ type: "paragraph";
3445
+ content: {
3446
+ type: "text";
3447
+ text: string;
3448
+ marks?: ({
3449
+ type: "link";
3450
+ attrs: {
3451
+ href: string;
3452
+ };
3453
+ } | {
3454
+ type: "bold";
3455
+ } | {
3456
+ type: "italic";
3457
+ } | {
3458
+ type: "underline";
3459
+ } | {
3460
+ type: "strike";
3461
+ })[] | undefined;
3462
+ }[];
3463
+ })[];
3464
+ }>;
3465
+ strapline: z.ZodOptional<z.ZodString>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ description: {
3468
+ type: "doc";
3469
+ content: ({
3470
+ type: "text";
3471
+ text: string;
3472
+ marks?: ({
3473
+ type: "link";
3474
+ attrs: {
3475
+ href: string;
3476
+ };
3477
+ } | {
3478
+ type: "bold";
3479
+ } | {
3480
+ type: "italic";
3481
+ } | {
3482
+ type: "underline";
3483
+ } | {
3484
+ type: "strike";
3485
+ })[] | undefined;
3486
+ } | {
3487
+ type: "paragraph";
3488
+ content: {
3489
+ type: "text";
3490
+ text: string;
3491
+ marks?: ({
3492
+ type: "link";
3493
+ attrs: {
3494
+ href: string;
3495
+ };
3496
+ } | {
3497
+ type: "bold";
3498
+ } | {
3499
+ type: "italic";
3500
+ } | {
3501
+ type: "underline";
3502
+ } | {
3503
+ type: "strike";
3504
+ })[] | undefined;
3505
+ }[];
3506
+ })[];
3507
+ };
3508
+ heading?: {
3509
+ text: string;
3510
+ href?: string | undefined;
3511
+ } | undefined;
3512
+ strapline?: string | undefined;
3513
+ }, {
3514
+ description: {
3515
+ type: "doc";
3516
+ content: ({
3517
+ type: "text";
3518
+ text: string;
3519
+ marks?: ({
3520
+ type: "link";
3521
+ attrs: {
3522
+ href: string;
3523
+ };
3524
+ } | {
3525
+ type: "bold";
3526
+ } | {
3527
+ type: "italic";
3528
+ } | {
3529
+ type: "underline";
3530
+ } | {
3531
+ type: "strike";
3532
+ })[] | undefined;
3533
+ } | {
3534
+ type: "paragraph";
3535
+ content: {
3536
+ type: "text";
3537
+ text: string;
3538
+ marks?: ({
3539
+ type: "link";
3540
+ attrs: {
3541
+ href: string;
3542
+ };
3543
+ } | {
3544
+ type: "bold";
3545
+ } | {
3546
+ type: "italic";
3547
+ } | {
3548
+ type: "underline";
3549
+ } | {
3550
+ type: "strike";
3551
+ })[] | undefined;
3552
+ }[];
3553
+ })[];
3554
+ };
3555
+ heading?: {
3556
+ text: string;
3557
+ href?: string | undefined;
3558
+ } | undefined;
3559
+ strapline?: string | undefined;
3560
+ }>;
3561
+ } & {
3562
+ sliceId: z.ZodString;
3563
+ }, "strip", z.ZodTypeAny, {
3564
+ type: "Topper";
3565
+ properties: {
3566
+ description: {
3567
+ type: "doc";
3568
+ content: ({
3569
+ type: "text";
3570
+ text: string;
3571
+ marks?: ({
3572
+ type: "link";
3573
+ attrs: {
3574
+ href: string;
3575
+ };
3576
+ } | {
3577
+ type: "bold";
3578
+ } | {
3579
+ type: "italic";
3580
+ } | {
3581
+ type: "underline";
3582
+ } | {
3583
+ type: "strike";
3584
+ })[] | undefined;
3585
+ } | {
3586
+ type: "paragraph";
3587
+ content: {
3588
+ type: "text";
3589
+ text: string;
3590
+ marks?: ({
3591
+ type: "link";
3592
+ attrs: {
3593
+ href: string;
3594
+ };
3595
+ } | {
3596
+ type: "bold";
3597
+ } | {
3598
+ type: "italic";
3599
+ } | {
3600
+ type: "underline";
3601
+ } | {
3602
+ type: "strike";
3603
+ })[] | undefined;
3604
+ }[];
3605
+ })[];
3606
+ };
3607
+ heading?: {
3608
+ text: string;
3609
+ href?: string | undefined;
3610
+ } | undefined;
3611
+ strapline?: string | undefined;
3612
+ };
3613
+ sliceId: string;
3614
+ hidden?: boolean | undefined;
3615
+ }, {
3616
+ type: "Topper";
3617
+ properties: {
3618
+ description: {
3619
+ type: "doc";
3620
+ content: ({
3621
+ type: "text";
3622
+ text: string;
3623
+ marks?: ({
3624
+ type: "link";
3625
+ attrs: {
3626
+ href: string;
3627
+ };
3628
+ } | {
3629
+ type: "bold";
3630
+ } | {
3631
+ type: "italic";
3632
+ } | {
3633
+ type: "underline";
3634
+ } | {
3635
+ type: "strike";
3636
+ })[] | undefined;
3637
+ } | {
3638
+ type: "paragraph";
3639
+ content: {
3640
+ type: "text";
3641
+ text: string;
3642
+ marks?: ({
3643
+ type: "link";
3644
+ attrs: {
3645
+ href: string;
3646
+ };
3647
+ } | {
3648
+ type: "bold";
3649
+ } | {
3650
+ type: "italic";
3651
+ } | {
3652
+ type: "underline";
3653
+ } | {
3654
+ type: "strike";
3655
+ })[] | undefined;
3656
+ }[];
3657
+ })[];
3658
+ };
3659
+ heading?: {
3660
+ text: string;
3661
+ href?: string | undefined;
3662
+ } | undefined;
3663
+ strapline?: string | undefined;
3664
+ };
3665
+ sliceId: string;
3666
+ hidden?: boolean | undefined;
3667
+ }>, z.ZodObject<{
3668
+ type: z.ZodLiteral<"Hero">;
3669
+ hidden: z.ZodOptional<z.ZodBoolean>;
3670
+ properties: z.ZodObject<{
3671
+ heading: z.ZodOptional<z.ZodObject<{
3672
+ text: z.ZodString;
3673
+ href: z.ZodOptional<z.ZodString>;
3674
+ }, "strip", z.ZodTypeAny, {
3675
+ text: string;
3676
+ href?: string | undefined;
3677
+ }, {
3678
+ text: string;
3679
+ href?: string | undefined;
3680
+ }>>;
3681
+ } & {
3682
+ listId: z.ZodString;
3683
+ maxStories: z.ZodNumber;
3684
+ }, "strip", z.ZodTypeAny, {
3685
+ listId: string;
3686
+ maxStories: number;
3687
+ heading?: {
3688
+ text: string;
3689
+ href?: string | undefined;
3690
+ } | undefined;
3691
+ }, {
3692
+ listId: string;
3693
+ maxStories: number;
3694
+ heading?: {
3695
+ text: string;
3696
+ href?: string | undefined;
3697
+ } | undefined;
3698
+ }>;
3699
+ } & {
3700
+ sliceId: z.ZodString;
3701
+ }, "strip", z.ZodTypeAny, {
3702
+ type: "Hero";
3703
+ properties: {
3704
+ listId: string;
3705
+ maxStories: number;
3706
+ heading?: {
3707
+ text: string;
3708
+ href?: string | undefined;
3709
+ } | undefined;
3710
+ };
3711
+ sliceId: string;
3712
+ hidden?: boolean | undefined;
3713
+ }, {
3714
+ type: "Hero";
3715
+ properties: {
3716
+ listId: string;
3717
+ maxStories: number;
3718
+ heading?: {
3719
+ text: string;
3720
+ href?: string | undefined;
3721
+ } | undefined;
3722
+ };
3723
+ sliceId: string;
3724
+ hidden?: boolean | undefined;
3725
+ }>, z.ZodObject<{
3726
+ type: z.ZodLiteral<"StoryGroup">;
3727
+ hidden: z.ZodOptional<z.ZodBoolean>;
3728
+ properties: z.ZodObject<{
3729
+ heading: z.ZodOptional<z.ZodObject<{
3730
+ text: z.ZodString;
3731
+ href: z.ZodOptional<z.ZodString>;
3732
+ }, "strip", z.ZodTypeAny, {
3733
+ text: string;
3734
+ href?: string | undefined;
3735
+ }, {
3736
+ text: string;
3737
+ href?: string | undefined;
3738
+ }>>;
3739
+ } & {
3740
+ storySlots: z.ZodArray<z.ZodString, "atleastone">;
3741
+ }, "strip", z.ZodTypeAny, {
3742
+ storySlots: [string, ...string[]];
3743
+ heading?: {
3744
+ text: string;
3745
+ href?: string | undefined;
3746
+ } | undefined;
3747
+ }, {
3748
+ storySlots: [string, ...string[]];
3749
+ heading?: {
3750
+ text: string;
3751
+ href?: string | undefined;
3752
+ } | undefined;
3753
+ }>;
3754
+ } & {
3755
+ sliceId: z.ZodString;
3756
+ }, "strip", z.ZodTypeAny, {
3757
+ type: "StoryGroup";
3758
+ properties: {
3759
+ storySlots: [string, ...string[]];
3760
+ heading?: {
3761
+ text: string;
3762
+ href?: string | undefined;
3763
+ } | undefined;
3764
+ };
3765
+ sliceId: string;
3766
+ hidden?: boolean | undefined;
3767
+ }, {
3768
+ type: "StoryGroup";
3769
+ properties: {
3770
+ storySlots: [string, ...string[]];
3771
+ heading?: {
3772
+ text: string;
3773
+ href?: string | undefined;
3774
+ } | undefined;
3775
+ };
3776
+ sliceId: string;
3777
+ hidden?: boolean | undefined;
3778
+ }>]>, "many">;
3779
+ }, "strip", z.ZodTypeAny, {
3780
+ type: "Page";
3781
+ properties: {
3782
+ title: string;
3783
+ pageId: string;
3784
+ publicationId: string;
3785
+ sponsorText?: string | undefined;
3786
+ sponsorImage?: string | undefined;
3787
+ conceptId?: string | undefined;
3788
+ metaDescription?: string | undefined;
3789
+ pageTheme?: string | undefined;
3790
+ pageCategory?: string | undefined;
3791
+ };
3792
+ children: ({
3793
+ type: "Interactive";
3794
+ properties: {
3795
+ flourishId: string;
3796
+ flourishAltText: string;
3797
+ heading?: {
3798
+ text: string;
3799
+ href?: string | undefined;
3800
+ } | undefined;
3801
+ flourishDescription?: string | undefined;
3802
+ storyUUID?: string | undefined;
3803
+ theme?: string | undefined;
3804
+ };
3805
+ sliceId: string;
3806
+ hidden?: boolean | undefined;
3807
+ } | {
3808
+ type: "Experiment";
3809
+ properties: {
3810
+ experimentName: string;
3811
+ experimentId: string;
3812
+ contentJson: string;
3813
+ heading?: {
3814
+ text: string;
3815
+ href?: string | undefined;
3816
+ } | undefined;
3817
+ };
3818
+ sliceId: string;
3819
+ hidden?: boolean | undefined;
3820
+ } | {
3821
+ type: "Strip";
3822
+ properties: {
3823
+ listId: string;
3824
+ maxStories: number;
3825
+ heading?: {
3826
+ text: string;
3827
+ href?: string | undefined;
3828
+ } | undefined;
3829
+ };
3830
+ sliceId: string;
3831
+ hidden?: boolean | undefined;
3832
+ } | {
3833
+ type: "Topper";
3834
+ properties: {
3835
+ description: {
3836
+ type: "doc";
3837
+ content: ({
3838
+ type: "text";
3839
+ text: string;
3840
+ marks?: ({
3841
+ type: "link";
3842
+ attrs: {
3843
+ href: string;
3844
+ };
3845
+ } | {
3846
+ type: "bold";
3847
+ } | {
3848
+ type: "italic";
3849
+ } | {
3850
+ type: "underline";
3851
+ } | {
3852
+ type: "strike";
3853
+ })[] | undefined;
3854
+ } | {
3855
+ type: "paragraph";
3856
+ content: {
3857
+ type: "text";
3858
+ text: string;
3859
+ marks?: ({
3860
+ type: "link";
3861
+ attrs: {
3862
+ href: string;
3863
+ };
3864
+ } | {
3865
+ type: "bold";
3866
+ } | {
3867
+ type: "italic";
3868
+ } | {
3869
+ type: "underline";
3870
+ } | {
3871
+ type: "strike";
3872
+ })[] | undefined;
3873
+ }[];
3874
+ })[];
3875
+ };
3876
+ heading?: {
3877
+ text: string;
3878
+ href?: string | undefined;
3879
+ } | undefined;
3880
+ strapline?: string | undefined;
3881
+ };
3882
+ sliceId: string;
3883
+ hidden?: boolean | undefined;
3884
+ } | {
3885
+ type: "Hero";
3886
+ properties: {
3887
+ listId: string;
3888
+ maxStories: number;
3889
+ heading?: {
3890
+ text: string;
3891
+ href?: string | undefined;
3892
+ } | undefined;
3893
+ };
3894
+ sliceId: string;
3895
+ hidden?: boolean | undefined;
3896
+ } | {
3897
+ type: "StoryGroup";
3898
+ properties: {
3899
+ storySlots: [string, ...string[]];
3900
+ heading?: {
3901
+ text: string;
3902
+ href?: string | undefined;
3903
+ } | undefined;
3904
+ };
3905
+ sliceId: string;
3906
+ hidden?: boolean | undefined;
3907
+ })[];
3908
+ schemaVersion: number;
3909
+ }, {
3910
+ type: "Page";
3911
+ properties: {
3912
+ title: string;
3913
+ pageId: string;
3914
+ publicationId: string;
3915
+ sponsorText?: string | undefined;
3916
+ sponsorImage?: string | undefined;
3917
+ conceptId?: string | undefined;
3918
+ metaDescription?: string | undefined;
3919
+ pageTheme?: string | undefined;
3920
+ pageCategory?: string | undefined;
3921
+ };
3922
+ children: ({
3923
+ type: "Interactive";
3924
+ properties: {
3925
+ flourishId: string;
3926
+ flourishAltText: string;
3927
+ heading?: {
3928
+ text: string;
3929
+ href?: string | undefined;
3930
+ } | undefined;
3931
+ flourishDescription?: string | undefined;
3932
+ storyUUID?: string | undefined;
3933
+ theme?: string | undefined;
3934
+ };
3935
+ sliceId: string;
3936
+ hidden?: boolean | undefined;
3937
+ } | {
3938
+ type: "Experiment";
3939
+ properties: {
3940
+ experimentName: string;
3941
+ experimentId: string;
3942
+ contentJson: string;
3943
+ heading?: {
3944
+ text: string;
3945
+ href?: string | undefined;
3946
+ } | undefined;
3947
+ };
3948
+ sliceId: string;
3949
+ hidden?: boolean | undefined;
3950
+ } | {
3951
+ type: "Strip";
3952
+ properties: {
3953
+ listId: string;
3954
+ maxStories: number;
3955
+ heading?: {
3956
+ text: string;
3957
+ href?: string | undefined;
3958
+ } | undefined;
3959
+ };
3960
+ sliceId: string;
3961
+ hidden?: boolean | undefined;
3962
+ } | {
3963
+ type: "Topper";
3964
+ properties: {
3965
+ description: {
3966
+ type: "doc";
3967
+ content: ({
3968
+ type: "text";
3969
+ text: string;
3970
+ marks?: ({
3971
+ type: "link";
3972
+ attrs: {
3973
+ href: string;
3974
+ };
3975
+ } | {
3976
+ type: "bold";
3977
+ } | {
3978
+ type: "italic";
3979
+ } | {
3980
+ type: "underline";
3981
+ } | {
3982
+ type: "strike";
3983
+ })[] | undefined;
3984
+ } | {
3985
+ type: "paragraph";
3986
+ content: {
3987
+ type: "text";
3988
+ text: string;
3989
+ marks?: ({
3990
+ type: "link";
3991
+ attrs: {
3992
+ href: string;
3993
+ };
3994
+ } | {
3995
+ type: "bold";
3996
+ } | {
3997
+ type: "italic";
3998
+ } | {
3999
+ type: "underline";
4000
+ } | {
4001
+ type: "strike";
4002
+ })[] | undefined;
4003
+ }[];
4004
+ })[];
4005
+ };
4006
+ heading?: {
4007
+ text: string;
4008
+ href?: string | undefined;
4009
+ } | undefined;
4010
+ strapline?: string | undefined;
4011
+ };
4012
+ sliceId: string;
4013
+ hidden?: boolean | undefined;
4014
+ } | {
4015
+ type: "Hero";
4016
+ properties: {
4017
+ listId: string;
4018
+ maxStories: number;
4019
+ heading?: {
4020
+ text: string;
4021
+ href?: string | undefined;
4022
+ } | undefined;
4023
+ };
4024
+ sliceId: string;
4025
+ hidden?: boolean | undefined;
4026
+ } | {
4027
+ type: "StoryGroup";
4028
+ properties: {
4029
+ storySlots: [string, ...string[]];
4030
+ heading?: {
4031
+ text: string;
4032
+ href?: string | undefined;
4033
+ } | undefined;
4034
+ };
4035
+ sliceId: string;
4036
+ hidden?: boolean | undefined;
4037
+ })[];
4038
+ schemaVersion: number;
4039
+ }>, "many">;
4040
+
2917
4041
  /**
2918
4042
  * Client for Page structure endpoints
2919
4043
  */
@@ -2922,6 +4046,137 @@ declare class PageClient extends BaseApiClient {
2922
4046
  getDraft(pageId: string): Promise<PageDraft | null>;
2923
4047
  getLegacyHubPageStructure(pageId: string): Promise<LegacyPageStructureOutput>;
2924
4048
  upsertStructure(pageId: string, data: Omit<PageStructureInput, "type">): Promise<PageStructureOutput>;
4049
+ listPages(options?: ListPagesOptions): Promise<{
4050
+ type: "Page";
4051
+ properties: {
4052
+ title: string;
4053
+ pageId: string;
4054
+ publicationId: string;
4055
+ sponsorText?: string | undefined;
4056
+ sponsorImage?: string | undefined;
4057
+ conceptId?: string | undefined;
4058
+ metaDescription?: string | undefined;
4059
+ pageTheme?: string | undefined;
4060
+ pageCategory?: string | undefined;
4061
+ };
4062
+ children: ({
4063
+ type: "Interactive";
4064
+ properties: {
4065
+ flourishId: string;
4066
+ flourishAltText: string;
4067
+ heading?: {
4068
+ text: string;
4069
+ href?: string | undefined;
4070
+ } | undefined;
4071
+ flourishDescription?: string | undefined;
4072
+ storyUUID?: string | undefined;
4073
+ theme?: string | undefined;
4074
+ };
4075
+ sliceId: string;
4076
+ hidden?: boolean | undefined;
4077
+ } | {
4078
+ type: "Experiment";
4079
+ properties: {
4080
+ experimentName: string;
4081
+ experimentId: string;
4082
+ contentJson: string;
4083
+ heading?: {
4084
+ text: string;
4085
+ href?: string | undefined;
4086
+ } | undefined;
4087
+ };
4088
+ sliceId: string;
4089
+ hidden?: boolean | undefined;
4090
+ } | {
4091
+ type: "Strip";
4092
+ properties: {
4093
+ listId: string;
4094
+ maxStories: number;
4095
+ heading?: {
4096
+ text: string;
4097
+ href?: string | undefined;
4098
+ } | undefined;
4099
+ };
4100
+ sliceId: string;
4101
+ hidden?: boolean | undefined;
4102
+ } | {
4103
+ type: "Topper";
4104
+ properties: {
4105
+ description: {
4106
+ type: "doc";
4107
+ content: ({
4108
+ type: "text";
4109
+ text: string;
4110
+ marks?: ({
4111
+ type: "link";
4112
+ attrs: {
4113
+ href: string;
4114
+ };
4115
+ } | {
4116
+ type: "bold";
4117
+ } | {
4118
+ type: "italic";
4119
+ } | {
4120
+ type: "underline";
4121
+ } | {
4122
+ type: "strike";
4123
+ })[] | undefined;
4124
+ } | {
4125
+ type: "paragraph";
4126
+ content: {
4127
+ type: "text";
4128
+ text: string;
4129
+ marks?: ({
4130
+ type: "link";
4131
+ attrs: {
4132
+ href: string;
4133
+ };
4134
+ } | {
4135
+ type: "bold";
4136
+ } | {
4137
+ type: "italic";
4138
+ } | {
4139
+ type: "underline";
4140
+ } | {
4141
+ type: "strike";
4142
+ })[] | undefined;
4143
+ }[];
4144
+ })[];
4145
+ };
4146
+ heading?: {
4147
+ text: string;
4148
+ href?: string | undefined;
4149
+ } | undefined;
4150
+ strapline?: string | undefined;
4151
+ };
4152
+ sliceId: string;
4153
+ hidden?: boolean | undefined;
4154
+ } | {
4155
+ type: "Hero";
4156
+ properties: {
4157
+ listId: string;
4158
+ maxStories: number;
4159
+ heading?: {
4160
+ text: string;
4161
+ href?: string | undefined;
4162
+ } | undefined;
4163
+ };
4164
+ sliceId: string;
4165
+ hidden?: boolean | undefined;
4166
+ } | {
4167
+ type: "StoryGroup";
4168
+ properties: {
4169
+ storySlots: [string, ...string[]];
4170
+ heading?: {
4171
+ text: string;
4172
+ href?: string | undefined;
4173
+ } | undefined;
4174
+ };
4175
+ sliceId: string;
4176
+ hidden?: boolean | undefined;
4177
+ })[];
4178
+ schemaVersion: number;
4179
+ }[]>;
2925
4180
  }
2926
4181
  export { PageClient }
2927
4182
  export { PageClient as PageClient_alias_1 }
@@ -2967,6 +4222,7 @@ declare const PageDraftSchema: z.ZodObject<{
2967
4222
  pageTheme: z.ZodOptional<z.ZodString>;
2968
4223
  sponsorText: z.ZodOptional<z.ZodString>;
2969
4224
  sponsorImage: z.ZodOptional<z.ZodString>;
4225
+ pageCategory: z.ZodOptional<z.ZodString>;
2970
4226
  }, "strip", z.ZodTypeAny, {
2971
4227
  title: string;
2972
4228
  pageId: string;
@@ -2976,6 +4232,7 @@ declare const PageDraftSchema: z.ZodObject<{
2976
4232
  conceptId?: string | undefined;
2977
4233
  metaDescription?: string | undefined;
2978
4234
  pageTheme?: string | undefined;
4235
+ pageCategory?: string | undefined;
2979
4236
  }, {
2980
4237
  title: string;
2981
4238
  pageId: string;
@@ -2985,6 +4242,7 @@ declare const PageDraftSchema: z.ZodObject<{
2985
4242
  conceptId?: string | undefined;
2986
4243
  metaDescription?: string | undefined;
2987
4244
  pageTheme?: string | undefined;
4245
+ pageCategory?: string | undefined;
2988
4246
  }>;
2989
4247
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
2990
4248
  type: z.ZodLiteral<"Interactive">;
@@ -3809,6 +5067,7 @@ declare const PageDraftSchema: z.ZodObject<{
3809
5067
  conceptId?: string | undefined;
3810
5068
  metaDescription?: string | undefined;
3811
5069
  pageTheme?: string | undefined;
5070
+ pageCategory?: string | undefined;
3812
5071
  };
3813
5072
  children: ({
3814
5073
  type: "Interactive";
@@ -3938,6 +5197,7 @@ declare const PageDraftSchema: z.ZodObject<{
3938
5197
  conceptId?: string | undefined;
3939
5198
  metaDescription?: string | undefined;
3940
5199
  pageTheme?: string | undefined;
5200
+ pageCategory?: string | undefined;
3941
5201
  };
3942
5202
  children: ({
3943
5203
  type: "Interactive";
@@ -4079,6 +5339,7 @@ declare const PageDraftSchema: z.ZodObject<{
4079
5339
  conceptId?: string | undefined;
4080
5340
  metaDescription?: string | undefined;
4081
5341
  pageTheme?: string | undefined;
5342
+ pageCategory?: string | undefined;
4082
5343
  };
4083
5344
  children: ({
4084
5345
  type: "Interactive";
@@ -4220,6 +5481,7 @@ declare const PageDraftSchema: z.ZodObject<{
4220
5481
  conceptId?: string | undefined;
4221
5482
  metaDescription?: string | undefined;
4222
5483
  pageTheme?: string | undefined;
5484
+ pageCategory?: string | undefined;
4223
5485
  };
4224
5486
  children: ({
4225
5487
  type: "Interactive";
@@ -4363,6 +5625,7 @@ declare const PageStructureInputSchema: z.ZodObject<{
4363
5625
  pageTheme: z.ZodOptional<z.ZodString>;
4364
5626
  sponsorText: z.ZodOptional<z.ZodString>;
4365
5627
  sponsorImage: z.ZodOptional<z.ZodString>;
5628
+ pageCategory: z.ZodOptional<z.ZodString>;
4366
5629
  }, "strip", z.ZodTypeAny, {
4367
5630
  title: string;
4368
5631
  pageId: string;
@@ -4372,6 +5635,7 @@ declare const PageStructureInputSchema: z.ZodObject<{
4372
5635
  conceptId?: string | undefined;
4373
5636
  metaDescription?: string | undefined;
4374
5637
  pageTheme?: string | undefined;
5638
+ pageCategory?: string | undefined;
4375
5639
  }, {
4376
5640
  title: string;
4377
5641
  pageId: string;
@@ -4381,6 +5645,7 @@ declare const PageStructureInputSchema: z.ZodObject<{
4381
5645
  conceptId?: string | undefined;
4382
5646
  metaDescription?: string | undefined;
4383
5647
  pageTheme?: string | undefined;
5648
+ pageCategory?: string | undefined;
4384
5649
  }>;
4385
5650
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
4386
5651
  type: z.ZodLiteral<"Interactive">;
@@ -5204,6 +6469,7 @@ declare const PageStructureInputSchema: z.ZodObject<{
5204
6469
  conceptId?: string | undefined;
5205
6470
  metaDescription?: string | undefined;
5206
6471
  pageTheme?: string | undefined;
6472
+ pageCategory?: string | undefined;
5207
6473
  };
5208
6474
  children: ({
5209
6475
  type: "Interactive";
@@ -5331,6 +6597,7 @@ declare const PageStructureInputSchema: z.ZodObject<{
5331
6597
  conceptId?: string | undefined;
5332
6598
  metaDescription?: string | undefined;
5333
6599
  pageTheme?: string | undefined;
6600
+ pageCategory?: string | undefined;
5334
6601
  };
5335
6602
  children: ({
5336
6603
  type: "Interactive";
@@ -5472,6 +6739,7 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5472
6739
  pageTheme: z.ZodOptional<z.ZodString>;
5473
6740
  sponsorText: z.ZodOptional<z.ZodString>;
5474
6741
  sponsorImage: z.ZodOptional<z.ZodString>;
6742
+ pageCategory: z.ZodOptional<z.ZodString>;
5475
6743
  }, "strip", z.ZodTypeAny, {
5476
6744
  title: string;
5477
6745
  pageId: string;
@@ -5481,6 +6749,7 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5481
6749
  conceptId?: string | undefined;
5482
6750
  metaDescription?: string | undefined;
5483
6751
  pageTheme?: string | undefined;
6752
+ pageCategory?: string | undefined;
5484
6753
  }, {
5485
6754
  title: string;
5486
6755
  pageId: string;
@@ -5490,6 +6759,7 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5490
6759
  conceptId?: string | undefined;
5491
6760
  metaDescription?: string | undefined;
5492
6761
  pageTheme?: string | undefined;
6762
+ pageCategory?: string | undefined;
5493
6763
  }>;
5494
6764
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
5495
6765
  type: z.ZodLiteral<"Interactive">;
@@ -6314,6 +7584,7 @@ declare const PageStructureOutputSchema: z.ZodObject<{
6314
7584
  conceptId?: string | undefined;
6315
7585
  metaDescription?: string | undefined;
6316
7586
  pageTheme?: string | undefined;
7587
+ pageCategory?: string | undefined;
6317
7588
  };
6318
7589
  children: ({
6319
7590
  type: "Interactive";
@@ -6443,6 +7714,7 @@ declare const PageStructureOutputSchema: z.ZodObject<{
6443
7714
  conceptId?: string | undefined;
6444
7715
  metaDescription?: string | undefined;
6445
7716
  pageTheme?: string | undefined;
7717
+ pageCategory?: string | undefined;
6446
7718
  };
6447
7719
  children: ({
6448
7720
  type: "Interactive";
@@ -6635,6 +7907,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
6635
7907
  pageTheme: z.ZodOptional<z.ZodString>;
6636
7908
  sponsorText: z.ZodOptional<z.ZodString>;
6637
7909
  sponsorImage: z.ZodOptional<z.ZodString>;
7910
+ pageCategory: z.ZodOptional<z.ZodString>;
6638
7911
  }, "strip", z.ZodTypeAny, {
6639
7912
  title: string;
6640
7913
  pageId: string;
@@ -6644,6 +7917,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
6644
7917
  conceptId?: string | undefined;
6645
7918
  metaDescription?: string | undefined;
6646
7919
  pageTheme?: string | undefined;
7920
+ pageCategory?: string | undefined;
6647
7921
  }, {
6648
7922
  title: string;
6649
7923
  pageId: string;
@@ -6653,6 +7927,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
6653
7927
  conceptId?: string | undefined;
6654
7928
  metaDescription?: string | undefined;
6655
7929
  pageTheme?: string | undefined;
7930
+ pageCategory?: string | undefined;
6656
7931
  }>;
6657
7932
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
6658
7933
  type: z.ZodLiteral<"Interactive">;
@@ -7476,6 +8751,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
7476
8751
  conceptId?: string | undefined;
7477
8752
  metaDescription?: string | undefined;
7478
8753
  pageTheme?: string | undefined;
8754
+ pageCategory?: string | undefined;
7479
8755
  };
7480
8756
  children: ({
7481
8757
  type: "Interactive";
@@ -7603,6 +8879,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
7603
8879
  conceptId?: string | undefined;
7604
8880
  metaDescription?: string | undefined;
7605
8881
  pageTheme?: string | undefined;
8882
+ pageCategory?: string | undefined;
7606
8883
  };
7607
8884
  children: ({
7608
8885
  type: "Interactive";
@@ -7745,6 +9022,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
7745
9022
  conceptId?: string | undefined;
7746
9023
  metaDescription?: string | undefined;
7747
9024
  pageTheme?: string | undefined;
9025
+ pageCategory?: string | undefined;
7748
9026
  };
7749
9027
  children: ({
7750
9028
  type: "Interactive";
@@ -7879,6 +9157,7 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
7879
9157
  conceptId?: string | undefined;
7880
9158
  metaDescription?: string | undefined;
7881
9159
  pageTheme?: string | undefined;
9160
+ pageCategory?: string | undefined;
7882
9161
  };
7883
9162
  children: ({
7884
9163
  type: "Interactive";