@gitbook/api 0.187.0 → 0.188.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/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.187.0";
175
+ var version = "0.188.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -642,7 +642,7 @@ var SiteFindingSeverity = /* @__PURE__ */ ((SiteFindingSeverity2) => {
642
642
  })(SiteFindingSeverity || {});
643
643
  var SiteFindingType = /* @__PURE__ */ ((SiteFindingType2) => {
644
644
  SiteFindingType2["ContentOutdated"] = "content-outdated";
645
- SiteFindingType2["Incoherence"] = "incoherence";
645
+ SiteFindingType2["ContentIncorrect"] = "content-incorrect";
646
646
  SiteFindingType2["ContentGap"] = "content-gap";
647
647
  SiteFindingType2["Other"] = "other";
648
648
  return SiteFindingType2;
@@ -894,6 +894,18 @@ var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
894
894
  TranslationStatus2["Completed"] = "completed";
895
895
  return TranslationStatus2;
896
896
  })(TranslationStatus || {});
897
+ var OpenAPISpecProcessingErrorCode = /* @__PURE__ */ ((OpenAPISpecProcessingErrorCode2) => {
898
+ OpenAPISpecProcessingErrorCode2["FETCH_TIMEOUT"] = "FETCH_TIMEOUT";
899
+ OpenAPISpecProcessingErrorCode2["FETCH_ERROR"] = "FETCH_ERROR";
900
+ OpenAPISpecProcessingErrorCode2["PARSE_ERROR"] = "PARSE_ERROR";
901
+ return OpenAPISpecProcessingErrorCode2;
902
+ })(OpenAPISpecProcessingErrorCode || {});
903
+ var OpenAPISpecProcessingState = /* @__PURE__ */ ((OpenAPISpecProcessingState2) => {
904
+ OpenAPISpecProcessingState2["Pending"] = "pending";
905
+ OpenAPISpecProcessingState2["Progress"] = "progress";
906
+ OpenAPISpecProcessingState2["Complete"] = "complete";
907
+ return OpenAPISpecProcessingState2;
908
+ })(OpenAPISpecProcessingState || {});
897
909
  var SAMLProviderStatus = /* @__PURE__ */ ((SAMLProviderStatus2) => {
898
910
  SAMLProviderStatus2["Active"] = "active";
899
911
  SAMLProviderStatus2["Pending"] = "pending";
@@ -991,11 +1003,6 @@ var SiteAdsTopic = /* @__PURE__ */ ((SiteAdsTopic2) => {
991
1003
  SiteAdsTopic2["Crypto"] = "crypto";
992
1004
  return SiteAdsTopic2;
993
1005
  })(SiteAdsTopic || {});
994
- var SitePermissionsModel = /* @__PURE__ */ ((SitePermissionsModel2) => {
995
- SitePermissionsModel2["Legacy"] = "legacy";
996
- SitePermissionsModel2["Site"] = "site";
997
- return SitePermissionsModel2;
998
- })(SitePermissionsModel || {});
999
1006
  var SiteVisibility = /* @__PURE__ */ ((SiteVisibility2) => {
1000
1007
  SiteVisibility2["Public"] = "public";
1001
1008
  SiteVisibility2["Unlisted"] = "unlisted";
@@ -1034,6 +1041,60 @@ var IntegrationInstallationStatus = /* @__PURE__ */ ((IntegrationInstallationSta
1034
1041
  IntegrationInstallationStatus2["Paused"] = "paused";
1035
1042
  return IntegrationInstallationStatus2;
1036
1043
  })(IntegrationInstallationStatus || {});
1044
+ var BlockSource = /* @__PURE__ */ ((BlockSource2) => {
1045
+ BlockSource2["Backoffice"] = "backoffice";
1046
+ BlockSource2["External"] = "external";
1047
+ BlockSource2["Internal"] = "internal";
1048
+ return BlockSource2;
1049
+ })(BlockSource || {});
1050
+ var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
1051
+ BillingTrialStatus2["Notapplicable"] = "notapplicable";
1052
+ BillingTrialStatus2["None"] = "none";
1053
+ BillingTrialStatus2["Active"] = "active";
1054
+ BillingTrialStatus2["Ended"] = "ended";
1055
+ BillingTrialStatus2["Expired"] = "expired";
1056
+ return BillingTrialStatus2;
1057
+ })(BillingTrialStatus || {});
1058
+ var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
1059
+ BillingInterval2["Monthly"] = "monthly";
1060
+ BillingInterval2["Yearly"] = "yearly";
1061
+ return BillingInterval2;
1062
+ })(BillingInterval || {});
1063
+ var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
1064
+ BillingProduct2["Free2024"] = "free_2024";
1065
+ BillingProduct2["Plus2024"] = "plus_2024";
1066
+ BillingProduct2["Pro2024"] = "pro_2024";
1067
+ BillingProduct2["Enterprise2024"] = "enterprise_2024";
1068
+ BillingProduct2["Community2024"] = "community_2024";
1069
+ BillingProduct2["Free"] = "free";
1070
+ BillingProduct2["Plus"] = "plus";
1071
+ BillingProduct2["Pro"] = "pro";
1072
+ BillingProduct2["Internal"] = "internal";
1073
+ return BillingProduct2;
1074
+ })(BillingProduct || {});
1075
+ var OrganizationCommunityType = /* @__PURE__ */ ((OrganizationCommunityType2) => {
1076
+ OrganizationCommunityType2["NonProfit"] = "nonProfit";
1077
+ OrganizationCommunityType2["OpenSource"] = "openSource";
1078
+ OrganizationCommunityType2["Education"] = "education";
1079
+ return OrganizationCommunityType2;
1080
+ })(OrganizationCommunityType || {});
1081
+ var OrganizationUseCase = /* @__PURE__ */ ((OrganizationUseCase2) => {
1082
+ OrganizationUseCase2["InternalDocs"] = "internalDocs";
1083
+ OrganizationUseCase2["DocsSite"] = "docsSite";
1084
+ OrganizationUseCase2["AudienceControlledSite"] = "audienceControlledSite";
1085
+ OrganizationUseCase2["ProductDocs"] = "productDocs";
1086
+ OrganizationUseCase2["TeamKnowledgeBase"] = "teamKnowledgeBase";
1087
+ OrganizationUseCase2["DesignSystem"] = "designSystem";
1088
+ OrganizationUseCase2["OpenSourceDocs"] = "openSourceDocs";
1089
+ OrganizationUseCase2["Notes"] = "notes";
1090
+ OrganizationUseCase2["Other"] = "other";
1091
+ return OrganizationUseCase2;
1092
+ })(OrganizationUseCase || {});
1093
+ var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
1094
+ OrganizationType2["Business"] = "business";
1095
+ OrganizationType2["Community"] = "community";
1096
+ return OrganizationType2;
1097
+ })(OrganizationType || {});
1037
1098
  var IntegrationCategory = /* @__PURE__ */ ((IntegrationCategory2) => {
1038
1099
  IntegrationCategory2["Analytics"] = "analytics";
1039
1100
  IntegrationCategory2["Collaboration"] = "collaboration";
@@ -1100,83 +1161,6 @@ var ChangeRequestOrderBy = /* @__PURE__ */ ((ChangeRequestOrderBy2) => {
1100
1161
  ChangeRequestOrderBy2["CreatedAt"] = "createdAt";
1101
1162
  return ChangeRequestOrderBy2;
1102
1163
  })(ChangeRequestOrderBy || {});
1103
- var ContentReferenceRelation = /* @__PURE__ */ ((ContentReferenceRelation2) => {
1104
- ContentReferenceRelation2["Reference"] = "reference";
1105
- ContentReferenceRelation2["DependsOn"] = "dependsOn";
1106
- return ContentReferenceRelation2;
1107
- })(ContentReferenceRelation || {});
1108
- var ContentReferenceStatus = /* @__PURE__ */ ((ContentReferenceStatus2) => {
1109
- ContentReferenceStatus2["Ok"] = "ok";
1110
- ContentReferenceStatus2["Broken"] = "broken";
1111
- ContentReferenceStatus2["InApp"] = "in-app";
1112
- return ContentReferenceStatus2;
1113
- })(ContentReferenceStatus || {});
1114
- var OpenAPISpecProcessingErrorCode = /* @__PURE__ */ ((OpenAPISpecProcessingErrorCode2) => {
1115
- OpenAPISpecProcessingErrorCode2["FETCH_TIMEOUT"] = "FETCH_TIMEOUT";
1116
- OpenAPISpecProcessingErrorCode2["FETCH_ERROR"] = "FETCH_ERROR";
1117
- OpenAPISpecProcessingErrorCode2["PARSE_ERROR"] = "PARSE_ERROR";
1118
- return OpenAPISpecProcessingErrorCode2;
1119
- })(OpenAPISpecProcessingErrorCode || {});
1120
- var OpenAPISpecProcessingState = /* @__PURE__ */ ((OpenAPISpecProcessingState2) => {
1121
- OpenAPISpecProcessingState2["Pending"] = "pending";
1122
- OpenAPISpecProcessingState2["Progress"] = "progress";
1123
- OpenAPISpecProcessingState2["Complete"] = "complete";
1124
- return OpenAPISpecProcessingState2;
1125
- })(OpenAPISpecProcessingState || {});
1126
- var BlockSource = /* @__PURE__ */ ((BlockSource2) => {
1127
- BlockSource2["Backoffice"] = "backoffice";
1128
- BlockSource2["External"] = "external";
1129
- BlockSource2["Internal"] = "internal";
1130
- return BlockSource2;
1131
- })(BlockSource || {});
1132
- var BillingTrialStatus = /* @__PURE__ */ ((BillingTrialStatus2) => {
1133
- BillingTrialStatus2["Notapplicable"] = "notapplicable";
1134
- BillingTrialStatus2["None"] = "none";
1135
- BillingTrialStatus2["Active"] = "active";
1136
- BillingTrialStatus2["Ended"] = "ended";
1137
- BillingTrialStatus2["Expired"] = "expired";
1138
- return BillingTrialStatus2;
1139
- })(BillingTrialStatus || {});
1140
- var BillingInterval = /* @__PURE__ */ ((BillingInterval2) => {
1141
- BillingInterval2["Monthly"] = "monthly";
1142
- BillingInterval2["Yearly"] = "yearly";
1143
- return BillingInterval2;
1144
- })(BillingInterval || {});
1145
- var BillingProduct = /* @__PURE__ */ ((BillingProduct2) => {
1146
- BillingProduct2["Free2024"] = "free_2024";
1147
- BillingProduct2["Plus2024"] = "plus_2024";
1148
- BillingProduct2["Pro2024"] = "pro_2024";
1149
- BillingProduct2["Enterprise2024"] = "enterprise_2024";
1150
- BillingProduct2["Community2024"] = "community_2024";
1151
- BillingProduct2["Free"] = "free";
1152
- BillingProduct2["Plus"] = "plus";
1153
- BillingProduct2["Pro"] = "pro";
1154
- BillingProduct2["Internal"] = "internal";
1155
- return BillingProduct2;
1156
- })(BillingProduct || {});
1157
- var OrganizationCommunityType = /* @__PURE__ */ ((OrganizationCommunityType2) => {
1158
- OrganizationCommunityType2["NonProfit"] = "nonProfit";
1159
- OrganizationCommunityType2["OpenSource"] = "openSource";
1160
- OrganizationCommunityType2["Education"] = "education";
1161
- return OrganizationCommunityType2;
1162
- })(OrganizationCommunityType || {});
1163
- var OrganizationUseCase = /* @__PURE__ */ ((OrganizationUseCase2) => {
1164
- OrganizationUseCase2["InternalDocs"] = "internalDocs";
1165
- OrganizationUseCase2["DocsSite"] = "docsSite";
1166
- OrganizationUseCase2["AudienceControlledSite"] = "audienceControlledSite";
1167
- OrganizationUseCase2["ProductDocs"] = "productDocs";
1168
- OrganizationUseCase2["TeamKnowledgeBase"] = "teamKnowledgeBase";
1169
- OrganizationUseCase2["DesignSystem"] = "designSystem";
1170
- OrganizationUseCase2["OpenSourceDocs"] = "openSourceDocs";
1171
- OrganizationUseCase2["Notes"] = "notes";
1172
- OrganizationUseCase2["Other"] = "other";
1173
- return OrganizationUseCase2;
1174
- })(OrganizationUseCase || {});
1175
- var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
1176
- OrganizationType2["Business"] = "business";
1177
- OrganizationType2["Community"] = "community";
1178
- return OrganizationType2;
1179
- })(OrganizationType || {});
1180
1164
  var ChangeRequestStatus = /* @__PURE__ */ ((ChangeRequestStatus2) => {
1181
1165
  ChangeRequestStatus2["Draft"] = "draft";
1182
1166
  ChangeRequestStatus2["Open"] = "open";
@@ -1753,14 +1737,6 @@ var Api = class extends HttpClient {
1753
1737
  format: "json",
1754
1738
  ...params
1755
1739
  }),
1756
- listSpaceFileBacklinks: (spaceId, fileId, query, params = {}) => this.request({
1757
- path: `/spaces/${spaceId}/content/files/${fileId}/backlinks`,
1758
- method: "GET",
1759
- query,
1760
- secure: true,
1761
- format: "json",
1762
- ...params
1763
- }),
1764
1740
  getPageById: (spaceId, pageId, query, params = {}) => this.request({
1765
1741
  path: `/spaces/${spaceId}/content/page/${pageId}`,
1766
1742
  method: "GET",
@@ -1769,22 +1745,6 @@ var Api = class extends HttpClient {
1769
1745
  format: "json",
1770
1746
  ...params
1771
1747
  }),
1772
- listPageLinksInSpace: (spaceId, pageId, query, params = {}) => this.request({
1773
- path: `/spaces/${spaceId}/content/page/${pageId}/links`,
1774
- method: "GET",
1775
- query,
1776
- secure: true,
1777
- format: "json",
1778
- ...params
1779
- }),
1780
- listSpacePageBacklinks: (spaceId, pageId, query, params = {}) => this.request({
1781
- path: `/spaces/${spaceId}/content/page/${pageId}/backlinks`,
1782
- method: "GET",
1783
- query,
1784
- secure: true,
1785
- format: "json",
1786
- ...params
1787
- }),
1788
1748
  listSpacePageMetaLinks: (spaceId, pageId, params = {}) => this.request({
1789
1749
  path: `/spaces/${spaceId}/content/page/${pageId}/meta-links`,
1790
1750
  method: "GET",
@@ -1953,14 +1913,6 @@ var Api = class extends HttpClient {
1953
1913
  secure: true,
1954
1914
  ...params
1955
1915
  }),
1956
- listChangeRequestLinks: (spaceId, changeRequestId, query, params = {}) => this.request({
1957
- path: `/spaces/${spaceId}/change-requests/${changeRequestId}/links`,
1958
- method: "GET",
1959
- query,
1960
- secure: true,
1961
- format: "json",
1962
- ...params
1963
- }),
1964
1916
  listCommentsInChangeRequest: (spaceId, changeRequestId, query, params = {}) => this.request({
1965
1917
  path: `/spaces/${spaceId}/change-requests/${changeRequestId}/comments`,
1966
1918
  method: "GET",
@@ -2090,14 +2042,6 @@ var Api = class extends HttpClient {
2090
2042
  format: "json",
2091
2043
  ...params
2092
2044
  }),
2093
- listChangeRequestFileBacklinks: (spaceId, changeRequestId, fileId, query, params = {}) => this.request({
2094
- path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/files/${fileId}/backlinks`,
2095
- method: "GET",
2096
- query,
2097
- secure: true,
2098
- format: "json",
2099
- ...params
2100
- }),
2101
2045
  getPageInChangeRequestById: (spaceId, changeRequestId, pageId, query, params = {}) => this.request({
2102
2046
  path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}`,
2103
2047
  method: "GET",
@@ -2106,22 +2050,6 @@ var Api = class extends HttpClient {
2106
2050
  format: "json",
2107
2051
  ...params
2108
2052
  }),
2109
- listPageLinksInChangeRequest: (spaceId, changeRequestId, pageId, query, params = {}) => this.request({
2110
- path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/links`,
2111
- method: "GET",
2112
- query,
2113
- secure: true,
2114
- format: "json",
2115
- ...params
2116
- }),
2117
- listChangeRequestPageBacklinks: (spaceId, changeRequestId, pageId, query, params = {}) => this.request({
2118
- path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/backlinks`,
2119
- method: "GET",
2120
- query,
2121
- secure: true,
2122
- format: "json",
2123
- ...params
2124
- }),
2125
2053
  listChangeRequestPageMetaLinks: (spaceId, changeRequestId, pageId, params = {}) => this.request({
2126
2054
  path: `/spaces/${spaceId}/change-requests/${changeRequestId}/content/page/${pageId}/meta-links`,
2127
2055
  method: "GET",
@@ -2374,14 +2302,6 @@ var Api = class extends HttpClient {
2374
2302
  secure: true,
2375
2303
  format: "json",
2376
2304
  ...params
2377
- }),
2378
- listSpaceLinks: (spaceId, query, params = {}) => this.request({
2379
- path: `/spaces/${spaceId}/links`,
2380
- method: "GET",
2381
- query,
2382
- secure: true,
2383
- format: "json",
2384
- ...params
2385
2305
  })
2386
2306
  };
2387
2307
  collections = {
@@ -3168,6 +3088,13 @@ var Api = class extends HttpClient {
3168
3088
  format: "json",
3169
3089
  ...params
3170
3090
  }),
3091
+ getLatestOpenApiSpecVersionContentRaw: (organizationId, specSlug, params = {}) => this.request({
3092
+ path: `/orgs/${organizationId}/openapi/${specSlug}/versions/latest/content/raw`,
3093
+ method: "GET",
3094
+ secure: true,
3095
+ format: "json",
3096
+ ...params
3097
+ }),
3171
3098
  getOpenApiSpecVersionById: (organizationId, specSlug, versionId, params = {}) => this.request({
3172
3099
  path: `/orgs/${organizationId}/openapi/${specSlug}/versions/${versionId}`,
3173
3100
  method: "GET",
@@ -3777,6 +3704,13 @@ var Api = class extends HttpClient {
3777
3704
  secure: true,
3778
3705
  ...params
3779
3706
  }),
3707
+ testSiteContextConnection: (organizationId, siteId, siteContextConnectionId, params = {}) => this.request({
3708
+ path: `/orgs/${organizationId}/sites/${siteId}/context-connections/${siteContextConnectionId}/test`,
3709
+ method: "POST",
3710
+ secure: true,
3711
+ format: "json",
3712
+ ...params
3713
+ }),
3780
3714
  listSiteTopics: (organizationId, siteId, query, params = {}) => this.request({
3781
3715
  path: `/orgs/${organizationId}/sites/${siteId}/topics`,
3782
3716
  method: "GET",
@@ -4405,6 +4339,20 @@ var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
4405
4339
  var CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
4406
4340
  var CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
4407
4341
  var CHANGE_REQUEST_LINK_TITLE_MAX_LENGTH = 128;
4342
+ var CHANGE_REQUEST_ORDER_BY_ENUM = ["updatedAt", "createdAt"];
4343
+ var CHANGE_REQUEST_REVIEW_STATUS_ENUM = ["changes-requested", "approved"];
4344
+ var REVISION_PAGE_TYPE_ENUM = ["document", "group", "link", "computed"];
4345
+ var REVISION_PAGE_LAYOUT_PRESET_ENUM = ["docs", "editorial", "landing"];
4346
+ var INTEGRATION_TITLE_MAX_LENGTH = 30;
4347
+ var INTEGRATION_TITLE_MIN_LENGTH = 2;
4348
+ var INTEGRATION_DESCRIPTION_MAX_LENGTH = 100;
4349
+ var INTEGRATION_SUMMARY_MAX_LENGTH = 2048;
4350
+ var INTEGRATION_TARGET_ENUM = ["all", "site", "space", "organization"];
4351
+ var INTEGRATION_VISIBILITY_ENUM = ["public", "private", "unlisted"];
4352
+ var 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:visitor:claims", "site:adaptive:read", "site:adaptive:write", "conversations:ingest", "openapi:read", "openapi:write"];
4353
+ var INTEGRATION_CATEGORY_ENUM = ["analytics", "collaboration", "content", "gitsync", "marketing", "visitor-auth", "other"];
4354
+ var INTEGRATION_PROPERTY_TITLE_MAX_LENGTH = 50;
4355
+ var INTEGRATION_PROPERTY_TITLE_MIN_LENGTH = 2;
4408
4356
  var ORGANIZATION_TITLE_MAX_LENGTH = 255;
4409
4357
  var ORGANIZATION_TITLE_MIN_LENGTH = 2;
4410
4358
  var ORGANIZATION_TITLE_PATTERN = "\\S.*\\S";
@@ -4422,27 +4370,6 @@ var BLOCK_REASON_MIN_LENGTH = 1;
4422
4370
  var COLLECTION_TITLE_MAX_LENGTH = 50;
4423
4371
  var COLLECTION_DESCRIPTION_MAX_LENGTH = 100;
4424
4372
  var COLLECTION_DESCRIPTION_MIN_LENGTH = 0;
4425
- var OPEN_APISPEC_SLUG_MAX_LENGTH = 100;
4426
- var OPEN_APISPEC_SLUG_MIN_LENGTH = 1;
4427
- var OPEN_APISPEC_SLUG_PATTERN = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$";
4428
- var OPEN_APISPEC_PROCESSING_STATE_ENUM = ["pending", "progress", "complete"];
4429
- var OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM = ["FETCH_TIMEOUT", "FETCH_ERROR", "PARSE_ERROR"];
4430
- var CONTENT_REFERENCE_STATUS_ENUM = ["ok", "broken", "in-app"];
4431
- var CONTENT_REFERENCE_RELATION_ENUM = ["reference", "dependsOn"];
4432
- var CHANGE_REQUEST_ORDER_BY_ENUM = ["updatedAt", "createdAt"];
4433
- var CHANGE_REQUEST_REVIEW_STATUS_ENUM = ["changes-requested", "approved"];
4434
- var REVISION_PAGE_TYPE_ENUM = ["document", "group", "link", "computed"];
4435
- var REVISION_PAGE_LAYOUT_PRESET_ENUM = ["docs", "editorial", "landing"];
4436
- var INTEGRATION_TITLE_MAX_LENGTH = 30;
4437
- var INTEGRATION_TITLE_MIN_LENGTH = 2;
4438
- var INTEGRATION_DESCRIPTION_MAX_LENGTH = 100;
4439
- var INTEGRATION_SUMMARY_MAX_LENGTH = 2048;
4440
- var INTEGRATION_TARGET_ENUM = ["all", "site", "space", "organization"];
4441
- var INTEGRATION_VISIBILITY_ENUM = ["public", "private", "unlisted"];
4442
- var 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:visitor:claims", "site:adaptive:read", "site:adaptive:write", "conversations:ingest", "openapi:read", "openapi:write"];
4443
- var INTEGRATION_CATEGORY_ENUM = ["analytics", "collaboration", "content", "gitsync", "marketing", "visitor-auth", "other"];
4444
- var INTEGRATION_PROPERTY_TITLE_MAX_LENGTH = 50;
4445
- var INTEGRATION_PROPERTY_TITLE_MIN_LENGTH = 2;
4446
4373
  var INTEGRATION_INSTALLATION_STATUS_ENUM = ["active", "pending", "paused"];
4447
4374
  var INTEGRATION_INSTALLATION_SPACE_SELECTION_ENUM = ["all", "selected"];
4448
4375
  var INTEGRATION_INSTALLATION_SITE_SELECTION_ENUM = ["all", "selected"];
@@ -4457,7 +4384,6 @@ var SITE_BASENAME_MIN_LENGTH = 1;
4457
4384
  var SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
4458
4385
  var SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
4459
4386
  var SITE_VISIBILITY_ENUM = ["public", "unlisted", "share-link", "visitor-auth"];
4460
- var SITE_PERMISSIONS_MODEL_ENUM = ["legacy", "site"];
4461
4387
  var SITE_ADS_TOPIC_ENUM = ["webdev", "crypto"];
4462
4388
  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-connections", "sites-channels", "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"];
4463
4389
  var SITE_CUSTOMIZATION_FEATURE_ENUM = ["header-logo", "header-primary-link", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
@@ -4482,6 +4408,11 @@ var SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
4482
4408
  var SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
4483
4409
  var SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 1e4;
4484
4410
  var SAMLPROVIDER_STATUS_ENUM = ["active", "pending"];
4411
+ var OPEN_APISPEC_SLUG_MAX_LENGTH = 100;
4412
+ var OPEN_APISPEC_SLUG_MIN_LENGTH = 1;
4413
+ var OPEN_APISPEC_SLUG_PATTERN = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$";
4414
+ var OPEN_APISPEC_PROCESSING_STATE_ENUM = ["pending", "progress", "complete"];
4415
+ var OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM = ["FETCH_TIMEOUT", "FETCH_ERROR", "PARSE_ERROR"];
4485
4416
  var TRANSLATION_STATUS_ENUM = ["pending", "running", "completed"];
4486
4417
  var STORAGE_UPLOAD_KIND_ENUM = ["customization_font", "import_file"];
4487
4418
  var FONT_FAMILY_MAX_LENGTH = 50;
@@ -4524,7 +4455,7 @@ var CONTEXT_RECORD_TITLE_MIN_LENGTH = 1;
4524
4455
  var CONTEXT_RECORD_DESCRIPTION_MAX_LENGTH = 512;
4525
4456
  var SITE_SCAN_STATUS_ENUM = ["pending", "running", "done", "failed"];
4526
4457
  var SITE_FINDING_STATUS_ENUM = ["candidate", "open", "done", "canceled"];
4527
- var SITE_FINDING_TYPE_ENUM = ["content-outdated", "incoherence", "content-gap", "other"];
4458
+ var SITE_FINDING_TYPE_ENUM = ["content-outdated", "content-incorrect", "content-gap", "other"];
4528
4459
  var SITE_FINDING_SEVERITY_ENUM = ["low", "medium", "high"];
4529
4460
  var SITE_FINDING_TITLE_MAX_LENGTH = 256;
4530
4461
  var SITE_QUESTION_TYPE_ENUM = ["exploring", "how-to", "troubleshooting", "reference", "unknown"];
@@ -4706,8 +4637,6 @@ export {
4706
4637
  COLLECTION_TITLE_MAX_LENGTH,
4707
4638
  COLOR_PATTERN,
4708
4639
  CONTENT_KIT_ICON_ENUM,
4709
- CONTENT_REFERENCE_RELATION_ENUM,
4710
- CONTENT_REFERENCE_STATUS_ENUM,
4711
4640
  CONTENT_VISIBILITY_ENUM,
4712
4641
  CONTEXT_CONNECTION_FILTER_MAX_LENGTH,
4713
4642
  CONTEXT_CONNECTION_FILTER_MIN_LENGTH,
@@ -4753,8 +4682,6 @@ export {
4753
4682
  CloudflareHostnameTLSStatus,
4754
4683
  CloudflareHostnameTLSValidationMethod,
4755
4684
  ContentKitIcon,
4756
- ContentReferenceRelation,
4757
- ContentReferenceStatus,
4758
4685
  ContentType,
4759
4686
  ContentVisibility,
4760
4687
  ContextConnectionStatus,
@@ -4914,7 +4841,6 @@ export {
4914
4841
  SITE_MCP_SERVER_NAME_MAX_LENGTH,
4915
4842
  SITE_MCP_SERVER_NAME_MIN_LENGTH,
4916
4843
  SITE_MCP_SERVER_TRANSPORT_ENUM,
4917
- SITE_PERMISSIONS_MODEL_ENUM,
4918
4844
  SITE_PROXY_ORIGIN_MAX_LENGTH,
4919
4845
  SITE_PROXY_ORIGIN_PATTERN,
4920
4846
  SITE_QUESTION_ANSWER_HELPFULNESS_ENUM,
@@ -4974,7 +4900,6 @@ export {
4974
4900
  SiteInsightsVisitorDevice,
4975
4901
  SiteInsightsVisitorOS,
4976
4902
  SiteMcpServerTransport,
4977
- SitePermissionsModel,
4978
4903
  SiteQuestionAnswerHelpfulness,
4979
4904
  SiteQuestionAnswerRelevance,
4980
4905
  SiteQuestionAnswerResolution,
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.187.0",
7
+ "version": "0.188.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",