@gitbook/api 0.111.0 → 0.112.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
@@ -537,6 +537,8 @@ export interface ContentRefSpace {
537
537
  export interface ContentRefReusableContent {
538
538
  kind: 'reusable-content';
539
539
  reusableContent: string;
540
+ /** The space in which the reusable content is defined. If undefined, the reusable content is assumed to be in the same space as the content reference. */
541
+ space?: string;
540
542
  }
541
543
  export interface ContentRefOpenAPI {
542
544
  kind: 'openapi';
@@ -3124,6 +3126,168 @@ export type IntegrationSpaceInstallation = IntegrationContentInstallationBase &
3124
3126
  /** The space the integration is installed on. Using the string value is deprecated in favor of space.id */
3125
3127
  space: string | Space;
3126
3128
  };
3129
+ /** The type of the site */
3130
+ export declare enum SiteType {
3131
+ Basic = "basic",
3132
+ Premium = "premium",
3133
+ Ultimate = "ultimate",
3134
+ Sponsored = "sponsored",
3135
+ LegacyBasic = "legacy-basic",
3136
+ LegacyPremium = "legacy-premium"
3137
+ }
3138
+ /**
3139
+ * Title of the site
3140
+ * @minLength 2
3141
+ * @maxLength 128
3142
+ */
3143
+ export type SiteTitle = string;
3144
+ /**
3145
+ * Custom hostname for the site, for e.g. docs.mycompany.com
3146
+ * @maxLength 512
3147
+ * @pattern ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
3148
+ */
3149
+ export type SiteHostname = string;
3150
+ /**
3151
+ * Basename for the site. For e.g. api
3152
+ * @minLength 1
3153
+ * @maxLength 100
3154
+ */
3155
+ export type SiteBasename = string;
3156
+ /**
3157
+ * Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
3158
+ * @maxLength 512
3159
+ * @pattern ^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$
3160
+ */
3161
+ export type SiteProxyOrigin = string;
3162
+ export interface SiteProxy {
3163
+ /** Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc. */
3164
+ origin: SiteProxyOrigin;
3165
+ /** The target URL to which the requests at the origin URL should be proxied to. */
3166
+ target: string;
3167
+ }
3168
+ /**
3169
+ * The visibility setting of the site determines the audience of the site.
3170
+ * * `public`: Anyone can access the site, and the site is indexed by search engines.
3171
+ * * `unlisted`: Anyone can access the site, and the site is not indexed by search engines
3172
+ * * `share-link`: Anyone with a secret token in the url can access the site.
3173
+ * * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
3174
+ */
3175
+ export declare enum SiteVisibility {
3176
+ Public = "public",
3177
+ Unlisted = "unlisted",
3178
+ ShareLink = "share-link",
3179
+ VisitorAuth = "visitor-auth"
3180
+ }
3181
+ export interface SiteAdaptiveContent {
3182
+ /** Whether adaptive content should be enabled on the site. */
3183
+ enabled: boolean;
3184
+ }
3185
+ /** Topic of the content */
3186
+ export declare enum SiteAdsTopic {
3187
+ Webdev = "webdev",
3188
+ Crypto = "crypto"
3189
+ }
3190
+ export type SiteAds = {
3191
+ status: 'pending';
3192
+ /** True if the user can submit the site for review. */
3193
+ submittable: boolean;
3194
+ } | {
3195
+ status: 'in-review';
3196
+ /** Topic of the content */
3197
+ topic: SiteAdsTopic;
3198
+ } | {
3199
+ status: 'rejected';
3200
+ /** Reason for the rejection */
3201
+ reason?: string;
3202
+ } | {
3203
+ status: 'live' | 'disabled';
3204
+ /** Topic of the content */
3205
+ topic: SiteAdsTopic;
3206
+ /** The ad network zone ID */
3207
+ zoneId: string;
3208
+ };
3209
+ /** A list of all premium customizations. */
3210
+ export declare enum SiteCustomizationFeature {
3211
+ HeaderLogo = "header-logo",
3212
+ ThemePreset = "theme-preset",
3213
+ PremiumFonts = "premium-fonts",
3214
+ CustomIcons = "custom-icons",
3215
+ FooterLogo = "footer-logo",
3216
+ FooterLinks = "footer-links",
3217
+ FooterCopyright = "footer-copyright",
3218
+ SemanticColors = "semantic-colors"
3219
+ }
3220
+ /** A site feature and the plan it is available on. */
3221
+ export type SiteFeature = {
3222
+ /** The feature identifier, matching the feature table keys in the pricing definition */
3223
+ id: 'sites-sections' | 'sites-visitor-authentication' | 'sites-adaptive-content' | 'sites-redirects' | 'sites-custom-domain' | 'sites-ai-search' | 'sites-pdf-export' | 'sites-page-feedback' | 'sites-unlisted-visibility' | 'sites-share-links' | 'sites-custom-fonts';
3224
+ /** The type of the site */
3225
+ plan: SiteType;
3226
+ /** A frozen feature is still enabled but cannot be changed or modified. */
3227
+ frozen: boolean;
3228
+ } | {
3229
+ /** The feature identifier, always set to `sites-advanced-customization` */
3230
+ id: 'sites-advanced-customization';
3231
+ /** The type of the site */
3232
+ plan: SiteType;
3233
+ /** A frozen feature is still enabled but cannot be changed or modified. */
3234
+ frozen: boolean;
3235
+ /** A list of the actual advanced customizations used */
3236
+ customizations: SiteCustomizationFeature[];
3237
+ };
3238
+ export interface Site {
3239
+ object: 'site';
3240
+ /** Unique identifier of the site */
3241
+ id: string;
3242
+ /** The type of the site */
3243
+ type: SiteType;
3244
+ /** Title of the site */
3245
+ title: SiteTitle;
3246
+ /** Custom hostname for the site, for e.g. docs.mycompany.com */
3247
+ hostname?: SiteHostname;
3248
+ /** Basename for the site. For e.g. api */
3249
+ basename?: SiteBasename;
3250
+ proxy?: SiteProxy;
3251
+ /**
3252
+ * The visibility setting of the site determines the audience of the site.
3253
+ * * `public`: Anyone can access the site, and the site is indexed by search engines.
3254
+ * * `unlisted`: Anyone can access the site, and the site is not indexed by search engines
3255
+ * * `share-link`: Anyone with a secret token in the url can access the site.
3256
+ * * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
3257
+ */
3258
+ visibility: SiteVisibility;
3259
+ /** Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting. */
3260
+ published: boolean;
3261
+ siteSpaces: number;
3262
+ /** @format date-time */
3263
+ createdAt: string;
3264
+ adaptiveContent?: SiteAdaptiveContent;
3265
+ ads?: SiteAds;
3266
+ /** 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. */
3267
+ features: SiteFeature[];
3268
+ /** URLs associated with the object */
3269
+ urls: {
3270
+ /**
3271
+ * URL of the site in the API
3272
+ * @format uri
3273
+ */
3274
+ location: string;
3275
+ /**
3276
+ * URL of the site in the application
3277
+ * @format uri
3278
+ */
3279
+ app: string;
3280
+ /**
3281
+ * URL of the published version of the site. Only defined when site is published.
3282
+ * @format uri
3283
+ */
3284
+ published?: string;
3285
+ };
3286
+ }
3287
+ export type IntegrationSiteInstallation = IntegrationContentInstallationBase & {
3288
+ /** The site the integration is installed on. Using the string value is deprecated in favor of site.id */
3289
+ site: string | Site;
3290
+ };
3127
3291
  export declare enum ContentKitIcon {
3128
3292
  Close = "close",
3129
3293
  Edit = "edit",
@@ -3139,7 +3303,9 @@ export declare enum ContentKitIcon {
3139
3303
  Link = "link",
3140
3304
  LinkExternal = "link-external",
3141
3305
  Eye = "eye",
3142
- Lock = "lock"
3306
+ Lock = "lock",
3307
+ Check = "check",
3308
+ CheckCircle = "check-circle"
3143
3309
  }
3144
3310
  /** A confirm object that defines an optional confirmation dialog after the input is clicked. */
3145
3311
  export interface ContentKitConfirm {
@@ -3494,168 +3660,6 @@ export interface UpdateIntegrationSpaceInstallation {
3494
3660
  /** Configuration of the integration at the account level */
3495
3661
  configuration?: IntegrationInstallationConfiguration;
3496
3662
  }
3497
- /** The type of the site */
3498
- export declare enum SiteType {
3499
- Basic = "basic",
3500
- Premium = "premium",
3501
- Ultimate = "ultimate",
3502
- Sponsored = "sponsored",
3503
- LegacyBasic = "legacy-basic",
3504
- LegacyPremium = "legacy-premium"
3505
- }
3506
- /**
3507
- * Title of the site
3508
- * @minLength 2
3509
- * @maxLength 128
3510
- */
3511
- export type SiteTitle = string;
3512
- /**
3513
- * Custom hostname for the site, for e.g. docs.mycompany.com
3514
- * @maxLength 512
3515
- * @pattern ^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$
3516
- */
3517
- export type SiteHostname = string;
3518
- /**
3519
- * Basename for the site. For e.g. api
3520
- * @minLength 1
3521
- * @maxLength 100
3522
- */
3523
- export type SiteBasename = string;
3524
- /**
3525
- * Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc.
3526
- * @maxLength 512
3527
- * @pattern ^([\w-]+\.)*[\w-]+\.[a-zA-Z]{2,}(\/[\w-]+)+$
3528
- */
3529
- export type SiteProxyOrigin = string;
3530
- export interface SiteProxy {
3531
- /** Proxy URL for the site, for e.g. company.com/docs or www.company.com/developer/docs etc. */
3532
- origin: SiteProxyOrigin;
3533
- /** The target URL to which the requests at the origin URL should be proxied to. */
3534
- target: string;
3535
- }
3536
- /**
3537
- * The visibility setting of the site determines the audience of the site.
3538
- * * `public`: Anyone can access the site, and the site is indexed by search engines.
3539
- * * `unlisted`: Anyone can access the site, and the site is not indexed by search engines
3540
- * * `share-link`: Anyone with a secret token in the url can access the site.
3541
- * * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
3542
- */
3543
- export declare enum SiteVisibility {
3544
- Public = "public",
3545
- Unlisted = "unlisted",
3546
- ShareLink = "share-link",
3547
- VisitorAuth = "visitor-auth"
3548
- }
3549
- export interface SiteAdaptiveContent {
3550
- /** Whether adaptive content should be enabled on the site. */
3551
- enabled: boolean;
3552
- }
3553
- /** Topic of the content */
3554
- export declare enum SiteAdsTopic {
3555
- Webdev = "webdev",
3556
- Crypto = "crypto"
3557
- }
3558
- export type SiteAds = {
3559
- status: 'pending';
3560
- /** True if the user can submit the site for review. */
3561
- submittable: boolean;
3562
- } | {
3563
- status: 'in-review';
3564
- /** Topic of the content */
3565
- topic: SiteAdsTopic;
3566
- } | {
3567
- status: 'rejected';
3568
- /** Reason for the rejection */
3569
- reason?: string;
3570
- } | {
3571
- status: 'live' | 'disabled';
3572
- /** Topic of the content */
3573
- topic: SiteAdsTopic;
3574
- /** The ad network zone ID */
3575
- zoneId: string;
3576
- };
3577
- /** A list of all premium customizations. */
3578
- export declare enum SiteCustomizationFeature {
3579
- HeaderLogo = "header-logo",
3580
- ThemePreset = "theme-preset",
3581
- PremiumFonts = "premium-fonts",
3582
- CustomIcons = "custom-icons",
3583
- FooterLogo = "footer-logo",
3584
- FooterLinks = "footer-links",
3585
- FooterCopyright = "footer-copyright",
3586
- SemanticColors = "semantic-colors"
3587
- }
3588
- /** A site feature and the plan it is available on. */
3589
- export type SiteFeature = {
3590
- /** The feature identifier, matching the feature table keys in the pricing definition */
3591
- id: 'sites-sections' | 'sites-visitor-authentication' | 'sites-adaptive-content' | 'sites-redirects' | 'sites-custom-domain' | 'sites-ai-search' | 'sites-pdf-export' | 'sites-page-feedback' | 'sites-unlisted-visibility' | 'sites-share-links' | 'sites-custom-fonts';
3592
- /** The type of the site */
3593
- plan: SiteType;
3594
- /** A frozen feature is still enabled but cannot be changed or modified. */
3595
- frozen: boolean;
3596
- } | {
3597
- /** The feature identifier, always set to `sites-advanced-customization` */
3598
- id: 'sites-advanced-customization';
3599
- /** The type of the site */
3600
- plan: SiteType;
3601
- /** A frozen feature is still enabled but cannot be changed or modified. */
3602
- frozen: boolean;
3603
- /** A list of the actual advanced customizations used */
3604
- customizations: SiteCustomizationFeature[];
3605
- };
3606
- export interface Site {
3607
- object: 'site';
3608
- /** Unique identifier of the site */
3609
- id: string;
3610
- /** The type of the site */
3611
- type: SiteType;
3612
- /** Title of the site */
3613
- title: SiteTitle;
3614
- /** Custom hostname for the site, for e.g. docs.mycompany.com */
3615
- hostname?: SiteHostname;
3616
- /** Basename for the site. For e.g. api */
3617
- basename?: SiteBasename;
3618
- proxy?: SiteProxy;
3619
- /**
3620
- * The visibility setting of the site determines the audience of the site.
3621
- * * `public`: Anyone can access the site, and the site is indexed by search engines.
3622
- * * `unlisted`: Anyone can access the site, and the site is not indexed by search engines
3623
- * * `share-link`: Anyone with a secret token in the url can access the site.
3624
- * * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
3625
- */
3626
- visibility: SiteVisibility;
3627
- /** Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting. */
3628
- published: boolean;
3629
- siteSpaces: number;
3630
- /** @format date-time */
3631
- createdAt: string;
3632
- adaptiveContent?: SiteAdaptiveContent;
3633
- ads?: SiteAds;
3634
- /** 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. */
3635
- features: SiteFeature[];
3636
- /** URLs associated with the object */
3637
- urls: {
3638
- /**
3639
- * URL of the site in the API
3640
- * @format uri
3641
- */
3642
- location: string;
3643
- /**
3644
- * URL of the site in the application
3645
- * @format uri
3646
- */
3647
- app: string;
3648
- /**
3649
- * URL of the published version of the site. Only defined when site is published.
3650
- * @format uri
3651
- */
3652
- published?: string;
3653
- };
3654
- }
3655
- export type IntegrationSiteInstallation = IntegrationContentInstallationBase & {
3656
- /** The site the integration is installed on. Using the string value is deprecated in favor of site.id */
3657
- site: string | Site;
3658
- };
3659
3663
  export interface UpdateIntegrationSiteInstallation {
3660
3664
  /** External IDs assigned by the integration. */
3661
3665
  externalIds?: IntegrationInstallationExternalIds;
@@ -4255,8 +4259,6 @@ export interface OpenAPISpecVersion {
4255
4259
  urls: {
4256
4260
  /** URL of the OpenAPI specification version in the API */
4257
4261
  location: URL;
4258
- /** URL of the OpenAPI specification version in the application */
4259
- app: URL;
4260
4262
  };
4261
4263
  }
4262
4264
  /** Content of the specification available through filesystem or public URL. */
@@ -8900,6 +8902,34 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8900
8902
  }, params?: RequestParams) => Promise<HttpResponse<List & {
8901
8903
  items: IntegrationSpaceInstallation[];
8902
8904
  }, any>>;
8905
+ /**
8906
+ * No description
8907
+ *
8908
+ * @tags integrations
8909
+ * @name ListIntegrationSiteInstallations
8910
+ * @summary List all integration site installations
8911
+ * @request GET:/integrations/{integrationName}/sites
8912
+ * @secure
8913
+ */
8914
+ listIntegrationSiteInstallations: (integrationName: string, query?: {
8915
+ /** Identifier of the page results to fetch. */
8916
+ page?: string;
8917
+ /**
8918
+ * The number of results per page
8919
+ * @min 0
8920
+ * @max 1000
8921
+ */
8922
+ limit?: number;
8923
+ /** External ID to filter by */
8924
+ externalId?: string;
8925
+ /**
8926
+ * If true, returns the site object in each items. If false, returns the site ID in each items.
8927
+ * @default false
8928
+ */
8929
+ extended?: boolean;
8930
+ }, params?: RequestParams) => Promise<HttpResponse<List & {
8931
+ items: IntegrationSiteInstallation[];
8932
+ }, any>>;
8903
8933
  /**
8904
8934
  * No description
8905
8935
  *
package/dist/index.cjs CHANGED
@@ -269,7 +269,7 @@ module.exports = __toCommonJS(src_exports);
269
269
 
270
270
  // package.json
271
271
  var name = "@gitbook/api";
272
- var version = "0.111.0";
272
+ var version = "0.112.0";
273
273
 
274
274
  // src/client.ts
275
275
  var import_event_iterator = __toESM(require_node(), 1);
@@ -656,24 +656,6 @@ var IntegrationInstallationSiteSelection = /* @__PURE__ */ ((IntegrationInstalla
656
656
  IntegrationInstallationSiteSelection2["Selected"] = "selected";
657
657
  return IntegrationInstallationSiteSelection2;
658
658
  })(IntegrationInstallationSiteSelection || {});
659
- var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
660
- ContentKitIcon2["Close"] = "close";
661
- ContentKitIcon2["Edit"] = "edit";
662
- ContentKitIcon2["Github"] = "github";
663
- ContentKitIcon2["Gitlab"] = "gitlab";
664
- ContentKitIcon2["Maximize"] = "maximize";
665
- ContentKitIcon2["Email"] = "email";
666
- ContentKitIcon2["Settings"] = "settings";
667
- ContentKitIcon2["Search"] = "search";
668
- ContentKitIcon2["Delete"] = "delete";
669
- ContentKitIcon2["Star"] = "star";
670
- ContentKitIcon2["Warning"] = "warning";
671
- ContentKitIcon2["Link"] = "link";
672
- ContentKitIcon2["LinkExternal"] = "link-external";
673
- ContentKitIcon2["Eye"] = "eye";
674
- ContentKitIcon2["Lock"] = "lock";
675
- return ContentKitIcon2;
676
- })(ContentKitIcon || {});
677
659
  var SiteType = /* @__PURE__ */ ((SiteType2) => {
678
660
  SiteType2["Basic"] = "basic";
679
661
  SiteType2["Premium"] = "premium";
@@ -706,6 +688,26 @@ var SiteCustomizationFeature = /* @__PURE__ */ ((SiteCustomizationFeature2) => {
706
688
  SiteCustomizationFeature2["SemanticColors"] = "semantic-colors";
707
689
  return SiteCustomizationFeature2;
708
690
  })(SiteCustomizationFeature || {});
691
+ var ContentKitIcon = /* @__PURE__ */ ((ContentKitIcon2) => {
692
+ ContentKitIcon2["Close"] = "close";
693
+ ContentKitIcon2["Edit"] = "edit";
694
+ ContentKitIcon2["Github"] = "github";
695
+ ContentKitIcon2["Gitlab"] = "gitlab";
696
+ ContentKitIcon2["Maximize"] = "maximize";
697
+ ContentKitIcon2["Email"] = "email";
698
+ ContentKitIcon2["Settings"] = "settings";
699
+ ContentKitIcon2["Search"] = "search";
700
+ ContentKitIcon2["Delete"] = "delete";
701
+ ContentKitIcon2["Star"] = "star";
702
+ ContentKitIcon2["Warning"] = "warning";
703
+ ContentKitIcon2["Link"] = "link";
704
+ ContentKitIcon2["LinkExternal"] = "link-external";
705
+ ContentKitIcon2["Eye"] = "eye";
706
+ ContentKitIcon2["Lock"] = "lock";
707
+ ContentKitIcon2["Check"] = "check";
708
+ ContentKitIcon2["CheckCircle"] = "check-circle";
709
+ return ContentKitIcon2;
710
+ })(ContentKitIcon || {});
709
711
  var TeamMemberRole = /* @__PURE__ */ ((TeamMemberRole2) => {
710
712
  TeamMemberRole2["Owner"] = "owner";
711
713
  TeamMemberRole2["Member"] = "member";
@@ -2190,6 +2192,14 @@ var Api = class extends HttpClient {
2190
2192
  format: "json",
2191
2193
  ...params
2192
2194
  }),
2195
+ listIntegrationSiteInstallations: (integrationName, query, params = {}) => this.request({
2196
+ path: `/integrations/${integrationName}/sites`,
2197
+ method: "GET",
2198
+ query,
2199
+ secure: true,
2200
+ format: "json",
2201
+ ...params
2202
+ }),
2193
2203
  setIntegrationDevelopmentMode: (integrationName, data, params = {}) => this.request({
2194
2204
  path: `/integrations/${integrationName}/dev`,
2195
2205
  method: "PUT",
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.112.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.112.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",