@lightspeed/crane-api 2.4.1-rc.0 → 2.5.0-rc.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.
package/dist/index.d.ts CHANGED
@@ -7236,17 +7236,40 @@ declare const LayoutSettingsSchema: z.ZodObject<{
7236
7236
  type LayoutDesignOverride = z.infer<typeof LayoutDesignOverrideSchema>;
7237
7237
  type LayoutSettings = z.infer<typeof LayoutSettingsSchema>;
7238
7238
 
7239
+ declare const CatalogLayoutSlotSchema: z.ZodEnum<{
7240
+ CONTROLS: "CONTROLS";
7241
+ FOOTER: "FOOTER";
7242
+ CUSTOM_SLOT: "CUSTOM_SLOT";
7243
+ }>;
7244
+ declare const CategoryLayoutSlotSchema: z.ZodEnum<{
7245
+ CONTROLS: "CONTROLS";
7246
+ FOOTER: "FOOTER";
7247
+ CUSTOM_SLOT: "CUSTOM_SLOT";
7248
+ MAIN_TITLE: "MAIN_TITLE";
7249
+ }>;
7250
+ declare const ProductLayoutSlotSchema: z.ZodEnum<{
7251
+ FOOTER: "FOOTER";
7252
+ CUSTOM_SLOT: "CUSTOM_SLOT";
7253
+ TOP_BAR: "TOP_BAR";
7254
+ GALLERY: "GALLERY";
7255
+ SIDEBAR: "SIDEBAR";
7256
+ DESCRIPTION: "DESCRIPTION";
7257
+ REVIEW_LIST: "REVIEW_LIST";
7258
+ RELATED_PRODUCTS: "RELATED_PRODUCTS";
7259
+ }>;
7239
7260
  declare const CatalogLayoutSlot: {
7240
7261
  readonly PRODUCT_LIST: "CONTROLS";
7241
7262
  readonly BOTTOM_BAR: "FOOTER";
7242
7263
  readonly CUSTOM_SLOT: "CUSTOM_SLOT";
7243
7264
  };
7265
+ type CatalogLayoutSlot = z.infer<typeof CatalogLayoutSlotSchema>;
7244
7266
  declare const CategoryLayoutSlot: {
7245
7267
  readonly CATEGORY_TITLE: "MAIN_TITLE";
7246
7268
  readonly PRODUCT_LIST: "CONTROLS";
7247
7269
  readonly BOTTOM_BAR: "FOOTER";
7248
7270
  readonly CUSTOM_SLOT: "CUSTOM_SLOT";
7249
7271
  };
7272
+ type CategoryLayoutSlot = z.infer<typeof CategoryLayoutSlotSchema>;
7250
7273
  declare const ProductLayoutSlot: {
7251
7274
  readonly TOP_BAR: "TOP_BAR";
7252
7275
  readonly GALLERY: "GALLERY";
@@ -7257,6 +7280,7 @@ declare const ProductLayoutSlot: {
7257
7280
  readonly BOTTOM_BAR: "FOOTER";
7258
7281
  readonly CUSTOM_SLOT: "CUSTOM_SLOT";
7259
7282
  };
7283
+ type ProductLayoutSlot = z.infer<typeof ProductLayoutSlotSchema>;
7260
7284
 
7261
7285
  declare const ManifestSchema: z.ZodObject<{
7262
7286
  version: z.ZodString;
@@ -9954,6 +9978,305 @@ declare const ManifestSchema: z.ZodObject<{
9954
9978
  CONTACT_INFO: "CONTACT_INFO";
9955
9979
  }>>;
9956
9980
  }, z.core.$strict>], "type">;
9981
+ styleId: z.ZodOptional<z.ZodString>;
9982
+ globalSettings: z.ZodOptional<z.ZodObject<{
9983
+ colorPalette: z.ZodObject<{
9984
+ colorA: z.ZodString;
9985
+ colorB: z.ZodString;
9986
+ colorC: z.ZodString;
9987
+ colorD: z.ZodString;
9988
+ colorE: z.ZodString;
9989
+ colorF: z.ZodString;
9990
+ }, z.core.$strict>;
9991
+ fonts: z.ZodObject<{
9992
+ fontPair: z.ZodObject<{
9993
+ headingFont: z.ZodUnion<readonly [z.ZodEnum<{
9994
+ arial: "arial";
9995
+ georgia: "georgia";
9996
+ helvetica: "helvetica";
9997
+ times_new_roman: "times_new_roman";
9998
+ }>, z.ZodEnum<{
9999
+ abeezee: "abeezee";
10000
+ abel: "abel";
10001
+ abril_fatface: "abril_fatface";
10002
+ acme: "acme";
10003
+ actor: "actor";
10004
+ adamina: "adamina";
10005
+ alegreya: "alegreya";
10006
+ alice: "alice";
10007
+ anton: "anton";
10008
+ archivo: "archivo";
10009
+ arimo: "arimo";
10010
+ arsenal: "arsenal";
10011
+ arvo: "arvo";
10012
+ average_sans: "average_sans";
10013
+ basic: "basic";
10014
+ bitter: "bitter";
10015
+ cabin: "cabin";
10016
+ chivo: "chivo";
10017
+ cinzel: "cinzel";
10018
+ comfortaa: "comfortaa";
10019
+ cormorant_garamond: "cormorant_garamond";
10020
+ didact_gothic: "didact_gothic";
10021
+ dm_mono: "dm_mono";
10022
+ dm_sans: "dm_sans";
10023
+ dm_serif_text: "dm_serif_text";
10024
+ exo_two: "exo_two";
10025
+ fira_sans: "fira_sans";
10026
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
10027
+ grandstander: "grandstander";
10028
+ hind: "hind";
10029
+ ibm_plex_mono: "ibm_plex_mono";
10030
+ ibm_plex_sans: "ibm_plex_sans";
10031
+ ibm_plex_serif: "ibm_plex_serif";
10032
+ inknut_antiqua: "inknut_antiqua";
10033
+ instrument_serif: "instrument_serif";
10034
+ inter: "inter";
10035
+ josefin_sans: "josefin_sans";
10036
+ karla: "karla";
10037
+ krona_one: "krona_one";
10038
+ lato: "lato";
10039
+ lora: "lora";
10040
+ luckiest_guy: "luckiest_guy";
10041
+ manrope: "manrope";
10042
+ merriweather: "merriweather";
10043
+ merriweather_sans: "merriweather_sans";
10044
+ montserrat: "montserrat";
10045
+ mulish: "mulish";
10046
+ noto_sans: "noto_sans";
10047
+ noto_serif: "noto_serif";
10048
+ nunito: "nunito";
10049
+ old_standard_tt: "old_standard_tt";
10050
+ open_sans: "open_sans";
10051
+ open_sans_condensed: "open_sans_condensed";
10052
+ orienta: "orienta";
10053
+ oswald: "oswald";
10054
+ oxygen: "oxygen";
10055
+ piazzolla: "piazzolla";
10056
+ playfair_display: "playfair_display";
10057
+ poppins: "poppins";
10058
+ prata: "prata";
10059
+ pt_mono: "pt_mono";
10060
+ pt_sans: "pt_sans";
10061
+ pt_serif: "pt_serif";
10062
+ pt_serif_caption: "pt_serif_caption";
10063
+ quattrocento: "quattrocento";
10064
+ questrial: "questrial";
10065
+ quicksand: "quicksand";
10066
+ raleway: "raleway";
10067
+ roboto: "roboto";
10068
+ roboto_condensed: "roboto_condensed";
10069
+ roboto_flex: "roboto_flex";
10070
+ roboto_mono: "roboto_mono";
10071
+ roboto_slab: "roboto_slab";
10072
+ rubik: "rubik";
10073
+ smooch: "smooch";
10074
+ sora: "sora";
10075
+ source_sans_pro: "source_sans_pro";
10076
+ space_grotesk: "space_grotesk";
10077
+ spectral: "spectral";
10078
+ syne: "syne";
10079
+ tenor_sans: "tenor_sans";
10080
+ ubuntu: "ubuntu";
10081
+ work_sans: "work_sans";
10082
+ yanone_kaffeesatz: "yanone_kaffeesatz";
10083
+ yeseva_one: "yeseva_one";
10084
+ }>, z.ZodEnum<{
10085
+ ambidexter: "ambidexter";
10086
+ authentic_sans: "authentic_sans";
10087
+ avara: "avara";
10088
+ clash_display: "clash_display";
10089
+ fungis: "fungis";
10090
+ general_sans: "general_sans";
10091
+ golos: "golos";
10092
+ le_murmure: "le_murmure";
10093
+ mattone: "mattone";
10094
+ messapia: "messapia";
10095
+ ortica_linear: "ortica_linear";
10096
+ sporting_grotesque: "sporting_grotesque";
10097
+ sprat: "sprat";
10098
+ sprat_condensed: "sprat_condensed";
10099
+ sprat_extended: "sprat_extended";
10100
+ standard: "standard";
10101
+ technor: "technor";
10102
+ terminal_grotesque: "terminal_grotesque";
10103
+ wremena: "wremena";
10104
+ }>]>;
10105
+ headingFontStyle: z.ZodEnum<{
10106
+ bold: "bold";
10107
+ regular: "regular";
10108
+ medium: "medium";
10109
+ semibold: "semibold";
10110
+ "regular-italic": "regular-italic";
10111
+ "medium-italic": "medium-italic";
10112
+ "semibold-italic": "semibold-italic";
10113
+ "bold-italic": "bold-italic";
10114
+ }>;
10115
+ bodyFont: z.ZodUnion<readonly [z.ZodEnum<{
10116
+ arial: "arial";
10117
+ georgia: "georgia";
10118
+ helvetica: "helvetica";
10119
+ times_new_roman: "times_new_roman";
10120
+ }>, z.ZodEnum<{
10121
+ abeezee: "abeezee";
10122
+ abel: "abel";
10123
+ abril_fatface: "abril_fatface";
10124
+ acme: "acme";
10125
+ actor: "actor";
10126
+ adamina: "adamina";
10127
+ alegreya: "alegreya";
10128
+ alice: "alice";
10129
+ anton: "anton";
10130
+ archivo: "archivo";
10131
+ arimo: "arimo";
10132
+ arsenal: "arsenal";
10133
+ arvo: "arvo";
10134
+ average_sans: "average_sans";
10135
+ basic: "basic";
10136
+ bitter: "bitter";
10137
+ cabin: "cabin";
10138
+ chivo: "chivo";
10139
+ cinzel: "cinzel";
10140
+ comfortaa: "comfortaa";
10141
+ cormorant_garamond: "cormorant_garamond";
10142
+ didact_gothic: "didact_gothic";
10143
+ dm_mono: "dm_mono";
10144
+ dm_sans: "dm_sans";
10145
+ dm_serif_text: "dm_serif_text";
10146
+ exo_two: "exo_two";
10147
+ fira_sans: "fira_sans";
10148
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
10149
+ grandstander: "grandstander";
10150
+ hind: "hind";
10151
+ ibm_plex_mono: "ibm_plex_mono";
10152
+ ibm_plex_sans: "ibm_plex_sans";
10153
+ ibm_plex_serif: "ibm_plex_serif";
10154
+ inknut_antiqua: "inknut_antiqua";
10155
+ instrument_serif: "instrument_serif";
10156
+ inter: "inter";
10157
+ josefin_sans: "josefin_sans";
10158
+ karla: "karla";
10159
+ krona_one: "krona_one";
10160
+ lato: "lato";
10161
+ lora: "lora";
10162
+ luckiest_guy: "luckiest_guy";
10163
+ manrope: "manrope";
10164
+ merriweather: "merriweather";
10165
+ merriweather_sans: "merriweather_sans";
10166
+ montserrat: "montserrat";
10167
+ mulish: "mulish";
10168
+ noto_sans: "noto_sans";
10169
+ noto_serif: "noto_serif";
10170
+ nunito: "nunito";
10171
+ old_standard_tt: "old_standard_tt";
10172
+ open_sans: "open_sans";
10173
+ open_sans_condensed: "open_sans_condensed";
10174
+ orienta: "orienta";
10175
+ oswald: "oswald";
10176
+ oxygen: "oxygen";
10177
+ piazzolla: "piazzolla";
10178
+ playfair_display: "playfair_display";
10179
+ poppins: "poppins";
10180
+ prata: "prata";
10181
+ pt_mono: "pt_mono";
10182
+ pt_sans: "pt_sans";
10183
+ pt_serif: "pt_serif";
10184
+ pt_serif_caption: "pt_serif_caption";
10185
+ quattrocento: "quattrocento";
10186
+ questrial: "questrial";
10187
+ quicksand: "quicksand";
10188
+ raleway: "raleway";
10189
+ roboto: "roboto";
10190
+ roboto_condensed: "roboto_condensed";
10191
+ roboto_flex: "roboto_flex";
10192
+ roboto_mono: "roboto_mono";
10193
+ roboto_slab: "roboto_slab";
10194
+ rubik: "rubik";
10195
+ smooch: "smooch";
10196
+ sora: "sora";
10197
+ source_sans_pro: "source_sans_pro";
10198
+ space_grotesk: "space_grotesk";
10199
+ spectral: "spectral";
10200
+ syne: "syne";
10201
+ tenor_sans: "tenor_sans";
10202
+ ubuntu: "ubuntu";
10203
+ work_sans: "work_sans";
10204
+ yanone_kaffeesatz: "yanone_kaffeesatz";
10205
+ yeseva_one: "yeseva_one";
10206
+ }>, z.ZodEnum<{
10207
+ ambidexter: "ambidexter";
10208
+ authentic_sans: "authentic_sans";
10209
+ avara: "avara";
10210
+ clash_display: "clash_display";
10211
+ fungis: "fungis";
10212
+ general_sans: "general_sans";
10213
+ golos: "golos";
10214
+ le_murmure: "le_murmure";
10215
+ mattone: "mattone";
10216
+ messapia: "messapia";
10217
+ ortica_linear: "ortica_linear";
10218
+ sporting_grotesque: "sporting_grotesque";
10219
+ sprat: "sprat";
10220
+ sprat_condensed: "sprat_condensed";
10221
+ sprat_extended: "sprat_extended";
10222
+ standard: "standard";
10223
+ technor: "technor";
10224
+ terminal_grotesque: "terminal_grotesque";
10225
+ wremena: "wremena";
10226
+ }>]>;
10227
+ bodyFontStyle: z.ZodEnum<{
10228
+ bold: "bold";
10229
+ regular: "regular";
10230
+ medium: "medium";
10231
+ semibold: "semibold";
10232
+ "regular-italic": "regular-italic";
10233
+ "medium-italic": "medium-italic";
10234
+ "semibold-italic": "semibold-italic";
10235
+ "bold-italic": "bold-italic";
10236
+ }>;
10237
+ }, z.core.$strict>;
10238
+ general: z.ZodObject<{
10239
+ heading1: z.ZodObject<{
10240
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10241
+ }, z.core.$strict>;
10242
+ heading2: z.ZodObject<{
10243
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10244
+ }, z.core.$strict>;
10245
+ heading3: z.ZodObject<{
10246
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10247
+ }, z.core.$strict>;
10248
+ heading4: z.ZodObject<{
10249
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10250
+ }, z.core.$strict>;
10251
+ body1: z.ZodObject<{
10252
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10253
+ }, z.core.$strict>;
10254
+ body2: z.ZodObject<{
10255
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10256
+ }, z.core.$strict>;
10257
+ body3: z.ZodObject<{
10258
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10259
+ }, z.core.$strict>;
10260
+ body4: z.ZodObject<{
10261
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
10262
+ }, z.core.$strict>;
10263
+ }, z.core.$strict>;
10264
+ }, z.core.$strict>;
10265
+ alignment: z.ZodEnum<{
10266
+ left: "left";
10267
+ center: "center";
10268
+ }>;
10269
+ pageLayout: z.ZodObject<{
10270
+ contentWidth: z.ZodInt;
10271
+ }, z.core.$strict>;
10272
+ cornerRadius: z.ZodEnum<{
10273
+ sharp: "sharp";
10274
+ softened: "softened";
10275
+ slightly_rounded: "slightly_rounded";
10276
+ rounded: "rounded";
10277
+ greatly_rounded: "greatly_rounded";
10278
+ }>;
10279
+ }, z.core.$strict>>;
9957
10280
  }, z.core.$strict>;
