@gitbook/api 0.79.0 → 0.80.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
@@ -774,33 +774,17 @@ export declare enum SpaceEditMode {
774
774
  }
775
775
  /** @format uri */
776
776
  export type URL = string;
777
- /**
778
- * * `running`: The operation is still running
779
- * * `failure`: The operation failed
780
- * * `success`: The operation was successful
781
- */
782
- export declare enum GitSyncOperationState {
783
- Running = "running",
784
- Failure = "failure",
785
- Success = "success"
786
- }
787
- export interface GitSyncOperation {
788
- /**
789
- * * `running`: The operation is still running
790
- * * `failure`: The operation failed
791
- * * `success`: The operation was successful
792
- */
793
- state: GitSyncOperationState;
794
- startedAt?: Timestamp;
795
- /** Date when the operation was successful (when state is `success`) */
796
- completedAt?: Timestamp;
797
- /** Error details, defined if state is `failure`. */
798
- error?: string;
777
+ /** The provider of the Git Sync installation. */
778
+ export declare enum GitSyncProvider {
779
+ Github = "github",
780
+ Gitlab = "gitlab",
781
+ GithubLegacy = "github-legacy"
799
782
  }
800
783
  export interface GitSyncState {
801
784
  /** The provider of the Git Sync installation. */
802
- installationProvider?: string;
803
- operation?: GitSyncOperation;
785
+ installationProvider?: GitSyncProvider;
786
+ /** The integration name providing the Git Sync. */
787
+ integration?: string;
804
788
  /** The URL to the repository tree, used when rendering public content. */
805
789
  url?: string;
806
790
  /** When the Git provider details were last updated */
@@ -904,12 +888,28 @@ export interface Space {
904
888
  revision: string;
905
889
  /** Default level for a piece of content */
906
890
  defaultLevel: DefaultLevel;
891
+ /** Count of opened comments on the space. */
892
+ comments: number;
893
+ /** Total count of change requests on the space. */
894
+ changeRequests: number;
895
+ /** Count of open change requests on the space. */
896
+ changeRequestsOpen: number;
897
+ /** Count of draft change requests on the space. */
898
+ changeRequestsDraft: number;
907
899
  /** The set of permissions for the space */
908
900
  permissions: {
901
+ /** Can the user access the space in the application. */
902
+ access: boolean;
909
903
  /** Can the user edit the title, install integrations, and manage the space. */
910
904
  admin: boolean;
911
905
  /** Can the user edit the content of the space by creating a change request. */
912
906
  edit: boolean;
907
+ /** Can the user comment on the content. */
908
+ comment: boolean;
909
+ /** Can the user merge change requests. */
910
+ merge: boolean;
911
+ /** Can the user review change requests. */
912
+ review: boolean;
913
913
  };
914
914
  }
915
915
  export interface SpacePointer {
@@ -1490,6 +1490,7 @@ export declare enum BillingProduct {
1490
1490
  Plus2024 = "plus_2024",
1491
1491
  Pro2024 = "pro_2024",
1492
1492
  Enterprise2024 = "enterprise_2024",
1493
+ Community2024 = "community_2024",
1493
1494
  Free = "free",
1494
1495
  Plus = "plus",
1495
1496
  Pro = "pro",
@@ -1503,6 +1504,9 @@ export declare enum BillingProduct {
1503
1504
  TeamDec2021 = "team_dec_2021",
1504
1505
  BusinessDec2021 = "business_dec_2021"
1505
1506
  }
1507
+ export declare enum OrganizationBlockReason {
1508
+ Security = "security"
1509
+ }
1506
1510
  export interface Organization {
1507
1511
  /** Type of Object, always equals to "organization" */
1508
1512
  object: 'organization';
@@ -1521,7 +1525,7 @@ export interface Organization {
1521
1525
  defaultRole?: MemberRoleOrGuest;
1522
1526
  /** The default content for the organization */
1523
1527
  defaultContent?: OrganizationDefaultContent;
1524
- /** Whether SSO is enforced organization wide */
1528
+ /** Whether SSO is enforced organization-wide */
1525
1529
  sso?: boolean;
1526
1530
  /** If true, the organization is configured to use all our AI features. */
1527
1531
  ai?: boolean;
@@ -1544,6 +1548,25 @@ export interface Organization {
1544
1548
  /** URL of the logo of this organization, if defined. */
1545
1549
  logo?: URL;
1546
1550
  };
1551
+ /** The decision taken by the user at the end of the trial */
1552
+ trialDecision?: 'downgrade';
1553
+ /** Custom hostname linked to this organization */
1554
+ customHostname?: string;
1555
+ /** If the organization is blocked, information about the block will appear here */
1556
+ blocked?: {
1557
+ reason: OrganizationBlockReason;
1558
+ };
1559
+ /** If true, the organization is still using the deprecated snippets feature. */
1560
+ internal_isUsingSnippets?: boolean;
1561
+ /** If true, the organization is on the new trial which includes sites and the Pro plan. */
1562
+ internal_isOnNewTrial?: boolean;
1563
+ /** The set of permissions for the organization */
1564
+ permissions: {
1565
+ /** Can the user manage the title, members, etc. */
1566
+ admin: boolean;
1567
+ /** Can the user create new spaces/collections in the organization */
1568
+ createContent: boolean;
1569
+ };
1547
1570
  }
1548
1571
  export interface ContentLocationRevisionContext {
1549
1572
  type: 'revision';
@@ -2392,10 +2415,12 @@ export interface CustomizationContentLink {
2392
2415
  /** A relative reference to content in GitBook. */
2393
2416
  to: ContentRef;
2394
2417
  }
2395
- export type CustomizationHeaderLink = CustomizationContentLink & {
2418
+ export interface CustomizationHeaderItem {
2419
+ title: string;
2396
2420
  style?: 'link' | 'button-primary' | 'button-secondary';
2397
- links?: CustomizationContentLink[];
2398
- };
2421
+ to: ContentRef | null;
2422
+ links: CustomizationContentLink[];
2423
+ }
2399
2424
  export interface CustomizationFooterGroup {
2400
2425
  title: string;
2401
2426
  links: CustomizationContentLink[];
@@ -2432,7 +2457,7 @@ export interface CustomizationSettings {
2432
2457
  logo?: CustomizationThemedURL;
2433
2458
  backgroundColor?: CustomizationThemedColor;
2434
2459
  linkColor?: CustomizationThemedColor;
2435
- links: CustomizationHeaderLink[];
2460
+ links: CustomizationHeaderItem[];
2436
2461
  };
2437
2462
  footer: {
2438
2463
  logo?: CustomizationThemedURL;
@@ -3406,6 +3431,10 @@ export declare enum SiteVisibility {
3406
3431
  ShareLink = "share-link",
3407
3432
  VisitorAuth = "visitor-auth"
3408
3433
  }
3434
+ export interface SiteAdaptiveContent {
3435
+ /** Whether adaptive content should be enabled on the site. */
3436
+ enabled: boolean;
3437
+ }
3409
3438
  /** Topic of the content */
3410
3439
  export declare enum SiteAdsTopic {
3411
3440
  Webdev = "webdev",
@@ -3453,6 +3482,7 @@ export interface Site {
3453
3482
  siteSpaces: number;
3454
3483
  /** @format date-time */
3455
3484
  createdAt: string;
3485
+ adaptiveContent?: SiteAdaptiveContent;
3456
3486
  ads?: SiteAds;
3457
3487
  /** URLs associated with the object */
3458
3488
  urls: {
@@ -3576,6 +3606,8 @@ export interface OrganizationAllSpace {
3576
3606
  export interface OrganizationAllContent {
3577
3607
  sites: OrganizationAllSite[];
3578
3608
  spaces: (OrganizationAllCollection | OrganizationAllSpace)[];
3609
+ /** List of soft-deleted spaces. */
3610
+ deletedSpaces: OrganizationAllSpace[];
3579
3611
  }
3580
3612
  export interface OrganizationMember {
3581
3613
  /** Type of Object, always equals to "member" */
@@ -3789,11 +3821,6 @@ export interface CreateSpace {
3789
3821
  /** ID of a parent collection */
3790
3822
  parent?: string;
3791
3823
  }
3792
- export interface SpaceWithGitSync {
3793
- space: Space;
3794
- /** @deprecated */
3795
- gitSync?: GitSyncState;
3796
- }
3797
3824
  export interface OrganizationExperimentalFeature {
3798
3825
  id: string;
3799
3826
  title: string;
@@ -3847,6 +3874,16 @@ export interface OrganizationSAMLProvider {
3847
3874
  location: string;
3848
3875
  };
3849
3876
  }
3877
+ export interface OrganizationSSOProviderLogin {
3878
+ /** Unique identifier for the provider. */
3879
+ id: string;
3880
+ label: SAMLProviderLabel;
3881
+ /**
3882
+ * The starting login URL for the Identity Provider
3883
+ * @format uri
3884
+ */
3885
+ startURL: string;
3886
+ }
3850
3887
  /** Spaces usage metrics of an organization */
3851
3888
  export interface OrganizationUsageSpaces {
3852
3889
  /** Count of all spaces */
@@ -4057,6 +4094,9 @@ export type BillingOperationPreviewResponse = {
4057
4094
  plan: BillingProduct;
4058
4095
  invoice?: BillingInvoicePreview;
4059
4096
  };
4097
+ export interface CustomizationTint {
4098
+ color: CustomizationThemedColor;
4099
+ }
4060
4100
  export declare enum CustomizationIconsStyle {
4061
4101
  Regular = "regular",
4062
4102
  Solid = "solid",
@@ -4069,6 +4109,7 @@ export interface SiteCustomizationSettings {
4069
4109
  title?: SiteTitle;
4070
4110
  styling: {
4071
4111
  primaryColor: CustomizationThemedColor;
4112
+ tint?: CustomizationTint;
4072
4113
  corners: CustomizationCorners;
4073
4114
  font: CustomizationFont;
4074
4115
  background: CustomizationBackground;
@@ -4089,7 +4130,7 @@ export interface SiteCustomizationSettings {
4089
4130
  logo?: CustomizationThemedURL;
4090
4131
  backgroundColor?: CustomizationThemedColor;
4091
4132
  linkColor?: CustomizationThemedColor;
4092
- links: CustomizationHeaderLink[];
4133
+ links: CustomizationHeaderItem[];
4093
4134
  };
4094
4135
  footer: {
4095
4136
  logo?: CustomizationThemedURL;
@@ -4202,6 +4243,19 @@ export type SitePublishingAuthUpdate = (VisitorAuthCustomBackend | VisitorAuthIn
4202
4243
  */
4203
4244
  fallbackURL?: string;
4204
4245
  };
4246
+ export type SiteSearchScope = {
4247
+ /** Search across all sections of a site, only including the default content of each section. This scope is wide and shallow. You may optionally specify a list of additional site spaces to search in alongside the default content. */
4248
+ mode: 'default';
4249
+ includedSiteSpaces?: string[];
4250
+ } | {
4251
+ /** Only search in the provided site spaces. */
4252
+ mode: 'specific';
4253
+ /** @minLength 1 */
4254
+ siteSpaceIds: string[];
4255
+ } | {
4256
+ /** Search in all sections and site spaces. This scope is wide and deep. */
4257
+ mode: 'all';
4258
+ };
4205
4259
  export interface SiteSectionPointer {
4206
4260
  type: 'site-section';
4207
4261
  /** Unique identifier for the site section */
@@ -4286,6 +4340,19 @@ export interface SiteAdsStats {
4286
4340
  clicks: number;
4287
4341
  revenue: string;
4288
4342
  }
4343
+ export interface SearchInsightsIntervals {
4344
+ values?: {
4345
+ /**
4346
+ * The start date of this interval
4347
+ * @format date-time
4348
+ */
4349
+ date: string;
4350
+ /** The total number of searches during the interval. */
4351
+ total: number;
4352
+ /** Top queries searched for this content. */
4353
+ queries: AnalyticsSearchQuery[];
4354
+ }[];
4355
+ }
4289
4356
  /** Page entry in the content insights. */
4290
4357
  export interface InsightsContentPage {
4291
4358
  /** Unique identifier for the page in the revision */
@@ -4675,6 +4742,20 @@ export declare enum RevisionSemanticChangeType {
4675
4742
  FileDeleted = "file_deleted",
4676
4743
  CustomFieldsEdited = "custom_fields_edited"
4677
4744
  }
4745
+ /**
4746
+ * * `running`: The operation is still running
4747
+ * * `failure`: The operation failed
4748
+ * * `success`: The operation was successful
4749
+ */
4750
+ export declare enum GitSyncOperationState {
4751
+ Running = "running",
4752
+ Failure = "failure",
4753
+ Success = "success"
4754
+ }
4755
+ export declare enum GitSyncOperationDirection {
4756
+ Export = "export",
4757
+ Import = "import"
4758
+ }
4678
4759
  /**
4679
4760
  * Core stages of a Git Sync process. This is not exhaustive, but should cover
4680
4761
  * the important ones.
@@ -4690,6 +4771,35 @@ export declare enum GitSyncOperationStage {
4690
4771
  ContentProcess = "content_process",
4691
4772
  Finalize = "finalize"
4692
4773
  }
4774
+ export interface GitSyncOperation {
4775
+ /**
4776
+ * * `running`: The operation is still running
4777
+ * * `failure`: The operation failed
4778
+ * * `success`: The operation was successful
4779
+ */
4780
+ state: GitSyncOperationState;
4781
+ direction: GitSyncOperationDirection;
4782
+ /**
4783
+ * Core stages of a Git Sync process. This is not exhaustive, but should cover
4784
+ * the important ones.
4785
+ * - repo_fetch: Includes fetching the latest repository contents from remote provider.
4786
+ * - config_check: Includes checking if the YAML config is valid, etc.
4787
+ * - content_process: Includes processing of pages & files to be imported/exported.
4788
+ * - finalize: Includes finalizing the sync process like creating the commit on git, or
4789
+ * creating a new revision.
4790
+ */
4791
+ stage: GitSyncOperationStage;
4792
+ dispatchedTasks: number;
4793
+ completedTasks: number;
4794
+ /** Date when the operation was started */
4795
+ startedAt: Timestamp;
4796
+ /** Date when the operation was last updated */
4797
+ updatedAt: Timestamp;
4798
+ /** Date when the operation was successful (when state is `success`) */
4799
+ completedAt?: Timestamp;
4800
+ /** Error details, defined if state is `failure`. */
4801
+ error?: string;
4802
+ }
4693
4803
  export interface OrganizationTransferResponse {
4694
4804
  /** The unique id of the collection created in the target organization containing the content of the source organization. */
4695
4805
  collection: string;
@@ -4772,7 +4882,7 @@ export interface ContentAPIBaseToken {
4772
4882
  /** List of spaces that the token is allowed to access. */
4773
4883
  spaces: string[];
4774
4884
  /** Attributes or assertions that provide specific details about the visitor for which the token was generated. */
4775
- claims: Record<string, any>;
4885
+ claims?: Record<string, any>;
4776
4886
  /** Multiplier for the rate limit applied to the token. */
4777
4887
  rateLimitMultiplier?: number;
4778
4888
  }
@@ -4947,6 +5057,11 @@ export interface OrganizationExperimentalFeaturesChannel {
4947
5057
  channel: 'organization-experimental-features';
4948
5058
  organization: string;
4949
5059
  }
5060
+ /** Channel for messages everytime a space is indexed by the AI in an organization */
5061
+ export interface OrganizationAIIndexationChannel {
5062
+ channel: 'organization-ai-indexation';
5063
+ organization: string;
5064
+ }
4950
5065
  export interface SpaceCommentsChannel {
4951
5066
  channel: 'space-comments';
4952
5067
  space: string;
@@ -5070,27 +5185,10 @@ export interface GitSyncOperationChannel {
5070
5185
  space: string;
5071
5186
  }
5072
5187
  /** Channel to subscribe to for realtime updates. */
5073
- export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceCustomFieldsChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationCapturesChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationExperimentalFeaturesChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentReplyInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncSettingsChannel | GitSyncOperationChannel;
5188
+ export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceCustomFieldsChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | OrganizationCustomFieldsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationCapturesChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationExperimentalFeaturesChannel | OrganizationAIIndexationChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentReplyInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncSettingsChannel | GitSyncOperationChannel;
5074
5189
  export interface GitSyncOperationChannelData {
5075
5190
  channel: 'space-gitsync-operation';
5076
- /** Data passed on the channel messages for GitSync running in a space. */
5077
- data: {
5078
- direction: 'export' | 'import';
5079
- /**
5080
- * Core stages of a Git Sync process. This is not exhaustive, but should cover
5081
- * the important ones.
5082
- * - repo_fetch: Includes fetching the latest repository contents from remote provider.
5083
- * - config_check: Includes checking if the YAML config is valid, etc.
5084
- * - content_process: Includes processing of pages & files to be imported/exported.
5085
- * - finalize: Includes finalizing the sync process like creating the commit on git, or
5086
- * creating a new revision.
5087
- */
5088
- stage: GitSyncOperationStage;
5089
- dispatchedTasks: number;
5090
- completedTasks: number;
5091
- startedAt: number;
5092
- updatedAt: number;
5093
- } | null;
5191
+ data: GitSyncOperation;
5094
5192
  }
5095
5193
  export interface SpaceContentRefsChannelData {
5096
5194
  channel: 'space-content-refs';
@@ -5110,6 +5208,13 @@ export interface ChangeRequestContentRefsChannelData {
5110
5208
  updatedAt: number;
5111
5209
  };
5112
5210
  }
5211
+ export interface OrganizationAIIndexationChannelData {
5212
+ channel: 'organization-ai-indexation';
5213
+ data: {
5214
+ /** The space that was indexed */
5215
+ space: string;
5216
+ };
5217
+ }
5113
5218
  export interface APIChannelMutationData {
5114
5219
  channel: '*';
5115
5220
  /** Data passed on the channels associated to API endpoints. */
@@ -5119,7 +5224,7 @@ export interface APIChannelMutationData {
5119
5224
  };
5120
5225
  }
5121
5226
  /** Data passed through a realtime channel */
5122
- export type SubscriptionChannelData = GitSyncOperationChannelData | SpaceContentRefsChannelData | ChangeRequestContentRefsChannelData | APIChannelMutationData;
5227
+ export type SubscriptionChannelData = GitSyncOperationChannelData | SpaceContentRefsChannelData | ChangeRequestContentRefsChannelData | OrganizationAIIndexationChannelData | APIChannelMutationData;
5123
5228
  /** The status of ads on the site */
5124
5229
  export declare enum SiteAdsStatus {
5125
5230
  Pending = "pending",
@@ -5220,7 +5325,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5220
5325
  protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
5221
5326
  abortRequest: (cancelToken: CancelToken) => void;
5222
5327
  request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
5223
- streamRequest: <T, E = any>({ path, baseUrl, cancelToken, secure, ...params }: FullRequestParams) => EventIterator<T>;
5328
+ streamRequest: <T, E = any>({ body, path, type, baseUrl, cancelToken, secure, ...params }: FullRequestParams) => EventIterator<T>;
5224
5329
  }
5225
5330
  /**
5226
5331
  * @title GitBook API
@@ -8409,29 +8514,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8409
8514
  * @secure
8410
8515
  */
8411
8516
  createSpace: (organizationId: string, data: CreateSpace, params?: RequestParams) => Promise<HttpResponse<Space, Error>>;
8412
- /**
8413
- * @description Lists spaces including Git sync metadata for the specified organization.
8414
- *
8415
- * @tags organizations
8416
- * @name ListSpacesWithGitSyncInOrganizationById
8417
- * @summary List organization spaces including Git sync metadata
8418
- * @request GET:/orgs/{organizationId}/spaces/gitsync
8419
- * @secure
8420
- */
8421
- listSpacesWithGitSyncInOrganizationById: (organizationId: string, query?: {
8422
- /** Identifier of the page results to fetch. */
8423
- page?: string;
8424
- /**
8425
- * The number of results per page
8426
- * @min 0
8427
- * @max 1000
8428
- */
8429
- limit?: number;
8430
- /** If defined, only spaces with matching Git sync status are returned */
8431
- status?: GitSyncOperationState;
8432
- }, params?: RequestParams) => Promise<HttpResponse<List & {
8433
- items: SpaceWithGitSync[];
8434
- }, Error>>;
8435
8517
  /**
8436
8518
  * @description Lists collections for the specified organization.
8437
8519
  *
@@ -8623,7 +8705,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8623
8705
  /**
8624
8706
  * No description
8625
8707
  *
8626
- * @tags integrations
8708
+ * @tags integrations, critical
8627
8709
  * @name ListOrganizationIntegrationsStatus
8628
8710
  * @summary List the statuses of all integrations installed in an organization
8629
8711
  * @request GET:/orgs/{organizationId}/integrations/installations-status
@@ -8749,6 +8831,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8749
8831
  * @secure
8750
8832
  */
8751
8833
  deleteOrganizationSamlProvider: (organizationId: string, samlProviderId: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
8834
+ /**
8835
+ * @description Lists SSO login information configured for the specified organization.
8836
+ *
8837
+ * @tags organizations
8838
+ * @name ListSsoProviderLoginsInOrganization
8839
+ * @summary List organization SSO provider login information
8840
+ * @request GET:/orgs/{organizationId}/sso
8841
+ * @secure
8842
+ */
8843
+ listSsoProviderLoginsInOrganization: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<{
8844
+ items: OrganizationSSOProviderLogin[];
8845
+ }, Error>>;
8752
8846
  /**
8753
8847
  * No description
8754
8848
  *
@@ -9203,6 +9297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9203
9297
  visibility?: SiteVisibility;
9204
9298
  /** Basename for the site. For e.g. api */
9205
9299
  basename?: SiteBasename;
9300
+ adaptiveContent?: SiteAdaptiveContent;
9206
9301
  /** 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. */
9207
9302
  defaultSiteSpace?: string;
9208
9303
  /** ID of the site-section to be used as the default. */
@@ -9671,24 +9766,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9671
9766
  * @secure
9672
9767
  */
9673
9768
  searchSiteContent: (organizationId: string, siteId: string, data: {
9674
- /** Search only in the site spaces provided */
9769
+ /** @maxLength 512 */
9770
+ query: string;
9771
+ } & ({
9772
+ /** Define the scope of the search. */
9773
+ scope: SiteSearchScope;
9774
+ } | {
9775
+ /**
9776
+ * Search only in the site spaces provided. Deprecated, use scope instead.
9777
+ * @deprecated
9778
+ */
9675
9779
  mode?: "specific";
9676
9780
  /** @minLength 1 */
9677
9781
  siteSpaceIds: string[];
9678
- /** @maxLength 512 */
9679
- query: string;
9680
9782
  } | {
9681
- /** Search in the current site space and all section's defaults */
9783
+ /**
9784
+ * Search in the current site space and all section's defaults. Deprecated, use scope instead.
9785
+ * @deprecated
9786
+ */
9682
9787
  mode: "current";
9683
9788
  siteSpaceId: string;
9684
- /** @maxLength 512 */
9685
- query: string;
9686
9789
  } | {
9687
- /** search in all site-spaces */
9790
+ /**
9791
+ * Search in all site-spaces. Deprecated, use scope instead.
9792
+ * @deprecated
9793
+ */
9688
9794
  mode: "all";
9689
- /** @maxLength 512 */
9690
- query: string;
9691
- }, query?: {
9795
+ }), query?: {
9692
9796
  /** Identifier of the page results to fetch. */
9693
9797
  page?: string;
9694
9798
  /**
@@ -9700,6 +9804,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9700
9804
  }, params?: RequestParams) => Promise<HttpResponse<List & {
9701
9805
  items: SearchSpaceResult[];
9702
9806
  }, Error>>;
9807
+ /**
9808
+ * No description
9809
+ *
9810
+ * @name StreamAskInSite
9811
+ * @summary Ask a question in a site. The response is streamed.
9812
+ * @request POST:/orgs/{organizationId}/sites/{siteId}/ask
9813
+ * @secure
9814
+ */
9815
+ streamAskInSite: (organizationId: string, siteId: string, data: {
9816
+ /** @maxLength 512 */
9817
+ question: string;
9818
+ scope: SiteSearchScope;
9819
+ }, query?: {
9820
+ /** Output format for the content. */
9821
+ format?: "document" | "markdown";
9822
+ }, params?: RequestParams) => EventIterator<SearchAIAnswerStream>;
9703
9823
  /**
9704
9824
  * No description
9705
9825
  *
@@ -9761,6 +9881,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9761
9881
  styling?: {
9762
9882
  /** The primary color used for links and UI text. Set to null to reset the override. */
9763
9883
  primaryColor?: CustomizationThemedColor | null;
9884
+ /** The tint will colour the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too. */
9885
+ tint?: CustomizationTint | null;
9764
9886
  /** The style of the corners to use. Set to null to reset the override. */
9765
9887
  corners?: CustomizationCorners | null;
9766
9888
  /** The font family to use for the content. Set to null to reset the override. */
@@ -9791,7 +9913,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9791
9913
  /** The color used by the links in the header. Set to null to reset the override. */
9792
9914
  linkColor?: CustomizationThemedColor | null;
9793
9915
  /** The links that are displayed in the header. Set to null to reset the override. */
9794
- links?: CustomizationHeaderLink[] | null;
9916
+ links?: CustomizationHeaderItem[] | null;
9795
9917
  };
9796
9918
  footer?: {
9797
9919
  /** The logo displayed in the footer. Set to null to reset the override. */