@gitbook/api 0.174.0 → 0.176.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
@@ -16,6 +16,10 @@ export declare enum SiteAdsStatus {
16
16
  Rejected = "rejected",
17
17
  Disabled = "disabled"
18
18
  }
19
+ export declare enum CustomizationThemeMode {
20
+ Light = "light",
21
+ Dark = "dark"
22
+ }
19
23
  export declare enum APIIntegrationScope {
20
24
  IntegrationRead = "integration:read",
21
25
  IntegrationUpdate = "integration:update",
@@ -256,6 +260,11 @@ export declare enum AIModel {
256
260
  ReasoningMedium = "reasoning-medium",
257
261
  ReasoningHigh = "reasoning-high"
258
262
  }
263
+ /** The phase of a step in a message from the AI agent. */
264
+ export declare enum AIMessageStepPhase {
265
+ Commentary = "commentary",
266
+ FinalAnswer = "final_answer"
267
+ }
259
268
  export declare enum AIMessageRole {
260
269
  User = "user",
261
270
  Assistant = "assistant",
@@ -263,7 +272,9 @@ export declare enum AIMessageRole {
263
272
  }
264
273
  export declare enum SiteConfigurableChannelType {
265
274
  BuiltinSlack = "builtin:slack",
266
- BuiltinDiscord = "builtin:discord"
275
+ BuiltinDiscord = "builtin:discord",
276
+ BuiltinGithub = "builtin:github",
277
+ BuiltinLinear = "builtin:linear"
267
278
  }
268
279
  export declare enum SiteCoreChannelType {
269
280
  Site = "site",
@@ -376,9 +387,10 @@ export declare enum CustomizationAIMode {
376
387
  Search = "search",
377
388
  Assistant = "assistant"
378
389
  }
379
- export declare enum CustomizationThemeMode {
390
+ export declare enum CustomizationDefaultThemeMode {
380
391
  Light = "light",
381
- Dark = "dark"
392
+ Dark = "dark",
393
+ System = "system"
382
394
  }
383
395
  /**
384
396
  * The header preset to use for the site. This is a legacy setting and the site styling theme should be used instead.
@@ -658,6 +670,8 @@ export declare enum SiteFeatureKey {
658
670
  SitesAds = "sites-ads",
659
671
  SitesAiSearch = "sites-ai-search",
660
672
  SitesAiAssistant = "sites-ai-assistant",
673
+ SitesConnections = "sites-connections",
674
+ SitesChannels = "sites-channels",
661
675
  SitesEmbed = "sites-embed",
662
676
  SitesApiPlayground = "sites-api-playground",
663
677
  SitesBasicCustomization = "sites-basic-customization",
@@ -1082,6 +1096,10 @@ export interface User {
1082
1096
  location: string;
1083
1097
  };
1084
1098
  }
1099
+ export interface APITemporaryToken {
1100
+ /** Temporary access token to authenticate with the API */
1101
+ token: string;
1102
+ }
1085
1103
  export interface List {
1086
1104
  next?: {
1087
1105
  /** Unique identifier to query the next results page */
@@ -1820,6 +1838,8 @@ export interface DocumentTableViewGrid {
1820
1838
  hideHeader: boolean;
1821
1839
  /** Should we keep the table header sticky while the page scrolls */
1822
1840
  stickyHeader?: boolean;
1841
+ /** Should we keep the first visible table column sticky while horizontally scrolling */
1842
+ stickyFirstColumn?: boolean;
1823
1843
  /**
1824
1844
  * Tables in GitBook originally used a scaled width approach i.e. the width defined
1825
1845
  * in columnWidths would be scaled to ensure a 100% width table.
@@ -2717,6 +2737,21 @@ export type RevisionTypeEdits = RevisionBase & {
2717
2737
  * @maxLength 100
2718
2738
  */
2719
2739
  export type ChangeRequestSubject = string;
2740
+ /**
2741
+ * Optional title to display for the link.
2742
+ * @maxLength 128
2743
+ */
2744
+ export type ChangeRequestLinkTitle = string;
2745
+ export interface ChangeRequestLink {
2746
+ ref: ContentRefURL;
2747
+ /** Optional title to display for the link. */
2748
+ title?: ChangeRequestLinkTitle;
2749
+ }
2750
+ /**
2751
+ * External links associated with the change request.
2752
+ * @maxItems 10
2753
+ */
2754
+ export type ChangeRequestLinks = ChangeRequestLink[];
2720
2755
  export interface ChangeRequest {
2721
2756
  /** Type of Object, always equals to "change-request" */
2722
2757
  object: "change-request";
@@ -2754,6 +2789,8 @@ export interface ChangeRequest {
2754
2789
  };
2755
2790
  /** If true, the change request is not up-to-date with latest changes in the main content. */
2756
2791
  outdated: boolean;
2792
+ /** External links associated with the change request. */
2793
+ links?: ChangeRequestLinks;
2757
2794
  /** URLs associated with the object */
2758
2795
  urls: {
2759
2796
  /**
@@ -4742,10 +4779,6 @@ export interface UpdateIntegrationInstallation {
4742
4779
  /** Describe whether all sites have been selected or there's a selection involved */
4743
4780
  site_selection?: IntegrationInstallationSiteSelection;
4744
4781
  }
4745
- export interface APITemporaryToken {
4746
- /** Temporary access token to authenticate with the API */
4747
- token: string;
4748
- }
4749
4782
  export interface UpdateIntegrationSpaceInstallation {
4750
4783
  /** External IDs assigned by the integration. */
4751
4784
  externalIds?: IntegrationInstallationExternalIds;
@@ -5904,7 +5937,7 @@ export interface SiteCustomizationSettingsBase {
5904
5937
  announcement?: CustomizationAnnouncement;
5905
5938
  /** Customization options for the dark/light theme modes. */
5906
5939
  themes: {
5907
- default: CustomizationThemeMode;
5940
+ default: CustomizationDefaultThemeMode;
5908
5941
  /** Should the reader be able to switch between dark and light mode */
5909
5942
  toggeable: boolean;
5910
5943
  };
@@ -6044,7 +6077,7 @@ export type BillingOperationPreviewResponse = {
6044
6077
  invoice?: BillingInvoicePreview;
6045
6078
  };
6046
6079
  /** The reason or feature that triggered the site upgrade */
6047
- export type SiteUpgradeReason = SiteFeatureKey | "settings" | "billing-page" | "end-of-trial";
6080
+ export type SiteUpgradeReason = SiteFeatureKey | BillingMeter | "settings" | "billing-page" | "end-of-trial";
6048
6081
  export type SitePublishingAuth = (VisitorAuthCustomBackend | VisitorAuthIntegrationBackend) & {
6049
6082
  /** Type of Object, always equals to "publishing-auth" */
6050
6083
  object: "publishing-auth";
@@ -6342,6 +6375,18 @@ export interface ContextUsageSettings {
6342
6375
  /** Relative score adjustment applied to records from a connection when searching. */
6343
6376
  searchBoost: ContextSearchBoost;
6344
6377
  }
6378
+ /**
6379
+ * A YouTube channel ID starting with "UC".
6380
+ * @pattern ^UC[A-Za-z0-9_-]{22}$
6381
+ */
6382
+ export type YoutubeChannelId = string;
6383
+ /**
6384
+ * A YouTube channel handle starting with "@".
6385
+ * @pattern ^@[A-Za-z0-9._-]{3,100}$
6386
+ */
6387
+ export type YoutubeChannelName = string;
6388
+ /** A YouTube channel identifier, either a channel ID or a channel handle. */
6389
+ export type YoutubeChannelPattern = YoutubeChannelId | YoutubeChannelName;
6345
6390
  export type ContextConnectorSetup = {
6346
6391
  connector: "builtin:email";
6347
6392
  } | {
@@ -6358,8 +6403,8 @@ export type ContextConnectorSetup = {
6358
6403
  } | {
6359
6404
  connector: "builtin:youtube";
6360
6405
  setupSettings: {
6361
- /** @pattern ^UC[A-Za-z0-9_-]{22}$ */
6362
- channelId: string;
6406
+ /** A YouTube channel identifier, either a channel ID or a channel handle. */
6407
+ channelId: YoutubeChannelPattern;
6363
6408
  };
6364
6409
  } | {
6365
6410
  connector: "builtin:github-discussions";
@@ -6802,9 +6847,11 @@ export interface AIAttachmentFile {
6802
6847
  export type AIAttachment = AIAttachmentImage | AIAttachmentFile;
6803
6848
  /** A step in a message from the AI agent. */
6804
6849
  export interface AIMessageStep {
6805
- content: JSONDocument;
6850
+ content?: JSONDocument;
6806
6851
  reasoning?: JSONDocument;
6807
6852
  toolCalls?: AIToolCall[];
6853
+ /** The phase of a step in a message from the AI agent. */
6854
+ phase?: AIMessageStepPhase;
6808
6855
  /** The timing of the step. */
6809
6856
  timing?: {
6810
6857
  reasoning?: Timerange;
@@ -6903,13 +6950,25 @@ export interface OrganizationPointer {
6903
6950
  /** Unique identifier for the organization */
6904
6951
  organization: string;
6905
6952
  }
6953
+ /** Direct site permission origin. */
6954
+ export interface UserSitePermissionSiteOrigin {
6955
+ type: "site";
6956
+ /** Unique identifier for the site */
6957
+ site: string;
6958
+ /** Why the permission was enforced at the site level. */
6959
+ reason: "member" | "team" | "default";
6960
+ /** Unique identifier for the team when the permission comes from a team override. */
6961
+ team?: string;
6962
+ }
6963
+ /** The origin that enforced the effective permission level for a user in a site. */
6964
+ export type UserSitePermissionOrigin = SpacePointer | OrganizationPointer | UserSitePermissionSiteOrigin;
6906
6965
  /** Permission of a user in a site. */
6907
6966
  export interface UserSitePermission {
6908
6967
  /** The role of a member in an organization, null for guests */
6909
6968
  permission: MemberRoleOrGuest;
6910
6969
  user: User;
6911
- /** The content or organization that enforced this permission level. */
6912
- origin: SpacePointer | OrganizationPointer;
6970
+ /** The origin that enforced the effective permission level for a user in a site. */
6971
+ origin: UserSitePermissionOrigin;
6913
6972
  }
6914
6973
  /** Permission override of a user in a site. */
6915
6974
  export interface UserSitePermissionOverride {
@@ -6934,7 +6993,7 @@ export interface AIMessageContext {
6934
6993
  }
6935
6994
  /** Input version of an AI message. */
6936
6995
  export interface AIMessageInput {
6937
- role: "user";
6996
+ role: AIMessageRole;
6938
6997
  content: string | JSONDocument;
6939
6998
  /** Context about the current user sending a message. */
6940
6999
  context?: AIMessageContext;
@@ -6976,6 +7035,16 @@ export interface AIStreamResponseStart {
6976
7035
  /** When the agent is responding to a comment. */
6977
7036
  task?: AIMessageTask;
6978
7037
  }
7038
+ /** Message emitted by the server to indicate the start of a step in the AI response. */
7039
+ export interface AIStreamResponseStepStart {
7040
+ type: "response_step_start";
7041
+ /** The ID of the message that this event is composing. */
7042
+ messageId: string;
7043
+ /** The index of the step of the message that this event is composing. */
7044
+ stepIndex: number;
7045
+ /** The phase of a step in a message from the AI agent. */
7046
+ phase?: AIMessageStepPhase;
7047
+ }
6979
7048
  /** Message emitted by the server to indicate the end of the AI response. It contains the ID of the response to be referenced for followup requests. */
6980
7049
  export interface AIStreamResponseFinish {
6981
7050
  type: "response_finish";
@@ -7049,7 +7118,7 @@ export interface AIStreamResponseAttachment {
7049
7118
  stepIndex: number;
7050
7119
  attachment: AIAttachment;
7051
7120
  }
7052
- export type AIStreamResponse = AIStreamResponseStart | AIStreamResponseFinish | AIStreamResponseDocument | AIStreamResponseObject | AIStreamResponseToolCall | AIStreamResponseToolCallPending | AIStreamResponseFollowupSuggestion | AIStreamResponseAttachment;
7121
+ export type AIStreamResponse = AIStreamResponseStart | AIStreamResponseStepStart | AIStreamResponseFinish | AIStreamResponseDocument | AIStreamResponseObject | AIStreamResponseToolCall | AIStreamResponseToolCallPending | AIStreamResponseFollowupSuggestion | AIStreamResponseAttachment;
7053
7122
  export interface SiteAgentSettingsInput {
7054
7123
  /** Settings related to scanning for a site. */
7055
7124
  scans: {
@@ -7601,6 +7670,8 @@ export interface SiteMcpServer {
7601
7670
  url: URL;
7602
7671
  /** HTTP headers sent with requests to this server */
7603
7672
  headers: SiteMcpServerHeaders;
7673
+ /** Conditional expression used to evaluate whether the MCP server should be available to the site's visitor. */
7674
+ condition?: Expression;
7604
7675
  /** URLs associated with the object */
7605
7676
  urls: {
7606
7677
  /**
@@ -7610,17 +7681,39 @@ export interface SiteMcpServer {
7610
7681
  location: string;
7611
7682
  };
7612
7683
  }
7684
+ /**
7685
+ * A generic channel name or pattern. For example, "general" or "support-*".
7686
+ * @pattern ^[a-zA-Z0-9_\*-]+$
7687
+ */
7688
+ export type GenericChannelPattern = string;
7689
+ /**
7690
+ * A GitHub repository name or pattern in the format "owner/repository". For example, "my-org/my-repo" or "my-org/*" to allow all repositories under "my-org".
7691
+ * @pattern ^[a-zA-Z0-9._*-]+\/[a-zA-Z0-9._*-]+$
7692
+ */
7693
+ export type GitHubRepositoryPattern = string;
7613
7694
  export type SiteChannelSetup = {
7614
7695
  type: "builtin:slack";
7615
7696
  setupSettings: {
7616
7697
  /** List of allowed Slack channel names or patterns. If empty, all channels are allowed. */
7617
- allowedChannels?: string[];
7698
+ allowedChannels?: GenericChannelPattern[];
7699
+ };
7700
+ } | {
7701
+ type: "builtin:linear";
7702
+ setupSettings: {
7703
+ /** List of allowed Linear team keys or patterns. If empty, all teams are allowed. */
7704
+ allowedTeams?: GenericChannelPattern[];
7705
+ };
7706
+ } | {
7707
+ type: "builtin:github";
7708
+ setupSettings: {
7709
+ /** List of allowed GitHub repository names or patterns. If empty, all repositories are allowed. */
7710
+ allowedRepositories?: GitHubRepositoryPattern[];
7618
7711
  };
7619
7712
  } | {
7620
7713
  type: "builtin:discord";
7621
7714
  setupSettings: {
7622
7715
  /** List of allowed Discord channel names or patterns. If empty, all channels are allowed. */
7623
- allowedChannels?: string[];
7716
+ allowedChannels?: GenericChannelPattern[];
7624
7717
  };
7625
7718
  };
7626
7719
  export type SiteChannel = SiteChannelSetup & {
@@ -8691,6 +8784,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8691
8784
  message: string;
8692
8785
  };
8693
8786
  }>>;
8787
+ /**
8788
+ * @description Generates a JWT for the authenticated user. This token is used by the frontend notifications client to access user endpoints.
8789
+ *
8790
+ * @tags users
8791
+ * @name CreateUserNotificationsToken
8792
+ * @summary Create a JWT to access the in-app notifications service
8793
+ * @request POST:/user/notifications/token
8794
+ * @secure
8795
+ */
8796
+ createUserNotificationsToken: (params?: RequestParams) => Promise<HttpResponse<APITemporaryToken, any>>;
8694
8797
  };
8695
8798
  users: {
8696
8799
  /**
@@ -9486,6 +9589,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9486
9589
  /** Subject of the change request */
9487
9590
  subject?: ChangeRequestSubject;
9488
9591
  description?: JSONDocument;
9592
+ /** External links associated with the change request. */
9593
+ links?: ChangeRequestLinks;
9489
9594
  status?: "draft" | "open" | "archived";
9490
9595
  }, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
9491
9596
  /**
@@ -13502,31 +13607,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13502
13607
  * @secure
13503
13608
  */
13504
13609
  deleteSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13505
- /**
13506
- * No description
13507
- *
13508
- * @tags site-section-groups
13509
- * @name AddSectionToGroup
13510
- * @summary Add a section to a section group
13511
- * @request POST:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections
13512
- * @deprecated
13513
- * @secure
13514
- */
13515
- addSectionToGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
13516
- /** ID of the section to add to the section group */
13517
- sectionId: string;
13518
- }, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
13519
- /**
13520
- * No description
13521
- *
13522
- * @tags site-section-groups
13523
- * @name RemoveSectionFromGroup
13524
- * @summary Remove a section from a section group
13525
- * @request DELETE:/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}
13526
- * @deprecated
13527
- * @secure
13528
- */
13529
- removeSectionFromGroup: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, siteSectionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
13530
13610
  /**
13531
13611
  * No description
13532
13612
  *
@@ -14089,15 +14169,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14089
14169
  relevance?: SiteQuestionAnswerRelevance[];
14090
14170
  /** Filter questions by answer resolution. */
14091
14171
  answered?: SiteQuestionAnswerResolution[];
14092
- /** Filter questions by associated site topic ID. */
14093
- topic?: string;
14172
+ /** Filter questions by associated site topic IDs. */
14173
+ topic?: string[];
14094
14174
  /**
14095
14175
  * An order for the items in the list
14096
14176
  * @default "desc"
14097
14177
  */
14098
14178
  order?: "asc" | "desc";
14099
14179
  /** Sort questions by latest ask activity, answered rate, or positive feedback rate. If omitted, ordering stays on canonical question creation date to preserve current behavior. */
14100
- sort?: "askedAt" | "stats.answered" | "stats.feedback";
14180
+ sort?: "askedAt" | "stats.answered" | "stats.feedback" | "stats.answers";
14101
14181
  /** Identifier of the page results to fetch. */
14102
14182
  page?: string;
14103
14183
  /**
@@ -14118,7 +14198,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14118
14198
  * @request GET:/orgs/{organizationId}/sites/{siteId}/questions/{siteQuestionId}
14119
14199
  * @secure
14120
14200
  */
14121
- getSiteQuestionById: (organizationId: EntityId, siteId: string, siteQuestionId: string, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
14201
+ getSiteQuestionById: (organizationId: EntityId, siteId: string, siteQuestionId: string, query?: {
14202
+ /** Filter stats to answers created at or after this timestamp. */
14203
+ from?: Timestamp;
14204
+ /** Filter stats to answers created at or before this timestamp. */
14205
+ to?: Timestamp;
14206
+ /** Filter stats by question relevance. */
14207
+ relevance?: SiteQuestionAnswerRelevance[];
14208
+ /** Filter stats by answer resolution. */
14209
+ answered?: SiteQuestionAnswerResolution[];
14210
+ }, params?: RequestParams) => Promise<HttpResponse<SiteQuestion, any>>;
14122
14211
  /**
14123
14212
  * No description
14124
14213
  *
@@ -14137,6 +14226,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14137
14226
  * @max 1000
14138
14227
  */
14139
14228
  limit?: number;
14229
+ /** Filter sources to answers created at or after this timestamp. */
14230
+ from?: Timestamp;
14231
+ /** Filter sources to answers created at or before this timestamp. */
14232
+ to?: Timestamp;
14233
+ /** Filter answer sources by question relevance. */
14234
+ relevance?: SiteQuestionAnswerRelevance[];
14235
+ /** Filter answer sources by answer resolution. */
14236
+ answered?: SiteQuestionAnswerResolution[];
14140
14237
  }, params?: RequestParams) => Promise<HttpResponse<List & {
14141
14238
  items: SiteQuestionAnswerSource[];
14142
14239
  }, any>>;
@@ -14173,14 +14270,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14173
14270
  listSiteQuestionAnswers: (organizationId: EntityId, siteId: string, query?: {
14174
14271
  /** Filter answers to a specific site question ID. */
14175
14272
  question?: string;
14273
+ /** Filter answers created at or after this timestamp. */
14274
+ from?: Timestamp;
14275
+ /** Filter answers created at or before this timestamp. */
14276
+ to?: Timestamp;
14176
14277
  /** Filter answers by ISO language code. */
14177
14278
  language?: string;
14178
14279
  /** Filter answers by answered resolution. */
14179
- answered?: SiteQuestionAnswerResolution;
14280
+ answered?: SiteQuestionAnswerResolution[];
14180
14281
  /** Filter answers by answered helpfulness. */
14181
14282
  helpfulness?: SiteQuestionAnswerHelpfulness;
14182
14283
  /** Filter answers by question relevance. */
14183
- relevance?: SiteQuestionAnswerRelevance;
14284
+ relevance?: SiteQuestionAnswerRelevance[];
14184
14285
  /** Filter answers by question type. */
14185
14286
  "question.type"?: SiteQuestionType;
14186
14287
  /** Filter answers by associated site topic ID. */
@@ -14380,7 +14481,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14380
14481
  };
14381
14482
  themes?: {
14382
14483
  /** The theme mode default value. Set to null to reset the override. */
14383
- default?: CustomizationThemeMode | null;
14484
+ default?: CustomizationDefaultThemeMode | null;
14384
14485
  /** Should the reader be able to switch between dark and light mode. Set to null to reset the override. */
14385
14486
  toggeable?: boolean | null;
14386
14487
  };
@@ -15012,6 +15113,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15012
15113
  url: URL;
15013
15114
  /** HTTP headers sent with requests to this server */
15014
15115
  headers: SiteMcpServerHeaders;
15116
+ /** Conditional expression used to evaluate whether the MCP server should be available to the site's visitor (should evaluate to a boolean). If set to null, the condition will be removed. */
15117
+ condition?: Expression | null;
15015
15118
  }, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
15016
15119
  /**
15017
15120
  * No description
@@ -15042,6 +15145,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15042
15145
  url?: string;
15043
15146
  /** HTTP headers sent with requests to this server */
15044
15147
  headers?: SiteMcpServerHeaders;
15148
+ /** Conditional expression used to evaluate whether the MCP server should be available to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed. */
15149
+ condition?: Expression | null;
15045
15150
  }, params?: RequestParams) => Promise<HttpResponse<SiteMcpServer, any>>;
15046
15151
  /**
15047
15152
  * No description
@@ -25,6 +25,7 @@ export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "ful
25
25
  export declare const CHANGE_REQUEST_STATUS_ENUM: ["draft", "open", "archived", "merged"];
26
26
  export declare const CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
27
27
  export declare const CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
28
+ export declare const CHANGE_REQUEST_LINK_TITLE_MAX_LENGTH = 128;
28
29
  export declare const ORGANIZATION_TITLE_MAX_LENGTH = 255;
29
30
  export declare const ORGANIZATION_TITLE_MIN_LENGTH = 2;
30
31
  export declare const ORGANIZATION_TITLE_PATTERN = "\\S.*\\S";
@@ -79,7 +80,7 @@ export declare const SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-
79
80
  export declare const SITE_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth"];
80
81
  export declare const SITE_PERMISSIONS_MODEL_ENUM: ["legacy", "site"];
81
82
  export declare const SITE_ADS_TOPIC_ENUM: ["webdev", "crypto"];
82
- export declare const SITE_FEATURE_KEY_ENUM: ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-embed", "sites-api-playground", "sites-basic-customization", "sites-custom-domain", "sites-custom-fonts", "sites-custom-subdirectory", "sites-full-text-search", "sites-multivariant-site", "sites-no-custom-domain", "sites-page-feedback", "sites-page-traffic-insights", "sites-pdf-export", "sites-preview-deployments", "sites-public-visibility", "sites-redirects", "sites-search-insights", "sites-sections", "sites-seo", "sites-share-links", "sites-unlisted-visibility", "sites-user-contribution", "sites-visitor-authentication", "sites-visitors"];
83
+ export declare const SITE_FEATURE_KEY_ENUM: ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-connections", "sites-channels", "sites-embed", "sites-api-playground", "sites-basic-customization", "sites-custom-domain", "sites-custom-fonts", "sites-custom-subdirectory", "sites-full-text-search", "sites-multivariant-site", "sites-no-custom-domain", "sites-page-feedback", "sites-page-traffic-insights", "sites-pdf-export", "sites-preview-deployments", "sites-public-visibility", "sites-redirects", "sites-search-insights", "sites-sections", "sites-seo", "sites-share-links", "sites-unlisted-visibility", "sites-user-contribution", "sites-visitor-authentication", "sites-visitors"];
83
84
  export declare const SITE_CUSTOMIZATION_FEATURE_ENUM: ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
84
85
  export declare const CONTENT_KIT_ICON_ENUM: ["close", "edit", "github", "gitlab", "maximize", "email", "settings", "search", "delete", "star", "warning", "link", "link-external", "eye", "eye-off", "lock", "check", "check-circle"];
85
86
  export declare const SITE_SECTION_TITLE_MAX_LENGTH = 128;
@@ -126,7 +127,7 @@ export declare const CUSTOMIZATION_HEADER_PRESET_ENUM: ["default", "bold", "cont
126
127
  export declare const CUSTOMIZATION_CONTENT_LINK_TITLE_MAX_LENGTH = 64;
127
128
  export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
128
129
  export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
129
- export declare const CUSTOMIZATION_THEME_MODE_ENUM: ["light", "dark"];
130
+ export declare const CUSTOMIZATION_DEFAULT_THEME_MODE_ENUM: ["light", "dark", "system"];
130
131
  export declare const CUSTOMIZATION_AIMODE_ENUM: ["none", "search", "assistant"];
131
132
  export declare const CUSTOMIZATION_SUGGESTED_QUESTION_MAX_LENGTH = 64;
132
133
  export declare const CUSTOMIZATION_SUGGESTED_QUESTION_MIN_LENGTH = 3;
@@ -150,12 +151,15 @@ export declare const CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
150
151
  export declare const CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
151
152
  export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed"];
152
153
  export declare const CONTEXT_SEARCH_BOOST_ENUM: ["x0.8", "x1.0", "x1.2"];
154
+ export declare const YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
155
+ export declare const YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
153
156
  export declare const SITE_QUESTION_ANSWER_RELEVANCE_ENUM: ["relevant", "spam", "off-topic", "unclear"];
154
157
  export declare const SITE_QUESTION_ANSWER_RESOLUTION_ENUM: ["no", "partially", "yes"];
155
158
  export declare const SITE_QUESTION_ANSWER_HELPFULNESS_ENUM: ["low", "medium", "high"];
156
159
  export declare const SITE_CORE_CHANNEL_TYPE_ENUM: ["site", "embed", "api"];
157
- export declare const SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM: ["builtin:slack", "builtin:discord"];
160
+ export declare const SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM: ["builtin:slack", "builtin:discord", "builtin:github", "builtin:linear"];
158
161
  export declare const AIMESSAGE_ROLE_ENUM: ["user", "assistant", "developer"];
162
+ export declare const AIMESSAGE_STEP_PHASE_ENUM: ["commentary", "final_answer"];
159
163
  export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
160
164
  export declare const SITE_SETTINGS_SCAN_TOPICS_ENUM: ["auto", "never"];
161
165
  export declare const SITE_SETTINGS_FINDING_CHANGE_REQUESTS_ENUM: ["always", "auto-fixable", "never"];
@@ -174,6 +178,8 @@ export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
174
178
  export declare const SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
175
179
  export declare const SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
176
180
  export declare const SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
181
+ export declare const GENERIC_CHANNEL_PATTERN_PATTERN = "^[a-zA-Z0-9_\\*-]+$";
182
+ export declare const GIT_HUB_REPOSITORY_PATTERN_PATTERN = "^[a-zA-Z0-9._*-]+\\/[a-zA-Z0-9._*-]+$";
177
183
  export declare const SITE_CHANNEL_STATUS_ENUM: ["active", "pending"];
178
184
  export declare const SITE_CHANNEL_ROLE_ENUM: ["collaborator", "support"];
179
185
  export declare const CUSTOM_HOSTNAME_DNS_STATUS_ENUM: ["dns_passed", "dns_wrong_cname", "dns_no_cname", "dns_cloudflare_proxied", "dns_wrong_caa"];
@@ -191,6 +197,7 @@ export declare const GIT_SYNC_OPERATION_DIRECTION_ENUM: ["export", "import"];
191
197
  export declare const GIT_SYNC_OPERATION_STAGE_ENUM: ["repo_fetch", "config_check", "content_process", "finalize"];
192
198
  export declare const BILLING_STATUS_ENUM: ["trialing", "active", "past_due", "incomplete_expired", "canceled", "unpaid", "paused"];
193
199
  export declare const APIINTEGRATION_SCOPE_ENUM: ["integration:read", "integration:update", "integration:installation:read", "integration:installation:update"];
200
+ export declare const CUSTOMIZATION_THEME_MODE_ENUM: ["light", "dark"];
194
201
  export declare const SITE_ADS_STATUS_ENUM: ["pending", "in-review", "live", "rejected", "disabled"];
195
202
  export declare const SITE_QUESTION_ANSWER_SOURCE_TYPE_ENUM: ["page", "record"];
196
203
  export declare const AGENT_STATUS_ENUM: ["idle", "processing", "errored"];