@gitbook/api 0.194.0 → 0.195.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
@@ -347,12 +347,14 @@ export declare enum SiteFindingSeverity {
347
347
  * - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.
348
348
  * - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.
349
349
  * - Content gap: The content is missing important information that should be present to answer user questions effectively.
350
+ * - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.
350
351
  * - Other: Any other type of finding not covered by the above categories.
351
352
  */
352
353
  export declare enum SiteFindingType {
353
354
  ContentOutdated = "content-outdated",
354
355
  ContentIncorrect = "content-incorrect",
355
356
  ContentGap = "content-gap",
357
+ BrokenLink = "broken-link",
356
358
  Other = "other"
357
359
  }
358
360
  /**
@@ -725,12 +727,14 @@ export declare enum SiteFeatureKey {
725
727
  SitesAiSearch = "sites-ai-search",
726
728
  SitesAiAssistant = "sites-ai-assistant",
727
729
  SitesAiInsights = "sites-ai-insights",
730
+ SitesFixBrokenLinks = "sites-fix-broken-links",
728
731
  SitesConnections = "sites-connections",
729
732
  SitesContentGaps = "sites-content-gaps",
730
733
  SitesChannels = "sites-channels",
731
734
  SitesEmbed = "sites-embed",
732
735
  SitesApiPlayground = "sites-api-playground",
733
736
  SitesBasicCustomization = "sites-basic-customization",
737
+ SitesBrokenLinks = "sites-broken-links",
734
738
  SitesCustomDomain = "sites-custom-domain",
735
739
  SitesCustomFonts = "sites-custom-fonts",
736
740
  SitesCustomSubdirectory = "sites-custom-subdirectory",
@@ -819,7 +823,7 @@ export declare enum BillingCreditsBundle {
819
823
  Value135001500 = "13500_1500",
820
824
  Value240006000 = "24000_6000",
821
825
  Value4200018000 = "42000_18000",
822
- Value6500035000 = "65000_35000"
826
+ Value6000040000 = "60000_40000"
823
827
  }
824
828
  /** Interval for a billing subscription */
825
829
  export declare enum BillingInterval {
@@ -1303,6 +1307,16 @@ export interface MergeRulesConfigurationNone {
1303
1307
  }
1304
1308
  export type MergeRulesStandaloneConfiguration = MergeRulesConfigurationRules | MergeRulesConfigurationNone;
1305
1309
  export type MergeRulesSpaceConfiguration = MergeRulesConfigurationInherit | MergeRulesStandaloneConfiguration;
1310
+ /** An action the user can take to resolve a failed Git Sync operation. */
1311
+ export interface GitSyncOperationErrorAction {
1312
+ /** Label for the action. */
1313
+ label: string;
1314
+ /**
1315
+ * URL where the user can resolve the failure.
1316
+ * @format uri
1317
+ */
1318
+ url: string;
1319
+ }
1306
1320
  export interface GitSyncState {
1307
1321
  /** Repository name. */
1308
1322
  repoName?: string;
@@ -1334,6 +1348,8 @@ export interface GitSyncState {
1334
1348
  endedAt?: Timestamp;
1335
1349
  /** Why the operation failed, when it did. */
1336
1350
  error?: string;
1351
+ /** An action the user can take to resolve a failed Git Sync operation. */
1352
+ errorAction?: GitSyncOperationErrorAction;
1337
1353
  };
1338
1354
  /** When the Git provider details were last updated */
1339
1355
  updatedAt?: Timestamp;
@@ -3858,6 +3874,8 @@ export interface OrganizationBilling {
3858
3874
  canUseSAML: boolean;
3859
3875
  /** The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go. */
3860
3876
  creditsBundle: BillingCreditsBundle | null;
3877
+ /** Percentage of total AI credits remaining at which to send a low-balance alert, or null when the alert is disabled. */
3878
+ aiCreditAlertThreshold: number | null;
3861
3879
  }
3862
3880
  /**
3863
3881
  * A short description giving context on the reason for the block.
@@ -5687,10 +5705,23 @@ export type CreateSpace = {
5687
5705
  } | {
5688
5706
  empty: true;
5689
5707
  }));
5690
- /** An installed integration with its current status */
5708
+ /** The resource on which an integration is installed. */
5709
+ export type InstalledIntegrationTarget = {
5710
+ type: "organization";
5711
+ organizationId: string;
5712
+ } | {
5713
+ type: "site";
5714
+ siteId: string;
5715
+ } | {
5716
+ type: "space";
5717
+ spaceId: string;
5718
+ };
5719
+ /** An integration installation, its current status, and the resource it targets. */
5691
5720
  export interface InstalledIntegration {
5692
5721
  status: IntegrationInstallationStatus;
5693
5722
  integration: Integration;
5723
+ /** The resource on which an integration is installed. */
5724
+ target: InstalledIntegrationTarget;
5694
5725
  }
5695
5726
  /**
5696
5727
  * @minLength 1
@@ -6481,6 +6512,11 @@ export interface CustomizationAnnouncement {
6481
6512
  /** The style of the announcement. Used to style the banner with the right semantic color and enable/disable features like hiding the banner. */
6482
6513
  style: "info" | "warning" | "danger" | "success";
6483
6514
  }
6515
+ /**
6516
+ * Initial greeting displayed by the AI Assistant when a visitor starts a conversation.
6517
+ * @maxLength 256
6518
+ */
6519
+ export type CustomizationAIGreeting = string;
6484
6520
  /**
6485
6521
  * @minLength 3
6486
6522
  * @maxLength 64
@@ -6627,6 +6663,10 @@ export interface SiteCustomizationSettingsBase {
6627
6663
  };
6628
6664
  ai: {
6629
6665
  mode: CustomizationAIMode;
6666
+ /** Initial greeting displayed by the AI Assistant when a visitor starts a conversation. */
6667
+ greeting?: CustomizationAIGreeting;
6668
+ /** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
6669
+ localizedGreeting?: LocalizedString128;
6630
6670
  /** Suggested questions to display at the start of the chosen AI mode. */
6631
6671
  suggestions?: CustomizationSuggestedQuestions;
6632
6672
  /** Additional instructions for the AI Assistant, injected after the base system prompt. Use them to adjust tone of voice and contribute site-specific knowledge. These instructions refine, but never override, the assistant's built-in guardrails. Only available to site admins and never exposed on the published site. */
@@ -6952,6 +6992,50 @@ export type SiteTriageFilterConnections = string;
6952
6992
  * @maxLength 256
6953
6993
  */
6954
6994
  export type SiteFindingTitle = string;
6995
+ /**
6996
+ * The source path to redirect from.
6997
+ * @maxLength 512
6998
+ * @pattern ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
6999
+ */
7000
+ export type SiteRedirectSourcePath = string;
7001
+ export interface SiteRedirectDestinationSiteSection {
7002
+ kind: "site-section";
7003
+ /** Unique identifier for the site section to redirect to */
7004
+ siteSectionId: string;
7005
+ }
7006
+ export interface SiteRedirectDestinationSiteSpace {
7007
+ kind: "site-space";
7008
+ /** Unique identifier for the site space to redirect to */
7009
+ siteSpaceId: string;
7010
+ }
7011
+ export interface SiteRedirectDestinationPage {
7012
+ kind: "site-page";
7013
+ /** Unique identifier for the site space of the page */
7014
+ siteSpaceId: string;
7015
+ /** Unique identifier for the page within the site space to redirect to */
7016
+ pageId: string;
7017
+ }
7018
+ export interface SiteRedirectDestinationExternal {
7019
+ kind: "external";
7020
+ url: URL;
7021
+ }
7022
+ export type SiteRedirectDestination = SiteRedirectDestinationSiteSection | SiteRedirectDestinationSiteSpace | SiteRedirectDestinationPage | SiteRedirectDestinationExternal;
7023
+ export interface SiteRedirectInputDestinationPath {
7024
+ kind: "path";
7025
+ /** Unique identifier for the space containing the page referenced by the path. */
7026
+ spaceId: string;
7027
+ /** Path to the page within the space revision to resolve. */
7028
+ path: string;
7029
+ }
7030
+ export type SiteRedirectInputDestination = SiteRedirectDestination | SiteRedirectInputDestinationPath;
7031
+ /** Suggested fix for a broken-link finding, shaped as the input for `createSiteRedirect` so it can be applied directly. Absent when the finding has no directly applicable redirect (for example, a suggestion to create a new page). */
7032
+ export interface SiteFindingBrokenLinkAction {
7033
+ /** The source path to redirect from. */
7034
+ source: SiteRedirectSourcePath;
7035
+ /** Whether the redirect appends the wildcard-matched suffix of the source path to the destination. */
7036
+ captureWildcard?: boolean;
7037
+ destination: SiteRedirectInputDestination;
7038
+ }
6955
7039
  export interface SiteFinding {
6956
7040
  object: "site-finding";
6957
7041
  /** The ID of the finding */
@@ -6983,6 +7067,7 @@ export interface SiteFinding {
6983
7067
  * - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.
6984
7068
  * - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.
6985
7069
  * - Content gap: The content is missing important information that should be present to answer user questions effectively.
7070
+ * - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.
6986
7071
  * - Other: Any other type of finding not covered by the above categories.
6987
7072
  */
6988
7073
  type: SiteFindingType;
@@ -6991,6 +7076,8 @@ export interface SiteFinding {
6991
7076
  description: JSONDocument;
6992
7077
  /** Whether an AI agent should be able to fix this finding directly */
6993
7078
  autoFixable: boolean;
7079
+ /** Suggested fix for a broken-link finding, shaped as the input for `createSiteRedirect` so it can be applied directly. Absent when the finding has no directly applicable redirect (for example, a suggestion to create a new page). */
7080
+ brokenLinkAction?: SiteFindingBrokenLinkAction;
6994
7081
  createdAt: Timestamp;
6995
7082
  updatedAt: Timestamp;
6996
7083
  /** URLs associated with the finding */
@@ -7696,6 +7783,15 @@ export interface AIToolCallSetChangeRequestDetails {
7696
7783
  /** The ID of the change request. */
7697
7784
  changeRequestId: string;
7698
7785
  }
7786
+ export interface AIToolCallArchiveChangeRequest {
7787
+ tool: "archiveChangeRequest";
7788
+ /** The ID of the space the change request belongs to. */
7789
+ spaceId: string;
7790
+ /** The ID of the change request. */
7791
+ changeRequestId: string;
7792
+ /** Why the agent gave up on implementing the change request. */
7793
+ reason: string;
7794
+ }
7699
7795
  export interface AIToolCallComment {
7700
7796
  tool: "comment";
7701
7797
  /** The ID of the space being commented. */
@@ -7761,7 +7857,7 @@ export interface AIToolCallOther {
7761
7857
  /** Summary of a generic tool call. */
7762
7858
  summary: AIToolCallOtherSummary;
7763
7859
  }
7764
- export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallGetChangeRequestDetails | AIToolCallSetChangeRequestDetails | AIToolCallComment | AIToolCallReplyToComment | AIToolCallGetComments | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7860
+ export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallGetChangeRequestDetails | AIToolCallSetChangeRequestDetails | AIToolCallArchiveChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallGetComments | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7765
7861
  export interface Timerange {
7766
7862
  start: Timestamp;
7767
7863
  end: Timestamp;
@@ -8293,7 +8389,12 @@ export interface SiteInsightsQueryDateTimeColumn {
8293
8389
  column: "datetime";
8294
8390
  interval?: "hour" | "day" | "week" | "month";
8295
8391
  }
8392
+ /** Day of the week the event happened, in UTC, from 1 (Monday) to 7 (Sunday). Group by it alongside `hourOfDay` to fold any range into a weekly activity profile. */
8296
8393
  export type SiteInsightsQueryEventsColumn = SiteInsightsQueryDateTimeColumn | {
8394
+ column: "dayOfWeek";
8395
+ } | {
8396
+ column: "hourOfDay";
8397
+ } | {
8297
8398
  column: "url";
8298
8399
  } | {
8299
8400
  column: "urlPath";
@@ -8391,6 +8492,12 @@ export type SiteInsightsQueryEventsColumn = SiteInsightsQueryDateTimeColumn | {
8391
8492
  export type SiteInsightsQueryEventsValues = {
8392
8493
  column: "datetime";
8393
8494
  values: Timestamp[];
8495
+ } | {
8496
+ column: "dayOfWeek";
8497
+ values: number[];
8498
+ } | {
8499
+ column: "hourOfDay";
8500
+ values: number[];
8394
8501
  } | {
8395
8502
  column: "url";
8396
8503
  values: URL[];
@@ -8552,6 +8659,7 @@ export interface SiteInsightsQueryEventsAggregation {
8552
8659
  where?: SiteInsightsQueryEventsFilter[];
8553
8660
  groupBy?: SiteInsightsQueryEventsColumn[];
8554
8661
  order?: {
8662
+ /** Day of the week the event happened, in UTC, from 1 (Monday) to 7 (Sunday). Group by it alongside `hourOfDay` to fold any range into a weekly activity profile. */
8555
8663
  by: SiteInsightsQueryEventsColumn;
8556
8664
  direction: "asc" | "desc";
8557
8665
  };
@@ -8583,34 +8691,6 @@ export interface SiteAdsStats {
8583
8691
  clicks: number;
8584
8692
  revenue: string;
8585
8693
  }
8586
- /**
8587
- * The source path to redirect from.
8588
- * @maxLength 512
8589
- * @pattern ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
8590
- */
8591
- export type SiteRedirectSourcePath = string;
8592
- export interface SiteRedirectDestinationSiteSection {
8593
- kind: "site-section";
8594
- /** Unique identifier for the site section to redirect to */
8595
- siteSectionId: string;
8596
- }
8597
- export interface SiteRedirectDestinationSiteSpace {
8598
- kind: "site-space";
8599
- /** Unique identifier for the site space to redirect to */
8600
- siteSpaceId: string;
8601
- }
8602
- export interface SiteRedirectDestinationPage {
8603
- kind: "site-page";
8604
- /** Unique identifier for the site space of the page */
8605
- siteSpaceId: string;
8606
- /** Unique identifier for the page within the site space to redirect to */
8607
- pageId: string;
8608
- }
8609
- export interface SiteRedirectDestinationExternal {
8610
- kind: "external";
8611
- url: URL;
8612
- }
8613
- export type SiteRedirectDestination = SiteRedirectDestinationSiteSection | SiteRedirectDestinationSiteSpace | SiteRedirectDestinationPage | SiteRedirectDestinationExternal;
8614
8694
  export interface SiteRedirect {
8615
8695
  object: "site-redirect";
8616
8696
  /** The unique identifier for the redirect. */
@@ -8623,14 +8703,6 @@ export interface SiteRedirect {
8623
8703
  captureWildcard: boolean;
8624
8704
  destination: SiteRedirectDestination;
8625
8705
  }
8626
- export interface SiteRedirectInputDestinationPath {
8627
- kind: "path";
8628
- /** Unique identifier for the space containing the page referenced by the path. */
8629
- spaceId: string;
8630
- /** Path to the page within the space revision to resolve. */
8631
- path: string;
8632
- }
8633
- export type SiteRedirectInputDestination = SiteRedirectDestination | SiteRedirectInputDestinationPath;
8634
8706
  /**
8635
8707
  * Name of the MCP server
8636
8708
  * @minLength 1
@@ -8905,6 +8977,8 @@ export interface OrganizationBillingOverrides {
8905
8977
  aiCreditAllowance?: OrganizationBillingNumericOverride;
8906
8978
  /** Percentage of remaining paid AI credits carried into the next billing period. Paid self-serve organizations default to 50% when unset. */
8907
8979
  aiCreditRollover?: OrganizationBillingPercentageOverride;
8980
+ /** Percentage of total AI credits remaining at which to send a low-balance alert. */
8981
+ aiCreditAlertThreshold?: OrganizationBillingPercentageOverride;
8908
8982
  /** Current minimum users override, when set. */
8909
8983
  minUsers?: OrganizationBillingNumericOverride;
8910
8984
  /** Current maximum users override, when set. */
@@ -8961,6 +9035,8 @@ export interface PublishedSiteContent {
8961
9035
  export type PublishedSiteContentLookup = PublishedContentRedirect | PublishedSiteContent;
8962
9036
  /** An object that describes the payload of site visitor info. It can include a jwt token with signed claims and/or a record of its unsigned claims. */
8963
9037
  export interface SiteVisitorPayload {
9038
+ /** Whether the visitor is a human or an AI agent. Defaults to human when omitted. */
9039
+ type?: "human" | "agent";
8964
9040
  /** JWT token generated for a authenticated access session. */
8965
9041
  jwtToken?: string;
8966
9042
  unsignedClaims?: PlainObject;
@@ -9246,6 +9322,8 @@ export interface GitSyncSpaceOperation {
9246
9322
  completedAt?: Timestamp;
9247
9323
  /** Error details, defined if state is `failure`. */
9248
9324
  error?: string;
9325
+ /** An action the user can take to resolve a failed Git Sync operation. */
9326
+ errorAction?: GitSyncOperationErrorAction;
9249
9327
  }
9250
9328
  /**
9251
9329
  * Deprecated. Use `GitSyncSpaceOperation` instead.
@@ -9279,6 +9357,8 @@ export interface GitSyncSiteOperation {
9279
9357
  completedAt?: Timestamp;
9280
9358
  /** Error details, defined if state is `failure`. */
9281
9359
  error?: string;
9360
+ /** An action the user can take to resolve a failed Git Sync operation. */
9361
+ errorAction?: GitSyncOperationErrorAction;
9282
9362
  spaces: Record<string, GitSyncSpaceOperation>;
9283
9363
  }
9284
9364
  /**
@@ -9490,6 +9570,8 @@ export interface ContentAPIBaseToken {
9490
9570
  organization: string;
9491
9571
  /** List of spaces that the token is allowed to access. */
9492
9572
  spaces: string[];
9573
+ /** Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted. */
9574
+ visitorType?: "human" | "agent";
9493
9575
  /** Attributes or assertions that provide specific details about the visitor for which the token was generated. */
9494
9576
  claims?: Record<string, any>;
9495
9577
  /** Multiplier for the rate limit applied to the token. */
@@ -13572,7 +13654,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13572
13654
  }[];
13573
13655
  }, any>>;
13574
13656
  /**
13575
- * No description
13657
+ * @description Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource.
13576
13658
  *
13577
13659
  * @tags integrations, critical
13578
13660
  * @name ListOrganizationIntegrationsStatus
@@ -13594,6 +13676,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
13594
13676
  * @default "organization"
13595
13677
  */
13596
13678
  target?: "organization" | "space" | "site";
13679
+ /** Return installations for this site. Only valid when target is site. */
13680
+ site?: string;
13681
+ /** Return installations for this space. Only valid when target is space. */
13682
+ space?: string;
13597
13683
  }, params?: RequestParams) => Promise<HttpResponse<List & {
13598
13684
  items: InstalledIntegration[];
13599
13685
  }, any>>;
@@ -15194,8 +15280,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15194
15280
  topic?: string;
15195
15281
  /** Filter findings by status. */
15196
15282
  status?: SiteFindingStatus;
15197
- /** Filter findings by type. */
15198
- type?: SiteFindingType;
15283
+ /** Filter findings by type. When multiple types are given, findings matching any of them are returned. */
15284
+ type?: SiteFindingType[];
15199
15285
  /** Filter findings by estimated severity. */
15200
15286
  severity?: SiteFindingSeverity;
15201
15287
  /** Filter findings that have at least one associated change request. */
@@ -15354,8 +15440,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15354
15440
  topic?: string;
15355
15441
  /** Filter findings by status. */
15356
15442
  status?: SiteFindingStatus;
15357
- /** Filter findings by type. */
15358
- type?: SiteFindingType;
15443
+ /** Filter findings by type. When multiple types are given, findings matching any of them are returned. */
15444
+ type?: SiteFindingType[];
15359
15445
  /** Filter findings by estimated severity. */
15360
15446
  severity?: SiteFindingSeverity;
15361
15447
  /** Filter findings that have at least one associated change request. */
@@ -77,7 +77,7 @@ export declare const SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
77
77
  export declare const SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
78
78
  export declare const SITE_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth"];
79
79
  export declare const SITE_ADS_TOPIC_ENUM: ["webdev", "crypto"];
80
- 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-ai-insights", "sites-connections", "sites-content-gaps", "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"];
80
+ 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-ai-insights", "sites-fix-broken-links", "sites-connections", "sites-content-gaps", "sites-channels", "sites-embed", "sites-api-playground", "sites-basic-customization", "sites-broken-links", "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"];
81
81
  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"];
82
82
  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"];
83
83
  export declare const SITE_SECTION_TITLE_MAX_LENGTH = 128;
@@ -133,6 +133,7 @@ export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
133
133
  export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
134
134
  export declare const CUSTOMIZATION_DEFAULT_THEME_MODE_ENUM: ["light", "dark", "system"];
135
135
  export declare const CUSTOMIZATION_AIMODE_ENUM: ["none", "search", "assistant"];
136
+ export declare const CUSTOMIZATION_AIGREETING_MAX_LENGTH = 256;
136
137
  export declare const CUSTOMIZATION_SUGGESTED_QUESTION_MAX_LENGTH = 64;
137
138
  export declare const CUSTOMIZATION_SUGGESTED_QUESTION_MIN_LENGTH = 3;
138
139
  export declare const CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH = 10000;
@@ -150,12 +151,14 @@ export declare const CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
150
151
  export declare const CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
151
152
  export declare const SITE_SCAN_STATUS_ENUM: ["pending", "running", "done", "failed"];
152
153
  export declare const SITE_FINDING_STATUS_ENUM: ["candidate", "open", "done", "canceled"];
153
- export declare const SITE_FINDING_TYPE_ENUM: ["content-outdated", "content-incorrect", "content-gap", "other"];
154
+ export declare const SITE_FINDING_TYPE_ENUM: ["content-outdated", "content-incorrect", "content-gap", "broken-link", "other"];
154
155
  export declare const SITE_FINDING_SEVERITY_ENUM: ["low", "medium", "high"];
155
156
  export declare const SITE_TRIAGE_FILTER_QUESTIONS_ENUM: ["questions"];
156
157
  export declare const SITE_TRIAGE_FILTER_CONNECTIONS_PATTERN = "^connection:.+$";
157
158
  export declare const SITE_FINDING_ORDER_BY_ENUM: ["updatedAt", "severity", "sources"];
158
159
  export declare const SITE_FINDING_TITLE_MAX_LENGTH = 256;
160
+ export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
161
+ 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})+)*(?:\\/\\*|\\*)?$";
159
162
  export declare const SITE_QUESTION_TYPE_ENUM: ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
160
163
  export declare const CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
161
164
  export declare const CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
@@ -187,8 +190,6 @@ export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "m
187
190
  export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
188
191
  export declare const SITE_INSIGHTS_QUERY_OPERATOR_ENUM: ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
189
192
  export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
190
- export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
191
- 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})+)*(?:\\/\\*|\\*)?$";
192
193
  export declare const SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
193
194
  export declare const SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
194
195
  export declare const SITE_MCP_SERVER_TRANSPORT_ENUM: ["sse", "http"];
package/dist/index.cjs CHANGED
@@ -239,6 +239,7 @@ __export(src_exports, {
239
239
  CONTEXT_RECORD_TITLE_MIN_LENGTH: () => CONTEXT_RECORD_TITLE_MIN_LENGTH,
240
240
  CONTEXT_RECORD_TYPE_ENUM: () => CONTEXT_RECORD_TYPE_ENUM,
241
241
  CONTEXT_SEARCH_BOOST_ENUM: () => CONTEXT_SEARCH_BOOST_ENUM,
242
+ CUSTOMIZATION_AIGREETING_MAX_LENGTH: () => CUSTOMIZATION_AIGREETING_MAX_LENGTH,
242
243
  CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH: () => CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH,
243
244
  CUSTOMIZATION_AIMODE_ENUM: () => CUSTOMIZATION_AIMODE_ENUM,
244
245
  CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH: () => CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
@@ -529,7 +530,7 @@ module.exports = __toCommonJS(src_exports);
529
530
 
530
531
  // package.json
531
532
  var name = "@gitbook/api";
532
- var version = "0.194.0";
533
+ var version = "0.195.0";
533
534
 
534
535
  // src/client.ts
535
536
  var import_event_iterator = __toESM(require_node(), 1);
@@ -995,6 +996,7 @@ var SiteFindingType = /* @__PURE__ */ ((SiteFindingType2) => {
995
996
  SiteFindingType2["ContentOutdated"] = "content-outdated";
996
997
  SiteFindingType2["ContentIncorrect"] = "content-incorrect";
997
998
  SiteFindingType2["ContentGap"] = "content-gap";
999
+ SiteFindingType2["BrokenLink"] = "broken-link";
998
1000
  SiteFindingType2["Other"] = "other";
999
1001
  return SiteFindingType2;
1000
1002
  })(SiteFindingType || {});
@@ -1327,12 +1329,14 @@ var SiteFeatureKey = /* @__PURE__ */ ((SiteFeatureKey2) => {
1327
1329
  SiteFeatureKey2["SitesAiSearch"] = "sites-ai-search";
1328
1330
  SiteFeatureKey2["SitesAiAssistant"] = "sites-ai-assistant";
1329
1331
  SiteFeatureKey2["SitesAiInsights"] = "sites-ai-insights";
1332
+ SiteFeatureKey2["SitesFixBrokenLinks"] = "sites-fix-broken-links";
1330
1333
  SiteFeatureKey2["SitesConnections"] = "sites-connections";
1331
1334
  SiteFeatureKey2["SitesContentGaps"] = "sites-content-gaps";
1332
1335
  SiteFeatureKey2["SitesChannels"] = "sites-channels";
1333
1336
  SiteFeatureKey2["SitesEmbed"] = "sites-embed";
1334
1337
  SiteFeatureKey2["SitesApiPlayground"] = "sites-api-playground";
1335
1338
  SiteFeatureKey2["SitesBasicCustomization"] = "sites-basic-customization";
1339
+ SiteFeatureKey2["SitesBrokenLinks"] = "sites-broken-links";
1336
1340
  SiteFeatureKey2["SitesCustomDomain"] = "sites-custom-domain";
1337
1341
  SiteFeatureKey2["SitesCustomFonts"] = "sites-custom-fonts";
1338
1342
  SiteFeatureKey2["SitesCustomSubdirectory"] = "sites-custom-subdirectory";
@@ -1417,7 +1421,7 @@ var BillingCreditsBundle = /* @__PURE__ */ ((BillingCreditsBundle2) => {
1417
1421
  BillingCreditsBundle2["Value135001500"] = "13500_1500";
1418
1422
  BillingCreditsBundle2["Value240006000"] = "24000_6000";
1419
1423
  BillingCreditsBundle2["Value4200018000"] = "42000_18000";
1420
- BillingCreditsBundle2["Value6500035000"] = "65000_35000";
1424
+ BillingCreditsBundle2["Value6000040000"] = "60000_40000";
1421
1425
  return BillingCreditsBundle2;
1422
1426
  })(BillingCreditsBundle || {});
1423
1427
  var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
@@ -4807,7 +4811,7 @@ var SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
4807
4811
  var SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
4808
4812
  var SITE_VISIBILITY_ENUM = ["public", "unlisted", "share-link", "visitor-auth"];
4809
4813
  var SITE_ADS_TOPIC_ENUM = ["webdev", "crypto"];
4810
- var SITE_FEATURE_KEY_ENUM = ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-ai-insights", "sites-connections", "sites-content-gaps", "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"];
4814
+ var SITE_FEATURE_KEY_ENUM = ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-ai-insights", "sites-fix-broken-links", "sites-connections", "sites-content-gaps", "sites-channels", "sites-embed", "sites-api-playground", "sites-basic-customization", "sites-broken-links", "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"];
4811
4815
  var SITE_CUSTOMIZATION_FEATURE_ENUM = ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
4812
4816
  var 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"];
4813
4817
  var SITE_SECTION_TITLE_MAX_LENGTH = 128;
@@ -4863,6 +4867,7 @@ var CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
4863
4867
  var CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
4864
4868
  var CUSTOMIZATION_DEFAULT_THEME_MODE_ENUM = ["light", "dark", "system"];
4865
4869
  var CUSTOMIZATION_AIMODE_ENUM = ["none", "search", "assistant"];
4870
+ var CUSTOMIZATION_AIGREETING_MAX_LENGTH = 256;
4866
4871
  var CUSTOMIZATION_SUGGESTED_QUESTION_MAX_LENGTH = 64;
4867
4872
  var CUSTOMIZATION_SUGGESTED_QUESTION_MIN_LENGTH = 3;
4868
4873
  var CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH = 1e4;
@@ -4880,12 +4885,14 @@ var CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
4880
4885
  var CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
4881
4886
  var SITE_SCAN_STATUS_ENUM = ["pending", "running", "done", "failed"];
4882
4887
  var SITE_FINDING_STATUS_ENUM = ["candidate", "open", "done", "canceled"];
4883
- var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-gap", "other"];
4888
+ var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-gap", "broken-link", "other"];
4884
4889
  var SITE_FINDING_SEVERITY_ENUM = ["low", "medium", "high"];
4885
4890
  var SITE_TRIAGE_FILTER_QUESTIONS_ENUM = ["questions"];
4886
4891
  var SITE_TRIAGE_FILTER_CONNECTIONS_PATTERN = "^connection:.+$";
4887
4892
  var SITE_FINDING_ORDER_BY_ENUM = ["updatedAt", "severity", "sources"];
4888
4893
  var SITE_FINDING_TITLE_MAX_LENGTH = 256;
4894
+ var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
4895
+ var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
4889
4896
  var SITE_QUESTION_TYPE_ENUM = ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
4890
4897
  var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
4891
4898
  var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
@@ -4917,8 +4924,6 @@ var SITE_INSIGHTS_VISITOR_DEVICE_ENUM = ["desktop", "tablet", "mobile", "unknown
4917
4924
  var SITE_INSIGHTS_VISITOR_OS_ENUM = ["windows", "macos", "linux", "android", "ios", "unknown"];
4918
4925
  var SITE_INSIGHTS_QUERY_OPERATOR_ENUM = ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
4919
4926
  var SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM = ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
4920
- var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
4921
- var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
4922
4927
  var SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
4923
4928
  var SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
4924
4929
  var SITE_MCP_SERVER_TRANSPORT_ENUM = ["sse", "http"];
@@ -5073,6 +5078,7 @@ var GitBookAPI = class extends Api {
5073
5078
  CONTEXT_RECORD_TITLE_MIN_LENGTH,
5074
5079
  CONTEXT_RECORD_TYPE_ENUM,
5075
5080
  CONTEXT_SEARCH_BOOST_ENUM,
5081
+ CUSTOMIZATION_AIGREETING_MAX_LENGTH,
5076
5082
  CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH,
5077
5083
  CUSTOMIZATION_AIMODE_ENUM,
5078
5084
  CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
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.194.0";
175
+ var version = "0.195.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -638,6 +638,7 @@ var SiteFindingType = /* @__PURE__ */ ((SiteFindingType2) => {
638
638
  SiteFindingType2["ContentOutdated"] = "content-outdated";
639
639
  SiteFindingType2["ContentIncorrect"] = "content-incorrect";
640
640
  SiteFindingType2["ContentGap"] = "content-gap";
641
+ SiteFindingType2["BrokenLink"] = "broken-link";
641
642
  SiteFindingType2["Other"] = "other";
642
643
  return SiteFindingType2;
643
644
  })(SiteFindingType || {});
@@ -970,12 +971,14 @@ var SiteFeatureKey = /* @__PURE__ */ ((SiteFeatureKey2) => {
970
971
  SiteFeatureKey2["SitesAiSearch"] = "sites-ai-search";
971
972
  SiteFeatureKey2["SitesAiAssistant"] = "sites-ai-assistant";
972
973
  SiteFeatureKey2["SitesAiInsights"] = "sites-ai-insights";
974
+ SiteFeatureKey2["SitesFixBrokenLinks"] = "sites-fix-broken-links";
973
975
  SiteFeatureKey2["SitesConnections"] = "sites-connections";
974
976
  SiteFeatureKey2["SitesContentGaps"] = "sites-content-gaps";
975
977
  SiteFeatureKey2["SitesChannels"] = "sites-channels";
976
978
  SiteFeatureKey2["SitesEmbed"] = "sites-embed";
977
979
  SiteFeatureKey2["SitesApiPlayground"] = "sites-api-playground";
978
980
  SiteFeatureKey2["SitesBasicCustomization"] = "sites-basic-customization";
981
+ SiteFeatureKey2["SitesBrokenLinks"] = "sites-broken-links";
979
982
  SiteFeatureKey2["SitesCustomDomain"] = "sites-custom-domain";
980
983
  SiteFeatureKey2["SitesCustomFonts"] = "sites-custom-fonts";
981
984
  SiteFeatureKey2["SitesCustomSubdirectory"] = "sites-custom-subdirectory";
@@ -1060,7 +1063,7 @@ var BillingCreditsBundle = /* @__PURE__ */ ((BillingCreditsBundle2) => {
1060
1063
  BillingCreditsBundle2["Value135001500"] = "13500_1500";
1061
1064
  BillingCreditsBundle2["Value240006000"] = "24000_6000";
1062
1065
  BillingCreditsBundle2["Value4200018000"] = "42000_18000";
1063
- BillingCreditsBundle2["Value6500035000"] = "65000_35000";
1066
+ BillingCreditsBundle2["Value6000040000"] = "60000_40000";
1064
1067
  return BillingCreditsBundle2;
1065
1068
  })(BillingCreditsBundle || {});
1066
1069
  var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
@@ -4450,7 +4453,7 @@ var SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
4450
4453
  var SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
4451
4454
  var SITE_VISIBILITY_ENUM = ["public", "unlisted", "share-link", "visitor-auth"];
4452
4455
  var SITE_ADS_TOPIC_ENUM = ["webdev", "crypto"];
4453
- var SITE_FEATURE_KEY_ENUM = ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-ai-insights", "sites-connections", "sites-content-gaps", "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"];
4456
+ var SITE_FEATURE_KEY_ENUM = ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-ai-insights", "sites-fix-broken-links", "sites-connections", "sites-content-gaps", "sites-channels", "sites-embed", "sites-api-playground", "sites-basic-customization", "sites-broken-links", "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"];
4454
4457
  var SITE_CUSTOMIZATION_FEATURE_ENUM = ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
4455
4458
  var 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"];
4456
4459
  var SITE_SECTION_TITLE_MAX_LENGTH = 128;
@@ -4506,6 +4509,7 @@ var CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
4506
4509
  var CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
4507
4510
  var CUSTOMIZATION_DEFAULT_THEME_MODE_ENUM = ["light", "dark", "system"];
4508
4511
  var CUSTOMIZATION_AIMODE_ENUM = ["none", "search", "assistant"];
4512
+ var CUSTOMIZATION_AIGREETING_MAX_LENGTH = 256;
4509
4513
  var CUSTOMIZATION_SUGGESTED_QUESTION_MAX_LENGTH = 64;
4510
4514
  var CUSTOMIZATION_SUGGESTED_QUESTION_MIN_LENGTH = 3;
4511
4515
  var CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH = 1e4;
@@ -4523,12 +4527,14 @@ var CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
4523
4527
  var CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
4524
4528
  var SITE_SCAN_STATUS_ENUM = ["pending", "running", "done", "failed"];
4525
4529
  var SITE_FINDING_STATUS_ENUM = ["candidate", "open", "done", "canceled"];
4526
- var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-gap", "other"];
4530
+ var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-gap", "broken-link", "other"];
4527
4531
  var SITE_FINDING_SEVERITY_ENUM = ["low", "medium", "high"];
4528
4532
  var SITE_TRIAGE_FILTER_QUESTIONS_ENUM = ["questions"];
4529
4533
  var SITE_TRIAGE_FILTER_CONNECTIONS_PATTERN = "^connection:.+$";
4530
4534
  var SITE_FINDING_ORDER_BY_ENUM = ["updatedAt", "severity", "sources"];
4531
4535
  var SITE_FINDING_TITLE_MAX_LENGTH = 256;
4536
+ var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
4537
+ var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
4532
4538
  var SITE_QUESTION_TYPE_ENUM = ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
4533
4539
  var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
4534
4540
  var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
@@ -4560,8 +4566,6 @@ var SITE_INSIGHTS_VISITOR_DEVICE_ENUM = ["desktop", "tablet", "mobile", "unknown
4560
4566
  var SITE_INSIGHTS_VISITOR_OS_ENUM = ["windows", "macos", "linux", "android", "ios", "unknown"];
4561
4567
  var SITE_INSIGHTS_QUERY_OPERATOR_ENUM = ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
4562
4568
  var SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM = ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
4563
- var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
4564
- var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
4565
4569
  var SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
4566
4570
  var SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
4567
4571
  var SITE_MCP_SERVER_TRANSPORT_ENUM = ["sse", "http"];
@@ -4715,6 +4719,7 @@ export {
4715
4719
  CONTEXT_RECORD_TITLE_MIN_LENGTH,
4716
4720
  CONTEXT_RECORD_TYPE_ENUM,
4717
4721
  CONTEXT_SEARCH_BOOST_ENUM,
4722
+ CUSTOMIZATION_AIGREETING_MAX_LENGTH,
4718
4723
  CUSTOMIZATION_AIINSTRUCTIONS_MAX_LENGTH,
4719
4724
  CUSTOMIZATION_AIMODE_ENUM,
4720
4725
  CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
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.194.0",
7
+ "version": "0.195.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",