@gitbook/api 0.117.0 → 0.117.1

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
@@ -825,7 +825,7 @@ export interface DocumentBlockDivider {
825
825
  isVoid: true;
826
826
  data: object;
827
827
  }
828
- export type DocumentBlockImageDimension = number | {
828
+ export type Length = number | {
829
829
  unit: string;
830
830
  value: number;
831
831
  };
@@ -836,8 +836,8 @@ export interface DocumentBlockImage {
836
836
  data: {
837
837
  ref: ContentRefURL | ContentRefFile;
838
838
  refDark?: ContentRefURL | ContentRefFile;
839
- width?: DocumentBlockImageDimension;
840
- height?: DocumentBlockImageDimension;
839
+ width?: Length;
840
+ height?: Length;
841
841
  alt?: string;
842
842
  };
843
843
  fragments: (DocumentFragment & {
@@ -1107,7 +1107,9 @@ export interface DocumentBlockColumn {
1107
1107
  key?: string;
1108
1108
  nodes: (DocumentBlocksEssentials | DocumentBlockImages)[];
1109
1109
  isVoid?: false;
1110
- data: object;
1110
+ data: {
1111
+ width?: Length;
1112
+ };
1111
1113
  }
1112
1114
  export interface DocumentBlockColumns {
1113
1115
  object: 'block';
@@ -2674,6 +2676,11 @@ export interface UpdateCustomFieldValues {
2674
2676
  /** Secrets stored on the integration and passed at runtime. */
2675
2677
  export type IntegrationSecrets = Record<string, string>;
2676
2678
  export interface PublishIntegration {
2679
+ /**
2680
+ * The runtime version to use for the integration. If not specified, the integration will use the default runtime.
2681
+ * @default "v1"
2682
+ */
2683
+ runtime?: 'v1' | 'v2';
2677
2684
  /**
2678
2685
  * Base64 content of the icon
2679
2686
  * @format byte
@@ -3198,6 +3205,15 @@ export type SiteAds = {
3198
3205
  /** The ad network zone ID */
3199
3206
  zoneId: string;
3200
3207
  };
3208
+ /**
3209
+ * Defines if the site will be included in the agent's context.
3210
+ * - `excluded` means that the agent will not be able to access the site.
3211
+ * - `included` means that the agent will be able to access the site.
3212
+ */
3213
+ export declare enum SiteAgentsContext {
3214
+ Excluded = "excluded",
3215
+ Included = "included"
3216
+ }
3201
3217
  /** A list of all premium customizations. */
3202
3218
  export declare enum SiteCustomizationFeature {
3203
3219
  HeaderLogo = "header-logo",
@@ -3256,6 +3272,12 @@ export interface Site {
3256
3272
  createdAt: string;
3257
3273
  adaptiveContent?: SiteAdaptiveContent;
3258
3274
  ads?: SiteAds;
3275
+ /**
3276
+ * Defines if the site will be included in the agent's context.
3277
+ * - `excluded` means that the agent will not be able to access the site.
3278
+ * - `included` means that the agent will be able to access the site.
3279
+ */
3280
+ agentsContext: SiteAgentsContext;
3259
3281
  /** A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified. */
3260
3282
  features: SiteFeature[];
3261
3283
  /** URLs associated with the object */
@@ -5133,7 +5155,7 @@ export interface AIStreamResponseFinish {
5133
5155
  }
5134
5156
  /** Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block. */
5135
5157
  export interface AIStreamResponseDocument {
5136
- type: 'response_document';
5158
+ type: 'response_document' | 'response_reasoning';
5137
5159
  /** The ID of the message that this event is composing. */
5138
5160
  messageId: string;
5139
5161
  /** The index of the step of the message that this event is composing. */
@@ -6099,6 +6121,10 @@ export interface TriggerContentIndexingContext {
6099
6121
  /** Whether to force a complete re-indexing of the Space. */
6100
6122
  force: boolean;
6101
6123
  }
6124
+ /** Predefined GitBook user identifiers */
6125
+ export declare enum GitBookUsers {
6126
+ GitbookAgent = "gitbook:agent"
6127
+ }
6102
6128
  export interface ContentPublishingAuth {
6103
6129
  /** Type of Object, always equals to "publishing-auth" */
6104
6130
  object: 'publishing-auth';
@@ -6786,6 +6812,7 @@ export interface Seat {
6786
6812
  /** A step in a message from the AI agent. */
6787
6813
  export interface AIMessageStep {
6788
6814
  content: JSONDocument;
6815
+ reasoning?: JSONDocument;
6789
6816
  toolCalls?: AIToolCall[];
6790
6817
  }
6791
6818
  export interface AIMessage {
@@ -10306,7 +10333,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10306
10333
  *
10307
10334
  * @tags integrations
10308
10335
  * @name ListOrganizationIntegrations
10309
- * @summary List all integrations
10336
+ * @summary List all public integrations along with private ones trusted by the specific org.
10310
10337
  * @request GET:/orgs/{organizationId}/integrations
10311
10338
  * @secure
10312
10339
  */
@@ -10335,6 +10362,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10335
10362
  contentSources?: boolean;
10336
10363
  /** If defined, only list integrations owned by the given organization. */
10337
10364
  owner?: string;
10365
+ /** Filter the integrations by scope */
10366
+ scope?: IntegrationScope;
10338
10367
  }, params?: RequestParams) => Promise<HttpResponse<List & {
10339
10368
  items: Integration[];
10340
10369
  }, any>>;
@@ -11290,6 +11319,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11290
11319
  /** Basename for the site. For e.g. api */
11291
11320
  basename?: SiteBasename;
11292
11321
  adaptiveContent?: SiteAdaptiveContent;
11322
+ /**
11323
+ * Defines if the site will be included in the agent's context.
11324
+ * - `excluded` means that the agent will not be able to access the site.
11325
+ * - `included` means that the agent will be able to access the site.
11326
+ */
11327
+ agentsContext?: SiteAgentsContext;
11293
11328
  /** ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section. */
11294
11329
  defaultSiteSpace?: string;
11295
11330
  /** ID of the site-section to be used as the default. */
package/dist/index.cjs CHANGED
@@ -218,6 +218,7 @@ __export(src_exports, {
218
218
  GITBOOK_DEFAULT_ENDPOINT: () => GITBOOK_DEFAULT_ENDPOINT,
219
219
  GitBookAPI: () => GitBookAPI,
220
220
  GitBookAPIError: () => GitBookAPIError,
221
+ GitBookUsers: () => GitBookUsers,
221
222
  GitSyncOperationDirection: () => GitSyncOperationDirection,
222
223
  GitSyncOperationStage: () => GitSyncOperationStage,
223
224
  GitSyncOperationState: () => GitSyncOperationState,
@@ -246,6 +247,7 @@ __export(src_exports, {
246
247
  SAMLProviderStatus: () => SAMLProviderStatus,
247
248
  SiteAdsStatus: () => SiteAdsStatus,
248
249
  SiteAdsTopic: () => SiteAdsTopic,
250
+ SiteAgentsContext: () => SiteAgentsContext,
249
251
  SiteCustomizationFeature: () => SiteCustomizationFeature,
250
252
  SiteInsightsAdPlacement: () => SiteInsightsAdPlacement,
251
253
  SiteInsightsEventType: () => SiteInsightsEventType,
@@ -268,7 +270,7 @@ module.exports = __toCommonJS(src_exports);
268
270
 
269
271
  // package.json
270
272
  var name = "@gitbook/api";
271
- var version = "0.117.0";
273
+ var version = "0.117.1";
272
274
 
273
275
  // src/client.ts
274
276
  var import_event_iterator = __toESM(require_node(), 1);
@@ -654,6 +656,11 @@ var SiteAdsTopic = /* @__PURE__ */ ((SiteAdsTopic2) => {
654
656
  SiteAdsTopic2["Crypto"] = "crypto";
655
657
  return SiteAdsTopic2;
656
658
  })(SiteAdsTopic || {});
659
+ var SiteAgentsContext = /* @__PURE__ */ ((SiteAgentsContext2) => {
660
+ SiteAgentsContext2["Excluded"] = "excluded";
661
+ SiteAgentsContext2["Included"] = "included";
662
+ return SiteAgentsContext2;
663
+ })(SiteAgentsContext || {});
657
664
  var SiteCustomizationFeature = /* @__PURE__ */ ((SiteCustomizationFeature2) => {
658
665
  SiteCustomizationFeature2["HeaderLogo"] = "header-logo";
659
666
  SiteCustomizationFeature2["ThemePreset"] = "theme-preset";
@@ -958,6 +965,10 @@ var CloudflareHostnameTLSValidationMethod = /* @__PURE__ */ ((CloudflareHostname
958
965
  CloudflareHostnameTLSValidationMethod2["Email"] = "email";
959
966
  return CloudflareHostnameTLSValidationMethod2;
960
967
  })(CloudflareHostnameTLSValidationMethod || {});
968
+ var GitBookUsers = /* @__PURE__ */ ((GitBookUsers2) => {
969
+ GitBookUsers2["GitbookAgent"] = "gitbook:agent";
970
+ return GitBookUsers2;
971
+ })(GitBookUsers || {});
961
972
  var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2) => {
962
973
  RevisionSemanticChangeType2["PageCreated"] = "page_created";
963
974
  RevisionSemanticChangeType2["PageEdited"] = "page_edited";
@@ -3696,6 +3707,7 @@ var GitBookAPI = class extends Api {
3696
3707
  GITBOOK_DEFAULT_ENDPOINT,
3697
3708
  GitBookAPI,
3698
3709
  GitBookAPIError,
3710
+ GitBookUsers,
3699
3711
  GitSyncOperationDirection,
3700
3712
  GitSyncOperationStage,
3701
3713
  GitSyncOperationState,
@@ -3724,6 +3736,7 @@ var GitBookAPI = class extends Api {
3724
3736
  SAMLProviderStatus,
3725
3737
  SiteAdsStatus,
3726
3738
  SiteAdsTopic,
3739
+ SiteAgentsContext,
3727
3740
  SiteCustomizationFeature,
3728
3741
  SiteInsightsAdPlacement,
3729
3742
  SiteInsightsEventType,
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.117.0";
175
+ var version = "0.117.1";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -558,6 +558,11 @@ var SiteAdsTopic = /* @__PURE__ */ ((SiteAdsTopic2) => {
558
558
  SiteAdsTopic2["Crypto"] = "crypto";
559
559
  return SiteAdsTopic2;
560
560
  })(SiteAdsTopic || {});
561
+ var SiteAgentsContext = /* @__PURE__ */ ((SiteAgentsContext2) => {
562
+ SiteAgentsContext2["Excluded"] = "excluded";
563
+ SiteAgentsContext2["Included"] = "included";
564
+ return SiteAgentsContext2;
565
+ })(SiteAgentsContext || {});
561
566
  var SiteCustomizationFeature = /* @__PURE__ */ ((SiteCustomizationFeature2) => {
562
567
  SiteCustomizationFeature2["HeaderLogo"] = "header-logo";
563
568
  SiteCustomizationFeature2["ThemePreset"] = "theme-preset";
@@ -862,6 +867,10 @@ var CloudflareHostnameTLSValidationMethod = /* @__PURE__ */ ((CloudflareHostname
862
867
  CloudflareHostnameTLSValidationMethod2["Email"] = "email";
863
868
  return CloudflareHostnameTLSValidationMethod2;
864
869
  })(CloudflareHostnameTLSValidationMethod || {});
870
+ var GitBookUsers = /* @__PURE__ */ ((GitBookUsers2) => {
871
+ GitBookUsers2["GitbookAgent"] = "gitbook:agent";
872
+ return GitBookUsers2;
873
+ })(GitBookUsers || {});
865
874
  var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2) => {
866
875
  RevisionSemanticChangeType2["PageCreated"] = "page_created";
867
876
  RevisionSemanticChangeType2["PageEdited"] = "page_edited";
@@ -3599,6 +3608,7 @@ export {
3599
3608
  GITBOOK_DEFAULT_ENDPOINT,
3600
3609
  GitBookAPI,
3601
3610
  GitBookAPIError,
3611
+ GitBookUsers,
3602
3612
  GitSyncOperationDirection,
3603
3613
  GitSyncOperationStage,
3604
3614
  GitSyncOperationState,
@@ -3627,6 +3637,7 @@ export {
3627
3637
  SAMLProviderStatus,
3628
3638
  SiteAdsStatus,
3629
3639
  SiteAdsTopic,
3640
+ SiteAgentsContext,
3630
3641
  SiteCustomizationFeature,
3631
3642
  SiteInsightsAdPlacement,
3632
3643
  SiteInsightsEventType,
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.117.0",
7
+ "version": "0.117.1",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -9310,7 +9310,7 @@
9310
9310
  "/orgs/{organizationId}/integrations": {
9311
9311
  "get": {
9312
9312
  "operationId": "listOrganizationIntegrations",
9313
- "summary": "List all integrations",
9313
+ "summary": "List all public integrations along with private ones trusted by the specific org.",
9314
9314
  "tags": [
9315
9315
  "integrations"
9316
9316
  ],
@@ -9341,6 +9341,9 @@
9341
9341
  },
9342
9342
  {
9343
9343
  "$ref": "#/components/parameters/integrationSearchOwner"
9344
+ },
9345
+ {
9346
+ "$ref": "#/components/parameters/integrationSearchScope"
9344
9347
  }
9345
9348
  ],
9346
9349
  "responses": {
@@ -10669,7 +10672,7 @@
10669
10672
  ],
10670
10673
  "security": [
10671
10674
  {
10672
- "integration": []
10675
+ "integration-installation": []
10673
10676
  }
10674
10677
  ],
10675
10678
  "parameters": [
@@ -11926,6 +11929,9 @@
11926
11929
  "adaptiveContent": {
11927
11930
  "$ref": "#/components/schemas/SiteAdaptiveContent"
11928
11931
  },
11932
+ "agentsContext": {
11933
+ "$ref": "#/components/schemas/SiteAgentsContext"
11934
+ },
11929
11935
  "defaultSiteSpace": {
11930
11936
  "type": "string",
11931
11937
  "description": "ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section."
@@ -19528,7 +19534,7 @@
19528
19534
  "data"
19529
19535
  ]
19530
19536
  },
19531
- "DocumentBlockImageDimension": {
19537
+ "Length": {
19532
19538
  "oneOf": [
19533
19539
  {
19534
19540
  "type": "number"
@@ -19592,10 +19598,10 @@
19592
19598
  ]
19593
19599
  },
19594
19600
  "width": {
19595
- "$ref": "#/components/schemas/DocumentBlockImageDimension"
19601
+ "$ref": "#/components/schemas/Length"
19596
19602
  },
19597
19603
  "height": {
19598
- "$ref": "#/components/schemas/DocumentBlockImageDimension"
19604
+ "$ref": "#/components/schemas/Length"
19599
19605
  },
19600
19606
  "alt": {
19601
19607
  "type": "string"
@@ -20936,7 +20942,11 @@
20936
20942
  },
20937
20943
  "data": {
20938
20944
  "type": "object",
20939
- "properties": {},
20945
+ "properties": {
20946
+ "width": {
20947
+ "$ref": "#/components/schemas/Length"
20948
+ }
20949
+ },
20940
20950
  "additionalProperties": false
20941
20951
  }
20942
20952
  },
@@ -25687,6 +25697,15 @@
25687
25697
  "PublishIntegration": {
25688
25698
  "type": "object",
25689
25699
  "properties": {
25700
+ "runtime": {
25701
+ "type": "string",
25702
+ "description": "The runtime version to use for the integration. If not specified, the integration will use the default runtime.",
25703
+ "default": "v1",
25704
+ "enum": [
25705
+ "v1",
25706
+ "v2"
25707
+ ]
25708
+ },
25690
25709
  "icon": {
25691
25710
  "type": "string",
25692
25711
  "format": "byte",
@@ -27326,6 +27345,14 @@
27326
27345
  }
27327
27346
  ]
27328
27347
  },
27348
+ "SiteAgentsContext": {
27349
+ "type": "string",
27350
+ "description": "Defines if the site will be included in the agent's context.\n- `excluded` means that the agent will not be able to access the site.\n- `included` means that the agent will be able to access the site.\n",
27351
+ "enum": [
27352
+ "excluded",
27353
+ "included"
27354
+ ]
27355
+ },
27329
27356
  "SiteCustomizationFeature": {
27330
27357
  "type": "string",
27331
27358
  "description": "A list of all premium customizations.",
@@ -27474,6 +27501,9 @@
27474
27501
  "ads": {
27475
27502
  "$ref": "#/components/schemas/SiteAds"
27476
27503
  },
27504
+ "agentsContext": {
27505
+ "$ref": "#/components/schemas/SiteAgentsContext"
27506
+ },
27477
27507
  "features": {
27478
27508
  "description": "A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.\n",
27479
27509
  "type": "array",
@@ -27518,6 +27548,7 @@
27518
27548
  "siteSpaces",
27519
27549
  "defaultSpace",
27520
27550
  "features",
27551
+ "agentsContext",
27521
27552
  "urls"
27522
27553
  ]
27523
27554
  },
@@ -32963,7 +32994,8 @@
32963
32994
  "type": {
32964
32995
  "type": "string",
32965
32996
  "enum": [
32966
- "response_document"
32997
+ "response_document",
32998
+ "response_reasoning"
32967
32999
  ]
32968
33000
  },
32969
33001
  "messageId": {
@@ -36716,6 +36748,13 @@
36716
36748
  "force"
36717
36749
  ]
36718
36750
  },
36751
+ "GitBookUsers": {
36752
+ "type": "string",
36753
+ "description": "Predefined GitBook user identifiers",
36754
+ "enum": [
36755
+ "gitbook:agent"
36756
+ ]
36757
+ },
36719
36758
  "ContentPublishingAuth": {
36720
36759
  "type": "object",
36721
36760
  "properties": {
@@ -39394,6 +39433,9 @@
39394
39433
  "content": {
39395
39434
  "$ref": "#/components/schemas/JSONDocument"
39396
39435
  },
39436
+ "reasoning": {
39437
+ "$ref": "#/components/schemas/JSONDocument"
39438
+ },
39397
39439
  "toolCalls": {
39398
39440
  "type": "array",
39399
39441
  "items": {
package/spec/openapi.yaml CHANGED
@@ -5318,7 +5318,7 @@ paths:
5318
5318
  "/orgs/{organizationId}/integrations":
5319
5319
  get:
5320
5320
  operationId: listOrganizationIntegrations
5321
- summary: List all integrations
5321
+ summary: List all public integrations along with private ones trusted by the specific org.
5322
5322
  tags:
5323
5323
  - integrations
5324
5324
  parameters:
@@ -5331,6 +5331,7 @@ paths:
5331
5331
  - $ref: "#/components/parameters/integrationSearchBlocks"
5332
5332
  - $ref: "#/components/parameters/integrationSearchContentSources"
5333
5333
  - $ref: "#/components/parameters/integrationSearchOwner"
5334
+ - $ref: "#/components/parameters/integrationSearchScope"
5334
5335
  responses:
5335
5336
  "200":
5336
5337
  description: List of integrations.
@@ -6065,7 +6066,7 @@ paths:
6065
6066
  tags:
6066
6067
  - conversations
6067
6068
  security:
6068
- - integration: []
6069
+ - integration-installation: []
6069
6070
  parameters:
6070
6071
  - $ref: "#/components/parameters/organizationId"
6071
6072
  requestBody:
@@ -6780,6 +6781,8 @@ paths:
6780
6781
  $ref: "#/components/schemas/SiteBasename"
6781
6782
  adaptiveContent:
6782
6783
  $ref: "#/components/schemas/SiteAdaptiveContent"
6784
+ agentsContext:
6785
+ $ref: "#/components/schemas/SiteAgentsContext"
6783
6786
  defaultSiteSpace:
6784
6787
  type: string
6785
6788
  description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
@@ -11459,7 +11462,7 @@ components:
11459
11462
  - type
11460
11463
  - isVoid
11461
11464
  - data
11462
- DocumentBlockImageDimension:
11465
+ Length:
11463
11466
  oneOf:
11464
11467
  - type: number
11465
11468
  - type: object
@@ -11496,9 +11499,9 @@ components:
11496
11499
  - $ref: "#/components/schemas/ContentRefURL"
11497
11500
  - $ref: "#/components/schemas/ContentRefFile"
11498
11501
  width:
11499
- $ref: "#/components/schemas/DocumentBlockImageDimension"
11502
+ $ref: "#/components/schemas/Length"
11500
11503
  height:
11501
- $ref: "#/components/schemas/DocumentBlockImageDimension"
11504
+ $ref: "#/components/schemas/Length"
11502
11505
  alt:
11503
11506
  type: string
11504
11507
  required:
@@ -12333,7 +12336,9 @@ components:
12333
12336
  - false
12334
12337
  data:
12335
12338
  type: object
12336
- properties: {}
12339
+ properties:
12340
+ width:
12341
+ $ref: "#/components/schemas/Length"
12337
12342
  additionalProperties: false
12338
12343
  required:
12339
12344
  - object
@@ -15491,6 +15496,13 @@ components:
15491
15496
  PublishIntegration:
15492
15497
  type: object
15493
15498
  properties:
15499
+ runtime:
15500
+ type: string
15501
+ description: The runtime version to use for the integration. If not specified, the integration will use the default runtime.
15502
+ default: v1
15503
+ enum:
15504
+ - v1
15505
+ - v2
15494
15506
  icon:
15495
15507
  type: string
15496
15508
  format: byte
@@ -16537,6 +16549,15 @@ components:
16537
16549
  zoneId:
16538
16550
  type: string
16539
16551
  description: The ad network zone ID
16552
+ SiteAgentsContext:
16553
+ type: string
16554
+ description: |
16555
+ Defines if the site will be included in the agent's context.
16556
+ - `excluded` means that the agent will not be able to access the site.
16557
+ - `included` means that the agent will be able to access the site.
16558
+ enum:
16559
+ - excluded
16560
+ - included
16540
16561
  SiteCustomizationFeature:
16541
16562
  type: string
16542
16563
  description: A list of all premium customizations.
@@ -16642,6 +16663,8 @@ components:
16642
16663
  $ref: "#/components/schemas/SiteAdaptiveContent"
16643
16664
  ads:
16644
16665
  $ref: "#/components/schemas/SiteAds"
16666
+ agentsContext:
16667
+ $ref: "#/components/schemas/SiteAgentsContext"
16645
16668
  features:
16646
16669
  description: |
16647
16670
  A list of all premium features enabled on this site. For each feature we list the plan they belong to and whether the feature is frozen. A frozen feature is still enabled but cannot be changed or modified.
@@ -16678,6 +16701,7 @@ components:
16678
16701
  - siteSpaces
16679
16702
  - defaultSpace
16680
16703
  - features
16704
+ - agentsContext
16681
16705
  - urls
16682
16706
  IntegrationSiteInstallation:
16683
16707
  allOf:
@@ -20386,6 +20410,7 @@ components:
20386
20410
  type: string
20387
20411
  enum:
20388
20412
  - response_document
20413
+ - response_reasoning
20389
20414
  messageId:
20390
20415
  type: string
20391
20416
  description: |
@@ -22832,6 +22857,11 @@ components:
22832
22857
  required:
22833
22858
  - spaceId
22834
22859
  - force
22860
+ GitBookUsers:
22861
+ type: string
22862
+ description: Predefined GitBook user identifiers
22863
+ enum:
22864
+ - gitbook:agent
22835
22865
  ContentPublishingAuth:
22836
22866
  type: object
22837
22867
  properties:
@@ -24555,6 +24585,8 @@ components:
24555
24585
  properties:
24556
24586
  content:
24557
24587
  $ref: "#/components/schemas/JSONDocument"
24588
+ reasoning:
24589
+ $ref: "#/components/schemas/JSONDocument"
24558
24590
  toolCalls:
24559
24591
  type: array
24560
24592
  items: