@gitbook/api 0.165.0 → 0.166.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 +2154 -1810
- package/dist/constants.d.ts +7 -2
- package/dist/index.cjs +994 -881
- package/dist/index.js +981 -878
- package/package.json +2 -2
- package/spec/openapi.json +1809 -895
- package/spec/openapi.yaml +1145 -601
package/dist/constants.d.ts
CHANGED
|
@@ -138,13 +138,19 @@ export declare const CONTEXT_RECORD_TYPE_ENUM: ["ticket", "document"];
|
|
|
138
138
|
export declare const CONTEXT_RECORD_TITLE_MAX_LENGTH = 256;
|
|
139
139
|
export declare const CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
|
|
140
140
|
export declare const CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
|
|
141
|
+
export declare const SITE_ISSUE_STATUS_ENUM: ["open", "done", "canceled"];
|
|
142
|
+
export declare const SITE_ISSUE_TYPE_ENUM: ["content-outdated", "incoherence", "content-gap", "other"];
|
|
143
|
+
export declare const SITE_ISSUE_PRIORITY_ENUM: ["low", "medium", "high"];
|
|
144
|
+
export declare const SITE_ISSUE_TITLE_MAX_LENGTH = 256;
|
|
141
145
|
export declare const CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
|
|
142
146
|
export declare const CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
|
|
143
147
|
export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed"];
|
|
144
148
|
export declare const SITE_QUESTION_TYPE_ENUM: ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
|
|
145
149
|
export declare const SITE_QUESTION_ANSWER_RESOLUTION_ENUM: ["no", "partially", "yes"];
|
|
146
|
-
export declare const SITE_QUESTION_ANSWER_CONFIDENCE_ENUM: ["low", "medium", "high"];
|
|
147
150
|
export declare const SITE_QUESTION_ANSWER_RELEVANCE_ENUM: ["relevant", "spam", "off-topic", "unclear"];
|
|
151
|
+
export declare const SITE_QUESTION_ANSWER_HELPFULNESS_ENUM: ["low", "medium", "high"];
|
|
152
|
+
export declare const SITE_CORE_CHANNEL_TYPE_ENUM: ["site", "embed", "api"];
|
|
153
|
+
export declare const SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM: ["builtin:slack", "builtin:discord"];
|
|
148
154
|
export declare const AIMESSAGE_ROLE_ENUM: ["user", "assistant", "developer"];
|
|
149
155
|
export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
150
156
|
export declare const SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM: ["site", "embed", "mcp"];
|
|
@@ -155,7 +161,6 @@ export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "search_open",
|
|
|
155
161
|
export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
156
162
|
export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "mobile", "unknown"];
|
|
157
163
|
export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
|
|
158
|
-
export declare const SITE_INSIGHTS_VISITOR_BOT_ENUM: ["unknown", "googlebot", "bingbot", "duckduckbot", "facebookbot", "applebot", "chatgpt", "anthropic", "gemini", "perplexity", "cohere", "mistral", "deepseek", "meta", "bytespider", "ccbot", "amazonbot", "youbot"];
|
|
159
164
|
export declare const SITE_INSIGHTS_QUERY_OPERATOR_ENUM: ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
|
|
160
165
|
export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
161
166
|
export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|