@gitbook/api 0.151.0 → 0.152.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 +170 -24
- package/dist/constants.d.ts +4 -1
- package/dist/index.cjs +35 -2
- package/dist/index.js +31 -2
- package/package.json +1 -1
- package/spec/openapi.json +264 -49
- package/spec/openapi.yaml +177 -38
package/dist/client.d.ts
CHANGED
|
@@ -1334,7 +1334,6 @@ export interface DocumentBlockUpdates {
|
|
|
1334
1334
|
data: {
|
|
1335
1335
|
/** @default "full" */
|
|
1336
1336
|
format: 'numeric' | 'full' | 'short';
|
|
1337
|
-
sticky: boolean;
|
|
1338
1337
|
};
|
|
1339
1338
|
}
|
|
1340
1339
|
export type DocumentBlock = DocumentBlockParagraph | DocumentBlockHeading | DocumentBlockListOrdered | DocumentBlockListUnordered | DocumentBlockListTasks | DocumentBlockListItem | DocumentBlockDivider | DocumentBlockQuote | DocumentBlockHint | DocumentBlockIf | DocumentBlockImages | DocumentBlockImage | DocumentBlockFile | DocumentBlockDrawing | DocumentBlockEmbed | DocumentBlockCode | DocumentBlockCodeLine | DocumentBlockMath | DocumentBlockExpandable | DocumentBlockTabs | DocumentBlockTabsItem | DocumentBlockTable | DocumentBlockOpenAPI | DocumentBlockOpenAPIOperation | DocumentBlockOpenAPISchemas | DocumentBlockOpenAPIWebhook | DocumentBlockContentRef | DocumentBlockIntegration | DocumentBlockReusableContent | DocumentBlockStepper | DocumentBlockStepperStep | DocumentBlockColumns | DocumentBlockColumn | DocumentBlockUpdates | DocumentBlockUpdate;
|
|
@@ -1371,10 +1370,20 @@ export interface JSONDocument {
|
|
|
1371
1370
|
[key: string]: any;
|
|
1372
1371
|
};
|
|
1373
1372
|
nodes: DocumentBlocksTopLevels[];
|
|
1373
|
+
meta?: {
|
|
1374
|
+
/** A content token that can be used to fetch the content referenced in this document from the API. */
|
|
1375
|
+
token?: string;
|
|
1376
|
+
};
|
|
1374
1377
|
}
|
|
1375
1378
|
export type Document = MarkdownDocument | {
|
|
1376
1379
|
document: JSONDocument;
|
|
1377
1380
|
} | object;
|
|
1381
|
+
/**
|
|
1382
|
+
* Page's slug in its direct parent
|
|
1383
|
+
* @minLength 0
|
|
1384
|
+
* @maxLength 100
|
|
1385
|
+
*/
|
|
1386
|
+
export type RevisionPageSlug = string;
|
|
1378
1387
|
export type RevisionPageDocument = RevisionPageBase & Document & {
|
|
1379
1388
|
/** @deprecated */
|
|
1380
1389
|
kind: 'sheet';
|
|
@@ -1384,7 +1393,7 @@ export type RevisionPageDocument = RevisionPageBase & Document & {
|
|
|
1384
1393
|
app: URL;
|
|
1385
1394
|
};
|
|
1386
1395
|
/** Page's slug in its direct parent */
|
|
1387
|
-
slug:
|
|
1396
|
+
slug: RevisionPageSlug;
|
|
1388
1397
|
/** Complete path to access the page in the revision. */
|
|
1389
1398
|
path: string;
|
|
1390
1399
|
description?: string;
|
|
@@ -4296,16 +4305,12 @@ export interface BillingDiscount {
|
|
|
4296
4305
|
/** Percent that will be deducted from the subtotal of the invoice */
|
|
4297
4306
|
percentOff: number;
|
|
4298
4307
|
}
|
|
4299
|
-
export interface
|
|
4300
|
-
object: 'site-
|
|
4301
|
-
site
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
/** Number of pageviews in the past 30 days */
|
|
4306
|
-
pageviews: number;
|
|
4307
|
-
};
|
|
4308
|
-
features: SiteFeature[];
|
|
4308
|
+
export interface SitePageviews {
|
|
4309
|
+
object: 'site-pageviews';
|
|
4310
|
+
/** The identifier of the site */
|
|
4311
|
+
siteId: string;
|
|
4312
|
+
/** Number of pageviews in the past 30 days */
|
|
4313
|
+
pageviews: number;
|
|
4309
4314
|
}
|
|
4310
4315
|
export interface BillingPortal {
|
|
4311
4316
|
/** URL to the billing portal for an organization */
|
|
@@ -4595,6 +4600,18 @@ export interface OpenAPISpecContent {
|
|
|
4595
4600
|
filesystem: object;
|
|
4596
4601
|
url: URL;
|
|
4597
4602
|
}
|
|
4603
|
+
/**
|
|
4604
|
+
* Estimated end-user impact of a conversation issue.
|
|
4605
|
+
*
|
|
4606
|
+
* - low: Minor friction or small polish issues; users can proceed with little to no guidance.
|
|
4607
|
+
* - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
|
|
4608
|
+
* - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
|
|
4609
|
+
*/
|
|
4610
|
+
export declare enum ConversationIssueImpact {
|
|
4611
|
+
Low = "low",
|
|
4612
|
+
Medium = "medium",
|
|
4613
|
+
High = "high"
|
|
4614
|
+
}
|
|
4598
4615
|
export interface ConversationsIssuesCluster {
|
|
4599
4616
|
object: 'issues-cluster';
|
|
4600
4617
|
/** The ID of the conversations issues cluster */
|
|
@@ -4605,8 +4622,17 @@ export interface ConversationsIssuesCluster {
|
|
|
4605
4622
|
updatedAt: Timestamp;
|
|
4606
4623
|
/** Name of the icon */
|
|
4607
4624
|
icon: Icon;
|
|
4608
|
-
|
|
4609
|
-
|
|
4625
|
+
summary: JSONDocument;
|
|
4626
|
+
/** Whether the cluster is muted for change request creation */
|
|
4627
|
+
muted: boolean;
|
|
4628
|
+
/**
|
|
4629
|
+
* Estimated end-user impact of a conversation issue.
|
|
4630
|
+
*
|
|
4631
|
+
* - low: Minor friction or small polish issues; users can proceed with little to no guidance.
|
|
4632
|
+
* - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
|
|
4633
|
+
* - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
|
|
4634
|
+
*/
|
|
4635
|
+
impact: ConversationIssueImpact;
|
|
4610
4636
|
/**
|
|
4611
4637
|
* The weekly pulse of the conversations issues cluster for the past 3 months
|
|
4612
4638
|
* @maxItems 13
|
|
@@ -4642,6 +4668,14 @@ export interface Conversation {
|
|
|
4642
4668
|
processedAt?: Timestamp;
|
|
4643
4669
|
/** Integration source */
|
|
4644
4670
|
source: ConversationSource;
|
|
4671
|
+
/**
|
|
4672
|
+
* Estimated end-user impact of a conversation issue.
|
|
4673
|
+
*
|
|
4674
|
+
* - low: Minor friction or small polish issues; users can proceed with little to no guidance.
|
|
4675
|
+
* - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
|
|
4676
|
+
* - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
|
|
4677
|
+
*/
|
|
4678
|
+
impact: ConversationIssueImpact;
|
|
4645
4679
|
/** URLs associated with the conversation */
|
|
4646
4680
|
urls: {
|
|
4647
4681
|
/**
|
|
@@ -4692,8 +4726,15 @@ export interface ConversationIssue {
|
|
|
4692
4726
|
id: string;
|
|
4693
4727
|
/** The title of the conversation issue */
|
|
4694
4728
|
title: string;
|
|
4695
|
-
|
|
4696
|
-
|
|
4729
|
+
details: JSONDocument;
|
|
4730
|
+
/**
|
|
4731
|
+
* Estimated end-user impact of a conversation issue.
|
|
4732
|
+
*
|
|
4733
|
+
* - low: Minor friction or small polish issues; users can proceed with little to no guidance.
|
|
4734
|
+
* - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
|
|
4735
|
+
* - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
|
|
4736
|
+
*/
|
|
4737
|
+
impact: ConversationIssueImpact;
|
|
4697
4738
|
createdAt: Timestamp;
|
|
4698
4739
|
ingestedAt: Timestamp;
|
|
4699
4740
|
/** The ID of the conversation the issue belongs to */
|
|
@@ -5590,6 +5631,12 @@ export type AIMessageTask = {
|
|
|
5590
5631
|
spaceId: string;
|
|
5591
5632
|
/** The ID of the change request to review. */
|
|
5592
5633
|
changeRequestId: string;
|
|
5634
|
+
} | {
|
|
5635
|
+
type: 'implement_change_request';
|
|
5636
|
+
/** The ID of the space the change request is in. */
|
|
5637
|
+
spaceId: string;
|
|
5638
|
+
/** The ID of the change request to implement the task in. */
|
|
5639
|
+
changeRequestId: string;
|
|
5593
5640
|
};
|
|
5594
5641
|
/** Message emitted by the server to indicate the start of the AI response. */
|
|
5595
5642
|
export interface AIStreamResponseStart {
|
|
@@ -5599,13 +5646,25 @@ export interface AIStreamResponseStart {
|
|
|
5599
5646
|
/** When the agent is responding to a comment. */
|
|
5600
5647
|
task?: AIMessageTask;
|
|
5601
5648
|
}
|
|
5649
|
+
/** The response that generated this message. */
|
|
5650
|
+
export interface AIMessageResponseMetadata {
|
|
5651
|
+
/** The ID of the response that generated this message. */
|
|
5652
|
+
id: string;
|
|
5653
|
+
/** The ID of the previous response that this message is based on. */
|
|
5654
|
+
previous?: string;
|
|
5655
|
+
}
|
|
5602
5656
|
/** Message emitted by the server to indicate the end of the AI response. It contains the ID of the response to be referenced for followup requests. */
|
|
5603
5657
|
export interface AIStreamResponseFinish {
|
|
5604
5658
|
type: 'response_finish';
|
|
5605
5659
|
/** The ID of the message that this event is composing. */
|
|
5606
5660
|
messageId: string;
|
|
5607
|
-
/**
|
|
5661
|
+
/**
|
|
5662
|
+
* The ID of the response
|
|
5663
|
+
* @deprecated
|
|
5664
|
+
*/
|
|
5608
5665
|
responseId: string;
|
|
5666
|
+
/** The response that generated this message. */
|
|
5667
|
+
response: AIMessageResponseMetadata;
|
|
5609
5668
|
}
|
|
5610
5669
|
/** Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block. */
|
|
5611
5670
|
export interface AIStreamResponseDocument {
|
|
@@ -5987,7 +6046,8 @@ export declare enum SiteInsightsTrademarkPlacement {
|
|
|
5987
6046
|
Sidebar = "sidebar",
|
|
5988
6047
|
Ad = "ad",
|
|
5989
6048
|
Footer = "footer",
|
|
5990
|
-
Pdf = "pdf"
|
|
6049
|
+
Pdf = "pdf",
|
|
6050
|
+
Embed = "embed"
|
|
5991
6051
|
}
|
|
5992
6052
|
export type SiteInsightsEventTrademarkClick = SiteInsightsEventBase & {
|
|
5993
6053
|
type: 'trademark_click';
|
|
@@ -7076,6 +7136,11 @@ export interface OrganizationInfoChannel {
|
|
|
7076
7136
|
channel: 'organization';
|
|
7077
7137
|
organization: string;
|
|
7078
7138
|
}
|
|
7139
|
+
/** Subscription channel for changes in Docs Agent data in an organization. */
|
|
7140
|
+
export interface OrganizationAgentDataChannel {
|
|
7141
|
+
channel: 'organization-agent-data';
|
|
7142
|
+
organization: string;
|
|
7143
|
+
}
|
|
7079
7144
|
export interface OrganizationInviteLinksChannel {
|
|
7080
7145
|
channel: 'organization-link-invites';
|
|
7081
7146
|
organization: string;
|
|
@@ -7318,7 +7383,7 @@ export interface ImportRunChannel {
|
|
|
7318
7383
|
runId: string;
|
|
7319
7384
|
}
|
|
7320
7385
|
/** Channel to subscribe to for realtime updates. */
|
|
7321
|
-
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;
|
|
7386
|
+
export type SubscriptionChannel = SpaceInfoChannel | SpaceContentChannel | SpaceGitInfoChannel | SpacePublishingAuthChannel | SpacePublishingCustomizationChannel | SpaceContentRefsChannel | SpaceIntegrationsChannel | UserAPITokensChannel | UserOrganizationsChannel | UserProfileChannel | ChangeRequestChannel | ChangeRequestsChannel | ChangeRequestReviewsChannel | ChangeRequestContentRefsChannel | CollectionChannel | CollectionPublishingCustomizationChannel | OrganizationInfoChannel | OrganizationAgentDataChannel | 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;
|
|
7322
7387
|
export interface TranslationRunChannelData {
|
|
7323
7388
|
channel: 'translation-run';
|
|
7324
7389
|
data: {
|
|
@@ -7413,6 +7478,8 @@ export interface AIMessage {
|
|
|
7413
7478
|
steps: AIMessageStep[];
|
|
7414
7479
|
/** When the agent is responding to a comment. */
|
|
7415
7480
|
task?: AIMessageTask;
|
|
7481
|
+
/** The response that generated this message. */
|
|
7482
|
+
response?: AIMessageResponseMetadata;
|
|
7416
7483
|
}
|
|
7417
7484
|
/** Payload emitted by the agent to reset the messages. */
|
|
7418
7485
|
export interface AgentStreamMessages {
|
|
@@ -8135,6 +8202,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8135
8202
|
* @default false
|
|
8136
8203
|
*/
|
|
8137
8204
|
evaluated?: boolean | "deterministic-only";
|
|
8205
|
+
/**
|
|
8206
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
8207
|
+
* - When set to `true`, the entire document will be deferenced
|
|
8208
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
8209
|
+
* @default false
|
|
8210
|
+
*/
|
|
8211
|
+
dereferenced?: boolean | "reusable-contents";
|
|
8138
8212
|
/**
|
|
8139
8213
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8140
8214
|
* @default true
|
|
@@ -8226,6 +8300,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8226
8300
|
* @default false
|
|
8227
8301
|
*/
|
|
8228
8302
|
evaluated?: boolean | "deterministic-only";
|
|
8303
|
+
/**
|
|
8304
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
8305
|
+
* - When set to `true`, the entire document will be deferenced
|
|
8306
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
8307
|
+
* @default false
|
|
8308
|
+
*/
|
|
8309
|
+
dereferenced?: boolean | "reusable-contents";
|
|
8229
8310
|
/**
|
|
8230
8311
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8231
8312
|
* @default true
|
|
@@ -8871,6 +8952,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8871
8952
|
* @default false
|
|
8872
8953
|
*/
|
|
8873
8954
|
evaluated?: boolean | "deterministic-only";
|
|
8955
|
+
/**
|
|
8956
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
8957
|
+
* - When set to `true`, the entire document will be deferenced
|
|
8958
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
8959
|
+
* @default false
|
|
8960
|
+
*/
|
|
8961
|
+
dereferenced?: boolean | "reusable-contents";
|
|
8874
8962
|
/**
|
|
8875
8963
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
8876
8964
|
* @default true
|
|
@@ -9138,6 +9226,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9138
9226
|
* @default false
|
|
9139
9227
|
*/
|
|
9140
9228
|
evaluated?: boolean | "deterministic-only";
|
|
9229
|
+
/**
|
|
9230
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
9231
|
+
* - When set to `true`, the entire document will be deferenced
|
|
9232
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
9233
|
+
* @default false
|
|
9234
|
+
*/
|
|
9235
|
+
dereferenced?: boolean | "reusable-contents";
|
|
9141
9236
|
/**
|
|
9142
9237
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9143
9238
|
* @default true
|
|
@@ -9167,6 +9262,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9167
9262
|
* @default false
|
|
9168
9263
|
*/
|
|
9169
9264
|
evaluated?: boolean | "deterministic-only";
|
|
9265
|
+
/**
|
|
9266
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
9267
|
+
* - When set to `true`, the entire document will be deferenced
|
|
9268
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
9269
|
+
* @default false
|
|
9270
|
+
*/
|
|
9271
|
+
dereferenced?: boolean | "reusable-contents";
|
|
9170
9272
|
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
9171
9273
|
/**
|
|
9172
9274
|
* No description
|
|
@@ -9188,6 +9290,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9188
9290
|
* @default false
|
|
9189
9291
|
*/
|
|
9190
9292
|
evaluated?: boolean | "deterministic-only";
|
|
9293
|
+
/**
|
|
9294
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
9295
|
+
* - When set to `true`, the entire document will be deferenced
|
|
9296
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
9297
|
+
* @default false
|
|
9298
|
+
*/
|
|
9299
|
+
dereferenced?: boolean | "reusable-contents";
|
|
9191
9300
|
/**
|
|
9192
9301
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9193
9302
|
* @default true
|
|
@@ -9229,6 +9338,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9229
9338
|
* @default false
|
|
9230
9339
|
*/
|
|
9231
9340
|
evaluated?: boolean | "deterministic-only";
|
|
9341
|
+
/**
|
|
9342
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
9343
|
+
* - When set to `true`, the entire document will be deferenced
|
|
9344
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
9345
|
+
* @default false
|
|
9346
|
+
*/
|
|
9347
|
+
dereferenced?: boolean | "reusable-contents";
|
|
9232
9348
|
/**
|
|
9233
9349
|
* If `false` is passed, "git" mutable metadata will not returned. Passing `false` can optimize performances of the lookup.
|
|
9234
9350
|
* @default true
|
|
@@ -9279,6 +9395,13 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9279
9395
|
* @default false
|
|
9280
9396
|
*/
|
|
9281
9397
|
evaluated?: boolean | "deterministic-only";
|
|
9398
|
+
/**
|
|
9399
|
+
* Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
|
|
9400
|
+
* - When set to `true`, the entire document will be deferenced
|
|
9401
|
+
* - When set to `reusable-contents`, only reusable contents will be deferenced.
|
|
9402
|
+
* @default false
|
|
9403
|
+
*/
|
|
9404
|
+
dereferenced?: boolean | "reusable-contents";
|
|
9282
9405
|
}, params?: RequestParams) => Promise<HttpResponse<JSONDocument, any>>;
|
|
9283
9406
|
/**
|
|
9284
9407
|
* No description
|
|
@@ -10916,10 +11039,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10916
11039
|
*/
|
|
10917
11040
|
limit?: number;
|
|
10918
11041
|
/**
|
|
10919
|
-
* If defined, only change requests matching
|
|
10920
|
-
* @default "open"
|
|
11042
|
+
* If defined, only change requests matching the statuses will be returned.
|
|
11043
|
+
* @default ["open"]
|
|
10921
11044
|
*/
|
|
10922
|
-
status?: ChangeRequestStatus;
|
|
11045
|
+
status?: ChangeRequestStatus[];
|
|
10923
11046
|
/** If defined, only change requests created by this user will be returned. */
|
|
10924
11047
|
creator?: string;
|
|
10925
11048
|
/** If defined, only change requests with contributions from this user will be returned. */
|
|
@@ -11495,7 +11618,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11495
11618
|
*/
|
|
11496
11619
|
order?: "asc" | "desc";
|
|
11497
11620
|
/** @default "updatedAt" */
|
|
11498
|
-
orderBy?: "updatedAt" | "issues" | "conversations";
|
|
11621
|
+
orderBy?: "updatedAt" | "issues" | "conversations" | "impact";
|
|
11499
11622
|
}, params?: RequestParams) => Promise<HttpResponse<List & {
|
|
11500
11623
|
items: ConversationsIssuesCluster[];
|
|
11501
11624
|
}, {
|
|
@@ -11508,13 +11631,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11508
11631
|
/**
|
|
11509
11632
|
* No description
|
|
11510
11633
|
*
|
|
11511
|
-
* @tags
|
|
11634
|
+
* @tags conversations
|
|
11512
11635
|
* @name GetConversationsIssuesCluster
|
|
11513
11636
|
* @summary Get a conversations issues cluster by its identifier
|
|
11514
11637
|
* @request GET:/orgs/{organizationId}/conversations-clusters/{clusterId}
|
|
11515
11638
|
* @secure
|
|
11516
11639
|
*/
|
|
11517
11640
|
getConversationsIssuesCluster: (organizationId: string, clusterId: string, params?: RequestParams) => Promise<HttpResponse<ConversationsIssuesCluster, any>>;
|
|
11641
|
+
/**
|
|
11642
|
+
* No description
|
|
11643
|
+
*
|
|
11644
|
+
* @tags conversations
|
|
11645
|
+
* @name UpdateConversationsIssuesCluster
|
|
11646
|
+
* @summary Update a conversations issues cluster
|
|
11647
|
+
* @request PATCH:/orgs/{organizationId}/conversations-clusters/{clusterId}
|
|
11648
|
+
* @secure
|
|
11649
|
+
*/
|
|
11650
|
+
updateConversationsIssuesCluster: (organizationId: string, clusterId: string, data: {
|
|
11651
|
+
/** Whether the cluster is muted for change request creation */
|
|
11652
|
+
muted: boolean;
|
|
11653
|
+
}, params?: RequestParams) => Promise<HttpResponse<ConversationsIssuesCluster, any>>;
|
|
11518
11654
|
/**
|
|
11519
11655
|
* No description
|
|
11520
11656
|
*
|
|
@@ -11625,6 +11761,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11625
11761
|
* @secure
|
|
11626
11762
|
*/
|
|
11627
11763
|
getAgentSetupState: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<AgentSetupState, any>>;
|
|
11764
|
+
/**
|
|
11765
|
+
* @description Delete all the conversations, conversation issues, and issue clusters used by Docs Agent for an organization.
|
|
11766
|
+
*
|
|
11767
|
+
* @tags agents, critical
|
|
11768
|
+
* @name DeleteAgentSetup
|
|
11769
|
+
* @summary Delete the agents setup data
|
|
11770
|
+
* @request DELETE:/orgs/{organizationId}/agents-setup
|
|
11771
|
+
* @secure
|
|
11772
|
+
*/
|
|
11773
|
+
deleteAgentSetup: (organizationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11628
11774
|
/**
|
|
11629
11775
|
* No description
|
|
11630
11776
|
*
|
package/dist/constants.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export declare const DOCUMENT_TEXT_BACKGROUND_COLOR_ENUM: ["default", "green", "
|
|
|
17
17
|
export declare const TEXT_ALIGNMENT_ENUM: ["start", "center", "end"];
|
|
18
18
|
export declare const CARDS_IMAGE_OBJECT_FIT_ENUM: ["contain", "fill", "cover"];
|
|
19
19
|
export declare const VERTICAL_ALIGNMENT_ENUM: ["top", "middle", "bottom"];
|
|
20
|
+
export declare const REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
21
|
+
export declare const REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
20
22
|
export declare const REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: ["default", "wide"];
|
|
21
23
|
export declare const REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: ["hero", "full"];
|
|
22
24
|
export declare const CHANGE_REQUEST_STATUS_ENUM: ["draft", "open", "archived", "merged"];
|
|
@@ -94,6 +96,7 @@ export declare const SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
|
94
96
|
export declare const SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
95
97
|
export declare const SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 10000;
|
|
96
98
|
export declare const SAMLPROVIDER_STATUS_ENUM: ["active", "pending"];
|
|
99
|
+
export declare const CONVERSATION_ISSUE_IMPACT_ENUM: ["low", "medium", "high"];
|
|
97
100
|
export declare const TRANSLATION_STATUS_ENUM: ["pending", "running", "completed"];
|
|
98
101
|
export declare const STORAGE_UPLOAD_KIND_ENUM: ["customization_font", "import_file"];
|
|
99
102
|
export declare const FONT_FAMILY_MAX_LENGTH = 50;
|
|
@@ -125,7 +128,7 @@ export declare const SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
|
125
128
|
export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
126
129
|
export declare const SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM: ["site", "embed"];
|
|
127
130
|
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"];
|
|
131
|
+
export declare const SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM: ["sidebar", "ad", "footer", "pdf", "embed"];
|
|
129
132
|
export declare const SITE_INSIGHTS_AD_PLACEMENT_ENUM: ["aside"];
|
|
130
133
|
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
134
|
export declare const SITE_INSIGHTS_VISITOR_BROWSER_ENUM: ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
package/dist/index.cjs
CHANGED
|
@@ -221,6 +221,7 @@ __export(src_exports, {
|
|
|
221
221
|
CONTENT_REFERENCE_RELATION_ENUM: () => CONTENT_REFERENCE_RELATION_ENUM,
|
|
222
222
|
CONTENT_REFERENCE_STATUS_ENUM: () => CONTENT_REFERENCE_STATUS_ENUM,
|
|
223
223
|
CONTENT_VISIBILITY_ENUM: () => CONTENT_VISIBILITY_ENUM,
|
|
224
|
+
CONVERSATION_ISSUE_IMPACT_ENUM: () => CONVERSATION_ISSUE_IMPACT_ENUM,
|
|
224
225
|
CUSTOMIZATION_AIMODE_ENUM: () => CUSTOMIZATION_AIMODE_ENUM,
|
|
225
226
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH: () => CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
|
|
226
227
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH: () => CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH,
|
|
@@ -253,6 +254,7 @@ __export(src_exports, {
|
|
|
253
254
|
ContentReferenceStatus: () => ContentReferenceStatus,
|
|
254
255
|
ContentType: () => ContentType,
|
|
255
256
|
ContentVisibility: () => ContentVisibility,
|
|
257
|
+
ConversationIssueImpact: () => ConversationIssueImpact,
|
|
256
258
|
CustomHostnameDnsStatus: () => CustomHostnameDnsStatus,
|
|
257
259
|
CustomHostnameErrorStatus: () => CustomHostnameErrorStatus,
|
|
258
260
|
CustomHostnameSslStatus: () => CustomHostnameSslStatus,
|
|
@@ -341,6 +343,8 @@ __export(src_exports, {
|
|
|
341
343
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM: () => REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
342
344
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM: () => REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
343
345
|
REVISION_PAGE_LAYOUT_PRESET_ENUM: () => REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
346
|
+
REVISION_PAGE_SLUG_MAX_LENGTH: () => REVISION_PAGE_SLUG_MAX_LENGTH,
|
|
347
|
+
REVISION_PAGE_SLUG_MIN_LENGTH: () => REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
344
348
|
REVISION_PAGE_TYPE_ENUM: () => REVISION_PAGE_TYPE_ENUM,
|
|
345
349
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM: () => REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
346
350
|
RevisionPageLayoutOptionsCoverSize: () => RevisionPageLayoutOptionsCoverSize,
|
|
@@ -441,7 +445,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
441
445
|
|
|
442
446
|
// package.json
|
|
443
447
|
var name = "@gitbook/api";
|
|
444
|
-
var version = "0.
|
|
448
|
+
var version = "0.152.0";
|
|
445
449
|
|
|
446
450
|
// src/client.ts
|
|
447
451
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -963,6 +967,12 @@ var SAMLProviderStatus = /* @__PURE__ */ ((SAMLProviderStatus2) => {
|
|
|
963
967
|
SAMLProviderStatus2["Pending"] = "pending";
|
|
964
968
|
return SAMLProviderStatus2;
|
|
965
969
|
})(SAMLProviderStatus || {});
|
|
970
|
+
var ConversationIssueImpact = /* @__PURE__ */ ((ConversationIssueImpact2) => {
|
|
971
|
+
ConversationIssueImpact2["Low"] = "low";
|
|
972
|
+
ConversationIssueImpact2["Medium"] = "medium";
|
|
973
|
+
ConversationIssueImpact2["High"] = "high";
|
|
974
|
+
return ConversationIssueImpact2;
|
|
975
|
+
})(ConversationIssueImpact || {});
|
|
966
976
|
var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
|
|
967
977
|
TranslationStatus2["Pending"] = "pending";
|
|
968
978
|
TranslationStatus2["Running"] = "running";
|
|
@@ -1117,6 +1127,7 @@ var SiteInsightsTrademarkPlacement = /* @__PURE__ */ ((SiteInsightsTrademarkPlac
|
|
|
1117
1127
|
SiteInsightsTrademarkPlacement2["Ad"] = "ad";
|
|
1118
1128
|
SiteInsightsTrademarkPlacement2["Footer"] = "footer";
|
|
1119
1129
|
SiteInsightsTrademarkPlacement2["Pdf"] = "pdf";
|
|
1130
|
+
SiteInsightsTrademarkPlacement2["Embed"] = "embed";
|
|
1120
1131
|
return SiteInsightsTrademarkPlacement2;
|
|
1121
1132
|
})(SiteInsightsTrademarkPlacement || {});
|
|
1122
1133
|
var SiteInsightsAdPlacement = /* @__PURE__ */ ((SiteInsightsAdPlacement2) => {
|
|
@@ -3163,6 +3174,15 @@ var Api = class extends HttpClient {
|
|
|
3163
3174
|
format: "json",
|
|
3164
3175
|
...params
|
|
3165
3176
|
}),
|
|
3177
|
+
updateConversationsIssuesCluster: (organizationId, clusterId, data, params = {}) => this.request({
|
|
3178
|
+
path: `/orgs/${organizationId}/conversations-clusters/${clusterId}`,
|
|
3179
|
+
method: "PATCH",
|
|
3180
|
+
body: data,
|
|
3181
|
+
secure: true,
|
|
3182
|
+
type: "application/json" /* Json */,
|
|
3183
|
+
format: "json",
|
|
3184
|
+
...params
|
|
3185
|
+
}),
|
|
3166
3186
|
listConversations: (organizationId, query, params = {}) => this.request({
|
|
3167
3187
|
path: `/orgs/${organizationId}/conversations`,
|
|
3168
3188
|
method: "GET",
|
|
@@ -3208,6 +3228,12 @@ var Api = class extends HttpClient {
|
|
|
3208
3228
|
format: "json",
|
|
3209
3229
|
...params
|
|
3210
3230
|
}),
|
|
3231
|
+
deleteAgentSetup: (organizationId, params = {}) => this.request({
|
|
3232
|
+
path: `/orgs/${organizationId}/agents-setup`,
|
|
3233
|
+
method: "DELETE",
|
|
3234
|
+
secure: true,
|
|
3235
|
+
...params
|
|
3236
|
+
}),
|
|
3211
3237
|
getOrganizationAgentInstructions: (organizationId, params = {}) => this.request({
|
|
3212
3238
|
path: `/orgs/${organizationId}/agent-instructions`,
|
|
3213
3239
|
method: "GET",
|
|
@@ -4003,6 +4029,8 @@ var DOCUMENT_TEXT_BACKGROUND_COLOR_ENUM = ["default", "green", "blue", "red", "o
|
|
|
4003
4029
|
var TEXT_ALIGNMENT_ENUM = ["start", "center", "end"];
|
|
4004
4030
|
var CARDS_IMAGE_OBJECT_FIT_ENUM = ["contain", "fill", "cover"];
|
|
4005
4031
|
var VERTICAL_ALIGNMENT_ENUM = ["top", "middle", "bottom"];
|
|
4032
|
+
var REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
4033
|
+
var REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
4006
4034
|
var REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM = ["default", "wide"];
|
|
4007
4035
|
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full"];
|
|
4008
4036
|
var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
|
|
@@ -4080,6 +4108,7 @@ var SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
|
4080
4108
|
var SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
4081
4109
|
var SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 1e4;
|
|
4082
4110
|
var SAMLPROVIDER_STATUS_ENUM = ["active", "pending"];
|
|
4111
|
+
var CONVERSATION_ISSUE_IMPACT_ENUM = ["low", "medium", "high"];
|
|
4083
4112
|
var TRANSLATION_STATUS_ENUM = ["pending", "running", "completed"];
|
|
4084
4113
|
var STORAGE_UPLOAD_KIND_ENUM = ["customization_font", "import_file"];
|
|
4085
4114
|
var FONT_FAMILY_MAX_LENGTH = 50;
|
|
@@ -4111,7 +4140,7 @@ var SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
|
4111
4140
|
var AIMODEL_ENUM = ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
4112
4141
|
var SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM = ["site", "embed"];
|
|
4113
4142
|
var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sidebar", "content"];
|
|
4114
|
-
var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf"];
|
|
4143
|
+
var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf", "embed"];
|
|
4115
4144
|
var SITE_INSIGHTS_AD_PLACEMENT_ENUM = ["aside"];
|
|
4116
4145
|
var 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"];
|
|
4117
4146
|
var SITE_INSIGHTS_VISITOR_BROWSER_ENUM = ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
@@ -4254,6 +4283,7 @@ var GitBookAPI = class extends Api {
|
|
|
4254
4283
|
CONTENT_REFERENCE_RELATION_ENUM,
|
|
4255
4284
|
CONTENT_REFERENCE_STATUS_ENUM,
|
|
4256
4285
|
CONTENT_VISIBILITY_ENUM,
|
|
4286
|
+
CONVERSATION_ISSUE_IMPACT_ENUM,
|
|
4257
4287
|
CUSTOMIZATION_AIMODE_ENUM,
|
|
4258
4288
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
|
|
4259
4289
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH,
|
|
@@ -4286,6 +4316,7 @@ var GitBookAPI = class extends Api {
|
|
|
4286
4316
|
ContentReferenceStatus,
|
|
4287
4317
|
ContentType,
|
|
4288
4318
|
ContentVisibility,
|
|
4319
|
+
ConversationIssueImpact,
|
|
4289
4320
|
CustomHostnameDnsStatus,
|
|
4290
4321
|
CustomHostnameErrorStatus,
|
|
4291
4322
|
CustomHostnameSslStatus,
|
|
@@ -4374,6 +4405,8 @@ var GitBookAPI = class extends Api {
|
|
|
4374
4405
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
4375
4406
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
4376
4407
|
REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
4408
|
+
REVISION_PAGE_SLUG_MAX_LENGTH,
|
|
4409
|
+
REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
4377
4410
|
REVISION_PAGE_TYPE_ENUM,
|
|
4378
4411
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
4379
4412
|
RevisionPageLayoutOptionsCoverSize,
|
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var require_node = __commonJS({
|
|
|
172
172
|
|
|
173
173
|
// package.json
|
|
174
174
|
var name = "@gitbook/api";
|
|
175
|
-
var version = "0.
|
|
175
|
+
var version = "0.152.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -694,6 +694,12 @@ var SAMLProviderStatus = /* @__PURE__ */ ((SAMLProviderStatus2) => {
|
|
|
694
694
|
SAMLProviderStatus2["Pending"] = "pending";
|
|
695
695
|
return SAMLProviderStatus2;
|
|
696
696
|
})(SAMLProviderStatus || {});
|
|
697
|
+
var ConversationIssueImpact = /* @__PURE__ */ ((ConversationIssueImpact2) => {
|
|
698
|
+
ConversationIssueImpact2["Low"] = "low";
|
|
699
|
+
ConversationIssueImpact2["Medium"] = "medium";
|
|
700
|
+
ConversationIssueImpact2["High"] = "high";
|
|
701
|
+
return ConversationIssueImpact2;
|
|
702
|
+
})(ConversationIssueImpact || {});
|
|
697
703
|
var TranslationStatus = /* @__PURE__ */ ((TranslationStatus2) => {
|
|
698
704
|
TranslationStatus2["Pending"] = "pending";
|
|
699
705
|
TranslationStatus2["Running"] = "running";
|
|
@@ -848,6 +854,7 @@ var SiteInsightsTrademarkPlacement = /* @__PURE__ */ ((SiteInsightsTrademarkPlac
|
|
|
848
854
|
SiteInsightsTrademarkPlacement2["Ad"] = "ad";
|
|
849
855
|
SiteInsightsTrademarkPlacement2["Footer"] = "footer";
|
|
850
856
|
SiteInsightsTrademarkPlacement2["Pdf"] = "pdf";
|
|
857
|
+
SiteInsightsTrademarkPlacement2["Embed"] = "embed";
|
|
851
858
|
return SiteInsightsTrademarkPlacement2;
|
|
852
859
|
})(SiteInsightsTrademarkPlacement || {});
|
|
853
860
|
var SiteInsightsAdPlacement = /* @__PURE__ */ ((SiteInsightsAdPlacement2) => {
|
|
@@ -2894,6 +2901,15 @@ var Api = class extends HttpClient {
|
|
|
2894
2901
|
format: "json",
|
|
2895
2902
|
...params
|
|
2896
2903
|
}),
|
|
2904
|
+
updateConversationsIssuesCluster: (organizationId, clusterId, data, params = {}) => this.request({
|
|
2905
|
+
path: `/orgs/${organizationId}/conversations-clusters/${clusterId}`,
|
|
2906
|
+
method: "PATCH",
|
|
2907
|
+
body: data,
|
|
2908
|
+
secure: true,
|
|
2909
|
+
type: "application/json" /* Json */,
|
|
2910
|
+
format: "json",
|
|
2911
|
+
...params
|
|
2912
|
+
}),
|
|
2897
2913
|
listConversations: (organizationId, query, params = {}) => this.request({
|
|
2898
2914
|
path: `/orgs/${organizationId}/conversations`,
|
|
2899
2915
|
method: "GET",
|
|
@@ -2939,6 +2955,12 @@ var Api = class extends HttpClient {
|
|
|
2939
2955
|
format: "json",
|
|
2940
2956
|
...params
|
|
2941
2957
|
}),
|
|
2958
|
+
deleteAgentSetup: (organizationId, params = {}) => this.request({
|
|
2959
|
+
path: `/orgs/${organizationId}/agents-setup`,
|
|
2960
|
+
method: "DELETE",
|
|
2961
|
+
secure: true,
|
|
2962
|
+
...params
|
|
2963
|
+
}),
|
|
2942
2964
|
getOrganizationAgentInstructions: (organizationId, params = {}) => this.request({
|
|
2943
2965
|
path: `/orgs/${organizationId}/agent-instructions`,
|
|
2944
2966
|
method: "GET",
|
|
@@ -3734,6 +3756,8 @@ var DOCUMENT_TEXT_BACKGROUND_COLOR_ENUM = ["default", "green", "blue", "red", "o
|
|
|
3734
3756
|
var TEXT_ALIGNMENT_ENUM = ["start", "center", "end"];
|
|
3735
3757
|
var CARDS_IMAGE_OBJECT_FIT_ENUM = ["contain", "fill", "cover"];
|
|
3736
3758
|
var VERTICAL_ALIGNMENT_ENUM = ["top", "middle", "bottom"];
|
|
3759
|
+
var REVISION_PAGE_SLUG_MAX_LENGTH = 100;
|
|
3760
|
+
var REVISION_PAGE_SLUG_MIN_LENGTH = 0;
|
|
3737
3761
|
var REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM = ["default", "wide"];
|
|
3738
3762
|
var REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM = ["hero", "full"];
|
|
3739
3763
|
var CHANGE_REQUEST_STATUS_ENUM = ["draft", "open", "archived", "merged"];
|
|
@@ -3811,6 +3835,7 @@ var SAMLPROVIDER_LABEL_MIN_LENGTH = 1;
|
|
|
3811
3835
|
var SAMLPROVIDER_ENTITY_ID_MAX_LENGTH = 1024;
|
|
3812
3836
|
var SAMLPROVIDER_CERTIFICATE_MAX_LENGTH = 1e4;
|
|
3813
3837
|
var SAMLPROVIDER_STATUS_ENUM = ["active", "pending"];
|
|
3838
|
+
var CONVERSATION_ISSUE_IMPACT_ENUM = ["low", "medium", "high"];
|
|
3814
3839
|
var TRANSLATION_STATUS_ENUM = ["pending", "running", "completed"];
|
|
3815
3840
|
var STORAGE_UPLOAD_KIND_ENUM = ["customization_font", "import_file"];
|
|
3816
3841
|
var FONT_FAMILY_MAX_LENGTH = 50;
|
|
@@ -3842,7 +3867,7 @@ var SHARE_LINK_NAME_MIN_LENGTH = 0;
|
|
|
3842
3867
|
var AIMODEL_ENUM = ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
|
|
3843
3868
|
var SITE_INSIGHTS_DISPLAY_CONTEXT_ENUM = ["site", "embed"];
|
|
3844
3869
|
var SITE_INSIGHTS_LINK_POSITION_ENUM = ["announcement", "header", "footer", "sidebar", "content"];
|
|
3845
|
-
var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf"];
|
|
3870
|
+
var SITE_INSIGHTS_TRADEMARK_PLACEMENT_ENUM = ["sidebar", "ad", "footer", "pdf", "embed"];
|
|
3846
3871
|
var SITE_INSIGHTS_AD_PLACEMENT_ENUM = ["aside"];
|
|
3847
3872
|
var 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"];
|
|
3848
3873
|
var SITE_INSIGHTS_VISITOR_BROWSER_ENUM = ["chrome", "firefox", "safari", "edge", "ie", "opera", "unknown"];
|
|
@@ -3984,6 +4009,7 @@ export {
|
|
|
3984
4009
|
CONTENT_REFERENCE_RELATION_ENUM,
|
|
3985
4010
|
CONTENT_REFERENCE_STATUS_ENUM,
|
|
3986
4011
|
CONTENT_VISIBILITY_ENUM,
|
|
4012
|
+
CONVERSATION_ISSUE_IMPACT_ENUM,
|
|
3987
4013
|
CUSTOMIZATION_AIMODE_ENUM,
|
|
3988
4014
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MAX_LENGTH,
|
|
3989
4015
|
CUSTOMIZATION_ANNOUNCEMENT_MESSAGE_MIN_LENGTH,
|
|
@@ -4016,6 +4042,7 @@ export {
|
|
|
4016
4042
|
ContentReferenceStatus,
|
|
4017
4043
|
ContentType,
|
|
4018
4044
|
ContentVisibility,
|
|
4045
|
+
ConversationIssueImpact,
|
|
4019
4046
|
CustomHostnameDnsStatus,
|
|
4020
4047
|
CustomHostnameErrorStatus,
|
|
4021
4048
|
CustomHostnameSslStatus,
|
|
@@ -4104,6 +4131,8 @@ export {
|
|
|
4104
4131
|
REVISION_PAGE_LAYOUT_OPTIONS_COVER_SIZE_ENUM,
|
|
4105
4132
|
REVISION_PAGE_LAYOUT_OPTIONS_WIDTH_ENUM,
|
|
4106
4133
|
REVISION_PAGE_LAYOUT_PRESET_ENUM,
|
|
4134
|
+
REVISION_PAGE_SLUG_MAX_LENGTH,
|
|
4135
|
+
REVISION_PAGE_SLUG_MIN_LENGTH,
|
|
4107
4136
|
REVISION_PAGE_TYPE_ENUM,
|
|
4108
4137
|
REVISION_SEMANTIC_CHANGE_TYPE_ENUM,
|
|
4109
4138
|
RevisionPageLayoutOptionsCoverSize,
|