@fluid-topics/public-api 1.0.114 → 1.0.117
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/cjs/index.js +25 -2
- package/dist/cjs/models.js +18 -0
- package/dist/cjs/roles/roles.js +1 -1
- package/dist/cjs/types/ft-common/public.js +71 -81
- package/dist/cjs/types/ft-server/public.js +125 -11
- package/dist/fluidtopics.min.js +1 -1
- package/dist/mjs/index.d.ts +18 -6
- package/dist/mjs/index.js +25 -2
- package/dist/mjs/models.d.ts +2 -0
- package/dist/mjs/models.js +2 -0
- package/dist/mjs/roles/roles.js +1 -1
- package/dist/mjs/types/ft-common/public.d.ts +53 -36
- package/dist/mjs/types/ft-common/public.js +33 -45
- package/dist/mjs/types/ft-server/public.d.ts +118 -11
- package/dist/mjs/types/ft-server/public.js +109 -6
- package/package.json +1 -1
package/dist/mjs/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { FtAnalyticsEvent, FtAuthenticatedSession, FtBookmark, FtCollectionDocument, FtHttpErrorDetails, FtLocalesConfiguration, FtMap,
|
|
2
|
-
import { FtClusteredSemanticSearchReply, FtGenAIRating, FtMapAttachment, FtPaginatedToc, FtRagInput, FtReaderConfiguration, FtSemanticSearchRequest, FtSemanticSearchResponseItem, FtTranslationLanguagesResponse, FtTranslationRequest, FtTranslationResponse } from "./types/ft-server/public.js";
|
|
1
|
+
import { FtAnalyticsEvent, FtAssetDescriptor, FtAuthenticatedSession, FtBookmark, FtClusteredSemanticSearchReply, FtCollectionDocument, FtDocumentAttachment, FtGenAIRating, FtHttpErrorDetails, FtLocalesConfiguration, FtMap, FtMapResourceSummary, FtMessageContext, FtMetadataConfiguration, FtMySearch, FtMySearchCreation, FtMySearchUpdate, FtPaginatedToc, FtRagInput, FtRatingSummary, FtRatingType, FtRatingTypeKeys, FtReaderConfiguration, FtSearchConfiguration, FtSearchLocales, FtSearchRequest, FtSearchResults, FtSemanticSearchRequest, FtSemanticSearchResponseItem, FtSession, FtSuggestRequest, FtSuggestResults, FtTocNode, FtTopic, FtTopicContentTarget, FtTopicContentTargetKeys, FtTranslationContent, FtTranslationLanguagesResponse, FtTranslationRequest, FtTranslationResponse, FtUiLocale, FtUnstructuredDocument } from "./models.js";
|
|
3
2
|
import { FtCompletionChunk, FtRagChunk } from "./helpers/AIChunkReader.js";
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./types/ft-server/public.js";
|
|
3
|
+
export * from "./models.js";
|
|
6
4
|
export * from "./roles/roles.js";
|
|
7
5
|
export * from "./preferences/unauthenticated-preferences.js";
|
|
8
6
|
export * from "./helpers/AIChunkReader.js";
|
|
@@ -45,12 +43,14 @@ export declare class FluidTopicsApi {
|
|
|
45
43
|
attachments: {
|
|
46
44
|
list: string;
|
|
47
45
|
attachmentId: (attachmentId: string) => {
|
|
46
|
+
info: string;
|
|
48
47
|
content: string;
|
|
49
48
|
};
|
|
50
49
|
};
|
|
51
50
|
resources: {
|
|
52
51
|
list: string;
|
|
53
52
|
resourceId: (resourceId: string) => {
|
|
53
|
+
info: string;
|
|
54
54
|
content: string;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
@@ -74,6 +74,13 @@ export declare class FluidTopicsApi {
|
|
|
74
74
|
text: string;
|
|
75
75
|
feedback: string;
|
|
76
76
|
rating: string;
|
|
77
|
+
attachments: {
|
|
78
|
+
list: string;
|
|
79
|
+
attachmentId: (attachmentId: string) => {
|
|
80
|
+
info: string;
|
|
81
|
+
content: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
77
84
|
};
|
|
78
85
|
};
|
|
79
86
|
semantic: {
|
|
@@ -172,9 +179,14 @@ export declare class FluidTopicsApi {
|
|
|
172
179
|
getTopic(mapId: string, topicContentId: string, v?: string): Promise<FtTopic>;
|
|
173
180
|
getTopicHTMLContent(mapId: string, topicContentId: string, target?: FtTopicContentTarget | FtTopicContentTargetKeys, v?: string): Promise<string>;
|
|
174
181
|
getTranslatedTopicHTMLContent(mapId: string, topicContentId: string, target?: FtTopicContentTarget | FtTopicContentTargetKeys, v?: string, translationSettings?: FtTranslationSettings): Promise<FtTranslationContent>;
|
|
175
|
-
getMapAttachments(mapId: string, v?: string): Promise<Array<
|
|
182
|
+
getMapAttachments(mapId: string, v?: string): Promise<Array<FtDocumentAttachment>>;
|
|
183
|
+
getMapAttachment(mapId: string, attachmentId: string, v?: string): Promise<FtAssetDescriptor>;
|
|
176
184
|
getMapAttachmentContent(mapId: string, attachmentId: string, v?: string): Promise<ArrayBuffer>;
|
|
177
|
-
|
|
185
|
+
getUdAttachments(mapId: string, v?: string): Promise<Array<FtDocumentAttachment>>;
|
|
186
|
+
getUdAttachment(mapId: string, attachmentId: string, v?: string): Promise<FtAssetDescriptor>;
|
|
187
|
+
getUdAttachmentContent(mapId: string, attachmentId: string, v?: string): Promise<ArrayBuffer>;
|
|
188
|
+
getMapResources(mapId: string, v?: string): Promise<Array<FtMapResourceSummary>>;
|
|
189
|
+
getMapResource(mapId: string, resourceId: string, v?: string): Promise<FtAssetDescriptor>;
|
|
178
190
|
getMapResourceContent(mapId: string, resourceId: string, v?: string): Promise<ArrayBuffer>;
|
|
179
191
|
getUnstructuredDocument(documentId: string, v?: string): Promise<FtUnstructuredDocument>;
|
|
180
192
|
getUnstructuredDocumentContent(documentId: string, v?: string): Promise<ArrayBuffer>;
|
package/dist/mjs/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import fetch from "cross-fetch";
|
|
2
2
|
import { AIChunkReader, } from "./helpers/AIChunkReader.js";
|
|
3
3
|
const wnd = (typeof window === "undefined" ? globalThis : window);
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./types/ft-server/public.js";
|
|
4
|
+
export * from "./models.js";
|
|
6
5
|
export * from "./roles/roles.js";
|
|
7
6
|
export * from "./preferences/unauthenticated-preferences.js";
|
|
8
7
|
export * from "./helpers/AIChunkReader.js";
|
|
@@ -71,12 +70,14 @@ export class FluidTopicsApi {
|
|
|
71
70
|
attachments: {
|
|
72
71
|
list: `api/khub/maps/${mapId}/attachments`,
|
|
73
72
|
attachmentId: (attachmentId) => ({
|
|
73
|
+
info: `api/khub/maps/${mapId}/attachments/${attachmentId}`,
|
|
74
74
|
content: `api/khub/maps/${mapId}/attachments/${attachmentId}/content`,
|
|
75
75
|
})
|
|
76
76
|
},
|
|
77
77
|
resources: {
|
|
78
78
|
list: `api/khub/maps/${mapId}/resources`,
|
|
79
79
|
resourceId: (resourceId) => ({
|
|
80
|
+
info: `api/khub/maps/${mapId}/resources/${resourceId}`,
|
|
80
81
|
content: `api/khub/maps/${mapId}/resources/${resourceId}/content`,
|
|
81
82
|
})
|
|
82
83
|
},
|
|
@@ -100,6 +101,13 @@ export class FluidTopicsApi {
|
|
|
100
101
|
text: `api/khub/documents/${documentId}/content/text`,
|
|
101
102
|
feedback: `api/khub/documents/${documentId}/feedback`,
|
|
102
103
|
rating: `api/khub/documents/${documentId}/rating`,
|
|
104
|
+
attachments: {
|
|
105
|
+
list: `api/khub/documents/${documentId}/attachments`,
|
|
106
|
+
attachmentId: (attachmentId) => ({
|
|
107
|
+
info: `api/khub/documents/${documentId}/attachments/${attachmentId}`,
|
|
108
|
+
content: `api/khub/documents/${documentId}/attachments/${attachmentId}/content`,
|
|
109
|
+
})
|
|
110
|
+
},
|
|
103
111
|
})
|
|
104
112
|
},
|
|
105
113
|
semantic: {
|
|
@@ -266,12 +274,27 @@ export class FluidTopicsApi {
|
|
|
266
274
|
getMapAttachments(mapId, v) {
|
|
267
275
|
return this.get(this.endpoints.khub.maps.mapId(mapId).attachments.list, v);
|
|
268
276
|
}
|
|
277
|
+
getMapAttachment(mapId, attachmentId, v) {
|
|
278
|
+
return this.get(this.endpoints.khub.maps.mapId(mapId).attachments.attachmentId(attachmentId).info, v);
|
|
279
|
+
}
|
|
269
280
|
getMapAttachmentContent(mapId, attachmentId, v) {
|
|
270
281
|
return this.fetchRawData(this.endpoints.khub.maps.mapId(mapId).attachments.attachmentId(attachmentId).content, v);
|
|
271
282
|
}
|
|
283
|
+
getUdAttachments(mapId, v) {
|
|
284
|
+
return this.get(this.endpoints.khub.documents.documentId(mapId).attachments.list, v);
|
|
285
|
+
}
|
|
286
|
+
getUdAttachment(mapId, attachmentId, v) {
|
|
287
|
+
return this.get(this.endpoints.khub.documents.documentId(mapId).attachments.attachmentId(attachmentId).info, v);
|
|
288
|
+
}
|
|
289
|
+
getUdAttachmentContent(mapId, attachmentId, v) {
|
|
290
|
+
return this.fetchRawData(this.endpoints.khub.documents.documentId(mapId).attachments.attachmentId(attachmentId).content, v);
|
|
291
|
+
}
|
|
272
292
|
getMapResources(mapId, v) {
|
|
273
293
|
return this.get(this.endpoints.khub.maps.mapId(mapId).resources.list, v);
|
|
274
294
|
}
|
|
295
|
+
getMapResource(mapId, resourceId, v) {
|
|
296
|
+
return this.get(this.endpoints.khub.maps.mapId(mapId).resources.resourceId(resourceId).info, v);
|
|
297
|
+
}
|
|
275
298
|
getMapResourceContent(mapId, resourceId, v) {
|
|
276
299
|
return this.fetchRawData(this.endpoints.khub.maps.mapId(mapId).resources.resourceId(resourceId).content, v);
|
|
277
300
|
}
|
package/dist/mjs/roles/roles.js
CHANGED
|
@@ -4,7 +4,7 @@ const rolesInheritance = {
|
|
|
4
4
|
[FtUserRole.HTML_EXPORT_USER]: [FtUserRole.PERSONAL_BOOK_USER],
|
|
5
5
|
[FtUserRole.PDF_EXPORT_USER]: [FtUserRole.PERSONAL_BOOK_USER],
|
|
6
6
|
[FtUserRole.KHUB_ADMIN]: [FtUserRole.CONTENT_PUBLISHER],
|
|
7
|
-
[FtUserRole.ADMIN]: [FtUserRole.KHUB_ADMIN, FtUserRole.USERS_ADMIN, FtUserRole.PORTAL_ADMIN],
|
|
7
|
+
[FtUserRole.ADMIN]: [FtUserRole.KHUB_ADMIN, FtUserRole.USERS_ADMIN, FtUserRole.PORTAL_ADMIN, FtUserRole.BEHAVIOR_DATA_USER],
|
|
8
8
|
[FtUserRole.GENERATIVE_AI_EXPORT_USER]: [FtUserRole.GENERATIVE_AI_USER],
|
|
9
9
|
};
|
|
10
10
|
function roleMatches(actual, expected) {
|
|
@@ -39,11 +39,23 @@ export interface FtAnalyticsEventAIProfile {
|
|
|
39
39
|
chatbotDetails?: FtAnalyticsEventAIProfileChatbotDetails;
|
|
40
40
|
translationDetails?: FtAnalyticsEventAIProfileTranslationDetails;
|
|
41
41
|
completionDetails?: FtAnalyticsEventAIProfileCompletionDetails;
|
|
42
|
+
caseDeflectionDetails?: FtAnalyticsEventAIProfileCaseDeflectionDetails;
|
|
42
43
|
name: string;
|
|
44
|
+
agenticChatbotDetails?: FtAnalyticsEventAIProfileAgenticChatbotDetails;
|
|
43
45
|
id: string;
|
|
44
46
|
type: string;
|
|
45
47
|
}
|
|
46
48
|
export declare const isFtAnalyticsEventAIProfile: (o: any) => o is FtAnalyticsEventAIProfile;
|
|
49
|
+
export interface FtAnalyticsEventAIProfileAgenticChatbotDetails {
|
|
50
|
+
provider: string;
|
|
51
|
+
model?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare const isFtAnalyticsEventAIProfileAgenticChatbotDetails: (o: any) => o is FtAnalyticsEventAIProfileAgenticChatbotDetails;
|
|
54
|
+
export interface FtAnalyticsEventAIProfileCaseDeflectionDetails {
|
|
55
|
+
provider: string;
|
|
56
|
+
model?: string;
|
|
57
|
+
}
|
|
58
|
+
export declare const isFtAnalyticsEventAIProfileCaseDeflectionDetails: (o: any) => o is FtAnalyticsEventAIProfileCaseDeflectionDetails;
|
|
47
59
|
export interface FtAnalyticsEventAIProfileChatbotDetails {
|
|
48
60
|
provider: string;
|
|
49
61
|
model?: string;
|
|
@@ -77,6 +89,11 @@ export interface FtAnalyticsEventDocumentSearchQuery {
|
|
|
77
89
|
terms: string;
|
|
78
90
|
}
|
|
79
91
|
export declare const isFtAnalyticsEventDocumentSearchQuery: (o: any) => o is FtAnalyticsEventDocumentSearchQuery;
|
|
92
|
+
export interface FtAnalyticsEventLanguage {
|
|
93
|
+
countryCode: string;
|
|
94
|
+
languageCode: string;
|
|
95
|
+
}
|
|
96
|
+
export declare const isFtAnalyticsEventLanguage: (o: any) => o is FtAnalyticsEventLanguage;
|
|
80
97
|
export interface FtAnalyticsEventLocation {
|
|
81
98
|
type: string;
|
|
82
99
|
value: string;
|
|
@@ -165,13 +182,13 @@ export declare enum FtAnalyticsSearchFacetType {
|
|
|
165
182
|
}
|
|
166
183
|
export type FtAnalyticsSearchFacetTypeKeys = keyof typeof FtAnalyticsSearchFacetType;
|
|
167
184
|
export declare const isFtAnalyticsSearchFacetType: (o: any) => o is FtAnalyticsSearchFacetType;
|
|
168
|
-
export interface FtAiCaseDeflectionEvent extends FtAnalyticsEvent {
|
|
185
|
+
export interface FtAiCaseDeflectionEvent/* WsAiCaseDeflectionEvent */ extends FtAnalyticsEvent {
|
|
169
186
|
generationId?: string;
|
|
170
187
|
searchQuery?: FtAnalyticsEventSearchQuery;
|
|
171
188
|
context: string;
|
|
172
189
|
}
|
|
173
190
|
export declare const isFtAiCaseDeflectionEvent: (o: any) => o is FtAiCaseDeflectionEvent;
|
|
174
|
-
export interface FtAiCompletedQueryEvent extends FtAnalyticsEvent {
|
|
191
|
+
export interface FtAiCompletedQueryEvent/* WsAiCompletedQueryEvent */ extends FtAnalyticsEvent {
|
|
175
192
|
result: string;
|
|
176
193
|
profile: FtAnalyticsEventAIProfile;
|
|
177
194
|
durationMs: number;
|
|
@@ -179,7 +196,7 @@ export interface FtAiCompletedQueryEvent extends FtAnalyticsEvent {
|
|
|
179
196
|
queryId: string;
|
|
180
197
|
}
|
|
181
198
|
export declare const isFtAiCompletedQueryEvent: (o: any) => o is FtAiCompletedQueryEvent;
|
|
182
|
-
export interface FtAiRateEvent extends FtAnalyticsEvent {
|
|
199
|
+
export interface FtAiRateEvent/* WsAiRateEvent */ extends FtAnalyticsEvent {
|
|
183
200
|
rating: FtAnalyticsEventRating;
|
|
184
201
|
comment: string;
|
|
185
202
|
queryId: string;
|
|
@@ -204,8 +221,7 @@ export declare enum FtAnalyticsEventName {
|
|
|
204
221
|
COLLECTION__UPDATE = "COLLECTION__UPDATE",
|
|
205
222
|
COLLECTION__DELETE = "COLLECTION__DELETE",
|
|
206
223
|
CUSTOM_EVENT__TRIGGER = "CUSTOM_EVENT__TRIGGER",
|
|
207
|
-
|
|
208
|
-
DOCUMENT__DISPLAY = "DOCUMENT__DISPLAY",
|
|
224
|
+
DOCUMENT__ON_DEMAND_TRANSLATE = "DOCUMENT__ON_DEMAND_TRANSLATE",
|
|
209
225
|
DOCUMENT__DOWNLOAD = "DOCUMENT__DOWNLOAD",
|
|
210
226
|
DOCUMENT__PRINT = "DOCUMENT__PRINT",
|
|
211
227
|
DOCUMENT__PROCESS = "DOCUMENT__PROCESS",
|
|
@@ -235,7 +251,6 @@ export declare enum FtAnalyticsEventName {
|
|
|
235
251
|
SEARCH_PAGE__SELECT = "SEARCH_PAGE__SELECT",
|
|
236
252
|
SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU = "SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",
|
|
237
253
|
TOPIC__AI_TRANSLATE = "TOPIC__AI_TRANSLATE",
|
|
238
|
-
TOPIC__DISPLAY = "TOPIC__DISPLAY",
|
|
239
254
|
TOPIC__RATE = "TOPIC__RATE",
|
|
240
255
|
TOPIC__START_DISPLAY = "TOPIC__START_DISPLAY",
|
|
241
256
|
TOPIC__UNRATE = "TOPIC__UNRATE",
|
|
@@ -245,91 +260,90 @@ export declare enum FtAnalyticsEventName {
|
|
|
245
260
|
}
|
|
246
261
|
export type FtAnalyticsEventNameKeys = keyof typeof FtAnalyticsEventName;
|
|
247
262
|
export declare const isFtAnalyticsEventName: (o: any) => o is FtAnalyticsEventName;
|
|
248
|
-
export interface FtCaseDeflectionEvent extends FtAnalyticsEvent {
|
|
263
|
+
export interface FtCaseDeflectionEvent/* WsCaseDeflectionEvent */ extends FtAnalyticsEvent {
|
|
249
264
|
searchQuery?: FtAnalyticsEventSearchQuery;
|
|
250
265
|
context: string;
|
|
251
266
|
rating?: FtAnalyticsEventRating;
|
|
252
267
|
topic?: FtAnalyticsEventTopic;
|
|
253
268
|
}
|
|
254
269
|
export declare const isFtCaseDeflectionEvent: (o: any) => o is FtCaseDeflectionEvent;
|
|
255
|
-
export interface FtCustomTriggerEvent extends FtAnalyticsEvent {
|
|
270
|
+
export interface FtCustomTriggerEvent/* WsCustomTriggerEvent */ extends FtAnalyticsEvent {
|
|
256
271
|
componentId?: string;
|
|
257
272
|
eventName: string;
|
|
258
273
|
page: FtAnalyticsEventPage;
|
|
259
274
|
}
|
|
260
275
|
export declare const isFtCustomTriggerEvent: (o: any) => o is FtCustomTriggerEvent;
|
|
261
|
-
export interface
|
|
276
|
+
export interface FtDocumentDownloadEvent/* WsDocumentDownloadEvent */ extends FtAnalyticsEvent {
|
|
262
277
|
document: FtAnalyticsEventDocument;
|
|
263
|
-
viewDurationMs: number;
|
|
264
278
|
location: FtAnalyticsEventLocation;
|
|
265
279
|
}
|
|
266
|
-
export declare const
|
|
267
|
-
export interface
|
|
280
|
+
export declare const isFtDocumentDownloadEvent: (o: any) => o is FtDocumentDownloadEvent;
|
|
281
|
+
export interface FtDocumentOnDemandTranslateEvent/* WsDocumentOnDemandTranslateEvent */ extends FtAnalyticsEvent {
|
|
282
|
+
offline: boolean;
|
|
283
|
+
appVersion: string;
|
|
284
|
+
internal?: boolean;
|
|
285
|
+
appName: string;
|
|
286
|
+
profileId: string;
|
|
268
287
|
document: FtAnalyticsEventDocument;
|
|
269
|
-
|
|
288
|
+
name: FtAnalyticsEventNameKeys;
|
|
289
|
+
destinationLanguage: FtAnalyticsEventLanguage;
|
|
290
|
+
sourceLanguage?: FtAnalyticsEventLanguage;
|
|
270
291
|
}
|
|
271
|
-
export declare const
|
|
272
|
-
export interface FtDocumentPrintEvent extends FtAnalyticsEvent {
|
|
292
|
+
export declare const isFtDocumentOnDemandTranslateEvent: (o: any) => o is FtDocumentOnDemandTranslateEvent;
|
|
293
|
+
export interface FtDocumentPrintEvent/* WsDocumentPrintEvent */ extends FtAnalyticsEvent {
|
|
273
294
|
document: FtAnalyticsEventDocument;
|
|
274
295
|
}
|
|
275
296
|
export declare const isFtDocumentPrintEvent: (o: any) => o is FtDocumentPrintEvent;
|
|
276
|
-
export interface FtDocumentSearchEvent extends FtAnalyticsEvent {
|
|
297
|
+
export interface FtDocumentSearchEvent/* WsDocumentSearchEvent */ extends FtAnalyticsEvent {
|
|
277
298
|
searchResponse: FtAnalyticsEventSearchResponse;
|
|
278
299
|
document: FtAnalyticsEventDocument;
|
|
279
300
|
searchQuery: FtAnalyticsEventDocumentSearchQuery;
|
|
280
301
|
}
|
|
281
302
|
export declare const isFtDocumentSearchEvent: (o: any) => o is FtDocumentSearchEvent;
|
|
282
|
-
export interface FtDocumentStartDisplayEvent extends FtAnalyticsEvent {
|
|
303
|
+
export interface FtDocumentStartDisplayEvent/* WsDocumentStartDisplayEvent */ extends FtAnalyticsEvent {
|
|
283
304
|
document: FtAnalyticsEventDocument;
|
|
284
305
|
location: FtAnalyticsEventLocation;
|
|
285
306
|
}
|
|
286
307
|
export declare const isFtDocumentStartDisplayEvent: (o: any) => o is FtDocumentStartDisplayEvent;
|
|
287
|
-
export interface FtFeedbackSendEvent extends FtAnalyticsEvent {
|
|
308
|
+
export interface FtFeedbackSendEvent/* WsFeedbackSendEvent */ extends FtAnalyticsEvent {
|
|
288
309
|
breadcrumb: Array<FtAnalyticsEventTopic>;
|
|
289
310
|
document: FtAnalyticsEventDocument;
|
|
290
311
|
loggedIn: boolean;
|
|
291
312
|
}
|
|
292
313
|
export declare const isFtFeedbackSendEvent: (o: any) => o is FtFeedbackSendEvent;
|
|
293
|
-
export interface FtKhubSearchEvent extends FtAnalyticsEvent {
|
|
314
|
+
export interface FtKhubSearchEvent/* WsKhubSearchEvent */ extends FtAnalyticsEvent {
|
|
294
315
|
searchResponse: FtAnalyticsEventSearchResponse;
|
|
295
316
|
searchQuery: FtAnalyticsEventSearchQuery;
|
|
296
317
|
}
|
|
297
318
|
export declare const isFtKhubSearchEvent: (o: any) => o is FtKhubSearchEvent;
|
|
298
|
-
export interface FtLabelsDownloadEvent extends FtAnalyticsEvent {
|
|
319
|
+
export interface FtLabelsDownloadEvent/* WsLabelsDownloadEvent */ extends FtAnalyticsEvent {
|
|
299
320
|
locale: string;
|
|
300
321
|
}
|
|
301
322
|
export declare const isFtLabelsDownloadEvent: (o: any) => o is FtLabelsDownloadEvent;
|
|
302
|
-
export interface FtLinkShareEvent extends FtAnalyticsEvent {
|
|
323
|
+
export interface FtLinkShareEvent/* WsLinkShareEvent */ extends FtAnalyticsEvent {
|
|
303
324
|
breadcrumb: Array<FtAnalyticsEventTopic>;
|
|
304
325
|
document: FtAnalyticsEventDocument;
|
|
305
326
|
}
|
|
306
327
|
export declare const isFtLinkShareEvent: (o: any) => o is FtLinkShareEvent;
|
|
307
|
-
export interface FtPageDisplayEvent extends FtAnalyticsEvent {
|
|
328
|
+
export interface FtPageDisplayEvent/* WsPageDisplayEvent */ extends FtAnalyticsEvent {
|
|
308
329
|
origin: FtAnalyticsEventOrigin;
|
|
309
330
|
display: FtAnalyticsEventDisplay;
|
|
310
331
|
page: FtAnalyticsEventPage;
|
|
311
332
|
}
|
|
312
333
|
export declare const isFtPageDisplayEvent: (o: any) => o is FtPageDisplayEvent;
|
|
313
|
-
export interface FtSearchPageSelectEvent extends FtAnalyticsEvent {
|
|
334
|
+
export interface FtSearchPageSelectEvent/* WsSearchPageSelectEvent */ extends FtAnalyticsEvent {
|
|
314
335
|
searchResult: FtAnalyticsEventSearchResult;
|
|
315
336
|
externalLink?: string;
|
|
316
337
|
searchQuery: FtAnalyticsEventSearchQuery;
|
|
317
338
|
}
|
|
318
339
|
export declare const isFtSearchPageSelectEvent: (o: any) => o is FtSearchPageSelectEvent;
|
|
319
|
-
export interface FtSearchResultOpenContextMenuEvent extends FtAnalyticsEvent {
|
|
340
|
+
export interface FtSearchResultOpenContextMenuEvent/* WsSearchResultOpenContextMenuEvent */ extends FtAnalyticsEvent {
|
|
320
341
|
searchResult: FtAnalyticsEventSearchResult;
|
|
321
342
|
externalLink?: string;
|
|
322
343
|
searchQuery: FtAnalyticsEventSearchQuery;
|
|
323
344
|
}
|
|
324
345
|
export declare const isFtSearchResultOpenContextMenuEvent: (o: any) => o is FtSearchResultOpenContextMenuEvent;
|
|
325
|
-
export interface
|
|
326
|
-
breadcrumb: Array<FtAnalyticsEventTopic>;
|
|
327
|
-
document: FtAnalyticsEventDocument;
|
|
328
|
-
viewDurationMs: number;
|
|
329
|
-
location: FtAnalyticsEventLocation;
|
|
330
|
-
}
|
|
331
|
-
export declare const isFtTopicDisplayEvent: (o: any) => o is FtTopicDisplayEvent;
|
|
332
|
-
export interface FtTopicStartDisplayEvent extends FtAnalyticsEvent {
|
|
346
|
+
export interface FtTopicStartDisplayEvent/* WsTopicStartDisplayEvent */ extends FtAnalyticsEvent {
|
|
333
347
|
breadcrumb: Array<FtAnalyticsEventTopic>;
|
|
334
348
|
document: FtAnalyticsEventDocument;
|
|
335
349
|
location: FtAnalyticsEventLocation;
|
|
@@ -482,6 +496,7 @@ export declare const isFtTopicOrigin: (o: any) => o is FtTopicOrigin;
|
|
|
482
496
|
export interface FtUnstructuredDocument {
|
|
483
497
|
prettyUrl?: string;
|
|
484
498
|
metadata: Array<FtMetadata>;
|
|
499
|
+
watermark?: FtWatermark;
|
|
485
500
|
openMode: string;
|
|
486
501
|
description?: string;
|
|
487
502
|
mimeType: string;
|
|
@@ -524,7 +539,9 @@ export declare enum FtExternalWebComponentContext {
|
|
|
524
539
|
SEARCH = "SEARCH",
|
|
525
540
|
SEARCH_RESULT = "SEARCH_RESULT",
|
|
526
541
|
SEARCH_ANNOUNCEMENT = "SEARCH_ANNOUNCEMENT",
|
|
527
|
-
LINK_PREVIEW = "LINK_PREVIEW"
|
|
542
|
+
LINK_PREVIEW = "LINK_PREVIEW",
|
|
543
|
+
UD_VIEWER = "UD_VIEWER",
|
|
544
|
+
ASSET_VIEWER = "ASSET_VIEWER"
|
|
528
545
|
}
|
|
529
546
|
export type FtExternalWebComponentContextKeys = keyof typeof FtExternalWebComponentContext;
|
|
530
547
|
export declare const isFtExternalWebComponentContext: (o: any) => o is FtExternalWebComponentContext;
|
|
@@ -704,13 +721,13 @@ export interface FtTopicsRatingSummary {
|
|
|
704
721
|
type: FtRatingTypeKeys;
|
|
705
722
|
}
|
|
706
723
|
export declare const isFtTopicsRatingSummary: (o: any) => o is FtTopicsRatingSummary;
|
|
707
|
-
export interface
|
|
724
|
+
export interface FtMapResourceSummary {
|
|
708
725
|
contentUrl: string;
|
|
709
726
|
filename: string;
|
|
710
727
|
id: string;
|
|
711
728
|
mimeType: string;
|
|
712
729
|
}
|
|
713
|
-
export declare const
|
|
730
|
+
export declare const isFtMapResourceSummary: (o: any) => o is FtMapResourceSummary;
|
|
714
731
|
export interface FtMetadataPreferenceConfiguration {
|
|
715
732
|
filter: Array<string>;
|
|
716
733
|
prior: Array<string>;
|
|
@@ -1096,7 +1113,6 @@ export declare enum FtUserRole {
|
|
|
1096
1113
|
SAVED_SEARCH_USER = "SAVED_SEARCH_USER",
|
|
1097
1114
|
COLLECTION_USER = "COLLECTION_USER",
|
|
1098
1115
|
OFFLINE_USER = "OFFLINE_USER",
|
|
1099
|
-
BEHAVIOR_DATA_USER = "BEHAVIOR_DATA_USER",
|
|
1100
1116
|
ANALYTICS_USER = "ANALYTICS_USER",
|
|
1101
1117
|
BETA_USER = "BETA_USER",
|
|
1102
1118
|
DEBUG_USER = "DEBUG_USER",
|
|
@@ -1106,6 +1122,7 @@ export declare enum FtUserRole {
|
|
|
1106
1122
|
GENERATIVE_AI_USER = "GENERATIVE_AI_USER",
|
|
1107
1123
|
GENERATIVE_AI_EXPORT_USER = "GENERATIVE_AI_EXPORT_USER",
|
|
1108
1124
|
CONTENT_PUBLISHER = "CONTENT_PUBLISHER",
|
|
1125
|
+
BEHAVIOR_DATA_USER = "BEHAVIOR_DATA_USER",
|
|
1109
1126
|
ANNOUNCEMENT_ADMIN = "ANNOUNCEMENT_ADMIN",
|
|
1110
1127
|
KHUB_ADMIN = "KHUB_ADMIN",
|
|
1111
1128
|
USERS_ADMIN = "USERS_ADMIN",
|