@wise/dynamic-flow-types 2.17.0 → 2.18.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.
@@ -61,25 +61,6 @@ export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
61
61
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
62
62
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
63
63
  }>;
64
- export declare const alertLayoutSchema: z.ZodObject<{
65
- type: z.ZodLiteral<"alert">;
66
- markdown: z.ZodString;
67
- context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
68
- control: z.ZodOptional<z.ZodString>;
69
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
70
- }, "strip", z.ZodTypeAny, {
71
- type: "alert";
72
- markdown: string;
73
- control?: string | undefined;
74
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
75
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
76
- }, {
77
- type: "alert";
78
- markdown: string;
79
- control?: string | undefined;
80
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
81
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
82
- }>;
83
64
  export declare const paragraphLayoutSchema: z.ZodObject<{
84
65
  type: z.ZodLiteral<"paragraph">;
85
66
  text: z.ZodString;
@@ -546,6 +527,13 @@ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
546
527
  providesIcon?: boolean | undefined;
547
528
  providesImage?: boolean | undefined;
548
529
  }>]>;
530
+ export declare const linkSchema: z.ZodObject<{
531
+ url: z.ZodString;
532
+ }, "strip", z.ZodTypeAny, {
533
+ url: string;
534
+ }, {
535
+ url: string;
536
+ }>;
549
537
  export declare const actionSchema: z.ZodObject<{
550
538
  title: z.ZodOptional<z.ZodString>;
551
539
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -971,6 +959,96 @@ export declare const reviewLayoutFieldSchema: z.ZodObject<{
971
959
  markdown: string;
972
960
  } | undefined;
973
961
  }>;
962
+ export declare const behaviorSchema: z.ZodObject<{
963
+ action: z.ZodOptional<z.ZodObject<{
964
+ title: z.ZodOptional<z.ZodString>;
965
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
966
+ disabled: z.ZodOptional<z.ZodBoolean>;
967
+ $id: z.ZodOptional<z.ZodString>;
968
+ $ref: z.ZodOptional<z.ZodString>;
969
+ id: z.ZodOptional<z.ZodString>;
970
+ url: z.ZodOptional<z.ZodString>;
971
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
972
+ exit: z.ZodOptional<z.ZodBoolean>;
973
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
974
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
975
+ timeout: z.ZodOptional<z.ZodNumber>;
976
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ url?: string | undefined;
979
+ $id?: string | undefined;
980
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
981
+ disabled?: boolean | undefined;
982
+ title?: string | undefined;
983
+ id?: string | undefined;
984
+ $ref?: string | undefined;
985
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
986
+ exit?: boolean | undefined;
987
+ result?: JsonElement | undefined;
988
+ data?: JsonElement | undefined;
989
+ timeout?: number | undefined;
990
+ skipValidation?: boolean | undefined;
991
+ }, {
992
+ url?: string | undefined;
993
+ $id?: string | undefined;
994
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
995
+ disabled?: boolean | undefined;
996
+ title?: string | undefined;
997
+ id?: string | undefined;
998
+ $ref?: string | undefined;
999
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1000
+ exit?: boolean | undefined;
1001
+ result?: JsonElement | undefined;
1002
+ data?: JsonElement | undefined;
1003
+ timeout?: number | undefined;
1004
+ skipValidation?: boolean | undefined;
1005
+ }>>;
1006
+ link: z.ZodOptional<z.ZodObject<{
1007
+ url: z.ZodString;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ url: string;
1010
+ }, {
1011
+ url: string;
1012
+ }>>;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ link?: {
1015
+ url: string;
1016
+ } | undefined;
1017
+ action?: {
1018
+ url?: string | undefined;
1019
+ $id?: string | undefined;
1020
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1021
+ disabled?: boolean | undefined;
1022
+ title?: string | undefined;
1023
+ id?: string | undefined;
1024
+ $ref?: string | undefined;
1025
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1026
+ exit?: boolean | undefined;
1027
+ result?: JsonElement | undefined;
1028
+ data?: JsonElement | undefined;
1029
+ timeout?: number | undefined;
1030
+ skipValidation?: boolean | undefined;
1031
+ } | undefined;
1032
+ }, {
1033
+ link?: {
1034
+ url: string;
1035
+ } | undefined;
1036
+ action?: {
1037
+ url?: string | undefined;
1038
+ $id?: string | undefined;
1039
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1040
+ disabled?: boolean | undefined;
1041
+ title?: string | undefined;
1042
+ id?: string | undefined;
1043
+ $ref?: string | undefined;
1044
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1045
+ exit?: boolean | undefined;
1046
+ result?: JsonElement | undefined;
1047
+ data?: JsonElement | undefined;
1048
+ timeout?: number | undefined;
1049
+ skipValidation?: boolean | undefined;
1050
+ } | undefined;
1051
+ }>;
974
1052
  export declare const searchResultSearchSchema: z.ZodObject<{
975
1053
  type: z.ZodLiteral<"search">;
976
1054
  title: z.ZodString;
@@ -1406,355 +1484,113 @@ export declare const linkHandlerSchema: z.ZodObject<{
1406
1484
  };
1407
1485
  regexPattern: string;
1408
1486
  }>;
