@gitbook/api 0.146.0 → 0.148.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 +77 -162
- package/dist/constants.d.ts +158 -0
- package/dist/index.cjs +508 -46
- package/dist/index.d.ts +1 -0
- package/dist/index.js +349 -45
- package/package.json +1 -1
- package/spec/openapi.json +212 -421
- package/spec/openapi.yaml +146 -281
package/dist/client.d.ts
CHANGED
|
@@ -404,6 +404,10 @@ export interface SearchPageResult {
|
|
|
404
404
|
title: string;
|
|
405
405
|
path: string;
|
|
406
406
|
sections?: SearchSectionResult[];
|
|
407
|
+
/** Data about the ancestors of the current page, from top-level to direct parent. */
|
|
408
|
+
ancestors: {
|
|
409
|
+
title: string;
|
|
410
|
+
}[];
|
|
407
411
|
/** URLs associated with the object */
|
|
408
412
|
urls: {
|
|
409
413
|
/**
|
|
@@ -1273,7 +1277,7 @@ export interface DocumentBlockStepperStep {
|
|
|
1273
1277
|
object: 'block';
|
|
1274
1278
|
type: 'stepper-step';
|
|
1275
1279
|
key?: string;
|
|
1276
|
-
nodes: (DocumentBlocksEssentials | DocumentBlockContentRef | DocumentBlockCode | DocumentBlockEmbed | DocumentBlockFile | DocumentBlockImages | DocumentBlockDrawing | DocumentBlockHint | DocumentBlockQuote | DocumentBlockMath | DocumentBlockIntegration)[];
|
|
1280
|
+
nodes: (DocumentBlocksEssentials | DocumentBlockContentRef | DocumentBlockCode | DocumentBlockEmbed | DocumentBlockFile | DocumentBlockImages | DocumentBlockDrawing | DocumentBlockHint | DocumentBlockQuote | DocumentBlockMath | DocumentBlockIntegration | DocumentBlockExpandable)[];
|
|
1277
1281
|
data: {
|
|
1278
1282
|
icon?: string;
|
|
1279
1283
|
};
|
|
@@ -1291,7 +1295,7 @@ export interface DocumentBlockColumn {
|
|
|
1291
1295
|
object: 'block';
|
|
1292
1296
|
type: 'column';
|
|
1293
1297
|
key?: string;
|
|
1294
|
-
nodes: (DocumentBlocksEssentials | DocumentBlockImages | DocumentBlockCode | DocumentBlockHint | DocumentBlockContentRef | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockFile | DocumentBlockIntegration | DocumentBlockMath | DocumentBlockQuote | DocumentBlockTable)[];
|
|
1298
|
+
nodes: (DocumentBlocksEssentials | DocumentBlockImages | DocumentBlockCode | DocumentBlockHint | DocumentBlockContentRef | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockFile | DocumentBlockIntegration | DocumentBlockMath | DocumentBlockQuote | DocumentBlockTable | DocumentBlockExpandable)[];
|
|
1295
1299
|
isVoid?: false;
|
|
1296
1300
|
data: {
|
|
1297
1301
|
width?: Length;
|
|
@@ -1423,6 +1427,8 @@ export interface ComputedContentSourceOpenAPIBase {
|
|
|
1423
1427
|
export type ComputedContentSourceRevisionOpenAPI = ComputedContentSourceOpenAPIBase & {
|
|
1424
1428
|
props: {
|
|
1425
1429
|
models: boolean;
|
|
1430
|
+
/** Whether to show a link to download the OpenAPI spec. */
|
|
1431
|
+
downloadLink?: boolean;
|
|
1426
1432
|
};
|
|
1427
1433
|
};
|
|
1428
1434
|
export interface TranslationRef {
|
|
@@ -1933,11 +1939,6 @@ export interface Organization {
|
|
|
1933
1939
|
/** A short description giving context on the reason for the block. */
|
|
1934
1940
|
reason: BlockReason;
|
|
1935
1941
|
};
|
|
1936
|
-
/**
|
|
1937
|
-
* Deprecated. Always true. All organizations are on new trials.
|
|
1938
|
-
* @deprecated
|
|
1939
|
-
*/
|
|
1940
|
-
internal_isOnNewTrial?: true;
|
|
1941
1942
|
internal_billingMigration?: {
|
|
1942
1943
|
/** When we will upgrade the organization onto new pricing, if they haven't already. */
|
|
1943
1944
|
deadline?: Timestamp;
|
|
@@ -2087,7 +2088,7 @@ export interface ContentLocationReusableContent {
|
|
|
2087
2088
|
* Slug used as reference
|
|
2088
2089
|
* @minLength 1
|
|
2089
2090
|
* @maxLength 100
|
|
2090
|
-
* @pattern ^[a-
|
|
2091
|
+
* @pattern ^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$
|
|
2091
2092
|
*/
|
|
2092
2093
|
export type OpenAPISpecSlug = string;
|
|
2093
2094
|
/** Processing state */
|
|
@@ -4178,8 +4179,15 @@ export interface SubscriptionChanges {
|
|
|
4178
4179
|
} | {
|
|
4179
4180
|
/** The site identifier */
|
|
4180
4181
|
id: string;
|
|
4181
|
-
/** Can be set to `false` to unpublish a site */
|
|
4182
|
-
isPublished:
|
|
4182
|
+
/** Can be set to `false` or `true` to either unpublish or publish a site */
|
|
4183
|
+
isPublished: boolean;
|
|
4184
|
+
} | {
|
|
4185
|
+
/** The site identifier */
|
|
4186
|
+
id: string;
|
|
4187
|
+
/** The site type to migrate to */
|
|
4188
|
+
type: SiteType;
|
|
4189
|
+
/** Can be set to `false` or `true` to either unpublish or publish a site */
|
|
4190
|
+
isPublished: boolean;
|
|
4183
4191
|
})[];
|
|
4184
4192
|
}
|
|
4185
4193
|
export interface UpgradeOrganizationBilling {
|
|
@@ -4577,16 +4585,6 @@ export interface ConversationsIssuesCluster {
|
|
|
4577
4585
|
issues: number;
|
|
4578
4586
|
/** The number of conversations in the conversations issues cluster */
|
|
4579
4587
|
conversations: number;
|
|
4580
|
-
/** The number of tasks in the conversations issues cluster */
|
|
4581
|
-
tasksTotal: number;
|
|
4582
|
-
/** The number of tasks in the backlog in the conversations issues cluster */
|
|
4583
|
-
tasksBacklog: number;
|
|
4584
|
-
/** The number of tasks done in the conversations issues cluster */
|
|
4585
|
-
tasksStarted: number;
|
|
4586
|
-
/** The number of tasks completed in the conversations issues cluster */
|
|
4587
|
-
tasksCompleted: number;
|
|
4588
|
-
/** The number of tasks canceled in the conversations issues cluster */
|
|
4589
|
-
tasksCancelled: number;
|
|
4590
4588
|
};
|
|
4591
4589
|
/** URLs associated with the conversations issues cluster */
|
|
4592
4590
|
urls: {
|
|
@@ -4595,11 +4593,6 @@ export interface ConversationsIssuesCluster {
|
|
|
4595
4593
|
* @format uri
|
|
4596
4594
|
*/
|
|
4597
4595
|
location: string;
|
|
4598
|
-
/**
|
|
4599
|
-
* URL of the conversations issues cluster in the application
|
|
4600
|
-
* @format uri
|
|
4601
|
-
*/
|
|
4602
|
-
app: string;
|
|
4603
4596
|
};
|
|
4604
4597
|
}
|
|
4605
4598
|
/** Integration source */
|
|
@@ -4682,24 +4675,16 @@ export interface ConversationIssue {
|
|
|
4682
4675
|
};
|
|
4683
4676
|
}
|
|
4684
4677
|
/** State and settings of the agent */
|
|
4685
|
-
export interface
|
|
4678
|
+
export interface AgentSetupState {
|
|
4686
4679
|
/** The email address of the agent. Emails can be forwarded to it to ingest conversations. */
|
|
4687
4680
|
email: string;
|
|
4688
4681
|
/** The stats of the agent. */
|
|
4689
4682
|
stats: {
|
|
4690
|
-
/** The number of tasks in the backlog. */
|
|
4691
|
-
backlogTasks: number;
|
|
4692
|
-
/** The number of tasks in progress. */
|
|
4693
|
-
startedTasks: number;
|
|
4694
|
-
/** The number of tasks that have been completed. */
|
|
4695
|
-
completedTasks: number;
|
|
4696
|
-
/** The number of tasks that have been canceled. */
|
|
4697
|
-
canceledTasks: number;
|
|
4698
4683
|
/** The number of conversations the agent has indexed. */
|
|
4699
4684
|
conversations: number;
|
|
4700
4685
|
/** The number of issues the agent has indexed. */
|
|
4701
4686
|
issues: number;
|
|
4702
|
-
/** The number of
|
|
4687
|
+
/** The number of issue clusters the agent has indexed. */
|
|
4703
4688
|
issuesClusters: number;
|
|
4704
4689
|
sources: Record<string, number>;
|
|
4705
4690
|
};
|
|
@@ -4719,46 +4704,6 @@ export interface OrganizationAgentInstructions {
|
|
|
4719
4704
|
location: string;
|
|
4720
4705
|
};
|
|
4721
4706
|
}
|
|
4722
|
-
/** The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `started`: The task is open, a change request is associated with it. - `completed`: The task is completed. - `canceled`: The task has been canceled by a human. */
|
|
4723
|
-
export declare enum AgentTaskStatus {
|
|
4724
|
-
Backlog = "backlog",
|
|
4725
|
-
Started = "started",
|
|
4726
|
-
Completed = "completed",
|
|
4727
|
-
Canceled = "canceled"
|
|
4728
|
-
}
|
|
4729
|
-
export interface AgentTask {
|
|
4730
|
-
object: 'agent-task';
|
|
4731
|
-
/** The ID of the agent task */
|
|
4732
|
-
id: string;
|
|
4733
|
-
/** The title of the agent task */
|
|
4734
|
-
title: string;
|
|
4735
|
-
/** The description of the agent task */
|
|
4736
|
-
description: string;
|
|
4737
|
-
instructions: JSONDocument;
|
|
4738
|
-
/** The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `started`: The task is open, a change request is associated with it. - `completed`: The task is completed. - `canceled`: The task has been canceled by a human. */
|
|
4739
|
-
status: AgentTaskStatus;
|
|
4740
|
-
createdAt: Timestamp;
|
|
4741
|
-
updatedAt: Timestamp;
|
|
4742
|
-
/** ID of the cluster the agent task is associated with. */
|
|
4743
|
-
cluster?: string;
|
|
4744
|
-
/** ID of the space the agent task will act on. */
|
|
4745
|
-
space: string;
|
|
4746
|
-
/** ID of the change request the agent task is associated with. */
|
|
4747
|
-
changeRequest?: string;
|
|
4748
|
-
/** URLs associated with the agent task */
|
|
4749
|
-
urls: {
|
|
4750
|
-
/**
|
|
4751
|
-
* URL of the agent task in the API
|
|
4752
|
-
* @format uri
|
|
4753
|
-
*/
|
|
4754
|
-
location: string;
|
|
4755
|
-
/**
|
|
4756
|
-
* URL of the agent task in the application
|
|
4757
|
-
* @format uri
|
|
4758
|
-
*/
|
|
4759
|
-
app: string;
|
|
4760
|
-
};
|
|
4761
|
-
}
|
|
4762
4707
|
export declare enum TranslationStatus {
|
|
4763
4708
|
Pending = "pending",
|
|
4764
4709
|
Running = "running",
|
|
@@ -4928,6 +4873,10 @@ export type ContentImportSource = {
|
|
|
4928
4873
|
url: URL;
|
|
4929
4874
|
} | {
|
|
4930
4875
|
type: 'file';
|
|
4876
|
+
/**
|
|
4877
|
+
* Files to import
|
|
4878
|
+
* @maxItems 50
|
|
4879
|
+
*/
|
|
4931
4880
|
files: string[];
|
|
4932
4881
|
};
|
|
4933
4882
|
export interface ContentImportTarget {
|
|
@@ -4947,12 +4896,16 @@ export interface ContentImportRun {
|
|
|
4947
4896
|
completedAt?: Timestamp;
|
|
4948
4897
|
/** Status of the import */
|
|
4949
4898
|
status: 'pending' | 'in-progress' | 'completed' | 'failed' | 'cancelled';
|
|
4950
|
-
/**
|
|
4899
|
+
/** Pages included in the import */
|
|
4951
4900
|
pages?: {
|
|
4952
4901
|
/** ID of page */
|
|
4953
4902
|
id: string;
|
|
4954
4903
|
/** Source URL where the page has been imported from */
|
|
4955
4904
|
sourceURL?: string;
|
|
4905
|
+
/** Type of page */
|
|
4906
|
+
type: 'page' | 'folder';
|
|
4907
|
+
/** Status of the page */
|
|
4908
|
+
status: 'complete' | 'pending';
|
|
4956
4909
|
}[];
|
|
4957
4910
|
}
|
|
4958
4911
|
/** A response to a request to preview the publishing of a site. It indicates whether the operation can proceed immediately, requires checkout, if a trial is available or if a trial extension is available. */
|
|
@@ -5723,6 +5676,26 @@ export interface AIToolCallGetPageDiff {
|
|
|
5723
5676
|
spaceId: string;
|
|
5724
5677
|
page: ChangedRevisionPage;
|
|
5725
5678
|
}
|
|
5679
|
+
export interface AIToolCallCreateReusableContent {
|
|
5680
|
+
tool: 'createReusableContent';
|
|
5681
|
+
/** The ID of the space being edited. */
|
|
5682
|
+
spaceId: string;
|
|
5683
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5684
|
+
}
|
|
5685
|
+
export interface AIToolCallEditReusableContent {
|
|
5686
|
+
tool: 'editReusableContent';
|
|
5687
|
+
/** The ID of the space being edited. */
|
|
5688
|
+
spaceId: string;
|
|
5689
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5690
|
+
}
|
|
5691
|
+
export interface AIToolCallGetReusableContent {
|
|
5692
|
+
tool: 'getReusableContent';
|
|
5693
|
+
/** The ID of the space being accessed. */
|
|
5694
|
+
spaceId: string;
|
|
5695
|
+
/** The ID of the revision within which the reusable content is being fetched. */
|
|
5696
|
+
revisionId: string;
|
|
5697
|
+
reusableContent: ChangedRevisionReusableContent;
|
|
5698
|
+
}
|
|
5726
5699
|
export interface AIToolCallCreateChangeRequest {
|
|
5727
5700
|
tool: 'createChangeRequest';
|
|
5728
5701
|
/** The ID of the space the change request belongs to. */
|
|
@@ -5786,7 +5759,7 @@ export interface AIToolCallOther {
|
|
|
5786
5759
|
/** Summary of a generic tool call. */
|
|
5787
5760
|
summary: AIToolCallOtherSummary;
|
|
5788
5761
|
}
|
|
5789
|
-
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetPages | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
5762
|
+
export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetPages | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
|
|
5790
5763
|
/** Message emitted by the server to indicate that the AI has called a tool. */
|
|
5791
5764
|
export interface AIStreamResponseToolCall {
|
|
5792
5765
|
type: 'response_tool_call';
|
|
@@ -6944,6 +6917,15 @@ export interface ContentComputeRevisionEventResponse {
|
|
|
6944
6917
|
pages?: InputPage[];
|
|
6945
6918
|
files?: InputFile[];
|
|
6946
6919
|
}
|
|
6920
|
+
export declare enum BillingStatus {
|
|
6921
|
+
Trialing = "trialing",
|
|
6922
|
+
Active = "active",
|
|
6923
|
+
PastDue = "past_due",
|
|
6924
|
+
IncompleteExpired = "incomplete_expired",
|
|
6925
|
+
Canceled = "canceled",
|
|
6926
|
+
Unpaid = "unpaid",
|
|
6927
|
+
Paused = "paused"
|
|
6928
|
+
}
|
|
6947
6929
|
export declare enum APIIntegrationScope {
|
|
6948
6930
|
IntegrationRead = "integration:read",
|
|
6949
6931
|
IntegrationUpdate = "integration:update",
|
|
@@ -7294,26 +7276,12 @@ export interface TranslationRunChannel {
|
|
|
7294
7276
|
channel: 'translation-run';
|
|
7295
7277
|
translation: string;
|
|
7296
7278
|
}
|
|
7297
|
-
/** Subscription channel for an agent task. */
|
|
7298
|
-
export interface AgentTaskChannel {
|
|
7299
|
-
channel: 'agent-task';
|
|
7300
|
-
/** The ID of the organization. */
|
|
7301
|
-
organization: string;
|
|
7302
|
-
/** The ID of the agent task. */
|
|
7303
|
-
agentTask: string;
|
|
7304
|
-
}
|
|
7305
|
-
/** Subscription channel for agent tasks. */
|
|
7306
|
-
export interface AgentTasksChannel {
|
|
7307
|
-
channel: 'agent-tasks';
|
|
7308
|
-
/** The ID of the organization. */
|
|
7309
|
-
organization: string;
|
|
7310
|
-
}
|
|
7311
7279
|
export interface ImportRunChannel {
|
|
7312
7280
|
channel: 'import-run';
|
|
7313
7281
|
runId: string;
|
|
7314
7282
|
}
|
|
7315
7283
|
/** Channel to subscribe to for realtime updates. */
|
|
7316
|
-
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationAIIndexationChannel | OrganizationOpenAPISpecsChannel | OrganizationTranslationsChannel | OrganizationTranslationsGlossaryChannel | OrganizationCustomFontsChannel | OrganizationAgentInstructionsChannel | OrganizationChangeRequestsChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SiteAdaptiveSchemaChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteMcpServersChannel | SiteMcpServerChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncOperationChannel | OpenAPISpecChannel | SubdomainChannel | TranslationChannel | TranslationRunChannel |
|
|
7284
|
+
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationInviteLinksChannel | OrganizationMembersChannel | OrganizationMemberChannel | OrganizationSAMLChannel | OrganizationTeamsChannel | OrganizationTeamChannel | OrganizationTeamMembersChannel | OrganizationTeamMemberChannel | OrganizationSpacesChannel | OrganizationCollectionsChannel | OrganizationIntegrationsChannel | OrganizationInstallationsChannel | OrganizationSitesChannel | OrganizationAIIndexationChannel | OrganizationOpenAPISpecsChannel | OrganizationTranslationsChannel | OrganizationTranslationsGlossaryChannel | OrganizationCustomFontsChannel | OrganizationAgentInstructionsChannel | OrganizationChangeRequestsChannel | SpaceCommentsChannel | ChangeRequestCommentsChannel | CommentInfoChannel | CommentRepliesChannel | IntegrationChannel | IntegrationInstallationChannel | IntegrationSpaceInstallationChannel | IntegrationSpaceInstallationsChannel | IntegrationSiteInstallationChannel | IntegrationSiteInstallationsChannel | PublishedContentSiteChannel | SiteRedirectsChannel | SiteChannel | SiteCustomizationChannel | SiteIntegrationsChannel | SiteSpaceChannel | SiteSpaceCustomizationChannel | SiteStructureChannel | SiteAdaptiveSchemaChannel | SitePublishingAuthChannel | SiteShareLinksChannel | SiteShareLinkChannel | SiteMcpServersChannel | SiteMcpServerChannel | SiteSectionChannel | CustomHostnameChannel | GitSyncOperationChannel | OpenAPISpecChannel | SubdomainChannel | TranslationChannel | TranslationRunChannel | ImportRunChannel;
|
|
7317
7285
|
export interface TranslationRunChannelData {
|
|
7318
7286
|
channel: 'translation-run';
|
|
7319
7287
|
data: {
|
|
@@ -7472,6 +7440,7 @@ export type SpaceVisitorAuthIntegrationBackend = VisitorAuthIntegrationBackend;
|
|
|
7472
7440
|
export type UserPermissions = Index;
|
|
7473
7441
|
export type SiteRedirectDestinationSpace = SiteRedirectDestinationSiteSpace;
|
|
7474
7442
|
export type OpenAPISpecSourceURL = URL;
|
|
7443
|
+
export type AgentsSetupState = AgentSetupState;
|
|
7475
7444
|
import { EventIterator } from 'event-iterator';
|
|
7476
7445
|
export type QueryParamsType = Record<string | number, any>;
|
|
7477
7446
|
export type ResponseFormat = keyof Omit<Body, 'body' | 'bodyUsed'>;
|
|
@@ -8009,7 +7978,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8009
7978
|
* @request POST:/spaces/{spaceId}/content/template
|
|
8010
7979
|
* @secure
|
|
8011
7980
|
*/
|
|
8012
|
-
applyTemplateToSpace: (spaceId: string, data: ApplySpaceTemplate
|
|
7981
|
+
applyTemplateToSpace: (spaceId: string, data: ApplySpaceTemplate & {
|
|
7982
|
+
/** The ID of the change request to apply the template to. If not provided, the template is applied to the main content. */
|
|
7983
|
+
changeRequestId?: string;
|
|
7984
|
+
}, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
8013
7985
|
/**
|
|
8014
7986
|
* No description
|
|
8015
7987
|
*
|
|
@@ -8299,8 +8271,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8299
8271
|
createChangeRequest: (spaceId: string, data: {
|
|
8300
8272
|
/** Subject of the change-request */
|
|
8301
8273
|
subject?: string;
|
|
8302
|
-
/**
|
|
8303
|
-
|
|
8274
|
+
/** Template to apply to the change request */
|
|
8275
|
+
template?: ApplySpaceTemplate;
|
|
8276
|
+
[key: string]: any;
|
|
8304
8277
|
}, params?: RequestParams) => Promise<HttpResponse<ChangeRequest, any>>;
|
|
8305
8278
|
/**
|
|
8306
8279
|
* No description
|
|
@@ -11455,9 +11428,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11455
11428
|
*/
|
|
11456
11429
|
order?: "asc" | "desc";
|
|
11457
11430
|
/** @default "updatedAt" */
|
|
11458
|
-
orderBy?: "updatedAt" | "issues" | "conversations"
|
|
11459
|
-
/** Filter by status */
|
|
11460
|
-
status?: "pending" | "analysing";
|
|
11431
|
+
orderBy?: "updatedAt" | "issues" | "conversations";
|
|
11461
11432
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11462
11433
|
items: ConversationsIssuesCluster[];
|
|
11463
11434
|
}, {
|
|
@@ -11586,7 +11557,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11586
11557
|
* @request GET:/orgs/{organizationId}/agents-setup
|
|
11587
11558
|
* @secure
|
|
11588
11559
|
*/
|
|
11589
|
-
getAgentSetupState: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<
|
|
11560
|
+
getAgentSetupState: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<AgentSetupState, any>>;
|
|
11590
11561
|
/**
|
|
11591
11562
|
* No description
|
|
11592
11563
|
*
|
|
@@ -11610,67 +11581,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11610
11581
|
/** Document describing the Docs agent instructions. */
|
|
11611
11582
|
instructions: JSONDocument;
|
|
11612
11583
|
}, params?: RequestParams) => Promise<HttpResponse<OrganizationAgentInstructions, any>>;
|
|
11613
|
-
/**
|
|
11614
|
-
* No description
|
|
11615
|
-
*
|
|
11616
|
-
* @tags agents
|
|
11617
|
-
* @name ListAgentTasks
|
|
11618
|
-
* @summary List agent tasks
|
|
11619
|
-
* @request GET:/orgs/{organizationId}/agent-tasks
|
|
11620
|
-
* @secure
|
|
11621
|
-
*/
|
|
11622
|
-
listAgentTasks: (organizationId: string, query?: {
|
|
11623
|
-
/** Identifier of the page results to fetch. */
|
|
11624
|
-
page?: string;
|
|
11625
|
-
/**
|
|
11626
|
-
* The number of results per page
|
|
11627
|
-
* @min 0
|
|
11628
|
-
* @max 1000
|
|
11629
|
-
*/
|
|
11630
|
-
limit?: number;
|
|
11631
|
-
/** The ID of the conversations issues cluster to filter the agent tasks by */
|
|
11632
|
-
cluster?: string;
|
|
11633
|
-
/** The ID of the space to filter the agent tasks by */
|
|
11634
|
-
space?: string;
|
|
11635
|
-
/** The statuses of the agent tasks to filter by */
|
|
11636
|
-
status?: AgentTaskStatus[];
|
|
11637
|
-
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11638
|
-
items: AgentTask[];
|
|
11639
|
-
}, {
|
|
11640
|
-
error: {
|
|
11641
|
-
/** @format int32 */
|
|
11642
|
-
code: 404;
|
|
11643
|
-
message: string;
|
|
11644
|
-
};
|
|
11645
|
-
}>>;
|
|
11646
|
-
/**
|
|
11647
|
-
* No description
|
|
11648
|
-
*
|
|
11649
|
-
* @tags agents
|
|
11650
|
-
* @name GetAgentTask
|
|
11651
|
-
* @summary Get an agent task by its identifier
|
|
11652
|
-
* @request GET:/orgs/{organizationId}/agent-tasks/{agentTaskId}
|
|
11653
|
-
* @secure
|
|
11654
|
-
*/
|
|
11655
|
-
getAgentTask: (organizationId: string, agentTaskId: string, params?: RequestParams) => Promise<HttpResponse<AgentTask, {
|
|
11656
|
-
error: {
|
|
11657
|
-
/** @format int32 */
|
|
11658
|
-
code: 404;
|
|
11659
|
-
message: string;
|
|
11660
|
-
};
|
|
11661
|
-
}>>;
|
|
11662
|
-
/**
|
|
11663
|
-
* No description
|
|
11664
|
-
*
|
|
11665
|
-
* @tags agents
|
|
11666
|
-
* @name UpdateAgentTask
|
|
11667
|
-
* @summary Update an agent task by its identifier
|
|
11668
|
-
* @request PATCH:/orgs/{organizationId}/agent-tasks/{agentTaskId}
|
|
11669
|
-
* @secure
|
|
11670
|
-
*/
|
|
11671
|
-
updateAgentTask: (organizationId: string, agentTaskId: string, data: {
|
|
11672
|
-
status: "backlog" | "started" | "canceled";
|
|
11673
|
-
}, params?: RequestParams) => Promise<HttpResponse<AgentTask, any>>;
|
|
11674
11584
|
/**
|
|
11675
11585
|
* No description
|
|
11676
11586
|
*
|
|
@@ -12982,7 +12892,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12982
12892
|
/**
|
|
12983
12893
|
* @description Generate an AI response in a conversation.
|
|
12984
12894
|
*
|
|
12985
|
-
* @tags
|
|
12895
|
+
* @tags site-ai
|
|
12986
12896
|
* @name StreamAiResponseInSite
|
|
12987
12897
|
* @summary Generate an AI response in a site
|
|
12988
12898
|
* @request POST:/orgs/{organizationId}/sites/{siteId}/ai/response
|
|
@@ -13002,7 +12912,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13002
12912
|
/**
|
|
13003
12913
|
* @description Experimental operation to get an existing AI response in a site.
|
|
13004
12914
|
*
|
|
13005
|
-
* @tags
|
|
12915
|
+
* @tags site-ai
|
|
13006
12916
|
* @name StreamExistingAiResponseInSite
|
|
13007
12917
|
* @summary Get an existing AI response in a site
|
|
13008
12918
|
* @request GET:/orgs/{organizationId}/sites/{siteId}/ai/response/{responseId}
|
|
@@ -13234,6 +13144,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
13234
13144
|
startImportRun: (organizationId: string, data: {
|
|
13235
13145
|
source: ContentImportSource;
|
|
13236
13146
|
target: ContentImportTarget;
|
|
13147
|
+
/**
|
|
13148
|
+
* Enhance the imported content with AI
|
|
13149
|
+
* @default true
|
|
13150
|
+
*/
|
|
13151
|
+
enhance?: boolean;
|
|
13237
13152
|
}, params?: RequestParams) => Promise<HttpResponse<ContentImportRun, {
|
|
13238
13153
|
error: {
|
|
13239
13154
|
/** @format int32 */
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export declare const APITOKEN_LABEL_MAX_LENGTH = 50;
|
|
2
|
+
export declare const URL_MAX_LENGTH = 2048;
|
|
3
|
+
export declare const SPACE_TITLE_MAX_LENGTH = 50;
|
|
4
|
+
export declare const EMOJI_MAX_LENGTH = 50;
|
|
5
|
+
export declare const CONTENT_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth", "in-collection", "private"];
|
|
6
|
+
export declare const SPACE_EDIT_MODE_ENUM: ["live", "locked"];
|
|
7
|
+
export declare const EXPRESSION_MAX_LENGTH = 1024;
|
|
8
|
+
export declare const EXPRESSION_MIN_LENGTH = 0;
|
|
9
|
+
export declare const TRANSLATION_LANGUAGE_ENUM: ["en", "fr", "de", "es", "it", "pt", "pt-br", "ru", "ja", "zh", "yue", "ko", "ar", "hi", "nl", "pl", "tr", "sv", "no", "da", "fi", "el", "cs", "hu", "ro", "th", "vi", "id", "ms", "he", "uk", "sk", "bg", "hr", "lt", "lv", "et", "sl"];
|
|
10
|
+
export declare const GIT_SYNC_PROVIDER_ENUM: ["github", "gitlab", "github-legacy"];
|
|
11
|
+
export declare const MEMBER_ROLE_ENUM: ["admin", "create", "edit", "review", "comment", "read"];
|
|
12
|
+
export declare const ORGANIZATION_TEAM_TITLE_MAX_LENGTH = 64;
|
|
13
|
+
export declare const ORGANIZATION_TEAM_TITLE_MIN_LENGTH = 1;
|
|
14
|
+
export declare const ICON_MAX_LENGTH = 50;
|
|
15
|
+
export declare const DOCUMENT_TEXT_COLOR_ENUM: ["default", "green", "blue", "red", "orange", "yellow", "purple", "$primary", "$info", "$success", "$warning", "$danger"];
|
|
16
|
+
export declare const DOCUMENT_TEXT_BACKGROUND_COLOR_ENUM: ["default", "green", "blue", "red", "orange", "yellow", "purple", "$primary", "$info", "$success", "$warning", "$danger"];
|
|
17
|
+
export declare const TEXT_ALIGNMENT_ENUM: ["start", "center", "end"];
|
|
18
|
+
export declare const CARDS_IMAGE_OBJECT_FIT_ENUM: ["contain", "fill", "cover"];
|
|
19
|
+
export declare const VERTICAL_ALIGNMENT_ENUM: ["top", "middle", "bottom"];
|
|
20
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: ["default", "wide"];
|
|
21
|
+
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "full"];
|
|
22
|
+
export declare const CHANGE_REQUEST_STATUS_ENUM: ["draft", "open", "archived", "merged"];
|
|
23
|
+
export declare const CHANGE_REQUEST_SUBJECT_MAX_LENGTH = 100;
|
|
24
|
+
export declare const CHANGE_REQUEST_SUBJECT_MIN_LENGTH = 0;
|
|
25
|
+
export declare const ORGANIZATION_TITLE_MAX_LENGTH = 255;
|
|
26
|
+
export declare const ORGANIZATION_TITLE_MIN_LENGTH = 2;
|
|
27
|
+
export declare const ORGANIZATION_HOSTNAME_MAX_LENGTH = 32;
|
|
28
|
+
export declare const ORGANIZATION_HOSTNAME_MIN_LENGTH = 3;
|
|
29
|
+
export declare const ORGANIZATION_TYPE_ENUM: ["business", "community"];
|
|
30
|
+
export declare const ORGANIZATION_USE_CASE_ENUM: ["internalDocs", "docsSite", "audienceControlledSite", "productDocs", "teamKnowledgeBase", "designSystem", "openSourceDocs", "notes", "other"];
|
|
31
|
+
export declare const ORGANIZATION_COMMUNITY_TYPE_ENUM: ["nonProfit", "openSource", "education"];
|
|
32
|
+
export declare const BILLING_PRODUCT_ENUM: ["free_2024", "plus_2024", "pro_2024", "enterprise_2024", "community_2024", "free", "plus", "pro", "internal"];
|
|
33
|
+
export declare const BILLING_INTERVAL_ENUM: ["monthly", "yearly"];
|
|
34
|
+
export declare const BILLING_TRIAL_STATUS_ENUM: ["notapplicable", "none", "active", "ended", "expired"];
|
|
35
|
+
export declare const BLOCK_SOURCE_ENUM: ["backoffice", "external", "internal"];
|
|
36
|
+
export declare const BLOCK_REASON_MAX_LENGTH = 255;
|
|
37
|
+
export declare const BLOCK_REASON_MIN_LENGTH = 1;
|
|
38
|
+
export declare const COLLECTION_TITLE_MAX_LENGTH = 50;
|
|
39
|
+
export declare const COLLECTION_DESCRIPTION_MAX_LENGTH = 100;
|
|
40
|
+
export declare const COLLECTION_DESCRIPTION_MIN_LENGTH = 0;
|
|
41
|
+
export declare const OPEN_APISPEC_SLUG_MAX_LENGTH = 100;
|
|
42
|
+
export declare const OPEN_APISPEC_SLUG_MIN_LENGTH = 1;
|
|
43
|
+
export declare const OPEN_APISPEC_SLUG_PATTERN = "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$";
|
|
44
|
+
export declare const OPEN_APISPEC_PROCESSING_STATE_ENUM: ["pending", "progress", "complete"];
|
|
45
|
+
export declare const OPEN_APISPEC_VISIBILITY_ENUM: ["private", "public"];
|
|
46
|
+
export declare const OPEN_APISPEC_PROCESSING_ERROR_CODE_ENUM: ["FETCH_TIMEOUT", "FETCH_ERROR", "PARSE_ERROR"];
|
|
47
|
+
export declare const CONTENT_REFERENCE_STATUS_ENUM: ["ok", "broken", "in-app"];
|
|
48
|
+
export declare const CONTENT_REFERENCE_RELATION_ENUM: ["reference", "dependsOn"];
|
|
49
|
+
export declare const CHANGE_REQUEST_REVIEW_STATUS_ENUM: ["changes-requested", "approved"];
|
|
50
|
+
export declare const REVISION_PAGE_TYPE_ENUM: ["document", "group", "link", "computed"];
|
|
51
|
+
export declare const REVISION_PAGE_LAYOUT_PRESET_ENUM: ["docs", "editorial", "landing"];
|
|
52
|
+
export declare const INTEGRATION_TITLE_MAX_LENGTH = 30;
|
|
53
|
+
export declare const INTEGRATION_TITLE_MIN_LENGTH = 2;
|
|
54
|
+
export declare const INTEGRATION_DESCRIPTION_MAX_LENGTH = 100;
|
|
55
|
+
export declare const INTEGRATION_SUMMARY_MAX_LENGTH = 2048;
|
|
56
|
+
export declare const INTEGRATION_TARGET_ENUM: ["all", "site", "space", "organization"];
|
|
57
|
+
export declare const INTEGRATION_VISIBILITY_ENUM: ["public", "private", "unlisted"];
|
|
58
|
+
export declare const 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:adaptive:read", "site:adaptive:write", "openapi:read", "openapi:write", "conversations:ingest"];
|
|
59
|
+
export declare const INTEGRATION_CATEGORY_ENUM: ["analytics", "collaboration", "content", "gitsync", "marketing", "visitor-auth", "other"];
|
|
60
|
+
export declare const INTEGRATION_INSTALLATION_STATUS_ENUM: ["active", "pending", "paused"];
|
|
61
|
+
export declare const INTEGRATION_INSTALLATION_SPACE_SELECTION_ENUM: ["all", "selected"];
|
|
62
|
+
export declare const INTEGRATION_INSTALLATION_SITE_SELECTION_ENUM: ["all", "selected"];
|
|
63
|
+
export declare const PAGE_FEEDBACK_RATING_ENUM: ["bad", "ok", "good"];
|
|
64
|
+
export declare const SITE_TYPE_ENUM: ["basic", "premium", "ultimate", "sponsored", "legacy-basic", "legacy-premium"];
|
|
65
|
+
export declare const SITE_TITLE_MAX_LENGTH = 128;
|
|
66
|
+
export declare const SITE_TITLE_MIN_LENGTH = 2;
|
|
67
|
+
export declare const SITE_HOSTNAME_MAX_LENGTH = 512;
|
|
68
|
+
export declare const SITE_HOSTNAME_PATTERN = "^([a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?[.]){2,}[a-z0-9][a-z0-9-]{0,61}[a-z0-9]$";
|
|
69
|
+
export declare const SITE_BASENAME_MAX_LENGTH = 100;
|
|
70
|
+
export declare const SITE_BASENAME_MIN_LENGTH = 1;
|
|
71
|
+
export declare const SITE_PROXY_ORIGIN_MAX_LENGTH = 512;
|
|
72
|
+
export declare const SITE_PROXY_ORIGIN_PATTERN = "^([\\w-]+\\.)*[\\w-]+\\.[a-zA-Z]{2,}(\\/[\\w-]+)+$";
|
|
73
|
+
export declare const SITE_VISIBILITY_ENUM: ["public", "unlisted", "share-link", "visitor-auth"];
|
|
74
|
+
export declare const SITE_ADS_TOPIC_ENUM: ["webdev", "crypto"];
|
|
75
|
+
export declare const SITE_AGENTS_CONTEXT_ENUM: ["excluded", "included"];
|
|
76
|
+
export declare const SITE_FEATURE_KEY_ENUM: ["sites-adaptive-content", "sites-advanced-customization", "sites-advanced-insights", "sites-ads", "sites-ai-search", "sites-ai-assistant", "sites-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"];
|
|
77
|
+
export declare const SITE_CUSTOMIZATION_FEATURE_ENUM: ["header-logo", "theme-preset", "premium-fonts", "custom-icons", "footer-logo", "footer-links", "footer-copyright", "semantic-colors"];
|
|
78
|
+
export declare const CONTENT_KIT_ICON_ENUM: ["close", "edit", "github", "gitlab", "maximize", "email", "settings", "search", "delete", "star", "warning", "link", "link-external", "eye", "eye-off", "lock", "check", "check-circle"];
|
|
79
|
+
export declare const SITE_SECTION_TITLE_MAX_LENGTH = 128;
|
|
80
|
+
export declare const SITE_SECTION_TITLE_MIN_LENGTH = 2;
|
|
81
|
+
export declare const SITE_SECTION_DESCRIPTION_MAX_LENGTH = 256;
|
|
82
|
+
export declare const SITE_SECTION_DESCRIPTION_MIN_LENGTH = 0;
|
|
83
|
+
export declare const SITE_SECTION_PATH_MAX_LENGTH = 100;
|
|
84
|
+
export declare const SITE_SECTION_PATH_MIN_LENGTH = 1;
|
|
85
|
+
export declare const SITE_SPACE_PATH_MAX_LENGTH = 100;
|
|
86
|
+
export declare const SITE_SPACE_PATH_MIN_LENGTH = 1;
|
|
87
|
+
export declare const SITE_SECTION_GROUP_TITLE_MAX_LENGTH = 100;
|
|
88
|
+
export declare const SITE_SECTION_GROUP_TITLE_MIN_LENGTH = 1;
|
|
89
|
+
export declare const TEAM_MEMBER_ROLE_ENUM: ["owner", "member"];
|
|
90
|
+
export declare const BILLING_SWITCH_ACTION_ENUM: ["trial", "upgrade", "upgrade_passive", "downgrade", "undo_cancel", "switch_interval"];
|
|
91
|
+
export declare const BILLING_METER_ENUM: ["ai_responses", "ai_agent_responses", "translation_words"];
|
|
92
|
+
export declare const SAMLPROVIDER_LABEL_MAX_LENGTH = 30;
|
|
93
|
+
export declare const SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
94
|
+
export declare const SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
95
|
+
export declare const SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 10000;
|
|
96
|
+
export declare const SAMLPROVIDER_STATUS_ENUM: ["active", "pending"];
|
|
97
|
+
export declare const TRANSLATION_STATUS_ENUM: ["pending", "running", "completed"];
|
|
98
|
+
export declare const STORAGE_UPLOAD_KIND_ENUM: ["customization_font", "import_file"];
|
|
99
|
+
export declare const FONT_FAMILY_MAX_LENGTH = 50;
|
|
100
|
+
export declare const FONT_FAMILY_MIN_LENGTH = 1;
|
|
101
|
+
export declare const STORAGE_FILE_KEY_MAX_LENGTH = 512;
|
|
102
|
+
export declare const STORAGE_FILE_KEY_MIN_LENGTH = 1;
|
|
103
|
+
export declare const CUSTOMIZATION_THEME_ENUM: ["clean", "muted", "bold", "gradient"];
|
|
104
|
+
export declare const COLOR_PATTERN = "^#(?:[0-9a-fA-F]{3}){1,2}$";
|
|
105
|
+
export declare const CUSTOMIZATION_CORNERS_ENUM: ["straight", "rounded", "circular"];
|
|
106
|
+
export declare const CUSTOMIZATION_DEPTH_ENUM: ["subtle", "flat"];
|
|
107
|
+
export declare const CUSTOMIZATION_LINKS_STYLE_ENUM: ["default", "accent"];
|
|
108
|
+
export declare const CUSTOMIZATION_DEFAULT_FONT_ENUM: ["ABCFavorit", "Inter", "Roboto", "RobotoSlab", "OpenSans", "SourceSansPro", "Lato", "Ubuntu", "Raleway", "Merriweather", "Overpass", "NotoSans", "IBMPlexSerif", "Poppins", "FiraSans"];
|
|
109
|
+
export declare const CUSTOMIZATION_DEFAULT_MONOSPACE_FONT_ENUM: ["FiraCode", "IBMPlexMono", "JetBrainsMono", "SourceCodePro", "RobotoMono", "SpaceMono", "DMMono", "Inconsolata"];
|
|
110
|
+
export declare const CUSTOMIZATION_BACKGROUND_ENUM: ["plain", "match"];
|
|
111
|
+
export declare const CUSTOMIZATION_ICONS_STYLE_ENUM: ["regular", "solid", "duotone", "light", "thin"];
|
|
112
|
+
export declare const CUSTOMIZATION_SIDEBAR_BACKGROUND_STYLE_ENUM: ["default", "filled"];
|
|
113
|
+
export declare const CUSTOMIZATION_SIDEBAR_LIST_STYLE_ENUM: ["default", "pill", "line"];
|
|
114
|
+
export declare const CUSTOMIZATION_SEARCH_STYLE_ENUM: ["prominent", "subtle"];
|
|
115
|
+
export declare const CUSTOMIZATION_LOCALE_ENUM: ["en", "fr", "es", "zh", "ja", "de", "nl", "no", "pt-br", "ru"];
|
|
116
|
+
export declare const CUSTOMIZATION_HEADER_PRESET_ENUM: ["default", "bold", "contrast", "custom", "none"];
|
|
117
|
+
export declare const CUSTOMIZATION_CONTENT_LINK_TITLE_MAX_LENGTH = 64;
|
|
118
|
+
export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH = 128;
|
|
119
|
+
export declare const CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH = 2;
|
|
120
|
+
export declare const CUSTOMIZATION_THEME_MODE_ENUM: ["light", "dark"];
|
|
121
|
+
export declare const CUSTOMIZATION_AIMODE_ENUM: ["none", "search", "assistant"];
|
|
122
|
+
export declare const SITE_EXTERNAL_LINKS_TARGET_ENUM: ["self", "blank"];
|
|
123
|
+
export declare const SHARE_LINK_NAME_MAX_LENGTH = 50;
|
|
124
|
+
export declare const SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
125
|
+
export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
126
|
+
export declare const SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM: ["site", "embed"];
|
|
127
|
+
export declare const SITE_INSIGHTS_LINK_POSITION_ENUM: ["announcement", "header", "footer", "sidebar", "content"];
|
|
128
|
+
export declare const SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM: ["sidebar", "ad", "footer", "pdf"];
|
|
129
|
+
export declare const SITE_INSIGHTS_AD_PLACEMENT_ENUM: ["aside"];
|
|
130
|
+
export declare const SITE_INSIGHTS_EVENT_TYPE_ENUM: ["page_view", "search_open", "search_type_query", "search_open_result", "page_post_feedback", "page_post_feedback_comment", "ask_question", "ask_view", "ask_rate_response", "link_click", "api_client_open", "api_client_request", "ad_click", "ad_display", "trademark_click"];
|
|
131
|
+
export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
132
|
+
export declare const SITE_INSIGHTS_VISITOR_DEVICE_ENUM: ["desktop", "tablet", "mobile", "unknown"];
|
|
133
|
+
export declare const SITE_INSIGHTS_VISITOR_OS_ENUM: ["windows", "macos", "linux", "android", "ios", "unknown"];
|
|
134
|
+
export declare const SITE_INSIGHTS_VISITOR_BOT_ENUM: ["unknown", "googlebot", "bingbot", "duckduckbot", "facebookbot", "applebot", "chatgpt", "anthropic"];
|
|
135
|
+
export declare const SITE_INSIGHTS_QUERY_OPERATOR_ENUM: ["in", "notIn", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual"];
|
|
136
|
+
export declare const SITE_INSIGHTS_QUERY_RANGE_PRESET_ENUM: ["lastYear", "last3Months", "last30Days", "last7Days", "last24Hours"];
|
|
137
|
+
export declare const SITE_REDIRECT_SOURCE_PATH_MAX_LENGTH = 512;
|
|
138
|
+
export declare const SITE_REDIRECT_SOURCE_PATH_PATTERN = "^\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~]|%[0-9A-Fa-f]{2})+)*$";
|
|
139
|
+
export declare const SITE_MCP_SERVER_NAME_MAX_LENGTH = 100;
|
|
140
|
+
export declare const SITE_MCP_SERVER_NAME_MIN_LENGTH = 1;
|
|
141
|
+
export declare const CUSTOM_HOSTNAME_DNS_STATUS_ENUM: ["dns_passed", "dns_wrong_cname", "dns_no_cname", "dns_cloudflare_proxied", "dns_wrong_caa"];
|
|
142
|
+
export declare const CUSTOM_HOSTNAME_SSL_STATUS_ENUM: ["live", "ssl_unknown", "ssl_pending", "ssl_failed", "ssl_retry_expired"];
|
|
143
|
+
export declare const CUSTOM_HOSTNAME_ERROR_STATUS_ENUM: ["invalid_domain", "internal_error"];
|
|
144
|
+
export declare const CLOUDFLARE_HOSTNAME_STATUS_ENUM: ["pending", "active", "blocked", "moved", "deleted"];
|
|
145
|
+
export declare const CLOUDFLARE_HOSTNAME_TLSSTATUS_ENUM: ["initializing", "pending_validation", "pending_issuance", "pending_deployment", "active", "pending_deletion", "pending_cleanup", "deleted"];
|
|
146
|
+
export declare const CLOUDFLARE_HOSTNAME_TLSVALIDATION_METHOD_ENUM: ["http", "txt", "email"];
|
|
147
|
+
export declare const SHA256_MAX_LENGTH = 64;
|
|
148
|
+
export declare const SHA256_MIN_LENGTH = 64;
|
|
149
|
+
export declare const GIT_BOOK_USERS_ENUM: ["gitbook:agent"];
|
|
150
|
+
export declare const REVISION_SEMANTIC_CHANGE_TYPE_ENUM: ["page_created", "page_edited", "page_deleted", "page_moved", "file_created", "file_edited", "file_deleted", "custom_fields_edited"];
|
|
151
|
+
export declare const GIT_SYNC_OPERATION_STATE_ENUM: ["running", "failure", "success"];
|
|
152
|
+
export declare const GIT_SYNC_OPERATION_DIRECTION_ENUM: ["export", "import"];
|
|
153
|
+
export declare const GIT_SYNC_OPERATION_STAGE_ENUM: ["repo_fetch", "config_check", "content_process", "finalize"];
|
|
154
|
+
export declare const BILLING_STATUS_ENUM: ["trialing", "active", "past_due", "incomplete_expired", "canceled", "unpaid", "paused"];
|
|
155
|
+
export declare const APIINTEGRATION_SCOPE_ENUM: ["integration:read", "integration:update", "integration:installation:read", "integration:installation:update"];
|
|
156
|
+
export declare const SITE_ADS_STATUS_ENUM: ["pending", "in-review", "live", "rejected", "disabled"];
|
|
157
|
+
export declare const AIMESSAGE_ROLE_ENUM: ["user", "assistant", "developer"];
|
|
158
|
+
export declare const AGENT_STATUS_ENUM: ["idle", "processing", "errored"];
|