@gitbook/api 0.209.0 → 0.210.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/LICENSE +201 -0
- package/dist/client.d.ts +707 -148
- package/dist/constants.d.ts +10 -1
- package/dist/index.cjs +189 -48
- package/dist/index.js +174 -48
- package/package.json +2 -1
- package/spec/openapi.json +1939 -388
- package/spec/openapi.yaml +1362 -324
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.
|
|
175
|
+
var version = "0.210.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -548,52 +548,6 @@ var SiteInsightsPageNotFoundType = /* @__PURE__ */ ((SiteInsightsPageNotFoundTyp
|
|
|
548
548
|
SiteInsightsPageNotFoundType2["Conditional"] = "conditional";
|
|
549
549
|
return SiteInsightsPageNotFoundType2;
|
|
550
550
|
})(SiteInsightsPageNotFoundType || {});
|
|
551
|
-
var SiteInsightsVisitorBot = /* @__PURE__ */ ((SiteInsightsVisitorBot2) => {
|
|
552
|
-
SiteInsightsVisitorBot2["Unknown"] = "unknown";
|
|
553
|
-
SiteInsightsVisitorBot2["Googlebot"] = "googlebot";
|
|
554
|
-
SiteInsightsVisitorBot2["Bingbot"] = "bingbot";
|
|
555
|
-
SiteInsightsVisitorBot2["Duckduckbot"] = "duckduckbot";
|
|
556
|
-
SiteInsightsVisitorBot2["Facebookbot"] = "facebookbot";
|
|
557
|
-
SiteInsightsVisitorBot2["Applebot"] = "applebot";
|
|
558
|
-
SiteInsightsVisitorBot2["Chatgpt"] = "chatgpt";
|
|
559
|
-
SiteInsightsVisitorBot2["Openai"] = "openai";
|
|
560
|
-
SiteInsightsVisitorBot2["Claude"] = "claude";
|
|
561
|
-
SiteInsightsVisitorBot2["Anthropic"] = "anthropic";
|
|
562
|
-
SiteInsightsVisitorBot2["Gemini"] = "gemini";
|
|
563
|
-
SiteInsightsVisitorBot2["Perplexity"] = "perplexity";
|
|
564
|
-
SiteInsightsVisitorBot2["Cohere"] = "cohere";
|
|
565
|
-
SiteInsightsVisitorBot2["Mistral"] = "mistral";
|
|
566
|
-
SiteInsightsVisitorBot2["Deepseek"] = "deepseek";
|
|
567
|
-
SiteInsightsVisitorBot2["Meta"] = "meta";
|
|
568
|
-
SiteInsightsVisitorBot2["Bytespider"] = "bytespider";
|
|
569
|
-
SiteInsightsVisitorBot2["Ccbot"] = "ccbot";
|
|
570
|
-
SiteInsightsVisitorBot2["Amazonbot"] = "amazonbot";
|
|
571
|
-
SiteInsightsVisitorBot2["Youbot"] = "youbot";
|
|
572
|
-
SiteInsightsVisitorBot2["Cursor"] = "cursor";
|
|
573
|
-
SiteInsightsVisitorBot2["Vscode"] = "vscode";
|
|
574
|
-
SiteInsightsVisitorBot2["ClaudeCode"] = "claude-code";
|
|
575
|
-
SiteInsightsVisitorBot2["Codex"] = "codex";
|
|
576
|
-
SiteInsightsVisitorBot2["Opencode"] = "opencode";
|
|
577
|
-
SiteInsightsVisitorBot2["Gptbot"] = "gptbot";
|
|
578
|
-
SiteInsightsVisitorBot2["Claudebot"] = "claudebot";
|
|
579
|
-
SiteInsightsVisitorBot2["MetaFetcher"] = "meta-fetcher";
|
|
580
|
-
SiteInsightsVisitorBot2["Grok"] = "grok";
|
|
581
|
-
SiteInsightsVisitorBot2["GithubCopilot"] = "github-copilot";
|
|
582
|
-
SiteInsightsVisitorBot2["MetaWebindexer"] = "meta-webindexer";
|
|
583
|
-
SiteInsightsVisitorBot2["MetaAds"] = "meta-ads";
|
|
584
|
-
SiteInsightsVisitorBot2["Duckassist"] = "duckassist";
|
|
585
|
-
SiteInsightsVisitorBot2["AmznSearchbot"] = "amzn-searchbot";
|
|
586
|
-
SiteInsightsVisitorBot2["AmznUser"] = "amzn-user";
|
|
587
|
-
SiteInsightsVisitorBot2["OtherBot"] = "other-bot";
|
|
588
|
-
SiteInsightsVisitorBot2["Parallel"] = "parallel";
|
|
589
|
-
SiteInsightsVisitorBot2["Exa"] = "exa";
|
|
590
|
-
SiteInsightsVisitorBot2["Linkup"] = "linkup";
|
|
591
|
-
SiteInsightsVisitorBot2["VertexAi"] = "vertex-ai";
|
|
592
|
-
SiteInsightsVisitorBot2["Atlassian"] = "atlassian";
|
|
593
|
-
SiteInsightsVisitorBot2["Kapa"] = "kapa";
|
|
594
|
-
SiteInsightsVisitorBot2["Bedrock"] = "bedrock";
|
|
595
|
-
return SiteInsightsVisitorBot2;
|
|
596
|
-
})(SiteInsightsVisitorBot || {});
|
|
597
551
|
var SiteInsightsVisitorOS = /* @__PURE__ */ ((SiteInsightsVisitorOS2) => {
|
|
598
552
|
SiteInsightsVisitorOS2["Windows"] = "windows";
|
|
599
553
|
SiteInsightsVisitorOS2["Macos"] = "macos";
|
|
@@ -744,6 +698,72 @@ var SiteQuestionAnswerResolution = /* @__PURE__ */ ((SiteQuestionAnswerResolutio
|
|
|
744
698
|
SiteQuestionAnswerResolution2["Yes"] = "yes";
|
|
745
699
|
return SiteQuestionAnswerResolution2;
|
|
746
700
|
})(SiteQuestionAnswerResolution || {});
|
|
701
|
+
var SiteQuestionVisitorAuthentication = /* @__PURE__ */ ((SiteQuestionVisitorAuthentication2) => {
|
|
702
|
+
SiteQuestionVisitorAuthentication2["Authenticated"] = "authenticated";
|
|
703
|
+
SiteQuestionVisitorAuthentication2["Anonymous"] = "anonymous";
|
|
704
|
+
return SiteQuestionVisitorAuthentication2;
|
|
705
|
+
})(SiteQuestionVisitorAuthentication || {});
|
|
706
|
+
var SiteQuestionEscalation = /* @__PURE__ */ ((SiteQuestionEscalation2) => {
|
|
707
|
+
SiteQuestionEscalation2["Docs"] = "docs";
|
|
708
|
+
SiteQuestionEscalation2["Team"] = "team";
|
|
709
|
+
SiteQuestionEscalation2["Support"] = "support";
|
|
710
|
+
SiteQuestionEscalation2["None"] = "none";
|
|
711
|
+
return SiteQuestionEscalation2;
|
|
712
|
+
})(SiteQuestionEscalation || {});
|
|
713
|
+
var SiteQuestionAnswerSiteSaid = /* @__PURE__ */ ((SiteQuestionAnswerSiteSaid2) => {
|
|
714
|
+
SiteQuestionAnswerSiteSaid2["Covered"] = "covered";
|
|
715
|
+
SiteQuestionAnswerSiteSaid2["Limited"] = "limited";
|
|
716
|
+
SiteQuestionAnswerSiteSaid2["Unsupported"] = "unsupported";
|
|
717
|
+
SiteQuestionAnswerSiteSaid2["NoAnswer"] = "no-answer";
|
|
718
|
+
SiteQuestionAnswerSiteSaid2["NeedsSupport"] = "needs-support";
|
|
719
|
+
return SiteQuestionAnswerSiteSaid2;
|
|
720
|
+
})(SiteQuestionAnswerSiteSaid || {});
|
|
721
|
+
var SiteInsightsVisitorBot = /* @__PURE__ */ ((SiteInsightsVisitorBot2) => {
|
|
722
|
+
SiteInsightsVisitorBot2["Unknown"] = "unknown";
|
|
723
|
+
SiteInsightsVisitorBot2["Googlebot"] = "googlebot";
|
|
724
|
+
SiteInsightsVisitorBot2["Bingbot"] = "bingbot";
|
|
725
|
+
SiteInsightsVisitorBot2["Duckduckbot"] = "duckduckbot";
|
|
726
|
+
SiteInsightsVisitorBot2["Facebookbot"] = "facebookbot";
|
|
727
|
+
SiteInsightsVisitorBot2["Applebot"] = "applebot";
|
|
728
|
+
SiteInsightsVisitorBot2["Chatgpt"] = "chatgpt";
|
|
729
|
+
SiteInsightsVisitorBot2["Openai"] = "openai";
|
|
730
|
+
SiteInsightsVisitorBot2["Claude"] = "claude";
|
|
731
|
+
SiteInsightsVisitorBot2["Anthropic"] = "anthropic";
|
|
732
|
+
SiteInsightsVisitorBot2["Gemini"] = "gemini";
|
|
733
|
+
SiteInsightsVisitorBot2["Perplexity"] = "perplexity";
|
|
734
|
+
SiteInsightsVisitorBot2["Cohere"] = "cohere";
|
|
735
|
+
SiteInsightsVisitorBot2["Mistral"] = "mistral";
|
|
736
|
+
SiteInsightsVisitorBot2["Deepseek"] = "deepseek";
|
|
737
|
+
SiteInsightsVisitorBot2["Meta"] = "meta";
|
|
738
|
+
SiteInsightsVisitorBot2["Bytespider"] = "bytespider";
|
|
739
|
+
SiteInsightsVisitorBot2["Ccbot"] = "ccbot";
|
|
740
|
+
SiteInsightsVisitorBot2["Amazonbot"] = "amazonbot";
|
|
741
|
+
SiteInsightsVisitorBot2["Youbot"] = "youbot";
|
|
742
|
+
SiteInsightsVisitorBot2["Cursor"] = "cursor";
|
|
743
|
+
SiteInsightsVisitorBot2["Vscode"] = "vscode";
|
|
744
|
+
SiteInsightsVisitorBot2["ClaudeCode"] = "claude-code";
|
|
745
|
+
SiteInsightsVisitorBot2["Codex"] = "codex";
|
|
746
|
+
SiteInsightsVisitorBot2["Opencode"] = "opencode";
|
|
747
|
+
SiteInsightsVisitorBot2["Gptbot"] = "gptbot";
|
|
748
|
+
SiteInsightsVisitorBot2["Claudebot"] = "claudebot";
|
|
749
|
+
SiteInsightsVisitorBot2["MetaFetcher"] = "meta-fetcher";
|
|
750
|
+
SiteInsightsVisitorBot2["Grok"] = "grok";
|
|
751
|
+
SiteInsightsVisitorBot2["GithubCopilot"] = "github-copilot";
|
|
752
|
+
SiteInsightsVisitorBot2["MetaWebindexer"] = "meta-webindexer";
|
|
753
|
+
SiteInsightsVisitorBot2["MetaAds"] = "meta-ads";
|
|
754
|
+
SiteInsightsVisitorBot2["Duckassist"] = "duckassist";
|
|
755
|
+
SiteInsightsVisitorBot2["AmznSearchbot"] = "amzn-searchbot";
|
|
756
|
+
SiteInsightsVisitorBot2["AmznUser"] = "amzn-user";
|
|
757
|
+
SiteInsightsVisitorBot2["OtherBot"] = "other-bot";
|
|
758
|
+
SiteInsightsVisitorBot2["Parallel"] = "parallel";
|
|
759
|
+
SiteInsightsVisitorBot2["Exa"] = "exa";
|
|
760
|
+
SiteInsightsVisitorBot2["Linkup"] = "linkup";
|
|
761
|
+
SiteInsightsVisitorBot2["VertexAi"] = "vertex-ai";
|
|
762
|
+
SiteInsightsVisitorBot2["Atlassian"] = "atlassian";
|
|
763
|
+
SiteInsightsVisitorBot2["Kapa"] = "kapa";
|
|
764
|
+
SiteInsightsVisitorBot2["Bedrock"] = "bedrock";
|
|
765
|
+
return SiteInsightsVisitorBot2;
|
|
766
|
+
})(SiteInsightsVisitorBot || {});
|
|
747
767
|
var SiteQuestionVisitorType = /* @__PURE__ */ ((SiteQuestionVisitorType2) => {
|
|
748
768
|
SiteQuestionVisitorType2["Human"] = "human";
|
|
749
769
|
SiteQuestionVisitorType2["Agent"] = "agent";
|
|
@@ -801,6 +821,18 @@ var ContextConnectionStatus = /* @__PURE__ */ ((ContextConnectionStatus2) => {
|
|
|
801
821
|
ContextConnectionStatus2["Skipped"] = "skipped";
|
|
802
822
|
return ContextConnectionStatus2;
|
|
803
823
|
})(ContextConnectionStatus || {});
|
|
824
|
+
var SiteQuestionIntent = /* @__PURE__ */ ((SiteQuestionIntent2) => {
|
|
825
|
+
SiteQuestionIntent2["CanIt"] = "can-it";
|
|
826
|
+
SiteQuestionIntent2["HowTo"] = "how-to";
|
|
827
|
+
SiteQuestionIntent2["HowItWorks"] = "how-it-works";
|
|
828
|
+
SiteQuestionIntent2["Details"] = "details";
|
|
829
|
+
SiteQuestionIntent2["Troubleshoot"] = "troubleshoot";
|
|
830
|
+
SiteQuestionIntent2["Pricing"] = "pricing";
|
|
831
|
+
SiteQuestionIntent2["Trust"] = "trust";
|
|
832
|
+
SiteQuestionIntent2["Fit"] = "fit";
|
|
833
|
+
SiteQuestionIntent2["Other"] = "other";
|
|
834
|
+
return SiteQuestionIntent2;
|
|
835
|
+
})(SiteQuestionIntent || {});
|
|
804
836
|
var SiteQuestionType = /* @__PURE__ */ ((SiteQuestionType2) => {
|
|
805
837
|
SiteQuestionType2["Exploring"] = "exploring";
|
|
806
838
|
SiteQuestionType2["HowTo"] = "how-to";
|
|
@@ -1148,6 +1180,21 @@ var SCIMConnectionProvider = /* @__PURE__ */ ((SCIMConnectionProvider2) => {
|
|
|
1148
1180
|
SCIMConnectionProvider2["Generic"] = "generic";
|
|
1149
1181
|
return SCIMConnectionProvider2;
|
|
1150
1182
|
})(SCIMConnectionProvider || {});
|
|
1183
|
+
var OrganizationDomainStatus = /* @__PURE__ */ ((OrganizationDomainStatus2) => {
|
|
1184
|
+
OrganizationDomainStatus2["Legacy"] = "legacy";
|
|
1185
|
+
OrganizationDomainStatus2["Pending"] = "pending";
|
|
1186
|
+
OrganizationDomainStatus2["Verified"] = "verified";
|
|
1187
|
+
OrganizationDomainStatus2["Error"] = "error";
|
|
1188
|
+
return OrganizationDomainStatus2;
|
|
1189
|
+
})(OrganizationDomainStatus || {});
|
|
1190
|
+
var SAMLProviderDomainStatus = /* @__PURE__ */ ((SAMLProviderDomainStatus2) => {
|
|
1191
|
+
SAMLProviderDomainStatus2["Verified"] = "verified";
|
|
1192
|
+
SAMLProviderDomainStatus2["Pending"] = "pending";
|
|
1193
|
+
SAMLProviderDomainStatus2["Error"] = "error";
|
|
1194
|
+
SAMLProviderDomainStatus2["Legacy"] = "legacy";
|
|
1195
|
+
SAMLProviderDomainStatus2["Removed"] = "removed";
|
|
1196
|
+
return SAMLProviderDomainStatus2;
|
|
1197
|
+
})(SAMLProviderDomainStatus || {});
|
|
1151
1198
|
var SAMLProviderStatus = /* @__PURE__ */ ((SAMLProviderStatus2) => {
|
|
1152
1199
|
SAMLProviderStatus2["Active"] = "active";
|
|
1153
1200
|
SAMLProviderStatus2["Pending"] = "pending";
|
|
@@ -1166,6 +1213,7 @@ var OrganizationFeature = /* @__PURE__ */ ((OrganizationFeature2) => {
|
|
|
1166
1213
|
OrganizationFeature2["MembersTeamOwners"] = "members-team-owners";
|
|
1167
1214
|
OrganizationFeature2["SecuritySaml"] = "security-saml";
|
|
1168
1215
|
OrganizationFeature2["Scim"] = "scim";
|
|
1216
|
+
OrganizationFeature2["VerifiedDomains"] = "verified-domains";
|
|
1169
1217
|
OrganizationFeature2["ChangeRequestsMergeRules"] = "change-requests-merge-rules";
|
|
1170
1218
|
return OrganizationFeature2;
|
|
1171
1219
|
})(OrganizationFeature || {});
|
|
@@ -3397,6 +3445,51 @@ var Api = class extends HttpClient {
|
|
|
3397
3445
|
secure: true,
|
|
3398
3446
|
...params
|
|
3399
3447
|
}),
|
|
3448
|
+
listOrganizationDomains: (organizationId, params = {}) => this.request({
|
|
3449
|
+
path: `/orgs/${organizationId}/domains`,
|
|
3450
|
+
method: "GET",
|
|
3451
|
+
secure: true,
|
|
3452
|
+
format: "json",
|
|
3453
|
+
...params
|
|
3454
|
+
}),
|
|
3455
|
+
addOrganizationDomain: (organizationId, data, params = {}) => this.request({
|
|
3456
|
+
path: `/orgs/${organizationId}/domains`,
|
|
3457
|
+
method: "POST",
|
|
3458
|
+
body: data,
|
|
3459
|
+
secure: true,
|
|
3460
|
+
type: "application/json" /* Json */,
|
|
3461
|
+
format: "json",
|
|
3462
|
+
...params
|
|
3463
|
+
}),
|
|
3464
|
+
getOrganizationDomain: (organizationId, emailDomain, params = {}) => this.request({
|
|
3465
|
+
path: `/orgs/${organizationId}/domains/${emailDomain}`,
|
|
3466
|
+
method: "GET",
|
|
3467
|
+
secure: true,
|
|
3468
|
+
format: "json",
|
|
3469
|
+
...params
|
|
3470
|
+
}),
|
|
3471
|
+
updateOrganizationDomain: (organizationId, emailDomain, data, params = {}) => this.request({
|
|
3472
|
+
path: `/orgs/${organizationId}/domains/${emailDomain}`,
|
|
3473
|
+
method: "PATCH",
|
|
3474
|
+
body: data,
|
|
3475
|
+
secure: true,
|
|
3476
|
+
type: "application/json" /* Json */,
|
|
3477
|
+
format: "json",
|
|
3478
|
+
...params
|
|
3479
|
+
}),
|
|
3480
|
+
deleteOrganizationDomain: (organizationId, emailDomain, params = {}) => this.request({
|
|
3481
|
+
path: `/orgs/${organizationId}/domains/${emailDomain}`,
|
|
3482
|
+
method: "DELETE",
|
|
3483
|
+
secure: true,
|
|
3484
|
+
...params
|
|
3485
|
+
}),
|
|
3486
|
+
verifyOrganizationDomain: (organizationId, emailDomain, params = {}) => this.request({
|
|
3487
|
+
path: `/orgs/${organizationId}/domains/${emailDomain}/verify`,
|
|
3488
|
+
method: "POST",
|
|
3489
|
+
secure: true,
|
|
3490
|
+
format: "json",
|
|
3491
|
+
...params
|
|
3492
|
+
}),
|
|
3400
3493
|
listOrganizationScimConnections: (organizationId, params = {}) => this.request({
|
|
3401
3494
|
path: `/orgs/${organizationId}/scim/connections`,
|
|
3402
3495
|
method: "GET",
|
|
@@ -4094,6 +4187,15 @@ var Api = class extends HttpClient {
|
|
|
4094
4187
|
format: "json",
|
|
4095
4188
|
...params
|
|
4096
4189
|
}),
|
|
4190
|
+
generateSiteSearchPass: (organizationId, siteId, data, params = {}) => this.request({
|
|
4191
|
+
path: `/orgs/${organizationId}/sites/${siteId}/search/pass`,
|
|
4192
|
+
method: "POST",
|
|
4193
|
+
body: data,
|
|
4194
|
+
secure: true,
|
|
4195
|
+
type: "application/json" /* Json */,
|
|
4196
|
+
format: "json",
|
|
4197
|
+
...params
|
|
4198
|
+
}),
|
|
4097
4199
|
prewarmSiteSearch: (organizationId, siteId, params = {}) => this.request({
|
|
4098
4200
|
path: `/orgs/${organizationId}/sites/${siteId}/search/prewarm`,
|
|
4099
4201
|
method: "POST",
|
|
@@ -5060,6 +5162,9 @@ var SITE_ADS_TOPIC_ENUM = ["webdev", "crypto"];
|
|
|
5060
5162
|
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-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"];
|
|
5061
5163
|
var SITE_CUSTOMIZATION_FEATURE_ENUM = ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
|
|
5062
5164
|
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"];
|
|
5165
|
+
var NEW_ORGANIZATION_TITLE_MAX_LENGTH = 80;
|
|
5166
|
+
var NEW_ORGANIZATION_TITLE_MIN_LENGTH = 2;
|
|
5167
|
+
var NEW_ORGANIZATION_TITLE_PATTERN = "\\S.*\\S";
|
|
5063
5168
|
var SITE_ONBOARDING_SOURCE_ENUM = ["markdown-in-git", "import", "template"];
|
|
5064
5169
|
var SITE_ONBOARDING_AUDIENCE_ENUM = ["public", "mixed", "protected", "internal"];
|
|
5065
5170
|
var SITE_ONBOARDING_INTEREST_ENUM = ["adaptive-content", "api-docs", "proactive-agent"];
|
|
@@ -5082,12 +5187,14 @@ var BILLING_METER_ENUM = ["ai_responses", "ai_agent_responses", "translation_wor
|
|
|
5082
5187
|
var AICREDIT_GRANT_TYPE_ENUM = ["paid", "bonus", "site", "rollover", "custom"];
|
|
5083
5188
|
var BILLING_SWITCH_ACTION_ENUM = ["trial", "upgrade", "upgrade_passive", "downgrade", "switch_interval"];
|
|
5084
5189
|
var AIUSAGE_INTERVAL_ENUM = ["day", "week", "month", "year"];
|
|
5085
|
-
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", "scim", "change-requests-merge-rules"];
|
|
5190
|
+
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", "scim", "verified-domains", "change-requests-merge-rules"];
|
|
5086
5191
|
var SAMLPROVIDER_LABEL_MAX_LENGTH = 30;
|
|
5087
5192
|
var SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
5088
5193
|
var SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
5089
5194
|
var SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 1e4;
|
|
5090
5195
|
var SAMLPROVIDER_STATUS_ENUM = ["active", "pending"];
|
|
5196
|
+
var SAMLPROVIDER_DOMAIN_STATUS_ENUM = ["verified", "pending", "error", "legacy", "removed"];
|
|
5197
|
+
var ORGANIZATION_DOMAIN_STATUS_ENUM = ["legacy", "pending", "verified", "error"];
|
|
5091
5198
|
var SCIMCONNECTION_LABEL_MAX_LENGTH = 100;
|
|
5092
5199
|
var SCIMCONNECTION_LABEL_MIN_LENGTH = 1;
|
|
5093
5200
|
var SCIMCONNECTION_PROVIDER_ENUM = ["okta", "entra", "generic"];
|
|
@@ -5157,6 +5264,7 @@ var SITE_FINDING_ACTION_ENUM = ["approve", "reject", "create-redirect", "mark-re
|
|
|
5157
5264
|
var SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|
|
5158
5265
|
var SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$";
|
|
5159
5266
|
var SITE_QUESTION_TYPE_ENUM = ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
|
|
5267
|
+
var SITE_QUESTION_INTENT_ENUM = ["can-it", "how-to", "how-it-works", "details", "troubleshoot", "pricing", "trust", "fit", "other"];
|
|
5160
5268
|
var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
|
|
5161
5269
|
var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
|
|
5162
5270
|
var CONTEXT_CONNECTION_FILTER_MAX_LENGTH = 1024;
|
|
@@ -5177,6 +5285,9 @@ var SITE_QUESTION_ANSWER_RELEVANCE_ENUM = ["relevant", "spam", "off-topic", "unc
|
|
|
5177
5285
|
var SITE_CORE_CHANNEL_TYPE_ENUM = ["site", "embed", "api"];
|
|
5178
5286
|
var SITE_CONFIGURABLE_CHANNEL_TYPE_ENUM = ["builtin:slack", "builtin:discord", "builtin:github", "builtin:linear"];
|
|
5179
5287
|
var SITE_QUESTION_VISITOR_TYPE_ENUM = ["human", "agent", "bot", "unknown"];
|
|
5288
|
+
var SITE_QUESTION_ANSWER_SITE_SAID_ENUM = ["covered", "limited", "unsupported", "no-answer", "needs-support"];
|
|
5289
|
+
var SITE_QUESTION_ESCALATION_ENUM = ["docs", "team", "support", "none"];
|
|
5290
|
+
var SITE_QUESTION_VISITOR_AUTHENTICATION_ENUM = ["authenticated", "anonymous"];
|
|
5180
5291
|
var SITE_QUESTION_ANSWER_RESOLUTION_ENUM = ["no", "partially", "yes"];
|
|
5181
5292
|
var SITE_QUESTION_TIMELINE_INTERVAL_ENUM = ["hour", "day", "week", "month"];
|
|
5182
5293
|
var SITE_QUESTION_ANSWER_HELPFULNESS_ENUM = ["low", "medium", "high"];
|
|
@@ -5509,6 +5620,9 @@ export {
|
|
|
5509
5620
|
MEMBER_ROLE_ENUM,
|
|
5510
5621
|
MemberDisabledReason,
|
|
5511
5622
|
MemberRole,
|
|
5623
|
+
NEW_ORGANIZATION_TITLE_MAX_LENGTH,
|
|
5624
|
+
NEW_ORGANIZATION_TITLE_MIN_LENGTH,
|
|
5625
|
+
NEW_ORGANIZATION_TITLE_PATTERN,
|
|
5512
5626
|
OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM,
|
|
5513
5627
|
OPEN_APISPEC_PROCESSING_STATE_ENUM,
|
|
5514
5628
|
OPEN_APISPEC_SLUG_MAX_LENGTH,
|
|
@@ -5516,6 +5630,7 @@ export {
|
|
|
5516
5630
|
OPEN_APISPEC_SLUG_PATTERN,
|
|
5517
5631
|
OPEN_APISPEC_VISIBILITY_ENUM,
|
|
5518
5632
|
ORGANIZATION_COMMUNITY_TYPE_ENUM,
|
|
5633
|
+
ORGANIZATION_DOMAIN_STATUS_ENUM,
|
|
5519
5634
|
ORGANIZATION_FEATURE_ENUM,
|
|
5520
5635
|
ORGANIZATION_HOSTNAME_MAX_LENGTH,
|
|
5521
5636
|
ORGANIZATION_HOSTNAME_MIN_LENGTH,
|
|
@@ -5530,6 +5645,7 @@ export {
|
|
|
5530
5645
|
OpenAPISpecProcessingState,
|
|
5531
5646
|
OpenAPISpecVisibility,
|
|
5532
5647
|
OrganizationCommunityType,
|
|
5648
|
+
OrganizationDomainStatus,
|
|
5533
5649
|
OrganizationFeature,
|
|
5534
5650
|
OrganizationType,
|
|
5535
5651
|
OrganizationUseCase,
|
|
@@ -5554,10 +5670,12 @@ export {
|
|
|
5554
5670
|
RevisionPageType,
|
|
5555
5671
|
RevisionSemanticChangeType,
|
|
5556
5672
|
SAMLPROVIDER_CERTIFICATE_MAX_LENGTH,
|
|
5673
|
+
SAMLPROVIDER_DOMAIN_STATUS_ENUM,
|
|
5557
5674
|
SAMLPROVIDER_ENTITY_ID_MAX_LENGTH,
|
|
5558
5675
|
SAMLPROVIDER_LABEL_MAX_LENGTH,
|
|
5559
5676
|
SAMLPROVIDER_LABEL_MIN_LENGTH,
|
|
5560
5677
|
SAMLPROVIDER_STATUS_ENUM,
|
|
5678
|
+
SAMLProviderDomainStatus,
|
|
5561
5679
|
SAMLProviderStatus,
|
|
5562
5680
|
SCIMCONNECTION_LABEL_MAX_LENGTH,
|
|
5563
5681
|
SCIMCONNECTION_LABEL_MIN_LENGTH,
|
|
@@ -5617,9 +5735,13 @@ export {
|
|
|
5617
5735
|
SITE_QUESTION_ANSWER_HELPFULNESS_ENUM,
|
|
5618
5736
|
SITE_QUESTION_ANSWER_RELEVANCE_ENUM,
|
|
5619
5737
|
SITE_QUESTION_ANSWER_RESOLUTION_ENUM,
|
|
5738
|
+
SITE_QUESTION_ANSWER_SITE_SAID_ENUM,
|
|
5620
5739
|
SITE_QUESTION_ANSWER_SOURCE_TYPE_ENUM,
|
|
5740
|
+
SITE_QUESTION_ESCALATION_ENUM,
|
|
5741
|
+
SITE_QUESTION_INTENT_ENUM,
|
|
5621
5742
|
SITE_QUESTION_TIMELINE_INTERVAL_ENUM,
|
|
5622
5743
|
SITE_QUESTION_TYPE_ENUM,
|
|
5744
|
+
SITE_QUESTION_VISITOR_AUTHENTICATION_ENUM,
|
|
5623
5745
|
SITE_QUESTION_VISITOR_TYPE_ENUM,
|
|
5624
5746
|
SITE_REDIRECT_ORDER_BY_ENUM,
|
|
5625
5747
|
SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH,
|
|
@@ -5691,9 +5813,13 @@ export {
|
|
|
5691
5813
|
SiteQuestionAnswerHelpfulness,
|
|
5692
5814
|
SiteQuestionAnswerRelevance,
|
|
5693
5815
|
SiteQuestionAnswerResolution,
|
|
5816
|
+
SiteQuestionAnswerSiteSaid,
|
|
5694
5817
|
SiteQuestionAnswerSourceType,
|
|
5818
|
+
SiteQuestionEscalation,
|
|
5819
|
+
SiteQuestionIntent,
|
|
5695
5820
|
SiteQuestionTimelineInterval,
|
|
5696
5821
|
SiteQuestionType,
|
|
5822
|
+
SiteQuestionVisitorAuthentication,
|
|
5697
5823
|
SiteQuestionVisitorType,
|
|
5698
5824
|
SiteRedirectOrderBy,
|
|
5699
5825
|
SiteScanStatus,
|