1409
- export declare const blobSchemaSchema: z.ZodObject<{
1410
- type: z.ZodLiteral<"blob">;
1411
- promoted: z.ZodOptional<z.ZodBoolean>;
1412
- $id: z.ZodOptional<z.ZodString>;
1413
- title: z.ZodOptional<z.ZodString>;
1414
- description: z.ZodOptional<z.ZodString>;
1415
- control: z.ZodOptional<z.ZodString>;
1416
- hidden: z.ZodOptional<z.ZodBoolean>;
1417
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1418
- name: z.ZodString;
1419
- }, "strip", z.ZodTypeAny, {
1420
- name: string;
1421
- }, {
1422
- name: string;
1423
- }>, z.ZodObject<{
1424
- text: z.ZodString;
1487
+ export declare const pollingOnErrorSchema: z.ZodObject<{
1488
+ action: z.ZodObject<{
1489
+ title: z.ZodOptional<z.ZodString>;
1490
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1491
+ disabled: z.ZodOptional<z.ZodBoolean>;
1492
+ $id: z.ZodOptional<z.ZodString>;
1493
+ $ref: z.ZodOptional<z.ZodString>;
1494
+ id: z.ZodOptional<z.ZodString>;
1495
+ url: z.ZodOptional<z.ZodString>;
1496
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1497
+ exit: z.ZodOptional<z.ZodBoolean>;
1498
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1499
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1500
+ timeout: z.ZodOptional<z.ZodNumber>;
1501
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1425
1502
  }, "strip", z.ZodTypeAny, {
1426
- text: string;
1503
+ url?: string | undefined;
1504
+ $id?: string | undefined;
1505
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1506
+ disabled?: boolean | undefined;
1507
+ title?: string | undefined;
1508
+ id?: string | undefined;
1509
+ $ref?: string | undefined;
1510
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1511
+ exit?: boolean | undefined;
1512
+ result?: JsonElement | undefined;
1513
+ data?: JsonElement | undefined;
1514
+ timeout?: number | undefined;
1515
+ skipValidation?: boolean | undefined;
1427
1516
  }, {
1428
- text: string;
1429
- }>]>>;
1430
- image: z.ZodOptional<z.ZodObject<{
1431
- text: z.ZodOptional<z.ZodString>;
1432
- url: z.ZodString;
1433
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1517
+ url?: string | undefined;
1518
+ $id?: string | undefined;
1519
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1520
+ disabled?: boolean | undefined;
1521
+ title?: string | undefined;
1522
+ id?: string | undefined;
1523
+ $ref?: string | undefined;
1524
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1525
+ exit?: boolean | undefined;
1526
+ result?: JsonElement | undefined;
1527
+ data?: JsonElement | undefined;
1528
+ timeout?: number | undefined;
1529
+ skipValidation?: boolean | undefined;
1530
+ }>;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ action: {
1533
+ url?: string | undefined;
1534
+ $id?: string | undefined;
1535
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1536
+ disabled?: boolean | undefined;
1537
+ title?: string | undefined;
1538
+ id?: string | undefined;
1539
+ $ref?: string | undefined;
1540
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1541
+ exit?: boolean | undefined;
1542
+ result?: JsonElement | undefined;
1543
+ data?: JsonElement | undefined;
1544
+ timeout?: number | undefined;
1545
+ skipValidation?: boolean | undefined;
1546
+ };
1547
+ }, {
1548
+ action: {
1549
+ url?: string | undefined;
1550
+ $id?: string | undefined;
1551
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1552
+ disabled?: boolean | undefined;
1553
+ title?: string | undefined;
1554
+ id?: string | undefined;
1555
+ $ref?: string | undefined;
1556
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1557
+ exit?: boolean | undefined;
1558
+ result?: JsonElement | undefined;
1559
+ data?: JsonElement | undefined;
1560
+ timeout?: number | undefined;
1561
+ skipValidation?: boolean | undefined;
1562
+ };
1563
+ }>;
1564
+ export declare const navigationBackBehaviourSchema: z.ZodObject<{
1565
+ title: z.ZodOptional<z.ZodString>;
1566
+ action: z.ZodObject<{
1567
+ title: z.ZodOptional<z.ZodString>;
1568
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1569
+ disabled: z.ZodOptional<z.ZodBoolean>;
1570
+ $id: z.ZodOptional<z.ZodString>;
1571
+ $ref: z.ZodOptional<z.ZodString>;
1572
+ id: z.ZodOptional<z.ZodString>;
1573
+ url: z.ZodOptional<z.ZodString>;
1574
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1575
+ exit: z.ZodOptional<z.ZodBoolean>;
1576
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1577
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1578
+ timeout: z.ZodOptional<z.ZodNumber>;
1579
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1434
1580
  }, "strip", z.ZodTypeAny, {
1435
- url: string;
1436
- text?: string | undefined;
1437
- accessibilityDescription?: string | undefined;
1438
- }, {
1439
- url: string;
1440
- text?: string | undefined;
1441
- accessibilityDescription?: string | undefined;
1442
- }>>;
1443
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1444
- summary: z.ZodOptional<z.ZodObject<{
1445
- providesTitle: z.ZodOptional<z.ZodBoolean>;
1446
- providesDescription: z.ZodOptional<z.ZodBoolean>;
1447
- providesIcon: z.ZodOptional<z.ZodBoolean>;
1448
- providesImage: z.ZodOptional<z.ZodBoolean>;
1449
- }, "strip", z.ZodTypeAny, {
1450
- providesTitle?: boolean | undefined;
1451
- providesDescription?: boolean | undefined;
1452
- providesIcon?: boolean | undefined;
1453
- providesImage?: boolean | undefined;
1454
- }, {
1455
- providesTitle?: boolean | undefined;
1456
- providesDescription?: boolean | undefined;
1457
- providesIcon?: boolean | undefined;
1458
- providesImage?: boolean | undefined;
1459
- }>>;
1460
- analyticsId: z.ZodOptional<z.ZodString>;
1461
- validationAsync: z.ZodOptional<z.ZodObject<{
1462
- param: z.ZodString;
1463
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1464
- url: z.ZodString;
1465
- }, "strip", z.ZodTypeAny, {
1466
- url: string;
1467
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1468
- param: string;
1469
- }, {
1470
- url: string;
1471
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1472
- param: string;
1473
- }>>;
1474
- validationMessages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1475
- alert: z.ZodOptional<z.ZodObject<{
1476
- type: z.ZodLiteral<"alert">;
1477
- markdown: z.ZodString;
1478
- context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
1479
- control: z.ZodOptional<z.ZodString>;
1480
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
1481
- }, "strip", z.ZodTypeAny, {
1482
- type: "alert";
1483
- markdown: string;
1484
- control?: string | undefined;
1485
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1486
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1487
- }, {
1488
- type: "alert";
1489
- markdown: string;
1490
- control?: string | undefined;
1491
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1492
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1493
- }>>;
1494
- cameraConfig: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1495
- accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1496
- maxSize: z.ZodOptional<z.ZodNumber>;
1497
- source: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>>;
1498
- disabled: z.ZodOptional<z.ZodBoolean>;
1499
- }, "strip", z.ZodTypeAny, {
1500
- type: "blob";
1501
- image?: {
1502
- url: string;
1503
- text?: string | undefined;
1504
- accessibilityDescription?: string | undefined;
1505
- } | undefined;
1506
- alert?: {
1507
- type: "alert";
1508
- markdown: string;
1509
- control?: string | undefined;
1510
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1511
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1512
- } | undefined;
1513
- $id?: string | undefined;
1514
- analyticsId?: string | undefined;
1515
- description?: string | undefined;
1516
- disabled?: boolean | undefined;
1517
- hidden?: boolean | undefined;
1518
- icon?: {
1519
- name: string;
1520
- } | {
1521
- text: string;
1522
- } | undefined;
1523
- promoted?: boolean | undefined;
1524
- summary?: {
1525
- providesTitle?: boolean | undefined;
1526
- providesDescription?: boolean | undefined;
1527
- providesIcon?: boolean | undefined;
1528
- providesImage?: boolean | undefined;
1529
- } | undefined;
1530
- title?: string | undefined;
1531
- validationAsync?: {
1532
- url: string;
1533
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1534
- param: string;
1535
- } | undefined;
1536
- validationMessages?: Record<string, string> | undefined;
1537
- keywords?: string[] | undefined;
1538
- source?: "camera" | "file" | undefined;
1539
- cameraConfig?: JsonElement | undefined;
1540
- control?: string | undefined;
1541
- maxSize?: number | undefined;
1542
- accepts?: string[] | undefined;
1543
- }, {
1544
- type: "blob";
1545
- image?: {
1546
- url: string;
1547
- text?: string | undefined;
1548
- accessibilityDescription?: string | undefined;
1549
- } | undefined;
1550
- alert?: {
1551
- type: "alert";
1552
- markdown: string;
1553
- control?: string | undefined;
1554
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1555
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1556
- } | undefined;
1557
- $id?: string | undefined;
1558
- analyticsId?: string | undefined;
1559
- description?: string | undefined;
1560
- disabled?: boolean | undefined;
1561
- hidden?: boolean | undefined;
1562
- icon?: {
1563
- name: string;
1564
- } | {
1565
- text: string;
1566
- } | undefined;
1567
- promoted?: boolean | undefined;
1568
- summary?: {
1569
- providesTitle?: boolean | undefined;
1570
- providesDescription?: boolean | undefined;
1571
- providesIcon?: boolean | undefined;
1572
- providesImage?: boolean | undefined;
1573
- } | undefined;
1574
- title?: string | undefined;
1575
- validationAsync?: {
1576
- url: string;
1577
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1578
- param: string;
1579
- } | undefined;
1580
- validationMessages?: Record<string, string> | undefined;
1581
- keywords?: string[] | undefined;
1582
- source?: "camera" | "file" | undefined;
1583
- cameraConfig?: JsonElement | undefined;
1584
- control?: string | undefined;
1585
- maxSize?: number | undefined;
1586
- accepts?: string[] | undefined;
1587
- }>;
1588
- export declare const constSchemaSchema: z.ZodObject<{
1589
- hidden: z.ZodOptional<z.ZodBoolean>;
1590
- alert: z.ZodOptional<z.ZodObject<{
1591
- type: z.ZodLiteral<"alert">;
1592
- markdown: z.ZodString;
1593
- context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
1594
- control: z.ZodOptional<z.ZodString>;
1595
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
1596
- }, "strip", z.ZodTypeAny, {
1597
- type: "alert";
1598
- markdown: string;
1599
- control?: string | undefined;
1600
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1601
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1602
- }, {
1603
- type: "alert";
1604
- markdown: string;
1605
- control?: string | undefined;
1606
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1607
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1608
- }>>;
1609
- control: z.ZodOptional<z.ZodString>;
1610
- promoted: z.ZodOptional<z.ZodBoolean>;
1611
- $id: z.ZodOptional<z.ZodString>;
1612
- const: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1613
- title: z.ZodOptional<z.ZodString>;
1614
- description: z.ZodOptional<z.ZodString>;
1615
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1616
- name: z.ZodString;
1617
- }, "strip", z.ZodTypeAny, {
1618
- name: string;
1619
- }, {
1620
- name: string;
1621
- }>, z.ZodObject<{
1622
- text: z.ZodString;
1623
- }, "strip", z.ZodTypeAny, {
1624
- text: string;
1625
- }, {
1626
- text: string;
1627
- }>]>>;
1628
- image: z.ZodOptional<z.ZodObject<{
1629
- text: z.ZodOptional<z.ZodString>;
1630
- url: z.ZodString;
1631
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1632
- }, "strip", z.ZodTypeAny, {
1633
- url: string;
1634
- text?: string | undefined;
1635
- accessibilityDescription?: string | undefined;
1636
- }, {
1637
- url: string;
1638
- text?: string | undefined;
1639
- accessibilityDescription?: string | undefined;
1640
- }>>;
1641
- keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1642
- summary: z.ZodOptional<z.ZodObject<{
1643
- providesTitle: z.ZodOptional<z.ZodBoolean>;
1644
- providesDescription: z.ZodOptional<z.ZodBoolean>;
1645
- providesIcon: z.ZodOptional<z.ZodBoolean>;
1646
- providesImage: z.ZodOptional<z.ZodBoolean>;
1647
- }, "strip", z.ZodTypeAny, {
1648
- providesTitle?: boolean | undefined;
1649
- providesDescription?: boolean | undefined;
1650
- providesIcon?: boolean | undefined;
1651
- providesImage?: boolean | undefined;
1652
- }, {
1653
- providesTitle?: boolean | undefined;
1654
- providesDescription?: boolean | undefined;
1655
- providesIcon?: boolean | undefined;
1656
- providesImage?: boolean | undefined;
1657
- }>>;
1658
- analyticsId: z.ZodOptional<z.ZodString>;
1659
- disabled: z.ZodOptional<z.ZodBoolean>;
1660
- }, "strip", z.ZodTypeAny, {
1661
- const: JsonElement;
1662
- image?: {
1663
- url: string;
1664
- text?: string | undefined;
1665
- accessibilityDescription?: string | undefined;
1666
- } | undefined;
1667
- alert?: {
1668
- type: "alert";
1669
- markdown: string;
1670
- control?: string | undefined;
1671
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1672
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1673
- } | undefined;
1674
- $id?: string | undefined;
1675
- analyticsId?: string | undefined;
1676
- description?: string | undefined;
1677
- disabled?: boolean | undefined;
1678
- hidden?: boolean | undefined;
1679
- icon?: {
1680
- name: string;
1681
- } | {
1682
- text: string;
1683
- } | undefined;
1684
- promoted?: boolean | undefined;
1685
- summary?: {
1686
- providesTitle?: boolean | undefined;
1687
- providesDescription?: boolean | undefined;
1688
- providesIcon?: boolean | undefined;
1689
- providesImage?: boolean | undefined;
1690
- } | undefined;
1691
- title?: string | undefined;
1692
- keywords?: string[] | undefined;
1693
- control?: string | undefined;
1694
- }, {
1695
- const: JsonElement;
1696
- image?: {
1697
- url: string;
1698
- text?: string | undefined;
1699
- accessibilityDescription?: string | undefined;
1700
- } | undefined;
1701
- alert?: {
1702
- type: "alert";
1703
- markdown: string;
1704
- control?: string | undefined;
1705
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1706
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
1707
- } | undefined;
1708
- $id?: string | undefined;
1709
- analyticsId?: string | undefined;
1710
- description?: string | undefined;
1711
- disabled?: boolean | undefined;
1712
- hidden?: boolean | undefined;
1713
- icon?: {
1714
- name: string;
1715
- } | {
1716
- text: string;
1717
- } | undefined;
1718
- promoted?: boolean | undefined;
1719
- summary?: {
1720
- providesTitle?: boolean | undefined;
1721
- providesDescription?: boolean | undefined;
1722
- providesIcon?: boolean | undefined;
1723
- providesImage?: boolean | undefined;
1724
- } | undefined;
1725
- title?: string | undefined;
1726
- keywords?: string[] | undefined;
1727
- control?: string | undefined;
1728
- }>;
1729
- export declare const pollingOnErrorSchema: z.ZodObject<{
1730
- action: z.ZodObject<{
1731
- title: z.ZodOptional<z.ZodString>;
1732
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1733
- disabled: z.ZodOptional<z.ZodBoolean>;
1734
- $id: z.ZodOptional<z.ZodString>;
1735
- $ref: z.ZodOptional<z.ZodString>;
1736
- id: z.ZodOptional<z.ZodString>;
1737
- url: z.ZodOptional<z.ZodString>;
1738
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1739
- exit: z.ZodOptional<z.ZodBoolean>;
1740
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1741
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1742
- timeout: z.ZodOptional<z.ZodNumber>;
1743
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1744
- }, "strip", z.ZodTypeAny, {
1745
- url?: string | undefined;
1746
- $id?: string | undefined;
1747
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1748
- disabled?: boolean | undefined;
1749
- title?: string | undefined;
1750
- id?: string | undefined;
1751
- $ref?: string | undefined;
1752
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1753
- exit?: boolean | undefined;
1754
- result?: JsonElement | undefined;
1755
- data?: JsonElement | undefined;
1756
- timeout?: number | undefined;
1757
- skipValidation?: boolean | undefined;
1581
+ url?: string | undefined;
1582
+ $id?: string | undefined;
1583
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1584
+ disabled?: boolean | undefined;
1585
+ title?: string | undefined;
1586
+ id?: string | undefined;
1587
+ $ref?: string | undefined;
1588
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1589
+ exit?: boolean | undefined;
1590
+ result?: JsonElement | undefined;
1591
+ data?: JsonElement | undefined;
1592
+ timeout?: number | undefined;
1593
+ skipValidation?: boolean | undefined;
1758
1594
  }, {
1759
1595
  url?: string | undefined;
1760
1596
  $id?: string | undefined;
@@ -1786,6 +1622,7 @@ export declare const pollingOnErrorSchema: z.ZodObject<{
1786
1622
  timeout?: number | undefined;
1787
1623
  skipValidation?: boolean | undefined;
1788
1624
  };
1625
+ title?: string | undefined;
1789
1626
  }, {
1790
1627
  action: {
1791
1628
  url?: string | undefined;
@@ -1802,9 +1639,10 @@ export declare const pollingOnErrorSchema: z.ZodObject<{
1802
1639
  timeout?: number | undefined;
1803
1640
  skipValidation?: boolean | undefined;
1804
1641
  };
1642
+ title?: string | undefined;
1805
1643
  }>;
1806
- export declare const navigationBackBehaviourSchema: z.ZodObject<{
1807
- title: z.ZodOptional<z.ZodString>;
1644
+ export declare const reviewLayoutCallToActionSchema: z.ZodObject<{
1645
+ title: z.ZodString;
1808
1646
  action: z.ZodObject<{
1809
1647
  title: z.ZodOptional<z.ZodString>;
1810
1648
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -1864,7 +1702,7 @@ export declare const navigationBackBehaviourSchema: z.ZodObject<{
1864
1702
  timeout?: number | undefined;
1865
1703
  skipValidation?: boolean | undefined;
1866
1704
  };
1867
- title?: string | undefined;
1705
+ title: string;
1868
1706
  }, {
1869
1707
  action: {
1870
1708
  url?: string | undefined;
@@ -1881,87 +1719,147 @@ export declare const navigationBackBehaviourSchema: z.ZodObject<{
1881
1719
  timeout?: number | undefined;
1882
1720
  skipValidation?: boolean | undefined;
1883
1721
  };
1884
- title?: string | undefined;
1722
+ title: string;
1885
1723
  }>;
1886
- export declare const reviewLayoutCallToActionSchema: z.ZodObject<{
1724
+ export declare const alertLayoutCallToActionSchema: z.ZodObject<{
1887
1725
  title: z.ZodString;
1888
- action: z.ZodObject<{
1889
- title: z.ZodOptional<z.ZodString>;
1890
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1891
- disabled: z.ZodOptional<z.ZodBoolean>;
1892
- $id: z.ZodOptional<z.ZodString>;
1893
- $ref: z.ZodOptional<z.ZodString>;
1894
- id: z.ZodOptional<z.ZodString>;
1895
- url: z.ZodOptional<z.ZodString>;
1896
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1897
- exit: z.ZodOptional<z.ZodBoolean>;
1898
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1899
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1900
- timeout: z.ZodOptional<z.ZodNumber>;
1901
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1902
- }, "strip", z.ZodTypeAny, {
1903
- url?: string | undefined;
1904
- $id?: string | undefined;
1905
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1906
- disabled?: boolean | undefined;
1907
- title?: string | undefined;
1908
- id?: string | undefined;
1909
- $ref?: string | undefined;
1910
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1911
- exit?: boolean | undefined;
1912
- result?: JsonElement | undefined;
1913
- data?: JsonElement | undefined;
1914
- timeout?: number | undefined;
1915
- skipValidation?: boolean | undefined;
1726
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1727
+ behavior: z.ZodObject<{
1728
+ action: z.ZodOptional<z.ZodObject<{
1729
+ title: z.ZodOptional<z.ZodString>;
1730
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1731
+ disabled: z.ZodOptional<z.ZodBoolean>;
1732
+ $id: z.ZodOptional<z.ZodString>;
1733
+ $ref: z.ZodOptional<z.ZodString>;
1734
+ id: z.ZodOptional<z.ZodString>;
1735
+ url: z.ZodOptional<z.ZodString>;
1736
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1737
+ exit: z.ZodOptional<z.ZodBoolean>;
1738
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1739
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1740
+ timeout: z.ZodOptional<z.ZodNumber>;
1741
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ url?: string | undefined;
1744
+ $id?: string | undefined;
1745
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1746
+ disabled?: boolean | undefined;
1747
+ title?: string | undefined;
1748
+ id?: string | undefined;
1749
+ $ref?: string | undefined;
1750
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1751
+ exit?: boolean | undefined;
1752
+ result?: JsonElement | undefined;
1753
+ data?: JsonElement | undefined;
1754
+ timeout?: number | undefined;
1755
+ skipValidation?: boolean | undefined;
1756
+ }, {
1757
+ url?: string | undefined;
1758
+ $id?: string | undefined;
1759
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1760
+ disabled?: boolean | undefined;
1761
+ title?: string | undefined;
1762
+ id?: string | undefined;
1763
+ $ref?: string | undefined;
1764
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1765
+ exit?: boolean | undefined;
1766
+ result?: JsonElement | undefined;
1767
+ data?: JsonElement | undefined;
1768
+ timeout?: number | undefined;
1769
+ skipValidation?: boolean | undefined;
1770
+ }>>;
1771
+ link: z.ZodOptional<z.ZodObject<{
1772
+ url: z.ZodString;
1773
+ }, "strip", z.ZodTypeAny, {
1774
+ url: string;
1775
+ }, {
1776
+ url: string;
1777
+ }>>;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ link?: {
1780
+ url: string;
1781
+ } | undefined;
1782
+ action?: {
1783
+ url?: string | undefined;
1784
+ $id?: string | undefined;
1785
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1786
+ disabled?: boolean | undefined;
1787
+ title?: string | undefined;
1788
+ id?: string | undefined;
1789
+ $ref?: string | undefined;
1790
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1791
+ exit?: boolean | undefined;
1792
+ result?: JsonElement | undefined;
1793
+ data?: JsonElement | undefined;
1794
+ timeout?: number | undefined;
1795
+ skipValidation?: boolean | undefined;
1796
+ } | undefined;
1916
1797
  }, {
1917
- url?: string | undefined;
1918
- $id?: string | undefined;
1919
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1920
- disabled?: boolean | undefined;
1921
- title?: string | undefined;
1922
- id?: string | undefined;
1923
- $ref?: string | undefined;
1924
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1925
- exit?: boolean | undefined;
1926
- result?: JsonElement | undefined;
1927
- data?: JsonElement | undefined;
1928
- timeout?: number | undefined;
1929
- skipValidation?: boolean | undefined;
1798
+ link?: {
1799
+ url: string;
1800
+ } | undefined;
1801
+ action?: {
1802
+ url?: string | undefined;
1803
+ $id?: string | undefined;
1804
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1805
+ disabled?: boolean | undefined;
1806
+ title?: string | undefined;
1807
+ id?: string | undefined;
1808
+ $ref?: string | undefined;
1809
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1810
+ exit?: boolean | undefined;
1811
+ result?: JsonElement | undefined;
1812
+ data?: JsonElement | undefined;
1813
+ timeout?: number | undefined;
1814
+ skipValidation?: boolean | undefined;
1815
+ } | undefined;
1930
1816
  }>;
1931
1817
  }, "strip", z.ZodTypeAny, {
1932
- action: {
1933
- url?: string | undefined;
1934
- $id?: string | undefined;
1935
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1936
- disabled?: boolean | undefined;
1937
- title?: string | undefined;
1938
- id?: string | undefined;
1939
- $ref?: string | undefined;
1940
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1941
- exit?: boolean | undefined;
1942
- result?: JsonElement | undefined;
1943
- data?: JsonElement | undefined;
1944
- timeout?: number | undefined;
1945
- skipValidation?: boolean | undefined;
1946
- };
1947
1818
  title: string;
1948
- }, {
1949
- action: {
1950
- url?: string | undefined;
1951
- $id?: string | undefined;
1952
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1953
- disabled?: boolean | undefined;
1954
- title?: string | undefined;
1955
- id?: string | undefined;
1956
- $ref?: string | undefined;
1957
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1958
- exit?: boolean | undefined;
1959
- result?: JsonElement | undefined;
1960
- data?: JsonElement | undefined;
1961
- timeout?: number | undefined;
1962
- skipValidation?: boolean | undefined;
1819
+ behavior: {
1820
+ link?: {
1821
+ url: string;
1822
+ } | undefined;
1823
+ action?: {
1824
+ url?: string | undefined;
1825
+ $id?: string | undefined;
1826
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1827
+ disabled?: boolean | undefined;
1828
+ title?: string | undefined;
1829
+ id?: string | undefined;
1830
+ $ref?: string | undefined;
1831
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1832
+ exit?: boolean | undefined;
1833
+ result?: JsonElement | undefined;
1834
+ data?: JsonElement | undefined;
1835
+ timeout?: number | undefined;
1836
+ skipValidation?: boolean | undefined;
1837
+ } | undefined;
1963
1838
  };
1839
+ accessibilityDescription?: string | undefined;
1840
+ }, {
1964
1841
  title: string;
1842
+ behavior: {
1843
+ link?: {
1844
+ url: string;
1845
+ } | undefined;
1846
+ action?: {
1847
+ url?: string | undefined;
1848
+ $id?: string | undefined;
1849
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
1850
+ disabled?: boolean | undefined;
1851
+ title?: string | undefined;
1852
+ id?: string | undefined;
1853
+ $ref?: string | undefined;
1854
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1855
+ exit?: boolean | undefined;
1856
+ result?: JsonElement | undefined;
1857
+ data?: JsonElement | undefined;
1858
+ timeout?: number | undefined;
1859
+ skipValidation?: boolean | undefined;
1860
+ } | undefined;
1861
+ };
1862
+ accessibilityDescription?: string | undefined;
1965
1863
  }>;
1966
1864
  export declare const listLayoutSchema: z.ZodObject<{
1967
1865
  type: z.ZodLiteral<"list">;
@@ -3209,6 +3107,213 @@ export declare const navigationSchema: z.ZodObject<{
3209
3107
  } | undefined;
3210
3108
  stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
3211
3109
  }>;
3110
+ export declare const alertLayoutSchema: z.ZodObject<{
3111
+ type: z.ZodLiteral<"alert">;
3112
+ markdown: z.ZodString;
3113
+ context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
3114
+ control: z.ZodOptional<z.ZodString>;
3115
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
3116
+ callToAction: z.ZodOptional<z.ZodObject<{
3117
+ title: z.ZodString;
3118
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3119
+ behavior: z.ZodObject<{
3120
+ action: z.ZodOptional<z.ZodObject<{
3121
+ title: z.ZodOptional<z.ZodString>;
3122
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
3123
+ disabled: z.ZodOptional<z.ZodBoolean>;
3124
+ $id: z.ZodOptional<z.ZodString>;
3125
+ $ref: z.ZodOptional<z.ZodString>;
3126
+ id: z.ZodOptional<z.ZodString>;
3127
+ url: z.ZodOptional<z.ZodString>;
3128
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
3129
+ exit: z.ZodOptional<z.ZodBoolean>;
3130
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
3131
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
3132
+ timeout: z.ZodOptional<z.ZodNumber>;
3133
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
3134
+ }, "strip", z.ZodTypeAny, {
3135
+ url?: string | undefined;
3136
+ $id?: string | undefined;
3137
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3138
+ disabled?: boolean | undefined;
3139
+ title?: string | undefined;
3140
+ id?: string | undefined;
3141
+ $ref?: string | undefined;
3142
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3143
+ exit?: boolean | undefined;
3144
+ result?: JsonElement | undefined;
3145
+ data?: JsonElement | undefined;
3146
+ timeout?: number | undefined;
3147
+ skipValidation?: boolean | undefined;
3148
+ }, {
3149
+ url?: string | undefined;
3150
+ $id?: string | undefined;
3151
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3152
+ disabled?: boolean | undefined;
3153
+ title?: string | undefined;
3154
+ id?: string | undefined;
3155
+ $ref?: string | undefined;
3156
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3157
+ exit?: boolean | undefined;
3158
+ result?: JsonElement | undefined;
3159
+ data?: JsonElement | undefined;
3160
+ timeout?: number | undefined;
3161
+ skipValidation?: boolean | undefined;
3162
+ }>>;
3163
+ link: z.ZodOptional<z.ZodObject<{
3164
+ url: z.ZodString;
3165
+ }, "strip", z.ZodTypeAny, {
3166
+ url: string;
3167
+ }, {
3168
+ url: string;
3169
+ }>>;
3170
+ }, "strip", z.ZodTypeAny, {
3171
+ link?: {
3172
+ url: string;
3173
+ } | undefined;
3174
+ action?: {
3175
+ url?: string | undefined;
3176
+ $id?: string | undefined;
3177
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3178
+ disabled?: boolean | undefined;
3179
+ title?: string | undefined;
3180
+ id?: string | undefined;
3181
+ $ref?: string | undefined;
3182
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3183
+ exit?: boolean | undefined;
3184
+ result?: JsonElement | undefined;
3185
+ data?: JsonElement | undefined;
3186
+ timeout?: number | undefined;
3187
+ skipValidation?: boolean | undefined;
3188
+ } | undefined;
3189
+ }, {
3190
+ link?: {
3191
+ url: string;
3192
+ } | undefined;
3193
+ action?: {
3194
+ url?: string | undefined;
3195
+ $id?: string | undefined;
3196
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3197
+ disabled?: boolean | undefined;
3198
+ title?: string | undefined;
3199
+ id?: string | undefined;
3200
+ $ref?: string | undefined;
3201
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3202
+ exit?: boolean | undefined;
3203
+ result?: JsonElement | undefined;
3204
+ data?: JsonElement | undefined;
3205
+ timeout?: number | undefined;
3206
+ skipValidation?: boolean | undefined;
3207
+ } | undefined;
3208
+ }>;
3209
+ }, "strip", z.ZodTypeAny, {
3210
+ title: string;
3211
+ behavior: {
3212
+ link?: {
3213
+ url: string;
3214
+ } | undefined;
3215
+ action?: {
3216
+ url?: string | undefined;
3217
+ $id?: string | undefined;
3218
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3219
+ disabled?: boolean | undefined;
3220
+ title?: string | undefined;
3221
+ id?: string | undefined;
3222
+ $ref?: string | undefined;
3223
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3224
+ exit?: boolean | undefined;
3225
+ result?: JsonElement | undefined;
3226
+ data?: JsonElement | undefined;
3227
+ timeout?: number | undefined;
3228
+ skipValidation?: boolean | undefined;
3229
+ } | undefined;
3230
+ };
3231
+ accessibilityDescription?: string | undefined;
3232
+ }, {
3233
+ title: string;
3234
+ behavior: {
3235
+ link?: {
3236
+ url: string;
3237
+ } | undefined;
3238
+ action?: {
3239
+ url?: string | undefined;
3240
+ $id?: string | undefined;
3241
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3242
+ disabled?: boolean | undefined;
3243
+ title?: string | undefined;
3244
+ id?: string | undefined;
3245
+ $ref?: string | undefined;
3246
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3247
+ exit?: boolean | undefined;
3248
+ result?: JsonElement | undefined;
3249
+ data?: JsonElement | undefined;
3250
+ timeout?: number | undefined;
3251
+ skipValidation?: boolean | undefined;
3252
+ } | undefined;
3253
+ };
3254
+ accessibilityDescription?: string | undefined;
3255
+ }>>;
3256
+ }, "strip", z.ZodTypeAny, {
3257
+ type: "alert";
3258
+ markdown: string;
3259
+ control?: string | undefined;
3260
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3261
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
3262
+ callToAction?: {
3263
+ title: string;
3264
+ behavior: {
3265
+ link?: {
3266
+ url: string;
3267
+ } | undefined;
3268
+ action?: {
3269
+ url?: string | undefined;
3270
+ $id?: string | undefined;
3271
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3272
+ disabled?: boolean | undefined;
3273
+ title?: string | undefined;
3274
+ id?: string | undefined;
3275
+ $ref?: string | undefined;
3276
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3277
+ exit?: boolean | undefined;
3278
+ result?: JsonElement | undefined;
3279
+ data?: JsonElement | undefined;
3280
+ timeout?: number | undefined;
3281
+ skipValidation?: boolean | undefined;
3282
+ } | undefined;
3283
+ };
3284
+ accessibilityDescription?: string | undefined;
3285
+ } | undefined;
3286
+ }, {
3287
+ type: "alert";
3288
+ markdown: string;
3289
+ control?: string | undefined;
3290
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3291
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
3292
+ callToAction?: {
3293
+ title: string;
3294
+ behavior: {
3295
+ link?: {
3296
+ url: string;
3297
+ } | undefined;
3298
+ action?: {
3299
+ url?: string | undefined;
3300
+ $id?: string | undefined;
3301
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3302
+ disabled?: boolean | undefined;
3303
+ title?: string | undefined;
3304
+ id?: string | undefined;
3305
+ $ref?: string | undefined;
3306
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3307
+ exit?: boolean | undefined;
3308
+ result?: JsonElement | undefined;
3309
+ data?: JsonElement | undefined;
3310
+ timeout?: number | undefined;
3311
+ skipValidation?: boolean | undefined;
3312
+ } | undefined;
3313
+ };
3314
+ accessibilityDescription?: string | undefined;
3315
+ } | undefined;
3316
+ }>;
3212
3317
  export declare const searchResponseBodySchema: z.ZodObject<{
3213
3318
  results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3214
3319
  type: z.ZodLiteral<"action">;
@@ -3444,148 +3549,940 @@ export declare const searchResponseBodySchema: z.ZodObject<{
3444
3549
  text: string;
3445
3550
  } | undefined;
3446
3551
  }, {
3447
- type: "search";
3448
- title: string;
3449
- value: {
3450
- url: string;
3451
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3452
- param: string;
3453
- query: string;
3454
- };
3455
- image?: {
3456
- url: string;
3457
- type: "image";
3458
- control?: string | undefined;
3459
- text?: string | undefined;
3552
+ type: "search";
3553
+ title: string;
3554
+ value: {
3555
+ url: string;
3556
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3557
+ param: string;
3558
+ query: string;
3559
+ };
3560
+ image?: {
3561
+ url: string;
3562
+ type: "image";
3563
+ control?: string | undefined;
3564
+ text?: string | undefined;
3565
+ accessibilityDescription?: string | undefined;
3566
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3567
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3568
+ } | undefined;
3569
+ description?: string | undefined;
3570
+ icon?: {
3571
+ name: string;
3572
+ } | {
3573
+ text: string;
3574
+ } | undefined;
3575
+ }>]>, "many">;
3576
+ }, "strip", z.ZodTypeAny, {
3577
+ results: ({
3578
+ type: "search";
3579
+ title: string;
3580
+ value: {
3581
+ url: string;
3582
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3583
+ param: string;
3584
+ query: string;
3585
+ };
3586
+ image?: {
3587
+ url: string;
3588
+ type: "image";
3589
+ control?: string | undefined;
3590
+ text?: string | undefined;
3591
+ accessibilityDescription?: string | undefined;
3592
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3593
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3594
+ } | undefined;
3595
+ description?: string | undefined;
3596
+ icon?: {
3597
+ name: string;
3598
+ } | {
3599
+ text: string;
3600
+ } | undefined;
3601
+ } | {
3602
+ type: "action";
3603
+ title: string;
3604
+ value: {
3605
+ url?: string | undefined;
3606
+ $id?: string | undefined;
3607
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3608
+ disabled?: boolean | undefined;
3609
+ title?: string | undefined;
3610
+ id?: string | undefined;
3611
+ $ref?: string | undefined;
3612
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3613
+ exit?: boolean | undefined;
3614
+ result?: JsonElement | undefined;
3615
+ data?: JsonElement | undefined;
3616
+ timeout?: number | undefined;
3617
+ skipValidation?: boolean | undefined;
3618
+ };
3619
+ image?: {
3620
+ url: string;
3621
+ type: "image";
3622
+ control?: string | undefined;
3623
+ text?: string | undefined;
3624
+ accessibilityDescription?: string | undefined;
3625
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3626
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3627
+ } | undefined;
3628
+ description?: string | undefined;
3629
+ icon?: {
3630
+ name: string;
3631
+ } | {
3632
+ text: string;
3633
+ } | undefined;
3634
+ })[];
3635
+ }, {
3636
+ results: ({
3637
+ type: "search";
3638
+ title: string;
3639
+ value: {
3640
+ url: string;
3641
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3642
+ param: string;
3643
+ query: string;
3644
+ };
3645
+ image?: {
3646
+ url: string;
3647
+ type: "image";
3648
+ control?: string | undefined;
3649
+ text?: string | undefined;
3650
+ accessibilityDescription?: string | undefined;
3651
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3652
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3653
+ } | undefined;
3654
+ description?: string | undefined;
3655
+ icon?: {
3656
+ name: string;
3657
+ } | {
3658
+ text: string;
3659
+ } | undefined;
3660
+ } | {
3661
+ type: "action";
3662
+ title: string;
3663
+ value: {
3664
+ url?: string | undefined;
3665
+ $id?: string | undefined;
3666
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3667
+ disabled?: boolean | undefined;
3668
+ title?: string | undefined;
3669
+ id?: string | undefined;
3670
+ $ref?: string | undefined;
3671
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3672
+ exit?: boolean | undefined;
3673
+ result?: JsonElement | undefined;
3674
+ data?: JsonElement | undefined;
3675
+ timeout?: number | undefined;
3676
+ skipValidation?: boolean | undefined;
3677
+ };
3678
+ image?: {
3679
+ url: string;
3680
+ type: "image";
3681
+ control?: string | undefined;
3682
+ text?: string | undefined;
3683
+ accessibilityDescription?: string | undefined;
3684
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3685
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3686
+ } | undefined;
3687
+ description?: string | undefined;
3688
+ icon?: {
3689
+ name: string;
3690
+ } | {
3691
+ text: string;
3692
+ } | undefined;
3693
+ })[];
3694
+ }>;
3695
+ export declare const blobSchemaSchema: z.ZodObject<{
3696
+ type: z.ZodLiteral<"blob">;
3697
+ promoted: z.ZodOptional<z.ZodBoolean>;
3698
+ $id: z.ZodOptional<z.ZodString>;
3699
+ title: z.ZodOptional<z.ZodString>;
3700
+ description: z.ZodOptional<z.ZodString>;
3701
+ control: z.ZodOptional<z.ZodString>;
3702
+ hidden: z.ZodOptional<z.ZodBoolean>;
3703
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3704
+ name: z.ZodString;
3705
+ }, "strip", z.ZodTypeAny, {
3706
+ name: string;
3707
+ }, {
3708
+ name: string;
3709
+ }>, z.ZodObject<{
3710
+ text: z.ZodString;
3711
+ }, "strip", z.ZodTypeAny, {
3712
+ text: string;
3713
+ }, {
3714
+ text: string;
3715
+ }>]>>;
3716
+ image: z.ZodOptional<z.ZodObject<{
3717
+ text: z.ZodOptional<z.ZodString>;
3718
+ url: z.ZodString;
3719
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3720
+ }, "strip", z.ZodTypeAny, {
3721
+ url: string;
3722
+ text?: string | undefined;
3723
+ accessibilityDescription?: string | undefined;
3724
+ }, {
3725
+ url: string;
3726
+ text?: string | undefined;
3727
+ accessibilityDescription?: string | undefined;
3728
+ }>>;
3729
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3730
+ summary: z.ZodOptional<z.ZodObject<{
3731
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
3732
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
3733
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
3734
+ providesImage: z.ZodOptional<z.ZodBoolean>;
3735
+ }, "strip", z.ZodTypeAny, {
3736
+ providesTitle?: boolean | undefined;
3737
+ providesDescription?: boolean | undefined;
3738
+ providesIcon?: boolean | undefined;
3739
+ providesImage?: boolean | undefined;
3740
+ }, {
3741
+ providesTitle?: boolean | undefined;
3742
+ providesDescription?: boolean | undefined;
3743
+ providesIcon?: boolean | undefined;
3744
+ providesImage?: boolean | undefined;
3745
+ }>>;
3746
+ analyticsId: z.ZodOptional<z.ZodString>;
3747
+ validationAsync: z.ZodOptional<z.ZodObject<{
3748
+ param: z.ZodString;
3749
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
3750
+ url: z.ZodString;
3751
+ }, "strip", z.ZodTypeAny, {
3752
+ url: string;
3753
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3754
+ param: string;
3755
+ }, {
3756
+ url: string;
3757
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3758
+ param: string;
3759
+ }>>;
3760
+ validationMessages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3761
+ alert: z.ZodOptional<z.ZodObject<{
3762
+ type: z.ZodLiteral<"alert">;
3763
+ markdown: z.ZodString;
3764
+ context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
3765
+ control: z.ZodOptional<z.ZodString>;
3766
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
3767
+ callToAction: z.ZodOptional<z.ZodObject<{
3768
+ title: z.ZodString;
3769
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3770
+ behavior: z.ZodObject<{
3771
+ action: z.ZodOptional<z.ZodObject<{
3772
+ title: z.ZodOptional<z.ZodString>;
3773
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
3774
+ disabled: z.ZodOptional<z.ZodBoolean>;
3775
+ $id: z.ZodOptional<z.ZodString>;
3776
+ $ref: z.ZodOptional<z.ZodString>;
3777
+ id: z.ZodOptional<z.ZodString>;
3778
+ url: z.ZodOptional<z.ZodString>;
3779
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
3780
+ exit: z.ZodOptional<z.ZodBoolean>;
3781
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
3782
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
3783
+ timeout: z.ZodOptional<z.ZodNumber>;
3784
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
3785
+ }, "strip", z.ZodTypeAny, {
3786
+ url?: string | undefined;
3787
+ $id?: string | undefined;
3788
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3789
+ disabled?: boolean | undefined;
3790
+ title?: string | undefined;
3791
+ id?: string | undefined;
3792
+ $ref?: string | undefined;
3793
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3794
+ exit?: boolean | undefined;
3795
+ result?: JsonElement | undefined;
3796
+ data?: JsonElement | undefined;
3797
+ timeout?: number | undefined;
3798
+ skipValidation?: boolean | undefined;
3799
+ }, {
3800
+ url?: string | undefined;
3801
+ $id?: string | undefined;
3802
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3803
+ disabled?: boolean | undefined;
3804
+ title?: string | undefined;
3805
+ id?: string | undefined;
3806
+ $ref?: string | undefined;
3807
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3808
+ exit?: boolean | undefined;
3809
+ result?: JsonElement | undefined;
3810
+ data?: JsonElement | undefined;
3811
+ timeout?: number | undefined;
3812
+ skipValidation?: boolean | undefined;
3813
+ }>>;
3814
+ link: z.ZodOptional<z.ZodObject<{
3815
+ url: z.ZodString;
3816
+ }, "strip", z.ZodTypeAny, {
3817
+ url: string;
3818
+ }, {
3819
+ url: string;
3820
+ }>>;
3821
+ }, "strip", z.ZodTypeAny, {
3822
+ link?: {
3823
+ url: string;
3824
+ } | undefined;
3825
+ action?: {
3826
+ url?: string | undefined;
3827
+ $id?: string | undefined;
3828
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3829
+ disabled?: boolean | undefined;
3830
+ title?: string | undefined;
3831
+ id?: string | undefined;
3832
+ $ref?: string | undefined;
3833
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3834
+ exit?: boolean | undefined;
3835
+ result?: JsonElement | undefined;
3836
+ data?: JsonElement | undefined;
3837
+ timeout?: number | undefined;
3838
+ skipValidation?: boolean | undefined;
3839
+ } | undefined;
3840
+ }, {
3841
+ link?: {
3842
+ url: string;
3843
+ } | undefined;
3844
+ action?: {
3845
+ url?: string | undefined;
3846
+ $id?: string | undefined;
3847
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3848
+ disabled?: boolean | undefined;
3849
+ title?: string | undefined;
3850
+ id?: string | undefined;
3851
+ $ref?: string | undefined;
3852
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3853
+ exit?: boolean | undefined;
3854
+ result?: JsonElement | undefined;
3855
+ data?: JsonElement | undefined;
3856
+ timeout?: number | undefined;
3857
+ skipValidation?: boolean | undefined;
3858
+ } | undefined;
3859
+ }>;
3860
+ }, "strip", z.ZodTypeAny, {
3861
+ title: string;
3862
+ behavior: {
3863
+ link?: {
3864
+ url: string;
3865
+ } | undefined;
3866
+ action?: {
3867
+ url?: string | undefined;
3868
+ $id?: string | undefined;
3869
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3870
+ disabled?: boolean | undefined;
3871
+ title?: string | undefined;
3872
+ id?: string | undefined;
3873
+ $ref?: string | undefined;
3874
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3875
+ exit?: boolean | undefined;
3876
+ result?: JsonElement | undefined;
3877
+ data?: JsonElement | undefined;
3878
+ timeout?: number | undefined;
3879
+ skipValidation?: boolean | undefined;
3880
+ } | undefined;
3881
+ };
3882
+ accessibilityDescription?: string | undefined;
3883
+ }, {
3884
+ title: string;
3885
+ behavior: {
3886
+ link?: {
3887
+ url: string;
3888
+ } | undefined;
3889
+ action?: {
3890
+ url?: string | undefined;
3891
+ $id?: string | undefined;
3892
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3893
+ disabled?: boolean | undefined;
3894
+ title?: string | undefined;
3895
+ id?: string | undefined;
3896
+ $ref?: string | undefined;
3897
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3898
+ exit?: boolean | undefined;
3899
+ result?: JsonElement | undefined;
3900
+ data?: JsonElement | undefined;
3901
+ timeout?: number | undefined;
3902
+ skipValidation?: boolean | undefined;
3903
+ } | undefined;
3904
+ };
3905
+ accessibilityDescription?: string | undefined;
3906
+ }>>;
3907
+ }, "strip", z.ZodTypeAny, {
3908
+ type: "alert";
3909
+ markdown: string;
3910
+ control?: string | undefined;
3911
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3912
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
3913
+ callToAction?: {
3914
+ title: string;
3915
+ behavior: {
3916
+ link?: {
3917
+ url: string;
3918
+ } | undefined;
3919
+ action?: {
3920
+ url?: string | undefined;
3921
+ $id?: string | undefined;
3922
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3923
+ disabled?: boolean | undefined;
3924
+ title?: string | undefined;
3925
+ id?: string | undefined;
3926
+ $ref?: string | undefined;
3927
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3928
+ exit?: boolean | undefined;
3929
+ result?: JsonElement | undefined;
3930
+ data?: JsonElement | undefined;
3931
+ timeout?: number | undefined;
3932
+ skipValidation?: boolean | undefined;
3933
+ } | undefined;
3934
+ };
3935
+ accessibilityDescription?: string | undefined;
3936
+ } | undefined;
3937
+ }, {
3938
+ type: "alert";
3939
+ markdown: string;
3940
+ control?: string | undefined;
3941
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3942
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
3943
+ callToAction?: {
3944
+ title: string;
3945
+ behavior: {
3946
+ link?: {
3947
+ url: string;
3948
+ } | undefined;
3949
+ action?: {
3950
+ url?: string | undefined;
3951
+ $id?: string | undefined;
3952
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3953
+ disabled?: boolean | undefined;
3954
+ title?: string | undefined;
3955
+ id?: string | undefined;
3956
+ $ref?: string | undefined;
3957
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3958
+ exit?: boolean | undefined;
3959
+ result?: JsonElement | undefined;
3960
+ data?: JsonElement | undefined;
3961
+ timeout?: number | undefined;
3962
+ skipValidation?: boolean | undefined;
3963
+ } | undefined;
3964
+ };
3965
+ accessibilityDescription?: string | undefined;
3966
+ } | undefined;
3967
+ }>>;
3968
+ cameraConfig: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
3969
+ accepts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3970
+ maxSize: z.ZodOptional<z.ZodNumber>;
3971
+ source: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>>;
3972
+ disabled: z.ZodOptional<z.ZodBoolean>;
3973
+ }, "strip", z.ZodTypeAny, {
3974
+ type: "blob";
3975
+ image?: {
3976
+ url: string;
3977
+ text?: string | undefined;
3978
+ accessibilityDescription?: string | undefined;
3979
+ } | undefined;
3980
+ alert?: {
3981
+ type: "alert";
3982
+ markdown: string;
3983
+ control?: string | undefined;
3984
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3985
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
3986
+ callToAction?: {
3987
+ title: string;
3988
+ behavior: {
3989
+ link?: {
3990
+ url: string;
3991
+ } | undefined;
3992
+ action?: {
3993
+ url?: string | undefined;
3994
+ $id?: string | undefined;
3995
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3996
+ disabled?: boolean | undefined;
3997
+ title?: string | undefined;
3998
+ id?: string | undefined;
3999
+ $ref?: string | undefined;
4000
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4001
+ exit?: boolean | undefined;
4002
+ result?: JsonElement | undefined;
4003
+ data?: JsonElement | undefined;
4004
+ timeout?: number | undefined;
4005
+ skipValidation?: boolean | undefined;
4006
+ } | undefined;
4007
+ };
4008
+ accessibilityDescription?: string | undefined;
4009
+ } | undefined;
4010
+ } | undefined;
4011
+ $id?: string | undefined;
4012
+ analyticsId?: string | undefined;
4013
+ description?: string | undefined;
4014
+ disabled?: boolean | undefined;
4015
+ hidden?: boolean | undefined;
4016
+ icon?: {
4017
+ name: string;
4018
+ } | {
4019
+ text: string;
4020
+ } | undefined;
4021
+ promoted?: boolean | undefined;
4022
+ summary?: {
4023
+ providesTitle?: boolean | undefined;
4024
+ providesDescription?: boolean | undefined;
4025
+ providesIcon?: boolean | undefined;
4026
+ providesImage?: boolean | undefined;
4027
+ } | undefined;
4028
+ title?: string | undefined;
4029
+ validationAsync?: {
4030
+ url: string;
4031
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
4032
+ param: string;
4033
+ } | undefined;
4034
+ validationMessages?: Record<string, string> | undefined;
4035
+ keywords?: string[] | undefined;
4036
+ source?: "camera" | "file" | undefined;
4037
+ cameraConfig?: JsonElement | undefined;
4038
+ control?: string | undefined;
4039
+ maxSize?: number | undefined;
4040
+ accepts?: string[] | undefined;
4041
+ }, {
4042
+ type: "blob";
4043
+ image?: {
4044
+ url: string;
4045
+ text?: string | undefined;
4046
+ accessibilityDescription?: string | undefined;
4047
+ } | undefined;
4048
+ alert?: {
4049
+ type: "alert";
4050
+ markdown: string;
4051
+ control?: string | undefined;
4052
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4053
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
4054
+ callToAction?: {
4055
+ title: string;
4056
+ behavior: {
4057
+ link?: {
4058
+ url: string;
4059
+ } | undefined;
4060
+ action?: {
4061
+ url?: string | undefined;
4062
+ $id?: string | undefined;
4063
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4064
+ disabled?: boolean | undefined;
4065
+ title?: string | undefined;
4066
+ id?: string | undefined;
4067
+ $ref?: string | undefined;
4068
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4069
+ exit?: boolean | undefined;
4070
+ result?: JsonElement | undefined;
4071
+ data?: JsonElement | undefined;
4072
+ timeout?: number | undefined;
4073
+ skipValidation?: boolean | undefined;
4074
+ } | undefined;
4075
+ };
4076
+ accessibilityDescription?: string | undefined;
4077
+ } | undefined;
4078
+ } | undefined;
4079
+ $id?: string | undefined;
4080
+ analyticsId?: string | undefined;
4081
+ description?: string | undefined;
4082
+ disabled?: boolean | undefined;
4083
+ hidden?: boolean | undefined;
4084
+ icon?: {
4085
+ name: string;
4086
+ } | {
4087
+ text: string;
4088
+ } | undefined;
4089
+ promoted?: boolean | undefined;
4090
+ summary?: {
4091
+ providesTitle?: boolean | undefined;
4092
+ providesDescription?: boolean | undefined;
4093
+ providesIcon?: boolean | undefined;
4094
+ providesImage?: boolean | undefined;
4095
+ } | undefined;
4096
+ title?: string | undefined;
4097
+ validationAsync?: {
4098
+ url: string;
4099
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
4100
+ param: string;
4101
+ } | undefined;
4102
+ validationMessages?: Record<string, string> | undefined;
4103
+ keywords?: string[] | undefined;
4104
+ source?: "camera" | "file" | undefined;
4105
+ cameraConfig?: JsonElement | undefined;
4106
+ control?: string | undefined;
4107
+ maxSize?: number | undefined;
4108
+ accepts?: string[] | undefined;
4109
+ }>;
4110
+ export declare const constSchemaSchema: z.ZodObject<{
4111
+ hidden: z.ZodOptional<z.ZodBoolean>;
4112
+ alert: z.ZodOptional<z.ZodObject<{
4113
+ type: z.ZodLiteral<"alert">;
4114
+ markdown: z.ZodString;
4115
+ context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
4116
+ control: z.ZodOptional<z.ZodString>;
4117
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
4118
+ callToAction: z.ZodOptional<z.ZodObject<{
4119
+ title: z.ZodString;
4120
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
4121
+ behavior: z.ZodObject<{
4122
+ action: z.ZodOptional<z.ZodObject<{
4123
+ title: z.ZodOptional<z.ZodString>;
4124
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
4125
+ disabled: z.ZodOptional<z.ZodBoolean>;
4126
+ $id: z.ZodOptional<z.ZodString>;
4127
+ $ref: z.ZodOptional<z.ZodString>;
4128
+ id: z.ZodOptional<z.ZodString>;
4129
+ url: z.ZodOptional<z.ZodString>;
4130
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
4131
+ exit: z.ZodOptional<z.ZodBoolean>;
4132
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
4133
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
4134
+ timeout: z.ZodOptional<z.ZodNumber>;
4135
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
4136
+ }, "strip", z.ZodTypeAny, {
4137
+ url?: string | undefined;
4138
+ $id?: string | undefined;
4139
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4140
+ disabled?: boolean | undefined;
4141
+ title?: string | undefined;
4142
+ id?: string | undefined;
4143
+ $ref?: string | undefined;
4144
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4145
+ exit?: boolean | undefined;
4146
+ result?: JsonElement | undefined;
4147
+ data?: JsonElement | undefined;
4148
+ timeout?: number | undefined;
4149
+ skipValidation?: boolean | undefined;
4150
+ }, {
4151
+ url?: string | undefined;
4152
+ $id?: string | undefined;
4153
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4154
+ disabled?: boolean | undefined;
4155
+ title?: string | undefined;
4156
+ id?: string | undefined;
4157
+ $ref?: string | undefined;
4158
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4159
+ exit?: boolean | undefined;
4160
+ result?: JsonElement | undefined;
4161
+ data?: JsonElement | undefined;
4162
+ timeout?: number | undefined;
4163
+ skipValidation?: boolean | undefined;
4164
+ }>>;
4165
+ link: z.ZodOptional<z.ZodObject<{
4166
+ url: z.ZodString;
4167
+ }, "strip", z.ZodTypeAny, {
4168
+ url: string;
4169
+ }, {
4170
+ url: string;
4171
+ }>>;
4172
+ }, "strip", z.ZodTypeAny, {
4173
+ link?: {
4174
+ url: string;
4175
+ } | undefined;
4176
+ action?: {
4177
+ url?: string | undefined;
4178
+ $id?: string | undefined;
4179
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4180
+ disabled?: boolean | undefined;
4181
+ title?: string | undefined;
4182
+ id?: string | undefined;
4183
+ $ref?: string | undefined;
4184
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4185
+ exit?: boolean | undefined;
4186
+ result?: JsonElement | undefined;
4187
+ data?: JsonElement | undefined;
4188
+ timeout?: number | undefined;
4189
+ skipValidation?: boolean | undefined;
4190
+ } | undefined;
4191
+ }, {
4192
+ link?: {
4193
+ url: string;
4194
+ } | undefined;
4195
+ action?: {
4196
+ url?: string | undefined;
4197
+ $id?: string | undefined;
4198
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4199
+ disabled?: boolean | undefined;
4200
+ title?: string | undefined;
4201
+ id?: string | undefined;
4202
+ $ref?: string | undefined;
4203
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4204
+ exit?: boolean | undefined;
4205
+ result?: JsonElement | undefined;
4206
+ data?: JsonElement | undefined;
4207
+ timeout?: number | undefined;
4208
+ skipValidation?: boolean | undefined;
4209
+ } | undefined;
4210
+ }>;
4211
+ }, "strip", z.ZodTypeAny, {
4212
+ title: string;
4213
+ behavior: {
4214
+ link?: {
4215
+ url: string;
4216
+ } | undefined;
4217
+ action?: {
4218
+ url?: string | undefined;
4219
+ $id?: string | undefined;
4220
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4221
+ disabled?: boolean | undefined;
4222
+ title?: string | undefined;
4223
+ id?: string | undefined;
4224
+ $ref?: string | undefined;
4225
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4226
+ exit?: boolean | undefined;
4227
+ result?: JsonElement | undefined;
4228
+ data?: JsonElement | undefined;
4229
+ timeout?: number | undefined;
4230
+ skipValidation?: boolean | undefined;
4231
+ } | undefined;
4232
+ };
4233
+ accessibilityDescription?: string | undefined;
4234
+ }, {
4235
+ title: string;
4236
+ behavior: {
4237
+ link?: {
4238
+ url: string;
4239
+ } | undefined;
4240
+ action?: {
4241
+ url?: string | undefined;
4242
+ $id?: string | undefined;
4243
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4244
+ disabled?: boolean | undefined;
4245
+ title?: string | undefined;
4246
+ id?: string | undefined;
4247
+ $ref?: string | undefined;
4248
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4249
+ exit?: boolean | undefined;
4250
+ result?: JsonElement | undefined;
4251
+ data?: JsonElement | undefined;
4252
+ timeout?: number | undefined;
4253
+ skipValidation?: boolean | undefined;
4254
+ } | undefined;
4255
+ };
4256
+ accessibilityDescription?: string | undefined;
4257
+ }>>;
4258
+ }, "strip", z.ZodTypeAny, {
4259
+ type: "alert";
4260
+ markdown: string;
4261
+ control?: string | undefined;
4262
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4263
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
4264
+ callToAction?: {
4265
+ title: string;
4266
+ behavior: {
4267
+ link?: {
4268
+ url: string;
4269
+ } | undefined;
4270
+ action?: {
4271
+ url?: string | undefined;
4272
+ $id?: string | undefined;
4273
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4274
+ disabled?: boolean | undefined;
4275
+ title?: string | undefined;
4276
+ id?: string | undefined;
4277
+ $ref?: string | undefined;
4278
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4279
+ exit?: boolean | undefined;
4280
+ result?: JsonElement | undefined;
4281
+ data?: JsonElement | undefined;
4282
+ timeout?: number | undefined;
4283
+ skipValidation?: boolean | undefined;
4284
+ } | undefined;
4285
+ };
4286
+ accessibilityDescription?: string | undefined;
4287
+ } | undefined;
4288
+ }, {
4289
+ type: "alert";
4290
+ markdown: string;
4291
+ control?: string | undefined;
4292
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4293
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
4294
+ callToAction?: {
4295
+ title: string;
4296
+ behavior: {
4297
+ link?: {
4298
+ url: string;
4299
+ } | undefined;
4300
+ action?: {
4301
+ url?: string | undefined;
4302
+ $id?: string | undefined;
4303
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4304
+ disabled?: boolean | undefined;
4305
+ title?: string | undefined;
4306
+ id?: string | undefined;
4307
+ $ref?: string | undefined;
4308
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4309
+ exit?: boolean | undefined;
4310
+ result?: JsonElement | undefined;
4311
+ data?: JsonElement | undefined;
4312
+ timeout?: number | undefined;
4313
+ skipValidation?: boolean | undefined;
4314
+ } | undefined;
4315
+ };
3460
4316
  accessibilityDescription?: string | undefined;
3461
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3462
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3463
- } | undefined;
3464
- description?: string | undefined;
3465
- icon?: {
3466
- name: string;
3467
- } | {
3468
- text: string;
3469
4317
  } | undefined;
3470
- }>]>, "many">;
4318
+ }>>;
4319
+ control: z.ZodOptional<z.ZodString>;
4320
+ promoted: z.ZodOptional<z.ZodBoolean>;
4321
+ $id: z.ZodOptional<z.ZodString>;
4322
+ const: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
4323
+ title: z.ZodOptional<z.ZodString>;
4324
+ description: z.ZodOptional<z.ZodString>;
4325
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4326
+ name: z.ZodString;
4327
+ }, "strip", z.ZodTypeAny, {
4328
+ name: string;
4329
+ }, {
4330
+ name: string;
4331
+ }>, z.ZodObject<{
4332
+ text: z.ZodString;
4333
+ }, "strip", z.ZodTypeAny, {
4334
+ text: string;
4335
+ }, {
4336
+ text: string;
4337
+ }>]>>;
4338
+ image: z.ZodOptional<z.ZodObject<{
4339
+ text: z.ZodOptional<z.ZodString>;
4340
+ url: z.ZodString;
4341
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
4342
+ }, "strip", z.ZodTypeAny, {
4343
+ url: string;
4344
+ text?: string | undefined;
4345
+ accessibilityDescription?: string | undefined;
4346
+ }, {
4347
+ url: string;
4348
+ text?: string | undefined;
4349
+ accessibilityDescription?: string | undefined;
4350
+ }>>;
4351
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4352
+ summary: z.ZodOptional<z.ZodObject<{
4353
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
4354
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
4355
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
4356
+ providesImage: z.ZodOptional<z.ZodBoolean>;
4357
+ }, "strip", z.ZodTypeAny, {
4358
+ providesTitle?: boolean | undefined;
4359
+ providesDescription?: boolean | undefined;
4360
+ providesIcon?: boolean | undefined;
4361
+ providesImage?: boolean | undefined;
4362
+ }, {
4363
+ providesTitle?: boolean | undefined;
4364
+ providesDescription?: boolean | undefined;
4365
+ providesIcon?: boolean | undefined;
4366
+ providesImage?: boolean | undefined;
4367
+ }>>;
4368
+ analyticsId: z.ZodOptional<z.ZodString>;
4369
+ disabled: z.ZodOptional<z.ZodBoolean>;
3471
4370
  }, "strip", z.ZodTypeAny, {
3472
- results: ({
3473
- type: "search";
3474
- title: string;
3475
- value: {
3476
- url: string;
3477
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3478
- param: string;
3479
- query: string;
3480
- };
3481
- image?: {
3482
- url: string;
3483
- type: "image";
3484
- control?: string | undefined;
3485
- text?: string | undefined;
4371
+ const: JsonElement;
4372
+ image?: {
4373
+ url: string;
4374
+ text?: string | undefined;
4375
+ accessibilityDescription?: string | undefined;
4376
+ } | undefined;
4377
+ alert?: {
4378
+ type: "alert";
4379
+ markdown: string;
4380
+ control?: string | undefined;
4381
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4382
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
4383
+ callToAction?: {
4384
+ title: string;
4385
+ behavior: {
4386
+ link?: {
4387
+ url: string;
4388
+ } | undefined;
4389
+ action?: {
4390
+ url?: string | undefined;
4391
+ $id?: string | undefined;
4392
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4393
+ disabled?: boolean | undefined;
4394
+ title?: string | undefined;
4395
+ id?: string | undefined;
4396
+ $ref?: string | undefined;
4397
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4398
+ exit?: boolean | undefined;
4399
+ result?: JsonElement | undefined;
4400
+ data?: JsonElement | undefined;
4401
+ timeout?: number | undefined;
4402
+ skipValidation?: boolean | undefined;
4403
+ } | undefined;
4404
+ };
3486
4405
  accessibilityDescription?: string | undefined;
3487
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3488
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3489
- } | undefined;
3490
- description?: string | undefined;
3491
- icon?: {
3492
- name: string;
3493
- } | {
3494
- text: string;
3495
4406
  } | undefined;
4407
+ } | undefined;
4408
+ $id?: string | undefined;
4409
+ analyticsId?: string | undefined;
4410
+ description?: string | undefined;
4411
+ disabled?: boolean | undefined;
4412
+ hidden?: boolean | undefined;
4413
+ icon?: {
4414
+ name: string;
3496
4415
  } | {
3497
- type: "action";
3498
- title: string;
3499
- value: {
3500
- url?: string | undefined;
3501
- $id?: string | undefined;
3502
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3503
- disabled?: boolean | undefined;
3504
- title?: string | undefined;
3505
- id?: string | undefined;
3506
- $ref?: string | undefined;
3507
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3508
- exit?: boolean | undefined;
3509
- result?: JsonElement | undefined;
3510
- data?: JsonElement | undefined;
3511
- timeout?: number | undefined;
3512
- skipValidation?: boolean | undefined;
3513
- };
3514
- image?: {
3515
- url: string;
3516
- type: "image";
3517
- control?: string | undefined;
3518
- text?: string | undefined;
3519
- accessibilityDescription?: string | undefined;
3520
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3521
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3522
- } | undefined;
3523
- description?: string | undefined;
3524
- icon?: {
3525
- name: string;
3526
- } | {
3527
- text: string;
3528
- } | undefined;
3529
- })[];
4416
+ text: string;
4417
+ } | undefined;
4418
+ promoted?: boolean | undefined;
4419
+ summary?: {
4420
+ providesTitle?: boolean | undefined;
4421
+ providesDescription?: boolean | undefined;
4422
+ providesIcon?: boolean | undefined;
4423
+ providesImage?: boolean | undefined;
4424
+ } | undefined;
4425
+ title?: string | undefined;
4426
+ keywords?: string[] | undefined;
4427
+ control?: string | undefined;
3530
4428
  }, {
3531
- results: ({
3532
- type: "search";
3533
- title: string;
3534
- value: {
3535
- url: string;
3536
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3537
- param: string;
3538
- query: string;
3539
- };
3540
- image?: {
3541
- url: string;
3542
- type: "image";
3543
- control?: string | undefined;
3544
- text?: string | undefined;
4429
+ const: JsonElement;
4430
+ image?: {
4431
+ url: string;
4432
+ text?: string | undefined;
4433
+ accessibilityDescription?: string | undefined;
4434
+ } | undefined;
4435
+ alert?: {
4436
+ type: "alert";
4437
+ markdown: string;
4438
+ control?: string | undefined;
4439
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4440
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
4441
+ callToAction?: {
4442
+ title: string;
4443
+ behavior: {
4444
+ link?: {
4445
+ url: string;
4446
+ } | undefined;
4447
+ action?: {
4448
+ url?: string | undefined;
4449
+ $id?: string | undefined;
4450
+ type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
4451
+ disabled?: boolean | undefined;
4452
+ title?: string | undefined;
4453
+ id?: string | undefined;
4454
+ $ref?: string | undefined;
4455
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
4456
+ exit?: boolean | undefined;
4457
+ result?: JsonElement | undefined;
4458
+ data?: JsonElement | undefined;
4459
+ timeout?: number | undefined;
4460
+ skipValidation?: boolean | undefined;
4461
+ } | undefined;
4462
+ };
3545
4463
  accessibilityDescription?: string | undefined;
3546
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3547
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3548
- } | undefined;
3549
- description?: string | undefined;
3550
- icon?: {
3551
- name: string;
3552
- } | {
3553
- text: string;
3554
4464
  } | undefined;
4465
+ } | undefined;
4466
+ $id?: string | undefined;
4467
+ analyticsId?: string | undefined;
4468
+ description?: string | undefined;
4469
+ disabled?: boolean | undefined;
4470
+ hidden?: boolean | undefined;
4471
+ icon?: {
4472
+ name: string;
3555
4473
  } | {
3556
- type: "action";
3557
- title: string;
3558
- value: {
3559
- url?: string | undefined;
3560
- $id?: string | undefined;
3561
- type?: "positive" | "negative" | "primary" | "secondary" | "link" | undefined;
3562
- disabled?: boolean | undefined;
3563
- title?: string | undefined;
3564
- id?: string | undefined;
3565
- $ref?: string | undefined;
3566
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3567
- exit?: boolean | undefined;
3568
- result?: JsonElement | undefined;
3569
- data?: JsonElement | undefined;
3570
- timeout?: number | undefined;
3571
- skipValidation?: boolean | undefined;
3572
- };
3573
- image?: {
3574
- url: string;
3575
- type: "image";
3576
- control?: string | undefined;
3577
- text?: string | undefined;
3578
- accessibilityDescription?: string | undefined;
3579
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3580
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
3581
- } | undefined;
3582
- description?: string | undefined;
3583
- icon?: {
3584
- name: string;
3585
- } | {
3586
- text: string;
3587
- } | undefined;
3588
- })[];
4474
+ text: string;
4475
+ } | undefined;
4476
+ promoted?: boolean | undefined;
4477
+ summary?: {
4478
+ providesTitle?: boolean | undefined;
4479
+ providesDescription?: boolean | undefined;
4480
+ providesIcon?: boolean | undefined;
4481
+ providesImage?: boolean | undefined;
4482
+ } | undefined;
4483
+ title?: string | undefined;
4484
+ keywords?: string[] | undefined;
4485
+ control?: string | undefined;
3589
4486
  }>;
3590
4487
  export declare const layoutSchema: z.ZodSchema<Layout>;
3591
4488
  export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;