@gitbook/api 0.202.0 → 0.204.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 +768 -52
- package/dist/constants.d.ts +10 -7
- package/dist/index.cjs +126 -12
- package/dist/index.js +120 -12
- package/package.json +1 -1
- package/spec/openapi.json +2229 -54
- package/spec/openapi.yaml +1588 -44
package/dist/constants.d.ts
CHANGED
|
@@ -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-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"];
|
|
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-style-guide", "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_ONBOARDING_SOURCE_ENUM: ["markdown-in-git", "import", "template"];
|
|
@@ -101,7 +101,7 @@ export declare const BILLING_COUPON_MIN_LENGTH = 1;
|
|
|
101
101
|
export declare const BILLING_METER_ENUM: ["ai_responses", "ai_agent_responses", "translation_words"];
|
|
102
102
|
export declare const BILLING_SWITCH_ACTION_ENUM: ["trial", "upgrade", "upgrade_passive", "downgrade", "switch_interval"];
|
|
103
103
|
export declare const AIUSAGE_INTERVAL_ENUM: ["day", "week", "month", "year"];
|
|
104
|
-
export declare const ORGANIZATION_FEATURE_ENUM: ["max-members", "ai-lens", "pdf-export", "ai-writing", "reusable-content", "translations", "members-advanced-roles", "members-teams", "members-team-owners", "security-saml", "change-requests-merge-rules"];
|
|
104
|
+
export declare const ORGANIZATION_FEATURE_ENUM: ["max-members", "ai", "ai-lens", "pdf-export", "ai-writing", "reusable-content", "translations", "members-advanced-roles", "members-teams", "members-team-owners", "security-saml", "change-requests-merge-rules"];
|
|
105
105
|
export declare const SAMLPROVIDER_LABEL_MAX_LENGTH = 30;
|
|
106
106
|
export declare const SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
107
107
|
export declare const SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
@@ -149,6 +149,7 @@ export declare const SITE_EXTERNAL_LINKS_TARGET_ENUM: ["self", "blank"];
|
|
|
149
149
|
export declare const SITE_SOCIAL_ACCOUNT_PLATFORM_ENUM: ["twitter", "instagram", "facebook", "linkedin", "github", "discord", "slack", "youtube", "tiktok", "reddit", "bluesky", "mastodon", "threads", "medium"];
|
|
150
150
|
export declare const SITE_SOCIAL_ACCOUNT_HANDLE_MAX_LENGTH = 128;
|
|
151
151
|
export declare const SITE_SOCIAL_ACCOUNT_HANDLE_MIN_LENGTH = 1;
|
|
152
|
+
export declare const SITE_CHANGE_REQUEST_MEMBER_STATUS_ENUM: ["active", "removed"];
|
|
152
153
|
export declare const SHARE_LINK_NAME_MAX_LENGTH = 50;
|
|
153
154
|
export declare const SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
154
155
|
export declare const AGENT_GOAL_MAX_LENGTH = 1024;
|
|
@@ -163,7 +164,7 @@ export declare const SITE_FINDING_TYPE_ENUM: ["content-outdated", "content-incor
|
|
|
163
164
|
export declare const SITE_FINDING_SEVERITY_ENUM: ["low", "medium", "high"];
|
|
164
165
|
export declare const SITE_TRIAGE_FILTER_QUESTIONS_ENUM: ["questions"];
|
|
165
166
|
export declare const SITE_TRIAGE_FILTER_CONNECTIONS_PATTERN = "^connection:.+$";
|
|
166
|
-
export declare const SITE_FINDING_ORDER_BY_ENUM: ["updatedAt", "severity", "sources"];
|
|
167
|
+
export declare const SITE_FINDING_ORDER_BY_ENUM: ["updatedAt", "severity", "sources", "suggestedFix"];
|
|
167
168
|
export declare const SITE_FINDING_TITLE_MAX_LENGTH = 256;
|
|
168
169
|
export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|
|
169
170
|
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})+)*(?:\\/\\*|\\*)?$";
|
|
@@ -172,8 +173,9 @@ export declare const CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
|
|
|
172
173
|
export declare const CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
|
|
173
174
|
export declare const CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
|
|
174
175
|
export declare const CONTEXT_CONNECTION_FILTER_MIN_LENGTH = 0;
|
|
175
|
-
export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed"];
|
|
176
|
+
export declare const CONTEXT_CONNECTION_STATUS_ENUM: ["pending", "syncing", "succeeded", "failed", "skipped"];
|
|
176
177
|
export declare const CONTEXT_CONNECTION_FAILURE_REASON_ENUM: ["authentication", "misconfigured", "rate_limited", "upstream_unavailable", "unknown"];
|
|
178
|
+
export declare const AISKIP_REASON_ENUM: ["ai_unavailable_for_organization", "ai_unavailable_for_site", "ai_disabled", "ai_restricted", "ai_paused"];
|
|
177
179
|
export declare const CONTEXT_SEARCH_BOOST_ENUM: ["x0.8", "x1.0", "x1.2"];
|
|
178
180
|
export declare const YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
|
|
179
181
|
export declare const YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
|
|
@@ -194,13 +196,13 @@ export declare const SITE_INSIGHTS_LINK_POSITION_ENUM: ["announcement", "header"
|
|
|
194
196
|
export declare const SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM: ["sidebar", "ad", "footer", "pdf", "embed"];
|
|
195
197
|
export declare const SITE_INSIGHTS_AD_PLACEMENT_ENUM: ["aside"];
|
|
196
198
|
export declare const SITE_INSIGHTS_LLMSVARIANT_ENUM: ["standard", "full"];
|
|
197
|
-
export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
|
|
199
|
+
export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_trigger_click", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
|
|
198
200
|
export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
199
201
|
export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "mobile", "unknown"];
|
|
200
202
|
export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
|
|
201
203
|
export declare const SITE_INSIGHTS_PAGE_NOT_FOUND_TYPE_ENUM: ["conditional"];
|
|
202
204
|
export declare const SITE_INSIGHTS_QUERY_OPERATOR_ENUM: ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
|
|
203
|
-
export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
205
|
+
export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["yearToDate", "lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
204
206
|
export declare const SITE_REDIRECT_ORDER_BY_ENUM: ["createdAt", "updatedAt", "source"];
|
|
205
207
|
export declare const SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
|
|
206
208
|
export declare const SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
|
|
@@ -217,7 +219,7 @@ export declare const CLOUDFLARE_HOSTNAME_TLSSTATUS_ENUM: ["initializing", "pendi
|
|
|
217
219
|
export declare const CLOUDFLARE_HOSTNAME_TLSVALIDATION_METHOD_ENUM: ["http", "txt", "email"];
|
|
218
220
|
export declare const SHA256_MAX_LENGTH = 64;
|
|
219
221
|
export declare const SHA256_MIN_LENGTH = 64;
|
|
220
|
-
export declare const GIT_BOOK_USERS_ENUM: ["gitbook:agent"];
|
|
222
|
+
export declare const GIT_BOOK_USERS_ENUM: ["gitbook:agent", "gitbook:gitsync"];
|
|
221
223
|
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", "tag_created", "tag_deleted", "tag_edited"];
|
|
222
224
|
export declare const GIT_SYNC_OPERATION_STAGE_ENUM: ["repo_fetch", "config_check", "content_process", "finalize"];
|
|
223
225
|
export declare const GIT_SYNC_RUN_OPERATION_ENUM: ["import", "export", "check", "merge", "recovery"];
|
|
@@ -234,3 +236,4 @@ export declare const SITE_ADS_STATUS_ENUM: ["pending", "in-review", "live", "rej
|
|
|
234
236
|
export declare const SITE_QUESTION_ANSWER_SOURCE_TYPE_ENUM: ["page", "record"];
|
|
235
237
|
export declare const AGENT_STATUS_ENUM: ["idle", "processing", "errored"];
|
|
236
238
|
export declare const AGENT_EDIT_SCOPE_ENUM: ["all", "read-only", "current-page", "modified-pages"];
|
|
239
|
+
export declare const AGENT_BACKGROUND_AGENT_STATUS_ENUM: ["running", "completed", "failed", "stopped"];
|
package/dist/index.cjs
CHANGED
|
@@ -179,6 +179,7 @@ var require_node = __commonJS({
|
|
|
179
179
|
// src/index.ts
|
|
180
180
|
var src_exports = {};
|
|
181
181
|
__export(src_exports, {
|
|
182
|
+
AGENT_BACKGROUND_AGENT_STATUS_ENUM: () => AGENT_BACKGROUND_AGENT_STATUS_ENUM,
|
|
182
183
|
AGENT_EDIT_SCOPE_ENUM: () => AGENT_EDIT_SCOPE_ENUM,
|
|
183
184
|
AGENT_FEEDBACK_SOURCE_ENUM: () => AGENT_FEEDBACK_SOURCE_ENUM,
|
|
184
185
|
AGENT_GOAL_MAX_LENGTH: () => AGENT_GOAL_MAX_LENGTH,
|
|
@@ -191,11 +192,14 @@ __export(src_exports, {
|
|
|
191
192
|
AIMessageStepPhase: () => AIMessageStepPhase,
|
|
192
193
|
AIMessageStepStartCondition: () => AIMessageStepStartCondition,
|
|
193
194
|
AIModel: () => AIModel,
|
|
195
|
+
AISKIP_REASON_ENUM: () => AISKIP_REASON_ENUM,
|
|
196
|
+
AISkipReason: () => AISkipReason,
|
|
194
197
|
AIUSAGE_INTERVAL_ENUM: () => AIUSAGE_INTERVAL_ENUM,
|
|
195
198
|
AIUsageInterval: () => AIUsageInterval,
|
|
196
199
|
APIINTEGRATION_SCOPE_ENUM: () => APIINTEGRATION_SCOPE_ENUM,
|
|
197
200
|
APIIntegrationScope: () => APIIntegrationScope,
|
|
198
201
|
APITOKEN_LABEL_MAX_LENGTH: () => APITOKEN_LABEL_MAX_LENGTH,
|
|
202
|
+
AgentBackgroundAgentStatus: () => AgentBackgroundAgentStatus,
|
|
199
203
|
AgentEditScope: () => AgentEditScope,
|
|
200
204
|
AgentFeedbackSource: () => AgentFeedbackSource,
|
|
201
205
|
AgentStatus: () => AgentStatus,
|
|
@@ -426,6 +430,7 @@ __export(src_exports, {
|
|
|
426
430
|
SITE_ADS_TOPIC_ENUM: () => SITE_ADS_TOPIC_ENUM,
|
|
427
431
|
SITE_BASENAME_MAX_LENGTH: () => SITE_BASENAME_MAX_LENGTH,
|
|
428
432
|
SITE_BASENAME_MIN_LENGTH: () => SITE_BASENAME_MIN_LENGTH,
|
|
433
|
+
SITE_CHANGE_REQUEST_MEMBER_STATUS_ENUM: () => SITE_CHANGE_REQUEST_MEMBER_STATUS_ENUM,
|
|
429
434
|
SITE_CHANNEL_ROLE_ENUM: () => SITE_CHANNEL_ROLE_ENUM,
|
|
430
435
|
SITE_CHANNEL_STATUS_ENUM: () => SITE_CHANNEL_STATUS_ENUM,
|
|
431
436
|
SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM: () => SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM,
|
|
@@ -502,6 +507,7 @@ __export(src_exports, {
|
|
|
502
507
|
STORAGE_UPLOAD_KIND_ENUM: () => STORAGE_UPLOAD_KIND_ENUM,
|
|
503
508
|
SiteAdsStatus: () => SiteAdsStatus,
|
|
504
509
|
SiteAdsTopic: () => SiteAdsTopic,
|
|
510
|
+
SiteChangeRequestMemberStatus: () => SiteChangeRequestMemberStatus,
|
|
505
511
|
SiteChannelRole: () => SiteChannelRole,
|
|
506
512
|
SiteChannelStatus: () => SiteChannelStatus,
|
|
507
513
|
SiteConfigurableChannelType: () => SiteConfigurableChannelType,
|
|
@@ -564,7 +570,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
564
570
|
|
|
565
571
|
// package.json
|
|
566
572
|
var name = "@gitbook/api";
|
|
567
|
-
var version = "0.
|
|
573
|
+
var version = "0.204.0";
|
|
568
574
|
|
|
569
575
|
// src/client.ts
|
|
570
576
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -671,6 +677,13 @@ function splitLines(chunk) {
|
|
|
671
677
|
}
|
|
672
678
|
|
|
673
679
|
// src/client.ts
|
|
680
|
+
var AgentBackgroundAgentStatus = /* @__PURE__ */ ((AgentBackgroundAgentStatus2) => {
|
|
681
|
+
AgentBackgroundAgentStatus2["Running"] = "running";
|
|
682
|
+
AgentBackgroundAgentStatus2["Completed"] = "completed";
|
|
683
|
+
AgentBackgroundAgentStatus2["Failed"] = "failed";
|
|
684
|
+
AgentBackgroundAgentStatus2["Stopped"] = "stopped";
|
|
685
|
+
return AgentBackgroundAgentStatus2;
|
|
686
|
+
})(AgentBackgroundAgentStatus || {});
|
|
674
687
|
var AgentEditScope = /* @__PURE__ */ ((AgentEditScope2) => {
|
|
675
688
|
AgentEditScope2["All"] = "all";
|
|
676
689
|
AgentEditScope2["ReadOnly"] = "read-only";
|
|
@@ -765,6 +778,7 @@ var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2)
|
|
|
765
778
|
})(RevisionSemanticChangeType || {});
|
|
766
779
|
var GitBookUsers = /* @__PURE__ */ ((GitBookUsers2) => {
|
|
767
780
|
GitBookUsers2["GitbookAgent"] = "gitbook:agent";
|
|
781
|
+
GitBookUsers2["GitbookGitsync"] = "gitbook:gitsync";
|
|
768
782
|
return GitBookUsers2;
|
|
769
783
|
})(GitBookUsers || {});
|
|
770
784
|
var CloudflareHostnameTLSValidationMethod = /* @__PURE__ */ ((CloudflareHostnameTLSValidationMethod2) => {
|
|
@@ -835,6 +849,7 @@ var SiteRedirectOrderBy = /* @__PURE__ */ ((SiteRedirectOrderBy2) => {
|
|
|
835
849
|
return SiteRedirectOrderBy2;
|
|
836
850
|
})(SiteRedirectOrderBy || {});
|
|
837
851
|
var SiteInsightsQueryRangePreset = /* @__PURE__ */ ((SiteInsightsQueryRangePreset2) => {
|
|
852
|
+
SiteInsightsQueryRangePreset2["YearToDate"] = "yearToDate";
|
|
838
853
|
SiteInsightsQueryRangePreset2["LastYear"] = "lastYear";
|
|
839
854
|
SiteInsightsQueryRangePreset2["Last3Months"] = "last3Months";
|
|
840
855
|
SiteInsightsQueryRangePreset2["Last30Days"] = "last30Days";
|
|
@@ -891,6 +906,14 @@ var SiteInsightsVisitorBot = /* @__PURE__ */ ((SiteInsightsVisitorBot2) => {
|
|
|
891
906
|
SiteInsightsVisitorBot2["Duckassist"] = "duckassist";
|
|
892
907
|
SiteInsightsVisitorBot2["AmznSearchbot"] = "amzn-searchbot";
|
|
893
908
|
SiteInsightsVisitorBot2["AmznUser"] = "amzn-user";
|
|
909
|
+
SiteInsightsVisitorBot2["OtherBot"] = "other-bot";
|
|
910
|
+
SiteInsightsVisitorBot2["Parallel"] = "parallel";
|
|
911
|
+
SiteInsightsVisitorBot2["Exa"] = "exa";
|
|
912
|
+
SiteInsightsVisitorBot2["Linkup"] = "linkup";
|
|
913
|
+
SiteInsightsVisitorBot2["VertexAi"] = "vertex-ai";
|
|
914
|
+
SiteInsightsVisitorBot2["Atlassian"] = "atlassian";
|
|
915
|
+
SiteInsightsVisitorBot2["Kapa"] = "kapa";
|
|
916
|
+
SiteInsightsVisitorBot2["Bedrock"] = "bedrock";
|
|
894
917
|
return SiteInsightsVisitorBot2;
|
|
895
918
|
})(SiteInsightsVisitorBot || {});
|
|
896
919
|
var SiteInsightsVisitorOS = /* @__PURE__ */ ((SiteInsightsVisitorOS2) => {
|
|
@@ -930,6 +953,7 @@ var SiteInsightsEventType = /* @__PURE__ */ ((SiteInsightsEventType2) => {
|
|
|
930
953
|
SiteInsightsEventType2["AgentFeedback"] = "agent_feedback";
|
|
931
954
|
SiteInsightsEventType2["AskQuestion"] = "ask_question";
|
|
932
955
|
SiteInsightsEventType2["AskView"] = "ask_view";
|
|
956
|
+
SiteInsightsEventType2["AskTriggerClick"] = "ask_trigger_click";
|
|
933
957
|
SiteInsightsEventType2["AskRateResponse"] = "ask_rate_response";
|
|
934
958
|
SiteInsightsEventType2["LinkClick"] = "link_click";
|
|
935
959
|
SiteInsightsEventType2["ApiClientOpen"] = "api_client_open";
|
|
@@ -1049,6 +1073,14 @@ var ContextSearchBoost = /* @__PURE__ */ ((ContextSearchBoost2) => {
|
|
|
1049
1073
|
ContextSearchBoost2["X12"] = "x1.2";
|
|
1050
1074
|
return ContextSearchBoost2;
|
|
1051
1075
|
})(ContextSearchBoost || {});
|
|
1076
|
+
var AISkipReason = /* @__PURE__ */ ((AISkipReason2) => {
|
|
1077
|
+
AISkipReason2["AiUnavailableForOrganization"] = "ai_unavailable_for_organization";
|
|
1078
|
+
AISkipReason2["AiUnavailableForSite"] = "ai_unavailable_for_site";
|
|
1079
|
+
AISkipReason2["AiDisabled"] = "ai_disabled";
|
|
1080
|
+
AISkipReason2["AiRestricted"] = "ai_restricted";
|
|
1081
|
+
AISkipReason2["AiPaused"] = "ai_paused";
|
|
1082
|
+
return AISkipReason2;
|
|
1083
|
+
})(AISkipReason || {});
|
|
1052
1084
|
var ContextConnectionFailureReason = /* @__PURE__ */ ((ContextConnectionFailureReason2) => {
|
|
1053
1085
|
ContextConnectionFailureReason2["Authentication"] = "authentication";
|
|
1054
1086
|
ContextConnectionFailureReason2["Misconfigured"] = "misconfigured";
|
|
@@ -1062,6 +1094,7 @@ var ContextConnectionStatus = /* @__PURE__ */ ((ContextConnectionStatus2) => {
|
|
|
1062
1094
|
ContextConnectionStatus2["Syncing"] = "syncing";
|
|
1063
1095
|
ContextConnectionStatus2["Succeeded"] = "succeeded";
|
|
1064
1096
|
ContextConnectionStatus2["Failed"] = "failed";
|
|
1097
|
+
ContextConnectionStatus2["Skipped"] = "skipped";
|
|
1065
1098
|
return ContextConnectionStatus2;
|
|
1066
1099
|
})(ContextConnectionStatus || {});
|
|
1067
1100
|
var SiteQuestionType = /* @__PURE__ */ ((SiteQuestionType2) => {
|
|
@@ -1076,6 +1109,7 @@ var SiteFindingOrderBy = /* @__PURE__ */ ((SiteFindingOrderBy2) => {
|
|
|
1076
1109
|
SiteFindingOrderBy2["UpdatedAt"] = "updatedAt";
|
|
1077
1110
|
SiteFindingOrderBy2["Severity"] = "severity";
|
|
1078
1111
|
SiteFindingOrderBy2["Sources"] = "sources";
|
|
1112
|
+
SiteFindingOrderBy2["SuggestedFix"] = "suggestedFix";
|
|
1079
1113
|
return SiteFindingOrderBy2;
|
|
1080
1114
|
})(SiteFindingOrderBy || {});
|
|
1081
1115
|
var SiteTriageFilterQuestions = /* @__PURE__ */ ((SiteTriageFilterQuestions2) => {
|
|
@@ -1121,6 +1155,11 @@ var AgentFeedbackSource = /* @__PURE__ */ ((AgentFeedbackSource2) => {
|
|
|
1121
1155
|
AgentFeedbackSource2["Assistant"] = "assistant";
|
|
1122
1156
|
return AgentFeedbackSource2;
|
|
1123
1157
|
})(AgentFeedbackSource || {});
|
|
1158
|
+
var SiteChangeRequestMemberStatus = /* @__PURE__ */ ((SiteChangeRequestMemberStatus2) => {
|
|
1159
|
+
SiteChangeRequestMemberStatus2["Active"] = "active";
|
|
1160
|
+
SiteChangeRequestMemberStatus2["Removed"] = "removed";
|
|
1161
|
+
return SiteChangeRequestMemberStatus2;
|
|
1162
|
+
})(SiteChangeRequestMemberStatus || {});
|
|
1124
1163
|
var SiteSocialAccountPlatform = /* @__PURE__ */ ((SiteSocialAccountPlatform2) => {
|
|
1125
1164
|
SiteSocialAccountPlatform2["Twitter"] = "twitter";
|
|
1126
1165
|
SiteSocialAccountPlatform2["Instagram"] = "instagram";
|
|
@@ -1374,6 +1413,7 @@ var SAMLProviderStatus = /* @__PURE__ */ ((SAMLProviderStatus2) => {
|
|
|
1374
1413
|
})(SAMLProviderStatus || {});
|
|
1375
1414
|
var OrganizationFeature = /* @__PURE__ */ ((OrganizationFeature2) => {
|
|
1376
1415
|
OrganizationFeature2["MaxMembers"] = "max-members";
|
|
1416
|
+
OrganizationFeature2["Ai"] = "ai";
|
|
1377
1417
|
OrganizationFeature2["AiLens"] = "ai-lens";
|
|
1378
1418
|
OrganizationFeature2["PdfExport"] = "pdf-export";
|
|
1379
1419
|
OrganizationFeature2["AiWriting"] = "ai-writing";
|
|
@@ -1496,6 +1536,7 @@ var SiteFeatureKey = /* @__PURE__ */ ((SiteFeatureKey2) => {
|
|
|
1496
1536
|
SiteFeatureKey2["SitesSections"] = "sites-sections";
|
|
1497
1537
|
SiteFeatureKey2["SitesSeo"] = "sites-seo";
|
|
1498
1538
|
SiteFeatureKey2["SitesShareLinks"] = "sites-share-links";
|
|
1539
|
+
SiteFeatureKey2["SitesStyleGuide"] = "sites-style-guide";
|
|
1499
1540
|
SiteFeatureKey2["SitesUnlistedVisibility"] = "sites-unlisted-visibility";
|
|
1500
1541
|
SiteFeatureKey2["SitesUserContribution"] = "sites-user-contribution";
|
|
1501
1542
|
SiteFeatureKey2["SitesVisitorAuthentication"] = "sites-visitor-authentication";
|
|
@@ -1561,10 +1602,10 @@ var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
|
|
|
1561
1602
|
})(BillingTrialStatus || {});
|
|
1562
1603
|
var BillingCreditsBundle = /* @__PURE__ */ ((BillingCreditsBundle2) => {
|
|
1563
1604
|
BillingCreditsBundle2["None"] = "none";
|
|
1564
|
-
BillingCreditsBundle2["
|
|
1565
|
-
BillingCreditsBundle2["
|
|
1566
|
-
BillingCreditsBundle2["
|
|
1567
|
-
BillingCreditsBundle2["
|
|
1605
|
+
BillingCreditsBundle2["Value4750250"] = "4750_250";
|
|
1606
|
+
BillingCreditsBundle2["Value90001000"] = "9000_1000";
|
|
1607
|
+
BillingCreditsBundle2["Value127502250"] = "12750_2250";
|
|
1608
|
+
BillingCreditsBundle2["Value3000010000"] = "30000_10000";
|
|
1568
1609
|
return BillingCreditsBundle2;
|
|
1569
1610
|
})(BillingCreditsBundle || {});
|
|
1570
1611
|
var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
|
|
@@ -2387,6 +2428,14 @@ var Api = class extends HttpClient {
|
|
|
2387
2428
|
format: "json",
|
|
2388
2429
|
...params
|
|
2389
2430
|
}),
|
|
2431
|
+
getReviewStatsByChangeRequestId: (spaceId, changeRequestId, query, params = {}) => this.request({
|
|
2432
|
+
path: `/spaces/${spaceId}/change-requests/${changeRequestId}/reviews/stats`,
|
|
2433
|
+
method: "GET",
|
|
2434
|
+
query,
|
|
2435
|
+
secure: true,
|
|
2436
|
+
format: "json",
|
|
2437
|
+
...params
|
|
2438
|
+
}),
|
|
2390
2439
|
getChangeRequestReviewById: (spaceId, changeRequestId, reviewId, query, params = {}) => this.request({
|
|
2391
2440
|
path: `/spaces/${spaceId}/change-requests/${changeRequestId}/reviews/${reviewId}`,
|
|
2392
2441
|
method: "GET",
|
|
@@ -3283,6 +3332,13 @@ var Api = class extends HttpClient {
|
|
|
3283
3332
|
format: "json",
|
|
3284
3333
|
...params
|
|
3285
3334
|
}),
|
|
3335
|
+
getOrganizationSubscription: (organizationId, params = {}) => this.request({
|
|
3336
|
+
path: `/orgs/${organizationId}/subscription`,
|
|
3337
|
+
method: "GET",
|
|
3338
|
+
secure: true,
|
|
3339
|
+
format: "json",
|
|
3340
|
+
...params
|
|
3341
|
+
}),
|
|
3286
3342
|
setUserAsSsoMemberForOrganization: (organizationId, userId, params = {}) => this.request({
|
|
3287
3343
|
path: `/orgs/${organizationId}/members/${userId}/sso`,
|
|
3288
3344
|
method: "POST",
|
|
@@ -3943,6 +3999,45 @@ var Api = class extends HttpClient {
|
|
|
3943
3999
|
format: "json",
|
|
3944
4000
|
...params
|
|
3945
4001
|
}),
|
|
4002
|
+
listChangeRequestsForSite: (organizationId, siteId, query, params = {}) => this.request({
|
|
4003
|
+
path: `/orgs/${organizationId}/sites/${siteId}/change-requests`,
|
|
4004
|
+
method: "GET",
|
|
4005
|
+
query,
|
|
4006
|
+
secure: true,
|
|
4007
|
+
format: "json",
|
|
4008
|
+
...params
|
|
4009
|
+
}),
|
|
4010
|
+
createSiteChangeRequest: (organizationId, siteId, data, params = {}) => this.request({
|
|
4011
|
+
path: `/orgs/${organizationId}/sites/${siteId}/change-requests`,
|
|
4012
|
+
method: "POST",
|
|
4013
|
+
body: data,
|
|
4014
|
+
secure: true,
|
|
4015
|
+
type: "application/json" /* Json */,
|
|
4016
|
+
format: "json",
|
|
4017
|
+
...params
|
|
4018
|
+
}),
|
|
4019
|
+
getSiteChangeRequestById: (organizationId, siteId, changeRequestId, params = {}) => this.request({
|
|
4020
|
+
path: `/orgs/${organizationId}/sites/${siteId}/change-requests/${changeRequestId}`,
|
|
4021
|
+
method: "GET",
|
|
4022
|
+
secure: true,
|
|
4023
|
+
format: "json",
|
|
4024
|
+
...params
|
|
4025
|
+
}),
|
|
4026
|
+
updateSiteChangeRequestById: (organizationId, siteId, changeRequestId, data, params = {}) => this.request({
|
|
4027
|
+
path: `/orgs/${organizationId}/sites/${siteId}/change-requests/${changeRequestId}`,
|
|
4028
|
+
method: "PATCH",
|
|
4029
|
+
body: data,
|
|
4030
|
+
secure: true,
|
|
4031
|
+
type: "application/json" /* Json */,
|
|
4032
|
+
format: "json",
|
|
4033
|
+
...params
|
|
4034
|
+
}),
|
|
4035
|
+
deleteSiteChangeRequestById: (organizationId, siteId, changeRequestId, params = {}) => this.request({
|
|
4036
|
+
path: `/orgs/${organizationId}/sites/${siteId}/change-requests/${changeRequestId}`,
|
|
4037
|
+
method: "DELETE",
|
|
4038
|
+
secure: true,
|
|
4039
|
+
...params
|
|
4040
|
+
}),
|
|
3946
4041
|
listSiteShareLinks: (organizationId, siteId, query, params = {}) => this.request({
|
|
3947
4042
|
path: `/orgs/${organizationId}/sites/${siteId}/share-links`,
|
|
3948
4043
|
method: "GET",
|
|
@@ -4788,6 +4883,16 @@ var Api = class extends HttpClient {
|
|
|
4788
4883
|
format: "json",
|
|
4789
4884
|
...params
|
|
4790
4885
|
}),
|
|
4886
|
+
listSiteChannelScopes: (organizationId, siteId, data, query, params = {}) => this.request({
|
|
4887
|
+
path: `/orgs/${organizationId}/sites/${siteId}/channels/scopes`,
|
|
4888
|
+
method: "POST",
|
|
4889
|
+
query,
|
|
4890
|
+
body: data,
|
|
4891
|
+
secure: true,
|
|
4892
|
+
type: "application/json" /* Json */,
|
|
4893
|
+
format: "json",
|
|
4894
|
+
...params
|
|
4895
|
+
}),
|
|
4791
4896
|
getSiteChannelById: (organizationId, siteId, siteChannelId, params = {}) => this.request({
|
|
4792
4897
|
path: `/orgs/${organizationId}/sites/${siteId}/channels/${siteChannelId}`,
|
|
4793
4898
|
method: "GET",
|
|
@@ -5110,7 +5215,7 @@ var SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
|
|
|
5110
5215
|
var SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
|
|
5111
5216
|
var SITE_VISIBILITY_ENUM = ["public", "unlisted", "share-link", "visitor-auth"];
|
|
5112
5217
|
var SITE_ADS_TOPIC_ENUM = ["webdev", "crypto"];
|
|
5113
|
-
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"];
|
|
5218
|
+
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-style-guide", "sites-unlisted-visibility", "sites-user-contribution", "sites-visitor-authentication", "sites-visitors"];
|
|
5114
5219
|
var SITE_CUSTOMIZATION_FEATURE_ENUM = ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
|
|
5115
5220
|
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"];
|
|
5116
5221
|
var SITE_ONBOARDING_SOURCE_ENUM = ["markdown-in-git", "import", "template"];
|
|
@@ -5134,7 +5239,7 @@ var BILLING_COUPON_MIN_LENGTH = 1;
|
|
|
5134
5239
|
var BILLING_METER_ENUM = ["ai_responses", "ai_agent_responses", "translation_words"];
|
|
5135
5240
|
var BILLING_SWITCH_ACTION_ENUM = ["trial", "upgrade", "upgrade_passive", "downgrade", "switch_interval"];
|
|
5136
5241
|
var AIUSAGE_INTERVAL_ENUM = ["day", "week", "month", "year"];
|
|
5137
|
-
var ORGANIZATION_FEATURE_ENUM = ["max-members", "ai-lens", "pdf-export", "ai-writing", "reusable-content", "translations", "members-advanced-roles", "members-teams", "members-team-owners", "security-saml", "change-requests-merge-rules"];
|
|
5242
|
+
var ORGANIZATION_FEATURE_ENUM = ["max-members", "ai", "ai-lens", "pdf-export", "ai-writing", "reusable-content", "translations", "members-advanced-roles", "members-teams", "members-team-owners", "security-saml", "change-requests-merge-rules"];
|
|
5138
5243
|
var SAMLPROVIDER_LABEL_MAX_LENGTH = 30;
|
|
5139
5244
|
var SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
5140
5245
|
var SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
@@ -5182,6 +5287,7 @@ var SITE_EXTERNAL_LINKS_TARGET_ENUM = ["self", "blank"];
|
|
|
5182
5287
|
var SITE_SOCIAL_ACCOUNT_PLATFORM_ENUM = ["twitter", "instagram", "facebook", "linkedin", "github", "discord", "slack", "youtube", "tiktok", "reddit", "bluesky", "mastodon", "threads", "medium"];
|
|
5183
5288
|
var SITE_SOCIAL_ACCOUNT_HANDLE_MAX_LENGTH = 128;
|
|
5184
5289
|
var SITE_SOCIAL_ACCOUNT_HANDLE_MIN_LENGTH = 1;
|
|
5290
|
+
var SITE_CHANGE_REQUEST_MEMBER_STATUS_ENUM = ["active", "removed"];
|
|
5185
5291
|
var SHARE_LINK_NAME_MAX_LENGTH = 50;
|
|
5186
5292
|
var SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
5187
5293
|
var AGENT_GOAL_MAX_LENGTH = 1024;
|
|
@@ -5196,7 +5302,7 @@ var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-
|
|
|
5196
5302
|
var SITE_FINDING_SEVERITY_ENUM = ["low", "medium", "high"];
|
|
5197
5303
|
var SITE_TRIAGE_FILTER_QUESTIONS_ENUM = ["questions"];
|
|
5198
5304
|
var SITE_TRIAGE_FILTER_CONNECTIONS_PATTERN = "^connection:.+$";
|
|
5199
|
-
var SITE_FINDING_ORDER_BY_ENUM = ["updatedAt", "severity", "sources"];
|
|
5305
|
+
var SITE_FINDING_ORDER_BY_ENUM = ["updatedAt", "severity", "sources", "suggestedFix"];
|
|
5200
5306
|
var SITE_FINDING_TITLE_MAX_LENGTH = 256;
|
|
5201
5307
|
var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|
|
5202
5308
|
var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
|
|
@@ -5205,8 +5311,9 @@ var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
|
|
|
5205
5311
|
var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
|
|
5206
5312
|
var CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
|
|
5207
5313
|
var CONTEXT_CONNECTION_FILTER_MIN_LENGTH = 0;
|
|
5208
|
-
var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed"];
|
|
5314
|
+
var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed", "skipped"];
|
|
5209
5315
|
var CONTEXT_CONNECTION_FAILURE_REASON_ENUM = ["authentication", "misconfigured", "rate_limited", "upstream_unavailable", "unknown"];
|
|
5316
|
+
var AISKIP_REASON_ENUM = ["ai_unavailable_for_organization", "ai_unavailable_for_site", "ai_disabled", "ai_restricted", "ai_paused"];
|
|
5210
5317
|
var CONTEXT_SEARCH_BOOST_ENUM = ["x0.8", "x1.0", "x1.2"];
|
|
5211
5318
|
var YOUTUBE_CHANNEL_ID_PATTERN = "^UC[A-Za-z0-9_-]{22}$";
|
|
5212
5319
|
var YOUTUBE_CHANNEL_NAME_PATTERN = "^@[A-Za-z0-9._-]{3,100}$";
|
|
@@ -5227,13 +5334,13 @@ var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sid
|
|
|
5227
5334
|
var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf", "embed"];
|
|
5228
5335
|
var SITE_INSIGHTS_AD_PLACEMENT_ENUM = ["aside"];
|
|
5229
5336
|
var SITE_INSIGHTS_LLMSVARIANT_ENUM = ["standard", "full"];
|
|
5230
|
-
var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
|
|
5337
|
+
var SITE_INSIGHTS_EVENT_TYPE_ENUM = ["page_view", "page_markdown_request", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "agent_feedback", "ask_question", "ask_view", "ask_trigger_click", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click", "llms_request", "mcp_request", "rss_request"];
|
|
5231
5338
|
var SITE_INSIGHTS_VISITOR_BROWSER_ENUM = ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
5232
5339
|
var SITE_INSIGHTS_VISITOR_DEVICE_ENUM = ["desktop", "tablet", "mobile", "unknown"];
|
|
5233
5340
|
var SITE_INSIGHTS_VISITOR_OS_ENUM = ["windows", "macos", "linux", "android", "ios", "unknown"];
|
|
5234
5341
|
var SITE_INSIGHTS_PAGE_NOT_FOUND_TYPE_ENUM = ["conditional"];
|
|
5235
5342
|
var SITE_INSIGHTS_QUERY_OPERATOR_ENUM = ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
|
|
5236
|
-
var SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM = ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
5343
|
+
var SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM = ["yearToDate", "lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
5237
5344
|
var SITE_REDIRECT_ORDER_BY_ENUM = ["createdAt", "updatedAt", "source"];
|
|
5238
5345
|
var SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
|
|
5239
5346
|
var SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
|
|
@@ -5250,7 +5357,7 @@ var CLOUDFLARE_HOSTNAME_TLSSTATUS_ENUM = ["initializing", "pending_validation",
|
|
|
5250
5357
|
var CLOUDFLARE_HOSTNAME_TLSVALIDATION_METHOD_ENUM = ["http", "txt", "email"];
|
|
5251
5358
|
var SHA256_MAX_LENGTH = 64;
|
|
5252
5359
|
var SHA256_MIN_LENGTH = 64;
|
|
5253
|
-
var GIT_BOOK_USERS_ENUM = ["gitbook:agent"];
|
|
5360
|
+
var GIT_BOOK_USERS_ENUM = ["gitbook:agent", "gitbook:gitsync"];
|
|
5254
5361
|
var REVISION_SEMANTIC_CHANGE_TYPE_ENUM = ["page_created", "page_edited", "page_deleted", "page_moved", "file_created", "file_edited", "file_deleted", "custom_fields_edited", "tag_created", "tag_deleted", "tag_edited"];
|
|
5255
5362
|
var GIT_SYNC_OPERATION_STAGE_ENUM = ["repo_fetch", "config_check", "content_process", "finalize"];
|
|
5256
5363
|
var GIT_SYNC_RUN_OPERATION_ENUM = ["import", "export", "check", "merge", "recovery"];
|
|
@@ -5267,6 +5374,7 @@ var SITE_ADS_STATUS_ENUM = ["pending", "in-review", "live", "rejected", "disable
|
|
|
5267
5374
|
var SITE_QUESTION_ANSWER_SOURCE_TYPE_ENUM = ["page", "record"];
|
|
5268
5375
|
var AGENT_STATUS_ENUM = ["idle", "processing", "errored"];
|
|
5269
5376
|
var AGENT_EDIT_SCOPE_ENUM = ["all", "read-only", "current-page", "modified-pages"];
|
|
5377
|
+
var AGENT_BACKGROUND_AGENT_STATUS_ENUM = ["running", "completed", "failed", "stopped"];
|
|
5270
5378
|
|
|
5271
5379
|
// src/index.ts
|
|
5272
5380
|
var GITBOOK_DEFAULT_ENDPOINT = "https://api.gitbook.com";
|
|
@@ -5337,6 +5445,7 @@ var GitBookAPI = class extends Api {
|
|
|
5337
5445
|
};
|
|
5338
5446
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5339
5447
|
0 && (module.exports = {
|
|
5448
|
+
AGENT_BACKGROUND_AGENT_STATUS_ENUM,
|
|
5340
5449
|
AGENT_EDIT_SCOPE_ENUM,
|
|
5341
5450
|
AGENT_FEEDBACK_SOURCE_ENUM,
|
|
5342
5451
|
AGENT_GOAL_MAX_LENGTH,
|
|
@@ -5349,11 +5458,14 @@ var GitBookAPI = class extends Api {
|
|
|
5349
5458
|
AIMessageStepPhase,
|
|
5350
5459
|
AIMessageStepStartCondition,
|
|
5351
5460
|
AIModel,
|
|
5461
|
+
AISKIP_REASON_ENUM,
|
|
5462
|
+
AISkipReason,
|
|
5352
5463
|
AIUSAGE_INTERVAL_ENUM,
|
|
5353
5464
|
AIUsageInterval,
|
|
5354
5465
|
APIINTEGRATION_SCOPE_ENUM,
|
|
5355
5466
|
APIIntegrationScope,
|
|
5356
5467
|
APITOKEN_LABEL_MAX_LENGTH,
|
|
5468
|
+
AgentBackgroundAgentStatus,
|
|
5357
5469
|
AgentEditScope,
|
|
5358
5470
|
AgentFeedbackSource,
|
|
5359
5471
|
AgentStatus,
|
|
@@ -5584,6 +5696,7 @@ var GitBookAPI = class extends Api {
|
|
|
5584
5696
|
SITE_ADS_TOPIC_ENUM,
|
|
5585
5697
|
SITE_BASENAME_MAX_LENGTH,
|
|
5586
5698
|
SITE_BASENAME_MIN_LENGTH,
|
|
5699
|
+
SITE_CHANGE_REQUEST_MEMBER_STATUS_ENUM,
|
|
5587
5700
|
SITE_CHANNEL_ROLE_ENUM,
|
|
5588
5701
|
SITE_CHANNEL_STATUS_ENUM,
|
|
5589
5702
|
SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM,
|
|
@@ -5660,6 +5773,7 @@ var GitBookAPI = class extends Api {
|
|
|
5660
5773
|
STORAGE_UPLOAD_KIND_ENUM,
|
|
5661
5774
|
SiteAdsStatus,
|
|
5662
5775
|
SiteAdsTopic,
|
|
5776
|
+
SiteChangeRequestMemberStatus,
|
|
5663
5777
|
SiteChannelRole,
|
|
5664
5778
|
SiteChannelStatus,
|
|
5665
5779
|
SiteConfigurableChannelType,
|