@gitbook/api 0.158.0 → 0.160.1
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 +480 -17
- package/dist/constants.d.ts +10 -2
- package/dist/index.cjs +199 -8
- package/dist/index.js +188 -8
- package/package.json +5 -1
- package/spec/openapi.json +1307 -14
- package/spec/openapi.yaml +841 -12
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.160.1";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -382,6 +382,11 @@ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
|
|
|
382
382
|
VerticalAlignment2["Bottom"] = "bottom";
|
|
383
383
|
return VerticalAlignment2;
|
|
384
384
|
})(VerticalAlignment || {});
|
|
385
|
+
var OpenAPISpecVisibility = /* @__PURE__ */ ((OpenAPISpecVisibility2) => {
|
|
386
|
+
OpenAPISpecVisibility2["Private"] = "private";
|
|
387
|
+
OpenAPISpecVisibility2["Public"] = "public";
|
|
388
|
+
return OpenAPISpecVisibility2;
|
|
389
|
+
})(OpenAPISpecVisibility || {});
|
|
385
390
|
var RevisionPageLayoutOptionsWidth = /* @__PURE__ */ ((RevisionPageLayoutOptionsWidth2) => {
|
|
386
391
|
RevisionPageLayoutOptionsWidth2["Default"] = "default";
|
|
387
392
|
RevisionPageLayoutOptionsWidth2["Wide"] = "wide";
|
|
@@ -459,11 +464,6 @@ var OpenAPISpecProcessingState = /* @__PURE__ */ ((OpenAPISpecProcessingState2)
|
|
|
459
464
|
OpenAPISpecProcessingState2["Complete"] = "complete";
|
|
460
465
|
return OpenAPISpecProcessingState2;
|
|
461
466
|
})(OpenAPISpecProcessingState || {});
|
|
462
|
-
var OpenAPISpecVisibility = /* @__PURE__ */ ((OpenAPISpecVisibility2) => {
|
|
463
|
-
OpenAPISpecVisibility2["Private"] = "private";
|
|
464
|
-
OpenAPISpecVisibility2["Public"] = "public";
|
|
465
|
-
return OpenAPISpecVisibility2;
|
|
466
|
-
})(OpenAPISpecVisibility || {});
|
|
467
467
|
var OpenAPISpecProcessingErrorCode = /* @__PURE__ */ ((OpenAPISpecProcessingErrorCode2) => {
|
|
468
468
|
OpenAPISpecProcessingErrorCode2["FETCH_TIMEOUT"] = "FETCH_TIMEOUT";
|
|
469
469
|
OpenAPISpecProcessingErrorCode2["FETCH_ERROR"] = "FETCH_ERROR";
|
|
@@ -766,6 +766,73 @@ var CustomizationIconsStyle = /* @__PURE__ */ ((CustomizationIconsStyle2) => {
|
|
|
766
766
|
CustomizationIconsStyle2["Thin"] = "thin";
|
|
767
767
|
return CustomizationIconsStyle2;
|
|
768
768
|
})(CustomizationIconsStyle || {});
|
|
769
|
+
var CustomizationCodeTheme = /* @__PURE__ */ ((CustomizationCodeTheme2) => {
|
|
770
|
+
CustomizationCodeTheme2["DefaultLight"] = "default-light";
|
|
771
|
+
CustomizationCodeTheme2["DefaultDark"] = "default-dark";
|
|
772
|
+
CustomizationCodeTheme2["MonochromeLight"] = "monochrome-light";
|
|
773
|
+
CustomizationCodeTheme2["MonochromeDark"] = "monochrome-dark";
|
|
774
|
+
CustomizationCodeTheme2["Andromeeda"] = "andromeeda";
|
|
775
|
+
CustomizationCodeTheme2["AuroraX"] = "aurora-x";
|
|
776
|
+
CustomizationCodeTheme2["AyuDark"] = "ayu-dark";
|
|
777
|
+
CustomizationCodeTheme2["CatppuccinFrappe"] = "catppuccin-frappe";
|
|
778
|
+
CustomizationCodeTheme2["CatppuccinLatte"] = "catppuccin-latte";
|
|
779
|
+
CustomizationCodeTheme2["CatppuccinMacchiato"] = "catppuccin-macchiato";
|
|
780
|
+
CustomizationCodeTheme2["CatppuccinMocha"] = "catppuccin-mocha";
|
|
781
|
+
CustomizationCodeTheme2["DarkPlus"] = "dark-plus";
|
|
782
|
+
CustomizationCodeTheme2["Dracula"] = "dracula";
|
|
783
|
+
CustomizationCodeTheme2["DraculaSoft"] = "dracula-soft";
|
|
784
|
+
CustomizationCodeTheme2["EverforestDark"] = "everforest-dark";
|
|
785
|
+
CustomizationCodeTheme2["EverforestLight"] = "everforest-light";
|
|
786
|
+
CustomizationCodeTheme2["GithubDark"] = "github-dark";
|
|
787
|
+
CustomizationCodeTheme2["GithubDarkDefault"] = "github-dark-default";
|
|
788
|
+
CustomizationCodeTheme2["GithubDarkDimmed"] = "github-dark-dimmed";
|
|
789
|
+
CustomizationCodeTheme2["GithubDarkHighContrast"] = "github-dark-high-contrast";
|
|
790
|
+
CustomizationCodeTheme2["GithubLight"] = "github-light";
|
|
791
|
+
CustomizationCodeTheme2["GithubLightDefault"] = "github-light-default";
|
|
792
|
+
CustomizationCodeTheme2["GithubLightHighContrast"] = "github-light-high-contrast";
|
|
793
|
+
CustomizationCodeTheme2["GruvboxDarkHard"] = "gruvbox-dark-hard";
|
|
794
|
+
CustomizationCodeTheme2["GruvboxDarkMedium"] = "gruvbox-dark-medium";
|
|
795
|
+
CustomizationCodeTheme2["GruvboxDarkSoft"] = "gruvbox-dark-soft";
|
|
796
|
+
CustomizationCodeTheme2["GruvboxLightHard"] = "gruvbox-light-hard";
|
|
797
|
+
CustomizationCodeTheme2["GruvboxLightMedium"] = "gruvbox-light-medium";
|
|
798
|
+
CustomizationCodeTheme2["GruvboxLightSoft"] = "gruvbox-light-soft";
|
|
799
|
+
CustomizationCodeTheme2["Houston"] = "houston";
|
|
800
|
+
CustomizationCodeTheme2["KanagawaDragon"] = "kanagawa-dragon";
|
|
801
|
+
CustomizationCodeTheme2["KanagawaLotus"] = "kanagawa-lotus";
|
|
802
|
+
CustomizationCodeTheme2["KanagawaWave"] = "kanagawa-wave";
|
|
803
|
+
CustomizationCodeTheme2["Laserwave"] = "laserwave";
|
|
804
|
+
CustomizationCodeTheme2["LightPlus"] = "light-plus";
|
|
805
|
+
CustomizationCodeTheme2["MaterialTheme"] = "material-theme";
|
|
806
|
+
CustomizationCodeTheme2["MaterialThemeDarker"] = "material-theme-darker";
|
|
807
|
+
CustomizationCodeTheme2["MaterialThemeLighter"] = "material-theme-lighter";
|
|
808
|
+
CustomizationCodeTheme2["MaterialThemeOcean"] = "material-theme-ocean";
|
|
809
|
+
CustomizationCodeTheme2["MaterialThemePalenight"] = "material-theme-palenight";
|
|
810
|
+
CustomizationCodeTheme2["MinDark"] = "min-dark";
|
|
811
|
+
CustomizationCodeTheme2["MinLight"] = "min-light";
|
|
812
|
+
CustomizationCodeTheme2["Monokai"] = "monokai";
|
|
813
|
+
CustomizationCodeTheme2["NightOwl"] = "night-owl";
|
|
814
|
+
CustomizationCodeTheme2["Nord"] = "nord";
|
|
815
|
+
CustomizationCodeTheme2["OneDarkPro"] = "one-dark-pro";
|
|
816
|
+
CustomizationCodeTheme2["OneLight"] = "one-light";
|
|
817
|
+
CustomizationCodeTheme2["Plastic"] = "plastic";
|
|
818
|
+
CustomizationCodeTheme2["Poimandres"] = "poimandres";
|
|
819
|
+
CustomizationCodeTheme2["Red"] = "red";
|
|
820
|
+
CustomizationCodeTheme2["RosePine"] = "rose-pine";
|
|
821
|
+
CustomizationCodeTheme2["RosePineDawn"] = "rose-pine-dawn";
|
|
822
|
+
CustomizationCodeTheme2["RosePineMoon"] = "rose-pine-moon";
|
|
823
|
+
CustomizationCodeTheme2["SlackDark"] = "slack-dark";
|
|
824
|
+
CustomizationCodeTheme2["SlackOchin"] = "slack-ochin";
|
|
825
|
+
CustomizationCodeTheme2["SnazzyLight"] = "snazzy-light";
|
|
826
|
+
CustomizationCodeTheme2["SolarizedDark"] = "solarized-dark";
|
|
827
|
+
CustomizationCodeTheme2["SolarizedLight"] = "solarized-light";
|
|
828
|
+
CustomizationCodeTheme2["Synthwave84"] = "synthwave-84";
|
|
829
|
+
CustomizationCodeTheme2["TokyoNight"] = "tokyo-night";
|
|
830
|
+
CustomizationCodeTheme2["Vesper"] = "vesper";
|
|
831
|
+
CustomizationCodeTheme2["VitesseBlack"] = "vitesse-black";
|
|
832
|
+
CustomizationCodeTheme2["VitesseDark"] = "vitesse-dark";
|
|
833
|
+
CustomizationCodeTheme2["VitesseLight"] = "vitesse-light";
|
|
834
|
+
return CustomizationCodeTheme2;
|
|
835
|
+
})(CustomizationCodeTheme || {});
|
|
769
836
|
var CustomizationSidebarBackgroundStyle = /* @__PURE__ */ ((CustomizationSidebarBackgroundStyle2) => {
|
|
770
837
|
CustomizationSidebarBackgroundStyle2["Default"] = "default";
|
|
771
838
|
CustomizationSidebarBackgroundStyle2["Filled"] = "filled";
|
|
@@ -836,6 +903,18 @@ var SiteSocialAccountPlatform = /* @__PURE__ */ ((SiteSocialAccountPlatform2) =>
|
|
|
836
903
|
SiteSocialAccountPlatform2["Medium"] = "medium";
|
|
837
904
|
return SiteSocialAccountPlatform2;
|
|
838
905
|
})(SiteSocialAccountPlatform || {});
|
|
906
|
+
var ContextRecordType = /* @__PURE__ */ ((ContextRecordType2) => {
|
|
907
|
+
ContextRecordType2["Ticket"] = "ticket";
|
|
908
|
+
ContextRecordType2["Document"] = "document";
|
|
909
|
+
return ContextRecordType2;
|
|
910
|
+
})(ContextRecordType || {});
|
|
911
|
+
var ContextConnectionStatus = /* @__PURE__ */ ((ContextConnectionStatus2) => {
|
|
912
|
+
ContextConnectionStatus2["Pending"] = "pending";
|
|
913
|
+
ContextConnectionStatus2["Syncing"] = "syncing";
|
|
914
|
+
ContextConnectionStatus2["Succeeded"] = "succeeded";
|
|
915
|
+
ContextConnectionStatus2["Failed"] = "failed";
|
|
916
|
+
return ContextConnectionStatus2;
|
|
917
|
+
})(ContextConnectionStatus || {});
|
|
839
918
|
var AIModel = /* @__PURE__ */ ((AIModel2) => {
|
|
840
919
|
AIModel2["Fast"] = "fast";
|
|
841
920
|
AIModel2["ReasoningLow"] = "reasoning-low";
|
|
@@ -999,6 +1078,9 @@ var RevisionSemanticChangeType = /* @__PURE__ */ ((RevisionSemanticChangeType2)
|
|
|
999
1078
|
RevisionSemanticChangeType2["FileEdited"] = "file_edited";
|
|
1000
1079
|
RevisionSemanticChangeType2["FileDeleted"] = "file_deleted";
|
|
1001
1080
|
RevisionSemanticChangeType2["CustomFieldsEdited"] = "custom_fields_edited";
|
|
1081
|
+
RevisionSemanticChangeType2["TagCreated"] = "tag_created";
|
|
1082
|
+
RevisionSemanticChangeType2["TagDeleted"] = "tag_deleted";
|
|
1083
|
+
RevisionSemanticChangeType2["TagEdited"] = "tag_edited";
|
|
1002
1084
|
return RevisionSemanticChangeType2;
|
|
1003
1085
|
})(RevisionSemanticChangeType || {});
|
|
1004
1086
|
var GitSyncOperationState = /* @__PURE__ */ ((GitSyncOperationState2) => {
|
|
@@ -3417,6 +3499,85 @@ var Api = class extends HttpClient {
|
|
|
3417
3499
|
secure: true,
|
|
3418
3500
|
...params
|
|
3419
3501
|
}),
|
|
3502
|
+
listSiteContextRecords: (organizationId, siteId, query, params = {}) => this.request({
|
|
3503
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-records`,
|
|
3504
|
+
method: "GET",
|
|
3505
|
+
query,
|
|
3506
|
+
secure: true,
|
|
3507
|
+
format: "json",
|
|
3508
|
+
...params
|
|
3509
|
+
}),
|
|
3510
|
+
upsertSiteContextRecords: (organizationId, siteId, data, params = {}) => this.request({
|
|
3511
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-records`,
|
|
3512
|
+
method: "PUT",
|
|
3513
|
+
body: data,
|
|
3514
|
+
secure: true,
|
|
3515
|
+
type: "application/json" /* Json */,
|
|
3516
|
+
...params
|
|
3517
|
+
}),
|
|
3518
|
+
listSiteContextConnections: (organizationId, siteId, query, params = {}) => this.request({
|
|
3519
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-connections`,
|
|
3520
|
+
method: "GET",
|
|
3521
|
+
query,
|
|
3522
|
+
secure: true,
|
|
3523
|
+
format: "json",
|
|
3524
|
+
...params
|
|
3525
|
+
}),
|
|
3526
|
+
createSiteContextConnection: (organizationId, siteId, data, params = {}) => this.request({
|
|
3527
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-connections`,
|
|
3528
|
+
method: "POST",
|
|
3529
|
+
body: data,
|
|
3530
|
+
secure: true,
|
|
3531
|
+
type: "application/json" /* Json */,
|
|
3532
|
+
format: "json",
|
|
3533
|
+
...params
|
|
3534
|
+
}),
|
|
3535
|
+
getSiteContextConnectionById: (organizationId, siteId, siteContextConnectionId, params = {}) => this.request({
|
|
3536
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-connections/${siteContextConnectionId}`,
|
|
3537
|
+
method: "GET",
|
|
3538
|
+
secure: true,
|
|
3539
|
+
format: "json",
|
|
3540
|
+
...params
|
|
3541
|
+
}),
|
|
3542
|
+
updateSiteContextConnectionById: (organizationId, siteId, siteContextConnectionId, data, params = {}) => this.request({
|
|
3543
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-connections/${siteContextConnectionId}`,
|
|
3544
|
+
method: "PATCH",
|
|
3545
|
+
body: data,
|
|
3546
|
+
secure: true,
|
|
3547
|
+
type: "application/json" /* Json */,
|
|
3548
|
+
format: "json",
|
|
3549
|
+
...params
|
|
3550
|
+
}),
|
|
3551
|
+
syncSiteContextConnection: (organizationId, siteId, siteContextConnectionId, params = {}) => this.request({
|
|
3552
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-connections/${siteContextConnectionId}/sync`,
|
|
3553
|
+
method: "POST",
|
|
3554
|
+
secure: true,
|
|
3555
|
+
...params
|
|
3556
|
+
}),
|
|
3557
|
+
listSiteContextTopics: (organizationId, siteId, query, params = {}) => this.request({
|
|
3558
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-topics`,
|
|
3559
|
+
method: "GET",
|
|
3560
|
+
query,
|
|
3561
|
+
secure: true,
|
|
3562
|
+
format: "json",
|
|
3563
|
+
...params
|
|
3564
|
+
}),
|
|
3565
|
+
getSiteContextTopicById: (organizationId, siteId, siteContextTopicId, params = {}) => this.request({
|
|
3566
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-topics/${siteContextTopicId}`,
|
|
3567
|
+
method: "GET",
|
|
3568
|
+
secure: true,
|
|
3569
|
+
format: "json",
|
|
3570
|
+
...params
|
|
3571
|
+
}),
|
|
3572
|
+
updateSiteContextTopicById: (organizationId, siteId, siteContextTopicId, data, params = {}) => this.request({
|
|
3573
|
+
path: `/orgs/${organizationId}/sites/${siteId}/context-topics/${siteContextTopicId}`,
|
|
3574
|
+
method: "PATCH",
|
|
3575
|
+
body: data,
|
|
3576
|
+
secure: true,
|
|
3577
|
+
type: "application/json" /* Json */,
|
|
3578
|
+
format: "json",
|
|
3579
|
+
...params
|
|
3580
|
+
}),
|
|
3420
3581
|
updateSiteSpaceById: (organizationId, siteId, siteSpaceId, data, params = {}) => this.request({
|
|
3421
3582
|
path: `/orgs/${organizationId}/sites/${siteId}/site-spaces/${siteSpaceId}`,
|
|
3422
3583
|
method: "PATCH",
|
|
@@ -3758,6 +3919,7 @@ var CARDS_IMAGE_OBJECT_FIT_ENUM = ["contain", "fill", "cover"];
|
|
|
3758
3919
|
var VERTICAL_ALIGNMENT_ENUM = ["top", "middle", "bottom"];
|
|
3759
3920
|
var REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
3760
3921
|
var REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
3922
|
+
var OPEN_APISPEC_VISIBILITY_ENUM = ["private", "public"];
|
|
3761
3923
|
var REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM = ["default", "wide"];
|
|
3762
3924
|
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full"];
|
|
3763
3925
|
var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
|
|
@@ -3783,7 +3945,6 @@ var OPEN_APISPEC_SLUG_MAX_LENGTH = 100;
|
|
|
3783
3945
|
var OPEN_APISPEC_SLUG_MIN_LENGTH = 1;
|
|
3784
3946
|
var OPEN_APISPEC_SLUG_PATTERN = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$";
|
|
3785
3947
|
var OPEN_APISPEC_PROCESSING_STATE_ENUM = ["pending", "progress", "complete"];
|
|
3786
|
-
var OPEN_APISPEC_VISIBILITY_ENUM = ["private", "public"];
|
|
3787
3948
|
var OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM = ["FETCH_TIMEOUT", "FETCH_ERROR", "PARSE_ERROR"];
|
|
3788
3949
|
var CONTENT_REFERENCE_STATUS_ENUM = ["ok", "broken", "in-app"];
|
|
3789
3950
|
var CONTENT_REFERENCE_RELATION_ENUM = ["reference", "dependsOn"];
|
|
@@ -3854,6 +4015,7 @@ var CUSTOMIZATION_DEFAULT_FONT_ENUM = ["ABCFavorit", "Inter", "Roboto", "RobotoS
|
|
|
3854
4015
|
var CUSTOMIZATION_DEFAULT_MONOSPACE_FONT_ENUM = ["FiraCode", "IBMPlexMono", "JetBrainsMono", "SourceCodePro", "RobotoMono", "SpaceMono", "DMMono", "Inconsolata"];
|
|
3855
4016
|
var CUSTOMIZATION_BACKGROUND_ENUM = ["plain", "match"];
|
|
3856
4017
|
var CUSTOMIZATION_ICONS_STYLE_ENUM = ["regular", "solid", "duotone", "light", "thin"];
|
|
4018
|
+
var CUSTOMIZATION_CODE_THEME_ENUM = ["default-light", "default-dark", "monochrome-light", "monochrome-dark", "andromeeda", "aurora-x", "ayu-dark", "catppuccin-frappe", "catppuccin-latte", "catppuccin-macchiato", "catppuccin-mocha", "dark-plus", "dracula", "dracula-soft", "everforest-dark", "everforest-light", "github-dark", "github-dark-default", "github-dark-dimmed", "github-dark-high-contrast", "github-light", "github-light-default", "github-light-high-contrast", "gruvbox-dark-hard", "gruvbox-dark-medium", "gruvbox-dark-soft", "gruvbox-light-hard", "gruvbox-light-medium", "gruvbox-light-soft", "houston", "kanagawa-dragon", "kanagawa-lotus", "kanagawa-wave", "laserwave", "light-plus", "material-theme", "material-theme-darker", "material-theme-lighter", "material-theme-ocean", "material-theme-palenight", "min-dark", "min-light", "monokai", "night-owl", "nord", "one-dark-pro", "one-light", "plastic", "poimandres", "red", "rose-pine", "rose-pine-dawn", "rose-pine-moon", "slack-dark", "slack-ochin", "snazzy-light", "solarized-dark", "solarized-light", "synthwave-84", "tokyo-night", "vesper", "vitesse-black", "vitesse-dark", "vitesse-light"];
|
|
3857
4019
|
var CUSTOMIZATION_SIDEBAR_BACKGROUND_STYLE_ENUM = ["default", "filled"];
|
|
3858
4020
|
var CUSTOMIZATION_SIDEBAR_LIST_STYLE_ENUM = ["default", "pill", "line"];
|
|
3859
4021
|
var CUSTOMIZATION_SEARCH_STYLE_ENUM = ["prominent", "subtle"];
|
|
@@ -3872,6 +4034,13 @@ var SITE_SOCIAL_ACCOUNT_HANDLE_MAX_LENGTH = 128;
|
|
|
3872
4034
|
var SITE_SOCIAL_ACCOUNT_HANDLE_MIN_LENGTH = 1;
|
|
3873
4035
|
var SHARE_LINK_NAME_MAX_LENGTH = 50;
|
|
3874
4036
|
var SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
4037
|
+
var CONTEXT_RECORD_TYPE_ENUM = ["ticket", "document"];
|
|
4038
|
+
var CONTEXT_RECORD_TITLE_MAX_LENGTH = 256;
|
|
4039
|
+
var CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
|
|
4040
|
+
var CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
|
|
4041
|
+
var CONTEXT_CONNECTION_LABEL_MAX_LENGTH = 128;
|
|
4042
|
+
var CONTEXT_CONNECTION_LABEL_MIN_LENGTH = 0;
|
|
4043
|
+
var CONTEXT_CONNECTION_STATUS_ENUM = ["pending", "syncing", "succeeded", "failed"];
|
|
3875
4044
|
var AIMODEL_ENUM = ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
3876
4045
|
var SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM = ["site", "embed"];
|
|
3877
4046
|
var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sidebar", "content"];
|
|
@@ -3897,7 +4066,7 @@ var CLOUDFLARE_HOSTNAME_TLSVALIDATION_METHOD_ENUM = ["http", "txt", "email"];
|
|
|
3897
4066
|
var SHA256_MAX_LENGTH = 64;
|
|
3898
4067
|
var SHA256_MIN_LENGTH = 64;
|
|
3899
4068
|
var GIT_BOOK_USERS_ENUM = ["gitbook:agent"];
|
|
3900
|
-
var REVISION_SEMANTIC_CHANGE_TYPE_ENUM = ["page_created", "page_edited", "page_deleted", "page_moved", "file_created", "file_edited", "file_deleted", "custom_fields_edited"];
|
|
4069
|
+
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"];
|
|
3901
4070
|
var GIT_SYNC_OPERATION_STATE_ENUM = ["running", "failure", "success"];
|
|
3902
4071
|
var GIT_SYNC_OPERATION_DIRECTION_ENUM = ["export", "import"];
|
|
3903
4072
|
var GIT_SYNC_OPERATION_STAGE_ENUM = ["repo_fetch", "config_check", "content_process", "finalize"];
|
|
@@ -4018,11 +4187,19 @@ export {
|
|
|
4018
4187
|
CONTENT_REFERENCE_RELATION_ENUM,
|
|
4019
4188
|
CONTENT_REFERENCE_STATUS_ENUM,
|
|
4020
4189
|
CONTENT_VISIBILITY_ENUM,
|
|
4190
|
+
CONTEXT_CONNECTION_LABEL_MAX_LENGTH,
|
|
4191
|
+
CONTEXT_CONNECTION_LABEL_MIN_LENGTH,
|
|
4192
|
+
CONTEXT_CONNECTION_STATUS_ENUM,
|
|
4193
|
+
CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH,
|
|
4194
|
+
CONTEXT_RECORD_TITLE_MAX_LENGTH,
|
|
4195
|
+
CONTEXT_RECORD_TITLE_MIN_LENGTH,
|
|
4196
|
+
CONTEXT_RECORD_TYPE_ENUM,
|
|
4021
4197
|
CONVERSATION_ISSUE_IMPACT_ENUM,
|
|
4022
4198
|
CUSTOMIZATION_AIMODE_ENUM,
|
|
4023
4199
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
|
|
4024
4200
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH,
|
|
4025
4201
|
CUSTOMIZATION_BACKGROUND_ENUM,
|
|
4202
|
+
CUSTOMIZATION_CODE_THEME_ENUM,
|
|
4026
4203
|
CUSTOMIZATION_CONTENT_LINK_TITLE_MAX_LENGTH,
|
|
4027
4204
|
CUSTOMIZATION_CORNERS_ENUM,
|
|
4028
4205
|
CUSTOMIZATION_DEFAULT_FONT_ENUM,
|
|
@@ -4054,12 +4231,15 @@ export {
|
|
|
4054
4231
|
ContentReferenceStatus,
|
|
4055
4232
|
ContentType,
|
|
4056
4233
|
ContentVisibility,
|
|
4234
|
+
ContextConnectionStatus,
|
|
4235
|
+
ContextRecordType,
|
|
4057
4236
|
ConversationIssueImpact,
|
|
4058
4237
|
CustomHostnameDnsStatus,
|
|
4059
4238
|
CustomHostnameErrorStatus,
|
|
4060
4239
|
CustomHostnameSslStatus,
|
|
4061
4240
|
CustomizationAIMode,
|
|
4062
4241
|
CustomizationBackground,
|
|
4242
|
+
CustomizationCodeTheme,
|
|
4063
4243
|
CustomizationCorners,
|
|
4064
4244
|
CustomizationDefaultFont,
|
|
4065
4245
|
CustomizationDefaultMonospaceFont,
|
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.
|
|
7
|
+
"version": "0.160.1",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"files": [
|
|
10
10
|
"README.md",
|
|
@@ -48,5 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"./spec/openapi.json": "./spec/openapi.json",
|
|
50
50
|
"./spec/openapi.yaml": "./spec/openapi.yaml"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public",
|
|
54
|
+
"registry": "https://registry.npmjs.org/"
|
|
51
55
|
}
|
|
52
56
|
}
|