@gitbook/api 0.172.0 → 0.174.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 +238 -91
- package/dist/constants.d.ts +6 -1
- package/dist/index.cjs +84 -17
- package/dist/index.js +74 -17
- package/package.json +1 -1
- package/spec/openapi.json +600 -107
- package/spec/openapi.yaml +406 -77
package/dist/client.d.ts
CHANGED
|
@@ -121,6 +121,14 @@ export declare enum CustomHostnameDnsStatus {
|
|
|
121
121
|
DnsCloudflareProxied = "dns_cloudflare_proxied",
|
|
122
122
|
DnsWrongCaa = "dns_wrong_caa"
|
|
123
123
|
}
|
|
124
|
+
export declare enum SiteChannelRole {
|
|
125
|
+
Collaborator = "collaborator",
|
|
126
|
+
Support = "support"
|
|
127
|
+
}
|
|
128
|
+
export declare enum SiteChannelStatus {
|
|
129
|
+
Active = "active",
|
|
130
|
+
Pending = "pending"
|
|
131
|
+
}
|
|
124
132
|
export declare enum SiteInsightsQueryRangePreset {
|
|
125
133
|
LastYear = "lastYear",
|
|
126
134
|
Last3Months = "last3Months",
|
|
@@ -231,6 +239,17 @@ export declare enum SiteInsightsDisplayContext {
|
|
|
231
239
|
Embed = "embed",
|
|
232
240
|
Mcp = "mcp"
|
|
233
241
|
}
|
|
242
|
+
/** Controls how issue remediation change requests should be handled for a site. */
|
|
243
|
+
export declare enum SiteSettingsFindingChangeRequests {
|
|
244
|
+
Always = "always",
|
|
245
|
+
AutoFixable = "auto-fixable",
|
|
246
|
+
Never = "never"
|
|
247
|
+
}
|
|
248
|
+
/** Controls when topics are being scanned for findings. */
|
|
249
|
+
export declare enum SiteSettingsScanTopics {
|
|
250
|
+
Auto = "auto",
|
|
251
|
+
Never = "never"
|
|
252
|
+
}
|
|
234
253
|
export declare enum AIModel {
|
|
235
254
|
Fast = "fast",
|
|
236
255
|
ReasoningLow = "reasoning-low",
|
|
@@ -257,6 +276,12 @@ export declare enum SiteQuestionAnswerHelpfulness {
|
|
|
257
276
|
Medium = "medium",
|
|
258
277
|
High = "high"
|
|
259
278
|
}
|
|
279
|
+
/** Whether the response answered the question. */
|
|
280
|
+
export declare enum SiteQuestionAnswerResolution {
|
|
281
|
+
No = "no",
|
|
282
|
+
Partially = "partially",
|
|
283
|
+
Yes = "yes"
|
|
284
|
+
}
|
|
260
285
|
/** Relevance classification of the user question. */
|
|
261
286
|
export declare enum SiteQuestionAnswerRelevance {
|
|
262
287
|
Relevant = "relevant",
|
|
@@ -264,12 +289,6 @@ export declare enum SiteQuestionAnswerRelevance {
|
|
|
264
289
|
OffTopic = "off-topic",
|
|
265
290
|
Unclear = "unclear"
|
|
266
291
|
}
|
|
267
|
-
/** Whether the response answered the question. */
|
|
268
|
-
export declare enum SiteQuestionAnswerResolution {
|
|
269
|
-
No = "no",
|
|
270
|
-
Partially = "partially",
|
|
271
|
-
Yes = "yes"
|
|
272
|
-
}
|
|
273
292
|
/** Relative score adjustment applied to records from a connection when searching. */
|
|
274
293
|
export declare enum ContextSearchBoost {
|
|
275
294
|
X08 = "x0.8",
|
|
@@ -668,6 +687,11 @@ export declare enum SiteAdsTopic {
|
|
|
668
687
|
Webdev = "webdev",
|
|
669
688
|
Crypto = "crypto"
|
|
670
689
|
}
|
|
690
|
+
/** Permissions resolution mode for the site. */
|
|
691
|
+
export declare enum SitePermissionsModel {
|
|
692
|
+
Legacy = "legacy",
|
|
693
|
+
Site = "site"
|
|
694
|
+
}
|
|
671
695
|
/**
|
|
672
696
|
* The visibility setting of the site determines the audience of the site.
|
|
673
697
|
* * `public`: Anyone can access the site, and the site is indexed by search engines.
|
|
@@ -1004,7 +1028,7 @@ export declare enum ContentVisibility {
|
|
|
1004
1028
|
/** Data passed through a realtime channel */
|
|
1005
1029
|
export type APIChannelData = APIChannelGitSyncOperationData | APIChannelSpaceContentRefsData | APIChannelChangeRequestContentRefsData | APIChannelTranslationRunData | APIChannelImportRunData | APIChannelMutationData;
|
|
1006
1030
|
/** Channel to subscribe to for realtime updates. */
|
|
1007
|
-
export type APIChannel = APIChannelSpaceInfo | APIChannelSpaceContent | APIChannelSpaceGitInfo | APIChannelSpacePublishingAuth | APIChannelSpacePublishingCustomization | APIChannelSpaceContentRefs | APIChannelSpaceIntegrations | APIChannelUserAPITokens | APIChannelUserOrganizations | APIChannelUserProfile | APIChannelChangeRequest | APIChannelChangeRequests | APIChannelChangeRequestReviews | APIChannelChangeRequestContentRefs | APIChannelCollection | APIChannelCollectionPublishingCustomization | APIChannelOrganizationInfo | APIChannelOrganizationAgentData | APIChannelOrganizationInviteLinks | APIChannelOrganizationMembers | APIChannelOrganizationMember | APIChannelOrganizationSAML | APIChannelOrganizationTeams | APIChannelOrganizationTeam | APIChannelOrganizationTeamMembers | APIChannelOrganizationTeamMember | APIChannelOrganizationSpaces | APIChannelOrganizationCollections | APIChannelOrganizationIntegrations | APIChannelOrganizationInstallations | APIChannelOrganizationSites | APIChannelOrganizationOpenAPISpecs | APIChannelOrganizationTranslations | APIChannelOrganizationTranslationsGlossary | APIChannelOrganizationCustomFonts | APIChannelOrganizationAgentInstructions | APIChannelOrganizationChangeRequests | APIChannelSpaceComments | APIChannelChangeRequestComments | APIChannelCommentInfo | APIChannelCommentReplies | APIChannelIntegration | APIChannelIntegrationInstallation | APIChannelIntegrationSpaceInstallation | APIChannelIntegrationSpaceInstallations | APIChannelIntegrationSiteInstallation | APIChannelIntegrationSiteInstallations | APIChannelPublishedContentSite | APIChannelSiteRedirects | APIChannelSite | APIChannelSiteContext | APIChannelSiteCustomization | APIChannelSiteIntegrations | APIChannelSiteSpace | APIChannelSiteSpaceCustomization | APIChannelSiteStructure | APIChannelSiteAdaptiveSchema | APIChannelSitePublishingAuth | APIChannelSiteShareLinks | APIChannelSiteShareLink | APIChannelSiteMcpServers | APIChannelSiteMcpServer | APIChannelSiteSection | APIChannelCustomHostname | APIChannelGitSyncOperation | APIChannelOpenAPISpec | APIChannelSubdomain | APIChannelTranslation | APIChannelTranslationRun | APIChannelImportRun;
|
|
1031
|
+
export type APIChannel = APIChannelSpaceInfo | APIChannelSpaceContent | APIChannelSpaceGitInfo | APIChannelSpacePublishingAuth | APIChannelSpacePublishingCustomization | APIChannelSpaceContentRefs | APIChannelSpaceIntegrations | APIChannelUserAPITokens | APIChannelUserOrganizations | APIChannelUserProfile | APIChannelChangeRequest | APIChannelChangeRequests | APIChannelChangeRequestReviews | APIChannelChangeRequestContentRefs | APIChannelCollection | APIChannelCollectionPublishingCustomization | APIChannelOrganizationInfo | APIChannelOrganizationAgentData | APIChannelOrganizationInviteLinks | APIChannelOrganizationMembers | APIChannelOrganizationMember | APIChannelOrganizationSAML | APIChannelOrganizationTeams | APIChannelOrganizationTeam | APIChannelOrganizationTeamMembers | APIChannelOrganizationTeamMember | APIChannelOrganizationSpaces | APIChannelOrganizationCollections | APIChannelOrganizationIntegrations | APIChannelOrganizationInstallations | APIChannelOrganizationSites | APIChannelOrganizationOpenAPISpecs | APIChannelOrganizationTranslations | APIChannelOrganizationTranslationsGlossary | APIChannelOrganizationCustomFonts | APIChannelOrganizationAgentInstructions | APIChannelOrganizationChangeRequests | APIChannelSpaceComments | APIChannelChangeRequestComments | APIChannelCommentInfo | APIChannelCommentReplies | APIChannelIntegration | APIChannelIntegrationInstallation | APIChannelIntegrationSpaceInstallation | APIChannelIntegrationSpaceInstallations | APIChannelIntegrationSiteInstallation | APIChannelIntegrationSiteInstallations | APIChannelPublishedContentSite | APIChannelSiteRedirects | APIChannelSite | APIChannelSiteChannels | APIChannelSiteContext | APIChannelSiteCustomization | APIChannelSiteAgentSettings | APIChannelSiteIntegrations | APIChannelSiteSpace | APIChannelSiteSpaceCustomization | APIChannelSiteStructure | APIChannelSiteAdaptiveSchema | APIChannelSitePublishingAuth | APIChannelSiteShareLinks | APIChannelSiteShareLink | APIChannelSiteMcpServers | APIChannelSiteMcpServer | APIChannelSiteSection | APIChannelCustomHostname | APIChannelGitSyncOperation | APIChannelOpenAPISpec | APIChannelSubdomain | APIChannelTranslation | APIChannelTranslationRun | APIChannelImportRun;
|
|
1008
1032
|
export type PublishedContentRedirect = {
|
|
1009
1033
|
/** Type of target for the redirect */
|
|
1010
1034
|
target: "application" | "content";
|
|
@@ -1794,6 +1818,8 @@ export interface DocumentTableViewGrid {
|
|
|
1794
1818
|
columnWidths?: Record<string, number>;
|
|
1795
1819
|
/** Should we display the header with column titles */
|
|
1796
1820
|
hideHeader: boolean;
|
|
1821
|
+
/** Should we keep the table header sticky while the page scrolls */
|
|
1822
|
+
stickyHeader?: boolean;
|
|
1797
1823
|
/**
|
|
1798
1824
|
* Tables in GitBook originally used a scaled width approach i.e. the width defined
|
|
1799
1825
|
* in columnWidths would be scaled to ensure a 100% width table.
|
|
@@ -2717,6 +2743,15 @@ export interface ChangeRequest {
|
|
|
2717
2743
|
revisionMerged?: string;
|
|
2718
2744
|
/** Count of opened comments on the change request. */
|
|
2719
2745
|
comments: number;
|
|
2746
|
+
/** Site context associated with the change request when it was created from a site topic or finding. */
|
|
2747
|
+
siteTopic?: {
|
|
2748
|
+
/** ID of the site associated with the change request. */
|
|
2749
|
+
site: string;
|
|
2750
|
+
/** ID of the site topic associated with the change request. */
|
|
2751
|
+
topic: string;
|
|
2752
|
+
/** ID of the site finding associated with the change request, when applicable. */
|
|
2753
|
+
finding?: string;
|
|
2754
|
+
};
|
|
2720
2755
|
/** If true, the change request is not up-to-date with latest changes in the main content. */
|
|
2721
2756
|
outdated: boolean;
|
|
2722
2757
|
/** URLs associated with the object */
|
|
@@ -4324,6 +4359,10 @@ export interface Site {
|
|
|
4324
4359
|
* * `visitor-auth`: Anyone authenticated through a JWT token can access the site.
|
|
4325
4360
|
*/
|
|
4326
4361
|
visibility: SiteVisibility;
|
|
4362
|
+
/** Permissions resolution mode for the site. */
|
|
4363
|
+
permissionsModel: SitePermissionsModel;
|
|
4364
|
+
/** Default level for a piece of content */
|
|
4365
|
+
defaultLevel: DefaultLevel;
|
|
4327
4366
|
/** Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting. */
|
|
4328
4367
|
published: boolean;
|
|
4329
4368
|
siteSpaces: number;
|
|
@@ -4732,16 +4771,16 @@ export interface CreateOrganization {
|
|
|
4732
4771
|
* @maxLength 128
|
|
4733
4772
|
*/
|
|
4734
4773
|
export type SiteSectionTitle = string;
|
|
4735
|
-
/** Localized
|
|
4736
|
-
export type
|
|
4774
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4775
|
+
export type LocalizedString128 = Record<TranslationLanguage, string>;
|
|
4737
4776
|
/**
|
|
4738
4777
|
* Description of the site section
|
|
4739
4778
|
* @minLength 0
|
|
4740
4779
|
* @maxLength 256
|
|
4741
4780
|
*/
|
|
4742
4781
|
export type SiteSectionDescription = string;
|
|
4743
|
-
/** Localized
|
|
4744
|
-
export type
|
|
4782
|
+
/** Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4783
|
+
export type LocalizedString256 = Record<TranslationLanguage, string>;
|
|
4745
4784
|
/**
|
|
4746
4785
|
* Path to the section on the site
|
|
4747
4786
|
* @minLength 1
|
|
@@ -4765,12 +4804,14 @@ export interface SiteSpace {
|
|
|
4765
4804
|
section?: string;
|
|
4766
4805
|
space: Space;
|
|
4767
4806
|
title: string;
|
|
4768
|
-
/** Localized
|
|
4769
|
-
localizedTitle?:
|
|
4807
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4808
|
+
localizedTitle?: LocalizedString128;
|
|
4770
4809
|
/** Whether this is the default space for the site */
|
|
4771
4810
|
default?: boolean;
|
|
4772
4811
|
/** Conditional expression used to evaluate whether the site space should be shown to the site's visitor. */
|
|
4773
4812
|
condition?: Expression;
|
|
4813
|
+
/** Whether the site space is draft and not live. */
|
|
4814
|
+
draft: boolean;
|
|
4774
4815
|
/** Whether the space has advanced customization feature enabled */
|
|
4775
4816
|
hasAdvancedCustomizationFeature?: boolean;
|
|
4776
4817
|
/** URLs associated with the object */
|
|
@@ -4791,14 +4832,16 @@ export interface SiteSection {
|
|
|
4791
4832
|
id: string;
|
|
4792
4833
|
/** Title of the site section */
|
|
4793
4834
|
title: SiteSectionTitle;
|
|
4794
|
-
/** Localized
|
|
4795
|
-
localizedTitle?:
|
|
4835
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4836
|
+
localizedTitle?: LocalizedString128;
|
|
4796
4837
|
/** Description of the site section */
|
|
4797
4838
|
description?: SiteSectionDescription;
|
|
4798
|
-
/** Localized
|
|
4799
|
-
localizedDescription?:
|
|
4839
|
+
/** Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4840
|
+
localizedDescription?: LocalizedString256;
|
|
4800
4841
|
/** Whether this is the default section for the site */
|
|
4801
4842
|
default?: boolean;
|
|
4843
|
+
/** Whether the site section is draft and not live. */
|
|
4844
|
+
draft: boolean;
|
|
4802
4845
|
/** Path to the section on the site */
|
|
4803
4846
|
path: SiteSectionPath;
|
|
4804
4847
|
/** Conditional expression used to evaluate whether the site section should be shown to the site's visitor. */
|
|
@@ -4830,8 +4873,8 @@ export interface SiteSectionGroup {
|
|
|
4830
4873
|
id: string;
|
|
4831
4874
|
/** Title of the site section group */
|
|
4832
4875
|
title: SiteSectionGroupTitle;
|
|
4833
|
-
/** Localized
|
|
4834
|
-
localizedTitle?:
|
|
4876
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
4877
|
+
localizedTitle?: LocalizedString128;
|
|
4835
4878
|
/**
|
|
4836
4879
|
* List of site section ids that are members of the group. Use `children` instead.
|
|
4837
4880
|
* @deprecated
|
|
@@ -4839,6 +4882,8 @@ export interface SiteSectionGroup {
|
|
|
4839
4882
|
sections: SiteSection[];
|
|
4840
4883
|
/** ID of the parent section group this group belongs to */
|
|
4841
4884
|
sectionGroup?: string;
|
|
4885
|
+
/** Whether the site section group is draft and not live. */
|
|
4886
|
+
draft: boolean;
|
|
4842
4887
|
/** List of all child sections and groups nested under this group */
|
|
4843
4888
|
children: (SiteSection | SiteSectionGroup)[];
|
|
4844
4889
|
/** Name of the icon */
|
|
@@ -5681,15 +5726,23 @@ export interface CustomizationThemedCodeTheme {
|
|
|
5681
5726
|
light: CustomizationCodeTheme;
|
|
5682
5727
|
dark: CustomizationCodeTheme;
|
|
5683
5728
|
}
|
|
5729
|
+
/** Localized string value, keyed by locale. Contains overrides for non-default languages only. */
|
|
5730
|
+
export type LocalizedString = Record<TranslationLanguage, string>;
|
|
5684
5731
|
/** @maxLength 64 */
|
|
5685
5732
|
export type CustomizationContentLinkTitle = string;
|
|
5733
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
5734
|
+
export type LocalizedString64 = Record<TranslationLanguage, string>;
|
|
5686
5735
|
export interface CustomizationContentLink {
|
|
5687
5736
|
title: CustomizationContentLinkTitle;
|
|
5737
|
+
/** Localized overrides for the link title, keyed by locale. */
|
|
5738
|
+
localizedTitle?: LocalizedString64;
|
|
5688
5739
|
/** A relative reference to content in GitBook. */
|
|
5689
5740
|
to: ContentRef;
|
|
5690
5741
|
}
|
|
5691
5742
|
export interface CustomizationHeaderItem {
|
|
5692
5743
|
title: string;
|
|
5744
|
+
/** Localized overrides for the header item title, keyed by locale. */
|
|
5745
|
+
localizedTitle?: LocalizedString;
|
|
5693
5746
|
style?: "link" | "button-primary" | "button-secondary";
|
|
5694
5747
|
to: ContentRef | null;
|
|
5695
5748
|
links: CustomizationContentLink[];
|
|
@@ -5698,6 +5751,8 @@ export interface CustomizationHeaderItem {
|
|
|
5698
5751
|
}
|
|
5699
5752
|
export interface CustomizationFooterGroup {
|
|
5700
5753
|
title: string;
|
|
5754
|
+
/** Localized overrides for the footer group title, keyed by locale. */
|
|
5755
|
+
localizedTitle?: LocalizedString;
|
|
5701
5756
|
links: CustomizationContentLink[];
|
|
5702
5757
|
}
|
|
5703
5758
|
/**
|
|
@@ -5711,6 +5766,8 @@ export interface CustomizationAnnouncement {
|
|
|
5711
5766
|
enabled: boolean;
|
|
5712
5767
|
/** The text content of the announcement. */
|
|
5713
5768
|
message: CustomizationAnnouncementMessage;
|
|
5769
|
+
/** Localized overrides for the announcement message, keyed by locale. */
|
|
5770
|
+
localizedMessage?: LocalizedString128;
|
|
5714
5771
|
/** The content or URL the announcement links to when clicked. */
|
|
5715
5772
|
link?: CustomizationContentLink;
|
|
5716
5773
|
/** The style of the announcement. Used to style the banner with the right semantic color and enable/disable features like hiding the banner. */
|
|
@@ -5753,7 +5810,7 @@ export interface SiteCustomizationSettingsBase {
|
|
|
5753
5810
|
/** Title to use for the published site. If not defined, it'll fallback to the default content title. */
|
|
5754
5811
|
title?: SiteTitle;
|
|
5755
5812
|
/** Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed. */
|
|
5756
|
-
localizedTitle?:
|
|
5813
|
+
localizedTitle?: LocalizedString128;
|
|
5757
5814
|
styling: {
|
|
5758
5815
|
/**
|
|
5759
5816
|
* The theme to apply to the site. Supercedes the old header preset themes.
|
|
@@ -6259,6 +6316,7 @@ export interface SiteQuestion {
|
|
|
6259
6316
|
/** Type classification of the user question. */
|
|
6260
6317
|
type: SiteQuestionType;
|
|
6261
6318
|
createdAt: Timestamp;
|
|
6319
|
+
askedAt: Timestamp;
|
|
6262
6320
|
/** Aggregated stats for questions and linked answers. */
|
|
6263
6321
|
stats: SiteQuestionStats;
|
|
6264
6322
|
/** URLs associated with the site question. */
|
|
@@ -6384,6 +6442,13 @@ export interface SiteTopic {
|
|
|
6384
6442
|
pages: number;
|
|
6385
6443
|
/** The number of records in the topic */
|
|
6386
6444
|
records: number;
|
|
6445
|
+
/** The number of findings linked to the topic */
|
|
6446
|
+
findings: {
|
|
6447
|
+
/** The number of open findings linked to the topic */
|
|
6448
|
+
open: number;
|
|
6449
|
+
/** The total number of findings linked to the topic */
|
|
6450
|
+
total: number;
|
|
6451
|
+
};
|
|
6387
6452
|
/** Aggregated stats for questions and linked answers. */
|
|
6388
6453
|
questions: SiteQuestionStats;
|
|
6389
6454
|
/** URLs associated with the topic */
|
|
@@ -6426,6 +6491,8 @@ export type SiteQuestionAnswerSourceRecord = SiteQuestionAnswerSourceBase & {
|
|
|
6426
6491
|
type: "record";
|
|
6427
6492
|
/** The site context record ID. */
|
|
6428
6493
|
record: string;
|
|
6494
|
+
/** Integration source */
|
|
6495
|
+
connector?: ContextConnector;
|
|
6429
6496
|
};
|
|
6430
6497
|
/** Identifiers for a GitBook site session, used for analytics and adaptive content. */
|
|
6431
6498
|
export interface SiteInsightsSession {
|
|
@@ -6500,6 +6567,21 @@ export interface AIToolCallGetPageContent {
|
|
|
6500
6567
|
revisionId: string;
|
|
6501
6568
|
page: ChangedRevisionPage;
|
|
6502
6569
|
}
|
|
6570
|
+
/** Tool to read the body of an external record. */
|
|
6571
|
+
export interface AIToolCallGetRecordContent {
|
|
6572
|
+
tool: "getRecordContent";
|
|
6573
|
+
/** The ID of the site owning the context record. */
|
|
6574
|
+
siteId: string;
|
|
6575
|
+
/** The ID of the context record. */
|
|
6576
|
+
recordId: string;
|
|
6577
|
+
/** The title of the record. */
|
|
6578
|
+
title: string;
|
|
6579
|
+
/**
|
|
6580
|
+
* URL of the record in the source system.
|
|
6581
|
+
* @format uri
|
|
6582
|
+
*/
|
|
6583
|
+
url?: string;
|
|
6584
|
+
}
|
|
6503
6585
|
export interface AIToolCallGetPages {
|
|
6504
6586
|
tool: "getPages";
|
|
6505
6587
|
/** The ID of the space being accessed. */
|
|
@@ -6701,7 +6783,7 @@ export interface AIToolCallOther {
|
|
|
6701
6783
|
/** Summary of a generic tool call. */
|
|
6702
6784
|
summary: AIToolCallOtherSummary;
|
|
6703
6785
|
}
|
|
6704
|
-
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
6786
|
+
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
6705
6787
|
export interface Timerange {
|
|
6706
6788
|
start: Timestamp;
|
|
6707
6789
|
end: Timestamp;
|
|
@@ -6814,7 +6896,7 @@ export type InviteSiteUsersAndTeams = ({
|
|
|
6814
6896
|
users: string[];
|
|
6815
6897
|
}) & {
|
|
6816
6898
|
/** Role to set. */
|
|
6817
|
-
role:
|
|
6899
|
+
role: MemberRoleOrGuest;
|
|
6818
6900
|
};
|
|
6819
6901
|
export interface OrganizationPointer {
|
|
6820
6902
|
type: "organization";
|
|
@@ -6831,30 +6913,14 @@ export interface UserSitePermission {
|
|
|
6831
6913
|
}
|
|
6832
6914
|
/** Permission override of a user in a site. */
|
|
6833
6915
|
export interface UserSitePermissionOverride {
|
|
6834
|
-
/**
|
|
6835
|
-
|
|
6836
|
-
* "admin": Can administrate the content: create, delete spaces, ...
|
|
6837
|
-
* "create": Can create content.
|
|
6838
|
-
* "review": Can review content.
|
|
6839
|
-
* "edit": Can edit the content (live or change requests).
|
|
6840
|
-
* "comment": Can access the content and its discussions.
|
|
6841
|
-
* "read": Can access the content, but cannot update it in any way.
|
|
6842
|
-
*/
|
|
6843
|
-
permission: MemberRole;
|
|
6916
|
+
/** The role of a member in an organization, null for guests */
|
|
6917
|
+
permission: MemberRoleOrGuest;
|
|
6844
6918
|
user: User;
|
|
6845
6919
|
}
|
|
6846
6920
|
/** Permission override of a team in a site. */
|
|
6847
6921
|
export interface TeamSitePermissionOverride {
|
|
6848
|
-
/**
|
|
6849
|
-
|
|
6850
|
-
* "admin": Can administrate the content: create, delete spaces, ...
|
|
6851
|
-
* "create": Can create content.
|
|
6852
|
-
* "review": Can review content.
|
|
6853
|
-
* "edit": Can edit the content (live or change requests).
|
|
6854
|
-
* "comment": Can access the content and its discussions.
|
|
6855
|
-
* "read": Can access the content, but cannot update it in any way.
|
|
6856
|
-
*/
|
|
6857
|
-
permission: MemberRole;
|
|
6922
|
+
/** The role of a member in an organization, null for guests */
|
|
6923
|
+
permission: MemberRoleOrGuest;
|
|
6858
6924
|
team: OrganizationTeam;
|
|
6859
6925
|
}
|
|
6860
6926
|
/** Context about the current user sending a message. */
|
|
@@ -6984,6 +7050,32 @@ export interface AIStreamResponseAttachment {
|
|
|
6984
7050
|
attachment: AIAttachment;
|
|
6985
7051
|
}
|
|
6986
7052
|
export type AIStreamResponse = AIStreamResponseStart | AIStreamResponseFinish | AIStreamResponseDocument | AIStreamResponseObject | AIStreamResponseToolCall | AIStreamResponseToolCallPending | AIStreamResponseFollowupSuggestion | AIStreamResponseAttachment;
|
|
7053
|
+
export interface SiteAgentSettingsInput {
|
|
7054
|
+
/** Settings related to scanning for a site. */
|
|
7055
|
+
scans: {
|
|
7056
|
+
/** Controls when topics are being scanned for findings. */
|
|
7057
|
+
topics: SiteSettingsScanTopics;
|
|
7058
|
+
};
|
|
7059
|
+
/** Settings related to processing of findings for a site. */
|
|
7060
|
+
findings: {
|
|
7061
|
+
/** Controls how issue remediation change requests should be handled for a site. */
|
|
7062
|
+
changeRequests: SiteSettingsFindingChangeRequests;
|
|
7063
|
+
};
|
|
7064
|
+
/** Site-specific instructions for the editing agent. */
|
|
7065
|
+
editing: {
|
|
7066
|
+
customInstructions: JSONDocument;
|
|
7067
|
+
};
|
|
7068
|
+
}
|
|
7069
|
+
export type SiteAgentSettings = {
|
|
7070
|
+
object: "site-agent-settings";
|
|
7071
|
+
updatedAt?: Timestamp;
|
|
7072
|
+
/** Identifier of the member who last updated the settings. */
|
|
7073
|
+
updatedBy?: string;
|
|
7074
|
+
urls: {
|
|
7075
|
+
/** Relative URL to the resource in the API. */
|
|
7076
|
+
location: string;
|
|
7077
|
+
};
|
|
7078
|
+
} & SiteAgentSettingsInput;
|
|
6987
7079
|
/** Analytics info on the GitBook's site session. */
|
|
6988
7080
|
export type SiteInsightsEventSession = SiteInsightsSession & {
|
|
6989
7081
|
/** The visitors cookies. */
|
|
@@ -7520,24 +7612,28 @@ export interface SiteMcpServer {
|
|
|
7520
7612
|
}
|
|
7521
7613
|
export type SiteChannelSetup = {
|
|
7522
7614
|
type: "builtin:slack";
|
|
7523
|
-
setupSettings:
|
|
7615
|
+
setupSettings: {
|
|
7616
|
+
/** List of allowed Slack channel names or patterns. If empty, all channels are allowed. */
|
|
7617
|
+
allowedChannels?: string[];
|
|
7618
|
+
};
|
|
7524
7619
|
} | {
|
|
7525
7620
|
type: "builtin:discord";
|
|
7526
|
-
setupSettings:
|
|
7621
|
+
setupSettings: {
|
|
7622
|
+
/** List of allowed Discord channel names or patterns. If empty, all channels are allowed. */
|
|
7623
|
+
allowedChannels?: string[];
|
|
7624
|
+
};
|
|
7527
7625
|
};
|
|
7528
|
-
/** Usage settings for a site channel. */
|
|
7529
|
-
export type SiteChannelUsageSettings = object;
|
|
7530
7626
|
export type SiteChannel = SiteChannelSetup & {
|
|
7531
7627
|
object: "site-channel";
|
|
7532
7628
|
/** Unique identifier for the site channel. */
|
|
7533
7629
|
id: string;
|
|
7630
|
+
status: SiteChannelStatus;
|
|
7631
|
+
role: SiteChannelRole;
|
|
7534
7632
|
/**
|
|
7535
7633
|
* Number of answers linked to this channel.
|
|
7536
7634
|
* @min 0
|
|
7537
7635
|
*/
|
|
7538
7636
|
answers: number;
|
|
7539
|
-
/** Usage settings for a site channel. */
|
|
7540
|
-
usageSettings: SiteChannelUsageSettings;
|
|
7541
7637
|
createdAt: Timestamp;
|
|
7542
7638
|
urls: {
|
|
7543
7639
|
/**
|
|
@@ -8277,6 +8373,11 @@ export interface APIChannelSite {
|
|
|
8277
8373
|
channel: "site";
|
|
8278
8374
|
site: string;
|
|
8279
8375
|
}
|
|
8376
|
+
/** Subscription channel for changes in site channels. */
|
|
8377
|
+
export interface APIChannelSiteChannels {
|
|
8378
|
+
channel: "site-channels";
|
|
8379
|
+
site: string;
|
|
8380
|
+
}
|
|
8280
8381
|
/** Subscription channel for changes in site context. */
|
|
8281
8382
|
export interface APIChannelSiteContext {
|
|
8282
8383
|
channel: "site-context";
|
|
@@ -8286,6 +8387,10 @@ export interface APIChannelSiteCustomization {
|
|
|
8286
8387
|
channel: "site-customization";
|
|
8287
8388
|
site: string;
|
|
8288
8389
|
}
|
|
8390
|
+
export interface APIChannelSiteAgentSettings {
|
|
8391
|
+
channel: "site-agent-settings";
|
|
8392
|
+
site: string;
|
|
8393
|
+
}
|
|
8289
8394
|
export interface APIChannelSiteIntegrations {
|
|
8290
8395
|
channel: "site-integrations";
|
|
8291
8396
|
site: string;
|
|
@@ -8463,8 +8568,8 @@ export interface MergeRulesEvaluationContext {
|
|
|
8463
8568
|
/** The user who is attempting to merge the change request. */
|
|
8464
8569
|
actor: User;
|
|
8465
8570
|
}
|
|
8466
|
-
/** Localized
|
|
8467
|
-
export type
|
|
8571
|
+
/** Localized content reference, keyed by locale. Contains overrides for non-default languages only. */
|
|
8572
|
+
export type LocalizedContentRef = Record<TranslationLanguage, ContentRef>;
|
|
8468
8573
|
export type RequestSpaceTrackPageView = SpaceTrackPageView;
|
|
8469
8574
|
export type RequestSiteTrackPageView = SiteTrackPageView;
|
|
8470
8575
|
export type RequestPublishIntegration = PublishIntegration;
|
|
@@ -8737,37 +8842,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8737
8842
|
message: string;
|
|
8738
8843
|
};
|
|
8739
8844
|
}>>;
|
|
8740
|
-
/**
|
|
8741
|
-
* @description Transfer a space to another organization, collection or both.
|
|
8742
|
-
*
|
|
8743
|
-
* @tags spaces
|
|
8744
|
-
* @name TransferSpace
|
|
8745
|
-
* @summary Transfer a space
|
|
8746
|
-
* @request POST:/spaces/{spaceId}/transfer
|
|
8747
|
-
* @secure
|
|
8748
|
-
*/
|
|
8749
|
-
transferSpace: (spaceId: EntityId, data: {
|
|
8750
|
-
/** The unique id of the target organization */
|
|
8751
|
-
organization: string;
|
|
8752
|
-
}, params?: RequestParams) => Promise<HttpResponse<Space, {
|
|
8753
|
-
error: {
|
|
8754
|
-
/** @format int32 */
|
|
8755
|
-
code: 404;
|
|
8756
|
-
message: string;
|
|
8757
|
-
};
|
|
8758
|
-
} | {
|
|
8759
|
-
error: {
|
|
8760
|
-
/** @format int32 */
|
|
8761
|
-
code: 409;
|
|
8762
|
-
message: string;
|
|
8763
|
-
};
|
|
8764
|
-
} | {
|
|
8765
|
-
error: {
|
|
8766
|
-
/** @format int32 */
|
|
8767
|
-
code: 412;
|
|
8768
|
-
message: string;
|
|
8769
|
-
};
|
|
8770
|
-
}>>;
|
|
8771
8845
|
/**
|
|
8772
8846
|
* No description
|
|
8773
8847
|
*
|
|
@@ -12946,6 +13020,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12946
13020
|
/** Basename for the site. For e.g. api */
|
|
12947
13021
|
basename?: SiteBasename;
|
|
12948
13022
|
adaptiveContent?: SiteAdaptiveContent;
|
|
13023
|
+
/** Permissions resolution mode for the site. */
|
|
13024
|
+
permissionsModel?: SitePermissionsModel;
|
|
13025
|
+
/** Default level for a piece of content */
|
|
13026
|
+
defaultLevel?: DefaultLevel;
|
|
12949
13027
|
/** ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section. */
|
|
12950
13028
|
defaultSiteSpace?: string;
|
|
12951
13029
|
/** ID of the site-section to be used as the default. */
|
|
@@ -13324,6 +13402,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13324
13402
|
spaceId: string;
|
|
13325
13403
|
/** ID of the section to add the space to. If not provided, the space will be added to the default section or at the root level if the site has no sections. */
|
|
13326
13404
|
sectionId?: string;
|
|
13405
|
+
/**
|
|
13406
|
+
* Whether the site space should be created as draft. Defaults to false.
|
|
13407
|
+
* @default false
|
|
13408
|
+
*/
|
|
13409
|
+
draft?: boolean;
|
|
13327
13410
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
13328
13411
|
/**
|
|
13329
13412
|
* No description
|
|
@@ -13388,6 +13471,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13388
13471
|
sections?: string[];
|
|
13389
13472
|
/** ID of the parent section group to nest this group under. If not provided, the section group will be added at the root of the site. */
|
|
13390
13473
|
parent?: string;
|
|
13474
|
+
/** Whether the section group should be created in draft mode. */
|
|
13475
|
+
draft?: boolean;
|
|
13391
13476
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
13392
13477
|
/**
|
|
13393
13478
|
* No description
|
|
@@ -13401,9 +13486,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13401
13486
|
updateSiteSectionGroupById: (organizationId: EntityId, siteId: string, siteSectionGroupId: string, data: {
|
|
13402
13487
|
/** Title of the site section group */
|
|
13403
13488
|
title?: SiteSectionGroupTitle;
|
|
13404
|
-
/** Localized
|
|
13405
|
-
localizedTitle?:
|
|
13489
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
13490
|
+
localizedTitle?: LocalizedString128;
|
|
13406
13491
|
icon?: Icon | null;
|
|
13492
|
+
/** Whether the site section group is draft and not live. */
|
|
13493
|
+
draft?: boolean;
|
|
13407
13494
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSectionGroup, any>>;
|
|
13408
13495
|
/**
|
|
13409
13496
|
* No description
|
|
@@ -13454,6 +13541,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13454
13541
|
spaceId: string;
|
|
13455
13542
|
title?: SiteSectionTitle | null;
|
|
13456
13543
|
icon?: Icon | null;
|
|
13544
|
+
/** Whether the section should be created in draft mode. */
|
|
13545
|
+
draft?: boolean;
|
|
13457
13546
|
/** ID of the section group to create the section in */
|
|
13458
13547
|
siteSectionGroupId?: string;
|
|
13459
13548
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
@@ -13492,8 +13581,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13492
13581
|
updateSiteSectionById: (organizationId: EntityId, siteId: string, siteSectionId: string, data: {
|
|
13493
13582
|
/** Title of the site section */
|
|
13494
13583
|
title?: SiteSectionTitle;
|
|
13495
|
-
/** Localized
|
|
13496
|
-
localizedTitle?:
|
|
13584
|
+
/** Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
13585
|
+
localizedTitle?: LocalizedString128;
|
|
13497
13586
|
/** Path to the section on the site */
|
|
13498
13587
|
path?: SiteSectionPath;
|
|
13499
13588
|
/** ID of the site-space to be used as the default in this section. */
|
|
@@ -13501,9 +13590,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13501
13590
|
/** Conditional expression used to evaluate whether the site section should be shown to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed. */
|
|
13502
13591
|
condition?: Expression | null;
|
|
13503
13592
|
icon?: Icon | null;
|
|
13593
|
+
/** Whether the site section is draft and not live. */
|
|
13594
|
+
draft?: boolean;
|
|
13504
13595
|
description?: SiteSectionDescription | null;
|
|
13505
|
-
/** Localized
|
|
13506
|
-
localizedDescription?:
|
|
13596
|
+
/** Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only. */
|
|
13597
|
+
localizedDescription?: LocalizedString256;
|
|
13507
13598
|
/** ID of the section group to move the section into. Set to null to move the section to the root of the site. */
|
|
13508
13599
|
siteSectionGroupId?: string | null;
|
|
13509
13600
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSection, any>>;
|
|
@@ -13994,10 +14085,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13994
14085
|
to?: Timestamp;
|
|
13995
14086
|
/** Filter questions by question type. */
|
|
13996
14087
|
type?: SiteQuestionType;
|
|
14088
|
+
/** Filter questions by question relevance. */
|
|
14089
|
+
relevance?: SiteQuestionAnswerRelevance[];
|
|
13997
14090
|
/** Filter questions by answer resolution. */
|
|
13998
|
-
answered?: SiteQuestionAnswerResolution;
|
|
14091
|
+
answered?: SiteQuestionAnswerResolution[];
|
|
13999
14092
|
/** Filter questions by associated site topic ID. */
|
|
14000
14093
|
topic?: string;
|
|
14094
|
+
/**
|
|
14095
|
+
* An order for the items in the list
|
|
14096
|
+
* @default "desc"
|
|
14097
|
+
*/
|
|
14098
|
+
order?: "asc" | "desc";
|
|
14099
|
+
/** Sort questions by latest ask activity, answered rate, or positive feedback rate. If omitted, ordering stays on canonical question creation date to preserve current behavior. */
|
|
14100
|
+
sort?: "askedAt" | "stats.answered" | "stats.feedback";
|
|
14001
14101
|
/** Identifier of the page results to fetch. */
|
|
14002
14102
|
page?: string;
|
|
14003
14103
|
/**
|
|
@@ -14058,6 +14158,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14058
14158
|
topic?: string[];
|
|
14059
14159
|
/** Filter stats by question relevance. */
|
|
14060
14160
|
relevance?: SiteQuestionAnswerRelevance[];
|
|
14161
|
+
/** Filter stats by answer resolution. */
|
|
14162
|
+
answered?: SiteQuestionAnswerResolution[];
|
|
14061
14163
|
}, params?: RequestParams) => Promise<HttpResponse<SiteQuestionStats, any>>;
|
|
14062
14164
|
/**
|
|
14063
14165
|
* No description
|
|
@@ -14155,6 +14257,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14155
14257
|
spaceId?: string;
|
|
14156
14258
|
/** Whether the site space is hidden. If true, the site space will not be shown in the site's navigation. If not set, the hidden state will remain unchanged. If set to false, the site space will be shown in site navigation. */
|
|
14157
14259
|
hidden?: boolean;
|
|
14260
|
+
/** Whether the site space should be kept in draft mode. Setting it to false makes the site space live. */
|
|
14261
|
+
draft?: boolean;
|
|
14158
14262
|
}, params?: RequestParams) => Promise<HttpResponse<SiteSpace, any>>;
|
|
14159
14263
|
/**
|
|
14160
14264
|
* No description
|
|
@@ -14202,7 +14306,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14202
14306
|
/** Title to use for the published site variant. If not defined, the title will not be changed. If set to null, the title will be unset and will fallback to the content title. */
|
|
14203
14307
|
title?: SiteTitle | null;
|
|
14204
14308
|
/** Localized titles for the site variant, keyed by locale. If not defined, the localized title will not be changed. If set to null, all localized titles will be removed. */
|
|
14205
|
-
localizedTitle?:
|
|
14309
|
+
localizedTitle?: LocalizedString128 | null;
|
|
14206
14310
|
styling?: {
|
|
14207
14311
|
/** The site theme. Set to null to reset the override. */
|
|
14208
14312
|
theme?: CustomizationTheme | null;
|
|
@@ -14604,6 +14708,38 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14604
14708
|
type: SiteCoreChannelType;
|
|
14605
14709
|
};
|
|
14606
14710
|
}, params?: RequestParams) => EventIterator<AIStreamResponse>;
|
|
14711
|
+
/**
|
|
14712
|
+
* No description
|
|
14713
|
+
*
|
|
14714
|
+
* @tags site-agent-settings
|
|
14715
|
+
* @name GetSiteAgentSettingsById
|
|
14716
|
+
* @summary Get site agent settings
|
|
14717
|
+
* @request GET:/orgs/{organizationId}/sites/{siteId}/agent-settings
|
|
14718
|
+
* @secure
|
|
14719
|
+
*/
|
|
14720
|
+
getSiteAgentSettingsById: (organizationId: EntityId, siteId: string, params?: RequestParams) => Promise<HttpResponse<SiteAgentSettings, {
|
|
14721
|
+
error: {
|
|
14722
|
+
/** @format int32 */
|
|
14723
|
+
code: 400;
|
|
14724
|
+
message: string;
|
|
14725
|
+
};
|
|
14726
|
+
}>>;
|
|
14727
|
+
/**
|
|
14728
|
+
* No description
|
|
14729
|
+
*
|
|
14730
|
+
* @tags site-agent-settings
|
|
14731
|
+
* @name UpdateSiteAgentSettingsById
|
|
14732
|
+
* @summary Update site agent settings
|
|
14733
|
+
* @request PUT:/orgs/{organizationId}/sites/{siteId}/agent-settings
|
|
14734
|
+
* @secure
|
|
14735
|
+
*/
|
|
14736
|
+
updateSiteAgentSettingsById: (organizationId: EntityId, siteId: string, data: SiteAgentSettingsInput, params?: RequestParams) => Promise<HttpResponse<SiteAgentSettings, {
|
|
14737
|
+
error: {
|
|
14738
|
+
/** @format int32 */
|
|
14739
|
+
code: 400;
|
|
14740
|
+
message: string;
|
|
14741
|
+
};
|
|
14742
|
+
}>>;
|
|
14607
14743
|
/**
|
|
14608
14744
|
* No description
|
|
14609
14745
|
*
|
|
@@ -14948,8 +15084,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14948
15084
|
* @secure
|
|
14949
15085
|
*/
|
|
14950
15086
|
createSiteChannel: (organizationId: EntityId, siteId: string, data: SiteChannelSetup & {
|
|
14951
|
-
|
|
14952
|
-
usageSettings?: SiteChannelUsageSettings;
|
|
15087
|
+
role?: SiteChannelRole;
|
|
14953
15088
|
}, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
|
|
14954
15089
|
/**
|
|
14955
15090
|
* No description
|
|
@@ -14961,6 +15096,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14961
15096
|
* @secure
|
|
14962
15097
|
*/
|
|
14963
15098
|
getSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
|
|
15099
|
+
/**
|
|
15100
|
+
* No description
|
|
15101
|
+
*
|
|
15102
|
+
* @tags site-channels
|
|
15103
|
+
* @name UpdateSiteChannelById
|
|
15104
|
+
* @summary Update a site channel
|
|
15105
|
+
* @request PATCH:/orgs/{organizationId}/sites/{siteId}/channels/{siteChannelId}
|
|
15106
|
+
* @secure
|
|
15107
|
+
*/
|
|
15108
|
+
updateSiteChannelById: (organizationId: EntityId, siteId: string, siteChannelId: string, data: SiteChannelSetup | {
|
|
15109
|
+
role?: SiteChannelRole;
|
|
15110
|
+
}, params?: RequestParams) => Promise<HttpResponse<SiteChannel, any>>;
|
|
14964
15111
|
/**
|
|
14965
15112
|
* No description
|
|
14966
15113
|
*
|