9958
10281
  pages: z.ZodArray<z.ZodObject<{
9959
10282
  metadata: z.ZodOptional<z.ZodObject<{
@@ -10486,11 +10809,12 @@ declare const ManifestSchema: z.ZodObject<{
10486
10809
  }, z.core.$strict>>;
10487
10810
  layouts: z.ZodArray<z.ZodObject<{
10488
10811
  id: z.ZodString;
10489
- sectionId: z.ZodString;
10812
+ sectionId: z.ZodPipe<z.ZodString, z.ZodTransform<"category" | "catalog" | "product", string>>;
10490
10813
  assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
10491
10814
  path: z.ZodString;
10492
10815
  size: z.ZodNumber;
10493
10816
  }, z.core.$strict>>>;
10817
+ templateContent: z.ZodOptional<z.ZodString>;
10494
10818
  content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
10495
10819
  type: z.ZodLiteral<"INPUTBOX">;
10496
10820
  label: z.ZodString;
@@ -16059,6 +16383,305 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
16059
16383
  CONTACT_INFO: "CONTACT_INFO";
16060
16384
  }>>;
16061
16385
  }, z.core.$strict>], "type">;
16386
+ styleId: z.ZodOptional<z.ZodString>;
16387
+ globalSettings: z.ZodOptional<z.ZodObject<{
16388
+ colorPalette: z.ZodObject<{
16389
+ colorA: z.ZodString;
16390
+ colorB: z.ZodString;
16391
+ colorC: z.ZodString;
16392
+ colorD: z.ZodString;
16393
+ colorE: z.ZodString;
16394
+ colorF: z.ZodString;
16395
+ }, z.core.$strict>;
16396
+ fonts: z.ZodObject<{
16397
+ fontPair: z.ZodObject<{
16398
+ headingFont: z.ZodUnion<readonly [z.ZodEnum<{
16399
+ arial: "arial";
16400
+ georgia: "georgia";
16401
+ helvetica: "helvetica";
16402
+ times_new_roman: "times_new_roman";
16403
+ }>, z.ZodEnum<{
16404
+ abeezee: "abeezee";
16405
+ abel: "abel";
16406
+ abril_fatface: "abril_fatface";
16407
+ acme: "acme";
16408
+ actor: "actor";
16409
+ adamina: "adamina";
16410
+ alegreya: "alegreya";
16411
+ alice: "alice";
16412
+ anton: "anton";
16413
+ archivo: "archivo";
16414
+ arimo: "arimo";
16415
+ arsenal: "arsenal";
16416
+ arvo: "arvo";
16417
+ average_sans: "average_sans";
16418
+ basic: "basic";
16419
+ bitter: "bitter";
16420
+ cabin: "cabin";
16421
+ chivo: "chivo";
16422
+ cinzel: "cinzel";
16423
+ comfortaa: "comfortaa";
16424
+ cormorant_garamond: "cormorant_garamond";
16425
+ didact_gothic: "didact_gothic";
16426
+ dm_mono: "dm_mono";
16427
+ dm_sans: "dm_sans";
16428
+ dm_serif_text: "dm_serif_text";
16429
+ exo_two: "exo_two";
16430
+ fira_sans: "fira_sans";
16431
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
16432
+ grandstander: "grandstander";
16433
+ hind: "hind";
16434
+ ibm_plex_mono: "ibm_plex_mono";
16435
+ ibm_plex_sans: "ibm_plex_sans";
16436
+ ibm_plex_serif: "ibm_plex_serif";
16437
+ inknut_antiqua: "inknut_antiqua";
16438
+ instrument_serif: "instrument_serif";
16439
+ inter: "inter";
16440
+ josefin_sans: "josefin_sans";
16441
+ karla: "karla";
16442
+ krona_one: "krona_one";
16443
+ lato: "lato";
16444
+ lora: "lora";
16445
+ luckiest_guy: "luckiest_guy";
16446
+ manrope: "manrope";
16447
+ merriweather: "merriweather";
16448
+ merriweather_sans: "merriweather_sans";
16449
+ montserrat: "montserrat";
16450
+ mulish: "mulish";
16451
+ noto_sans: "noto_sans";
16452
+ noto_serif: "noto_serif";
16453
+ nunito: "nunito";
16454
+ old_standard_tt: "old_standard_tt";
16455
+ open_sans: "open_sans";
16456
+ open_sans_condensed: "open_sans_condensed";
16457
+ orienta: "orienta";
16458
+ oswald: "oswald";
16459
+ oxygen: "oxygen";
16460
+ piazzolla: "piazzolla";
16461
+ playfair_display: "playfair_display";
16462
+ poppins: "poppins";
16463
+ prata: "prata";
16464
+ pt_mono: "pt_mono";
16465
+ pt_sans: "pt_sans";
16466
+ pt_serif: "pt_serif";
16467
+ pt_serif_caption: "pt_serif_caption";
16468
+ quattrocento: "quattrocento";
16469
+ questrial: "questrial";
16470
+ quicksand: "quicksand";
16471
+ raleway: "raleway";
16472
+ roboto: "roboto";
16473
+ roboto_condensed: "roboto_condensed";
16474
+ roboto_flex: "roboto_flex";
16475
+ roboto_mono: "roboto_mono";
16476
+ roboto_slab: "roboto_slab";
16477
+ rubik: "rubik";
16478
+ smooch: "smooch";
16479
+ sora: "sora";
16480
+ source_sans_pro: "source_sans_pro";
16481
+ space_grotesk: "space_grotesk";
16482
+ spectral: "spectral";
16483
+ syne: "syne";
16484
+ tenor_sans: "tenor_sans";
16485
+ ubuntu: "ubuntu";
16486
+ work_sans: "work_sans";
16487
+ yanone_kaffeesatz: "yanone_kaffeesatz";
16488
+ yeseva_one: "yeseva_one";
16489
+ }>, z.ZodEnum<{
16490
+ ambidexter: "ambidexter";
16491
+ authentic_sans: "authentic_sans";
16492
+ avara: "avara";
16493
+ clash_display: "clash_display";
16494
+ fungis: "fungis";
16495
+ general_sans: "general_sans";
16496
+ golos: "golos";
16497
+ le_murmure: "le_murmure";
16498
+ mattone: "mattone";
16499
+ messapia: "messapia";
16500
+ ortica_linear: "ortica_linear";
16501
+ sporting_grotesque: "sporting_grotesque";
16502
+ sprat: "sprat";
16503
+ sprat_condensed: "sprat_condensed";
16504
+ sprat_extended: "sprat_extended";
16505
+ standard: "standard";
16506
+ technor: "technor";
16507
+ terminal_grotesque: "terminal_grotesque";
16508
+ wremena: "wremena";
16509
+ }>]>;
16510
+ headingFontStyle: z.ZodEnum<{
16511
+ bold: "bold";
16512
+ regular: "regular";
16513
+ medium: "medium";
16514
+ semibold: "semibold";
16515
+ "regular-italic": "regular-italic";
16516
+ "medium-italic": "medium-italic";
16517
+ "semibold-italic": "semibold-italic";
16518
+ "bold-italic": "bold-italic";
16519
+ }>;
16520
+ bodyFont: z.ZodUnion<readonly [z.ZodEnum<{
16521
+ arial: "arial";
16522
+ georgia: "georgia";
16523
+ helvetica: "helvetica";
16524
+ times_new_roman: "times_new_roman";
16525
+ }>, z.ZodEnum<{
16526
+ abeezee: "abeezee";
16527
+ abel: "abel";
16528
+ abril_fatface: "abril_fatface";
16529
+ acme: "acme";
16530
+ actor: "actor";
16531
+ adamina: "adamina";
16532
+ alegreya: "alegreya";
16533
+ alice: "alice";
16534
+ anton: "anton";
16535
+ archivo: "archivo";
16536
+ arimo: "arimo";
16537
+ arsenal: "arsenal";
16538
+ arvo: "arvo";
16539
+ average_sans: "average_sans";
16540
+ basic: "basic";
16541
+ bitter: "bitter";
16542
+ cabin: "cabin";
16543
+ chivo: "chivo";
16544
+ cinzel: "cinzel";
16545
+ comfortaa: "comfortaa";
16546
+ cormorant_garamond: "cormorant_garamond";
16547
+ didact_gothic: "didact_gothic";
16548
+ dm_mono: "dm_mono";
16549
+ dm_sans: "dm_sans";
16550
+ dm_serif_text: "dm_serif_text";
16551
+ exo_two: "exo_two";
16552
+ fira_sans: "fira_sans";
16553
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
16554
+ grandstander: "grandstander";
16555
+ hind: "hind";
16556
+ ibm_plex_mono: "ibm_plex_mono";
16557
+ ibm_plex_sans: "ibm_plex_sans";
16558
+ ibm_plex_serif: "ibm_plex_serif";
16559
+ inknut_antiqua: "inknut_antiqua";
16560
+ instrument_serif: "instrument_serif";
16561
+ inter: "inter";
16562
+ josefin_sans: "josefin_sans";
16563
+ karla: "karla";
16564
+ krona_one: "krona_one";
16565
+ lato: "lato";
16566
+ lora: "lora";
16567
+ luckiest_guy: "luckiest_guy";
16568
+ manrope: "manrope";
16569
+ merriweather: "merriweather";
16570
+ merriweather_sans: "merriweather_sans";
16571
+ montserrat: "montserrat";
16572
+ mulish: "mulish";
16573
+ noto_sans: "noto_sans";
16574
+ noto_serif: "noto_serif";
16575
+ nunito: "nunito";
16576
+ old_standard_tt: "old_standard_tt";
16577
+ open_sans: "open_sans";
16578
+ open_sans_condensed: "open_sans_condensed";
16579
+ orienta: "orienta";
16580
+ oswald: "oswald";
16581
+ oxygen: "oxygen";
16582
+ piazzolla: "piazzolla";
16583
+ playfair_display: "playfair_display";
16584
+ poppins: "poppins";
16585
+ prata: "prata";
16586
+ pt_mono: "pt_mono";
16587
+ pt_sans: "pt_sans";
16588
+ pt_serif: "pt_serif";
16589
+ pt_serif_caption: "pt_serif_caption";
16590
+ quattrocento: "quattrocento";
16591
+ questrial: "questrial";
16592
+ quicksand: "quicksand";
16593
+ raleway: "raleway";
16594
+ roboto: "roboto";
16595
+ roboto_condensed: "roboto_condensed";
16596
+ roboto_flex: "roboto_flex";
16597
+ roboto_mono: "roboto_mono";
16598
+ roboto_slab: "roboto_slab";
16599
+ rubik: "rubik";
16600
+ smooch: "smooch";
16601
+ sora: "sora";
16602
+ source_sans_pro: "source_sans_pro";
16603
+ space_grotesk: "space_grotesk";
16604
+ spectral: "spectral";
16605
+ syne: "syne";
16606
+ tenor_sans: "tenor_sans";
16607
+ ubuntu: "ubuntu";
16608
+ work_sans: "work_sans";
16609
+ yanone_kaffeesatz: "yanone_kaffeesatz";
16610
+ yeseva_one: "yeseva_one";
16611
+ }>, z.ZodEnum<{
16612
+ ambidexter: "ambidexter";
16613
+ authentic_sans: "authentic_sans";
16614
+ avara: "avara";
16615
+ clash_display: "clash_display";
16616
+ fungis: "fungis";
16617
+ general_sans: "general_sans";
16618
+ golos: "golos";
16619
+ le_murmure: "le_murmure";
16620
+ mattone: "mattone";
16621
+ messapia: "messapia";
16622
+ ortica_linear: "ortica_linear";
16623
+ sporting_grotesque: "sporting_grotesque";
16624
+ sprat: "sprat";
16625
+ sprat_condensed: "sprat_condensed";
16626
+ sprat_extended: "sprat_extended";
16627
+ standard: "standard";
16628
+ technor: "technor";
16629
+ terminal_grotesque: "terminal_grotesque";
16630
+ wremena: "wremena";
16631
+ }>]>;
16632
+ bodyFontStyle: z.ZodEnum<{
16633
+ bold: "bold";
16634
+ regular: "regular";
16635
+ medium: "medium";
16636
+ semibold: "semibold";
16637
+ "regular-italic": "regular-italic";
16638
+ "medium-italic": "medium-italic";
16639
+ "semibold-italic": "semibold-italic";
16640
+ "bold-italic": "bold-italic";
16641
+ }>;
16642
+ }, z.core.$strict>;
16643
+ general: z.ZodObject<{
16644
+ heading1: z.ZodObject<{
16645
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16646
+ }, z.core.$strict>;
16647
+ heading2: z.ZodObject<{
16648
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16649
+ }, z.core.$strict>;
16650
+ heading3: z.ZodObject<{
16651
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16652
+ }, z.core.$strict>;
16653
+ heading4: z.ZodObject<{
16654
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16655
+ }, z.core.$strict>;
16656
+ body1: z.ZodObject<{
16657
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16658
+ }, z.core.$strict>;
16659
+ body2: z.ZodObject<{
16660
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16661
+ }, z.core.$strict>;
16662
+ body3: z.ZodObject<{
16663
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16664
+ }, z.core.$strict>;
16665
+ body4: z.ZodObject<{
16666
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
16667
+ }, z.core.$strict>;
16668
+ }, z.core.$strict>;
16669
+ }, z.core.$strict>;
16670
+ alignment: z.ZodEnum<{
16671
+ left: "left";
16672
+ center: "center";
16673
+ }>;
16674
+ pageLayout: z.ZodObject<{
16675
+ contentWidth: z.ZodInt;
16676
+ }, z.core.$strict>;
16677
+ cornerRadius: z.ZodEnum<{
16678
+ sharp: "sharp";
16679
+ softened: "softened";
16680
+ slightly_rounded: "slightly_rounded";
16681
+ rounded: "rounded";
16682
+ greatly_rounded: "greatly_rounded";
16683
+ }>;
16684
+ }, z.core.$strict>>;
16062
16685
  }, z.core.$strict>;
