@gitbook/api 0.106.0 → 0.108.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
@@ -896,7 +896,7 @@ export interface DocumentBlockExpandable {
896
896
  fragment: 'expandable-body';
897
897
  type: 'expandable-body';
898
898
  /** @minItems 1 */
899
- nodes: (DocumentBlocksEssentials | DocumentBlockCode | DocumentBlockTable | DocumentBlockHint | DocumentBlockQuote | DocumentBlockReusableContent)[];
899
+ nodes: (DocumentBlocksEssentials | DocumentBlockImages | DocumentBlockCode | DocumentBlockTable | DocumentBlockHint | DocumentBlockQuote | DocumentBlockReusableContent)[];
900
900
  }))[];
901
901
  meta?: {
902
902
  /** Unique ID to be used in an URL for the block. */
@@ -1572,6 +1572,11 @@ export declare enum BillingProduct {
1572
1572
  TeamDec2021 = "team_dec_2021",
1573
1573
  BusinessDec2021 = "business_dec_2021"
1574
1574
  }
1575
+ /** Interval for a billing subscription */
1576
+ export declare enum BillingInterval {
1577
+ Monthly = "monthly",
1578
+ Yearly = "yearly"
1579
+ }
1575
1580
  /** - notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended and the user has choosen to stay on the free plan or has upgraded to a paid plan. - expired, the trial has ended but the user hasn't deciced yet what to do. */
1576
1581
  export declare enum BillingTrialStatus {
1577
1582
  Notapplicable = "notapplicable",
@@ -1609,6 +1614,15 @@ export interface Organization {
1609
1614
  inviteLinks: boolean;
1610
1615
  /** Name of the product */
1611
1616
  plan: BillingProduct;
1617
+ billing: {
1618
+ /** Interval for a billing subscription */
1619
+ interval: BillingInterval;
1620
+ endDate?: Timestamp;
1621
+ /** If true, we were unable to collect the last payment */
1622
+ hasPaymentFailed: boolean;
1623
+ /** If true, the billing is set to cancel at the end of its current period */
1624
+ isScheduledToCancel: boolean;
1625
+ };
1612
1626
  /** URLs associated with the object */
1613
1627
  urls: {
1614
1628
  /**
@@ -3580,7 +3594,7 @@ export interface Site {
3580
3594
  createdAt: string;
3581
3595
  adaptiveContent?: SiteAdaptiveContent;
3582
3596
  ads?: SiteAds;
3583
- /** 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. */
3597
+ /** 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. */
3584
3598
  features: SiteFeature[];
3585
3599
  /** URLs associated with the object */
3586
3600
  urls: {
@@ -3868,11 +3882,6 @@ export interface CreateInviteToCollection {
3868
3882
  export type CreateOrganizationInvite = CreateInviteToOrganization | CreateInviteToSpace | CreateInviteToCollection;
3869
3883
  /** An invite link created in an organization */
3870
3884
  export type OrganizationInviteLink = InviteLinkToOrganization | InviteLinkToSpace | InviteLinkToCollection;
3871
- /** Interval for a billing subscription */
3872
- export declare enum BillingInterval {
3873
- Monthly = "monthly",
3874
- Yearly = "yearly"
3875
- }
3876
3885
  export interface UpgradeOrganizationBilling {
3877
3886
  /** Name of the product */
3878
3887
  product: BillingProduct;
@@ -4598,6 +4607,12 @@ export interface SiteCustomizationSettings {
4598
4607
  /** If true, AI search is enabled */
4599
4608
  enabled: boolean;
4600
4609
  };
4610
+ ai?: {
4611
+ pageLinkSummaries: {
4612
+ /** If true, AI page links summaries is enabled */
4613
+ enabled: boolean;
4614
+ };
4615
+ };
4601
4616
  advancedCustomization: {
4602
4617
  /** If true, Advanced customization is enabled */
4603
4618
  enabled: boolean;
@@ -4620,6 +4635,13 @@ export interface SiteCustomizationSettings {
4620
4635
  socialPreview: {
4621
4636
  url?: URL;
4622
4637
  };
4638
+ insights: {
4639
+ /**
4640
+ * Whether GitBook identifies the visitor on the site using a cookie.
4641
+ * @default true
4642
+ */
4643
+ trackingCookie: boolean;
4644
+ };
4623
4645
  }
4624
4646
  export interface SiteIntegrationScript {
4625
4647
  /** Script URL to load. */
@@ -11625,6 +11647,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11625
11647
  */
11626
11648
  removeCustomHostname: (hostname: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
11627
11649
  };
11650
+ emailDomains: {
11651
+ /**
11652
+ * No description
11653
+ *
11654
+ * @tags email-domains
11655
+ * @name GetOrganizationsForEmailDomain
11656
+ * @summary Get all organizations by email domain.
11657
+ * @request GET:/email-domains/{emailDomain}/orgs
11658
+ * @secure
11659
+ */
11660
+ getOrganizationsForEmailDomain: (emailDomain: string, params?: RequestParams) => Promise<HttpResponse<{
11661
+ organizations?: Organization[];
11662
+ }, Error>>;
11663
+ };
11628
11664
  ads: {
11629
11665
  /**
11630
11666
  * No description
package/dist/index.cjs CHANGED
@@ -268,7 +268,7 @@ module.exports = __toCommonJS(src_exports);
268
268
 
269
269
  // package.json
270
270
  var name = "@gitbook/api";
271
- var version = "0.106.0";
271
+ var version = "0.108.0";
272
272
 
273
273
  // src/client.ts
274
274
  var import_event_iterator = __toESM(require_node(), 1);
@@ -506,6 +506,11 @@ var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
506
506
  BillingProduct2["BusinessDec2021"] = "business_dec_2021";
507
507
  return BillingProduct2;
508
508
  })(BillingProduct || {});
509
+ var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
510
+ BillingInterval2["Monthly"] = "monthly";
511
+ BillingInterval2["Yearly"] = "yearly";
512
+ return BillingInterval2;
513
+ })(BillingInterval || {});
509
514
  var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
510
515
  BillingTrialStatus2["Notapplicable"] = "notapplicable";
511
516
  BillingTrialStatus2["None"] = "none";
@@ -706,11 +711,6 @@ var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
706
711
  TeamMemberRole2["Member"] = "member";
707
712
  return TeamMemberRole2;
708
713
  })(TeamMemberRole || {});
709
- var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
710
- BillingInterval2["Monthly"] = "monthly";
711
- BillingInterval2["Yearly"] = "yearly";
712
- return BillingInterval2;
713
- })(BillingInterval || {});
714
714
  var StorageUploadKind = /* @__PURE__ */ ((StorageUploadKind2) => {
715
715
  StorageUploadKind2["CustomizationFont"] = "customization_font";
716
716
  return StorageUploadKind2;
@@ -3407,6 +3407,15 @@ var Api = class extends HttpClient {
3407
3407
  ...params
3408
3408
  })
3409
3409
  };
3410
+ emailDomains = {
3411
+ getOrganizationsForEmailDomain: (emailDomain, params = {}) => this.request({
3412
+ path: `/email-domains/${emailDomain}/orgs`,
3413
+ method: "GET",
3414
+ secure: true,
3415
+ format: "json",
3416
+ ...params
3417
+ })
3418
+ };
3410
3419
  ads = {
3411
3420
  adsListSites: (query, params = {}) => this.request({
3412
3421
  path: `/ads/sites`,
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.106.0";
175
+ var version = "0.108.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -410,6 +410,11 @@ var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
410
410
  BillingProduct2["BusinessDec2021"] = "business_dec_2021";
411
411
  return BillingProduct2;
412
412
  })(BillingProduct || {});
413
+ var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
414
+ BillingInterval2["Monthly"] = "monthly";
415
+ BillingInterval2["Yearly"] = "yearly";
416
+ return BillingInterval2;
417
+ })(BillingInterval || {});
413
418
  var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
414
419
  BillingTrialStatus2["Notapplicable"] = "notapplicable";
415
420
  BillingTrialStatus2["None"] = "none";
@@ -610,11 +615,6 @@ var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
610
615
  TeamMemberRole2["Member"] = "member";
611
616
  return TeamMemberRole2;
612
617
  })(TeamMemberRole || {});
613
- var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
614
- BillingInterval2["Monthly"] = "monthly";
615
- BillingInterval2["Yearly"] = "yearly";
616
- return BillingInterval2;
617
- })(BillingInterval || {});
618
618
  var StorageUploadKind = /* @__PURE__ */ ((StorageUploadKind2) => {
619
619
  StorageUploadKind2["CustomizationFont"] = "customization_font";
620
620
  return StorageUploadKind2;
@@ -3311,6 +3311,15 @@ var Api = class extends HttpClient {
3311
3311
  ...params
3312
3312
  })
3313
3313
  };
3314
+ emailDomains = {
3315
+ getOrganizationsForEmailDomain: (emailDomain, params = {}) => this.request({
3316
+ path: `/email-domains/${emailDomain}/orgs`,
3317
+ method: "GET",
3318
+ secure: true,
3319
+ format: "json",
3320
+ ...params
3321
+ })
3322
+ };
3314
3323
  ads = {
3315
3324
  adsListSites: (query, params = {}) => this.request({
3316
3325
  path: `/ads/sites`,
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.106.0",
7
+ "version": "0.108.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",
package/spec/openapi.json CHANGED
@@ -119,6 +119,11 @@
119
119
  "x-page-title": "Custom hostnames",
120
120
  "x-page-description": "Configure and manage custom hostnames for your docs sites."
121
121
  },
122
+ {
123
+ "name": "email-domains",
124
+ "x-page-title": "Email domains",
125
+ "x-page-description": "Configure and manage email domains for organizations."
126
+ },
122
127
  {
123
128
  "name": "ads",
124
129
  "x-page-title": "Ads",
@@ -15288,6 +15293,51 @@
15288
15293
  }
15289
15294
  }
15290
15295
  },
15296
+ "/email-domains/{emailDomain}/orgs": {
15297
+ "get": {
15298
+ "operationId": "getOrganizationsForEmailDomain",
15299
+ "summary": "Get all organizations by email domain.",
15300
+ "tags": [
15301
+ "email-domains"
15302
+ ],
15303
+ "security": [
15304
+ {
15305
+ "user-internal": []
15306
+ }
15307
+ ],
15308
+ "parameters": [
15309
+ {
15310
+ "$ref": "#/components/parameters/emailDomain"
15311
+ }
15312
+ ],
15313
+ "responses": {
15314
+ "200": {
15315
+ "description": "OK",
15316
+ "content": {
15317
+ "application/json": {
15318
+ "schema": {
15319
+ "type": "object",
15320
+ "properties": {
15321
+ "organizations": {
15322
+ "type": "array",
15323
+ "items": {
15324
+ "$ref": "#/components/schemas/Organization"
15325
+ }
15326
+ }
15327
+ },
15328
+ "required": [
15329
+ "organizaitons"
15330
+ ]
15331
+ }
15332
+ }
15333
+ }
15334
+ },
15335
+ "default": {
15336
+ "$ref": "#/components/responses/UnexpectedError"
15337
+ }
15338
+ }
15339
+ }
15340
+ },
15291
15341
  "/ads/sites": {
15292
15342
  "get": {
15293
15343
  "operationId": "adsListSites",
@@ -16196,6 +16246,15 @@
16196
16246
  "type": "string"
16197
16247
  }
16198
16248
  },
16249
+ "emailDomain": {
16250
+ "name": "emailDomain",
16251
+ "in": "path",
16252
+ "required": true,
16253
+ "description": "Email domain",
16254
+ "schema": {
16255
+ "type": "string"
16256
+ }
16257
+ },
16199
16258
  "xGitBookPartnerKey": {
16200
16259
  "in": "header",
16201
16260
  "name": "X-GitBook-Partner-Key",
@@ -19634,6 +19693,9 @@
19634
19693
  {
19635
19694
  "$ref": "#/components/schemas/DocumentBlocksEssentials"
19636
19695
  },
19696
+ {
19697
+ "$ref": "#/components/schemas/DocumentBlockImages"
19698
+ },
19637
19699
  {
19638
19700
  "$ref": "#/components/schemas/DocumentBlockCode"
19639
19701
  },
@@ -22152,6 +22214,14 @@
22152
22214
  "business_dec_2021"
22153
22215
  ]
22154
22216
  },
22217
+ "BillingInterval": {
22218
+ "type": "string",
22219
+ "description": "Interval for a billing subscription",
22220
+ "enum": [
22221
+ "monthly",
22222
+ "yearly"
22223
+ ]
22224
+ },
22155
22225
  "BillingTrialStatus": {
22156
22226
  "type": "string",
22157
22227
  "description": "- notapplicable, no trial can be started for this organization. - none, no trial has been started yet. - active, trial is active. - ended, the trial has ended and the user has choosen to stay on the free plan or has upgraded to a paid plan. - expired, the trial has ended but the user hasn't deciced yet what to do.\n",
@@ -22225,6 +22295,30 @@
22225
22295
  "plan": {
22226
22296
  "$ref": "#/components/schemas/BillingProduct"
22227
22297
  },
22298
+ "billing": {
22299
+ "type": "object",
22300
+ "properties": {
22301
+ "interval": {
22302
+ "$ref": "#/components/schemas/BillingInterval"
22303
+ },
22304
+ "endDate": {
22305
+ "$ref": "#/components/schemas/Timestamp"
22306
+ },
22307
+ "hasPaymentFailed": {
22308
+ "description": "If true, we were unable to collect the last payment",
22309
+ "type": "boolean"
22310
+ },
22311
+ "isScheduledToCancel": {
22312
+ "description": "If true, the billing is set to cancel at the end of its current period",
22313
+ "type": "boolean"
22314
+ }
22315
+ },
22316
+ "required": [
22317
+ "interval",
22318
+ "hasPaymentFailed",
22319
+ "isScheduledToCancel"
22320
+ ]
22321
+ },
22228
22322
  "urls": {
22229
22323
  "type": "object",
22230
22324
  "description": "URLs associated with the object",
@@ -22331,6 +22425,7 @@
22331
22425
  "object",
22332
22426
  "id",
22333
22427
  "plan",
22428
+ "billing",
22334
22429
  "title",
22335
22430
  "createdAt",
22336
22431
  "inviteLinks",
@@ -28291,7 +28386,7 @@
28291
28386
  "$ref": "#/components/schemas/SiteAds"
28292
28387
  },
28293
28388
  "features": {
28294
- "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",
28389
+ "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",
28295
28390
  "type": "array",
28296
28391
  "items": {
28297
28392
  "$ref": "#/components/schemas/SiteFeature"
@@ -29075,14 +29170,6 @@
29075
29170
  }
29076
29171
  ]
29077
29172
  },
29078
- "BillingInterval": {
29079
- "type": "string",
29080
- "description": "Interval for a billing subscription",
29081
- "enum": [
29082
- "monthly",
29083
- "yearly"
29084
- ]
29085
- },
29086
29173
  "UpgradeOrganizationBilling": {
29087
29174
  "type": "object",
29088
29175
  "properties": {
@@ -30935,6 +31022,26 @@
30935
31022
  "enabled"
30936
31023
  ]
30937
31024
  },
31025
+ "ai": {
31026
+ "type": "object",
31027
+ "properties": {
31028
+ "pageLinkSummaries": {
31029
+ "type": "object",
31030
+ "properties": {
31031
+ "enabled": {
31032
+ "type": "boolean",
31033
+ "description": "If true, AI page links summaries is enabled"
31034
+ }
31035
+ },
31036
+ "required": [
31037
+ "enabled"
31038
+ ]
31039
+ }
31040
+ },
31041
+ "required": [
31042
+ "pageLinkSummaries"
31043
+ ]
31044
+ },
30938
31045
  "advancedCustomization": {
30939
31046
  "type": "object",
30940
31047
  "properties": {
@@ -30998,6 +31105,19 @@
30998
31105
  "$ref": "#/components/schemas/URL"
30999
31106
  }
31000
31107
  }
31108
+ },
31109
+ "insights": {
31110
+ "type": "object",
31111
+ "properties": {
31112
+ "trackingCookie": {
31113
+ "type": "boolean",
31114
+ "description": "Whether GitBook identifies the visitor on the site using a cookie.",
31115
+ "default": true
31116
+ }
31117
+ },
31118
+ "required": [
31119
+ "trackingCookie"
31120
+ ]
31001
31121
  }
31002
31122
  },
31003
31123
  "required": [
@@ -31015,7 +31135,8 @@
31015
31135
  "pagination",
31016
31136
  "git",
31017
31137
  "privacyPolicy",
31018
- "socialPreview"
31138
+ "socialPreview",
31139
+ "insights"
31019
31140
  ]
31020
31141
  },
31021
31142
  "SiteIntegrationScript": {
package/spec/openapi.yaml CHANGED
@@ -68,6 +68,9 @@ tags:
68
68
  - name: custom-hostnames
69
69
  x-page-title: Custom hostnames
70
70
  x-page-description: Configure and manage custom hostnames for your docs sites.
71
+ - name: email-domains
72
+ x-page-title: Email domains
73
+ x-page-description: Configure and manage email domains for organizations.
71
74
  - name: ads
72
75
  x-page-title: Ads
73
76
  x-page-description: Manage advertisement settings and placements.
@@ -8511,6 +8514,32 @@ paths:
8511
8514
  description: Custom hostname has been removed
8512
8515
  default:
8513
8516
  $ref: "#/components/responses/UnexpectedError"
8517
+ "/email-domains/{emailDomain}/orgs":
8518
+ get:
8519
+ operationId: getOrganizationsForEmailDomain
8520
+ summary: Get all organizations by email domain.
8521
+ tags:
8522
+ - email-domains
8523
+ security:
8524
+ - user-internal: []
8525
+ parameters:
8526
+ - $ref: "#/components/parameters/emailDomain"
8527
+ responses:
8528
+ "200":
8529
+ description: OK
8530
+ content:
8531
+ application/json:
8532
+ schema:
8533
+ type: object
8534
+ properties:
8535
+ organizations:
8536
+ type: array
8537
+ items:
8538
+ $ref: "#/components/schemas/Organization"
8539
+ required:
8540
+ - organizaitons
8541
+ default:
8542
+ $ref: "#/components/responses/UnexpectedError"
8514
8543
  /ads/sites:
8515
8544
  get:
8516
8545
  operationId: adsListSites
@@ -9142,6 +9171,13 @@ components:
9142
9171
  description: The custom hostname, for example "docs.gitbook.com"
9143
9172
  schema:
9144
9173
  type: string
9174
+ emailDomain:
9175
+ name: emailDomain
9176
+ in: path
9177
+ required: true
9178
+ description: Email domain
9179
+ schema:
9180
+ type: string
9145
9181
  xGitBookPartnerKey:
9146
9182
  in: header
9147
9183
  name: X-GitBook-Partner-Key
@@ -11407,6 +11443,7 @@ components:
11407
11443
  items:
11408
11444
  oneOf:
11409
11445
  - $ref: "#/components/schemas/DocumentBlocksEssentials"
11446
+ - $ref: "#/components/schemas/DocumentBlockImages"
11410
11447
  - $ref: "#/components/schemas/DocumentBlockCode"
11411
11448
  - $ref: "#/components/schemas/DocumentBlockTable"
11412
11449
  - $ref: "#/components/schemas/DocumentBlockHint"
@@ -12970,6 +13007,12 @@ components:
12970
13007
  - team_oct_2019_free
12971
13008
  - team_dec_2021
12972
13009
  - business_dec_2021
13010
+ BillingInterval:
13011
+ type: string
13012
+ description: Interval for a billing subscription
13013
+ enum:
13014
+ - monthly
13015
+ - yearly
12973
13016
  BillingTrialStatus:
12974
13017
  type: string
12975
13018
  description: |
@@ -13024,6 +13067,23 @@ components:
13024
13067
  type: boolean
13025
13068
  plan:
13026
13069
  $ref: "#/components/schemas/BillingProduct"
13070
+ billing:
13071
+ type: object
13072
+ properties:
13073
+ interval:
13074
+ $ref: "#/components/schemas/BillingInterval"
13075
+ endDate:
13076
+ $ref: "#/components/schemas/Timestamp"
13077
+ hasPaymentFailed:
13078
+ description: If true, we were unable to collect the last payment
13079
+ type: boolean
13080
+ isScheduledToCancel:
13081
+ description: If true, the billing is set to cancel at the end of its current period
13082
+ type: boolean
13083
+ required:
13084
+ - interval
13085
+ - hasPaymentFailed
13086
+ - isScheduledToCancel
13027
13087
  urls:
13028
13088
  type: object
13029
13089
  description: URLs associated with the object
@@ -13100,6 +13160,7 @@ components:
13100
13160
  - object
13101
13161
  - id
13102
13162
  - plan
13163
+ - billing
13103
13164
  - title
13104
13165
  - createdAt
13105
13166
  - inviteLinks
@@ -17028,7 +17089,7 @@ components:
17028
17089
  $ref: "#/components/schemas/SiteAds"
17029
17090
  features:
17030
17091
  description: |
17031
- 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.
17092
+ 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.
17032
17093
  type: array
17033
17094
  items:
17034
17095
  $ref: "#/components/schemas/SiteFeature"
@@ -17563,12 +17624,6 @@ components:
17563
17624
  - $ref: "#/components/schemas/InviteLinkToOrganization"
17564
17625
  - $ref: "#/components/schemas/InviteLinkToSpace"
17565
17626
  - $ref: "#/components/schemas/InviteLinkToCollection"
17566
- BillingInterval:
17567
- type: string
17568
- description: Interval for a billing subscription
17569
- enum:
17570
- - monthly
17571
- - yearly
17572
17627
  UpgradeOrganizationBilling:
17573
17628
  type: object
17574
17629
  properties:
@@ -18881,6 +18936,19 @@ components:
18881
18936
  description: If true, AI search is enabled
18882
18937
  required:
18883
18938
  - enabled
18939
+ ai:
18940
+ type: object
18941
+ properties:
18942
+ pageLinkSummaries:
18943
+ type: object
18944
+ properties:
18945
+ enabled:
18946
+ type: boolean
18947
+ description: If true, AI page links summaries is enabled
18948
+ required:
18949
+ - enabled
18950
+ required:
18951
+ - pageLinkSummaries
18884
18952
  advancedCustomization:
18885
18953
  type: object
18886
18954
  properties:
@@ -18923,6 +18991,15 @@ components:
18923
18991
  properties:
18924
18992
  url:
18925
18993
  $ref: "#/components/schemas/URL"
18994
+ insights:
18995
+ type: object
18996
+ properties:
18997
+ trackingCookie:
18998
+ type: boolean
18999
+ description: Whether GitBook identifies the visitor on the site using a cookie.
19000
+ default: true
19001
+ required:
19002
+ - trackingCookie
18926
19003
  required:
18927
19004
  - styling
18928
19005
  - internationalization
@@ -18939,6 +19016,7 @@ components:
18939
19016
  - git
18940
19017
  - privacyPolicy
18941
19018
  - socialPreview
19019
+ - insights
18942
19020
  SiteIntegrationScript:
18943
19021
  type: object
18944
19022
  properties: