@gitbook/api 0.125.0 → 0.127.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 +37 -109
- package/dist/index.cjs +14 -7
- package/dist/index.js +13 -7
- package/package.json +1 -1
- package/spec/openapi.json +219 -205
- package/spec/openapi.yaml +149 -142
package/dist/client.d.ts
CHANGED
|
@@ -1380,12 +1380,19 @@ export interface GitSyncBlob {
|
|
|
1380
1380
|
/** Path of the blob in the Git tree */
|
|
1381
1381
|
path: string;
|
|
1382
1382
|
}
|
|
1383
|
+
/** Width of the page. */
|
|
1384
|
+
export declare enum RevisionPageLayoutOptionsWidth {
|
|
1385
|
+
Default = "default",
|
|
1386
|
+
Wide = "wide"
|
|
1387
|
+
}
|
|
1383
1388
|
/** Size of the cover image. */
|
|
1384
1389
|
export declare enum RevisionPageLayoutOptionsCoverSize {
|
|
1385
1390
|
Hero = "hero",
|
|
1386
1391
|
Full = "full"
|
|
1387
1392
|
}
|
|
1388
1393
|
export interface RevisionPageLayoutOptions {
|
|
1394
|
+
/** Width of the page. */
|
|
1395
|
+
width?: RevisionPageLayoutOptionsWidth;
|
|
1389
1396
|
/** Should the cover be visible? */
|
|
1390
1397
|
cover?: boolean;
|
|
1391
1398
|
/** Size of the cover image. */
|
|
@@ -4934,12 +4941,7 @@ export interface SiteCustomizationSettings {
|
|
|
4934
4941
|
/** If true, AI search is enabled */
|
|
4935
4942
|
enabled: boolean;
|
|
4936
4943
|
};
|
|
4937
|
-
ai?:
|
|
4938
|
-
pageLinkSummaries: {
|
|
4939
|
-
/** If true, AI page links summaries is enabled */
|
|
4940
|
-
enabled: boolean;
|
|
4941
|
-
};
|
|
4942
|
-
};
|
|
4944
|
+
ai?: object;
|
|
4943
4945
|
advancedCustomization: {
|
|
4944
4946
|
/** If true, Advanced customization is enabled */
|
|
4945
4947
|
enabled: boolean;
|
|
@@ -5121,36 +5123,6 @@ export interface UserSitePermission {
|
|
|
5121
5123
|
/** The content or organization that enforced this permission level. */
|
|
5122
5124
|
origin: SpacePointer | OrganizationPointer;
|
|
5123
5125
|
}
|
|
5124
|
-
export declare enum AIMessageRole {
|
|
5125
|
-
User = "user",
|
|
5126
|
-
Assistant = "assistant",
|
|
5127
|
-
Developer = "developer"
|
|
5128
|
-
}
|
|
5129
|
-
/** Attachment to attach search results to a message. */
|
|
5130
|
-
export interface AIMessageAttachmentSearch {
|
|
5131
|
-
type: 'search';
|
|
5132
|
-
/** The query to use to extract the knowledge. */
|
|
5133
|
-
query: string;
|
|
5134
|
-
}
|
|
5135
|
-
/** Attachment representing the profile of the visitor */
|
|
5136
|
-
export interface AIMessageAttachmentVisitorProfile {
|
|
5137
|
-
type: 'visitor_profile';
|
|
5138
|
-
}
|
|
5139
|
-
/** Attachment to extract and pass the content of a page to the AI. */
|
|
5140
|
-
export interface AIMessageAttachmentPage {
|
|
5141
|
-
type: 'page';
|
|
5142
|
-
/** The ID of the space to extract the content from. */
|
|
5143
|
-
spaceId: string;
|
|
5144
|
-
/** The ID of the page to extract the content from. */
|
|
5145
|
-
pageId: string;
|
|
5146
|
-
}
|
|
5147
|
-
/** Attachment to pass the tree of pages to the AI */
|
|
5148
|
-
export interface AIMessageAttachmentPages {
|
|
5149
|
-
type: 'pages';
|
|
5150
|
-
/** The ID of the space to extract the content from. */
|
|
5151
|
-
spaceId: string;
|
|
5152
|
-
}
|
|
5153
|
-
export type AIMessageAttachment = AIMessageAttachmentSearch | AIMessageAttachmentVisitorProfile | AIMessageAttachmentPage | AIMessageAttachmentPages;
|
|
5154
5126
|
/** Context about the current user sending a message. */
|
|
5155
5127
|
export interface AIMessageContext {
|
|
5156
5128
|
location?: {
|
|
@@ -5162,9 +5134,8 @@ export interface AIMessageContext {
|
|
|
5162
5134
|
}
|
|
5163
5135
|
/** Input version of an AI message. */
|
|
5164
5136
|
export interface AIMessageInput {
|
|
5165
|
-
role:
|
|
5137
|
+
role: 'user';
|
|
5166
5138
|
content: string | JSONDocument;
|
|
5167
|
-
attachments?: AIMessageAttachment[];
|
|
5168
5139
|
/** Context about the current user sending a message. */
|
|
5169
5140
|
context?: AIMessageContext;
|
|
5170
5141
|
}
|
|
@@ -5185,15 +5156,6 @@ export declare enum AIModel {
|
|
|
5185
5156
|
ReasoningMedium = "reasoning-medium",
|
|
5186
5157
|
ReasoningHigh = "reasoning-high"
|
|
5187
5158
|
}
|
|
5188
|
-
/** Tools provided to the AI */
|
|
5189
|
-
export interface AIToolCapabilities {
|
|
5190
|
-
/** Whether the AI can read the content of a page */
|
|
5191
|
-
getPageContent?: boolean;
|
|
5192
|
-
/** Whether the AI can read the table of contents of a space */
|
|
5193
|
-
getPages?: boolean;
|
|
5194
|
-
/** Whether the AI can search for content */
|
|
5195
|
-
search?: boolean;
|
|
5196
|
-
}
|
|
5197
5159
|
/** 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. */
|
|
5198
5160
|
export interface AIStreamResponseFinish {
|
|
5199
5161
|
type: 'response_finish';
|
|
@@ -5334,7 +5296,14 @@ export interface AIStreamResponseToolCall {
|
|
|
5334
5296
|
stepIndex: number;
|
|
5335
5297
|
toolCall: AIToolCall;
|
|
5336
5298
|
}
|
|
5337
|
-
|
|
5299
|
+
/** Message emitted by the server to suggest a followup message the user could respond with. */
|
|
5300
|
+
export interface AIStreamResponseFollowupSuggestion {
|
|
5301
|
+
type: 'response_followup_suggestion';
|
|
5302
|
+
/** The ID of the message that this event is composing. */
|
|
5303
|
+
messageId: string;
|
|
5304
|
+
suggestions: string[];
|
|
5305
|
+
}
|
|
5306
|
+
export type AIStreamResponse = AIStreamResponseFinish | AIStreamResponseDocument | AIStreamResponseObject | AIStreamResponseToolCall | AIStreamResponseFollowupSuggestion;
|
|
5338
5307
|
/** Analytics info on the GitBook's site session. */
|
|
5339
5308
|
export interface SiteInsightsEventSession {
|
|
5340
5309
|
/** GitBook's unique identifier of the visitor. */
|
|
@@ -6800,6 +6769,11 @@ export interface Seat {
|
|
|
6800
6769
|
/** @format date-time */
|
|
6801
6770
|
updatedAt: string;
|
|
6802
6771
|
}
|
|
6772
|
+
export declare enum AIMessageRole {
|
|
6773
|
+
User = "user",
|
|
6774
|
+
Assistant = "assistant",
|
|
6775
|
+
Developer = "developer"
|
|
6776
|
+
}
|
|
6803
6777
|
/** A step in a message from the AI agent. */
|
|
6804
6778
|
export interface AIMessageStep {
|
|
6805
6779
|
content: JSONDocument;
|
|
@@ -7272,12 +7246,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7272
7246
|
code: 400;
|
|
7273
7247
|
message: string;
|
|
7274
7248
|
};
|
|
7275
|
-
} | {
|
|
7276
|
-
error: {
|
|
7277
|
-
/** @format int32 */
|
|
7278
|
-
code: 404;
|
|
7279
|
-
message: string;
|
|
7280
|
-
};
|
|
7281
7249
|
}>>;
|
|
7282
7250
|
/**
|
|
7283
7251
|
* No description
|
|
@@ -7334,13 +7302,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7334
7302
|
* @request DELETE:/spaces/{spaceId}/permissions/users/{userId}
|
|
7335
7303
|
* @secure
|
|
7336
7304
|
*/
|
|
7337
|
-
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7338
|
-
error: {
|
|
7339
|
-
/** @format int32 */
|
|
7340
|
-
code: 404;
|
|
7341
|
-
message: string;
|
|
7342
|
-
};
|
|
7343
|
-
}>>;
|
|
7305
|
+
removeUserFromSpace: (spaceId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7344
7306
|
/**
|
|
7345
7307
|
* No description
|
|
7346
7308
|
*
|
|
@@ -7884,13 +7846,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7884
7846
|
* @request DELETE:/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId}
|
|
7885
7847
|
* @secure
|
|
7886
7848
|
*/
|
|
7887
|
-
removeRequestedReviewerFromChangeRequest: (spaceId: string, changeRequestId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
7888
|
-
error: {
|
|
7889
|
-
/** @format int32 */
|
|
7890
|
-
code: 404;
|
|
7891
|
-
message: string;
|
|
7892
|
-
};
|
|
7893
|
-
}>>;
|
|
7849
|
+
removeRequestedReviewerFromChangeRequest: (spaceId: string, changeRequestId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
7894
7850
|
/**
|
|
7895
7851
|
* No description
|
|
7896
7852
|
*
|
|
@@ -9118,13 +9074,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9118
9074
|
* @request DELETE:/collections/{collectionId}/permissions/teams/{teamId}
|
|
9119
9075
|
* @secure
|
|
9120
9076
|
*/
|
|
9121
|
-
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9122
|
-
error: {
|
|
9123
|
-
/** @format int32 */
|
|
9124
|
-
code: 404;
|
|
9125
|
-
message: string;
|
|
9126
|
-
};
|
|
9127
|
-
}>>;
|
|
9077
|
+
removeTeamFromCollection: (collectionId: string, teamId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9128
9078
|
/**
|
|
9129
9079
|
* No description
|
|
9130
9080
|
*
|
|
@@ -9180,13 +9130,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9180
9130
|
* @request DELETE:/collections/{collectionId}/permissions/users/{userId}
|
|
9181
9131
|
* @secure
|
|
9182
9132
|
*/
|
|
9183
|
-
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9184
|
-
error: {
|
|
9185
|
-
/** @format int32 */
|
|
9186
|
-
code: 404;
|
|
9187
|
-
message: string;
|
|
9188
|
-
};
|
|
9189
|
-
}>>;
|
|
9133
|
+
removeUserFromCollection: (collectionId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9190
9134
|
/**
|
|
9191
9135
|
* No description
|
|
9192
9136
|
*
|
|
@@ -9551,13 +9495,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9551
9495
|
* @request DELETE:/integrations/{integrationName}/installations/{installationId}
|
|
9552
9496
|
* @secure
|
|
9553
9497
|
*/
|
|
9554
|
-
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
9555
|
-
error: {
|
|
9556
|
-
/** @format int32 */
|
|
9557
|
-
code: 404;
|
|
9558
|
-
message: string;
|
|
9559
|
-
};
|
|
9560
|
-
}>>;
|
|
9498
|
+
uninstallIntegration: (integrationName: string, installationId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
9561
9499
|
/**
|
|
9562
9500
|
* @description Creates a temporary API token of an integration's installation that has access to the installation and it's scopes. You must be authenticated as the integration to obtain this token.
|
|
9563
9501
|
*
|
|
@@ -11063,13 +11001,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11063
11001
|
* @request DELETE:/orgs/{organizationId}/translations/{translationSettingsId}/languages/{translationLanguage}
|
|
11064
11002
|
* @secure
|
|
11065
11003
|
*/
|
|
11066
|
-
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11067
|
-
error: {
|
|
11068
|
-
/** @format int32 */
|
|
11069
|
-
code: 404;
|
|
11070
|
-
message: string;
|
|
11071
|
-
};
|
|
11072
|
-
}>>;
|
|
11004
|
+
deleteTranslationLanguage: (organizationId: string, translationSettingsId: string, translationLanguage: TranslationLanguage, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11073
11005
|
/**
|
|
11074
11006
|
* @description Generate a pre-signed URL that can be used to upload a file to storage
|
|
11075
11007
|
*
|
|
@@ -11199,13 +11131,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
11199
11131
|
* @request DELETE:/orgs/{organizationId}/fonts/{fontId}
|
|
11200
11132
|
* @secure
|
|
11201
11133
|
*/
|
|
11202
|
-
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void,
|
|
11203
|
-
error: {
|
|
11204
|
-
/** @format int32 */
|
|
11205
|
-
code: 404;
|
|
11206
|
-
message: string;
|
|
11207
|
-
};
|
|
11208
|
-
}>>;
|
|
11134
|
+
deleteCustomFont: (organizationId: string, fontId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
|
|
11209
11135
|
/**
|
|
11210
11136
|
* No description
|
|
11211
11137
|
*
|
|
@@ -12224,7 +12150,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12224
12150
|
items: UserSitePermission[];
|
|
12225
12151
|
}, any>>;
|
|
12226
12152
|
/**
|
|
12227
|
-
* @description
|
|
12153
|
+
* @description Generate an AI response in a conversation.
|
|
12228
12154
|
*
|
|
12229
12155
|
* @tags sites
|
|
12230
12156
|
* @name StreamAiResponseInSite
|
|
@@ -12235,14 +12161,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
12235
12161
|
streamAiResponseInSite: (organizationId: string, siteId: string, data: {
|
|
12236
12162
|
/** The ID of the previous response to continue from */
|
|
12237
12163
|
previousResponseId?: string;
|
|
12238
|
-
/** Instructions for the AI */
|
|
12239
|
-
instructions?: string;
|
|
12240
12164
|
input: AIMessageInput[];
|
|
12241
12165
|
output: AIOutputFormat;
|
|
12242
12166
|
model?: AIModel;
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12167
|
+
} & ({
|
|
12168
|
+
mode: "custom";
|
|
12169
|
+
/** Custom instructions for the AI */
|
|
12170
|
+
instructions: string;
|
|
12171
|
+
} | {
|
|
12172
|
+
mode: "assistant";
|
|
12173
|
+
}), params?: RequestParams) => EventIterator<AIStreamResponse>;
|
|
12246
12174
|
/**
|
|
12247
12175
|
* @description Experimental operation to get an existing AI response in a site.
|
|
12248
12176
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -241,6 +241,7 @@ __export(src_exports, {
|
|
|
241
241
|
OrganizationUseCase: () => OrganizationUseCase,
|
|
242
242
|
PageFeedbackRating: () => PageFeedbackRating,
|
|
243
243
|
RevisionPageLayoutOptionsCoverSize: () => RevisionPageLayoutOptionsCoverSize,
|
|
244
|
+
RevisionPageLayoutOptionsWidth: () => RevisionPageLayoutOptionsWidth,
|
|
244
245
|
RevisionPageLayoutPreset: () => RevisionPageLayoutPreset,
|
|
245
246
|
RevisionPageType: () => RevisionPageType,
|
|
246
247
|
RevisionSemanticChangeType: () => RevisionSemanticChangeType,
|
|
@@ -273,7 +274,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
273
274
|
|
|
274
275
|
// package.json
|
|
275
276
|
var name = "@gitbook/api";
|
|
276
|
-
var version = "0.
|
|
277
|
+
var version = "0.127.0";
|
|
277
278
|
|
|
278
279
|
// src/client.ts
|
|
279
280
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -447,6 +448,11 @@ var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
|
|
|
447
448
|
TranslationLanguage2["Sl"] = "sl";
|
|
448
449
|
return TranslationLanguage2;
|
|
449
450
|
})(TranslationLanguage || {});
|
|
451
|
+
var RevisionPageLayoutOptionsWidth = /* @__PURE__ */ ((RevisionPageLayoutOptionsWidth2) => {
|
|
452
|
+
RevisionPageLayoutOptionsWidth2["Default"] = "default";
|
|
453
|
+
RevisionPageLayoutOptionsWidth2["Wide"] = "wide";
|
|
454
|
+
return RevisionPageLayoutOptionsWidth2;
|
|
455
|
+
})(RevisionPageLayoutOptionsWidth || {});
|
|
450
456
|
var RevisionPageLayoutOptionsCoverSize = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverSize2) => {
|
|
451
457
|
RevisionPageLayoutOptionsCoverSize2["Hero"] = "hero";
|
|
452
458
|
RevisionPageLayoutOptionsCoverSize2["Full"] = "full";
|
|
@@ -842,12 +848,6 @@ var SiteExternalLinksTarget = /* @__PURE__ */ ((SiteExternalLinksTarget2) => {
|
|
|
842
848
|
SiteExternalLinksTarget2["Blank"] = "blank";
|
|
843
849
|
return SiteExternalLinksTarget2;
|
|
844
850
|
})(SiteExternalLinksTarget || {});
|
|
845
|
-
var AIMessageRole = /* @__PURE__ */ ((AIMessageRole2) => {
|
|
846
|
-
AIMessageRole2["User"] = "user";
|
|
847
|
-
AIMessageRole2["Assistant"] = "assistant";
|
|
848
|
-
AIMessageRole2["Developer"] = "developer";
|
|
849
|
-
return AIMessageRole2;
|
|
850
|
-
})(AIMessageRole || {});
|
|
851
851
|
var AIModel = /* @__PURE__ */ ((AIModel2) => {
|
|
852
852
|
AIModel2["Fast"] = "fast";
|
|
853
853
|
AIModel2["ReasoningLow"] = "reasoning-low";
|
|
@@ -1044,6 +1044,12 @@ var SiteAdsStatus = /* @__PURE__ */ ((SiteAdsStatus2) => {
|
|
|
1044
1044
|
SiteAdsStatus2["Disabled"] = "disabled";
|
|
1045
1045
|
return SiteAdsStatus2;
|
|
1046
1046
|
})(SiteAdsStatus || {});
|
|
1047
|
+
var AIMessageRole = /* @__PURE__ */ ((AIMessageRole2) => {
|
|
1048
|
+
AIMessageRole2["User"] = "user";
|
|
1049
|
+
AIMessageRole2["Assistant"] = "assistant";
|
|
1050
|
+
AIMessageRole2["Developer"] = "developer";
|
|
1051
|
+
return AIMessageRole2;
|
|
1052
|
+
})(AIMessageRole || {});
|
|
1047
1053
|
var AgentStatus = /* @__PURE__ */ ((AgentStatus2) => {
|
|
1048
1054
|
AgentStatus2["Idle"] = "idle";
|
|
1049
1055
|
AgentStatus2["Processing"] = "processing";
|
|
@@ -3790,6 +3796,7 @@ var GitBookAPI = class extends Api {
|
|
|
3790
3796
|
OrganizationUseCase,
|
|
3791
3797
|
PageFeedbackRating,
|
|
3792
3798
|
RevisionPageLayoutOptionsCoverSize,
|
|
3799
|
+
RevisionPageLayoutOptionsWidth,
|
|
3793
3800
|
RevisionPageLayoutPreset,
|
|
3794
3801
|
RevisionPageType,
|
|
3795
3802
|
RevisionSemanticChangeType,
|
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.127.0";
|
|
176
176
|
|
|
177
177
|
// src/client.ts
|
|
178
178
|
var import_event_iterator = __toESM(require_node(), 1);
|
|
@@ -346,6 +346,11 @@ var TranslationLanguage = /* @__PURE__ */ ((TranslationLanguage2) => {
|
|
|
346
346
|
TranslationLanguage2["Sl"] = "sl";
|
|
347
347
|
return TranslationLanguage2;
|
|
348
348
|
})(TranslationLanguage || {});
|
|
349
|
+
var RevisionPageLayoutOptionsWidth = /* @__PURE__ */ ((RevisionPageLayoutOptionsWidth2) => {
|
|
350
|
+
RevisionPageLayoutOptionsWidth2["Default"] = "default";
|
|
351
|
+
RevisionPageLayoutOptionsWidth2["Wide"] = "wide";
|
|
352
|
+
return RevisionPageLayoutOptionsWidth2;
|
|
353
|
+
})(RevisionPageLayoutOptionsWidth || {});
|
|
349
354
|
var RevisionPageLayoutOptionsCoverSize = /* @__PURE__ */ ((RevisionPageLayoutOptionsCoverSize2) => {
|
|
350
355
|
RevisionPageLayoutOptionsCoverSize2["Hero"] = "hero";
|
|
351
356
|
RevisionPageLayoutOptionsCoverSize2["Full"] = "full";
|
|
@@ -741,12 +746,6 @@ var SiteExternalLinksTarget = /* @__PURE__ */ ((SiteExternalLinksTarget2) => {
|
|
|
741
746
|
SiteExternalLinksTarget2["Blank"] = "blank";
|
|
742
747
|
return SiteExternalLinksTarget2;
|
|
743
748
|
})(SiteExternalLinksTarget || {});
|
|
744
|
-
var AIMessageRole = /* @__PURE__ */ ((AIMessageRole2) => {
|
|
745
|
-
AIMessageRole2["User"] = "user";
|
|
746
|
-
AIMessageRole2["Assistant"] = "assistant";
|
|
747
|
-
AIMessageRole2["Developer"] = "developer";
|
|
748
|
-
return AIMessageRole2;
|
|
749
|
-
})(AIMessageRole || {});
|
|
750
749
|
var AIModel = /* @__PURE__ */ ((AIModel2) => {
|
|
751
750
|
AIModel2["Fast"] = "fast";
|
|
752
751
|
AIModel2["ReasoningLow"] = "reasoning-low";
|
|
@@ -943,6 +942,12 @@ var SiteAdsStatus = /* @__PURE__ */ ((SiteAdsStatus2) => {
|
|
|
943
942
|
SiteAdsStatus2["Disabled"] = "disabled";
|
|
944
943
|
return SiteAdsStatus2;
|
|
945
944
|
})(SiteAdsStatus || {});
|
|
945
|
+
var AIMessageRole = /* @__PURE__ */ ((AIMessageRole2) => {
|
|
946
|
+
AIMessageRole2["User"] = "user";
|
|
947
|
+
AIMessageRole2["Assistant"] = "assistant";
|
|
948
|
+
AIMessageRole2["Developer"] = "developer";
|
|
949
|
+
return AIMessageRole2;
|
|
950
|
+
})(AIMessageRole || {});
|
|
946
951
|
var AgentStatus = /* @__PURE__ */ ((AgentStatus2) => {
|
|
947
952
|
AgentStatus2["Idle"] = "idle";
|
|
948
953
|
AgentStatus2["Processing"] = "processing";
|
|
@@ -3688,6 +3693,7 @@ export {
|
|
|
3688
3693
|
OrganizationUseCase,
|
|
3689
3694
|
PageFeedbackRating,
|
|
3690
3695
|
RevisionPageLayoutOptionsCoverSize,
|
|
3696
|
+
RevisionPageLayoutOptionsWidth,
|
|
3691
3697
|
RevisionPageLayoutPreset,
|
|
3692
3698
|
RevisionPageType,
|
|
3693
3699
|
RevisionSemanticChangeType,
|