16063
16686
  declare const TemplateSchema: z.ZodObject<{
16064
16687
  id: z.ZodString;
@@ -17147,6 +17770,305 @@ declare const TemplateSchema: z.ZodObject<{
17147
17770
  CONTACT_INFO: "CONTACT_INFO";
17148
17771
  }>>;
17149
17772
  }, z.core.$strict>], "type">;
17773
+ styleId: z.ZodOptional<z.ZodString>;
17774
+ globalSettings: z.ZodOptional<z.ZodObject<{
17775
+ colorPalette: z.ZodObject<{
17776
+ colorA: z.ZodString;
17777
+ colorB: z.ZodString;
17778
+ colorC: z.ZodString;
17779
+ colorD: z.ZodString;
17780
+ colorE: z.ZodString;
17781
+ colorF: z.ZodString;
17782
+ }, z.core.$strict>;
17783
+ fonts: z.ZodObject<{
17784
+ fontPair: z.ZodObject<{
17785
+ headingFont: z.ZodUnion<readonly [z.ZodEnum<{
17786
+ arial: "arial";
17787
+ georgia: "georgia";
17788
+ helvetica: "helvetica";
17789
+ times_new_roman: "times_new_roman";
17790
+ }>, z.ZodEnum<{
17791
+ abeezee: "abeezee";
17792
+ abel: "abel";
17793
+ abril_fatface: "abril_fatface";
17794
+ acme: "acme";
17795
+ actor: "actor";
17796
+ adamina: "adamina";
17797
+ alegreya: "alegreya";
17798
+ alice: "alice";
17799
+ anton: "anton";
17800
+ archivo: "archivo";
17801
+ arimo: "arimo";
17802
+ arsenal: "arsenal";
17803
+ arvo: "arvo";
17804
+ average_sans: "average_sans";
17805
+ basic: "basic";
17806
+ bitter: "bitter";
17807
+ cabin: "cabin";
17808
+ chivo: "chivo";
17809
+ cinzel: "cinzel";
17810
+ comfortaa: "comfortaa";
17811
+ cormorant_garamond: "cormorant_garamond";
17812
+ didact_gothic: "didact_gothic";
17813
+ dm_mono: "dm_mono";
17814
+ dm_sans: "dm_sans";
17815
+ dm_serif_text: "dm_serif_text";
17816
+ exo_two: "exo_two";
17817
+ fira_sans: "fira_sans";
17818
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
17819
+ grandstander: "grandstander";
17820
+ hind: "hind";
17821
+ ibm_plex_mono: "ibm_plex_mono";
17822
+ ibm_plex_sans: "ibm_plex_sans";
17823
+ ibm_plex_serif: "ibm_plex_serif";
17824
+ inknut_antiqua: "inknut_antiqua";
17825
+ instrument_serif: "instrument_serif";
17826
+ inter: "inter";
17827
+ josefin_sans: "josefin_sans";
17828
+ karla: "karla";
17829
+ krona_one: "krona_one";
17830
+ lato: "lato";
17831
+ lora: "lora";
17832
+ luckiest_guy: "luckiest_guy";
17833
+ manrope: "manrope";
17834
+ merriweather: "merriweather";
17835
+ merriweather_sans: "merriweather_sans";
17836
+ montserrat: "montserrat";
17837
+ mulish: "mulish";
17838
+ noto_sans: "noto_sans";
17839
+ noto_serif: "noto_serif";
17840
+ nunito: "nunito";
17841
+ old_standard_tt: "old_standard_tt";
17842
+ open_sans: "open_sans";
17843
+ open_sans_condensed: "open_sans_condensed";
17844
+ orienta: "orienta";
17845
+ oswald: "oswald";
17846
+ oxygen: "oxygen";
17847
+ piazzolla: "piazzolla";
17848
+ playfair_display: "playfair_display";
17849
+ poppins: "poppins";
17850
+ prata: "prata";
17851
+ pt_mono: "pt_mono";
17852
+ pt_sans: "pt_sans";
17853
+ pt_serif: "pt_serif";
17854
+ pt_serif_caption: "pt_serif_caption";
17855
+ quattrocento: "quattrocento";
17856
+ questrial: "questrial";
17857
+ quicksand: "quicksand";
17858
+ raleway: "raleway";
17859
+ roboto: "roboto";
17860
+ roboto_condensed: "roboto_condensed";
17861
+ roboto_flex: "roboto_flex";
17862
+ roboto_mono: "roboto_mono";
17863
+ roboto_slab: "roboto_slab";
17864
+ rubik: "rubik";
17865
+ smooch: "smooch";
17866
+ sora: "sora";
17867
+ source_sans_pro: "source_sans_pro";
17868
+ space_grotesk: "space_grotesk";
17869
+ spectral: "spectral";
17870
+ syne: "syne";
17871
+ tenor_sans: "tenor_sans";
17872
+ ubuntu: "ubuntu";
17873
+ work_sans: "work_sans";
17874
+ yanone_kaffeesatz: "yanone_kaffeesatz";
17875
+ yeseva_one: "yeseva_one";
17876
+ }>, z.ZodEnum<{
17877
+ ambidexter: "ambidexter";
17878
+ authentic_sans: "authentic_sans";
17879
+ avara: "avara";
17880
+ clash_display: "clash_display";
17881
+ fungis: "fungis";
17882
+ general_sans: "general_sans";
17883
+ golos: "golos";
17884
+ le_murmure: "le_murmure";
17885
+ mattone: "mattone";
17886
+ messapia: "messapia";
17887
+ ortica_linear: "ortica_linear";
17888
+ sporting_grotesque: "sporting_grotesque";
17889
+ sprat: "sprat";
17890
+ sprat_condensed: "sprat_condensed";
17891
+ sprat_extended: "sprat_extended";
17892
+ standard: "standard";
17893
+ technor: "technor";
17894
+ terminal_grotesque: "terminal_grotesque";
17895
+ wremena: "wremena";
17896
+ }>]>;
17897
+ headingFontStyle: z.ZodEnum<{
17898
+ bold: "bold";
17899
+ regular: "regular";
17900
+ medium: "medium";
17901
+ semibold: "semibold";
17902
+ "regular-italic": "regular-italic";
17903
+ "medium-italic": "medium-italic";
17904
+ "semibold-italic": "semibold-italic";
17905
+ "bold-italic": "bold-italic";
17906
+ }>;
17907
+ bodyFont: z.ZodUnion<readonly [z.ZodEnum<{
17908
+ arial: "arial";
17909
+ georgia: "georgia";
17910
+ helvetica: "helvetica";
17911
+ times_new_roman: "times_new_roman";
17912
+ }>, z.ZodEnum<{
17913
+ abeezee: "abeezee";
17914
+ abel: "abel";
17915
+ abril_fatface: "abril_fatface";
17916
+ acme: "acme";
17917
+ actor: "actor";
17918
+ adamina: "adamina";
17919
+ alegreya: "alegreya";
17920
+ alice: "alice";
17921
+ anton: "anton";
17922
+ archivo: "archivo";
17923
+ arimo: "arimo";
17924
+ arsenal: "arsenal";
17925
+ arvo: "arvo";
17926
+ average_sans: "average_sans";
17927
+ basic: "basic";
17928
+ bitter: "bitter";
17929
+ cabin: "cabin";
17930
+ chivo: "chivo";
17931
+ cinzel: "cinzel";
17932
+ comfortaa: "comfortaa";
17933
+ cormorant_garamond: "cormorant_garamond";
17934
+ didact_gothic: "didact_gothic";
17935
+ dm_mono: "dm_mono";
17936
+ dm_sans: "dm_sans";
17937
+ dm_serif_text: "dm_serif_text";
17938
+ exo_two: "exo_two";
17939
+ fira_sans: "fira_sans";
17940
+ fira_sans_extra_condensed: "fira_sans_extra_condensed";
17941
+ grandstander: "grandstander";
17942
+ hind: "hind";
17943
+ ibm_plex_mono: "ibm_plex_mono";
17944
+ ibm_plex_sans: "ibm_plex_sans";
17945
+ ibm_plex_serif: "ibm_plex_serif";
17946
+ inknut_antiqua: "inknut_antiqua";
17947
+ instrument_serif: "instrument_serif";
17948
+ inter: "inter";
17949
+ josefin_sans: "josefin_sans";
17950
+ karla: "karla";
17951
+ krona_one: "krona_one";
17952
+ lato: "lato";
17953
+ lora: "lora";
17954
+ luckiest_guy: "luckiest_guy";
17955
+ manrope: "manrope";
17956
+ merriweather: "merriweather";
17957
+ merriweather_sans: "merriweather_sans";
17958
+ montserrat: "montserrat";
17959
+ mulish: "mulish";
17960
+ noto_sans: "noto_sans";
17961
+ noto_serif: "noto_serif";
17962
+ nunito: "nunito";
17963
+ old_standard_tt: "old_standard_tt";
17964
+ open_sans: "open_sans";
17965
+ open_sans_condensed: "open_sans_condensed";
17966
+ orienta: "orienta";
17967
+ oswald: "oswald";
17968
+ oxygen: "oxygen";
17969
+ piazzolla: "piazzolla";
17970
+ playfair_display: "playfair_display";
17971
+ poppins: "poppins";
17972
+ prata: "prata";
17973
+ pt_mono: "pt_mono";
17974
+ pt_sans: "pt_sans";
17975
+ pt_serif: "pt_serif";
17976
+ pt_serif_caption: "pt_serif_caption";
17977
+ quattrocento: "quattrocento";
17978
+ questrial: "questrial";
17979
+ quicksand: "quicksand";
17980
+ raleway: "raleway";
17981
+ roboto: "roboto";
17982
+ roboto_condensed: "roboto_condensed";
17983
+ roboto_flex: "roboto_flex";
17984
+ roboto_mono: "roboto_mono";
17985
+ roboto_slab: "roboto_slab";
17986
+ rubik: "rubik";
17987
+ smooch: "smooch";
17988
+ sora: "sora";
17989
+ source_sans_pro: "source_sans_pro";
17990
+ space_grotesk: "space_grotesk";
17991
+ spectral: "spectral";
17992
+ syne: "syne";
17993
+ tenor_sans: "tenor_sans";
17994
+ ubuntu: "ubuntu";
17995
+ work_sans: "work_sans";
17996
+ yanone_kaffeesatz: "yanone_kaffeesatz";
17997
+ yeseva_one: "yeseva_one";
17998
+ }>, z.ZodEnum<{
17999
+ ambidexter: "ambidexter";
18000
+ authentic_sans: "authentic_sans";
18001
+ avara: "avara";
18002
+ clash_display: "clash_display";
18003
+ fungis: "fungis";
18004
+ general_sans: "general_sans";
18005
+ golos: "golos";
18006
+ le_murmure: "le_murmure";
18007
+ mattone: "mattone";
18008
+ messapia: "messapia";
18009
+ ortica_linear: "ortica_linear";
18010
+ sporting_grotesque: "sporting_grotesque";
18011
+ sprat: "sprat";
18012
+ sprat_condensed: "sprat_condensed";
18013
+ sprat_extended: "sprat_extended";
18014
+ standard: "standard";
18015
+ technor: "technor";
18016
+ terminal_grotesque: "terminal_grotesque";
18017
+ wremena: "wremena";
18018
+ }>]>;
18019
+ bodyFontStyle: z.ZodEnum<{
18020
+ bold: "bold";
18021
+ regular: "regular";
18022
+ medium: "medium";
18023
+ semibold: "semibold";
18024
+ "regular-italic": "regular-italic";
18025
+ "medium-italic": "medium-italic";
18026
+ "semibold-italic": "semibold-italic";
18027
+ "bold-italic": "bold-italic";
18028
+ }>;
18029
+ }, z.core.$strict>;
18030
+ general: z.ZodObject<{
18031
+ heading1: z.ZodObject<{
18032
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18033
+ }, z.core.$strict>;
18034
+ heading2: z.ZodObject<{
18035
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18036
+ }, z.core.$strict>;
18037
+ heading3: z.ZodObject<{
18038
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18039
+ }, z.core.$strict>;
18040
+ heading4: z.ZodObject<{
18041
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18042
+ }, z.core.$strict>;
18043
+ body1: z.ZodObject<{
18044
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18045
+ }, z.core.$strict>;
18046
+ body2: z.ZodObject<{
18047
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18048
+ }, z.core.$strict>;
18049
+ body3: z.ZodObject<{
18050
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18051
+ }, z.core.$strict>;
18052
+ body4: z.ZodObject<{
18053
+ fontSize: z.ZodUnion<[z.ZodLiteral<number>, ...z.ZodLiteral<number>[]]>;
18054
+ }, z.core.$strict>;
18055
+ }, z.core.$strict>;
18056
+ }, z.core.$strict>;
18057
+ alignment: z.ZodEnum<{
18058
+ left: "left";
18059
+ center: "center";
18060
+ }>;
18061
+ pageLayout: z.ZodObject<{
18062
+ contentWidth: z.ZodInt;
18063
+ }, z.core.$strict>;
18064
+ cornerRadius: z.ZodEnum<{
18065
+ sharp: "sharp";
18066
+ softened: "softened";
18067
+ slightly_rounded: "slightly_rounded";
18068
+ rounded: "rounded";
18069
+ greatly_rounded: "greatly_rounded";
18070
+ }>;
18071
+ }, z.core.$strict>>;
17150
18072
  }, z.core.$strict>;
