@gitbook/api 0.146.0 → 0.147.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 +47 -7
- package/dist/constants.d.ts +158 -0
- package/dist/index.cjs +477 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +319 -1
- package/package.json +1 -1
- package/spec/openapi.json +191 -17
- package/spec/openapi.yaml +121 -14
package/dist/client.d.ts
CHANGED
|
@@ -404,6 +404,10 @@ export interface SearchPageResult {
|
|
|
404
404
|
title: string;
|
|
405
405
|
path: string;
|
|
406
406
|
sections?: SearchSectionResult[];
|
|
407
|
+
/** Data about the ancestors of the current page, from top-level to direct parent. */
|
|
408
|
+
ancestors: {
|
|
409
|
+
title: string;
|
|
410
|
+
}[];
|
|
407
411
|
/** URLs associated with the object */
|
|
408
412
|
urls: {
|
|
409
413
|
/**
|
|
@@ -1423,6 +1427,8 @@ export interface ComputedContentSourceOpenAPIBase {
|
|
|
1423
1427
|
export type ComputedContentSourceRevisionOpenAPI = ComputedContentSourceOpenAPIBase & {
|
|
1424
1428
|
props: {
|
|
1425
1429
|
models: boolean;
|
|
1430
|
+
/** Whether to show a link to download the OpenAPI spec. */
|
|
1431
|
+
downloadLink?: boolean;
|
|
1426
1432
|
};
|
|
1427
1433
|
};
|
|
1428
1434
|
export interface TranslationRef {
|
|
@@ -2087,7 +2093,7 @@ export interface ContentLocationReusableContent {
|
|
|
2087
2093
|
* Slug used as reference
|
|
2088
2094
|
* @minLength 1
|
|
2089
2095
|
* @maxLength 100
|
|
2090
|
-
* @pattern ^[a-
|
|
2096
|
+
* @pattern ^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$
|
|
2091
2097
|
*/
|
|
2092
2098
|
export type OpenAPISpecSlug = string;
|
|
2093
2099
|
/** Processing state */
|
|
@@ -4178,8 +4184,15 @@ export interface SubscriptionChanges {
|
|
|
4178
4184
|
} | {
|
|
4179
4185
|
/** The site identifier */
|
|
4180
4186
|
id: string;
|
|
4181
|
-
/** Can be set to `false` to unpublish a site */
|
|
4182
|
-
isPublished:
|
|
4187
|
+
/** Can be set to `false` or `true` to either unpublish or publish a site */
|
|
4188
|
+
isPublished: boolean;
|
|
4189
|
+
} | {
|
|
4190
|
+
/** The site identifier */
|
|
4191
|
+
id: string;
|
|
4192
|
+
/** The site type to migrate to */
|
|
4193
|
+
type: SiteType;
|
|
4194
|
+
/** Can be set to `false` or `true` to either unpublish or publish a site */
|
|
4195
|
+
isPublished: boolean;
|
|
4183
4196
|
})[];
|
|
4184
4197
|
}
|
|
4185
4198
|
export interface UpgradeOrganizationBilling {
|
|
@@ -5723,6 +5736,26 @@ export interface AIToolCallGetPageDiff {
|
|
|
5723
5736
|
spaceId: string;
|
|
5724
5737
|
page: ChangedRevisionPage;
|
|
5725
5738
|
}
|
|
5739
|
+
export interface AIToolCallCreateReusableContent {
|
|
5740
|
+
tool: 'createReusableContent';
|
|
5741
|
+
/** The ID of the space being edited. */
|
|
5742
|
+
spaceId: string;
|
|
5743
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5744
|
+
}
|
|
5745
|
+
export interface AIToolCallEditReusableContent {
|
|
5746
|
+
tool: 'editReusableContent';
|
|
5747
|
+
/** The ID of the space being edited. */
|
|
5748
|
+
spaceId: string;
|
|
5749
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5750
|
+
}
|
|
5751
|
+
export interface AIToolCallGetReusableContent {
|
|
5752
|
+
tool: 'getReusableContent';
|
|
5753
|
+
/** The ID of the space being accessed. */
|
|
5754
|
+
spaceId: string;
|
|
5755
|
+
/** The ID of the revision within which the reusable content is being fetched. */
|
|
5756
|
+
revisionId: string;
|
|
5757
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5758
|
+
}
|
|
5726
5759
|
export interface AIToolCallCreateChangeRequest {
|
|
5727
5760
|
tool: 'createChangeRequest';
|
|
5728
5761
|
/** The ID of the space the change request belongs to. */
|
|
@@ -5786,7 +5819,7 @@ export interface AIToolCallOther {
|
|
|
5786
5819
|
/** Summary of a generic tool call. */
|
|
5787
5820
|
summary: AIToolCallOtherSummary;
|
|
5788
5821
|
}
|
|
5789
|
-
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetPages | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
5822
|
+
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetPages | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
5790
5823
|
/** Message emitted by the server to indicate that the AI has called a tool. */
|
|
5791
5824
|
export interface AIStreamResponseToolCall {
|
|
5792
5825
|
type: 'response_tool_call';
|
|
@@ -8009,7 +8042,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8009
8042
|
* @request POST:/spaces/{spaceId}/content/template
|
|
8010
8043
|
* @secure
|
|
8011
8044
|
*/
|
|
8012
|
-
applyTemplateToSpace: (spaceId: string, data: ApplySpaceTemplate
|
|
8045
|
+
applyTemplateToSpace: (spaceId: string, data: ApplySpaceTemplate & {
|
|
8046
|
+
/** The ID of the change request to apply the template to. If not provided, the template is applied to the main content. */
|
|
8047
|
+
changeRequestId?: string;
|
|
8048
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8013
8049
|
/**
|
|
8014
8050
|
* No description
|
|
8015
8051
|
*
|
|
@@ -8299,9 +8335,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8299
8335
|
createChangeRequest: (spaceId: string, data: {
|
|
8300
8336
|
/** Subject of the change-request */
|
|
8301
8337
|
subject?: string;
|
|
8338
|
+
} & (Record<string, any> | ({
|
|
8302
8339
|
/** ID of the agent task to implement */
|
|
8303
|
-
agentTaskId
|
|
8304
|
-
}
|
|
8340
|
+
agentTaskId: string;
|
|
8341
|
+
} | {
|
|
8342
|
+
/** Template to apply to the change request */
|
|
8343
|
+
template: ApplySpaceTemplate;
|
|
8344
|
+
})), params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
8305
8345
|
/**
|
|
8306
8346
|
* No description
|
|
8307
8347
|
*
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export declare const APITOKEN_LABEL_MAX_LENGTH = 50;
|
|
2
|
+
export declare const URL_MAX_LENGTH = 2048;
|
|
3
|
+
export declare const SPACE_TITLE_MAX_LENGTH = 50;
|
|
4
|
+
export declare const EMOJI_MAX_LENGTH = 50;
|
|
5
|
+
export declare const CONTENT_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth", "in-collection", "private"];
|
|
6
|
+
export declare const SPACE_EDIT_MODE_ENUM: ["live", "locked"];
|
|
7
|
+
export declare const EXPRESSION_MAX_LENGTH = 1024;
|
|
8
|
+
export declare const EXPRESSION_MIN_LENGTH = 0;
|
|
9
|
+
export declare const TRANSLATION_LANGUAGE_ENUM: ["en", "fr", "de", "es", "it", "pt", "pt-br", "ru", "ja", "zh", "yue", "ko", "ar", "hi", "nl", "pl", "tr", "sv", "no", "da", "fi", "el", "cs", "hu", "ro", "th", "vi", "id", "ms", "he", "uk", "sk", "bg", "hr", "lt", "lv", "et", "sl"];
|
|
10
|
+
export declare const GIT_SYNC_PROVIDER_ENUM: ["github", "gitlab", "github-legacy"];
|
|
11
|
+
export declare const MEMBER_ROLE_ENUM: ["admin", "create", "edit", "review", "comment", "read"];
|
|
12
|
+
export declare const ORGANIZATION_TEAM_TITLE_MAX_LENGTH = 64;
|
|
13
|
+
export declare const ORGANIZATION_TEAM_TITLE_MIN_LENGTH = 1;
|
|
14
|
+
export declare const ICON_MAX_LENGTH = 50;
|
|
15
|
+
export declare const DOCUMENT_TEXT_COLOR_ENUM: ["default", "green", "blue", "red", "orange", "yellow", "purple", "$primary", "$info", "$success", "$warning", "$danger"];
|
|
16
|
+
export declare const DOCUMENT_TEXT_BACKGROUND_COLOR_ENUM: ["default", "green", "blue", "red", "orange", "yellow", "purple", "$primary", "$info", "$success", "$warning", "$danger"];
|
|
17
|
+
export declare const TEXT_ALIGNMENT_ENUM: ["start", "center", "end"];
|
|
18
|
+
export declare const CARDS_IMAGE_OBJECT_FIT_ENUM: ["contain", "fill", "cover"];
|
|
19
|
+
export declare const VERTICAL_ALIGNMENT_ENUM: ["top", "middle", "bottom"];
|
|
20
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: ["default", "wide"];
|
|
21
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "full"];
|
|
22
|
+
export declare const CHANGE_REQUEST_STATUS_ENUM: ["draft", "open", "archived", "merged"];
|
|
23
|
+
export declare const CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
|
|
24
|
+
export declare const CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
|
|
25
|
+
export declare const ORGANIZATION_TITLE_MAX_LENGTH = 255;
|
|
26
|
+
export declare const ORGANIZATION_TITLE_MIN_LENGTH = 2;
|
|
27
|
+
export declare const ORGANIZATION_HOSTNAME_MAX_LENGTH = 32;
|
|
28
|
+
export declare const ORGANIZATION_HOSTNAME_MIN_LENGTH = 3;
|
|
29
|
+
export declare const ORGANIZATION_TYPE_ENUM: ["business", "community"];
|
|
30
|
+
export declare const ORGANIZATION_USE_CASE_ENUM: ["internalDocs", "docsSite", "audienceControlledSite", "productDocs", "teamKnowledgeBase", "designSystem", "openSourceDocs", "notes", "other"];
|
|
31
|
+
export declare const ORGANIZATION_COMMUNITY_TYPE_ENUM: ["nonProfit", "openSource", "education"];
|
|
32
|
+
export declare const BILLING_PRODUCT_ENUM: ["free_2024", "plus_2024", "pro_2024", "enterprise_2024", "community_2024", "free", "plus", "pro", "internal"];
|
|
33
|
+
export declare const BILLING_INTERVAL_ENUM: ["monthly", "yearly"];
|
|
34
|
+
export declare const BILLING_TRIAL_STATUS_ENUM: ["notapplicable", "none", "active", "ended", "expired"];
|
|
35
|
+
export declare const BLOCK_SOURCE_ENUM: ["backoffice", "external", "internal"];
|
|
36
|
+
export declare const BLOCK_REASON_MAX_LENGTH = 255;
|
|
37
|
+
export declare const BLOCK_REASON_MIN_LENGTH = 1;
|
|
38
|
+
export declare const COLLECTION_TITLE_MAX_LENGTH = 50;
|
|
39
|
+
export declare const COLLECTION_DESCRIPTION_MAX_LENGTH = 100;
|
|
40
|
+
export declare const COLLECTION_DESCRIPTION_MIN_LENGTH = 0;
|
|
41
|
+
export declare const OPEN_APISPEC_SLUG_MAX_LENGTH = 100;
|
|
42
|
+
export declare const OPEN_APISPEC_SLUG_MIN_LENGTH = 1;
|
|
43
|
+
export declare const OPEN_APISPEC_SLUG_PATTERN = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$";
|
|
44
|
+
export declare const OPEN_APISPEC_PROCESSING_STATE_ENUM: ["pending", "progress", "complete"];
|
|
45
|
+
export declare const OPEN_APISPEC_VISIBILITY_ENUM: ["private", "public"];
|
|
46
|
+
export declare const OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM: ["FETCH_TIMEOUT", "FETCH_ERROR", "PARSE_ERROR"];
|
|
47
|
+
export declare const CONTENT_REFERENCE_STATUS_ENUM: ["ok", "broken", "in-app"];
|
|
48
|
+
export declare const CONTENT_REFERENCE_RELATION_ENUM: ["reference", "dependsOn"];
|
|
49
|
+
export declare const CHANGE_REQUEST_REVIEW_STATUS_ENUM: ["changes-requested", "approved"];
|
|
50
|
+
export declare const REVISION_PAGE_TYPE_ENUM: ["document", "group", "link", "computed"];
|
|
51
|
+
export declare const REVISION_PAGE_LAYOUT_PRESET_ENUM: ["docs", "editorial", "landing"];
|
|
52
|
+
export declare const INTEGRATION_TITLE_MAX_LENGTH = 30;
|
|
53
|
+
export declare const INTEGRATION_TITLE_MIN_LENGTH = 2;
|
|
54
|
+
export declare const INTEGRATION_DESCRIPTION_MAX_LENGTH = 100;
|
|
55
|
+
export declare const INTEGRATION_SUMMARY_MAX_LENGTH = 2048;
|
|
56
|
+
export declare const INTEGRATION_TARGET_ENUM: ["all", "site", "space", "organization"];
|
|
57
|
+
export declare const INTEGRATION_VISIBILITY_ENUM: ["public", "private", "unlisted"];
|
|
58
|
+
export declare const INTEGRATION_SCOPE_ENUM: ["space:content:read", "space:content:write", "space:metadata:read", "space:metadata:write", "space:git:sync", "page:feedback:read", "site:metadata:read", "site:views:read", "site:script:inject", "site:script:cookies", "site:visitor:auth", "site:adaptive:read", "site:adaptive:write", "openapi:read", "openapi:write", "conversations:ingest"];
|
|
59
|
+
export declare const INTEGRATION_CATEGORY_ENUM: ["analytics", "collaboration", "content", "gitsync", "marketing", "visitor-auth", "other"];
|
|
60
|
+
export declare const INTEGRATION_INSTALLATION_STATUS_ENUM: ["active", "pending", "paused"];
|
|
61
|
+
export declare const INTEGRATION_INSTALLATION_SPACE_SELECTION_ENUM: ["all", "selected"];
|
|
62
|
+
export declare const INTEGRATION_INSTALLATION_SITE_SELECTION_ENUM: ["all", "selected"];
|
|
63
|
+
export declare const PAGE_FEEDBACK_RATING_ENUM: ["bad", "ok", "good"];
|
|
64
|
+
export declare const SITE_TYPE_ENUM: ["basic", "premium", "ultimate", "sponsored", "legacy-basic", "legacy-premium"];
|
|
65
|
+
export declare const SITE_TITLE_MAX_LENGTH = 128;
|
|
66
|
+
export declare const SITE_TITLE_MIN_LENGTH = 2;
|
|
67
|
+
export declare const SITE_HOSTNAME_MAX_LENGTH = 512;
|
|
68
|
+
export declare const SITE_HOSTNAME_PATTERN = "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$";
|
|
69
|
+
export declare const SITE_BASENAME_MAX_LENGTH = 100;
|
|
70
|
+
export declare const SITE_BASENAME_MIN_LENGTH = 1;
|
|
71
|
+
export declare const SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
|
|
72
|
+
export declare const SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
|
|
73
|
+
export declare const SITE_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth"];
|
|
74
|
+
export declare const SITE_ADS_TOPIC_ENUM: ["webdev", "crypto"];
|
|
75
|
+
export declare const SITE_AGENTS_CONTEXT_ENUM: ["excluded", "included"];
|
|
76
|
+
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"];
|
|
77
|
+
export declare const SITE_CUSTOMIZATION_FEATURE_ENUM: ["header-logo", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
|
|
78
|
+
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"];
|
|
79
|
+
export declare const SITE_SECTION_TITLE_MAX_LENGTH = 128;
|
|
80
|
+
export declare const SITE_SECTION_TITLE_MIN_LENGTH = 2;
|
|
81
|
+
export declare const SITE_SECTION_DESCRIPTION_MAX_LENGTH = 256;
|
|
82
|
+
export declare const SITE_SECTION_DESCRIPTION_MIN_LENGTH = 0;
|
|
83
|
+
export declare const SITE_SECTION_PATH_MAX_LENGTH = 100;
|
|
84
|
+
export declare const SITE_SECTION_PATH_MIN_LENGTH = 1;
|
|
85
|
+
export declare const SITE_SPACE_PATH_MAX_LENGTH = 100;
|
|
86
|
+
export declare const SITE_SPACE_PATH_MIN_LENGTH = 1;
|
|
87
|
+
export declare const SITE_SECTION_GROUP_TITLE_MAX_LENGTH = 100;
|
|
88
|
+
export declare const SITE_SECTION_GROUP_TITLE_MIN_LENGTH = 1;
|
|
89
|
+
export declare const TEAM_MEMBER_ROLE_ENUM: ["owner", "member"];
|
|
90
|
+
export declare const BILLING_SWITCH_ACTION_ENUM: ["trial", "upgrade", "upgrade_passive", "downgrade", "undo_cancel", "switch_interval"];
|
|
91
|
+
export declare const BILLING_METER_ENUM: ["ai_responses", "ai_agent_responses", "translation_words"];
|
|
92
|
+
export declare const SAMLPROVIDER_LABEL_MAX_LENGTH = 30;
|
|
93
|
+
export declare const SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
94
|
+
export declare const SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
95
|
+
export declare const SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 10000;
|
|
96
|
+
export declare const SAMLPROVIDER_STATUS_ENUM: ["active", "pending"];
|
|
97
|
+
export declare const AGENT_TASK_STATUS_ENUM: ["backlog", "started", "completed", "canceled"];
|
|
98
|
+
export declare const TRANSLATION_STATUS_ENUM: ["pending", "running", "completed"];
|
|
99
|
+
export declare const STORAGE_UPLOAD_KIND_ENUM: ["customization_font", "import_file"];
|
|
100
|
+
export declare const FONT_FAMILY_MAX_LENGTH = 50;
|
|
101
|
+
export declare const FONT_FAMILY_MIN_LENGTH = 1;
|
|
102
|
+
export declare const STORAGE_FILE_KEY_MAX_LENGTH = 512;
|
|
103
|
+
export declare const STORAGE_FILE_KEY_MIN_LENGTH = 1;
|
|
104
|
+
export declare const CUSTOMIZATION_THEME_ENUM: ["clean", "muted", "bold", "gradient"];
|
|
105
|
+
export declare const COLOR_PATTERN = "^#(?:[0-9a-fA-F]{3}){1,2}$";
|
|
106
|
+
export declare const CUSTOMIZATION_CORNERS_ENUM: ["straight", "rounded", "circular"];
|
|
107
|
+
export declare const CUSTOMIZATION_DEPTH_ENUM: ["subtle", "flat"];
|
|
108
|
+
export declare const CUSTOMIZATION_LINKS_STYLE_ENUM: ["default", "accent"];
|
|
109
|
+
export declare const CUSTOMIZATION_DEFAULT_FONT_ENUM: ["ABCFavorit", "Inter", "Roboto", "RobotoSlab", "OpenSans", "SourceSansPro", "Lato", "Ubuntu", "Raleway", "Merriweather", "Overpass", "NotoSans", "IBMPlexSerif", "Poppins", "FiraSans"];
|
|
110
|
+
export declare const CUSTOMIZATION_DEFAULT_MONOSPACE_FONT_ENUM: ["FiraCode", "IBMPlexMono", "JetBrainsMono", "SourceCodePro", "RobotoMono", "SpaceMono", "DMMono", "Inconsolata"];
|
|
111
|
+
export declare const CUSTOMIZATION_BACKGROUND_ENUM: ["plain", "match"];
|
|
112
|
+
export declare const CUSTOMIZATION_ICONS_STYLE_ENUM: ["regular", "solid", "duotone", "light", "thin"];
|
|
113
|
+
export declare const CUSTOMIZATION_SIDEBAR_BACKGROUND_STYLE_ENUM: ["default", "filled"];
|
|
114
|
+
export declare const CUSTOMIZATION_SIDEBAR_LIST_STYLE_ENUM: ["default", "pill", "line"];
|
|
115
|
+
export declare const CUSTOMIZATION_SEARCH_STYLE_ENUM: ["prominent", "subtle"];
|
|
116
|
+
export declare const CUSTOMIZATION_LOCALE_ENUM: ["en", "fr", "es", "zh", "ja", "de", "nl", "no", "pt-br", "ru"];
|
|
117
|
+
export declare const CUSTOMIZATION_HEADER_PRESET_ENUM: ["default", "bold", "contrast", "custom", "none"];
|
|
118
|
+
export declare const CUSTOMIZATION_CONTENT_LINK_TITLE_MAX_LENGTH = 64;
|
|
119
|
+
export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
|
|
120
|
+
export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
|
|
121
|
+
export declare const CUSTOMIZATION_THEME_MODE_ENUM: ["light", "dark"];
|
|
122
|
+
export declare const CUSTOMIZATION_AIMODE_ENUM: ["none", "search", "assistant"];
|
|
123
|
+
export declare const SITE_EXTERNAL_LINKS_TARGET_ENUM: ["self", "blank"];
|
|
124
|
+
export declare const SHARE_LINK_NAME_MAX_LENGTH = 50;
|
|
125
|
+
export declare const SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
126
|
+
export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
127
|
+
export declare const SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM: ["site", "embed"];
|
|
128
|
+
export declare const SITE_INSIGHTS_LINK_POSITION_ENUM: ["announcement", "header", "footer", "sidebar", "content"];
|
|
129
|
+
export declare const SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM: ["sidebar", "ad", "footer", "pdf"];
|
|
130
|
+
export declare const SITE_INSIGHTS_AD_PLACEMENT_ENUM: ["aside"];
|
|
131
|
+
export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click"];
|
|
132
|
+
export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
133
|
+
export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "mobile", "unknown"];
|
|
134
|
+
export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
|
|
135
|
+
export declare const SITE_INSIGHTS_VISITOR_BOT_ENUM: ["unknown", "googlebot", "bingbot", "duckduckbot", "facebookbot", "applebot", "chatgpt", "anthropic"];
|
|
136
|
+
export declare const SITE_INSIGHTS_QUERY_OPERATOR_ENUM: ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
|
|
137
|
+
export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
138
|
+
export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|
|
139
|
+
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})+)*$";
|
|
140
|
+
export declare const SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
|
|
141
|
+
export declare const SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
|
|
142
|
+
export declare const CUSTOM_HOSTNAME_DNS_STATUS_ENUM: ["dns_passed", "dns_wrong_cname", "dns_no_cname", "dns_cloudflare_proxied", "dns_wrong_caa"];
|
|
143
|
+
export declare const CUSTOM_HOSTNAME_SSL_STATUS_ENUM: ["live", "ssl_unknown", "ssl_pending", "ssl_failed", "ssl_retry_expired"];
|
|
144
|
+
export declare const CUSTOM_HOSTNAME_ERROR_STATUS_ENUM: ["invalid_domain", "internal_error"];
|
|
145
|
+
export declare const CLOUDFLARE_HOSTNAME_STATUS_ENUM: ["pending", "active", "blocked", "moved", "deleted"];
|
|
146
|
+
export declare const CLOUDFLARE_HOSTNAME_TLSSTATUS_ENUM: ["initializing", "pending_validation", "pending_issuance", "pending_deployment", "active", "pending_deletion", "pending_cleanup", "deleted"];
|
|
147
|
+
export declare const CLOUDFLARE_HOSTNAME_TLSVALIDATION_METHOD_ENUM: ["http", "txt", "email"];
|
|
148
|
+
export declare const SHA256_MAX_LENGTH = 64;
|
|
149
|
+
export declare const SHA256_MIN_LENGTH = 64;
|
|
150
|
+
export declare const GIT_BOOK_USERS_ENUM: ["gitbook:agent"];
|
|
151
|
+
export declare const REVISION_SEMANTIC_CHANGE_TYPE_ENUM: ["page_created", "page_edited", "page_deleted", "page_moved", "file_created", "file_edited", "file_deleted", "custom_fields_edited"];
|
|
152
|
+
export declare const GIT_SYNC_OPERATION_STATE_ENUM: ["running", "failure", "success"];
|
|
153
|
+
export declare const GIT_SYNC_OPERATION_DIRECTION_ENUM: ["export", "import"];
|
|
154
|
+
export declare const GIT_SYNC_OPERATION_STAGE_ENUM: ["repo_fetch", "config_check", "content_process", "finalize"];
|
|
155
|
+
export declare const APIINTEGRATION_SCOPE_ENUM: ["integration:read", "integration:update", "integration:installation:read", "integration:installation:update"];
|
|
156
|
+
export declare const SITE_ADS_STATUS_ENUM: ["pending", "in-review", "live", "rejected", "disabled"];
|
|
157
|
+
export declare const AIMESSAGE_ROLE_ENUM: ["user", "assistant", "developer"];
|
|
158
|
+
export declare const AGENT_STATUS_ENUM: ["idle", "processing", "errored"];
|