@gitbook/api 0.111.0 → 0.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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.111.0";
175
+ var version = "0.113.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -559,24 +559,6 @@ var IntegrationInstallationSiteSelection = /* @__PURE__ */ ((IntegrationInstalla
559
559
  IntegrationInstallationSiteSelection2["Selected"] = "selected";
560
560
  return IntegrationInstallationSiteSelection2;
561
561
  })(IntegrationInstallationSiteSelection || {});
562
- var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
563
- ContentKitIcon2["Close"] = "close";
564
- ContentKitIcon2["Edit"] = "edit";
565
- ContentKitIcon2["Github"] = "github";
566
- ContentKitIcon2["Gitlab"] = "gitlab";
567
- ContentKitIcon2["Maximize"] = "maximize";
568
- ContentKitIcon2["Email"] = "email";
569
- ContentKitIcon2["Settings"] = "settings";
570
- ContentKitIcon2["Search"] = "search";
571
- ContentKitIcon2["Delete"] = "delete";
572
- ContentKitIcon2["Star"] = "star";
573
- ContentKitIcon2["Warning"] = "warning";
574
- ContentKitIcon2["Link"] = "link";
575
- ContentKitIcon2["LinkExternal"] = "link-external";
576
- ContentKitIcon2["Eye"] = "eye";
577
- ContentKitIcon2["Lock"] = "lock";
578
- return ContentKitIcon2;
579
- })(ContentKitIcon || {});
580
562
  var SiteType = /* @__PURE__ */ ((SiteType2) => {
581
563
  SiteType2["Basic"] = "basic";
582
564
  SiteType2["Premium"] = "premium";
@@ -609,6 +591,26 @@ var SiteCustomizationFeature = /* @__PURE__ */ ((SiteCustomizationFeature2) => {
609
591
  SiteCustomizationFeature2["SemanticColors"] = "semantic-colors";
610
592
  return SiteCustomizationFeature2;
611
593
  })(SiteCustomizationFeature || {});
594
+ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
595
+ ContentKitIcon2["Close"] = "close";
596
+ ContentKitIcon2["Edit"] = "edit";
597
+ ContentKitIcon2["Github"] = "github";
598
+ ContentKitIcon2["Gitlab"] = "gitlab";
599
+ ContentKitIcon2["Maximize"] = "maximize";
600
+ ContentKitIcon2["Email"] = "email";
601
+ ContentKitIcon2["Settings"] = "settings";
602
+ ContentKitIcon2["Search"] = "search";
603
+ ContentKitIcon2["Delete"] = "delete";
604
+ ContentKitIcon2["Star"] = "star";
605
+ ContentKitIcon2["Warning"] = "warning";
606
+ ContentKitIcon2["Link"] = "link";
607
+ ContentKitIcon2["LinkExternal"] = "link-external";
608
+ ContentKitIcon2["Eye"] = "eye";
609
+ ContentKitIcon2["Lock"] = "lock";
610
+ ContentKitIcon2["Check"] = "check";
611
+ ContentKitIcon2["CheckCircle"] = "check-circle";
612
+ return ContentKitIcon2;
613
+ })(ContentKitIcon || {});
612
614
  var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
613
615
  TeamMemberRole2["Owner"] = "owner";
614
616
  TeamMemberRole2["Member"] = "member";
@@ -2093,6 +2095,14 @@ var Api = class extends HttpClient {
2093
2095
  format: "json",
2094
2096
  ...params
2095
2097
  }),
2098
+ listIntegrationSiteInstallations: (integrationName, query, params = {}) => this.request({
2099
+ path: `/integrations/${integrationName}/sites`,
2100
+ method: "GET",
2101
+ query,
2102
+ secure: true,
2103
+ format: "json",
2104
+ ...params
2105
+ }),
2096
2106
  setIntegrationDevelopmentMode: (integrationName, data, params = {}) => this.request({
2097
2107
  path: `/integrations/${integrationName}/dev`,
2098
2108
  method: "PUT",
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.111.0",
7
+ "version": "0.113.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",