17151
18073
  pages: z.ZodArray<z.ZodObject<{
17152
18074
  metadata: z.ZodOptional<z.ZodObject<{
@@ -19594,7 +20516,8 @@ declare const template: {
19594
20516
  *
19595
20517
  * Creates a template configuration object with all required fields. This function ensures
19596
20518
  * type safety by requiring all fields defined in TemplateConfiguration, including metadata,
19597
- * header, and footer sections.
20519
+ * header, and footer sections. Style settings are optional, but when used both styleId and
20520
+ * globalSettings must be provided.
19598
20521
  *
19599
20522
  * @example
19600
20523
  * ```typescript
@@ -19617,6 +20540,40 @@ declare const template: {
19617
20540
  * footer: section.default({
19618
20541
  * id: 'footer',
19619
20542
  * }),
20543
+ * styleId: 'customName-001',
20544
+ * globalSettings: {
20545
+ * colorPalette: {
20546
+ * colorA: '#FFFFFF',
20547
+ * colorB: '#F3F5F7',
20548
+ * colorC: '#E7EAEE',
20549
+ * colorD: '#C7352E',
20550
+ * colorE: '#2D3136',
20551
+ * colorF: '#0E0F11',
20552
+ * },
20553
+ * fonts: {
20554
+ * fontPair: {
20555
+ * headingFont: 'dm_sans',
20556
+ * headingFontStyle: 'bold',
20557
+ * bodyFont: 'dm_sans',
20558
+ * bodyFontStyle: 'regular',
20559
+ * },
20560
+ * general: {
20561
+ * heading1: { fontSize: 64 },
20562
+ * heading2: { fontSize: 48 },
20563
+ * heading3: { fontSize: 32 },
20564
+ * heading4: { fontSize: 18 },
20565
+ * body1: { fontSize: 24 },
20566
+ * body2: { fontSize: 18 },
20567
+ * body3: { fontSize: 16 },
20568
+ * body4: { fontSize: 18 },
20569
+ * },
20570
+ * },
20571
+ * alignment: 'center',
20572
+ * pageLayout: {
20573
+ * contentWidth: 1128,
20574
+ * },
20575
+ * cornerRadius: 'sharp',
20576
+ * },
19620
20577
  * })
19621
20578
  * ```
19622
20579
  *