@gitbook/api 0.126.0 → 0.128.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/client.d.ts CHANGED
@@ -851,6 +851,17 @@ export interface DocumentBlockDivider {
851
851
  isVoid: true;
852
852
  data: object;
853
853
  }
854
+ export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
855
+ export interface DocumentBlockIf {
856
+ object: 'block';
857
+ type: 'if';
858
+ key?: string;
859
+ nodes: DocumentBlocksTopLevels[];
860
+ isVoid?: false;
861
+ data: {
862
+ expression: string;
863
+ };
864
+ }
854
865
  export type Length = number | {
855
866
  unit: string;
856
867
  value: number;
@@ -1147,7 +1158,7 @@ export interface DocumentBlockColumns {
1147
1158
  nodes: DocumentBlockColumn[];
1148
1159
  isVoid: false;
1149
1160
  }
1150
- export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep | DocumentBlockColumns | DocumentBlockColumn;
1161
+ export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockIf | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep | DocumentBlockColumns | DocumentBlockColumn;
1151
1162
  export interface DocumentInlineMention {
1152
1163
  object: 'inline';
1153
1164
  type: 'mention';
@@ -1173,7 +1184,6 @@ export interface DocumentInlineButton {
1173
1184
  };
1174
1185
  isVoid: true;
1175
1186
  }
1176
- export type DocumentBlocksTopLevels = DocumentBlocksEssentials | DocumentBlockQuote | DocumentBlockHint | DocumentBlockImages | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper;
1177
1187
  export interface JSONDocument {
1178
1188
  object: 'document';
1179
1189
  data: {
@@ -3192,6 +3202,7 @@ export declare enum SiteFeatureKey {
3192
3202
  SitesAdvancedInsights = "sites-advanced-insights",
3193
3203
  SitesAds = "sites-ads",
3194
3204
  SitesAiSearch = "sites-ai-search",
3205
+ SitesAiAssistant = "sites-ai-assistant",
3195
3206
  SitesApiPlayground = "sites-api-playground",
3196
3207
  SitesBasicCustomization = "sites-basic-customization",
3197
3208
  SitesCustomDomain = "sites-custom-domain",
@@ -4724,6 +4735,17 @@ export declare enum CustomizationDefaultFont {
4724
4735
  FiraSans = "FiraSans"
4725
4736
  }
4726
4737
  export type CustomizationFont = CustomizationDefaultFont | CustomizationFontDefinitionInput;
4738
+ export declare enum CustomizationDefaultMonospaceFont {
4739
+ FiraCode = "FiraCode",
4740
+ IBMPlexMono = "IBMPlexMono",
4741
+ JetBrainsMono = "JetBrainsMono",
4742
+ SourceCodePro = "SourceCodePro",
4743
+ RobotoMono = "RobotoMono",
4744
+ SpaceMono = "SpaceMono",
4745
+ DMMono = "DMMono",
4746
+ Inconsolata = "Inconsolata"
4747
+ }
4748
+ export type CustomizationMonospaceFont = CustomizationDefaultMonospaceFont | CustomizationFontDefinitionInput;
4727
4749
  /**
4728
4750
  * The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead.
4729
4751
  * @deprecated
@@ -4828,6 +4850,11 @@ export declare enum CustomizationThemeMode {
4828
4850
  Light = "light",
4829
4851
  Dark = "dark"
4830
4852
  }
4853
+ export declare enum CustomizationAIMode {
4854
+ None = "none",
4855
+ Search = "search",
4856
+ Assistant = "assistant"
4857
+ }
4831
4858
  /**
4832
4859
  * How external links should open when clicked.
4833
4860
  * - `self`: External links open in the current tab.
@@ -4869,6 +4896,7 @@ export interface SiteCustomizationSettings {
4869
4896
  */
4870
4897
  links: CustomizationLinksStyle;
4871
4898
  font: CustomizationFont;
4899
+ monospaceFont: CustomizationMonospaceFont;
4872
4900
  /**
4873
4901
  * The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead.
4874
4902
  * @deprecated
@@ -4937,15 +4965,13 @@ export interface SiteCustomizationSettings {
4937
4965
  /** If true, feedback gathering is enabled */
4938
4966
  enabled: boolean;
4939
4967
  };
4968
+ /** @deprecated */
4940
4969
  aiSearch: {
4941
4970
  /** If true, AI search is enabled */
4942
4971
  enabled: boolean;
4943
4972
  };
4944
- ai?: {
4945
- pageLinkSummaries: {
4946
- /** If true, AI page links summaries is enabled */
4947
- enabled: boolean;
4948
- };
4973
+ ai: {
4974
+ mode: CustomizationAIMode;
4949
4975
  };
4950
4976
  advancedCustomization: {
4951
4977
  /** If true, Advanced customization is enabled */
@@ -11946,8 +11972,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11946
11972
  depth?: CustomizationDepth | null;
11947
11973
  /** The style for links to use. Set to null to reset the override. */
11948
11974
  links?: CustomizationLinksStyle | null;
11949
- /** The font family to use for the content. Set to null to reset the override. */
11950
- font?: CustomizationFont | null;
11951
11975
  /** The icons style to use for the content. Set to null to reset the override. */
11952
11976
  icons?: CustomizationIconsStyle | null;
11953
11977
  /** Various styles for the sidebar. Each can be Set to null to reset the override. */
@@ -12004,10 +12028,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12004
12028
  /** If true, feedback gathering is enabled. Set to null to reset the override. */
12005
12029
  enabled: boolean | null;
12006
12030
  };
12007
- aiSearch?: {
12008
- /** If true, AI search is enabled. Set to null to reset the override. */
12009
- enabled: boolean | null;
12010
- };
12011
12031
  git?: {
12012
12032
  /** Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override. */
12013
12033
  showEditLink: boolean | null;
package/dist/index.cjs CHANGED
@@ -202,9 +202,11 @@ __export(src_exports, {
202
202
  CustomHostnameDnsStatus: () => CustomHostnameDnsStatus,
203
203
  CustomHostnameErrorStatus: () => CustomHostnameErrorStatus,
204
204
  CustomHostnameSslStatus: () => CustomHostnameSslStatus,
205
+ CustomizationAIMode: () => CustomizationAIMode,
205
206
  CustomizationBackground: () => CustomizationBackground,
206
207
  CustomizationCorners: () => CustomizationCorners,
207
208
  CustomizationDefaultFont: () => CustomizationDefaultFont,
209
+ CustomizationDefaultMonospaceFont: () => CustomizationDefaultMonospaceFont,
208
210
  CustomizationDepth: () => CustomizationDepth,
209
211
  CustomizationHeaderPreset: () => CustomizationHeaderPreset,
210
212
  CustomizationIconsStyle: () => CustomizationIconsStyle,
@@ -274,7 +276,7 @@ module.exports = __toCommonJS(src_exports);
274
276
 
275
277
  // package.json
276
278
  var name = "@gitbook/api";
277
- var version = "0.126.0";
279
+ var version = "0.128.0";
278
280
 
279
281
  // src/client.ts
280
282
  var import_event_iterator = __toESM(require_node(), 1);
@@ -662,6 +664,7 @@ var SiteFeatureKey = /* @__PURE__ */ ((SiteFeatureKey2) => {
662
664
  SiteFeatureKey2["SitesAdvancedInsights"] = "sites-advanced-insights";
663
665
  SiteFeatureKey2["SitesAds"] = "sites-ads";
664
666
  SiteFeatureKey2["SitesAiSearch"] = "sites-ai-search";
667
+ SiteFeatureKey2["SitesAiAssistant"] = "sites-ai-assistant";
665
668
  SiteFeatureKey2["SitesApiPlayground"] = "sites-api-playground";
666
669
  SiteFeatureKey2["SitesBasicCustomization"] = "sites-basic-customization";
667
670
  SiteFeatureKey2["SitesCustomDomain"] = "sites-custom-domain";
@@ -789,6 +792,17 @@ var CustomizationDefaultFont = /* @__PURE__ */ ((CustomizationDefaultFont2) => {
789
792
  CustomizationDefaultFont2["FiraSans"] = "FiraSans";
790
793
  return CustomizationDefaultFont2;
791
794
  })(CustomizationDefaultFont || {});
795
+ var CustomizationDefaultMonospaceFont = /* @__PURE__ */ ((CustomizationDefaultMonospaceFont2) => {
796
+ CustomizationDefaultMonospaceFont2["FiraCode"] = "FiraCode";
797
+ CustomizationDefaultMonospaceFont2["IBMPlexMono"] = "IBMPlexMono";
798
+ CustomizationDefaultMonospaceFont2["JetBrainsMono"] = "JetBrainsMono";
799
+ CustomizationDefaultMonospaceFont2["SourceCodePro"] = "SourceCodePro";
800
+ CustomizationDefaultMonospaceFont2["RobotoMono"] = "RobotoMono";
801
+ CustomizationDefaultMonospaceFont2["SpaceMono"] = "SpaceMono";
802
+ CustomizationDefaultMonospaceFont2["DMMono"] = "DMMono";
803
+ CustomizationDefaultMonospaceFont2["Inconsolata"] = "Inconsolata";
804
+ return CustomizationDefaultMonospaceFont2;
805
+ })(CustomizationDefaultMonospaceFont || {});
792
806
  var CustomizationBackground = /* @__PURE__ */ ((CustomizationBackground2) => {
793
807
  CustomizationBackground2["Plain"] = "plain";
794
808
  CustomizationBackground2["Match"] = "match";
@@ -843,6 +857,12 @@ var CustomizationThemeMode = /* @__PURE__ */ ((CustomizationThemeMode2) => {
843
857
  CustomizationThemeMode2["Dark"] = "dark";
844
858
  return CustomizationThemeMode2;
845
859
  })(CustomizationThemeMode || {});
860
+ var CustomizationAIMode = /* @__PURE__ */ ((CustomizationAIMode2) => {
861
+ CustomizationAIMode2["None"] = "none";
862
+ CustomizationAIMode2["Search"] = "search";
863
+ CustomizationAIMode2["Assistant"] = "assistant";
864
+ return CustomizationAIMode2;
865
+ })(CustomizationAIMode || {});
846
866
  var SiteExternalLinksTarget = /* @__PURE__ */ ((SiteExternalLinksTarget2) => {
847
867
  SiteExternalLinksTarget2["Self"] = "self";
848
868
  SiteExternalLinksTarget2["Blank"] = "blank";
@@ -3757,9 +3777,11 @@ var GitBookAPI = class extends Api {
3757
3777
  CustomHostnameDnsStatus,
3758
3778
  CustomHostnameErrorStatus,
3759
3779
  CustomHostnameSslStatus,
3780
+ CustomizationAIMode,
3760
3781
  CustomizationBackground,
3761
3782
  CustomizationCorners,
3762
3783
  CustomizationDefaultFont,
3784
+ CustomizationDefaultMonospaceFont,
3763
3785
  CustomizationDepth,
3764
3786
  CustomizationHeaderPreset,
3765
3787
  CustomizationIconsStyle,
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.126.0";
175
+ var version = "0.128.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -560,6 +560,7 @@ var SiteFeatureKey = /* @__PURE__ */ ((SiteFeatureKey2) => {
560
560
  SiteFeatureKey2["SitesAdvancedInsights"] = "sites-advanced-insights";
561
561
  SiteFeatureKey2["SitesAds"] = "sites-ads";
562
562
  SiteFeatureKey2["SitesAiSearch"] = "sites-ai-search";
563
+ SiteFeatureKey2["SitesAiAssistant"] = "sites-ai-assistant";
563
564
  SiteFeatureKey2["SitesApiPlayground"] = "sites-api-playground";
564
565
  SiteFeatureKey2["SitesBasicCustomization"] = "sites-basic-customization";
565
566
  SiteFeatureKey2["SitesCustomDomain"] = "sites-custom-domain";
@@ -687,6 +688,17 @@ var CustomizationDefaultFont = /* @__PURE__ */ ((CustomizationDefaultFont2) => {
687
688
  CustomizationDefaultFont2["FiraSans"] = "FiraSans";
688
689
  return CustomizationDefaultFont2;
689
690
  })(CustomizationDefaultFont || {});
691
+ var CustomizationDefaultMonospaceFont = /* @__PURE__ */ ((CustomizationDefaultMonospaceFont2) => {
692
+ CustomizationDefaultMonospaceFont2["FiraCode"] = "FiraCode";
693
+ CustomizationDefaultMonospaceFont2["IBMPlexMono"] = "IBMPlexMono";
694
+ CustomizationDefaultMonospaceFont2["JetBrainsMono"] = "JetBrainsMono";
695
+ CustomizationDefaultMonospaceFont2["SourceCodePro"] = "SourceCodePro";
696
+ CustomizationDefaultMonospaceFont2["RobotoMono"] = "RobotoMono";
697
+ CustomizationDefaultMonospaceFont2["SpaceMono"] = "SpaceMono";
698
+ CustomizationDefaultMonospaceFont2["DMMono"] = "DMMono";
699
+ CustomizationDefaultMonospaceFont2["Inconsolata"] = "Inconsolata";
700
+ return CustomizationDefaultMonospaceFont2;
701
+ })(CustomizationDefaultMonospaceFont || {});
690
702
  var CustomizationBackground = /* @__PURE__ */ ((CustomizationBackground2) => {
691
703
  CustomizationBackground2["Plain"] = "plain";
692
704
  CustomizationBackground2["Match"] = "match";
@@ -741,6 +753,12 @@ var CustomizationThemeMode = /* @__PURE__ */ ((CustomizationThemeMode2) => {
741
753
  CustomizationThemeMode2["Dark"] = "dark";
742
754
  return CustomizationThemeMode2;
743
755
  })(CustomizationThemeMode || {});
756
+ var CustomizationAIMode = /* @__PURE__ */ ((CustomizationAIMode2) => {
757
+ CustomizationAIMode2["None"] = "none";
758
+ CustomizationAIMode2["Search"] = "search";
759
+ CustomizationAIMode2["Assistant"] = "assistant";
760
+ return CustomizationAIMode2;
761
+ })(CustomizationAIMode || {});
744
762
  var SiteExternalLinksTarget = /* @__PURE__ */ ((SiteExternalLinksTarget2) => {
745
763
  SiteExternalLinksTarget2["Self"] = "self";
746
764
  SiteExternalLinksTarget2["Blank"] = "blank";
@@ -3654,9 +3672,11 @@ export {
3654
3672
  CustomHostnameDnsStatus,
3655
3673
  CustomHostnameErrorStatus,
3656
3674
  CustomHostnameSslStatus,
3675
+ CustomizationAIMode,
3657
3676
  CustomizationBackground,
3658
3677
  CustomizationCorners,
3659
3678
  CustomizationDefaultFont,
3679
+ CustomizationDefaultMonospaceFont,
3660
3680
  CustomizationDepth,
3661
3681
  CustomizationHeaderPreset,
3662
3682
  CustomizationIconsStyle,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.126.0",
7
+ "version": "0.128.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -14166,21 +14166,6 @@
14166
14166
  }
14167
14167
  ]
14168
14168
  },
14169
- "font": {
14170
- "description": "The font family to use for the content. Set to null to reset the override.",
14171
- "oneOf": [
14172
- {
14173
- "$ref": "#/components/schemas/CustomizationFont"
14174
- },
14175
- {
14176
- "type": "string",
14177
- "nullable": true,
14178
- "enum": [
14179
- null
14180
- ]
14181
- }
14182
- ]
14183
- },
14184
14169
  "icons": {
14185
14170
  "description": "The icons style to use for the content. Set to null to reset the override.",
14186
14171
  "oneOf": [
@@ -14461,19 +14446,6 @@
14461
14446
  "enabled"
14462
14447
  ]
14463
14448
  },
14464
- "aiSearch": {
14465
- "type": "object",
14466
- "properties": {
14467
- "enabled": {
14468
- "type": "boolean",
14469
- "description": "If true, AI search is enabled. Set to null to reset the override.",
14470
- "nullable": true
14471
- }
14472
- },
14473
- "required": [
14474
- "enabled"
14475
- ]
14476
- },
14477
14449
  "git": {
14478
14450
  "type": "object",
14479
14451
  "properties": {
@@ -20034,6 +20006,119 @@
20034
20006
  "data"
20035
20007
  ]
20036
20008
  },
20009
+ "DocumentBlocksTopLevels": {
20010
+ "oneOf": [
20011
+ {
20012
+ "$ref": "#/components/schemas/DocumentBlocksEssentials"
20013
+ },
20014
+ {
20015
+ "$ref": "#/components/schemas/DocumentBlockQuote"
20016
+ },
20017
+ {
20018
+ "$ref": "#/components/schemas/DocumentBlockHint"
20019
+ },
20020
+ {
20021
+ "$ref": "#/components/schemas/DocumentBlockImages"
20022
+ },
20023
+ {
20024
+ "$ref": "#/components/schemas/DocumentBlockFile"
20025
+ },
20026
+ {
20027
+ "$ref": "#/components/schemas/DocumentBlockDrawing"
20028
+ },
20029
+ {
20030
+ "$ref": "#/components/schemas/DocumentBlockEmbed"
20031
+ },
20032
+ {
20033
+ "$ref": "#/components/schemas/DocumentBlockCode"
20034
+ },
20035
+ {
20036
+ "$ref": "#/components/schemas/DocumentBlockMath"
20037
+ },
20038
+ {
20039
+ "$ref": "#/components/schemas/DocumentBlockExpandable"
20040
+ },
20041
+ {
20042
+ "$ref": "#/components/schemas/DocumentBlockTabs"
20043
+ },
20044
+ {
20045
+ "$ref": "#/components/schemas/DocumentBlockTable"
20046
+ },
20047
+ {
20048
+ "$ref": "#/components/schemas/DocumentBlockOpenAPI"
20049
+ },
20050
+ {
20051
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
20052
+ },
20053
+ {
20054
+ "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
20055
+ },
20056
+ {
20057
+ "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
20058
+ },
20059
+ {
20060
+ "$ref": "#/components/schemas/DocumentBlockContentRef"
20061
+ },
20062
+ {
20063
+ "$ref": "#/components/schemas/DocumentBlockIntegration"
20064
+ },
20065
+ {
20066
+ "$ref": "#/components/schemas/DocumentBlockReusableContent"
20067
+ },
20068
+ {
20069
+ "$ref": "#/components/schemas/DocumentBlockStepper"
20070
+ }
20071
+ ]
20072
+ },
20073
+ "DocumentBlockIf": {
20074
+ "type": "object",
20075
+ "properties": {
20076
+ "object": {
20077
+ "type": "string",
20078
+ "enum": [
20079
+ "block"
20080
+ ]
20081
+ },
20082
+ "type": {
20083
+ "type": "string",
20084
+ "enum": [
20085
+ "if"
20086
+ ]
20087
+ },
20088
+ "key": {
20089
+ "type": "string"
20090
+ },
20091
+ "nodes": {
20092
+ "type": "array",
20093
+ "items": {
20094
+ "$ref": "#/components/schemas/DocumentBlocksTopLevels"
20095
+ }
20096
+ },
20097
+ "isVoid": {
20098
+ "type": "boolean",
20099
+ "enum": [
20100
+ false
20101
+ ]
20102
+ },
20103
+ "data": {
20104
+ "type": "object",
20105
+ "properties": {
20106
+ "expression": {
20107
+ "type": "string"
20108
+ }
20109
+ },
20110
+ "required": [
20111
+ "expression"
20112
+ ]
20113
+ }
20114
+ },
20115
+ "required": [
20116
+ "object",
20117
+ "type",
20118
+ "nodes",
20119
+ "data"
20120
+ ]
20121
+ },
20037
20122
  "Length": {
20038
20123
  "oneOf": [
20039
20124
  {
@@ -21560,6 +21645,9 @@
21560
21645
  {
21561
21646
  "$ref": "#/components/schemas/DocumentBlockHint"
21562
21647
  },
21648
+ {
21649
+ "$ref": "#/components/schemas/DocumentBlockIf"
21650
+ },
21563
21651
  {
21564
21652
  "$ref": "#/components/schemas/DocumentBlockImages"
21565
21653
  },
@@ -21747,70 +21835,6 @@
21747
21835
  "isVoid"
21748
21836
  ]
21749
21837
  },
21750
- "DocumentBlocksTopLevels": {
21751
- "oneOf": [
21752
- {
21753
- "$ref": "#/components/schemas/DocumentBlocksEssentials"
21754
- },
21755
- {
21756
- "$ref": "#/components/schemas/DocumentBlockQuote"
21757
- },
21758
- {
21759
- "$ref": "#/components/schemas/DocumentBlockHint"
21760
- },
21761
- {
21762
- "$ref": "#/components/schemas/DocumentBlockImages"
21763
- },
21764
- {
21765
- "$ref": "#/components/schemas/DocumentBlockFile"
21766
- },
21767
- {
21768
- "$ref": "#/components/schemas/DocumentBlockDrawing"
21769
- },
21770
- {
21771
- "$ref": "#/components/schemas/DocumentBlockEmbed"
21772
- },
21773
- {
21774
- "$ref": "#/components/schemas/DocumentBlockCode"
21775
- },
21776
- {
21777
- "$ref": "#/components/schemas/DocumentBlockMath"
21778
- },
21779
- {
21780
- "$ref": "#/components/schemas/DocumentBlockExpandable"
21781
- },
21782
- {
21783
- "$ref": "#/components/schemas/DocumentBlockTabs"
21784
- },
21785
- {
21786
- "$ref": "#/components/schemas/DocumentBlockTable"
21787
- },
21788
- {
21789
- "$ref": "#/components/schemas/DocumentBlockOpenAPI"
21790
- },
21791
- {
21792
- "$ref": "#/components/schemas/DocumentBlockOpenAPIOperation"
21793
- },
21794
- {
21795
- "$ref": "#/components/schemas/DocumentBlockOpenAPISchemas"
21796
- },
21797
- {
21798
- "$ref": "#/components/schemas/DocumentBlockOpenAPIWebhook"
21799
- },
21800
- {
21801
- "$ref": "#/components/schemas/DocumentBlockContentRef"
21802
- },
21803
- {
21804
- "$ref": "#/components/schemas/DocumentBlockIntegration"
21805
- },
21806
- {
21807
- "$ref": "#/components/schemas/DocumentBlockReusableContent"
21808
- },
21809
- {
21810
- "$ref": "#/components/schemas/DocumentBlockStepper"
21811
- }
21812
- ]
21813
- },
21814
21838
  "JSONDocument": {
21815
21839
  "type": "object",
21816
21840
  "properties": {
@@ -27751,6 +27775,7 @@
27751
27775
  "sites-advanced-insights",
27752
27776
  "sites-ads",
27753
27777
  "sites-ai-search",
27778
+ "sites-ai-assistant",
27754
27779
  "sites-api-playground",
27755
27780
  "sites-basic-customization",
27756
27781
  "sites-custom-domain",
@@ -32198,6 +32223,29 @@
32198
32223
  }
32199
32224
  ]
32200
32225
  },
32226
+ "CustomizationDefaultMonospaceFont": {
32227
+ "type": "string",
32228
+ "enum": [
32229
+ "FiraCode",
32230
+ "IBMPlexMono",
32231
+ "JetBrainsMono",
32232
+ "SourceCodePro",
32233
+ "RobotoMono",
32234
+ "SpaceMono",
32235
+ "DMMono",
32236
+ "Inconsolata"
32237
+ ]
32238
+ },
32239
+ "CustomizationMonospaceFont": {
32240
+ "oneOf": [
32241
+ {
32242
+ "$ref": "#/components/schemas/CustomizationDefaultMonospaceFont"
32243
+ },
32244
+ {
32245
+ "$ref": "#/components/schemas/CustomizationFontDefinitionInput"
32246
+ }
32247
+ ]
32248
+ },
32201
32249
  "CustomizationBackground": {
32202
32250
  "type": "string",
32203
32251
  "enum": [
@@ -32395,6 +32443,14 @@
32395
32443
  "dark"
32396
32444
  ]
32397
32445
  },
32446
+ "CustomizationAIMode": {
32447
+ "type": "string",
32448
+ "enum": [
32449
+ "none",
32450
+ "search",
32451
+ "assistant"
32452
+ ]
32453
+ },
32398
32454
  "SiteExternalLinksTarget": {
32399
32455
  "type": "string",
32400
32456
  "description": "How external links should open when clicked.\n- `self`: External links open in the current tab.\n- `blank`: External links open in a new browser tab.\n",
@@ -32446,6 +32502,9 @@
32446
32502
  "font": {
32447
32503
  "$ref": "#/components/schemas/CustomizationFont"
32448
32504
  },
32505
+ "monospaceFont": {
32506
+ "$ref": "#/components/schemas/CustomizationMonospaceFont"
32507
+ },
32449
32508
  "background": {
32450
32509
  "deprecated": true,
32451
32510
  "$ref": "#/components/schemas/CustomizationBackground"
@@ -32483,6 +32542,7 @@
32483
32542
  "depth",
32484
32543
  "links",
32485
32544
  "font",
32545
+ "monospaceFont",
32486
32546
  "background",
32487
32547
  "icons",
32488
32548
  "sidebar",
@@ -32601,6 +32661,7 @@
32601
32661
  },
32602
32662
  "aiSearch": {
32603
32663
  "type": "object",
32664
+ "deprecated": true,
32604
32665
  "properties": {
32605
32666
  "enabled": {
32606
32667
  "type": "boolean",
@@ -32614,21 +32675,12 @@
32614
32675
  "ai": {
32615
32676
  "type": "object",
32616
32677
  "properties": {
32617
- "pageLinkSummaries": {
32618
- "type": "object",
32619
- "properties": {
32620
- "enabled": {
32621
- "type": "boolean",
32622
- "description": "If true, AI page links summaries is enabled"
32623
- }
32624
- },
32625
- "required": [
32626
- "enabled"
32627
- ]
32678
+ "mode": {
32679
+ "$ref": "#/components/schemas/CustomizationAIMode"
32628
32680
  }
32629
32681
  },
32630
32682
  "required": [
32631
- "pageLinkSummaries"
32683
+ "mode"
32632
32684
  ]
32633
32685
  },
32634
32686
  "advancedCustomization": {
@@ -32730,6 +32782,7 @@
32730
32782
  "pdf",
32731
32783
  "feedback",
32732
32784
  "aiSearch",
32785
+ "ai",
32733
32786
  "advancedCustomization",
32734
32787
  "trademark",
32735
32788
  "externalLinks",
package/spec/openapi.yaml CHANGED
@@ -7996,14 +7996,6 @@ paths:
7996
7996
  nullable: true
7997
7997
  enum:
7998
7998
  - null
7999
- font:
8000
- description: The font family to use for the content. Set to null to reset the override.
8001
- oneOf:
8002
- - $ref: "#/components/schemas/CustomizationFont"
8003
- - type: string
8004
- nullable: true
8005
- enum:
8006
- - null
8007
7999
  icons:
8008
8000
  description: The icons style to use for the content. Set to null to reset the override.
8009
8001
  oneOf:
@@ -8165,15 +8157,6 @@ paths:
8165
8157
  nullable: true
8166
8158
  required:
8167
8159
  - enabled
8168
- aiSearch:
8169
- type: object
8170
- properties:
8171
- enabled:
8172
- type: boolean
8173
- description: If true, AI search is enabled. Set to null to reset the override.
8174
- nullable: true
8175
- required:
8176
- - enabled
8177
8160
  git:
8178
8161
  type: object
8179
8162
  properties:
@@ -11743,6 +11726,61 @@ components:
11743
11726
  - type
11744
11727
  - isVoid
11745
11728
  - data
11729
+ DocumentBlocksTopLevels:
11730
+ oneOf:
11731
+ - $ref: "#/components/schemas/DocumentBlocksEssentials"
11732
+ - $ref: "#/components/schemas/DocumentBlockQuote"
11733
+ - $ref: "#/components/schemas/DocumentBlockHint"
11734
+ - $ref: "#/components/schemas/DocumentBlockImages"
11735
+ - $ref: "#/components/schemas/DocumentBlockFile"
11736
+ - $ref: "#/components/schemas/DocumentBlockDrawing"
11737
+ - $ref: "#/components/schemas/DocumentBlockEmbed"
11738
+ - $ref: "#/components/schemas/DocumentBlockCode"
11739
+ - $ref: "#/components/schemas/DocumentBlockMath"
11740
+ - $ref: "#/components/schemas/DocumentBlockExpandable"
11741
+ - $ref: "#/components/schemas/DocumentBlockTabs"
11742
+ - $ref: "#/components/schemas/DocumentBlockTable"
11743
+ - $ref: "#/components/schemas/DocumentBlockOpenAPI"
11744
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
11745
+ - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
11746
+ - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
11747
+ - $ref: "#/components/schemas/DocumentBlockContentRef"
11748
+ - $ref: "#/components/schemas/DocumentBlockIntegration"
11749
+ - $ref: "#/components/schemas/DocumentBlockReusableContent"
11750
+ - $ref: "#/components/schemas/DocumentBlockStepper"
11751
+ DocumentBlockIf:
11752
+ type: object
11753
+ properties:
11754
+ object:
11755
+ type: string
11756
+ enum:
11757
+ - block
11758
+ type:
11759
+ type: string
11760
+ enum:
11761
+ - if
11762
+ key:
11763
+ type: string
11764
+ nodes:
11765
+ type: array
11766
+ items:
11767
+ $ref: "#/components/schemas/DocumentBlocksTopLevels"
11768
+ isVoid:
11769
+ type: boolean
11770
+ enum:
11771
+ - false
11772
+ data:
11773
+ type: object
11774
+ properties:
11775
+ expression:
11776
+ type: string
11777
+ required:
11778
+ - expression
11779
+ required:
11780
+ - object
11781
+ - type
11782
+ - nodes
11783
+ - data
11746
11784
  Length:
11747
11785
  oneOf:
11748
11786
  - type: number
@@ -12678,6 +12716,7 @@ components:
12678
12716
  - $ref: "#/components/schemas/DocumentBlockDivider"
12679
12717
  - $ref: "#/components/schemas/DocumentBlockQuote"
12680
12718
  - $ref: "#/components/schemas/DocumentBlockHint"
12719
+ - $ref: "#/components/schemas/DocumentBlockIf"
12681
12720
  - $ref: "#/components/schemas/DocumentBlockImages"
12682
12721
  - $ref: "#/components/schemas/DocumentBlockImage"
12683
12722
  - $ref: "#/components/schemas/DocumentBlockFile"
@@ -12775,28 +12814,6 @@ components:
12775
12814
  - type
12776
12815
  - data
12777
12816
  - isVoid
12778
- DocumentBlocksTopLevels:
12779
- oneOf:
12780
- - $ref: "#/components/schemas/DocumentBlocksEssentials"
12781
- - $ref: "#/components/schemas/DocumentBlockQuote"
12782
- - $ref: "#/components/schemas/DocumentBlockHint"
12783
- - $ref: "#/components/schemas/DocumentBlockImages"
12784
- - $ref: "#/components/schemas/DocumentBlockFile"
12785
- - $ref: "#/components/schemas/DocumentBlockDrawing"
12786
- - $ref: "#/components/schemas/DocumentBlockEmbed"
12787
- - $ref: "#/components/schemas/DocumentBlockCode"
12788
- - $ref: "#/components/schemas/DocumentBlockMath"
12789
- - $ref: "#/components/schemas/DocumentBlockExpandable"
12790
- - $ref: "#/components/schemas/DocumentBlockTabs"
12791
- - $ref: "#/components/schemas/DocumentBlockTable"
12792
- - $ref: "#/components/schemas/DocumentBlockOpenAPI"
12793
- - $ref: "#/components/schemas/DocumentBlockOpenAPIOperation"
12794
- - $ref: "#/components/schemas/DocumentBlockOpenAPISchemas"
12795
- - $ref: "#/components/schemas/DocumentBlockOpenAPIWebhook"
12796
- - $ref: "#/components/schemas/DocumentBlockContentRef"
12797
- - $ref: "#/components/schemas/DocumentBlockIntegration"
12798
- - $ref: "#/components/schemas/DocumentBlockReusableContent"
12799
- - $ref: "#/components/schemas/DocumentBlockStepper"
12800
12817
  JSONDocument:
12801
12818
  type: object
12802
12819
  properties:
@@ -16750,6 +16767,7 @@ components:
16750
16767
  - sites-advanced-insights
16751
16768
  - sites-ads
16752
16769
  - sites-ai-search
16770
+ - sites-ai-assistant
16753
16771
  - sites-api-playground
16754
16772
  - sites-basic-customization
16755
16773
  - sites-custom-domain
@@ -19783,6 +19801,21 @@ components:
19783
19801
  oneOf:
19784
19802
  - $ref: "#/components/schemas/CustomizationDefaultFont"
19785
19803
  - $ref: "#/components/schemas/CustomizationFontDefinitionInput"
19804
+ CustomizationDefaultMonospaceFont:
19805
+ type: string
19806
+ enum:
19807
+ - FiraCode
19808
+ - IBMPlexMono
19809
+ - JetBrainsMono
19810
+ - SourceCodePro
19811
+ - RobotoMono
19812
+ - SpaceMono
19813
+ - DMMono
19814
+ - Inconsolata
19815
+ CustomizationMonospaceFont:
19816
+ oneOf:
19817
+ - $ref: "#/components/schemas/CustomizationDefaultMonospaceFont"
19818
+ - $ref: "#/components/schemas/CustomizationFontDefinitionInput"
19786
19819
  CustomizationBackground:
19787
19820
  type: string
19788
19821
  enum:
@@ -19935,6 +19968,12 @@ components:
19935
19968
  enum:
19936
19969
  - light
19937
19970
  - dark
19971
+ CustomizationAIMode:
19972
+ type: string
19973
+ enum:
19974
+ - none
19975
+ - search
19976
+ - assistant
19938
19977
  SiteExternalLinksTarget:
19939
19978
  type: string
19940
19979
  description: |
@@ -19975,6 +20014,8 @@ components:
19975
20014
  $ref: "#/components/schemas/CustomizationLinksStyle"
19976
20015
  font:
19977
20016
  $ref: "#/components/schemas/CustomizationFont"
20017
+ monospaceFont:
20018
+ $ref: "#/components/schemas/CustomizationMonospaceFont"
19978
20019
  background:
19979
20020
  deprecated: true
19980
20021
  $ref: "#/components/schemas/CustomizationBackground"
@@ -20003,6 +20044,7 @@ components:
20003
20044
  - depth
20004
20045
  - links
20005
20046
  - font
20047
+ - monospaceFont
20006
20048
  - background
20007
20049
  - icons
20008
20050
  - sidebar
@@ -20085,6 +20127,7 @@ components:
20085
20127
  - enabled
20086
20128
  aiSearch:
20087
20129
  type: object
20130
+ deprecated: true
20088
20131
  properties:
20089
20132
  enabled:
20090
20133
  type: boolean
@@ -20094,16 +20137,10 @@ components:
20094
20137
  ai:
20095
20138
  type: object
20096
20139
  properties:
20097
- pageLinkSummaries:
20098
- type: object
20099
- properties:
20100
- enabled:
20101
- type: boolean
20102
- description: If true, AI page links summaries is enabled
20103
- required:
20104
- - enabled
20140
+ mode:
20141
+ $ref: "#/components/schemas/CustomizationAIMode"
20105
20142
  required:
20106
- - pageLinkSummaries
20143
+ - mode
20107
20144
  advancedCustomization:
20108
20145
  type: object
20109
20146
  properties:
@@ -20172,6 +20209,7 @@ components:
20172
20209
  - pdf
20173
20210
  - feedback
20174
20211
  - aiSearch
20212
+ - ai
20175
20213
  - advancedCustomization
20176
20214
  - trademark
20177
20215
  - externalLinks